Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .dockerignore +2 -1
- .env.example +1 -0
- .gitattributes +6 -0
- Dockerfile +1 -3
- README.md +6 -4
- components.json +0 -20
- eslint.config.js +0 -26
- index.html +7 -14
- node_modules/.bin/autoprefixer +22 -0
- node_modules/.bin/baseline-browser-mapping +2 -0
- node_modules/.bin/browserslist +156 -0
- node_modules/.bin/cssesc +116 -0
- node_modules/.bin/esbuild +3 -0
- node_modules/.bin/jiti +16 -0
- node_modules/.bin/loose-envify +16 -0
- node_modules/.bin/nanoid +55 -0
- node_modules/.bin/resolve +50 -0
- node_modules/.bin/rollup +1912 -0
- node_modules/.bin/sucrase +3 -0
- node_modules/.bin/sucrase-node +18 -0
- node_modules/.bin/tailwind +3 -0
- node_modules/.bin/tailwindcss +3 -0
- node_modules/.bin/tsc +2 -0
- node_modules/.bin/tsserver +2 -0
- node_modules/.bin/update-browserslist-db +42 -0
- node_modules/.bin/vite +61 -0
- node_modules/.package-lock.json +1685 -0
- node_modules/.vite/deps/_metadata.json +52 -0
- node_modules/.vite/deps/chunk-PR4QN5HX.js +43 -0
- node_modules/.vite/deps/chunk-PR4QN5HX.js.map +7 -0
- node_modules/.vite/deps/chunk-YHPANKLD.js +1906 -0
- node_modules/.vite/deps/chunk-YHPANKLD.js.map +0 -0
- node_modules/.vite/deps/jszip.js +0 -0
- node_modules/.vite/deps/jszip.js.map +0 -0
- node_modules/.vite/deps/lucide-react.js +0 -0
- node_modules/.vite/deps/lucide-react.js.map +0 -0
- node_modules/.vite/deps/package.json +3 -0
- node_modules/.vite/deps/react-dom_client.js +0 -0
- node_modules/.vite/deps/react-dom_client.js.map +0 -0
- node_modules/.vite/deps/react.js +6 -0
- node_modules/.vite/deps/react.js.map +7 -0
- node_modules/.vite/deps/react_jsx-dev-runtime.js +913 -0
- node_modules/.vite/deps/react_jsx-dev-runtime.js.map +7 -0
- node_modules/.vite/deps/react_jsx-runtime.js +925 -0
- node_modules/.vite/deps/react_jsx-runtime.js.map +7 -0
- node_modules/@alloc/quick-lru/index.d.ts +128 -0
- node_modules/@alloc/quick-lru/index.js +263 -0
- node_modules/@alloc/quick-lru/license +9 -0
- node_modules/@alloc/quick-lru/package.json +43 -0
- node_modules/@alloc/quick-lru/readme.md +139 -0
.dockerignore
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
node_modules
|
| 2 |
dist
|
|
|
|
| 3 |
.git
|
| 4 |
.gitignore
|
| 5 |
.DS_Store
|
| 6 |
-
|
|
|
|
| 1 |
node_modules
|
| 2 |
dist
|
| 3 |
+
.vite
|
| 4 |
.git
|
| 5 |
.gitignore
|
| 6 |
.DS_Store
|
| 7 |
+
.env
|
.env.example
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
VITE_API_URL=http://localhost:8000
|
.gitattributes
CHANGED
|
@@ -34,3 +34,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
bun.lockb filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
bun.lockb filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
node_modules/.bin/esbuild filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
node_modules/@esbuild/darwin-arm64/bin/esbuild filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
node_modules/@rollup/rollup-darwin-arm64/rollup.darwin-arm64.node filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
node_modules/@swc/core-darwin-arm64/swc.darwin-arm64.node filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
node_modules/esbuild/bin/esbuild filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
node_modules/fsevents/fsevents.node filter=lfs diff=lfs merge=lfs -text
|
Dockerfile
CHANGED
|
@@ -2,10 +2,8 @@ FROM node:20-alpine AS build
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
ARG VITE_API_URL=https://jayvatliq-car-view-classifier.hf.space
|
| 6 |
-
ARG VITE_FILE_STORAGE_URL=https://jayvatliq-car-view-classifier.hf.space/files
|
| 7 |
ENV VITE_API_URL=$VITE_API_URL
|
| 8 |
-
ENV VITE_FILE_STORAGE_URL=$VITE_FILE_STORAGE_URL
|
| 9 |
|
| 10 |
COPY package.json package-lock.json ./
|
| 11 |
RUN npm ci
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
ARG VITE_API_URL=https://jayvatliq-car-view-classifier.hf.space
|
|
|
|
| 6 |
ENV VITE_API_URL=$VITE_API_URL
|
|
|
|
| 7 |
|
| 8 |
COPY package.json package-lock.json ./
|
| 9 |
RUN npm ci
|
README.md
CHANGED
|
@@ -8,11 +8,13 @@ app_port: 7860
|
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# Car View Classifier — Frontend
|
| 12 |
|
| 13 |
Vite + React upload UI for the
|
| 14 |
[car-view-classifier backend Space](https://huggingface.co/spaces/jayvatliq/car-view-classifier).
|
| 15 |
|
| 16 |
-
Built with `npm run build`, served by nginx on port
|
| 17 |
-
baked in at build time via `VITE_API_URL`
|
| 18 |
-
|
|
|
|
|
|
|
|
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# Car View Classifier — Frontend (v2)
|
| 12 |
|
| 13 |
Vite + React upload UI for the
|
| 14 |
[car-view-classifier backend Space](https://huggingface.co/spaces/jayvatliq/car-view-classifier).
|
| 15 |
|
| 16 |
+
Built with `npm run build`, served by nginx on port 7860. Backend URL is
|
| 17 |
+
baked in at build time via the `VITE_API_URL` Docker build arg (default
|
| 18 |
+
points at the production backend Space).
|
| 19 |
+
|
| 20 |
+
`BASE_URL` is the host only — code appends `/api/...` and `/files/...`.
|
components.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"$schema": "https://ui.shadcn.com/schema.json",
|
| 3 |
-
"style": "default",
|
| 4 |
-
"rsc": false,
|
| 5 |
-
"tsx": true,
|
| 6 |
-
"tailwind": {
|
| 7 |
-
"config": "tailwind.config.ts",
|
| 8 |
-
"css": "src/index.css",
|
| 9 |
-
"baseColor": "slate",
|
| 10 |
-
"cssVariables": true,
|
| 11 |
-
"prefix": ""
|
| 12 |
-
},
|
| 13 |
-
"aliases": {
|
| 14 |
-
"components": "@/components",
|
| 15 |
-
"utils": "@/lib/utils",
|
| 16 |
-
"ui": "@/components/ui",
|
| 17 |
-
"lib": "@/lib",
|
| 18 |
-
"hooks": "@/hooks"
|
| 19 |
-
}
|
| 20 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eslint.config.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
| 1 |
-
import js from "@eslint/js";
|
| 2 |
-
import globals from "globals";
|
| 3 |
-
import reactHooks from "eslint-plugin-react-hooks";
|
| 4 |
-
import reactRefresh from "eslint-plugin-react-refresh";
|
| 5 |
-
import tseslint from "typescript-eslint";
|
| 6 |
-
|
| 7 |
-
export default tseslint.config(
|
| 8 |
-
{ ignores: ["dist"] },
|
| 9 |
-
{
|
| 10 |
-
extends: [js.configs.recommended, ...tseslint.configs.recommended],
|
| 11 |
-
files: ["**/*.{ts,tsx}"],
|
| 12 |
-
languageOptions: {
|
| 13 |
-
ecmaVersion: 2020,
|
| 14 |
-
globals: globals.browser,
|
| 15 |
-
},
|
| 16 |
-
plugins: {
|
| 17 |
-
"react-hooks": reactHooks,
|
| 18 |
-
"react-refresh": reactRefresh,
|
| 19 |
-
},
|
| 20 |
-
rules: {
|
| 21 |
-
...reactHooks.configs.recommended.rules,
|
| 22 |
-
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
|
| 23 |
-
"@typescript-eslint/no-unused-vars": "off",
|
| 24 |
-
},
|
| 25 |
-
},
|
| 26 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
index.html
CHANGED
|
@@ -1,22 +1,15 @@
|
|
| 1 |
-
<!
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
-
<title>
|
| 7 |
-
<meta name="description" content="
|
| 8 |
-
<
|
| 9 |
-
|
| 10 |
-
<
|
| 11 |
-
<meta property="og:description" content="AI-powered car image analysis and view classification system" />
|
| 12 |
-
<meta property="og:type" content="website" />
|
| 13 |
-
<meta property="og:image" content="https://lovable.dev/opengraph-image-p98pqg.png" />
|
| 14 |
-
|
| 15 |
-
<meta name="twitter:card" content="summary_large_image" />
|
| 16 |
-
<meta name="twitter:site" content="@lovable_dev" />
|
| 17 |
-
<meta name="twitter:image" content="https://lovable.dev/opengraph-image-p98pqg.png" />
|
| 18 |
</head>
|
| 19 |
-
|
| 20 |
<body>
|
| 21 |
<div id="root"></div>
|
| 22 |
<script type="module" src="/src/main.tsx"></script>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
+
<title>CarLens AI — Vehicle Angle Classifier</title>
|
| 8 |
+
<meta name="description" content="Upload a ZIP of car photos. AI detects which angles are present and which are missing." />
|
| 9 |
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
| 10 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
| 11 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
</head>
|
|
|
|
| 13 |
<body>
|
| 14 |
<div id="root"></div>
|
| 15 |
<script type="module" src="/src/main.tsx"></script>
|
node_modules/.bin/autoprefixer
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
|
| 3 |
+
let mode = process.argv[2]
|
| 4 |
+
if (mode === '--info') {
|
| 5 |
+
process.stdout.write(require('../')().info() + '\n')
|
| 6 |
+
} else if (mode === '--version') {
|
| 7 |
+
process.stdout.write(
|
| 8 |
+
'autoprefixer ' + require('../package.json').version + '\n'
|
| 9 |
+
)
|
| 10 |
+
} else {
|
| 11 |
+
process.stdout.write(
|
| 12 |
+
'autoprefix\n' +
|
| 13 |
+
'\n' +
|
| 14 |
+
'Options:\n' +
|
| 15 |
+
' --info Show target browsers and used prefixes\n' +
|
| 16 |
+
' --version Show version number\n' +
|
| 17 |
+
' --help Show help\n' +
|
| 18 |
+
'\n' +
|
| 19 |
+
'Usage:\n' +
|
| 20 |
+
' autoprefixer --info\n'
|
| 21 |
+
)
|
| 22 |
+
}
|
node_modules/.bin/baseline-browser-mapping
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
"use strict";const{getCompatibleVersions:e}=require("./index.cjs"),a=process.argv.slice(2),s={};for(let e=0;e<a.length;e++){const r=a[e];r&&("-h"===r||"--help"===r?s.help=!0:"--include-downstream-browsers"===r?s["include-downstream-browsers"]=!0:"--list-all-compatible-versions"===r?s["list-all-compatible-versions"]=!0:"--include-kaios"===r?s["include-kaios"]=!0:"--suppress-warnings"===r?s["suppress-warnings"]=!0:r.startsWith("--target-year=")?s["target-year"]=r.substring(14):"--target-year"===r?s["target-year"]=a[++e]:r.startsWith("--widely-available-on-date=")?s["widely-available-on-date"]=r.substring(27):"--widely-available-on-date"===r?s["widely-available-on-date"]=a[++e]:r.startsWith("--override-last-updated=")?s["override-last-updated"]=r.substring(24):"--override-last-updated"===r?s["override-last-updated"]=a[++e]:(console.error(`Unknown argument: ${r}`),process.exit(1)))}s.help&&(console.log("\nGet Baseline Widely available browser versions or Baseline year browser versions.\n\nUsage: baseline-browser-mapping [options]\n\nOptions:\n --target-year Pass a year between 2015 and the current year to get browser versions compatible \n with all Newly Available features as of the end of the year specified.\n --widely-available-on-date Pass a date in the format 'YYYY-MM-DD' to get versions compatible with Widely \n available on the specified date.\n --include-downstream-browsers Whether to include browsers that use the same engines as a core Baseline browser.\n --include-kaios Whether to include KaiOS in downstream browsers. Requires --include-downstream-browsers.\n --list-all-compatible-versions Whether to include only the minimum compatible browser versions or all compatible versions.\n --suppress-warnings Supress potential warnings about data staleness when using a very recent feature cut off date.\n --override-last-updated Override the last updated date for the baseline data for debugging purposes.\n -h, --help Show help\n\nExamples:\n npx baseline-browser-mapping --target-year 2020\n npx baseline-browser-mapping --widely-available-on-date 2023-04-05\n npx baseline-browser-mapping --include-downstream-browsers\n npx baseline-browser-mapping --list-all-compatible-versions\n".trim()),process.exit(0)),console.log(e({targetYear:s["target-year"]?Number.parseInt(s["target-year"]):void 0,widelyAvailableOnDate:s["widely-available-on-date"],includeDownstreamBrowsers:s["include-downstream-browsers"],listAllCompatibleVersions:s["list-all-compatible-versions"],includeKaiOS:s["include-kaios"],suppressWarnings:s["suppress-warnings"],overrideLastUpdated:s["override-last-updated"]?Number.parseInt(s["override-last-updated"]):void 0}));
|
node_modules/.bin/browserslist
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
|
| 3 |
+
var fs = require('fs')
|
| 4 |
+
var updateDb = require('update-browserslist-db')
|
| 5 |
+
|
| 6 |
+
var browserslist = require('./')
|
| 7 |
+
var pkg = require('./package.json')
|
| 8 |
+
|
| 9 |
+
var args = process.argv.slice(2)
|
| 10 |
+
|
| 11 |
+
var USAGE =
|
| 12 |
+
'Usage:\n' +
|
| 13 |
+
' npx browserslist\n' +
|
| 14 |
+
' npx browserslist "QUERIES"\n' +
|
| 15 |
+
' npx browserslist --json "QUERIES"\n' +
|
| 16 |
+
' npx browserslist --config="path/to/browserlist/file"\n' +
|
| 17 |
+
' npx browserslist --coverage "QUERIES"\n' +
|
| 18 |
+
' npx browserslist --coverage=US "QUERIES"\n' +
|
| 19 |
+
' npx browserslist --coverage=US,RU,global "QUERIES"\n' +
|
| 20 |
+
' npx browserslist --env="environment name defined in config"\n' +
|
| 21 |
+
' npx browserslist --stats="path/to/browserlist/stats/file"\n' +
|
| 22 |
+
' npx browserslist --mobile-to-desktop\n' +
|
| 23 |
+
' npx browserslist --ignore-unknown-versions\n'
|
| 24 |
+
|
| 25 |
+
function isArg(arg) {
|
| 26 |
+
return args.some(function (str) {
|
| 27 |
+
return str === arg || str.indexOf(arg + '=') === 0
|
| 28 |
+
})
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
function error(msg) {
|
| 32 |
+
process.stderr.write('browserslist: ' + msg + '\n')
|
| 33 |
+
process.exit(1)
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
if (isArg('--help') || isArg('-h')) {
|
| 37 |
+
process.stdout.write(pkg.description + '.\n\n' + USAGE + '\n')
|
| 38 |
+
} else if (isArg('--version') || isArg('-v')) {
|
| 39 |
+
process.stdout.write('browserslist ' + pkg.version + '\n')
|
| 40 |
+
} else if (isArg('--update-db')) {
|
| 41 |
+
/* c8 ignore next 8 */
|
| 42 |
+
process.stdout.write(
|
| 43 |
+
'The --update-db command is deprecated.\n' +
|
| 44 |
+
'Please use npx update-browserslist-db@latest instead.\n'
|
| 45 |
+
)
|
| 46 |
+
process.stdout.write('Browserslist DB update will still be made.\n')
|
| 47 |
+
updateDb(function (str) {
|
| 48 |
+
process.stdout.write(str)
|
| 49 |
+
})
|
| 50 |
+
} else {
|
| 51 |
+
var mode = 'browsers'
|
| 52 |
+
var opts = {}
|
| 53 |
+
var queries
|
| 54 |
+
var areas
|
| 55 |
+
|
| 56 |
+
for (var i = 0; i < args.length; i++) {
|
| 57 |
+
if (args[i][0] !== '-') {
|
| 58 |
+
queries = args[i].replace(/^["']|["']$/g, '')
|
| 59 |
+
continue
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
var arg = args[i].split('=')
|
| 63 |
+
var name = arg[0]
|
| 64 |
+
var value = arg[1]
|
| 65 |
+
|
| 66 |
+
if (value) value = value.replace(/^["']|["']$/g, '')
|
| 67 |
+
|
| 68 |
+
if (name === '--config' || name === '-b') {
|
| 69 |
+
opts.config = value
|
| 70 |
+
} else if (name === '--env' || name === '-e') {
|
| 71 |
+
opts.env = value
|
| 72 |
+
} else if (name === '--stats' || name === '-s') {
|
| 73 |
+
opts.stats = value
|
| 74 |
+
} else if (name === '--coverage' || name === '-c') {
|
| 75 |
+
if (mode !== 'json') mode = 'coverage'
|
| 76 |
+
if (value) {
|
| 77 |
+
areas = value.split(',')
|
| 78 |
+
} else {
|
| 79 |
+
areas = ['global']
|
| 80 |
+
}
|
| 81 |
+
} else if (name === '--json') {
|
| 82 |
+
mode = 'json'
|
| 83 |
+
} else if (name === '--mobile-to-desktop') {
|
| 84 |
+
/* c8 ignore next */
|
| 85 |
+
opts.mobileToDesktop = true
|
| 86 |
+
} else if (name === '--ignore-unknown-versions') {
|
| 87 |
+
/* c8 ignore next */
|
| 88 |
+
opts.ignoreUnknownVersions = true
|
| 89 |
+
} else {
|
| 90 |
+
error('Unknown arguments ' + args[i] + '.\n\n' + USAGE)
|
| 91 |
+
}
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
var browsers
|
| 95 |
+
try {
|
| 96 |
+
browsers = browserslist(queries, opts)
|
| 97 |
+
} catch (e) {
|
| 98 |
+
if (e.name === 'BrowserslistError') {
|
| 99 |
+
error(e.message)
|
| 100 |
+
} /* c8 ignore start */ else {
|
| 101 |
+
throw e
|
| 102 |
+
} /* c8 ignore end */
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
var coverage
|
| 106 |
+
if (mode === 'browsers') {
|
| 107 |
+
browsers.forEach(function (browser) {
|
| 108 |
+
process.stdout.write(browser + '\n')
|
| 109 |
+
})
|
| 110 |
+
} else if (areas) {
|
| 111 |
+
coverage = areas.map(function (area) {
|
| 112 |
+
var stats
|
| 113 |
+
if (area !== 'global') {
|
| 114 |
+
stats = area
|
| 115 |
+
} else if (opts.stats) {
|
| 116 |
+
stats = JSON.parse(fs.readFileSync(opts.stats))
|
| 117 |
+
}
|
| 118 |
+
var result = browserslist.coverage(browsers, stats)
|
| 119 |
+
var round = Math.round(result * 100) / 100.0
|
| 120 |
+
|
| 121 |
+
return [area, round]
|
| 122 |
+
})
|
| 123 |
+
|
| 124 |
+
if (mode === 'coverage') {
|
| 125 |
+
var prefix = 'These browsers account for '
|
| 126 |
+
process.stdout.write(prefix)
|
| 127 |
+
coverage.forEach(function (data, index) {
|
| 128 |
+
var area = data[0]
|
| 129 |
+
var round = data[1]
|
| 130 |
+
var end = 'globally'
|
| 131 |
+
if (area && area !== 'global') {
|
| 132 |
+
end = 'in the ' + area.toUpperCase()
|
| 133 |
+
} else if (opts.stats) {
|
| 134 |
+
end = 'in custom statistics'
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
if (index !== 0) {
|
| 138 |
+
process.stdout.write(prefix.replace(/./g, ' '))
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
process.stdout.write(round + '% of all users ' + end + '\n')
|
| 142 |
+
})
|
| 143 |
+
}
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
if (mode === 'json') {
|
| 147 |
+
var data = { browsers: browsers }
|
| 148 |
+
if (coverage) {
|
| 149 |
+
data.coverage = coverage.reduce(function (object, j) {
|
| 150 |
+
object[j[0]] = j[1]
|
| 151 |
+
return object
|
| 152 |
+
}, {})
|
| 153 |
+
}
|
| 154 |
+
process.stdout.write(JSON.stringify(data, null, ' ') + '\n')
|
| 155 |
+
}
|
| 156 |
+
}
|
node_modules/.bin/cssesc
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
const fs = require('fs');
|
| 3 |
+
const cssesc = require('../cssesc.js');
|
| 4 |
+
const strings = process.argv.splice(2);
|
| 5 |
+
const stdin = process.stdin;
|
| 6 |
+
const options = {};
|
| 7 |
+
const log = console.log;
|
| 8 |
+
|
| 9 |
+
const main = function() {
|
| 10 |
+
const option = strings[0];
|
| 11 |
+
|
| 12 |
+
if (/^(?:-h|--help|undefined)$/.test(option)) {
|
| 13 |
+
log(
|
| 14 |
+
'cssesc v%s - https://mths.be/cssesc',
|
| 15 |
+
cssesc.version
|
| 16 |
+
);
|
| 17 |
+
log([
|
| 18 |
+
'\nUsage:\n',
|
| 19 |
+
'\tcssesc [string]',
|
| 20 |
+
'\tcssesc [-i | --identifier] [string]',
|
| 21 |
+
'\tcssesc [-s | --single-quotes] [string]',
|
| 22 |
+
'\tcssesc [-d | --double-quotes] [string]',
|
| 23 |
+
'\tcssesc [-w | --wrap] [string]',
|
| 24 |
+
'\tcssesc [-e | --escape-everything] [string]',
|
| 25 |
+
'\tcssesc [-v | --version]',
|
| 26 |
+
'\tcssesc [-h | --help]',
|
| 27 |
+
'\nExamples:\n',
|
| 28 |
+
'\tcssesc \'f\xF6o \u2665 b\xE5r \uD834\uDF06 baz\'',
|
| 29 |
+
'\tcssesc --identifier \'f\xF6o \u2665 b\xE5r \uD834\uDF06 baz\'',
|
| 30 |
+
'\tcssesc --escape-everything \'f\xF6o \u2665 b\xE5r \uD834\uDF06 baz\'',
|
| 31 |
+
'\tcssesc --double-quotes --wrap \'f\xF6o \u2665 b\xE5r \uD834\uDF06 baz\'',
|
| 32 |
+
'\techo \'f\xF6o \u2665 b\xE5r \uD834\uDF06 baz\' | cssesc'
|
| 33 |
+
].join('\n'));
|
| 34 |
+
return process.exit(1);
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
if (/^(?:-v|--version)$/.test(option)) {
|
| 38 |
+
log('v%s', cssesc.version);
|
| 39 |
+
return process.exit(1);
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
strings.forEach(function(string) {
|
| 43 |
+
// Process options
|
| 44 |
+
if (/^(?:-i|--identifier)$/.test(string)) {
|
| 45 |
+
options.isIdentifier = true;
|
| 46 |
+
return;
|
| 47 |
+
}
|
| 48 |
+
if (/^(?:-s|--single-quotes)$/.test(string)) {
|
| 49 |
+
options.quotes = 'single';
|
| 50 |
+
return;
|
| 51 |
+
}
|
| 52 |
+
if (/^(?:-d|--double-quotes)$/.test(string)) {
|
| 53 |
+
options.quotes = 'double';
|
| 54 |
+
return;
|
| 55 |
+
}
|
| 56 |
+
if (/^(?:-w|--wrap)$/.test(string)) {
|
| 57 |
+
options.wrap = true;
|
| 58 |
+
return;
|
| 59 |
+
}
|
| 60 |
+
if (/^(?:-e|--escape-everything)$/.test(string)) {
|
| 61 |
+
options.escapeEverything = true;
|
| 62 |
+
return;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
// Process string(s)
|
| 66 |
+
let result;
|
| 67 |
+
try {
|
| 68 |
+
result = cssesc(string, options);
|
| 69 |
+
log(result);
|
| 70 |
+
} catch (exception) {
|
| 71 |
+
log(exception.message + '\n');
|
| 72 |
+
log('Error: failed to escape.');
|
| 73 |
+
log('If you think this is a bug in cssesc, please report it:');
|
| 74 |
+
log('https://github.com/mathiasbynens/cssesc/issues/new');
|
| 75 |
+
log(
|
| 76 |
+
'\nStack trace using cssesc@%s:\n',
|
| 77 |
+
cssesc.version
|
| 78 |
+
);
|
| 79 |
+
log(exception.stack);
|
| 80 |
+
return process.exit(1);
|
| 81 |
+
}
|
| 82 |
+
});
|
| 83 |
+
// Return with exit status 0 outside of the `forEach` loop, in case
|
| 84 |
+
// multiple strings were passed in.
|
| 85 |
+
return process.exit(0);
|
| 86 |
+
|
| 87 |
+
};
|
| 88 |
+
|
| 89 |
+
if (stdin.isTTY) {
|
| 90 |
+
// handle shell arguments
|
| 91 |
+
main();
|
| 92 |
+
} else {
|
| 93 |
+
let timeout;
|
| 94 |
+
// Either the script is called from within a non-TTY context, or `stdin`
|
| 95 |
+
// content is being piped in.
|
| 96 |
+
if (!process.stdout.isTTY) {
|
| 97 |
+
// The script was called from a non-TTY context. This is a rather uncommon
|
| 98 |
+
// use case we don’t actively support. However, we don’t want the script
|
| 99 |
+
// to wait forever in such cases, so…
|
| 100 |
+
timeout = setTimeout(function() {
|
| 101 |
+
// …if no piped data arrived after a whole minute, handle shell
|
| 102 |
+
// arguments instead.
|
| 103 |
+
main();
|
| 104 |
+
}, 60000);
|
| 105 |
+
}
|
| 106 |
+
let data = '';
|
| 107 |
+
stdin.on('data', function(chunk) {
|
| 108 |
+
clearTimeout(timeout);
|
| 109 |
+
data += chunk;
|
| 110 |
+
});
|
| 111 |
+
stdin.on('end', function() {
|
| 112 |
+
strings.push(data.trim());
|
| 113 |
+
main();
|
| 114 |
+
});
|
| 115 |
+
stdin.resume();
|
| 116 |
+
}
|
node_modules/.bin/esbuild
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b81b084018b48549fced4d72ac6a9d820aec907aff4ec546aef4a8703fee8dcc
|
| 3 |
+
size 9859426
|
node_modules/.bin/jiti
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
|
| 3 |
+
const { resolve } = require("node:path");
|
| 4 |
+
|
| 5 |
+
const script = process.argv.splice(2, 1)[0];
|
| 6 |
+
|
| 7 |
+
if (!script) {
|
| 8 |
+
|
| 9 |
+
console.error("Usage: jiti <path> [...arguments]");
|
| 10 |
+
process.exit(1);
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
const pwd = process.cwd();
|
| 14 |
+
const jiti = require("..")(pwd);
|
| 15 |
+
const resolved = (process.argv[1] = jiti.resolve(resolve(pwd, script)));
|
| 16 |
+
jiti(resolved);
|
node_modules/.bin/loose-envify
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
'use strict';
|
| 3 |
+
|
| 4 |
+
var looseEnvify = require('./');
|
| 5 |
+
var fs = require('fs');
|
| 6 |
+
|
| 7 |
+
if (process.argv[2]) {
|
| 8 |
+
fs.createReadStream(process.argv[2], {encoding: 'utf8'})
|
| 9 |
+
.pipe(looseEnvify(process.argv[2]))
|
| 10 |
+
.pipe(process.stdout);
|
| 11 |
+
} else {
|
| 12 |
+
process.stdin.resume()
|
| 13 |
+
process.stdin
|
| 14 |
+
.pipe(looseEnvify(__filename))
|
| 15 |
+
.pipe(process.stdout);
|
| 16 |
+
}
|
node_modules/.bin/nanoid
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
|
| 3 |
+
let { nanoid, customAlphabet } = require('..')
|
| 4 |
+
|
| 5 |
+
function print(msg) {
|
| 6 |
+
process.stdout.write(msg + '\n')
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
function error(msg) {
|
| 10 |
+
process.stderr.write(msg + '\n')
|
| 11 |
+
process.exit(1)
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
if (process.argv.includes('--help') || process.argv.includes('-h')) {
|
| 15 |
+
print(`
|
| 16 |
+
Usage
|
| 17 |
+
$ nanoid [options]
|
| 18 |
+
|
| 19 |
+
Options
|
| 20 |
+
-s, --size Generated ID size
|
| 21 |
+
-a, --alphabet Alphabet to use
|
| 22 |
+
-h, --help Show this help
|
| 23 |
+
|
| 24 |
+
Examples
|
| 25 |
+
$ nanoid --s 15
|
| 26 |
+
S9sBF77U6sDB8Yg
|
| 27 |
+
|
| 28 |
+
$ nanoid --size 10 --alphabet abc
|
| 29 |
+
bcabababca`)
|
| 30 |
+
process.exit()
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
let alphabet, size
|
| 34 |
+
for (let i = 2; i < process.argv.length; i++) {
|
| 35 |
+
let arg = process.argv[i]
|
| 36 |
+
if (arg === '--size' || arg === '-s') {
|
| 37 |
+
size = Number(process.argv[i + 1])
|
| 38 |
+
i += 1
|
| 39 |
+
if (Number.isNaN(size) || size <= 0) {
|
| 40 |
+
error('Size must be positive integer')
|
| 41 |
+
}
|
| 42 |
+
} else if (arg === '--alphabet' || arg === '-a') {
|
| 43 |
+
alphabet = process.argv[i + 1]
|
| 44 |
+
i += 1
|
| 45 |
+
} else {
|
| 46 |
+
error('Unknown argument ' + arg)
|
| 47 |
+
}
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
if (alphabet) {
|
| 51 |
+
let customNanoid = customAlphabet(alphabet, size)
|
| 52 |
+
print(customNanoid())
|
| 53 |
+
} else {
|
| 54 |
+
print(nanoid(size))
|
| 55 |
+
}
|
node_modules/.bin/resolve
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
|
| 3 |
+
'use strict';
|
| 4 |
+
|
| 5 |
+
var path = require('path');
|
| 6 |
+
var fs = require('fs');
|
| 7 |
+
|
| 8 |
+
if (
|
| 9 |
+
String(process.env.npm_lifecycle_script).slice(0, 8) !== 'resolve '
|
| 10 |
+
&& (
|
| 11 |
+
!process.argv
|
| 12 |
+
|| process.argv.length < 2
|
| 13 |
+
|| (process.argv[1] !== __filename && fs.statSync(process.argv[1]).ino !== fs.statSync(__filename).ino)
|
| 14 |
+
|| (process.env.npm_lifecycle_event !== 'npx' && process.env._ && fs.realpathSync(path.resolve(process.env._)) !== __filename)
|
| 15 |
+
)
|
| 16 |
+
) {
|
| 17 |
+
console.error('Error: `resolve` must be run directly as an executable');
|
| 18 |
+
process.exit(1);
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
var supportsPreserveSymlinkFlag = require('supports-preserve-symlinks-flag');
|
| 22 |
+
|
| 23 |
+
var preserveSymlinks = false;
|
| 24 |
+
for (var i = 2; i < process.argv.length; i += 1) {
|
| 25 |
+
if (process.argv[i].slice(0, 2) === '--') {
|
| 26 |
+
if (supportsPreserveSymlinkFlag && process.argv[i] === '--preserve-symlinks') {
|
| 27 |
+
preserveSymlinks = true;
|
| 28 |
+
} else if (process.argv[i].length > 2) {
|
| 29 |
+
console.error('Unknown argument ' + process.argv[i].replace(/[=].*$/, ''));
|
| 30 |
+
process.exit(2);
|
| 31 |
+
}
|
| 32 |
+
process.argv.splice(i, 1);
|
| 33 |
+
i -= 1;
|
| 34 |
+
if (process.argv[i] === '--') { break; } // eslint-disable-line no-restricted-syntax
|
| 35 |
+
}
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
if (process.argv.length < 3) {
|
| 39 |
+
console.error('Error: `resolve` expects a specifier');
|
| 40 |
+
process.exit(2);
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
var resolve = require('../');
|
| 44 |
+
|
| 45 |
+
var result = resolve.sync(process.argv[2], {
|
| 46 |
+
basedir: process.cwd(),
|
| 47 |
+
preserveSymlinks: preserveSymlinks
|
| 48 |
+
});
|
| 49 |
+
|
| 50 |
+
console.log(result);
|
node_modules/.bin/rollup
ADDED
|
@@ -0,0 +1,1912 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
/*
|
| 3 |
+
@license
|
| 4 |
+
Rollup.js v4.60.4
|
| 5 |
+
Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
|
| 6 |
+
|
| 7 |
+
https://github.com/rollup/rollup
|
| 8 |
+
|
| 9 |
+
Released under the MIT License.
|
| 10 |
+
*/
|
| 11 |
+
'use strict';
|
| 12 |
+
|
| 13 |
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
| 14 |
+
|
| 15 |
+
const process$1 = require('node:process');
|
| 16 |
+
const rollup = require('../shared/rollup.js');
|
| 17 |
+
const require$$2 = require('util');
|
| 18 |
+
const require$$0 = require('path');
|
| 19 |
+
const require$$0$1 = require('fs');
|
| 20 |
+
const parseAst_js = require('../shared/parseAst.js');
|
| 21 |
+
const fseventsImporter = require('../shared/fsevents-importer.js');
|
| 22 |
+
const promises = require('node:fs/promises');
|
| 23 |
+
const path = require('node:path');
|
| 24 |
+
const loadConfigFile_js = require('../shared/loadConfigFile.js');
|
| 25 |
+
require('../native.js');
|
| 26 |
+
require('node:perf_hooks');
|
| 27 |
+
require('node:url');
|
| 28 |
+
require('../getLogFilter.js');
|
| 29 |
+
|
| 30 |
+
const help = "rollup version 4.60.4\n=====================================\n\nUsage: rollup [options] <entry file>\n\nOptions:\n\n-c, --config <filename> Use this config file (if argument is used but value\n is unspecified, Rollup will try to load configuration files in\n the following order:\n rollup.config.mjs -> rollup.config.cjs -> rollup.config.js)\n-d, --dir <dirname> Directory for chunks (if absent, prints to stdout)\n-e, --external <ids> Comma-separate list of module IDs to exclude\n-f, --format <format> Type of output (amd, cjs, es, iife, umd, system)\n-g, --globals <pairs> Comma-separate list of `moduleID:Global` pairs\n-h, --help Show this help message\n-i, --input <filename> Input (alternative to <entry file>)\n-m, --sourcemap Generate sourcemap (`-m inline` for inline map)\n-n, --name <name> Name for UMD export\n-o, --file <output> Single output file (if absent, prints to stdout)\n-p, --plugin <plugin> Use the plugin specified (may be repeated)\n-v, --version Show version number\n-w, --watch Watch files in bundle and rebuild on changes\n--amd.autoId Generate the AMD ID based off the chunk name\n--amd.basePath <prefix> Path to prepend to auto generated AMD ID\n--amd.define <name> Function to use in place of `define`\n--amd.forceJsExtensionForImports Use `.js` extension in AMD imports\n--amd.id <id> ID for AMD module (default is anonymous)\n--assetFileNames <pattern> Name pattern for emitted assets\n--banner <text> Code to insert at top of bundle (outside wrapper)\n--chunkFileNames <pattern> Name pattern for emitted secondary chunks\n--compact Minify wrapper code\n--context <variable> Specify top-level `this` value\n--no-dynamicImportInCjs Write external dynamic CommonJS imports as require\n--entryFileNames <pattern> Name pattern for emitted entry chunks\n--environment <values> Settings passed to config file (see example)\n--no-esModule Do not add __esModule property\n--exports <mode> Specify export mode (auto, default, named, none)\n--extend Extend global variable defined by --name\n--no-externalImportAttributes Omit import attributes in \"es\" output\n--no-externalLiveBindings Do not generate code to support live bindings\n--failAfterWarnings Exit with an error if the build produced warnings\n--filterLogs <filter> Filter log messages\n--footer <text> Code to insert at end of bundle (outside wrapper)\n--forceExit Force exit the process when done\n--no-freeze Do not freeze namespace objects\n--generatedCode <preset> Which code features to use (es5/es2015)\n--generatedCode.arrowFunctions Use arrow functions in generated code\n--generatedCode.constBindings Use \"const\" in generated code\n--generatedCode.objectShorthand Use shorthand properties in generated code\n--no-generatedCode.reservedNamesAsProps Always quote reserved names as props\n--generatedCode.symbols Use symbols in generated code\n--hashCharacters <name> Use the specified character set for file hashes\n--no-hoistTransitiveImports Do not hoist transitive imports into entry chunks\n--importAttributesKey <name> Use the specified keyword for import attributes\n--no-indent Don't indent result\n--inlineDynamicImports Create single bundle when using dynamic imports\n--no-interop Do not include interop block\n--intro <text> Code to insert at top of bundle (inside wrapper)\n--logLevel <level> Which kind of logs to display\n--no-makeAbsoluteExternalsRelative Prevent normalization of external imports\n--maxParallelFileOps <value> How many files to read in parallel\n--minifyInternalExports Force or disable minification of internal exports\n--noConflict Generate a noConflict method for UMD globals\n--outro <text> Code to insert at end of bundle (inside wrapper)\n--perf Display performance timings\n--no-preserveEntrySignatures Avoid facade chunks for entry points\n--preserveModules Preserve module structure\n--preserveModulesRoot Put preserved modules under this path at root level\n--preserveSymlinks Do not follow symlinks when resolving files\n--no-reexportProtoFromExternal Ignore `__proto__` in star re-exports\n--no-sanitizeFileName Do not replace invalid characters in file names\n--shimMissingExports Create shim variables for missing exports\n--silent Don't print warnings\n--sourcemapBaseUrl <url> Emit absolute sourcemap URLs with given base\n--sourcemapDebugIds Emit unique debug ids in source and sourcemaps\n--sourcemapExcludeSources Do not include source code in source maps\n--sourcemapFile <file> Specify bundle position for source maps\n--sourcemapFileNames <pattern> Name pattern for emitted sourcemaps\n--stdin=ext Specify file extension used for stdin input\n--no-stdin Do not read \"-\" from stdin\n--no-strict Don't emit `\"use strict\";` in the generated modules\n--strictDeprecations Throw errors for deprecated features\n--no-systemNullSetters Do not replace empty SystemJS setters with `null`\n--no-treeshake Disable tree-shaking optimisations\n--no-treeshake.annotations Ignore pure call annotations\n--treeshake.correctVarValueBeforeDeclaration Deoptimize variables until declared\n--treeshake.manualPureFunctions <names> Manually declare functions as pure\n--no-treeshake.moduleSideEffects Assume modules have no side effects\n--no-treeshake.propertyReadSideEffects Ignore property access side effects\n--no-treeshake.tryCatchDeoptimization Do not turn off try-catch-tree-shaking\n--no-treeshake.unknownGlobalSideEffects Assume unknown globals do not throw\n--validate Validate output\n--waitForBundleInput Wait for bundle input files\n--watch.allowInputInsideOutputPath Whether the input path is allowed to be a\n subpath of the output path\n--watch.buildDelay <number> Throttle watch rebuilds\n--no-watch.clearScreen Do not clear the screen when rebuilding\n--watch.exclude <files> Exclude files from being watched\n--watch.include <files> Limit watching to specified files\n--watch.onBundleEnd <cmd> Shell command to run on `\"BUNDLE_END\"` event\n--watch.onBundleStart <cmd> Shell command to run on `\"BUNDLE_START\"` event\n--watch.onEnd <cmd> Shell command to run on `\"END\"` event\n--watch.onError <cmd> Shell command to run on `\"ERROR\"` event\n--watch.onStart <cmd> Shell command to run on `\"START\"` event\n--watch.skipWrite Do not write files to disk when watching\n\nExamples:\n\n# use settings in config file\nrollup -c\n\n# in config file, process.env.INCLUDE_DEPS === 'true'\n# and process.env.BUILD === 'production'\nrollup -c --environment INCLUDE_DEPS,BUILD:production\n\n# create CommonJS bundle.js from src/main.js\nrollup --format=cjs --file=bundle.js -- src/main.js\n\n# create self-executing IIFE using `window.jQuery`\n# and `window._` as external globals\nrollup -f iife --globals jquery:jQuery,lodash:_ \\\n -i src/app.js -o build/app.js -m build/app.js.map\n\nNotes:\n\n* When piping to stdout, only inline sourcemaps are permitted\n\nFor more information visit https://rollupjs.org\n";
|
| 31 |
+
|
| 32 |
+
/**
|
| 33 |
+
* @license
|
| 34 |
+
* Copyright (c) 2016, Contributors
|
| 35 |
+
* SPDX-License-Identifier: ISC
|
| 36 |
+
*/
|
| 37 |
+
function camelCase(str) {
|
| 38 |
+
// Handle the case where an argument is provided as camel case, e.g., fooBar.
|
| 39 |
+
// by ensuring that the string isn't already mixed case:
|
| 40 |
+
const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase();
|
| 41 |
+
if (!isCamelCase) {
|
| 42 |
+
str = str.toLowerCase();
|
| 43 |
+
}
|
| 44 |
+
if (str.indexOf('-') === -1 && str.indexOf('_') === -1) {
|
| 45 |
+
return str;
|
| 46 |
+
}
|
| 47 |
+
else {
|
| 48 |
+
let camelcase = '';
|
| 49 |
+
let nextChrUpper = false;
|
| 50 |
+
const leadingHyphens = str.match(/^-+/);
|
| 51 |
+
for (let i = leadingHyphens ? leadingHyphens[0].length : 0; i < str.length; i++) {
|
| 52 |
+
let chr = str.charAt(i);
|
| 53 |
+
if (nextChrUpper) {
|
| 54 |
+
nextChrUpper = false;
|
| 55 |
+
chr = chr.toUpperCase();
|
| 56 |
+
}
|
| 57 |
+
if (i !== 0 && (chr === '-' || chr === '_')) {
|
| 58 |
+
nextChrUpper = true;
|
| 59 |
+
}
|
| 60 |
+
else if (chr !== '-' && chr !== '_') {
|
| 61 |
+
camelcase += chr;
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
return camelcase;
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
function decamelize(str, joinString) {
|
| 68 |
+
const lowercase = str.toLowerCase();
|
| 69 |
+
joinString = joinString || '-';
|
| 70 |
+
let notCamelcase = '';
|
| 71 |
+
for (let i = 0; i < str.length; i++) {
|
| 72 |
+
const chrLower = lowercase.charAt(i);
|
| 73 |
+
const chrString = str.charAt(i);
|
| 74 |
+
if (chrLower !== chrString && i > 0) {
|
| 75 |
+
notCamelcase += `${joinString}${lowercase.charAt(i)}`;
|
| 76 |
+
}
|
| 77 |
+
else {
|
| 78 |
+
notCamelcase += chrString;
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
return notCamelcase;
|
| 82 |
+
}
|
| 83 |
+
function looksLikeNumber(x) {
|
| 84 |
+
if (x === null || x === undefined)
|
| 85 |
+
return false;
|
| 86 |
+
// if loaded from config, may already be a number.
|
| 87 |
+
if (typeof x === 'number')
|
| 88 |
+
return true;
|
| 89 |
+
// hexadecimal.
|
| 90 |
+
if (/^0x[0-9a-f]+$/i.test(x))
|
| 91 |
+
return true;
|
| 92 |
+
// don't treat 0123 as a number; as it drops the leading '0'.
|
| 93 |
+
if (/^0[^.]/.test(x))
|
| 94 |
+
return false;
|
| 95 |
+
return /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x);
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
/**
|
| 99 |
+
* @license
|
| 100 |
+
* Copyright (c) 2016, Contributors
|
| 101 |
+
* SPDX-License-Identifier: ISC
|
| 102 |
+
*/
|
| 103 |
+
// take an un-split argv string and tokenize it.
|
| 104 |
+
function tokenizeArgString(argString) {
|
| 105 |
+
if (Array.isArray(argString)) {
|
| 106 |
+
return argString.map(e => typeof e !== 'string' ? e + '' : e);
|
| 107 |
+
}
|
| 108 |
+
argString = argString.trim();
|
| 109 |
+
let i = 0;
|
| 110 |
+
let prevC = null;
|
| 111 |
+
let c = null;
|
| 112 |
+
let opening = null;
|
| 113 |
+
const args = [];
|
| 114 |
+
for (let ii = 0; ii < argString.length; ii++) {
|
| 115 |
+
prevC = c;
|
| 116 |
+
c = argString.charAt(ii);
|
| 117 |
+
// split on spaces unless we're in quotes.
|
| 118 |
+
if (c === ' ' && !opening) {
|
| 119 |
+
if (!(prevC === ' ')) {
|
| 120 |
+
i++;
|
| 121 |
+
}
|
| 122 |
+
continue;
|
| 123 |
+
}
|
| 124 |
+
// don't split the string if we're in matching
|
| 125 |
+
// opening or closing single and double quotes.
|
| 126 |
+
if (c === opening) {
|
| 127 |
+
opening = null;
|
| 128 |
+
}
|
| 129 |
+
else if ((c === "'" || c === '"') && !opening) {
|
| 130 |
+
opening = c;
|
| 131 |
+
}
|
| 132 |
+
if (!args[i])
|
| 133 |
+
args[i] = '';
|
| 134 |
+
args[i] += c;
|
| 135 |
+
}
|
| 136 |
+
return args;
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
/**
|
| 140 |
+
* @license
|
| 141 |
+
* Copyright (c) 2016, Contributors
|
| 142 |
+
* SPDX-License-Identifier: ISC
|
| 143 |
+
*/
|
| 144 |
+
var DefaultValuesForTypeKey;
|
| 145 |
+
(function (DefaultValuesForTypeKey) {
|
| 146 |
+
DefaultValuesForTypeKey["BOOLEAN"] = "boolean";
|
| 147 |
+
DefaultValuesForTypeKey["STRING"] = "string";
|
| 148 |
+
DefaultValuesForTypeKey["NUMBER"] = "number";
|
| 149 |
+
DefaultValuesForTypeKey["ARRAY"] = "array";
|
| 150 |
+
})(DefaultValuesForTypeKey || (DefaultValuesForTypeKey = {}));
|
| 151 |
+
|
| 152 |
+
/**
|
| 153 |
+
* @license
|
| 154 |
+
* Copyright (c) 2016, Contributors
|
| 155 |
+
* SPDX-License-Identifier: ISC
|
| 156 |
+
*/
|
| 157 |
+
let mixin;
|
| 158 |
+
class YargsParser {
|
| 159 |
+
constructor(_mixin) {
|
| 160 |
+
mixin = _mixin;
|
| 161 |
+
}
|
| 162 |
+
parse(argsInput, options) {
|
| 163 |
+
const opts = Object.assign({
|
| 164 |
+
alias: undefined,
|
| 165 |
+
array: undefined,
|
| 166 |
+
boolean: undefined,
|
| 167 |
+
config: undefined,
|
| 168 |
+
configObjects: undefined,
|
| 169 |
+
configuration: undefined,
|
| 170 |
+
coerce: undefined,
|
| 171 |
+
count: undefined,
|
| 172 |
+
default: undefined,
|
| 173 |
+
envPrefix: undefined,
|
| 174 |
+
narg: undefined,
|
| 175 |
+
normalize: undefined,
|
| 176 |
+
string: undefined,
|
| 177 |
+
number: undefined,
|
| 178 |
+
__: undefined,
|
| 179 |
+
key: undefined
|
| 180 |
+
}, options);
|
| 181 |
+
// allow a string argument to be passed in rather
|
| 182 |
+
// than an argv array.
|
| 183 |
+
const args = tokenizeArgString(argsInput);
|
| 184 |
+
// tokenizeArgString adds extra quotes to args if argsInput is a string
|
| 185 |
+
// only strip those extra quotes in processValue if argsInput is a string
|
| 186 |
+
const inputIsString = typeof argsInput === 'string';
|
| 187 |
+
// aliases might have transitive relationships, normalize this.
|
| 188 |
+
const aliases = combineAliases(Object.assign(Object.create(null), opts.alias));
|
| 189 |
+
const configuration = Object.assign({
|
| 190 |
+
'boolean-negation': true,
|
| 191 |
+
'camel-case-expansion': true,
|
| 192 |
+
'combine-arrays': false,
|
| 193 |
+
'dot-notation': true,
|
| 194 |
+
'duplicate-arguments-array': true,
|
| 195 |
+
'flatten-duplicate-arrays': true,
|
| 196 |
+
'greedy-arrays': true,
|
| 197 |
+
'halt-at-non-option': false,
|
| 198 |
+
'nargs-eats-options': false,
|
| 199 |
+
'negation-prefix': 'no-',
|
| 200 |
+
'parse-numbers': true,
|
| 201 |
+
'parse-positional-numbers': true,
|
| 202 |
+
'populate--': false,
|
| 203 |
+
'set-placeholder-key': false,
|
| 204 |
+
'short-option-groups': true,
|
| 205 |
+
'strip-aliased': false,
|
| 206 |
+
'strip-dashed': false,
|
| 207 |
+
'unknown-options-as-args': false
|
| 208 |
+
}, opts.configuration);
|
| 209 |
+
const defaults = Object.assign(Object.create(null), opts.default);
|
| 210 |
+
const configObjects = opts.configObjects || [];
|
| 211 |
+
const envPrefix = opts.envPrefix;
|
| 212 |
+
const notFlagsOption = configuration['populate--'];
|
| 213 |
+
const notFlagsArgv = notFlagsOption ? '--' : '_';
|
| 214 |
+
const newAliases = Object.create(null);
|
| 215 |
+
const defaulted = Object.create(null);
|
| 216 |
+
// allow a i18n handler to be passed in, default to a fake one (util.format).
|
| 217 |
+
const __ = opts.__ || mixin.format;
|
| 218 |
+
const flags = {
|
| 219 |
+
aliases: Object.create(null),
|
| 220 |
+
arrays: Object.create(null),
|
| 221 |
+
bools: Object.create(null),
|
| 222 |
+
strings: Object.create(null),
|
| 223 |
+
numbers: Object.create(null),
|
| 224 |
+
counts: Object.create(null),
|
| 225 |
+
normalize: Object.create(null),
|
| 226 |
+
configs: Object.create(null),
|
| 227 |
+
nargs: Object.create(null),
|
| 228 |
+
coercions: Object.create(null),
|
| 229 |
+
keys: []
|
| 230 |
+
};
|
| 231 |
+
const negative = /^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/;
|
| 232 |
+
const negatedBoolean = new RegExp('^--' + configuration['negation-prefix'] + '(.+)');
|
| 233 |
+
[].concat(opts.array || []).filter(Boolean).forEach(function (opt) {
|
| 234 |
+
const key = typeof opt === 'object' ? opt.key : opt;
|
| 235 |
+
// assign to flags[bools|strings|numbers]
|
| 236 |
+
const assignment = Object.keys(opt).map(function (key) {
|
| 237 |
+
const arrayFlagKeys = {
|
| 238 |
+
boolean: 'bools',
|
| 239 |
+
string: 'strings',
|
| 240 |
+
number: 'numbers'
|
| 241 |
+
};
|
| 242 |
+
return arrayFlagKeys[key];
|
| 243 |
+
}).filter(Boolean).pop();
|
| 244 |
+
// assign key to be coerced
|
| 245 |
+
if (assignment) {
|
| 246 |
+
flags[assignment][key] = true;
|
| 247 |
+
}
|
| 248 |
+
flags.arrays[key] = true;
|
| 249 |
+
flags.keys.push(key);
|
| 250 |
+
});
|
| 251 |
+
[].concat(opts.boolean || []).filter(Boolean).forEach(function (key) {
|
| 252 |
+
flags.bools[key] = true;
|
| 253 |
+
flags.keys.push(key);
|
| 254 |
+
});
|
| 255 |
+
[].concat(opts.string || []).filter(Boolean).forEach(function (key) {
|
| 256 |
+
flags.strings[key] = true;
|
| 257 |
+
flags.keys.push(key);
|
| 258 |
+
});
|
| 259 |
+
[].concat(opts.number || []).filter(Boolean).forEach(function (key) {
|
| 260 |
+
flags.numbers[key] = true;
|
| 261 |
+
flags.keys.push(key);
|
| 262 |
+
});
|
| 263 |
+
[].concat(opts.count || []).filter(Boolean).forEach(function (key) {
|
| 264 |
+
flags.counts[key] = true;
|
| 265 |
+
flags.keys.push(key);
|
| 266 |
+
});
|
| 267 |
+
[].concat(opts.normalize || []).filter(Boolean).forEach(function (key) {
|
| 268 |
+
flags.normalize[key] = true;
|
| 269 |
+
flags.keys.push(key);
|
| 270 |
+
});
|
| 271 |
+
if (typeof opts.narg === 'object') {
|
| 272 |
+
Object.entries(opts.narg).forEach(([key, value]) => {
|
| 273 |
+
if (typeof value === 'number') {
|
| 274 |
+
flags.nargs[key] = value;
|
| 275 |
+
flags.keys.push(key);
|
| 276 |
+
}
|
| 277 |
+
});
|
| 278 |
+
}
|
| 279 |
+
if (typeof opts.coerce === 'object') {
|
| 280 |
+
Object.entries(opts.coerce).forEach(([key, value]) => {
|
| 281 |
+
if (typeof value === 'function') {
|
| 282 |
+
flags.coercions[key] = value;
|
| 283 |
+
flags.keys.push(key);
|
| 284 |
+
}
|
| 285 |
+
});
|
| 286 |
+
}
|
| 287 |
+
if (typeof opts.config !== 'undefined') {
|
| 288 |
+
if (Array.isArray(opts.config) || typeof opts.config === 'string') {
|
| 289 |
+
[].concat(opts.config).filter(Boolean).forEach(function (key) {
|
| 290 |
+
flags.configs[key] = true;
|
| 291 |
+
});
|
| 292 |
+
}
|
| 293 |
+
else if (typeof opts.config === 'object') {
|
| 294 |
+
Object.entries(opts.config).forEach(([key, value]) => {
|
| 295 |
+
if (typeof value === 'boolean' || typeof value === 'function') {
|
| 296 |
+
flags.configs[key] = value;
|
| 297 |
+
}
|
| 298 |
+
});
|
| 299 |
+
}
|
| 300 |
+
}
|
| 301 |
+
// create a lookup table that takes into account all
|
| 302 |
+
// combinations of aliases: {f: ['foo'], foo: ['f']}
|
| 303 |
+
extendAliases(opts.key, aliases, opts.default, flags.arrays);
|
| 304 |
+
// apply default values to all aliases.
|
| 305 |
+
Object.keys(defaults).forEach(function (key) {
|
| 306 |
+
(flags.aliases[key] || []).forEach(function (alias) {
|
| 307 |
+
defaults[alias] = defaults[key];
|
| 308 |
+
});
|
| 309 |
+
});
|
| 310 |
+
let error = null;
|
| 311 |
+
checkConfiguration();
|
| 312 |
+
let notFlags = [];
|
| 313 |
+
const argv = Object.assign(Object.create(null), { _: [] });
|
| 314 |
+
// TODO(bcoe): for the first pass at removing object prototype we didn't
|
| 315 |
+
// remove all prototypes from objects returned by this API, we might want
|
| 316 |
+
// to gradually move towards doing so.
|
| 317 |
+
const argvReturn = {};
|
| 318 |
+
for (let i = 0; i < args.length; i++) {
|
| 319 |
+
const arg = args[i];
|
| 320 |
+
const truncatedArg = arg.replace(/^-{3,}/, '---');
|
| 321 |
+
let broken;
|
| 322 |
+
let key;
|
| 323 |
+
let letters;
|
| 324 |
+
let m;
|
| 325 |
+
let next;
|
| 326 |
+
let value;
|
| 327 |
+
// any unknown option (except for end-of-options, "--")
|
| 328 |
+
if (arg !== '--' && /^-/.test(arg) && isUnknownOptionAsArg(arg)) {
|
| 329 |
+
pushPositional(arg);
|
| 330 |
+
// ---, ---=, ----, etc,
|
| 331 |
+
}
|
| 332 |
+
else if (truncatedArg.match(/^---+(=|$)/)) {
|
| 333 |
+
// options without key name are invalid.
|
| 334 |
+
pushPositional(arg);
|
| 335 |
+
continue;
|
| 336 |
+
// -- separated by =
|
| 337 |
+
}
|
| 338 |
+
else if (arg.match(/^--.+=/) || (!configuration['short-option-groups'] && arg.match(/^-.+=/))) {
|
| 339 |
+
// Using [\s\S] instead of . because js doesn't support the
|
| 340 |
+
// 'dotall' regex modifier. See:
|
| 341 |
+
// http://stackoverflow.com/a/1068308/13216
|
| 342 |
+
m = arg.match(/^--?([^=]+)=([\s\S]*)$/);
|
| 343 |
+
// arrays format = '--f=a b c'
|
| 344 |
+
if (m !== null && Array.isArray(m) && m.length >= 3) {
|
| 345 |
+
if (checkAllAliases(m[1], flags.arrays)) {
|
| 346 |
+
i = eatArray(i, m[1], args, m[2]);
|
| 347 |
+
}
|
| 348 |
+
else if (checkAllAliases(m[1], flags.nargs) !== false) {
|
| 349 |
+
// nargs format = '--f=monkey washing cat'
|
| 350 |
+
i = eatNargs(i, m[1], args, m[2]);
|
| 351 |
+
}
|
| 352 |
+
else {
|
| 353 |
+
setArg(m[1], m[2], true);
|
| 354 |
+
}
|
| 355 |
+
}
|
| 356 |
+
}
|
| 357 |
+
else if (arg.match(negatedBoolean) && configuration['boolean-negation']) {
|
| 358 |
+
m = arg.match(negatedBoolean);
|
| 359 |
+
if (m !== null && Array.isArray(m) && m.length >= 2) {
|
| 360 |
+
key = m[1];
|
| 361 |
+
setArg(key, checkAllAliases(key, flags.arrays) ? [false] : false);
|
| 362 |
+
}
|
| 363 |
+
// -- separated by space.
|
| 364 |
+
}
|
| 365 |
+
else if (arg.match(/^--.+/) || (!configuration['short-option-groups'] && arg.match(/^-[^-]+/))) {
|
| 366 |
+
m = arg.match(/^--?(.+)/);
|
| 367 |
+
if (m !== null && Array.isArray(m) && m.length >= 2) {
|
| 368 |
+
key = m[1];
|
| 369 |
+
if (checkAllAliases(key, flags.arrays)) {
|
| 370 |
+
// array format = '--foo a b c'
|
| 371 |
+
i = eatArray(i, key, args);
|
| 372 |
+
}
|
| 373 |
+
else if (checkAllAliases(key, flags.nargs) !== false) {
|
| 374 |
+
// nargs format = '--foo a b c'
|
| 375 |
+
// should be truthy even if: flags.nargs[key] === 0
|
| 376 |
+
i = eatNargs(i, key, args);
|
| 377 |
+
}
|
| 378 |
+
else {
|
| 379 |
+
next = args[i + 1];
|
| 380 |
+
if (next !== undefined && (!next.match(/^-/) ||
|
| 381 |
+
next.match(negative)) &&
|
| 382 |
+
!checkAllAliases(key, flags.bools) &&
|
| 383 |
+
!checkAllAliases(key, flags.counts)) {
|
| 384 |
+
setArg(key, next);
|
| 385 |
+
i++;
|
| 386 |
+
}
|
| 387 |
+
else if (/^(true|false)$/.test(next)) {
|
| 388 |
+
setArg(key, next);
|
| 389 |
+
i++;
|
| 390 |
+
}
|
| 391 |
+
else {
|
| 392 |
+
setArg(key, defaultValue(key));
|
| 393 |
+
}
|
| 394 |
+
}
|
| 395 |
+
}
|
| 396 |
+
// dot-notation flag separated by '='.
|
| 397 |
+
}
|
| 398 |
+
else if (arg.match(/^-.\..+=/)) {
|
| 399 |
+
m = arg.match(/^-([^=]+)=([\s\S]*)$/);
|
| 400 |
+
if (m !== null && Array.isArray(m) && m.length >= 3) {
|
| 401 |
+
setArg(m[1], m[2]);
|
| 402 |
+
}
|
| 403 |
+
// dot-notation flag separated by space.
|
| 404 |
+
}
|
| 405 |
+
else if (arg.match(/^-.\..+/) && !arg.match(negative)) {
|
| 406 |
+
next = args[i + 1];
|
| 407 |
+
m = arg.match(/^-(.\..+)/);
|
| 408 |
+
if (m !== null && Array.isArray(m) && m.length >= 2) {
|
| 409 |
+
key = m[1];
|
| 410 |
+
if (next !== undefined && !next.match(/^-/) &&
|
| 411 |
+
!checkAllAliases(key, flags.bools) &&
|
| 412 |
+
!checkAllAliases(key, flags.counts)) {
|
| 413 |
+
setArg(key, next);
|
| 414 |
+
i++;
|
| 415 |
+
}
|
| 416 |
+
else {
|
| 417 |
+
setArg(key, defaultValue(key));
|
| 418 |
+
}
|
| 419 |
+
}
|
| 420 |
+
}
|
| 421 |
+
else if (arg.match(/^-[^-]+/) && !arg.match(negative)) {
|
| 422 |
+
letters = arg.slice(1, -1).split('');
|
| 423 |
+
broken = false;
|
| 424 |
+
for (let j = 0; j < letters.length; j++) {
|
| 425 |
+
next = arg.slice(j + 2);
|
| 426 |
+
if (letters[j + 1] && letters[j + 1] === '=') {
|
| 427 |
+
value = arg.slice(j + 3);
|
| 428 |
+
key = letters[j];
|
| 429 |
+
if (checkAllAliases(key, flags.arrays)) {
|
| 430 |
+
// array format = '-f=a b c'
|
| 431 |
+
i = eatArray(i, key, args, value);
|
| 432 |
+
}
|
| 433 |
+
else if (checkAllAliases(key, flags.nargs) !== false) {
|
| 434 |
+
// nargs format = '-f=monkey washing cat'
|
| 435 |
+
i = eatNargs(i, key, args, value);
|
| 436 |
+
}
|
| 437 |
+
else {
|
| 438 |
+
setArg(key, value);
|
| 439 |
+
}
|
| 440 |
+
broken = true;
|
| 441 |
+
break;
|
| 442 |
+
}
|
| 443 |
+
if (next === '-') {
|
| 444 |
+
setArg(letters[j], next);
|
| 445 |
+
continue;
|
| 446 |
+
}
|
| 447 |
+
// current letter is an alphabetic character and next value is a number
|
| 448 |
+
if (/[A-Za-z]/.test(letters[j]) &&
|
| 449 |
+
/^-?\d+(\.\d*)?(e-?\d+)?$/.test(next) &&
|
| 450 |
+
checkAllAliases(next, flags.bools) === false) {
|
| 451 |
+
setArg(letters[j], next);
|
| 452 |
+
broken = true;
|
| 453 |
+
break;
|
| 454 |
+
}
|
| 455 |
+
if (letters[j + 1] && letters[j + 1].match(/\W/)) {
|
| 456 |
+
setArg(letters[j], next);
|
| 457 |
+
broken = true;
|
| 458 |
+
break;
|
| 459 |
+
}
|
| 460 |
+
else {
|
| 461 |
+
setArg(letters[j], defaultValue(letters[j]));
|
| 462 |
+
}
|
| 463 |
+
}
|
| 464 |
+
key = arg.slice(-1)[0];
|
| 465 |
+
if (!broken && key !== '-') {
|
| 466 |
+
if (checkAllAliases(key, flags.arrays)) {
|
| 467 |
+
// array format = '-f a b c'
|
| 468 |
+
i = eatArray(i, key, args);
|
| 469 |
+
}
|
| 470 |
+
else if (checkAllAliases(key, flags.nargs) !== false) {
|
| 471 |
+
// nargs format = '-f a b c'
|
| 472 |
+
// should be truthy even if: flags.nargs[key] === 0
|
| 473 |
+
i = eatNargs(i, key, args);
|
| 474 |
+
}
|
| 475 |
+
else {
|
| 476 |
+
next = args[i + 1];
|
| 477 |
+
if (next !== undefined && (!/^(-|--)[^-]/.test(next) ||
|
| 478 |
+
next.match(negative)) &&
|
| 479 |
+
!checkAllAliases(key, flags.bools) &&
|
| 480 |
+
!checkAllAliases(key, flags.counts)) {
|
| 481 |
+
setArg(key, next);
|
| 482 |
+
i++;
|
| 483 |
+
}
|
| 484 |
+
else if (/^(true|false)$/.test(next)) {
|
| 485 |
+
setArg(key, next);
|
| 486 |
+
i++;
|
| 487 |
+
}
|
| 488 |
+
else {
|
| 489 |
+
setArg(key, defaultValue(key));
|
| 490 |
+
}
|
| 491 |
+
}
|
| 492 |
+
}
|
| 493 |
+
}
|
| 494 |
+
else if (arg.match(/^-[0-9]$/) &&
|
| 495 |
+
arg.match(negative) &&
|
| 496 |
+
checkAllAliases(arg.slice(1), flags.bools)) {
|
| 497 |
+
// single-digit boolean alias, e.g: xargs -0
|
| 498 |
+
key = arg.slice(1);
|
| 499 |
+
setArg(key, defaultValue(key));
|
| 500 |
+
}
|
| 501 |
+
else if (arg === '--') {
|
| 502 |
+
notFlags = args.slice(i + 1);
|
| 503 |
+
break;
|
| 504 |
+
}
|
| 505 |
+
else if (configuration['halt-at-non-option']) {
|
| 506 |
+
notFlags = args.slice(i);
|
| 507 |
+
break;
|
| 508 |
+
}
|
| 509 |
+
else {
|
| 510 |
+
pushPositional(arg);
|
| 511 |
+
}
|
| 512 |
+
}
|
| 513 |
+
// order of precedence:
|
| 514 |
+
// 1. command line arg
|
| 515 |
+
// 2. value from env var
|
| 516 |
+
// 3. value from config file
|
| 517 |
+
// 4. value from config objects
|
| 518 |
+
// 5. configured default value
|
| 519 |
+
applyEnvVars(argv, true); // special case: check env vars that point to config file
|
| 520 |
+
applyEnvVars(argv, false);
|
| 521 |
+
setConfig(argv);
|
| 522 |
+
setConfigObjects();
|
| 523 |
+
applyDefaultsAndAliases(argv, flags.aliases, defaults, true);
|
| 524 |
+
applyCoercions(argv);
|
| 525 |
+
if (configuration['set-placeholder-key'])
|
| 526 |
+
setPlaceholderKeys(argv);
|
| 527 |
+
// for any counts either not in args or without an explicit default, set to 0
|
| 528 |
+
Object.keys(flags.counts).forEach(function (key) {
|
| 529 |
+
if (!hasKey(argv, key.split('.')))
|
| 530 |
+
setArg(key, 0);
|
| 531 |
+
});
|
| 532 |
+
// '--' defaults to undefined.
|
| 533 |
+
if (notFlagsOption && notFlags.length)
|
| 534 |
+
argv[notFlagsArgv] = [];
|
| 535 |
+
notFlags.forEach(function (key) {
|
| 536 |
+
argv[notFlagsArgv].push(key);
|
| 537 |
+
});
|
| 538 |
+
if (configuration['camel-case-expansion'] && configuration['strip-dashed']) {
|
| 539 |
+
Object.keys(argv).filter(key => key !== '--' && key.includes('-')).forEach(key => {
|
| 540 |
+
delete argv[key];
|
| 541 |
+
});
|
| 542 |
+
}
|
| 543 |
+
if (configuration['strip-aliased']) {
|
| 544 |
+
[].concat(...Object.keys(aliases).map(k => aliases[k])).forEach(alias => {
|
| 545 |
+
if (configuration['camel-case-expansion'] && alias.includes('-')) {
|
| 546 |
+
delete argv[alias.split('.').map(prop => camelCase(prop)).join('.')];
|
| 547 |
+
}
|
| 548 |
+
delete argv[alias];
|
| 549 |
+
});
|
| 550 |
+
}
|
| 551 |
+
// Push argument into positional array, applying numeric coercion:
|
| 552 |
+
function pushPositional(arg) {
|
| 553 |
+
const maybeCoercedNumber = maybeCoerceNumber('_', arg);
|
| 554 |
+
if (typeof maybeCoercedNumber === 'string' || typeof maybeCoercedNumber === 'number') {
|
| 555 |
+
argv._.push(maybeCoercedNumber);
|
| 556 |
+
}
|
| 557 |
+
}
|
| 558 |
+
// how many arguments should we consume, based
|
| 559 |
+
// on the nargs option?
|
| 560 |
+
function eatNargs(i, key, args, argAfterEqualSign) {
|
| 561 |
+
let ii;
|
| 562 |
+
let toEat = checkAllAliases(key, flags.nargs);
|
| 563 |
+
// NaN has a special meaning for the array type, indicating that one or
|
| 564 |
+
// more values are expected.
|
| 565 |
+
toEat = typeof toEat !== 'number' || isNaN(toEat) ? 1 : toEat;
|
| 566 |
+
if (toEat === 0) {
|
| 567 |
+
if (!isUndefined(argAfterEqualSign)) {
|
| 568 |
+
error = Error(__('Argument unexpected for: %s', key));
|
| 569 |
+
}
|
| 570 |
+
setArg(key, defaultValue(key));
|
| 571 |
+
return i;
|
| 572 |
+
}
|
| 573 |
+
let available = isUndefined(argAfterEqualSign) ? 0 : 1;
|
| 574 |
+
if (configuration['nargs-eats-options']) {
|
| 575 |
+
// classic behavior, yargs eats positional and dash arguments.
|
| 576 |
+
if (args.length - (i + 1) + available < toEat) {
|
| 577 |
+
error = Error(__('Not enough arguments following: %s', key));
|
| 578 |
+
}
|
| 579 |
+
available = toEat;
|
| 580 |
+
}
|
| 581 |
+
else {
|
| 582 |
+
// nargs will not consume flag arguments, e.g., -abc, --foo,
|
| 583 |
+
// and terminates when one is observed.
|
| 584 |
+
for (ii = i + 1; ii < args.length; ii++) {
|
| 585 |
+
if (!args[ii].match(/^-[^0-9]/) || args[ii].match(negative) || isUnknownOptionAsArg(args[ii]))
|
| 586 |
+
available++;
|
| 587 |
+
else
|
| 588 |
+
break;
|
| 589 |
+
}
|
| 590 |
+
if (available < toEat)
|
| 591 |
+
error = Error(__('Not enough arguments following: %s', key));
|
| 592 |
+
}
|
| 593 |
+
let consumed = Math.min(available, toEat);
|
| 594 |
+
if (!isUndefined(argAfterEqualSign) && consumed > 0) {
|
| 595 |
+
setArg(key, argAfterEqualSign);
|
| 596 |
+
consumed--;
|
| 597 |
+
}
|
| 598 |
+
for (ii = i + 1; ii < (consumed + i + 1); ii++) {
|
| 599 |
+
setArg(key, args[ii]);
|
| 600 |
+
}
|
| 601 |
+
return (i + consumed);
|
| 602 |
+
}
|
| 603 |
+
// if an option is an array, eat all non-hyphenated arguments
|
| 604 |
+
// following it... YUM!
|
| 605 |
+
// e.g., --foo apple banana cat becomes ["apple", "banana", "cat"]
|
| 606 |
+
function eatArray(i, key, args, argAfterEqualSign) {
|
| 607 |
+
let argsToSet = [];
|
| 608 |
+
let next = argAfterEqualSign || args[i + 1];
|
| 609 |
+
// If both array and nargs are configured, enforce the nargs count:
|
| 610 |
+
const nargsCount = checkAllAliases(key, flags.nargs);
|
| 611 |
+
if (checkAllAliases(key, flags.bools) && !(/^(true|false)$/.test(next))) {
|
| 612 |
+
argsToSet.push(true);
|
| 613 |
+
}
|
| 614 |
+
else if (isUndefined(next) ||
|
| 615 |
+
(isUndefined(argAfterEqualSign) && /^-/.test(next) && !negative.test(next) && !isUnknownOptionAsArg(next))) {
|
| 616 |
+
// for keys without value ==> argsToSet remains an empty []
|
| 617 |
+
// set user default value, if available
|
| 618 |
+
if (defaults[key] !== undefined) {
|
| 619 |
+
const defVal = defaults[key];
|
| 620 |
+
argsToSet = Array.isArray(defVal) ? defVal : [defVal];
|
| 621 |
+
}
|
| 622 |
+
}
|
| 623 |
+
else {
|
| 624 |
+
// value in --option=value is eaten as is
|
| 625 |
+
if (!isUndefined(argAfterEqualSign)) {
|
| 626 |
+
argsToSet.push(processValue(key, argAfterEqualSign, true));
|
| 627 |
+
}
|
| 628 |
+
for (let ii = i + 1; ii < args.length; ii++) {
|
| 629 |
+
if ((!configuration['greedy-arrays'] && argsToSet.length > 0) ||
|
| 630 |
+
(nargsCount && typeof nargsCount === 'number' && argsToSet.length >= nargsCount))
|
| 631 |
+
break;
|
| 632 |
+
next = args[ii];
|
| 633 |
+
if (/^-/.test(next) && !negative.test(next) && !isUnknownOptionAsArg(next))
|
| 634 |
+
break;
|
| 635 |
+
i = ii;
|
| 636 |
+
argsToSet.push(processValue(key, next, inputIsString));
|
| 637 |
+
}
|
| 638 |
+
}
|
| 639 |
+
// If both array and nargs are configured, create an error if less than
|
| 640 |
+
// nargs positionals were found. NaN has special meaning, indicating
|
| 641 |
+
// that at least one value is required (more are okay).
|
| 642 |
+
if (typeof nargsCount === 'number' && ((nargsCount && argsToSet.length < nargsCount) ||
|
| 643 |
+
(isNaN(nargsCount) && argsToSet.length === 0))) {
|
| 644 |
+
error = Error(__('Not enough arguments following: %s', key));
|
| 645 |
+
}
|
| 646 |
+
setArg(key, argsToSet);
|
| 647 |
+
return i;
|
| 648 |
+
}
|
| 649 |
+
function setArg(key, val, shouldStripQuotes = inputIsString) {
|
| 650 |
+
if (/-/.test(key) && configuration['camel-case-expansion']) {
|
| 651 |
+
const alias = key.split('.').map(function (prop) {
|
| 652 |
+
return camelCase(prop);
|
| 653 |
+
}).join('.');
|
| 654 |
+
addNewAlias(key, alias);
|
| 655 |
+
}
|
| 656 |
+
const value = processValue(key, val, shouldStripQuotes);
|
| 657 |
+
const splitKey = key.split('.');
|
| 658 |
+
setKey(argv, splitKey, value);
|
| 659 |
+
// handle populating aliases of the full key
|
| 660 |
+
if (flags.aliases[key]) {
|
| 661 |
+
flags.aliases[key].forEach(function (x) {
|
| 662 |
+
const keyProperties = x.split('.');
|
| 663 |
+
setKey(argv, keyProperties, value);
|
| 664 |
+
});
|
| 665 |
+
}
|
| 666 |
+
// handle populating aliases of the first element of the dot-notation key
|
| 667 |
+
if (splitKey.length > 1 && configuration['dot-notation']) {
|
| 668 |
+
(flags.aliases[splitKey[0]] || []).forEach(function (x) {
|
| 669 |
+
let keyProperties = x.split('.');
|
| 670 |
+
// expand alias with nested objects in key
|
| 671 |
+
const a = [].concat(splitKey);
|
| 672 |
+
a.shift(); // nuke the old key.
|
| 673 |
+
keyProperties = keyProperties.concat(a);
|
| 674 |
+
// populate alias only if is not already an alias of the full key
|
| 675 |
+
// (already populated above)
|
| 676 |
+
if (!(flags.aliases[key] || []).includes(keyProperties.join('.'))) {
|
| 677 |
+
setKey(argv, keyProperties, value);
|
| 678 |
+
}
|
| 679 |
+
});
|
| 680 |
+
}
|
| 681 |
+
// Set normalize getter and setter when key is in 'normalize' but isn't an array
|
| 682 |
+
if (checkAllAliases(key, flags.normalize) && !checkAllAliases(key, flags.arrays)) {
|
| 683 |
+
const keys = [key].concat(flags.aliases[key] || []);
|
| 684 |
+
keys.forEach(function (key) {
|
| 685 |
+
Object.defineProperty(argvReturn, key, {
|
| 686 |
+
enumerable: true,
|
| 687 |
+
get() {
|
| 688 |
+
return val;
|
| 689 |
+
},
|
| 690 |
+
set(value) {
|
| 691 |
+
val = typeof value === 'string' ? mixin.normalize(value) : value;
|
| 692 |
+
}
|
| 693 |
+
});
|
| 694 |
+
});
|
| 695 |
+
}
|
| 696 |
+
}
|
| 697 |
+
function addNewAlias(key, alias) {
|
| 698 |
+
if (!(flags.aliases[key] && flags.aliases[key].length)) {
|
| 699 |
+
flags.aliases[key] = [alias];
|
| 700 |
+
newAliases[alias] = true;
|
| 701 |
+
}
|
| 702 |
+
if (!(flags.aliases[alias] && flags.aliases[alias].length)) {
|
| 703 |
+
addNewAlias(alias, key);
|
| 704 |
+
}
|
| 705 |
+
}
|
| 706 |
+
function processValue(key, val, shouldStripQuotes) {
|
| 707 |
+
// strings may be quoted, clean this up as we assign values.
|
| 708 |
+
if (shouldStripQuotes) {
|
| 709 |
+
val = stripQuotes(val);
|
| 710 |
+
}
|
| 711 |
+
// handle parsing boolean arguments --foo=true --bar false.
|
| 712 |
+
if (checkAllAliases(key, flags.bools) || checkAllAliases(key, flags.counts)) {
|
| 713 |
+
if (typeof val === 'string')
|
| 714 |
+
val = val === 'true';
|
| 715 |
+
}
|
| 716 |
+
let value = Array.isArray(val)
|
| 717 |
+
? val.map(function (v) { return maybeCoerceNumber(key, v); })
|
| 718 |
+
: maybeCoerceNumber(key, val);
|
| 719 |
+
// increment a count given as arg (either no value or value parsed as boolean)
|
| 720 |
+
if (checkAllAliases(key, flags.counts) && (isUndefined(value) || typeof value === 'boolean')) {
|
| 721 |
+
value = increment();
|
| 722 |
+
}
|
| 723 |
+
// Set normalized value when key is in 'normalize' and in 'arrays'
|
| 724 |
+
if (checkAllAliases(key, flags.normalize) && checkAllAliases(key, flags.arrays)) {
|
| 725 |
+
if (Array.isArray(val))
|
| 726 |
+
value = val.map((val) => { return mixin.normalize(val); });
|
| 727 |
+
else
|
| 728 |
+
value = mixin.normalize(val);
|
| 729 |
+
}
|
| 730 |
+
return value;
|
| 731 |
+
}
|
| 732 |
+
function maybeCoerceNumber(key, value) {
|
| 733 |
+
if (!configuration['parse-positional-numbers'] && key === '_')
|
| 734 |
+
return value;
|
| 735 |
+
if (!checkAllAliases(key, flags.strings) && !checkAllAliases(key, flags.bools) && !Array.isArray(value)) {
|
| 736 |
+
const shouldCoerceNumber = looksLikeNumber(value) && configuration['parse-numbers'] && (Number.isSafeInteger(Math.floor(parseFloat(`${value}`))));
|
| 737 |
+
if (shouldCoerceNumber || (!isUndefined(value) && checkAllAliases(key, flags.numbers))) {
|
| 738 |
+
value = Number(value);
|
| 739 |
+
}
|
| 740 |
+
}
|
| 741 |
+
return value;
|
| 742 |
+
}
|
| 743 |
+
// set args from config.json file, this should be
|
| 744 |
+
// applied last so that defaults can be applied.
|
| 745 |
+
function setConfig(argv) {
|
| 746 |
+
const configLookup = Object.create(null);
|
| 747 |
+
// expand defaults/aliases, in-case any happen to reference
|
| 748 |
+
// the config.json file.
|
| 749 |
+
applyDefaultsAndAliases(configLookup, flags.aliases, defaults);
|
| 750 |
+
Object.keys(flags.configs).forEach(function (configKey) {
|
| 751 |
+
const configPath = argv[configKey] || configLookup[configKey];
|
| 752 |
+
if (configPath) {
|
| 753 |
+
try {
|
| 754 |
+
let config = null;
|
| 755 |
+
const resolvedConfigPath = mixin.resolve(mixin.cwd(), configPath);
|
| 756 |
+
const resolveConfig = flags.configs[configKey];
|
| 757 |
+
if (typeof resolveConfig === 'function') {
|
| 758 |
+
try {
|
| 759 |
+
config = resolveConfig(resolvedConfigPath);
|
| 760 |
+
}
|
| 761 |
+
catch (e) {
|
| 762 |
+
config = e;
|
| 763 |
+
}
|
| 764 |
+
if (config instanceof Error) {
|
| 765 |
+
error = config;
|
| 766 |
+
return;
|
| 767 |
+
}
|
| 768 |
+
}
|
| 769 |
+
else {
|
| 770 |
+
config = mixin.require(resolvedConfigPath);
|
| 771 |
+
}
|
| 772 |
+
setConfigObject(config);
|
| 773 |
+
}
|
| 774 |
+
catch (ex) {
|
| 775 |
+
// Deno will receive a PermissionDenied error if an attempt is
|
| 776 |
+
// made to load config without the --allow-read flag:
|
| 777 |
+
if (ex.name === 'PermissionDenied')
|
| 778 |
+
error = ex;
|
| 779 |
+
else if (argv[configKey])
|
| 780 |
+
error = Error(__('Invalid JSON config file: %s', configPath));
|
| 781 |
+
}
|
| 782 |
+
}
|
| 783 |
+
});
|
| 784 |
+
}
|
| 785 |
+
// set args from config object.
|
| 786 |
+
// it recursively checks nested objects.
|
| 787 |
+
function setConfigObject(config, prev) {
|
| 788 |
+
Object.keys(config).forEach(function (key) {
|
| 789 |
+
const value = config[key];
|
| 790 |
+
const fullKey = prev ? prev + '.' + key : key;
|
| 791 |
+
// if the value is an inner object and we have dot-notation
|
| 792 |
+
// enabled, treat inner objects in config the same as
|
| 793 |
+
// heavily nested dot notations (foo.bar.apple).
|
| 794 |
+
if (typeof value === 'object' && value !== null && !Array.isArray(value) && configuration['dot-notation']) {
|
| 795 |
+
// if the value is an object but not an array, check nested object
|
| 796 |
+
setConfigObject(value, fullKey);
|
| 797 |
+
}
|
| 798 |
+
else {
|
| 799 |
+
// setting arguments via CLI takes precedence over
|
| 800 |
+
// values within the config file.
|
| 801 |
+
if (!hasKey(argv, fullKey.split('.')) || (checkAllAliases(fullKey, flags.arrays) && configuration['combine-arrays'])) {
|
| 802 |
+
setArg(fullKey, value);
|
| 803 |
+
}
|
| 804 |
+
}
|
| 805 |
+
});
|
| 806 |
+
}
|
| 807 |
+
// set all config objects passed in opts
|
| 808 |
+
function setConfigObjects() {
|
| 809 |
+
if (typeof configObjects !== 'undefined') {
|
| 810 |
+
configObjects.forEach(function (configObject) {
|
| 811 |
+
setConfigObject(configObject);
|
| 812 |
+
});
|
| 813 |
+
}
|
| 814 |
+
}
|
| 815 |
+
function applyEnvVars(argv, configOnly) {
|
| 816 |
+
if (typeof envPrefix === 'undefined')
|
| 817 |
+
return;
|
| 818 |
+
const prefix = typeof envPrefix === 'string' ? envPrefix : '';
|
| 819 |
+
const env = mixin.env();
|
| 820 |
+
Object.keys(env).forEach(function (envVar) {
|
| 821 |
+
if (prefix === '' || envVar.lastIndexOf(prefix, 0) === 0) {
|
| 822 |
+
// get array of nested keys and convert them to camel case
|
| 823 |
+
const keys = envVar.split('__').map(function (key, i) {
|
| 824 |
+
if (i === 0) {
|
| 825 |
+
key = key.substring(prefix.length);
|
| 826 |
+
}
|
| 827 |
+
return camelCase(key);
|
| 828 |
+
});
|
| 829 |
+
if (((configOnly && flags.configs[keys.join('.')]) || !configOnly) && !hasKey(argv, keys)) {
|
| 830 |
+
setArg(keys.join('.'), env[envVar]);
|
| 831 |
+
}
|
| 832 |
+
}
|
| 833 |
+
});
|
| 834 |
+
}
|
| 835 |
+
function applyCoercions(argv) {
|
| 836 |
+
let coerce;
|
| 837 |
+
const applied = new Set();
|
| 838 |
+
Object.keys(argv).forEach(function (key) {
|
| 839 |
+
if (!applied.has(key)) { // If we haven't already coerced this option via one of its aliases
|
| 840 |
+
coerce = checkAllAliases(key, flags.coercions);
|
| 841 |
+
if (typeof coerce === 'function') {
|
| 842 |
+
try {
|
| 843 |
+
const value = maybeCoerceNumber(key, coerce(argv[key]));
|
| 844 |
+
([].concat(flags.aliases[key] || [], key)).forEach(ali => {
|
| 845 |
+
applied.add(ali);
|
| 846 |
+
argv[ali] = value;
|
| 847 |
+
});
|
| 848 |
+
}
|
| 849 |
+
catch (err) {
|
| 850 |
+
error = err;
|
| 851 |
+
}
|
| 852 |
+
}
|
| 853 |
+
}
|
| 854 |
+
});
|
| 855 |
+
}
|
| 856 |
+
function setPlaceholderKeys(argv) {
|
| 857 |
+
flags.keys.forEach((key) => {
|
| 858 |
+
// don't set placeholder keys for dot notation options 'foo.bar'.
|
| 859 |
+
if (~key.indexOf('.'))
|
| 860 |
+
return;
|
| 861 |
+
if (typeof argv[key] === 'undefined')
|
| 862 |
+
argv[key] = undefined;
|
| 863 |
+
});
|
| 864 |
+
return argv;
|
| 865 |
+
}
|
| 866 |
+
function applyDefaultsAndAliases(obj, aliases, defaults, canLog = false) {
|
| 867 |
+
Object.keys(defaults).forEach(function (key) {
|
| 868 |
+
if (!hasKey(obj, key.split('.'))) {
|
| 869 |
+
setKey(obj, key.split('.'), defaults[key]);
|
| 870 |
+
if (canLog)
|
| 871 |
+
defaulted[key] = true;
|
| 872 |
+
(aliases[key] || []).forEach(function (x) {
|
| 873 |
+
if (hasKey(obj, x.split('.')))
|
| 874 |
+
return;
|
| 875 |
+
setKey(obj, x.split('.'), defaults[key]);
|
| 876 |
+
});
|
| 877 |
+
}
|
| 878 |
+
});
|
| 879 |
+
}
|
| 880 |
+
function hasKey(obj, keys) {
|
| 881 |
+
let o = obj;
|
| 882 |
+
if (!configuration['dot-notation'])
|
| 883 |
+
keys = [keys.join('.')];
|
| 884 |
+
keys.slice(0, -1).forEach(function (key) {
|
| 885 |
+
o = (o[key] || {});
|
| 886 |
+
});
|
| 887 |
+
const key = keys[keys.length - 1];
|
| 888 |
+
if (typeof o !== 'object')
|
| 889 |
+
return false;
|
| 890 |
+
else
|
| 891 |
+
return key in o;
|
| 892 |
+
}
|
| 893 |
+
function setKey(obj, keys, value) {
|
| 894 |
+
let o = obj;
|
| 895 |
+
if (!configuration['dot-notation'])
|
| 896 |
+
keys = [keys.join('.')];
|
| 897 |
+
keys.slice(0, -1).forEach(function (key) {
|
| 898 |
+
// TODO(bcoe): in the next major version of yargs, switch to
|
| 899 |
+
// Object.create(null) for dot notation:
|
| 900 |
+
key = sanitizeKey(key);
|
| 901 |
+
if (typeof o === 'object' && o[key] === undefined) {
|
| 902 |
+
o[key] = {};
|
| 903 |
+
}
|
| 904 |
+
if (typeof o[key] !== 'object' || Array.isArray(o[key])) {
|
| 905 |
+
// ensure that o[key] is an array, and that the last item is an empty object.
|
| 906 |
+
if (Array.isArray(o[key])) {
|
| 907 |
+
o[key].push({});
|
| 908 |
+
}
|
| 909 |
+
else {
|
| 910 |
+
o[key] = [o[key], {}];
|
| 911 |
+
}
|
| 912 |
+
// we want to update the empty object at the end of the o[key] array, so set o to that object
|
| 913 |
+
o = o[key][o[key].length - 1];
|
| 914 |
+
}
|
| 915 |
+
else {
|
| 916 |
+
o = o[key];
|
| 917 |
+
}
|
| 918 |
+
});
|
| 919 |
+
// TODO(bcoe): in the next major version of yargs, switch to
|
| 920 |
+
// Object.create(null) for dot notation:
|
| 921 |
+
const key = sanitizeKey(keys[keys.length - 1]);
|
| 922 |
+
const isTypeArray = checkAllAliases(keys.join('.'), flags.arrays);
|
| 923 |
+
const isValueArray = Array.isArray(value);
|
| 924 |
+
let duplicate = configuration['duplicate-arguments-array'];
|
| 925 |
+
// nargs has higher priority than duplicate
|
| 926 |
+
if (!duplicate && checkAllAliases(key, flags.nargs)) {
|
| 927 |
+
duplicate = true;
|
| 928 |
+
if ((!isUndefined(o[key]) && flags.nargs[key] === 1) || (Array.isArray(o[key]) && o[key].length === flags.nargs[key])) {
|
| 929 |
+
o[key] = undefined;
|
| 930 |
+
}
|
| 931 |
+
}
|
| 932 |
+
if (value === increment()) {
|
| 933 |
+
o[key] = increment(o[key]);
|
| 934 |
+
}
|
| 935 |
+
else if (Array.isArray(o[key])) {
|
| 936 |
+
if (duplicate && isTypeArray && isValueArray) {
|
| 937 |
+
o[key] = configuration['flatten-duplicate-arrays'] ? o[key].concat(value) : (Array.isArray(o[key][0]) ? o[key] : [o[key]]).concat([value]);
|
| 938 |
+
}
|
| 939 |
+
else if (!duplicate && Boolean(isTypeArray) === Boolean(isValueArray)) {
|
| 940 |
+
o[key] = value;
|
| 941 |
+
}
|
| 942 |
+
else {
|
| 943 |
+
o[key] = o[key].concat([value]);
|
| 944 |
+
}
|
| 945 |
+
}
|
| 946 |
+
else if (o[key] === undefined && isTypeArray) {
|
| 947 |
+
o[key] = isValueArray ? value : [value];
|
| 948 |
+
}
|
| 949 |
+
else if (duplicate && !(o[key] === undefined ||
|
| 950 |
+
checkAllAliases(key, flags.counts) ||
|
| 951 |
+
checkAllAliases(key, flags.bools))) {
|
| 952 |
+
o[key] = [o[key], value];
|
| 953 |
+
}
|
| 954 |
+
else {
|
| 955 |
+
o[key] = value;
|
| 956 |
+
}
|
| 957 |
+
}
|
| 958 |
+
// extend the aliases list with inferred aliases.
|
| 959 |
+
function extendAliases(...args) {
|
| 960 |
+
args.forEach(function (obj) {
|
| 961 |
+
Object.keys(obj || {}).forEach(function (key) {
|
| 962 |
+
// short-circuit if we've already added a key
|
| 963 |
+
// to the aliases array, for example it might
|
| 964 |
+
// exist in both 'opts.default' and 'opts.key'.
|
| 965 |
+
if (flags.aliases[key])
|
| 966 |
+
return;
|
| 967 |
+
flags.aliases[key] = [].concat(aliases[key] || []);
|
| 968 |
+
// For "--option-name", also set argv.optionName
|
| 969 |
+
flags.aliases[key].concat(key).forEach(function (x) {
|
| 970 |
+
if (/-/.test(x) && configuration['camel-case-expansion']) {
|
| 971 |
+
const c = camelCase(x);
|
| 972 |
+
if (c !== key && flags.aliases[key].indexOf(c) === -1) {
|
| 973 |
+
flags.aliases[key].push(c);
|
| 974 |
+
newAliases[c] = true;
|
| 975 |
+
}
|
| 976 |
+
}
|
| 977 |
+
});
|
| 978 |
+
// For "--optionName", also set argv['option-name']
|
| 979 |
+
flags.aliases[key].concat(key).forEach(function (x) {
|
| 980 |
+
if (x.length > 1 && /[A-Z]/.test(x) && configuration['camel-case-expansion']) {
|
| 981 |
+
const c = decamelize(x, '-');
|
| 982 |
+
if (c !== key && flags.aliases[key].indexOf(c) === -1) {
|
| 983 |
+
flags.aliases[key].push(c);
|
| 984 |
+
newAliases[c] = true;
|
| 985 |
+
}
|
| 986 |
+
}
|
| 987 |
+
});
|
| 988 |
+
flags.aliases[key].forEach(function (x) {
|
| 989 |
+
flags.aliases[x] = [key].concat(flags.aliases[key].filter(function (y) {
|
| 990 |
+
return x !== y;
|
| 991 |
+
}));
|
| 992 |
+
});
|
| 993 |
+
});
|
| 994 |
+
});
|
| 995 |
+
}
|
| 996 |
+
function checkAllAliases(key, flag) {
|
| 997 |
+
const toCheck = [].concat(flags.aliases[key] || [], key);
|
| 998 |
+
const keys = Object.keys(flag);
|
| 999 |
+
const setAlias = toCheck.find(key => keys.includes(key));
|
| 1000 |
+
return setAlias ? flag[setAlias] : false;
|
| 1001 |
+
}
|
| 1002 |
+
function hasAnyFlag(key) {
|
| 1003 |
+
const flagsKeys = Object.keys(flags);
|
| 1004 |
+
const toCheck = [].concat(flagsKeys.map(k => flags[k]));
|
| 1005 |
+
return toCheck.some(function (flag) {
|
| 1006 |
+
return Array.isArray(flag) ? flag.includes(key) : flag[key];
|
| 1007 |
+
});
|
| 1008 |
+
}
|
| 1009 |
+
function hasFlagsMatching(arg, ...patterns) {
|
| 1010 |
+
const toCheck = [].concat(...patterns);
|
| 1011 |
+
return toCheck.some(function (pattern) {
|
| 1012 |
+
const match = arg.match(pattern);
|
| 1013 |
+
return match && hasAnyFlag(match[1]);
|
| 1014 |
+
});
|
| 1015 |
+
}
|
| 1016 |
+
// based on a simplified version of the short flag group parsing logic
|
| 1017 |
+
function hasAllShortFlags(arg) {
|
| 1018 |
+
// if this is a negative number, or doesn't start with a single hyphen, it's not a short flag group
|
| 1019 |
+
if (arg.match(negative) || !arg.match(/^-[^-]+/)) {
|
| 1020 |
+
return false;
|
| 1021 |
+
}
|
| 1022 |
+
let hasAllFlags = true;
|
| 1023 |
+
let next;
|
| 1024 |
+
const letters = arg.slice(1).split('');
|
| 1025 |
+
for (let j = 0; j < letters.length; j++) {
|
| 1026 |
+
next = arg.slice(j + 2);
|
| 1027 |
+
if (!hasAnyFlag(letters[j])) {
|
| 1028 |
+
hasAllFlags = false;
|
| 1029 |
+
break;
|
| 1030 |
+
}
|
| 1031 |
+
if ((letters[j + 1] && letters[j + 1] === '=') ||
|
| 1032 |
+
next === '-' ||
|
| 1033 |
+
(/[A-Za-z]/.test(letters[j]) && /^-?\d+(\.\d*)?(e-?\d+)?$/.test(next)) ||
|
| 1034 |
+
(letters[j + 1] && letters[j + 1].match(/\W/))) {
|
| 1035 |
+
break;
|
| 1036 |
+
}
|
| 1037 |
+
}
|
| 1038 |
+
return hasAllFlags;
|
| 1039 |
+
}
|
| 1040 |
+
function isUnknownOptionAsArg(arg) {
|
| 1041 |
+
return configuration['unknown-options-as-args'] && isUnknownOption(arg);
|
| 1042 |
+
}
|
| 1043 |
+
function isUnknownOption(arg) {
|
| 1044 |
+
arg = arg.replace(/^-{3,}/, '--');
|
| 1045 |
+
// ignore negative numbers
|
| 1046 |
+
if (arg.match(negative)) {
|
| 1047 |
+
return false;
|
| 1048 |
+
}
|
| 1049 |
+
// if this is a short option group and all of them are configured, it isn't unknown
|
| 1050 |
+
if (hasAllShortFlags(arg)) {
|
| 1051 |
+
return false;
|
| 1052 |
+
}
|
| 1053 |
+
// e.g. '--count=2'
|
| 1054 |
+
const flagWithEquals = /^-+([^=]+?)=[\s\S]*$/;
|
| 1055 |
+
// e.g. '-a' or '--arg'
|
| 1056 |
+
const normalFlag = /^-+([^=]+?)$/;
|
| 1057 |
+
// e.g. '-a-'
|
| 1058 |
+
const flagEndingInHyphen = /^-+([^=]+?)-$/;
|
| 1059 |
+
// e.g. '-abc123'
|
| 1060 |
+
const flagEndingInDigits = /^-+([^=]+?\d+)$/;
|
| 1061 |
+
// e.g. '-a/usr/local'
|
| 1062 |
+
const flagEndingInNonWordCharacters = /^-+([^=]+?)\W+.*$/;
|
| 1063 |
+
// check the different types of flag styles, including negatedBoolean, a pattern defined near the start of the parse method
|
| 1064 |
+
return !hasFlagsMatching(arg, flagWithEquals, negatedBoolean, normalFlag, flagEndingInHyphen, flagEndingInDigits, flagEndingInNonWordCharacters);
|
| 1065 |
+
}
|
| 1066 |
+
// make a best effort to pick a default value
|
| 1067 |
+
// for an option based on name and type.
|
| 1068 |
+
function defaultValue(key) {
|
| 1069 |
+
if (!checkAllAliases(key, flags.bools) &&
|
| 1070 |
+
!checkAllAliases(key, flags.counts) &&
|
| 1071 |
+
`${key}` in defaults) {
|
| 1072 |
+
return defaults[key];
|
| 1073 |
+
}
|
| 1074 |
+
else {
|
| 1075 |
+
return defaultForType(guessType(key));
|
| 1076 |
+
}
|
| 1077 |
+
}
|
| 1078 |
+
// return a default value, given the type of a flag.,
|
| 1079 |
+
function defaultForType(type) {
|
| 1080 |
+
const def = {
|
| 1081 |
+
[DefaultValuesForTypeKey.BOOLEAN]: true,
|
| 1082 |
+
[DefaultValuesForTypeKey.STRING]: '',
|
| 1083 |
+
[DefaultValuesForTypeKey.NUMBER]: undefined,
|
| 1084 |
+
[DefaultValuesForTypeKey.ARRAY]: []
|
| 1085 |
+
};
|
| 1086 |
+
return def[type];
|
| 1087 |
+
}
|
| 1088 |
+
// given a flag, enforce a default type.
|
| 1089 |
+
function guessType(key) {
|
| 1090 |
+
let type = DefaultValuesForTypeKey.BOOLEAN;
|
| 1091 |
+
if (checkAllAliases(key, flags.strings))
|
| 1092 |
+
type = DefaultValuesForTypeKey.STRING;
|
| 1093 |
+
else if (checkAllAliases(key, flags.numbers))
|
| 1094 |
+
type = DefaultValuesForTypeKey.NUMBER;
|
| 1095 |
+
else if (checkAllAliases(key, flags.bools))
|
| 1096 |
+
type = DefaultValuesForTypeKey.BOOLEAN;
|
| 1097 |
+
else if (checkAllAliases(key, flags.arrays))
|
| 1098 |
+
type = DefaultValuesForTypeKey.ARRAY;
|
| 1099 |
+
return type;
|
| 1100 |
+
}
|
| 1101 |
+
function isUndefined(num) {
|
| 1102 |
+
return num === undefined;
|
| 1103 |
+
}
|
| 1104 |
+
// check user configuration settings for inconsistencies
|
| 1105 |
+
function checkConfiguration() {
|
| 1106 |
+
// count keys should not be set as array/narg
|
| 1107 |
+
Object.keys(flags.counts).find(key => {
|
| 1108 |
+
if (checkAllAliases(key, flags.arrays)) {
|
| 1109 |
+
error = Error(__('Invalid configuration: %s, opts.count excludes opts.array.', key));
|
| 1110 |
+
return true;
|
| 1111 |
+
}
|
| 1112 |
+
else if (checkAllAliases(key, flags.nargs)) {
|
| 1113 |
+
error = Error(__('Invalid configuration: %s, opts.count excludes opts.narg.', key));
|
| 1114 |
+
return true;
|
| 1115 |
+
}
|
| 1116 |
+
return false;
|
| 1117 |
+
});
|
| 1118 |
+
}
|
| 1119 |
+
return {
|
| 1120 |
+
aliases: Object.assign({}, flags.aliases),
|
| 1121 |
+
argv: Object.assign(argvReturn, argv),
|
| 1122 |
+
configuration: configuration,
|
| 1123 |
+
defaulted: Object.assign({}, defaulted),
|
| 1124 |
+
error: error,
|
| 1125 |
+
newAliases: Object.assign({}, newAliases)
|
| 1126 |
+
};
|
| 1127 |
+
}
|
| 1128 |
+
}
|
| 1129 |
+
// if any aliases reference each other, we should
|
| 1130 |
+
// merge them together.
|
| 1131 |
+
function combineAliases(aliases) {
|
| 1132 |
+
const aliasArrays = [];
|
| 1133 |
+
const combined = Object.create(null);
|
| 1134 |
+
let change = true;
|
| 1135 |
+
// turn alias lookup hash {key: ['alias1', 'alias2']} into
|
| 1136 |
+
// a simple array ['key', 'alias1', 'alias2']
|
| 1137 |
+
Object.keys(aliases).forEach(function (key) {
|
| 1138 |
+
aliasArrays.push([].concat(aliases[key], key));
|
| 1139 |
+
});
|
| 1140 |
+
// combine arrays until zero changes are
|
| 1141 |
+
// made in an iteration.
|
| 1142 |
+
while (change) {
|
| 1143 |
+
change = false;
|
| 1144 |
+
for (let i = 0; i < aliasArrays.length; i++) {
|
| 1145 |
+
for (let ii = i + 1; ii < aliasArrays.length; ii++) {
|
| 1146 |
+
const intersect = aliasArrays[i].filter(function (v) {
|
| 1147 |
+
return aliasArrays[ii].indexOf(v) !== -1;
|
| 1148 |
+
});
|
| 1149 |
+
if (intersect.length) {
|
| 1150 |
+
aliasArrays[i] = aliasArrays[i].concat(aliasArrays[ii]);
|
| 1151 |
+
aliasArrays.splice(ii, 1);
|
| 1152 |
+
change = true;
|
| 1153 |
+
break;
|
| 1154 |
+
}
|
| 1155 |
+
}
|
| 1156 |
+
}
|
| 1157 |
+
}
|
| 1158 |
+
// map arrays back to the hash-lookup (de-dupe while
|
| 1159 |
+
// we're at it).
|
| 1160 |
+
aliasArrays.forEach(function (aliasArray) {
|
| 1161 |
+
aliasArray = aliasArray.filter(function (v, i, self) {
|
| 1162 |
+
return self.indexOf(v) === i;
|
| 1163 |
+
});
|
| 1164 |
+
const lastAlias = aliasArray.pop();
|
| 1165 |
+
if (lastAlias !== undefined && typeof lastAlias === 'string') {
|
| 1166 |
+
combined[lastAlias] = aliasArray;
|
| 1167 |
+
}
|
| 1168 |
+
});
|
| 1169 |
+
return combined;
|
| 1170 |
+
}
|
| 1171 |
+
// this function should only be called when a count is given as an arg
|
| 1172 |
+
// it is NOT called to set a default value
|
| 1173 |
+
// thus we can start the count at 1 instead of 0
|
| 1174 |
+
function increment(orig) {
|
| 1175 |
+
return orig !== undefined ? orig + 1 : 1;
|
| 1176 |
+
}
|
| 1177 |
+
// TODO(bcoe): in the next major version of yargs, switch to
|
| 1178 |
+
// Object.create(null) for dot notation:
|
| 1179 |
+
function sanitizeKey(key) {
|
| 1180 |
+
if (key === '__proto__')
|
| 1181 |
+
return '___proto___';
|
| 1182 |
+
return key;
|
| 1183 |
+
}
|
| 1184 |
+
function stripQuotes(val) {
|
| 1185 |
+
return (typeof val === 'string' &&
|
| 1186 |
+
(val[0] === "'" || val[0] === '"') &&
|
| 1187 |
+
val[val.length - 1] === val[0])
|
| 1188 |
+
? val.substring(1, val.length - 1)
|
| 1189 |
+
: val;
|
| 1190 |
+
}
|
| 1191 |
+
|
| 1192 |
+
/**
|
| 1193 |
+
* @fileoverview Main entrypoint for libraries using yargs-parser in Node.js
|
| 1194 |
+
* CJS and ESM environments.
|
| 1195 |
+
*
|
| 1196 |
+
* @license
|
| 1197 |
+
* Copyright (c) 2016, Contributors
|
| 1198 |
+
* SPDX-License-Identifier: ISC
|
| 1199 |
+
*/
|
| 1200 |
+
var _a, _b, _c;
|
| 1201 |
+
// See https://github.com/yargs/yargs-parser#supported-nodejs-versions for our
|
| 1202 |
+
// version support policy. The YARGS_MIN_NODE_VERSION is used for testing only.
|
| 1203 |
+
const minNodeVersion = (process && process.env && process.env.YARGS_MIN_NODE_VERSION)
|
| 1204 |
+
? Number(process.env.YARGS_MIN_NODE_VERSION)
|
| 1205 |
+
: 12;
|
| 1206 |
+
const nodeVersion = (_b = (_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) !== null && _b !== void 0 ? _b : (_c = process === null || process === void 0 ? void 0 : process.version) === null || _c === void 0 ? void 0 : _c.slice(1);
|
| 1207 |
+
if (nodeVersion) {
|
| 1208 |
+
const major = Number(nodeVersion.match(/^([^.]+)/)[1]);
|
| 1209 |
+
if (major < minNodeVersion) {
|
| 1210 |
+
throw Error(`yargs parser supports a minimum Node.js version of ${minNodeVersion}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);
|
| 1211 |
+
}
|
| 1212 |
+
}
|
| 1213 |
+
// Creates a yargs-parser instance using Node.js standard libraries:
|
| 1214 |
+
const env = process ? process.env : {};
|
| 1215 |
+
const parser = new YargsParser({
|
| 1216 |
+
cwd: process.cwd,
|
| 1217 |
+
env: () => {
|
| 1218 |
+
return env;
|
| 1219 |
+
},
|
| 1220 |
+
format: require$$2.format,
|
| 1221 |
+
normalize: require$$0.normalize,
|
| 1222 |
+
resolve: require$$0.resolve,
|
| 1223 |
+
// TODO: figure out a way to combine ESM and CJS coverage, such that
|
| 1224 |
+
// we can exercise all the lines below:
|
| 1225 |
+
require: (path) => {
|
| 1226 |
+
if (typeof require !== 'undefined') {
|
| 1227 |
+
return require(path);
|
| 1228 |
+
}
|
| 1229 |
+
else if (path.match(/\.json$/)) {
|
| 1230 |
+
// Addresses: https://github.com/yargs/yargs/issues/2040
|
| 1231 |
+
return JSON.parse(require$$0$1.readFileSync(path, 'utf8'));
|
| 1232 |
+
}
|
| 1233 |
+
else {
|
| 1234 |
+
throw Error('only .json config files are supported in ESM');
|
| 1235 |
+
}
|
| 1236 |
+
}
|
| 1237 |
+
});
|
| 1238 |
+
const yargsParser = function Parser(args, opts) {
|
| 1239 |
+
const result = parser.parse(args.slice(), opts);
|
| 1240 |
+
return result.argv;
|
| 1241 |
+
};
|
| 1242 |
+
yargsParser.detailed = function (args, opts) {
|
| 1243 |
+
return parser.parse(args.slice(), opts);
|
| 1244 |
+
};
|
| 1245 |
+
yargsParser.camelCase = camelCase;
|
| 1246 |
+
yargsParser.decamelize = decamelize;
|
| 1247 |
+
yargsParser.looksLikeNumber = looksLikeNumber;
|
| 1248 |
+
|
| 1249 |
+
/******************************************************************************
|
| 1250 |
+
Copyright (c) Microsoft Corporation.
|
| 1251 |
+
|
| 1252 |
+
Permission to use, copy, modify, and/or distribute this software for any
|
| 1253 |
+
purpose with or without fee is hereby granted.
|
| 1254 |
+
|
| 1255 |
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
| 1256 |
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
| 1257 |
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
| 1258 |
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
| 1259 |
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
| 1260 |
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
| 1261 |
+
PERFORMANCE OF THIS SOFTWARE.
|
| 1262 |
+
***************************************************************************** */
|
| 1263 |
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
| 1264 |
+
|
| 1265 |
+
|
| 1266 |
+
function __addDisposableResource(env, value, async) {
|
| 1267 |
+
if (value !== null && value !== void 0) {
|
| 1268 |
+
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
| 1269 |
+
var dispose, inner;
|
| 1270 |
+
if (async) {
|
| 1271 |
+
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
| 1272 |
+
dispose = value[Symbol.asyncDispose];
|
| 1273 |
+
}
|
| 1274 |
+
if (dispose === void 0) {
|
| 1275 |
+
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
| 1276 |
+
dispose = value[Symbol.dispose];
|
| 1277 |
+
if (async) inner = dispose;
|
| 1278 |
+
}
|
| 1279 |
+
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
| 1280 |
+
if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
|
| 1281 |
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
| 1282 |
+
}
|
| 1283 |
+
else if (async) {
|
| 1284 |
+
env.stack.push({ async: true });
|
| 1285 |
+
}
|
| 1286 |
+
return value;
|
| 1287 |
+
|
| 1288 |
+
}
|
| 1289 |
+
|
| 1290 |
+
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
| 1291 |
+
var e = new Error(message);
|
| 1292 |
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
| 1293 |
+
};
|
| 1294 |
+
|
| 1295 |
+
function __disposeResources(env) {
|
| 1296 |
+
function fail(e) {
|
| 1297 |
+
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
| 1298 |
+
env.hasError = true;
|
| 1299 |
+
}
|
| 1300 |
+
var r, s = 0;
|
| 1301 |
+
function next() {
|
| 1302 |
+
while (r = env.stack.pop()) {
|
| 1303 |
+
try {
|
| 1304 |
+
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
|
| 1305 |
+
if (r.dispose) {
|
| 1306 |
+
var result = r.dispose.call(r.value);
|
| 1307 |
+
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
| 1308 |
+
}
|
| 1309 |
+
else s |= 1;
|
| 1310 |
+
}
|
| 1311 |
+
catch (e) {
|
| 1312 |
+
fail(e);
|
| 1313 |
+
}
|
| 1314 |
+
}
|
| 1315 |
+
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
|
| 1316 |
+
if (env.hasError) throw env.error;
|
| 1317 |
+
}
|
| 1318 |
+
return next();
|
| 1319 |
+
}
|
| 1320 |
+
|
| 1321 |
+
const toZeroIfInfinity = value => Number.isFinite(value) ? value : 0;
|
| 1322 |
+
|
| 1323 |
+
function parseNumber(milliseconds) {
|
| 1324 |
+
return {
|
| 1325 |
+
days: Math.trunc(milliseconds / 86_400_000),
|
| 1326 |
+
hours: Math.trunc(milliseconds / 3_600_000 % 24),
|
| 1327 |
+
minutes: Math.trunc(milliseconds / 60_000 % 60),
|
| 1328 |
+
seconds: Math.trunc(milliseconds / 1000 % 60),
|
| 1329 |
+
milliseconds: Math.trunc(milliseconds % 1000),
|
| 1330 |
+
microseconds: Math.trunc(toZeroIfInfinity(milliseconds * 1000) % 1000),
|
| 1331 |
+
nanoseconds: Math.trunc(toZeroIfInfinity(milliseconds * 1e6) % 1000),
|
| 1332 |
+
};
|
| 1333 |
+
}
|
| 1334 |
+
|
| 1335 |
+
function parseBigint(milliseconds) {
|
| 1336 |
+
return {
|
| 1337 |
+
days: milliseconds / 86_400_000n,
|
| 1338 |
+
hours: milliseconds / 3_600_000n % 24n,
|
| 1339 |
+
minutes: milliseconds / 60_000n % 60n,
|
| 1340 |
+
seconds: milliseconds / 1000n % 60n,
|
| 1341 |
+
milliseconds: milliseconds % 1000n,
|
| 1342 |
+
microseconds: 0n,
|
| 1343 |
+
nanoseconds: 0n,
|
| 1344 |
+
};
|
| 1345 |
+
}
|
| 1346 |
+
|
| 1347 |
+
function parseMilliseconds(milliseconds) {
|
| 1348 |
+
switch (typeof milliseconds) {
|
| 1349 |
+
case 'number': {
|
| 1350 |
+
if (Number.isFinite(milliseconds)) {
|
| 1351 |
+
return parseNumber(milliseconds);
|
| 1352 |
+
}
|
| 1353 |
+
|
| 1354 |
+
break;
|
| 1355 |
+
}
|
| 1356 |
+
|
| 1357 |
+
case 'bigint': {
|
| 1358 |
+
return parseBigint(milliseconds);
|
| 1359 |
+
}
|
| 1360 |
+
|
| 1361 |
+
// No default
|
| 1362 |
+
}
|
| 1363 |
+
|
| 1364 |
+
throw new TypeError('Expected a finite number or bigint');
|
| 1365 |
+
}
|
| 1366 |
+
|
| 1367 |
+
const isZero = value => value === 0 || value === 0n;
|
| 1368 |
+
const pluralize = (word, count) => (count === 1 || count === 1n) ? word : `${word}s`;
|
| 1369 |
+
|
| 1370 |
+
const SECOND_ROUNDING_EPSILON = 0.000_000_1;
|
| 1371 |
+
const ONE_DAY_IN_MILLISECONDS = 24n * 60n * 60n * 1000n;
|
| 1372 |
+
|
| 1373 |
+
function prettyMilliseconds(milliseconds, options) {
|
| 1374 |
+
const isBigInt = typeof milliseconds === 'bigint';
|
| 1375 |
+
if (!isBigInt && !Number.isFinite(milliseconds)) {
|
| 1376 |
+
throw new TypeError('Expected a finite number or bigint');
|
| 1377 |
+
}
|
| 1378 |
+
|
| 1379 |
+
options = {...options};
|
| 1380 |
+
|
| 1381 |
+
const sign = milliseconds < 0 ? '-' : '';
|
| 1382 |
+
milliseconds = milliseconds < 0 ? -milliseconds : milliseconds; // Cannot use `Math.abs()` because of BigInt support.
|
| 1383 |
+
|
| 1384 |
+
if (options.colonNotation) {
|
| 1385 |
+
options.compact = false;
|
| 1386 |
+
options.formatSubMilliseconds = false;
|
| 1387 |
+
options.separateMilliseconds = false;
|
| 1388 |
+
options.verbose = false;
|
| 1389 |
+
}
|
| 1390 |
+
|
| 1391 |
+
if (options.compact) {
|
| 1392 |
+
options.unitCount = 1;
|
| 1393 |
+
options.secondsDecimalDigits = 0;
|
| 1394 |
+
options.millisecondsDecimalDigits = 0;
|
| 1395 |
+
}
|
| 1396 |
+
|
| 1397 |
+
let result = [];
|
| 1398 |
+
|
| 1399 |
+
const floorDecimals = (value, decimalDigits) => {
|
| 1400 |
+
const flooredInterimValue = Math.floor((value * (10 ** decimalDigits)) + SECOND_ROUNDING_EPSILON);
|
| 1401 |
+
const flooredValue = Math.round(flooredInterimValue) / (10 ** decimalDigits);
|
| 1402 |
+
return flooredValue.toFixed(decimalDigits);
|
| 1403 |
+
};
|
| 1404 |
+
|
| 1405 |
+
const add = (value, long, short, valueString) => {
|
| 1406 |
+
if (
|
| 1407 |
+
(result.length === 0 || !options.colonNotation)
|
| 1408 |
+
&& isZero(value)
|
| 1409 |
+
&& !(options.colonNotation && short === 'm')) {
|
| 1410 |
+
return;
|
| 1411 |
+
}
|
| 1412 |
+
|
| 1413 |
+
valueString ??= String(value);
|
| 1414 |
+
if (options.colonNotation) {
|
| 1415 |
+
const wholeDigits = valueString.includes('.') ? valueString.split('.')[0].length : valueString.length;
|
| 1416 |
+
const minLength = result.length > 0 ? 2 : 1;
|
| 1417 |
+
valueString = '0'.repeat(Math.max(0, minLength - wholeDigits)) + valueString;
|
| 1418 |
+
} else {
|
| 1419 |
+
valueString += options.verbose ? ' ' + pluralize(long, value) : short;
|
| 1420 |
+
}
|
| 1421 |
+
|
| 1422 |
+
result.push(valueString);
|
| 1423 |
+
};
|
| 1424 |
+
|
| 1425 |
+
const parsed = parseMilliseconds(milliseconds);
|
| 1426 |
+
const days = BigInt(parsed.days);
|
| 1427 |
+
|
| 1428 |
+
if (options.hideYearAndDays) {
|
| 1429 |
+
add((BigInt(days) * 24n) + BigInt(parsed.hours), 'hour', 'h');
|
| 1430 |
+
} else {
|
| 1431 |
+
if (options.hideYear) {
|
| 1432 |
+
add(days, 'day', 'd');
|
| 1433 |
+
} else {
|
| 1434 |
+
add(days / 365n, 'year', 'y');
|
| 1435 |
+
add(days % 365n, 'day', 'd');
|
| 1436 |
+
}
|
| 1437 |
+
|
| 1438 |
+
add(Number(parsed.hours), 'hour', 'h');
|
| 1439 |
+
}
|
| 1440 |
+
|
| 1441 |
+
add(Number(parsed.minutes), 'minute', 'm');
|
| 1442 |
+
|
| 1443 |
+
if (!options.hideSeconds) {
|
| 1444 |
+
if (
|
| 1445 |
+
options.separateMilliseconds
|
| 1446 |
+
|| options.formatSubMilliseconds
|
| 1447 |
+
|| (!options.colonNotation && milliseconds < 1000 && !options.subSecondsAsDecimals)
|
| 1448 |
+
) {
|
| 1449 |
+
const seconds = Number(parsed.seconds);
|
| 1450 |
+
const milliseconds = Number(parsed.milliseconds);
|
| 1451 |
+
const microseconds = Number(parsed.microseconds);
|
| 1452 |
+
const nanoseconds = Number(parsed.nanoseconds);
|
| 1453 |
+
|
| 1454 |
+
add(seconds, 'second', 's');
|
| 1455 |
+
|
| 1456 |
+
if (options.formatSubMilliseconds) {
|
| 1457 |
+
add(milliseconds, 'millisecond', 'ms');
|
| 1458 |
+
add(microseconds, 'microsecond', 'µs');
|
| 1459 |
+
add(nanoseconds, 'nanosecond', 'ns');
|
| 1460 |
+
} else {
|
| 1461 |
+
const millisecondsAndBelow
|
| 1462 |
+
= milliseconds
|
| 1463 |
+
+ (microseconds / 1000)
|
| 1464 |
+
+ (nanoseconds / 1e6);
|
| 1465 |
+
|
| 1466 |
+
const millisecondsDecimalDigits
|
| 1467 |
+
= typeof options.millisecondsDecimalDigits === 'number'
|
| 1468 |
+
? options.millisecondsDecimalDigits
|
| 1469 |
+
: 0;
|
| 1470 |
+
|
| 1471 |
+
const roundedMilliseconds = millisecondsAndBelow >= 1
|
| 1472 |
+
? Math.round(millisecondsAndBelow)
|
| 1473 |
+
: Math.ceil(millisecondsAndBelow);
|
| 1474 |
+
|
| 1475 |
+
const millisecondsString = millisecondsDecimalDigits
|
| 1476 |
+
? millisecondsAndBelow.toFixed(millisecondsDecimalDigits)
|
| 1477 |
+
: roundedMilliseconds;
|
| 1478 |
+
|
| 1479 |
+
add(
|
| 1480 |
+
Number.parseFloat(millisecondsString),
|
| 1481 |
+
'millisecond',
|
| 1482 |
+
'ms',
|
| 1483 |
+
millisecondsString,
|
| 1484 |
+
);
|
| 1485 |
+
}
|
| 1486 |
+
} else {
|
| 1487 |
+
const seconds = (
|
| 1488 |
+
(isBigInt ? Number(milliseconds % ONE_DAY_IN_MILLISECONDS) : milliseconds)
|
| 1489 |
+
/ 1000
|
| 1490 |
+
) % 60;
|
| 1491 |
+
const secondsDecimalDigits
|
| 1492 |
+
= typeof options.secondsDecimalDigits === 'number'
|
| 1493 |
+
? options.secondsDecimalDigits
|
| 1494 |
+
: 1;
|
| 1495 |
+
const secondsFixed = floorDecimals(seconds, secondsDecimalDigits);
|
| 1496 |
+
const secondsString = options.keepDecimalsOnWholeSeconds
|
| 1497 |
+
? secondsFixed
|
| 1498 |
+
: secondsFixed.replace(/\.0+$/, '');
|
| 1499 |
+
add(Number.parseFloat(secondsString), 'second', 's', secondsString);
|
| 1500 |
+
}
|
| 1501 |
+
}
|
| 1502 |
+
|
| 1503 |
+
if (result.length === 0) {
|
| 1504 |
+
return sign + '0' + (options.verbose ? ' milliseconds' : 'ms');
|
| 1505 |
+
}
|
| 1506 |
+
|
| 1507 |
+
const separator = options.colonNotation ? ':' : ' ';
|
| 1508 |
+
if (typeof options.unitCount === 'number') {
|
| 1509 |
+
result = result.slice(0, Math.max(options.unitCount, 1));
|
| 1510 |
+
}
|
| 1511 |
+
|
| 1512 |
+
return sign + result.join(separator);
|
| 1513 |
+
}
|
| 1514 |
+
|
| 1515 |
+
const BYTE_UNITS = [
|
| 1516 |
+
'B',
|
| 1517 |
+
'kB',
|
| 1518 |
+
'MB',
|
| 1519 |
+
'GB',
|
| 1520 |
+
'TB',
|
| 1521 |
+
'PB',
|
| 1522 |
+
'EB',
|
| 1523 |
+
'ZB',
|
| 1524 |
+
'YB',
|
| 1525 |
+
];
|
| 1526 |
+
|
| 1527 |
+
const BIBYTE_UNITS = [
|
| 1528 |
+
'B',
|
| 1529 |
+
'KiB',
|
| 1530 |
+
'MiB',
|
| 1531 |
+
'GiB',
|
| 1532 |
+
'TiB',
|
| 1533 |
+
'PiB',
|
| 1534 |
+
'EiB',
|
| 1535 |
+
'ZiB',
|
| 1536 |
+
'YiB',
|
| 1537 |
+
];
|
| 1538 |
+
|
| 1539 |
+
const BIT_UNITS = [
|
| 1540 |
+
'b',
|
| 1541 |
+
'kbit',
|
| 1542 |
+
'Mbit',
|
| 1543 |
+
'Gbit',
|
| 1544 |
+
'Tbit',
|
| 1545 |
+
'Pbit',
|
| 1546 |
+
'Ebit',
|
| 1547 |
+
'Zbit',
|
| 1548 |
+
'Ybit',
|
| 1549 |
+
];
|
| 1550 |
+
|
| 1551 |
+
const BIBIT_UNITS = [
|
| 1552 |
+
'b',
|
| 1553 |
+
'kibit',
|
| 1554 |
+
'Mibit',
|
| 1555 |
+
'Gibit',
|
| 1556 |
+
'Tibit',
|
| 1557 |
+
'Pibit',
|
| 1558 |
+
'Eibit',
|
| 1559 |
+
'Zibit',
|
| 1560 |
+
'Yibit',
|
| 1561 |
+
];
|
| 1562 |
+
|
| 1563 |
+
/*
|
| 1564 |
+
Formats the given number using `Number#toLocaleString`.
|
| 1565 |
+
- If locale is a string, the value is expected to be a locale-key (for example: `de`).
|
| 1566 |
+
- If locale is true, the system default locale is used for translation.
|
| 1567 |
+
- If no value for locale is specified, the number is returned unmodified.
|
| 1568 |
+
*/
|
| 1569 |
+
const toLocaleString = (number, locale, options) => {
|
| 1570 |
+
let result = number;
|
| 1571 |
+
if (typeof locale === 'string' || Array.isArray(locale)) {
|
| 1572 |
+
result = number.toLocaleString(locale, options);
|
| 1573 |
+
} else if (locale === true || options !== undefined) {
|
| 1574 |
+
result = number.toLocaleString(undefined, options);
|
| 1575 |
+
}
|
| 1576 |
+
|
| 1577 |
+
return result;
|
| 1578 |
+
};
|
| 1579 |
+
|
| 1580 |
+
const log10 = numberOrBigInt => {
|
| 1581 |
+
if (typeof numberOrBigInt === 'number') {
|
| 1582 |
+
return Math.log10(numberOrBigInt);
|
| 1583 |
+
}
|
| 1584 |
+
|
| 1585 |
+
const string = numberOrBigInt.toString(10);
|
| 1586 |
+
|
| 1587 |
+
return string.length + Math.log10(`0.${string.slice(0, 15)}`);
|
| 1588 |
+
};
|
| 1589 |
+
|
| 1590 |
+
const log = numberOrBigInt => {
|
| 1591 |
+
if (typeof numberOrBigInt === 'number') {
|
| 1592 |
+
return Math.log(numberOrBigInt);
|
| 1593 |
+
}
|
| 1594 |
+
|
| 1595 |
+
return log10(numberOrBigInt) * Math.log(10);
|
| 1596 |
+
};
|
| 1597 |
+
|
| 1598 |
+
const divide = (numberOrBigInt, divisor) => {
|
| 1599 |
+
if (typeof numberOrBigInt === 'number') {
|
| 1600 |
+
return numberOrBigInt / divisor;
|
| 1601 |
+
}
|
| 1602 |
+
|
| 1603 |
+
const integerPart = numberOrBigInt / BigInt(divisor);
|
| 1604 |
+
const remainder = numberOrBigInt % BigInt(divisor);
|
| 1605 |
+
return Number(integerPart) + (Number(remainder) / divisor);
|
| 1606 |
+
};
|
| 1607 |
+
|
| 1608 |
+
const applyFixedWidth = (result, fixedWidth) => {
|
| 1609 |
+
if (fixedWidth === undefined) {
|
| 1610 |
+
return result;
|
| 1611 |
+
}
|
| 1612 |
+
|
| 1613 |
+
if (typeof fixedWidth !== 'number' || !Number.isSafeInteger(fixedWidth) || fixedWidth < 0) {
|
| 1614 |
+
throw new TypeError(`Expected fixedWidth to be a non-negative integer, got ${typeof fixedWidth}: ${fixedWidth}`);
|
| 1615 |
+
}
|
| 1616 |
+
|
| 1617 |
+
if (fixedWidth === 0) {
|
| 1618 |
+
return result;
|
| 1619 |
+
}
|
| 1620 |
+
|
| 1621 |
+
return result.length < fixedWidth ? result.padStart(fixedWidth, ' ') : result;
|
| 1622 |
+
};
|
| 1623 |
+
|
| 1624 |
+
const buildLocaleOptions = options => {
|
| 1625 |
+
const {minimumFractionDigits, maximumFractionDigits} = options;
|
| 1626 |
+
|
| 1627 |
+
if (minimumFractionDigits === undefined && maximumFractionDigits === undefined) {
|
| 1628 |
+
return undefined;
|
| 1629 |
+
}
|
| 1630 |
+
|
| 1631 |
+
return {
|
| 1632 |
+
...(minimumFractionDigits !== undefined && {minimumFractionDigits}),
|
| 1633 |
+
...(maximumFractionDigits !== undefined && {maximumFractionDigits}),
|
| 1634 |
+
roundingMode: 'trunc',
|
| 1635 |
+
};
|
| 1636 |
+
};
|
| 1637 |
+
|
| 1638 |
+
function prettyBytes(number, options) {
|
| 1639 |
+
if (typeof number !== 'bigint' && !Number.isFinite(number)) {
|
| 1640 |
+
throw new TypeError(`Expected a finite number, got ${typeof number}: ${number}`);
|
| 1641 |
+
}
|
| 1642 |
+
|
| 1643 |
+
options = {
|
| 1644 |
+
bits: false,
|
| 1645 |
+
binary: false,
|
| 1646 |
+
space: true,
|
| 1647 |
+
nonBreakingSpace: false,
|
| 1648 |
+
...options,
|
| 1649 |
+
};
|
| 1650 |
+
|
| 1651 |
+
const UNITS = options.bits
|
| 1652 |
+
? (options.binary ? BIBIT_UNITS : BIT_UNITS)
|
| 1653 |
+
: (options.binary ? BIBYTE_UNITS : BYTE_UNITS);
|
| 1654 |
+
|
| 1655 |
+
const separator = options.space ? (options.nonBreakingSpace ? '\u00A0' : ' ') : '';
|
| 1656 |
+
|
| 1657 |
+
// Handle signed zero case
|
| 1658 |
+
const isZero = typeof number === 'number' ? number === 0 : number === 0n;
|
| 1659 |
+
if (options.signed && isZero) {
|
| 1660 |
+
const result = ` 0${separator}${UNITS[0]}`;
|
| 1661 |
+
return applyFixedWidth(result, options.fixedWidth);
|
| 1662 |
+
}
|
| 1663 |
+
|
| 1664 |
+
const isNegative = number < 0;
|
| 1665 |
+
const prefix = isNegative ? '-' : (options.signed ? '+' : '');
|
| 1666 |
+
|
| 1667 |
+
if (isNegative) {
|
| 1668 |
+
number = -number;
|
| 1669 |
+
}
|
| 1670 |
+
|
| 1671 |
+
const localeOptions = buildLocaleOptions(options);
|
| 1672 |
+
let result;
|
| 1673 |
+
|
| 1674 |
+
if (number < 1) {
|
| 1675 |
+
const numberString = toLocaleString(number, options.locale, localeOptions);
|
| 1676 |
+
result = prefix + numberString + separator + UNITS[0];
|
| 1677 |
+
} else {
|
| 1678 |
+
const exponent = Math.min(Math.floor(options.binary ? log(number) / Math.log(1024) : log10(number) / 3), UNITS.length - 1);
|
| 1679 |
+
number = divide(number, (options.binary ? 1024 : 1000) ** exponent);
|
| 1680 |
+
|
| 1681 |
+
if (!localeOptions) {
|
| 1682 |
+
const minPrecision = Math.max(3, Math.floor(number).toString().length);
|
| 1683 |
+
number = number.toPrecision(minPrecision);
|
| 1684 |
+
}
|
| 1685 |
+
|
| 1686 |
+
const numberString = toLocaleString(Number(number), options.locale, localeOptions);
|
| 1687 |
+
const unit = UNITS[exponent];
|
| 1688 |
+
result = prefix + numberString + separator + unit;
|
| 1689 |
+
}
|
| 1690 |
+
|
| 1691 |
+
return applyFixedWidth(result, options.fixedWidth);
|
| 1692 |
+
}
|
| 1693 |
+
|
| 1694 |
+
function printTimings(timings) {
|
| 1695 |
+
for (const [label, [time, memory, total]] of Object.entries(timings)) {
|
| 1696 |
+
const appliedColor = label[0] === '#' ? (label[1] === '#' ? rollup.bold : rollup.underline) : (text) => text;
|
| 1697 |
+
const row = `${label}: ${time.toFixed(0)}ms, ${prettyBytes(memory)} / ${prettyBytes(total)}`;
|
| 1698 |
+
console.info(appliedColor(row));
|
| 1699 |
+
}
|
| 1700 |
+
}
|
| 1701 |
+
|
| 1702 |
+
async function build(inputOptions, warnings, silent = false) {
|
| 1703 |
+
const env_1 = { stack: [], error: void 0, hasError: false };
|
| 1704 |
+
try {
|
| 1705 |
+
const outputOptions = inputOptions.output;
|
| 1706 |
+
const useStdout = !outputOptions[0].file && !outputOptions[0].dir;
|
| 1707 |
+
const start = Date.now();
|
| 1708 |
+
const files = useStdout ? ['stdout'] : outputOptions.map(t => parseAst_js.relativeId(t.file || t.dir));
|
| 1709 |
+
if (!silent) {
|
| 1710 |
+
let inputFiles;
|
| 1711 |
+
if (typeof inputOptions.input === 'string') {
|
| 1712 |
+
inputFiles = inputOptions.input;
|
| 1713 |
+
}
|
| 1714 |
+
else if (Array.isArray(inputOptions.input)) {
|
| 1715 |
+
inputFiles = inputOptions.input.join(', ');
|
| 1716 |
+
}
|
| 1717 |
+
else if (typeof inputOptions.input === 'object' && inputOptions.input !== null) {
|
| 1718 |
+
inputFiles = Object.values(inputOptions.input).join(', ');
|
| 1719 |
+
}
|
| 1720 |
+
rollup.stderr(rollup.cyan(`\n${rollup.bold(inputFiles)} → ${rollup.bold(files.join(', '))}...`));
|
| 1721 |
+
}
|
| 1722 |
+
const bundle = __addDisposableResource(env_1, await rollup.rollup(inputOptions), true);
|
| 1723 |
+
if (useStdout) {
|
| 1724 |
+
const output = outputOptions[0];
|
| 1725 |
+
if (output.sourcemap && output.sourcemap !== 'inline') {
|
| 1726 |
+
rollup.handleError(parseAst_js.logOnlyInlineSourcemapsForStdout());
|
| 1727 |
+
}
|
| 1728 |
+
const { output: outputs } = await bundle.generate(output);
|
| 1729 |
+
for (const file of outputs) {
|
| 1730 |
+
if (outputs.length > 1)
|
| 1731 |
+
process$1.stdout.write(`\n${rollup.cyan(rollup.bold(`//→ ${file.fileName}:`))}\n`);
|
| 1732 |
+
process$1.stdout.write(file.type === 'asset' ? file.source : file.code);
|
| 1733 |
+
}
|
| 1734 |
+
if (!silent) {
|
| 1735 |
+
warnings.flush();
|
| 1736 |
+
}
|
| 1737 |
+
return;
|
| 1738 |
+
}
|
| 1739 |
+
await Promise.all(outputOptions.map(bundle.write));
|
| 1740 |
+
if (!silent) {
|
| 1741 |
+
warnings.flush();
|
| 1742 |
+
rollup.stderr(rollup.green(`created ${rollup.bold(files.join(', '))} in ${rollup.bold(prettyMilliseconds(Date.now() - start))}`));
|
| 1743 |
+
if (bundle && bundle.getTimings) {
|
| 1744 |
+
printTimings(bundle.getTimings());
|
| 1745 |
+
}
|
| 1746 |
+
}
|
| 1747 |
+
}
|
| 1748 |
+
catch (e_1) {
|
| 1749 |
+
env_1.error = e_1;
|
| 1750 |
+
env_1.hasError = true;
|
| 1751 |
+
}
|
| 1752 |
+
finally {
|
| 1753 |
+
const result_1 = __disposeResources(env_1);
|
| 1754 |
+
if (result_1)
|
| 1755 |
+
await result_1;
|
| 1756 |
+
}
|
| 1757 |
+
}
|
| 1758 |
+
|
| 1759 |
+
const DEFAULT_CONFIG_BASE = 'rollup.config';
|
| 1760 |
+
async function getConfigPath(commandConfig) {
|
| 1761 |
+
if (commandConfig === true) {
|
| 1762 |
+
return path.resolve(await findConfigFileNameInCwd());
|
| 1763 |
+
}
|
| 1764 |
+
if (commandConfig.slice(0, 5) === 'node:') {
|
| 1765 |
+
const packageName = commandConfig.slice(5);
|
| 1766 |
+
try {
|
| 1767 |
+
return require.resolve(`rollup-config-${packageName}`, { paths: [process$1.cwd()] });
|
| 1768 |
+
}
|
| 1769 |
+
catch {
|
| 1770 |
+
try {
|
| 1771 |
+
return require.resolve(packageName, { paths: [process$1.cwd()] });
|
| 1772 |
+
}
|
| 1773 |
+
catch (error) {
|
| 1774 |
+
if (error.code === 'MODULE_NOT_FOUND') {
|
| 1775 |
+
rollup.handleError(parseAst_js.logMissingExternalConfig(commandConfig));
|
| 1776 |
+
}
|
| 1777 |
+
throw error;
|
| 1778 |
+
}
|
| 1779 |
+
}
|
| 1780 |
+
}
|
| 1781 |
+
return path.resolve(commandConfig);
|
| 1782 |
+
}
|
| 1783 |
+
async function findConfigFileNameInCwd() {
|
| 1784 |
+
const filesInWorkingDirectory = new Set(await promises.readdir(process$1.cwd()));
|
| 1785 |
+
for (const extension of ['mjs', 'cjs', 'ts']) {
|
| 1786 |
+
const fileName = `${DEFAULT_CONFIG_BASE}.${extension}`;
|
| 1787 |
+
if (filesInWorkingDirectory.has(fileName))
|
| 1788 |
+
return fileName;
|
| 1789 |
+
}
|
| 1790 |
+
return `${DEFAULT_CONFIG_BASE}.js`;
|
| 1791 |
+
}
|
| 1792 |
+
|
| 1793 |
+
async function loadConfigFromCommand(commandOptions, watchMode) {
|
| 1794 |
+
const warnings = loadConfigFile_js.batchWarnings(commandOptions);
|
| 1795 |
+
if (!commandOptions.input && (commandOptions.stdin || !process$1.stdin.isTTY)) {
|
| 1796 |
+
commandOptions.input = loadConfigFile_js.stdinName;
|
| 1797 |
+
}
|
| 1798 |
+
const options = await rollup.mergeOptions({ input: [] }, watchMode, commandOptions, warnings.log);
|
| 1799 |
+
await loadConfigFile_js.addCommandPluginsToInputOptions(options, commandOptions);
|
| 1800 |
+
return { options: [options], warnings };
|
| 1801 |
+
}
|
| 1802 |
+
|
| 1803 |
+
async function runRollup(command) {
|
| 1804 |
+
let inputSource;
|
| 1805 |
+
if (command._.length > 0) {
|
| 1806 |
+
if (command.input) {
|
| 1807 |
+
rollup.handleError(parseAst_js.logDuplicateImportOptions());
|
| 1808 |
+
}
|
| 1809 |
+
inputSource = command._;
|
| 1810 |
+
}
|
| 1811 |
+
else if (typeof command.input === 'string') {
|
| 1812 |
+
inputSource = [command.input];
|
| 1813 |
+
}
|
| 1814 |
+
else {
|
| 1815 |
+
inputSource = command.input;
|
| 1816 |
+
}
|
| 1817 |
+
if (inputSource && inputSource.length > 0) {
|
| 1818 |
+
if (inputSource.some((input) => input.includes('='))) {
|
| 1819 |
+
command.input = {};
|
| 1820 |
+
for (const input of inputSource) {
|
| 1821 |
+
const equalsIndex = input.indexOf('=');
|
| 1822 |
+
const value = input.slice(Math.max(0, equalsIndex + 1));
|
| 1823 |
+
const key = input.slice(0, Math.max(0, equalsIndex)) || parseAst_js.getAliasName(input);
|
| 1824 |
+
command.input[key] = value;
|
| 1825 |
+
}
|
| 1826 |
+
}
|
| 1827 |
+
else {
|
| 1828 |
+
command.input = inputSource;
|
| 1829 |
+
}
|
| 1830 |
+
}
|
| 1831 |
+
if (command.environment) {
|
| 1832 |
+
const environment = Array.isArray(command.environment)
|
| 1833 |
+
? command.environment
|
| 1834 |
+
: [command.environment];
|
| 1835 |
+
for (const argument of environment) {
|
| 1836 |
+
for (const pair of argument.split(',')) {
|
| 1837 |
+
const [key, ...value] = pair.split(':');
|
| 1838 |
+
process$1.env[key] = value.length === 0 ? String(true) : value.join(':');
|
| 1839 |
+
}
|
| 1840 |
+
}
|
| 1841 |
+
}
|
| 1842 |
+
if (rollup.isWatchEnabled(command.watch)) {
|
| 1843 |
+
await fseventsImporter.loadFsEvents();
|
| 1844 |
+
const { watch } = await Promise.resolve().then(() => require('../shared/watch-cli.js'));
|
| 1845 |
+
await watch(command);
|
| 1846 |
+
}
|
| 1847 |
+
else {
|
| 1848 |
+
try {
|
| 1849 |
+
const { options, warnings } = await getConfigs(command);
|
| 1850 |
+
try {
|
| 1851 |
+
for (const inputOptions of options) {
|
| 1852 |
+
if (!inputOptions.cache) {
|
| 1853 |
+
// We explicitly disable the cache when unused as the CLI will not
|
| 1854 |
+
// use the cache object on the bundle when not in watch mode. This
|
| 1855 |
+
// improves performance as the cache is not generated.
|
| 1856 |
+
inputOptions.cache = false;
|
| 1857 |
+
}
|
| 1858 |
+
await build(inputOptions, warnings, command.silent);
|
| 1859 |
+
}
|
| 1860 |
+
if (command.failAfterWarnings && warnings.warningOccurred) {
|
| 1861 |
+
warnings.flush();
|
| 1862 |
+
rollup.handleError(parseAst_js.logFailAfterWarnings());
|
| 1863 |
+
}
|
| 1864 |
+
}
|
| 1865 |
+
catch (error) {
|
| 1866 |
+
warnings.flush();
|
| 1867 |
+
rollup.handleError(error);
|
| 1868 |
+
}
|
| 1869 |
+
}
|
| 1870 |
+
catch (error) {
|
| 1871 |
+
rollup.handleError(error);
|
| 1872 |
+
}
|
| 1873 |
+
}
|
| 1874 |
+
}
|
| 1875 |
+
async function getConfigs(command) {
|
| 1876 |
+
if (command.config) {
|
| 1877 |
+
const configFile = await getConfigPath(command.config);
|
| 1878 |
+
const { options, warnings } = await loadConfigFile_js.loadConfigFile(configFile, command, false);
|
| 1879 |
+
return { options, warnings };
|
| 1880 |
+
}
|
| 1881 |
+
return await loadConfigFromCommand(command, false);
|
| 1882 |
+
}
|
| 1883 |
+
|
| 1884 |
+
const command = yargsParser(process$1.argv.slice(2), {
|
| 1885 |
+
alias: rollup.commandAliases,
|
| 1886 |
+
configuration: { 'camel-case-expansion': false }
|
| 1887 |
+
});
|
| 1888 |
+
if (command.help || (process$1.argv.length <= 2 && process$1.stdin.isTTY)) {
|
| 1889 |
+
console.log(`\n${help}\n`);
|
| 1890 |
+
}
|
| 1891 |
+
else if (command.version) {
|
| 1892 |
+
console.log(`rollup v${rollup.version}`);
|
| 1893 |
+
}
|
| 1894 |
+
else {
|
| 1895 |
+
try {
|
| 1896 |
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
| 1897 |
+
require('source-map-support').install();
|
| 1898 |
+
}
|
| 1899 |
+
catch {
|
| 1900 |
+
// do nothing
|
| 1901 |
+
}
|
| 1902 |
+
const promise = runRollup(command);
|
| 1903 |
+
if (command.forceExit) {
|
| 1904 |
+
promise.then(() => process$1.exit());
|
| 1905 |
+
}
|
| 1906 |
+
}
|
| 1907 |
+
|
| 1908 |
+
exports.getConfigPath = getConfigPath;
|
| 1909 |
+
exports.loadConfigFromCommand = loadConfigFromCommand;
|
| 1910 |
+
exports.prettyMilliseconds = prettyMilliseconds;
|
| 1911 |
+
exports.printTimings = printTimings;
|
| 1912 |
+
//# sourceMappingURL=rollup.map
|
node_modules/.bin/sucrase
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
|
| 3 |
+
require("../dist/cli").default();
|
node_modules/.bin/sucrase-node
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
const Module = require("module");
|
| 3 |
+
const {resolve} = require("path");
|
| 4 |
+
|
| 5 |
+
/*
|
| 6 |
+
* Simple wrapper around node that first registers Sucrase with default settings.
|
| 7 |
+
*
|
| 8 |
+
* This is meant for simple use cases, and doesn't support custom Node/V8 args,
|
| 9 |
+
* executing a code snippet, a REPL, or other things that you might find in
|
| 10 |
+
* node, babel-node, or ts-node. For more advanced use cases, you can use
|
| 11 |
+
* `node -r sucrase/register` or register a require hook programmatically from
|
| 12 |
+
* your own code.
|
| 13 |
+
*/
|
| 14 |
+
require("../register");
|
| 15 |
+
|
| 16 |
+
process.argv.splice(1, 1);
|
| 17 |
+
process.argv[1] = resolve(process.argv[1]);
|
| 18 |
+
Module.runMain();
|
node_modules/.bin/tailwind
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
"use strict";
|
| 3 |
+
module.exports = require("./cli/index");
|
node_modules/.bin/tailwindcss
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
"use strict";
|
| 3 |
+
module.exports = require("./cli/index");
|
node_modules/.bin/tsc
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
require('../lib/tsc.js')
|
node_modules/.bin/tsserver
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
require('../lib/tsserver.js')
|
node_modules/.bin/update-browserslist-db
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
|
| 3 |
+
let { readFileSync } = require('fs')
|
| 4 |
+
let { join } = require('path')
|
| 5 |
+
|
| 6 |
+
require('./check-npm-version')
|
| 7 |
+
let updateDb = require('./')
|
| 8 |
+
|
| 9 |
+
const ROOT = __dirname
|
| 10 |
+
|
| 11 |
+
function getPackage() {
|
| 12 |
+
return JSON.parse(readFileSync(join(ROOT, 'package.json')))
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
let args = process.argv.slice(2)
|
| 16 |
+
|
| 17 |
+
let USAGE = 'Usage:\n npx update-browserslist-db\n'
|
| 18 |
+
|
| 19 |
+
function isArg(arg) {
|
| 20 |
+
return args.some(i => i === arg)
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
function error(msg) {
|
| 24 |
+
process.stderr.write('update-browserslist-db: ' + msg + '\n')
|
| 25 |
+
process.exit(1)
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
if (isArg('--help') || isArg('-h')) {
|
| 29 |
+
process.stdout.write(getPackage().description + '.\n\n' + USAGE + '\n')
|
| 30 |
+
} else if (isArg('--version') || isArg('-v')) {
|
| 31 |
+
process.stdout.write('browserslist-lint ' + getPackage().version + '\n')
|
| 32 |
+
} else {
|
| 33 |
+
try {
|
| 34 |
+
updateDb()
|
| 35 |
+
} catch (e) {
|
| 36 |
+
if (e.name === 'BrowserslistUpdateError') {
|
| 37 |
+
error(e.message)
|
| 38 |
+
} else {
|
| 39 |
+
throw e
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
}
|
node_modules/.bin/vite
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
import { performance } from 'node:perf_hooks'
|
| 3 |
+
|
| 4 |
+
if (!import.meta.url.includes('node_modules')) {
|
| 5 |
+
try {
|
| 6 |
+
// only available as dev dependency
|
| 7 |
+
await import('source-map-support').then((r) => r.default.install())
|
| 8 |
+
} catch (e) {}
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
global.__vite_start_time = performance.now()
|
| 12 |
+
|
| 13 |
+
// check debug mode first before requiring the CLI.
|
| 14 |
+
const debugIndex = process.argv.findIndex((arg) => /^(?:-d|--debug)$/.test(arg))
|
| 15 |
+
const filterIndex = process.argv.findIndex((arg) =>
|
| 16 |
+
/^(?:-f|--filter)$/.test(arg),
|
| 17 |
+
)
|
| 18 |
+
const profileIndex = process.argv.indexOf('--profile')
|
| 19 |
+
|
| 20 |
+
if (debugIndex > 0) {
|
| 21 |
+
let value = process.argv[debugIndex + 1]
|
| 22 |
+
if (!value || value.startsWith('-')) {
|
| 23 |
+
value = 'vite:*'
|
| 24 |
+
} else {
|
| 25 |
+
// support debugging multiple flags with comma-separated list
|
| 26 |
+
value = value
|
| 27 |
+
.split(',')
|
| 28 |
+
.map((v) => `vite:${v}`)
|
| 29 |
+
.join(',')
|
| 30 |
+
}
|
| 31 |
+
process.env.DEBUG = `${
|
| 32 |
+
process.env.DEBUG ? process.env.DEBUG + ',' : ''
|
| 33 |
+
}${value}`
|
| 34 |
+
|
| 35 |
+
if (filterIndex > 0) {
|
| 36 |
+
const filter = process.argv[filterIndex + 1]
|
| 37 |
+
if (filter && !filter.startsWith('-')) {
|
| 38 |
+
process.env.VITE_DEBUG_FILTER = filter
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
function start() {
|
| 44 |
+
return import('../dist/node/cli.js')
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
if (profileIndex > 0) {
|
| 48 |
+
process.argv.splice(profileIndex, 1)
|
| 49 |
+
const next = process.argv[profileIndex]
|
| 50 |
+
if (next && !next.startsWith('-')) {
|
| 51 |
+
process.argv.splice(profileIndex, 1)
|
| 52 |
+
}
|
| 53 |
+
const inspector = await import('node:inspector').then((r) => r.default)
|
| 54 |
+
const session = (global.__vite_profile_session = new inspector.Session())
|
| 55 |
+
session.connect()
|
| 56 |
+
session.post('Profiler.enable', () => {
|
| 57 |
+
session.post('Profiler.start', start)
|
| 58 |
+
})
|
| 59 |
+
} else {
|
| 60 |
+
start()
|
| 61 |
+
}
|
node_modules/.package-lock.json
ADDED
|
@@ -0,0 +1,1685 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "car-view-classifier-frontend",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"lockfileVersion": 3,
|
| 5 |
+
"requires": true,
|
| 6 |
+
"packages": {
|
| 7 |
+
"node_modules/@alloc/quick-lru": {
|
| 8 |
+
"version": "5.2.0",
|
| 9 |
+
"resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
|
| 10 |
+
"integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
|
| 11 |
+
"dev": true,
|
| 12 |
+
"license": "MIT",
|
| 13 |
+
"engines": {
|
| 14 |
+
"node": ">=10"
|
| 15 |
+
},
|
| 16 |
+
"funding": {
|
| 17 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
"node_modules/@esbuild/darwin-arm64": {
|
| 21 |
+
"version": "0.21.5",
|
| 22 |
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
|
| 23 |
+
"integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
|
| 24 |
+
"cpu": [
|
| 25 |
+
"arm64"
|
| 26 |
+
],
|
| 27 |
+
"dev": true,
|
| 28 |
+
"license": "MIT",
|
| 29 |
+
"optional": true,
|
| 30 |
+
"os": [
|
| 31 |
+
"darwin"
|
| 32 |
+
],
|
| 33 |
+
"engines": {
|
| 34 |
+
"node": ">=12"
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"node_modules/@jridgewell/gen-mapping": {
|
| 38 |
+
"version": "0.3.13",
|
| 39 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
|
| 40 |
+
"integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
|
| 41 |
+
"dev": true,
|
| 42 |
+
"license": "MIT",
|
| 43 |
+
"dependencies": {
|
| 44 |
+
"@jridgewell/sourcemap-codec": "^1.5.0",
|
| 45 |
+
"@jridgewell/trace-mapping": "^0.3.24"
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
"node_modules/@jridgewell/resolve-uri": {
|
| 49 |
+
"version": "3.1.2",
|
| 50 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
|
| 51 |
+
"integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
|
| 52 |
+
"dev": true,
|
| 53 |
+
"license": "MIT",
|
| 54 |
+
"engines": {
|
| 55 |
+
"node": ">=6.0.0"
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
"node_modules/@jridgewell/sourcemap-codec": {
|
| 59 |
+
"version": "1.5.5",
|
| 60 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
|
| 61 |
+
"integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
|
| 62 |
+
"dev": true,
|
| 63 |
+
"license": "MIT"
|
| 64 |
+
},
|
| 65 |
+
"node_modules/@jridgewell/trace-mapping": {
|
| 66 |
+
"version": "0.3.31",
|
| 67 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
|
| 68 |
+
"integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
|
| 69 |
+
"dev": true,
|
| 70 |
+
"license": "MIT",
|
| 71 |
+
"dependencies": {
|
| 72 |
+
"@jridgewell/resolve-uri": "^3.1.0",
|
| 73 |
+
"@jridgewell/sourcemap-codec": "^1.4.14"
|
| 74 |
+
}
|
| 75 |
+
},
|
| 76 |
+
"node_modules/@nodelib/fs.scandir": {
|
| 77 |
+
"version": "2.1.5",
|
| 78 |
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
| 79 |
+
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
|
| 80 |
+
"dev": true,
|
| 81 |
+
"license": "MIT",
|
| 82 |
+
"dependencies": {
|
| 83 |
+
"@nodelib/fs.stat": "2.0.5",
|
| 84 |
+
"run-parallel": "^1.1.9"
|
| 85 |
+
},
|
| 86 |
+
"engines": {
|
| 87 |
+
"node": ">= 8"
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"node_modules/@nodelib/fs.stat": {
|
| 91 |
+
"version": "2.0.5",
|
| 92 |
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
|
| 93 |
+
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
|
| 94 |
+
"dev": true,
|
| 95 |
+
"license": "MIT",
|
| 96 |
+
"engines": {
|
| 97 |
+
"node": ">= 8"
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
"node_modules/@nodelib/fs.walk": {
|
| 101 |
+
"version": "1.2.8",
|
| 102 |
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
|
| 103 |
+
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
|
| 104 |
+
"dev": true,
|
| 105 |
+
"license": "MIT",
|
| 106 |
+
"dependencies": {
|
| 107 |
+
"@nodelib/fs.scandir": "2.1.5",
|
| 108 |
+
"fastq": "^1.6.0"
|
| 109 |
+
},
|
| 110 |
+
"engines": {
|
| 111 |
+
"node": ">= 8"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"node_modules/@rolldown/pluginutils": {
|
| 115 |
+
"version": "1.0.0-beta.27",
|
| 116 |
+
"resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz",
|
| 117 |
+
"integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==",
|
| 118 |
+
"dev": true,
|
| 119 |
+
"license": "MIT"
|
| 120 |
+
},
|
| 121 |
+
"node_modules/@rollup/rollup-darwin-arm64": {
|
| 122 |
+
"version": "4.60.4",
|
| 123 |
+
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.4.tgz",
|
| 124 |
+
"integrity": "sha512-tua0TaJxMOB1R0V0RS1jFZ/RpURFDJIOR2A6jWwQeawuFyS4gBW+rntLRaQd0EQ4bd6Vp44Z2rXW+YYDBsj6IA==",
|
| 125 |
+
"cpu": [
|
| 126 |
+
"arm64"
|
| 127 |
+
],
|
| 128 |
+
"dev": true,
|
| 129 |
+
"license": "MIT",
|
| 130 |
+
"optional": true,
|
| 131 |
+
"os": [
|
| 132 |
+
"darwin"
|
| 133 |
+
]
|
| 134 |
+
},
|
| 135 |
+
"node_modules/@swc/core": {
|
| 136 |
+
"version": "1.15.40",
|
| 137 |
+
"resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.40.tgz",
|
| 138 |
+
"integrity": "sha512-2kwzJikRvgtNAG7MwVZY2vEzZjTxKIq5jXOihuSV/8U+Hej8Va22t65aKnJZs3P+NwojZvR8Mf8kyM7O+V8sQg==",
|
| 139 |
+
"dev": true,
|
| 140 |
+
"hasInstallScript": true,
|
| 141 |
+
"license": "Apache-2.0",
|
| 142 |
+
"dependencies": {
|
| 143 |
+
"@swc/counter": "^0.1.3",
|
| 144 |
+
"@swc/types": "^0.1.26"
|
| 145 |
+
},
|
| 146 |
+
"engines": {
|
| 147 |
+
"node": ">=10"
|
| 148 |
+
},
|
| 149 |
+
"funding": {
|
| 150 |
+
"type": "opencollective",
|
| 151 |
+
"url": "https://opencollective.com/swc"
|
| 152 |
+
},
|
| 153 |
+
"optionalDependencies": {
|
| 154 |
+
"@swc/core-darwin-arm64": "1.15.40",
|
| 155 |
+
"@swc/core-darwin-x64": "1.15.40",
|
| 156 |
+
"@swc/core-linux-arm-gnueabihf": "1.15.40",
|
| 157 |
+
"@swc/core-linux-arm64-gnu": "1.15.40",
|
| 158 |
+
"@swc/core-linux-arm64-musl": "1.15.40",
|
| 159 |
+
"@swc/core-linux-ppc64-gnu": "1.15.40",
|
| 160 |
+
"@swc/core-linux-s390x-gnu": "1.15.40",
|
| 161 |
+
"@swc/core-linux-x64-gnu": "1.15.40",
|
| 162 |
+
"@swc/core-linux-x64-musl": "1.15.40",
|
| 163 |
+
"@swc/core-win32-arm64-msvc": "1.15.40",
|
| 164 |
+
"@swc/core-win32-ia32-msvc": "1.15.40",
|
| 165 |
+
"@swc/core-win32-x64-msvc": "1.15.40"
|
| 166 |
+
},
|
| 167 |
+
"peerDependencies": {
|
| 168 |
+
"@swc/helpers": ">=0.5.17"
|
| 169 |
+
},
|
| 170 |
+
"peerDependenciesMeta": {
|
| 171 |
+
"@swc/helpers": {
|
| 172 |
+
"optional": true
|
| 173 |
+
}
|
| 174 |
+
}
|
| 175 |
+
},
|
| 176 |
+
"node_modules/@swc/core-darwin-arm64": {
|
| 177 |
+
"version": "1.15.40",
|
| 178 |
+
"resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.15.40.tgz",
|
| 179 |
+
"integrity": "sha512-PaYyclfmQ++77D8ityYvmmVzHv9aG8ROwt2GfG6/ccloy4Hgf80qtOnzb9VYvPsUT7Ty1uhuDRhv3XYpf62qhQ==",
|
| 180 |
+
"cpu": [
|
| 181 |
+
"arm64"
|
| 182 |
+
],
|
| 183 |
+
"dev": true,
|
| 184 |
+
"license": "Apache-2.0 AND MIT",
|
| 185 |
+
"optional": true,
|
| 186 |
+
"os": [
|
| 187 |
+
"darwin"
|
| 188 |
+
],
|
| 189 |
+
"engines": {
|
| 190 |
+
"node": ">=10"
|
| 191 |
+
}
|
| 192 |
+
},
|
| 193 |
+
"node_modules/@swc/counter": {
|
| 194 |
+
"version": "0.1.3",
|
| 195 |
+
"resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
|
| 196 |
+
"integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==",
|
| 197 |
+
"dev": true,
|
| 198 |
+
"license": "Apache-2.0"
|
| 199 |
+
},
|
| 200 |
+
"node_modules/@swc/types": {
|
| 201 |
+
"version": "0.1.26",
|
| 202 |
+
"resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.26.tgz",
|
| 203 |
+
"integrity": "sha512-lyMwd7WGgG79RS7EERZV3T8wMdmPq3xwyg+1nmAM64kIhx5yl+juO2PYIHb7vTiPgPCj8LYjsNV2T5wiQHUEaw==",
|
| 204 |
+
"dev": true,
|
| 205 |
+
"license": "Apache-2.0",
|
| 206 |
+
"dependencies": {
|
| 207 |
+
"@swc/counter": "^0.1.3"
|
| 208 |
+
}
|
| 209 |
+
},
|
| 210 |
+
"node_modules/@types/estree": {
|
| 211 |
+
"version": "1.0.8",
|
| 212 |
+
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
|
| 213 |
+
"integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
|
| 214 |
+
"dev": true,
|
| 215 |
+
"license": "MIT"
|
| 216 |
+
},
|
| 217 |
+
"node_modules/@types/prop-types": {
|
| 218 |
+
"version": "15.7.15",
|
| 219 |
+
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
|
| 220 |
+
"integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",
|
| 221 |
+
"dev": true,
|
| 222 |
+
"license": "MIT"
|
| 223 |
+
},
|
| 224 |
+
"node_modules/@types/react": {
|
| 225 |
+
"version": "18.3.29",
|
| 226 |
+
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.29.tgz",
|
| 227 |
+
"integrity": "sha512-ch0qJdr2JY0r04NXSprbK6TXOgnaJ1Tz23fm5W+z0/CBah6BSBc3n96h7K9GOtwh0HrilNWHIBzE1Ko4Dcw/Wg==",
|
| 228 |
+
"dev": true,
|
| 229 |
+
"license": "MIT",
|
| 230 |
+
"peer": true,
|
| 231 |
+
"dependencies": {
|
| 232 |
+
"@types/prop-types": "*",
|
| 233 |
+
"csstype": "^3.2.2"
|
| 234 |
+
}
|
| 235 |
+
},
|
| 236 |
+
"node_modules/@types/react-dom": {
|
| 237 |
+
"version": "18.3.7",
|
| 238 |
+
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz",
|
| 239 |
+
"integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==",
|
| 240 |
+
"dev": true,
|
| 241 |
+
"license": "MIT",
|
| 242 |
+
"peerDependencies": {
|
| 243 |
+
"@types/react": "^18.0.0"
|
| 244 |
+
}
|
| 245 |
+
},
|
| 246 |
+
"node_modules/@vitejs/plugin-react-swc": {
|
| 247 |
+
"version": "3.11.0",
|
| 248 |
+
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.11.0.tgz",
|
| 249 |
+
"integrity": "sha512-YTJCGFdNMHCMfjODYtxRNVAYmTWQ1Lb8PulP/2/f/oEEtglw8oKxKIZmmRkyXrVrHfsKOaVkAc3NT9/dMutO5w==",
|
| 250 |
+
"dev": true,
|
| 251 |
+
"license": "MIT",
|
| 252 |
+
"dependencies": {
|
| 253 |
+
"@rolldown/pluginutils": "1.0.0-beta.27",
|
| 254 |
+
"@swc/core": "^1.12.11"
|
| 255 |
+
},
|
| 256 |
+
"peerDependencies": {
|
| 257 |
+
"vite": "^4 || ^5 || ^6 || ^7"
|
| 258 |
+
}
|
| 259 |
+
},
|
| 260 |
+
"node_modules/any-promise": {
|
| 261 |
+
"version": "1.3.0",
|
| 262 |
+
"resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
|
| 263 |
+
"integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
|
| 264 |
+
"dev": true,
|
| 265 |
+
"license": "MIT"
|
| 266 |
+
},
|
| 267 |
+
"node_modules/anymatch": {
|
| 268 |
+
"version": "3.1.3",
|
| 269 |
+
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
|
| 270 |
+
"integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
|
| 271 |
+
"dev": true,
|
| 272 |
+
"license": "ISC",
|
| 273 |
+
"dependencies": {
|
| 274 |
+
"normalize-path": "^3.0.0",
|
| 275 |
+
"picomatch": "^2.0.4"
|
| 276 |
+
},
|
| 277 |
+
"engines": {
|
| 278 |
+
"node": ">= 8"
|
| 279 |
+
}
|
| 280 |
+
},
|
| 281 |
+
"node_modules/arg": {
|
| 282 |
+
"version": "5.0.2",
|
| 283 |
+
"resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
|
| 284 |
+
"integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
|
| 285 |
+
"dev": true,
|
| 286 |
+
"license": "MIT"
|
| 287 |
+
},
|
| 288 |
+
"node_modules/autoprefixer": {
|
| 289 |
+
"version": "10.5.0",
|
| 290 |
+
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.5.0.tgz",
|
| 291 |
+
"integrity": "sha512-FMhOoZV4+qR6aTUALKX2rEqGG+oyATvwBt9IIzVR5rMa2HRWPkxf+P+PAJLD1I/H5/II+HuZcBJYEFBpq39ong==",
|
| 292 |
+
"dev": true,
|
| 293 |
+
"funding": [
|
| 294 |
+
{
|
| 295 |
+
"type": "opencollective",
|
| 296 |
+
"url": "https://opencollective.com/postcss/"
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "tidelift",
|
| 300 |
+
"url": "https://tidelift.com/funding/github/npm/autoprefixer"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "github",
|
| 304 |
+
"url": "https://github.com/sponsors/ai"
|
| 305 |
+
}
|
| 306 |
+
],
|
| 307 |
+
"license": "MIT",
|
| 308 |
+
"dependencies": {
|
| 309 |
+
"browserslist": "^4.28.2",
|
| 310 |
+
"caniuse-lite": "^1.0.30001787",
|
| 311 |
+
"fraction.js": "^5.3.4",
|
| 312 |
+
"picocolors": "^1.1.1",
|
| 313 |
+
"postcss-value-parser": "^4.2.0"
|
| 314 |
+
},
|
| 315 |
+
"bin": {
|
| 316 |
+
"autoprefixer": "bin/autoprefixer"
|
| 317 |
+
},
|
| 318 |
+
"engines": {
|
| 319 |
+
"node": "^10 || ^12 || >=14"
|
| 320 |
+
},
|
| 321 |
+
"peerDependencies": {
|
| 322 |
+
"postcss": "^8.1.0"
|
| 323 |
+
}
|
| 324 |
+
},
|
| 325 |
+
"node_modules/baseline-browser-mapping": {
|
| 326 |
+
"version": "2.10.32",
|
| 327 |
+
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.32.tgz",
|
| 328 |
+
"integrity": "sha512-wbPvpyjJPC0zdfdKXxqEL3Ea+bOMD/87X4lftiJkkaBiuG6ALQy1SLmEd7BSmVCuwCQsBrCamgBoLyfFDD1EPg==",
|
| 329 |
+
"dev": true,
|
| 330 |
+
"license": "Apache-2.0",
|
| 331 |
+
"bin": {
|
| 332 |
+
"baseline-browser-mapping": "dist/cli.cjs"
|
| 333 |
+
},
|
| 334 |
+
"engines": {
|
| 335 |
+
"node": ">=6.0.0"
|
| 336 |
+
}
|
| 337 |
+
},
|
| 338 |
+
"node_modules/binary-extensions": {
|
| 339 |
+
"version": "2.3.0",
|
| 340 |
+
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
|
| 341 |
+
"integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
|
| 342 |
+
"dev": true,
|
| 343 |
+
"license": "MIT",
|
| 344 |
+
"engines": {
|
| 345 |
+
"node": ">=8"
|
| 346 |
+
},
|
| 347 |
+
"funding": {
|
| 348 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 349 |
+
}
|
| 350 |
+
},
|
| 351 |
+
"node_modules/braces": {
|
| 352 |
+
"version": "3.0.3",
|
| 353 |
+
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
|
| 354 |
+
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
|
| 355 |
+
"dev": true,
|
| 356 |
+
"license": "MIT",
|
| 357 |
+
"dependencies": {
|
| 358 |
+
"fill-range": "^7.1.1"
|
| 359 |
+
},
|
| 360 |
+
"engines": {
|
| 361 |
+
"node": ">=8"
|
| 362 |
+
}
|
| 363 |
+
},
|
| 364 |
+
"node_modules/browserslist": {
|
| 365 |
+
"version": "4.28.2",
|
| 366 |
+
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz",
|
| 367 |
+
"integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==",
|
| 368 |
+
"dev": true,
|
| 369 |
+
"funding": [
|
| 370 |
+
{
|
| 371 |
+
"type": "opencollective",
|
| 372 |
+
"url": "https://opencollective.com/browserslist"
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "tidelift",
|
| 376 |
+
"url": "https://tidelift.com/funding/github/npm/browserslist"
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "github",
|
| 380 |
+
"url": "https://github.com/sponsors/ai"
|
| 381 |
+
}
|
| 382 |
+
],
|
| 383 |
+
"license": "MIT",
|
| 384 |
+
"peer": true,
|
| 385 |
+
"dependencies": {
|
| 386 |
+
"baseline-browser-mapping": "^2.10.12",
|
| 387 |
+
"caniuse-lite": "^1.0.30001782",
|
| 388 |
+
"electron-to-chromium": "^1.5.328",
|
| 389 |
+
"node-releases": "^2.0.36",
|
| 390 |
+
"update-browserslist-db": "^1.2.3"
|
| 391 |
+
},
|
| 392 |
+
"bin": {
|
| 393 |
+
"browserslist": "cli.js"
|
| 394 |
+
},
|
| 395 |
+
"engines": {
|
| 396 |
+
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
|
| 397 |
+
}
|
| 398 |
+
},
|
| 399 |
+
"node_modules/camelcase-css": {
|
| 400 |
+
"version": "2.0.1",
|
| 401 |
+
"resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
|
| 402 |
+
"integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
|
| 403 |
+
"dev": true,
|
| 404 |
+
"license": "MIT",
|
| 405 |
+
"engines": {
|
| 406 |
+
"node": ">= 6"
|
| 407 |
+
}
|
| 408 |
+
},
|
| 409 |
+
"node_modules/caniuse-lite": {
|
| 410 |
+
"version": "1.0.30001793",
|
| 411 |
+
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001793.tgz",
|
| 412 |
+
"integrity": "sha512-iwSsYWaCOoh26cV8NwNRViHlrfUvYsHDfRVcbtmw0Kg6PJIZZXwMkj1442FYLBGkeUf1juAsU3DTfxW579mrPA==",
|
| 413 |
+
"dev": true,
|
| 414 |
+
"funding": [
|
| 415 |
+
{
|
| 416 |
+
"type": "opencollective",
|
| 417 |
+
"url": "https://opencollective.com/browserslist"
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "tidelift",
|
| 421 |
+
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "github",
|
| 425 |
+
"url": "https://github.com/sponsors/ai"
|
| 426 |
+
}
|
| 427 |
+
],
|
| 428 |
+
"license": "CC-BY-4.0"
|
| 429 |
+
},
|
| 430 |
+
"node_modules/chokidar": {
|
| 431 |
+
"version": "3.6.0",
|
| 432 |
+
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
|
| 433 |
+
"integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
|
| 434 |
+
"dev": true,
|
| 435 |
+
"license": "MIT",
|
| 436 |
+
"dependencies": {
|
| 437 |
+
"anymatch": "~3.1.2",
|
| 438 |
+
"braces": "~3.0.2",
|
| 439 |
+
"glob-parent": "~5.1.2",
|
| 440 |
+
"is-binary-path": "~2.1.0",
|
| 441 |
+
"is-glob": "~4.0.1",
|
| 442 |
+
"normalize-path": "~3.0.0",
|
| 443 |
+
"readdirp": "~3.6.0"
|
| 444 |
+
},
|
| 445 |
+
"engines": {
|
| 446 |
+
"node": ">= 8.10.0"
|
| 447 |
+
},
|
| 448 |
+
"funding": {
|
| 449 |
+
"url": "https://paulmillr.com/funding/"
|
| 450 |
+
},
|
| 451 |
+
"optionalDependencies": {
|
| 452 |
+
"fsevents": "~2.3.2"
|
| 453 |
+
}
|
| 454 |
+
},
|
| 455 |
+
"node_modules/chokidar/node_modules/glob-parent": {
|
| 456 |
+
"version": "5.1.2",
|
| 457 |
+
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
|
| 458 |
+
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
| 459 |
+
"dev": true,
|
| 460 |
+
"license": "ISC",
|
| 461 |
+
"dependencies": {
|
| 462 |
+
"is-glob": "^4.0.1"
|
| 463 |
+
},
|
| 464 |
+
"engines": {
|
| 465 |
+
"node": ">= 6"
|
| 466 |
+
}
|
| 467 |
+
},
|
| 468 |
+
"node_modules/commander": {
|
| 469 |
+
"version": "4.1.1",
|
| 470 |
+
"resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
|
| 471 |
+
"integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
|
| 472 |
+
"dev": true,
|
| 473 |
+
"license": "MIT",
|
| 474 |
+
"engines": {
|
| 475 |
+
"node": ">= 6"
|
| 476 |
+
}
|
| 477 |
+
},
|
| 478 |
+
"node_modules/core-util-is": {
|
| 479 |
+
"version": "1.0.3",
|
| 480 |
+
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
|
| 481 |
+
"integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==",
|
| 482 |
+
"license": "MIT"
|
| 483 |
+
},
|
| 484 |
+
"node_modules/cssesc": {
|
| 485 |
+
"version": "3.0.0",
|
| 486 |
+
"resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
|
| 487 |
+
"integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
|
| 488 |
+
"dev": true,
|
| 489 |
+
"license": "MIT",
|
| 490 |
+
"bin": {
|
| 491 |
+
"cssesc": "bin/cssesc"
|
| 492 |
+
},
|
| 493 |
+
"engines": {
|
| 494 |
+
"node": ">=4"
|
| 495 |
+
}
|
| 496 |
+
},
|
| 497 |
+
"node_modules/csstype": {
|
| 498 |
+
"version": "3.2.3",
|
| 499 |
+
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
|
| 500 |
+
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
|
| 501 |
+
"dev": true,
|
| 502 |
+
"license": "MIT"
|
| 503 |
+
},
|
| 504 |
+
"node_modules/didyoumean": {
|
| 505 |
+
"version": "1.2.2",
|
| 506 |
+
"resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
|
| 507 |
+
"integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
|
| 508 |
+
"dev": true,
|
| 509 |
+
"license": "Apache-2.0"
|
| 510 |
+
},
|
| 511 |
+
"node_modules/dlv": {
|
| 512 |
+
"version": "1.1.3",
|
| 513 |
+
"resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
|
| 514 |
+
"integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
|
| 515 |
+
"dev": true,
|
| 516 |
+
"license": "MIT"
|
| 517 |
+
},
|
| 518 |
+
"node_modules/electron-to-chromium": {
|
| 519 |
+
"version": "1.5.364",
|
| 520 |
+
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.364.tgz",
|
| 521 |
+
"integrity": "sha512-G/dYE3+AYhyHwzTwg8UbnXf7zqMERYh7l2jJ3QujhFsH8agSYwtnGAR2aZ7f0AakIKJXd5En/Hre4igIUrdlYw==",
|
| 522 |
+
"dev": true,
|
| 523 |
+
"license": "ISC"
|
| 524 |
+
},
|
| 525 |
+
"node_modules/es-errors": {
|
| 526 |
+
"version": "1.3.0",
|
| 527 |
+
"resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
|
| 528 |
+
"integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
|
| 529 |
+
"dev": true,
|
| 530 |
+
"license": "MIT",
|
| 531 |
+
"engines": {
|
| 532 |
+
"node": ">= 0.4"
|
| 533 |
+
}
|
| 534 |
+
},
|
| 535 |
+
"node_modules/esbuild": {
|
| 536 |
+
"version": "0.21.5",
|
| 537 |
+
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
|
| 538 |
+
"integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
|
| 539 |
+
"dev": true,
|
| 540 |
+
"hasInstallScript": true,
|
| 541 |
+
"license": "MIT",
|
| 542 |
+
"bin": {
|
| 543 |
+
"esbuild": "bin/esbuild"
|
| 544 |
+
},
|
| 545 |
+
"engines": {
|
| 546 |
+
"node": ">=12"
|
| 547 |
+
},
|
| 548 |
+
"optionalDependencies": {
|
| 549 |
+
"@esbuild/aix-ppc64": "0.21.5",
|
| 550 |
+
"@esbuild/android-arm": "0.21.5",
|
| 551 |
+
"@esbuild/android-arm64": "0.21.5",
|
| 552 |
+
"@esbuild/android-x64": "0.21.5",
|
| 553 |
+
"@esbuild/darwin-arm64": "0.21.5",
|
| 554 |
+
"@esbuild/darwin-x64": "0.21.5",
|
| 555 |
+
"@esbuild/freebsd-arm64": "0.21.5",
|
| 556 |
+
"@esbuild/freebsd-x64": "0.21.5",
|
| 557 |
+
"@esbuild/linux-arm": "0.21.5",
|
| 558 |
+
"@esbuild/linux-arm64": "0.21.5",
|
| 559 |
+
"@esbuild/linux-ia32": "0.21.5",
|
| 560 |
+
"@esbuild/linux-loong64": "0.21.5",
|
| 561 |
+
"@esbuild/linux-mips64el": "0.21.5",
|
| 562 |
+
"@esbuild/linux-ppc64": "0.21.5",
|
| 563 |
+
"@esbuild/linux-riscv64": "0.21.5",
|
| 564 |
+
"@esbuild/linux-s390x": "0.21.5",
|
| 565 |
+
"@esbuild/linux-x64": "0.21.5",
|
| 566 |
+
"@esbuild/netbsd-x64": "0.21.5",
|
| 567 |
+
"@esbuild/openbsd-x64": "0.21.5",
|
| 568 |
+
"@esbuild/sunos-x64": "0.21.5",
|
| 569 |
+
"@esbuild/win32-arm64": "0.21.5",
|
| 570 |
+
"@esbuild/win32-ia32": "0.21.5",
|
| 571 |
+
"@esbuild/win32-x64": "0.21.5"
|
| 572 |
+
}
|
| 573 |
+
},
|
| 574 |
+
"node_modules/escalade": {
|
| 575 |
+
"version": "3.2.0",
|
| 576 |
+
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
|
| 577 |
+
"integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
|
| 578 |
+
"dev": true,
|
| 579 |
+
"license": "MIT",
|
| 580 |
+
"engines": {
|
| 581 |
+
"node": ">=6"
|
| 582 |
+
}
|
| 583 |
+
},
|
| 584 |
+
"node_modules/fast-glob": {
|
| 585 |
+
"version": "3.3.3",
|
| 586 |
+
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
|
| 587 |
+
"integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
|
| 588 |
+
"dev": true,
|
| 589 |
+
"license": "MIT",
|
| 590 |
+
"dependencies": {
|
| 591 |
+
"@nodelib/fs.stat": "^2.0.2",
|
| 592 |
+
"@nodelib/fs.walk": "^1.2.3",
|
| 593 |
+
"glob-parent": "^5.1.2",
|
| 594 |
+
"merge2": "^1.3.0",
|
| 595 |
+
"micromatch": "^4.0.8"
|
| 596 |
+
},
|
| 597 |
+
"engines": {
|
| 598 |
+
"node": ">=8.6.0"
|
| 599 |
+
}
|
| 600 |
+
},
|
| 601 |
+
"node_modules/fast-glob/node_modules/glob-parent": {
|
| 602 |
+
"version": "5.1.2",
|
| 603 |
+
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
|
| 604 |
+
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
| 605 |
+
"dev": true,
|
| 606 |
+
"license": "ISC",
|
| 607 |
+
"dependencies": {
|
| 608 |
+
"is-glob": "^4.0.1"
|
| 609 |
+
},
|
| 610 |
+
"engines": {
|
| 611 |
+
"node": ">= 6"
|
| 612 |
+
}
|
| 613 |
+
},
|
| 614 |
+
"node_modules/fastq": {
|
| 615 |
+
"version": "1.20.1",
|
| 616 |
+
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz",
|
| 617 |
+
"integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==",
|
| 618 |
+
"dev": true,
|
| 619 |
+
"license": "ISC",
|
| 620 |
+
"dependencies": {
|
| 621 |
+
"reusify": "^1.0.4"
|
| 622 |
+
}
|
| 623 |
+
},
|
| 624 |
+
"node_modules/fill-range": {
|
| 625 |
+
"version": "7.1.1",
|
| 626 |
+
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
|
| 627 |
+
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
|
| 628 |
+
"dev": true,
|
| 629 |
+
"license": "MIT",
|
| 630 |
+
"dependencies": {
|
| 631 |
+
"to-regex-range": "^5.0.1"
|
| 632 |
+
},
|
| 633 |
+
"engines": {
|
| 634 |
+
"node": ">=8"
|
| 635 |
+
}
|
| 636 |
+
},
|
| 637 |
+
"node_modules/fraction.js": {
|
| 638 |
+
"version": "5.3.4",
|
| 639 |
+
"resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz",
|
| 640 |
+
"integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==",
|
| 641 |
+
"dev": true,
|
| 642 |
+
"license": "MIT",
|
| 643 |
+
"engines": {
|
| 644 |
+
"node": "*"
|
| 645 |
+
},
|
| 646 |
+
"funding": {
|
| 647 |
+
"type": "github",
|
| 648 |
+
"url": "https://github.com/sponsors/rawify"
|
| 649 |
+
}
|
| 650 |
+
},
|
| 651 |
+
"node_modules/fsevents": {
|
| 652 |
+
"version": "2.3.3",
|
| 653 |
+
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
| 654 |
+
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
| 655 |
+
"dev": true,
|
| 656 |
+
"hasInstallScript": true,
|
| 657 |
+
"license": "MIT",
|
| 658 |
+
"optional": true,
|
| 659 |
+
"os": [
|
| 660 |
+
"darwin"
|
| 661 |
+
],
|
| 662 |
+
"engines": {
|
| 663 |
+
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
| 664 |
+
}
|
| 665 |
+
},
|
| 666 |
+
"node_modules/function-bind": {
|
| 667 |
+
"version": "1.1.2",
|
| 668 |
+
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
| 669 |
+
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
| 670 |
+
"dev": true,
|
| 671 |
+
"license": "MIT",
|
| 672 |
+
"funding": {
|
| 673 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 674 |
+
}
|
| 675 |
+
},
|
| 676 |
+
"node_modules/glob-parent": {
|
| 677 |
+
"version": "6.0.2",
|
| 678 |
+
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
|
| 679 |
+
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
|
| 680 |
+
"dev": true,
|
| 681 |
+
"license": "ISC",
|
| 682 |
+
"dependencies": {
|
| 683 |
+
"is-glob": "^4.0.3"
|
| 684 |
+
},
|
| 685 |
+
"engines": {
|
| 686 |
+
"node": ">=10.13.0"
|
| 687 |
+
}
|
| 688 |
+
},
|
| 689 |
+
"node_modules/hasown": {
|
| 690 |
+
"version": "2.0.4",
|
| 691 |
+
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
|
| 692 |
+
"integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",
|
| 693 |
+
"dev": true,
|
| 694 |
+
"license": "MIT",
|
| 695 |
+
"dependencies": {
|
| 696 |
+
"function-bind": "^1.1.2"
|
| 697 |
+
},
|
| 698 |
+
"engines": {
|
| 699 |
+
"node": ">= 0.4"
|
| 700 |
+
}
|
| 701 |
+
},
|
| 702 |
+
"node_modules/immediate": {
|
| 703 |
+
"version": "3.0.6",
|
| 704 |
+
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
|
| 705 |
+
"integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==",
|
| 706 |
+
"license": "MIT"
|
| 707 |
+
},
|
| 708 |
+
"node_modules/inherits": {
|
| 709 |
+
"version": "2.0.4",
|
| 710 |
+
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
| 711 |
+
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
| 712 |
+
"license": "ISC"
|
| 713 |
+
},
|
| 714 |
+
"node_modules/is-binary-path": {
|
| 715 |
+
"version": "2.1.0",
|
| 716 |
+
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
|
| 717 |
+
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
|
| 718 |
+
"dev": true,
|
| 719 |
+
"license": "MIT",
|
| 720 |
+
"dependencies": {
|
| 721 |
+
"binary-extensions": "^2.0.0"
|
| 722 |
+
},
|
| 723 |
+
"engines": {
|
| 724 |
+
"node": ">=8"
|
| 725 |
+
}
|
| 726 |
+
},
|
| 727 |
+
"node_modules/is-core-module": {
|
| 728 |
+
"version": "2.16.2",
|
| 729 |
+
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.2.tgz",
|
| 730 |
+
"integrity": "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==",
|
| 731 |
+
"dev": true,
|
| 732 |
+
"license": "MIT",
|
| 733 |
+
"dependencies": {
|
| 734 |
+
"hasown": "^2.0.3"
|
| 735 |
+
},
|
| 736 |
+
"engines": {
|
| 737 |
+
"node": ">= 0.4"
|
| 738 |
+
},
|
| 739 |
+
"funding": {
|
| 740 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 741 |
+
}
|
| 742 |
+
},
|
| 743 |
+
"node_modules/is-extglob": {
|
| 744 |
+
"version": "2.1.1",
|
| 745 |
+
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
|
| 746 |
+
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
|
| 747 |
+
"dev": true,
|
| 748 |
+
"license": "MIT",
|
| 749 |
+
"engines": {
|
| 750 |
+
"node": ">=0.10.0"
|
| 751 |
+
}
|
| 752 |
+
},
|
| 753 |
+
"node_modules/is-glob": {
|
| 754 |
+
"version": "4.0.3",
|
| 755 |
+
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
|
| 756 |
+
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
|
| 757 |
+
"dev": true,
|
| 758 |
+
"license": "MIT",
|
| 759 |
+
"dependencies": {
|
| 760 |
+
"is-extglob": "^2.1.1"
|
| 761 |
+
},
|
| 762 |
+
"engines": {
|
| 763 |
+
"node": ">=0.10.0"
|
| 764 |
+
}
|
| 765 |
+
},
|
| 766 |
+
"node_modules/is-number": {
|
| 767 |
+
"version": "7.0.0",
|
| 768 |
+
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
|
| 769 |
+
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
|
| 770 |
+
"dev": true,
|
| 771 |
+
"license": "MIT",
|
| 772 |
+
"engines": {
|
| 773 |
+
"node": ">=0.12.0"
|
| 774 |
+
}
|
| 775 |
+
},
|
| 776 |
+
"node_modules/isarray": {
|
| 777 |
+
"version": "1.0.0",
|
| 778 |
+
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
| 779 |
+
"integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
|
| 780 |
+
"license": "MIT"
|
| 781 |
+
},
|
| 782 |
+
"node_modules/jiti": {
|
| 783 |
+
"version": "1.21.7",
|
| 784 |
+
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz",
|
| 785 |
+
"integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",
|
| 786 |
+
"dev": true,
|
| 787 |
+
"license": "MIT",
|
| 788 |
+
"peer": true,
|
| 789 |
+
"bin": {
|
| 790 |
+
"jiti": "bin/jiti.js"
|
| 791 |
+
}
|
| 792 |
+
},
|
| 793 |
+
"node_modules/js-tokens": {
|
| 794 |
+
"version": "4.0.0",
|
| 795 |
+
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
| 796 |
+
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
|
| 797 |
+
"license": "MIT"
|
| 798 |
+
},
|
| 799 |
+
"node_modules/jszip": {
|
| 800 |
+
"version": "3.10.1",
|
| 801 |
+
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz",
|
| 802 |
+
"integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==",
|
| 803 |
+
"license": "(MIT OR GPL-3.0-or-later)",
|
| 804 |
+
"dependencies": {
|
| 805 |
+
"lie": "~3.3.0",
|
| 806 |
+
"pako": "~1.0.2",
|
| 807 |
+
"readable-stream": "~2.3.6",
|
| 808 |
+
"setimmediate": "^1.0.5"
|
| 809 |
+
}
|
| 810 |
+
},
|
| 811 |
+
"node_modules/lie": {
|
| 812 |
+
"version": "3.3.0",
|
| 813 |
+
"resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz",
|
| 814 |
+
"integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==",
|
| 815 |
+
"license": "MIT",
|
| 816 |
+
"dependencies": {
|
| 817 |
+
"immediate": "~3.0.5"
|
| 818 |
+
}
|
| 819 |
+
},
|
| 820 |
+
"node_modules/lilconfig": {
|
| 821 |
+
"version": "3.1.3",
|
| 822 |
+
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
|
| 823 |
+
"integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
|
| 824 |
+
"dev": true,
|
| 825 |
+
"license": "MIT",
|
| 826 |
+
"engines": {
|
| 827 |
+
"node": ">=14"
|
| 828 |
+
},
|
| 829 |
+
"funding": {
|
| 830 |
+
"url": "https://github.com/sponsors/antonk52"
|
| 831 |
+
}
|
| 832 |
+
},
|
| 833 |
+
"node_modules/lines-and-columns": {
|
| 834 |
+
"version": "1.2.4",
|
| 835 |
+
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
|
| 836 |
+
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
|
| 837 |
+
"dev": true,
|
| 838 |
+
"license": "MIT"
|
| 839 |
+
},
|
| 840 |
+
"node_modules/loose-envify": {
|
| 841 |
+
"version": "1.4.0",
|
| 842 |
+
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
| 843 |
+
"integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
|
| 844 |
+
"license": "MIT",
|
| 845 |
+
"dependencies": {
|
| 846 |
+
"js-tokens": "^3.0.0 || ^4.0.0"
|
| 847 |
+
},
|
| 848 |
+
"bin": {
|
| 849 |
+
"loose-envify": "cli.js"
|
| 850 |
+
}
|
| 851 |
+
},
|
| 852 |
+
"node_modules/lucide-react": {
|
| 853 |
+
"version": "0.462.0",
|
| 854 |
+
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.462.0.tgz",
|
| 855 |
+
"integrity": "sha512-NTL7EbAao9IFtuSivSZgrAh4fZd09Lr+6MTkqIxuHaH2nnYiYIzXPo06cOxHg9wKLdj6LL8TByG4qpePqwgx/g==",
|
| 856 |
+
"license": "ISC",
|
| 857 |
+
"peerDependencies": {
|
| 858 |
+
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc"
|
| 859 |
+
}
|
| 860 |
+
},
|
| 861 |
+
"node_modules/merge2": {
|
| 862 |
+
"version": "1.4.1",
|
| 863 |
+
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
| 864 |
+
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
|
| 865 |
+
"dev": true,
|
| 866 |
+
"license": "MIT",
|
| 867 |
+
"engines": {
|
| 868 |
+
"node": ">= 8"
|
| 869 |
+
}
|
| 870 |
+
},
|
| 871 |
+
"node_modules/micromatch": {
|
| 872 |
+
"version": "4.0.8",
|
| 873 |
+
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
|
| 874 |
+
"integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
|
| 875 |
+
"dev": true,
|
| 876 |
+
"license": "MIT",
|
| 877 |
+
"dependencies": {
|
| 878 |
+
"braces": "^3.0.3",
|
| 879 |
+
"picomatch": "^2.3.1"
|
| 880 |
+
},
|
| 881 |
+
"engines": {
|
| 882 |
+
"node": ">=8.6"
|
| 883 |
+
}
|
| 884 |
+
},
|
| 885 |
+
"node_modules/mz": {
|
| 886 |
+
"version": "2.7.0",
|
| 887 |
+
"resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
|
| 888 |
+
"integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
|
| 889 |
+
"dev": true,
|
| 890 |
+
"license": "MIT",
|
| 891 |
+
"dependencies": {
|
| 892 |
+
"any-promise": "^1.0.0",
|
| 893 |
+
"object-assign": "^4.0.1",
|
| 894 |
+
"thenify-all": "^1.0.0"
|
| 895 |
+
}
|
| 896 |
+
},
|
| 897 |
+
"node_modules/nanoid": {
|
| 898 |
+
"version": "3.3.12",
|
| 899 |
+
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz",
|
| 900 |
+
"integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==",
|
| 901 |
+
"dev": true,
|
| 902 |
+
"funding": [
|
| 903 |
+
{
|
| 904 |
+
"type": "github",
|
| 905 |
+
"url": "https://github.com/sponsors/ai"
|
| 906 |
+
}
|
| 907 |
+
],
|
| 908 |
+
"license": "MIT",
|
| 909 |
+
"bin": {
|
| 910 |
+
"nanoid": "bin/nanoid.cjs"
|
| 911 |
+
},
|
| 912 |
+
"engines": {
|
| 913 |
+
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
| 914 |
+
}
|
| 915 |
+
},
|
| 916 |
+
"node_modules/node-releases": {
|
| 917 |
+
"version": "2.0.46",
|
| 918 |
+
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.46.tgz",
|
| 919 |
+
"integrity": "sha512-GYVXHE2KnrzAfsAjl4uP++evGFCrAU1jta4ubEjIG7YWt/64Gqv66a30yKwWczVjA6j3bM4nBwH7Pk1JmDHaxQ==",
|
| 920 |
+
"dev": true,
|
| 921 |
+
"license": "MIT",
|
| 922 |
+
"engines": {
|
| 923 |
+
"node": ">=18"
|
| 924 |
+
}
|
| 925 |
+
},
|
| 926 |
+
"node_modules/normalize-path": {
|
| 927 |
+
"version": "3.0.0",
|
| 928 |
+
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
|
| 929 |
+
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
|
| 930 |
+
"dev": true,
|
| 931 |
+
"license": "MIT",
|
| 932 |
+
"engines": {
|
| 933 |
+
"node": ">=0.10.0"
|
| 934 |
+
}
|
| 935 |
+
},
|
| 936 |
+
"node_modules/object-assign": {
|
| 937 |
+
"version": "4.1.1",
|
| 938 |
+
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
| 939 |
+
"integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
|
| 940 |
+
"dev": true,
|
| 941 |
+
"license": "MIT",
|
| 942 |
+
"engines": {
|
| 943 |
+
"node": ">=0.10.0"
|
| 944 |
+
}
|
| 945 |
+
},
|
| 946 |
+
"node_modules/object-hash": {
|
| 947 |
+
"version": "3.0.0",
|
| 948 |
+
"resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",
|
| 949 |
+
"integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",
|
| 950 |
+
"dev": true,
|
| 951 |
+
"license": "MIT",
|
| 952 |
+
"engines": {
|
| 953 |
+
"node": ">= 6"
|
| 954 |
+
}
|
| 955 |
+
},
|
| 956 |
+
"node_modules/pako": {
|
| 957 |
+
"version": "1.0.11",
|
| 958 |
+
"resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
|
| 959 |
+
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",
|
| 960 |
+
"license": "(MIT AND Zlib)"
|
| 961 |
+
},
|
| 962 |
+
"node_modules/path-parse": {
|
| 963 |
+
"version": "1.0.7",
|
| 964 |
+
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
|
| 965 |
+
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
|
| 966 |
+
"dev": true,
|
| 967 |
+
"license": "MIT"
|
| 968 |
+
},
|
| 969 |
+
"node_modules/picocolors": {
|
| 970 |
+
"version": "1.1.1",
|
| 971 |
+
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
| 972 |
+
"integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
|
| 973 |
+
"dev": true,
|
| 974 |
+
"license": "ISC"
|
| 975 |
+
},
|
| 976 |
+
"node_modules/picomatch": {
|
| 977 |
+
"version": "2.3.2",
|
| 978 |
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
| 979 |
+
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
| 980 |
+
"dev": true,
|
| 981 |
+
"license": "MIT",
|
| 982 |
+
"engines": {
|
| 983 |
+
"node": ">=8.6"
|
| 984 |
+
},
|
| 985 |
+
"funding": {
|
| 986 |
+
"url": "https://github.com/sponsors/jonschlinkert"
|
| 987 |
+
}
|
| 988 |
+
},
|
| 989 |
+
"node_modules/pify": {
|
| 990 |
+
"version": "2.3.0",
|
| 991 |
+
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
|
| 992 |
+
"integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
|
| 993 |
+
"dev": true,
|
| 994 |
+
"license": "MIT",
|
| 995 |
+
"engines": {
|
| 996 |
+
"node": ">=0.10.0"
|
| 997 |
+
}
|
| 998 |
+
},
|
| 999 |
+
"node_modules/pirates": {
|
| 1000 |
+
"version": "4.0.7",
|
| 1001 |
+
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
|
| 1002 |
+
"integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
|
| 1003 |
+
"dev": true,
|
| 1004 |
+
"license": "MIT",
|
| 1005 |
+
"engines": {
|
| 1006 |
+
"node": ">= 6"
|
| 1007 |
+
}
|
| 1008 |
+
},
|
| 1009 |
+
"node_modules/postcss": {
|
| 1010 |
+
"version": "8.5.15",
|
| 1011 |
+
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz",
|
| 1012 |
+
"integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==",
|
| 1013 |
+
"dev": true,
|
| 1014 |
+
"funding": [
|
| 1015 |
+
{
|
| 1016 |
+
"type": "opencollective",
|
| 1017 |
+
"url": "https://opencollective.com/postcss/"
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "tidelift",
|
| 1021 |
+
"url": "https://tidelift.com/funding/github/npm/postcss"
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "github",
|
| 1025 |
+
"url": "https://github.com/sponsors/ai"
|
| 1026 |
+
}
|
| 1027 |
+
],
|
| 1028 |
+
"license": "MIT",
|
| 1029 |
+
"peer": true,
|
| 1030 |
+
"dependencies": {
|
| 1031 |
+
"nanoid": "^3.3.12",
|
| 1032 |
+
"picocolors": "^1.1.1",
|
| 1033 |
+
"source-map-js": "^1.2.1"
|
| 1034 |
+
},
|
| 1035 |
+
"engines": {
|
| 1036 |
+
"node": "^10 || ^12 || >=14"
|
| 1037 |
+
}
|
| 1038 |
+
},
|
| 1039 |
+
"node_modules/postcss-import": {
|
| 1040 |
+
"version": "15.1.0",
|
| 1041 |
+
"resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",
|
| 1042 |
+
"integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",
|
| 1043 |
+
"dev": true,
|
| 1044 |
+
"license": "MIT",
|
| 1045 |
+
"dependencies": {
|
| 1046 |
+
"postcss-value-parser": "^4.0.0",
|
| 1047 |
+
"read-cache": "^1.0.0",
|
| 1048 |
+
"resolve": "^1.1.7"
|
| 1049 |
+
},
|
| 1050 |
+
"engines": {
|
| 1051 |
+
"node": ">=14.0.0"
|
| 1052 |
+
},
|
| 1053 |
+
"peerDependencies": {
|
| 1054 |
+
"postcss": "^8.0.0"
|
| 1055 |
+
}
|
| 1056 |
+
},
|
| 1057 |
+
"node_modules/postcss-js": {
|
| 1058 |
+
"version": "4.1.0",
|
| 1059 |
+
"resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz",
|
| 1060 |
+
"integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==",
|
| 1061 |
+
"dev": true,
|
| 1062 |
+
"funding": [
|
| 1063 |
+
{
|
| 1064 |
+
"type": "opencollective",
|
| 1065 |
+
"url": "https://opencollective.com/postcss/"
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "github",
|
| 1069 |
+
"url": "https://github.com/sponsors/ai"
|
| 1070 |
+
}
|
| 1071 |
+
],
|
| 1072 |
+
"license": "MIT",
|
| 1073 |
+
"dependencies": {
|
| 1074 |
+
"camelcase-css": "^2.0.1"
|
| 1075 |
+
},
|
| 1076 |
+
"engines": {
|
| 1077 |
+
"node": "^12 || ^14 || >= 16"
|
| 1078 |
+
},
|
| 1079 |
+
"peerDependencies": {
|
| 1080 |
+
"postcss": "^8.4.21"
|
| 1081 |
+
}
|
| 1082 |
+
},
|
| 1083 |
+
"node_modules/postcss-load-config": {
|
| 1084 |
+
"version": "6.0.1",
|
| 1085 |
+
"resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
|
| 1086 |
+
"integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
|
| 1087 |
+
"dev": true,
|
| 1088 |
+
"funding": [
|
| 1089 |
+
{
|
| 1090 |
+
"type": "opencollective",
|
| 1091 |
+
"url": "https://opencollective.com/postcss/"
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "github",
|
| 1095 |
+
"url": "https://github.com/sponsors/ai"
|
| 1096 |
+
}
|
| 1097 |
+
],
|
| 1098 |
+
"license": "MIT",
|
| 1099 |
+
"dependencies": {
|
| 1100 |
+
"lilconfig": "^3.1.1"
|
| 1101 |
+
},
|
| 1102 |
+
"engines": {
|
| 1103 |
+
"node": ">= 18"
|
| 1104 |
+
},
|
| 1105 |
+
"peerDependencies": {
|
| 1106 |
+
"jiti": ">=1.21.0",
|
| 1107 |
+
"postcss": ">=8.0.9",
|
| 1108 |
+
"tsx": "^4.8.1",
|
| 1109 |
+
"yaml": "^2.4.2"
|
| 1110 |
+
},
|
| 1111 |
+
"peerDependenciesMeta": {
|
| 1112 |
+
"jiti": {
|
| 1113 |
+
"optional": true
|
| 1114 |
+
},
|
| 1115 |
+
"postcss": {
|
| 1116 |
+
"optional": true
|
| 1117 |
+
},
|
| 1118 |
+
"tsx": {
|
| 1119 |
+
"optional": true
|
| 1120 |
+
},
|
| 1121 |
+
"yaml": {
|
| 1122 |
+
"optional": true
|
| 1123 |
+
}
|
| 1124 |
+
}
|
| 1125 |
+
},
|
| 1126 |
+
"node_modules/postcss-nested": {
|
| 1127 |
+
"version": "6.2.0",
|
| 1128 |
+
"resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz",
|
| 1129 |
+
"integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==",
|
| 1130 |
+
"dev": true,
|
| 1131 |
+
"funding": [
|
| 1132 |
+
{
|
| 1133 |
+
"type": "opencollective",
|
| 1134 |
+
"url": "https://opencollective.com/postcss/"
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "github",
|
| 1138 |
+
"url": "https://github.com/sponsors/ai"
|
| 1139 |
+
}
|
| 1140 |
+
],
|
| 1141 |
+
"license": "MIT",
|
| 1142 |
+
"dependencies": {
|
| 1143 |
+
"postcss-selector-parser": "^6.1.1"
|
| 1144 |
+
},
|
| 1145 |
+
"engines": {
|
| 1146 |
+
"node": ">=12.0"
|
| 1147 |
+
},
|
| 1148 |
+
"peerDependencies": {
|
| 1149 |
+
"postcss": "^8.2.14"
|
| 1150 |
+
}
|
| 1151 |
+
},
|
| 1152 |
+
"node_modules/postcss-selector-parser": {
|
| 1153 |
+
"version": "6.1.2",
|
| 1154 |
+
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
|
| 1155 |
+
"integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
|
| 1156 |
+
"dev": true,
|
| 1157 |
+
"license": "MIT",
|
| 1158 |
+
"dependencies": {
|
| 1159 |
+
"cssesc": "^3.0.0",
|
| 1160 |
+
"util-deprecate": "^1.0.2"
|
| 1161 |
+
},
|
| 1162 |
+
"engines": {
|
| 1163 |
+
"node": ">=4"
|
| 1164 |
+
}
|
| 1165 |
+
},
|
| 1166 |
+
"node_modules/postcss-value-parser": {
|
| 1167 |
+
"version": "4.2.0",
|
| 1168 |
+
"resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
|
| 1169 |
+
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
|
| 1170 |
+
"dev": true,
|
| 1171 |
+
"license": "MIT"
|
| 1172 |
+
},
|
| 1173 |
+
"node_modules/process-nextick-args": {
|
| 1174 |
+
"version": "2.0.1",
|
| 1175 |
+
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
|
| 1176 |
+
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
|
| 1177 |
+
"license": "MIT"
|
| 1178 |
+
},
|
| 1179 |
+
"node_modules/queue-microtask": {
|
| 1180 |
+
"version": "1.2.3",
|
| 1181 |
+
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
|
| 1182 |
+
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
|
| 1183 |
+
"dev": true,
|
| 1184 |
+
"funding": [
|
| 1185 |
+
{
|
| 1186 |
+
"type": "github",
|
| 1187 |
+
"url": "https://github.com/sponsors/feross"
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "patreon",
|
| 1191 |
+
"url": "https://www.patreon.com/feross"
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "consulting",
|
| 1195 |
+
"url": "https://feross.org/support"
|
| 1196 |
+
}
|
| 1197 |
+
],
|
| 1198 |
+
"license": "MIT"
|
| 1199 |
+
},
|
| 1200 |
+
"node_modules/react": {
|
| 1201 |
+
"version": "18.3.1",
|
| 1202 |
+
"resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
|
| 1203 |
+
"integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
|
| 1204 |
+
"license": "MIT",
|
| 1205 |
+
"peer": true,
|
| 1206 |
+
"dependencies": {
|
| 1207 |
+
"loose-envify": "^1.1.0"
|
| 1208 |
+
},
|
| 1209 |
+
"engines": {
|
| 1210 |
+
"node": ">=0.10.0"
|
| 1211 |
+
}
|
| 1212 |
+
},
|
| 1213 |
+
"node_modules/react-dom": {
|
| 1214 |
+
"version": "18.3.1",
|
| 1215 |
+
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
|
| 1216 |
+
"integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
|
| 1217 |
+
"license": "MIT",
|
| 1218 |
+
"dependencies": {
|
| 1219 |
+
"loose-envify": "^1.1.0",
|
| 1220 |
+
"scheduler": "^0.23.2"
|
| 1221 |
+
},
|
| 1222 |
+
"peerDependencies": {
|
| 1223 |
+
"react": "^18.3.1"
|
| 1224 |
+
}
|
| 1225 |
+
},
|
| 1226 |
+
"node_modules/read-cache": {
|
| 1227 |
+
"version": "1.0.0",
|
| 1228 |
+
"resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
|
| 1229 |
+
"integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
|
| 1230 |
+
"dev": true,
|
| 1231 |
+
"license": "MIT",
|
| 1232 |
+
"dependencies": {
|
| 1233 |
+
"pify": "^2.3.0"
|
| 1234 |
+
}
|
| 1235 |
+
},
|
| 1236 |
+
"node_modules/readable-stream": {
|
| 1237 |
+
"version": "2.3.8",
|
| 1238 |
+
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
|
| 1239 |
+
"integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
|
| 1240 |
+
"license": "MIT",
|
| 1241 |
+
"dependencies": {
|
| 1242 |
+
"core-util-is": "~1.0.0",
|
| 1243 |
+
"inherits": "~2.0.3",
|
| 1244 |
+
"isarray": "~1.0.0",
|
| 1245 |
+
"process-nextick-args": "~2.0.0",
|
| 1246 |
+
"safe-buffer": "~5.1.1",
|
| 1247 |
+
"string_decoder": "~1.1.1",
|
| 1248 |
+
"util-deprecate": "~1.0.1"
|
| 1249 |
+
}
|
| 1250 |
+
},
|
| 1251 |
+
"node_modules/readdirp": {
|
| 1252 |
+
"version": "3.6.0",
|
| 1253 |
+
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
|
| 1254 |
+
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
|
| 1255 |
+
"dev": true,
|
| 1256 |
+
"license": "MIT",
|
| 1257 |
+
"dependencies": {
|
| 1258 |
+
"picomatch": "^2.2.1"
|
| 1259 |
+
},
|
| 1260 |
+
"engines": {
|
| 1261 |
+
"node": ">=8.10.0"
|
| 1262 |
+
}
|
| 1263 |
+
},
|
| 1264 |
+
"node_modules/resolve": {
|
| 1265 |
+
"version": "1.22.12",
|
| 1266 |
+
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz",
|
| 1267 |
+
"integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==",
|
| 1268 |
+
"dev": true,
|
| 1269 |
+
"license": "MIT",
|
| 1270 |
+
"dependencies": {
|
| 1271 |
+
"es-errors": "^1.3.0",
|
| 1272 |
+
"is-core-module": "^2.16.1",
|
| 1273 |
+
"path-parse": "^1.0.7",
|
| 1274 |
+
"supports-preserve-symlinks-flag": "^1.0.0"
|
| 1275 |
+
},
|
| 1276 |
+
"bin": {
|
| 1277 |
+
"resolve": "bin/resolve"
|
| 1278 |
+
},
|
| 1279 |
+
"engines": {
|
| 1280 |
+
"node": ">= 0.4"
|
| 1281 |
+
},
|
| 1282 |
+
"funding": {
|
| 1283 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 1284 |
+
}
|
| 1285 |
+
},
|
| 1286 |
+
"node_modules/reusify": {
|
| 1287 |
+
"version": "1.1.0",
|
| 1288 |
+
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
|
| 1289 |
+
"integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
|
| 1290 |
+
"dev": true,
|
| 1291 |
+
"license": "MIT",
|
| 1292 |
+
"engines": {
|
| 1293 |
+
"iojs": ">=1.0.0",
|
| 1294 |
+
"node": ">=0.10.0"
|
| 1295 |
+
}
|
| 1296 |
+
},
|
| 1297 |
+
"node_modules/rollup": {
|
| 1298 |
+
"version": "4.60.4",
|
| 1299 |
+
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.4.tgz",
|
| 1300 |
+
"integrity": "sha512-WHeFSbZYsPu3+bLoNRUuAO+wavNlocOPf3wSHTP7hcFKVnJeWsYlCDbr3mTS14FCizf9ccIxXA8sGL8zKeQN3g==",
|
| 1301 |
+
"dev": true,
|
| 1302 |
+
"license": "MIT",
|
| 1303 |
+
"dependencies": {
|
| 1304 |
+
"@types/estree": "1.0.8"
|
| 1305 |
+
},
|
| 1306 |
+
"bin": {
|
| 1307 |
+
"rollup": "dist/bin/rollup"
|
| 1308 |
+
},
|
| 1309 |
+
"engines": {
|
| 1310 |
+
"node": ">=18.0.0",
|
| 1311 |
+
"npm": ">=8.0.0"
|
| 1312 |
+
},
|
| 1313 |
+
"optionalDependencies": {
|
| 1314 |
+
"@rollup/rollup-android-arm-eabi": "4.60.4",
|
| 1315 |
+
"@rollup/rollup-android-arm64": "4.60.4",
|
| 1316 |
+
"@rollup/rollup-darwin-arm64": "4.60.4",
|
| 1317 |
+
"@rollup/rollup-darwin-x64": "4.60.4",
|
| 1318 |
+
"@rollup/rollup-freebsd-arm64": "4.60.4",
|
| 1319 |
+
"@rollup/rollup-freebsd-x64": "4.60.4",
|
| 1320 |
+
"@rollup/rollup-linux-arm-gnueabihf": "4.60.4",
|
| 1321 |
+
"@rollup/rollup-linux-arm-musleabihf": "4.60.4",
|
| 1322 |
+
"@rollup/rollup-linux-arm64-gnu": "4.60.4",
|
| 1323 |
+
"@rollup/rollup-linux-arm64-musl": "4.60.4",
|
| 1324 |
+
"@rollup/rollup-linux-loong64-gnu": "4.60.4",
|
| 1325 |
+
"@rollup/rollup-linux-loong64-musl": "4.60.4",
|
| 1326 |
+
"@rollup/rollup-linux-ppc64-gnu": "4.60.4",
|
| 1327 |
+
"@rollup/rollup-linux-ppc64-musl": "4.60.4",
|
| 1328 |
+
"@rollup/rollup-linux-riscv64-gnu": "4.60.4",
|
| 1329 |
+
"@rollup/rollup-linux-riscv64-musl": "4.60.4",
|
| 1330 |
+
"@rollup/rollup-linux-s390x-gnu": "4.60.4",
|
| 1331 |
+
"@rollup/rollup-linux-x64-gnu": "4.60.4",
|
| 1332 |
+
"@rollup/rollup-linux-x64-musl": "4.60.4",
|
| 1333 |
+
"@rollup/rollup-openbsd-x64": "4.60.4",
|
| 1334 |
+
"@rollup/rollup-openharmony-arm64": "4.60.4",
|
| 1335 |
+
"@rollup/rollup-win32-arm64-msvc": "4.60.4",
|
| 1336 |
+
"@rollup/rollup-win32-ia32-msvc": "4.60.4",
|
| 1337 |
+
"@rollup/rollup-win32-x64-gnu": "4.60.4",
|
| 1338 |
+
"@rollup/rollup-win32-x64-msvc": "4.60.4",
|
| 1339 |
+
"fsevents": "~2.3.2"
|
| 1340 |
+
}
|
| 1341 |
+
},
|
| 1342 |
+
"node_modules/run-parallel": {
|
| 1343 |
+
"version": "1.2.0",
|
| 1344 |
+
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
|
| 1345 |
+
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
|
| 1346 |
+
"dev": true,
|
| 1347 |
+
"funding": [
|
| 1348 |
+
{
|
| 1349 |
+
"type": "github",
|
| 1350 |
+
"url": "https://github.com/sponsors/feross"
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "patreon",
|
| 1354 |
+
"url": "https://www.patreon.com/feross"
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"type": "consulting",
|
| 1358 |
+
"url": "https://feross.org/support"
|
| 1359 |
+
}
|
| 1360 |
+
],
|
| 1361 |
+
"license": "MIT",
|
| 1362 |
+
"dependencies": {
|
| 1363 |
+
"queue-microtask": "^1.2.2"
|
| 1364 |
+
}
|
| 1365 |
+
},
|
| 1366 |
+
"node_modules/safe-buffer": {
|
| 1367 |
+
"version": "5.1.2",
|
| 1368 |
+
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
| 1369 |
+
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
|
| 1370 |
+
"license": "MIT"
|
| 1371 |
+
},
|
| 1372 |
+
"node_modules/scheduler": {
|
| 1373 |
+
"version": "0.23.2",
|
| 1374 |
+
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
|
| 1375 |
+
"integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
|
| 1376 |
+
"license": "MIT",
|
| 1377 |
+
"dependencies": {
|
| 1378 |
+
"loose-envify": "^1.1.0"
|
| 1379 |
+
}
|
| 1380 |
+
},
|
| 1381 |
+
"node_modules/setimmediate": {
|
| 1382 |
+
"version": "1.0.5",
|
| 1383 |
+
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
|
| 1384 |
+
"integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==",
|
| 1385 |
+
"license": "MIT"
|
| 1386 |
+
},
|
| 1387 |
+
"node_modules/source-map-js": {
|
| 1388 |
+
"version": "1.2.1",
|
| 1389 |
+
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
|
| 1390 |
+
"integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
|
| 1391 |
+
"dev": true,
|
| 1392 |
+
"license": "BSD-3-Clause",
|
| 1393 |
+
"engines": {
|
| 1394 |
+
"node": ">=0.10.0"
|
| 1395 |
+
}
|
| 1396 |
+
},
|
| 1397 |
+
"node_modules/string_decoder": {
|
| 1398 |
+
"version": "1.1.1",
|
| 1399 |
+
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
|
| 1400 |
+
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
|
| 1401 |
+
"license": "MIT",
|
| 1402 |
+
"dependencies": {
|
| 1403 |
+
"safe-buffer": "~5.1.0"
|
| 1404 |
+
}
|
| 1405 |
+
},
|
| 1406 |
+
"node_modules/sucrase": {
|
| 1407 |
+
"version": "3.35.1",
|
| 1408 |
+
"resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
|
| 1409 |
+
"integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
|
| 1410 |
+
"dev": true,
|
| 1411 |
+
"license": "MIT",
|
| 1412 |
+
"dependencies": {
|
| 1413 |
+
"@jridgewell/gen-mapping": "^0.3.2",
|
| 1414 |
+
"commander": "^4.0.0",
|
| 1415 |
+
"lines-and-columns": "^1.1.6",
|
| 1416 |
+
"mz": "^2.7.0",
|
| 1417 |
+
"pirates": "^4.0.1",
|
| 1418 |
+
"tinyglobby": "^0.2.11",
|
| 1419 |
+
"ts-interface-checker": "^0.1.9"
|
| 1420 |
+
},
|
| 1421 |
+
"bin": {
|
| 1422 |
+
"sucrase": "bin/sucrase",
|
| 1423 |
+
"sucrase-node": "bin/sucrase-node"
|
| 1424 |
+
},
|
| 1425 |
+
"engines": {
|
| 1426 |
+
"node": ">=16 || 14 >=14.17"
|
| 1427 |
+
}
|
| 1428 |
+
},
|
| 1429 |
+
"node_modules/supports-preserve-symlinks-flag": {
|
| 1430 |
+
"version": "1.0.0",
|
| 1431 |
+
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
|
| 1432 |
+
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
|
| 1433 |
+
"dev": true,
|
| 1434 |
+
"license": "MIT",
|
| 1435 |
+
"engines": {
|
| 1436 |
+
"node": ">= 0.4"
|
| 1437 |
+
},
|
| 1438 |
+
"funding": {
|
| 1439 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 1440 |
+
}
|
| 1441 |
+
},
|
| 1442 |
+
"node_modules/tailwindcss": {
|
| 1443 |
+
"version": "3.4.19",
|
| 1444 |
+
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.19.tgz",
|
| 1445 |
+
"integrity": "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==",
|
| 1446 |
+
"dev": true,
|
| 1447 |
+
"license": "MIT",
|
| 1448 |
+
"dependencies": {
|
| 1449 |
+
"@alloc/quick-lru": "^5.2.0",
|
| 1450 |
+
"arg": "^5.0.2",
|
| 1451 |
+
"chokidar": "^3.6.0",
|
| 1452 |
+
"didyoumean": "^1.2.2",
|
| 1453 |
+
"dlv": "^1.1.3",
|
| 1454 |
+
"fast-glob": "^3.3.2",
|
| 1455 |
+
"glob-parent": "^6.0.2",
|
| 1456 |
+
"is-glob": "^4.0.3",
|
| 1457 |
+
"jiti": "^1.21.7",
|
| 1458 |
+
"lilconfig": "^3.1.3",
|
| 1459 |
+
"micromatch": "^4.0.8",
|
| 1460 |
+
"normalize-path": "^3.0.0",
|
| 1461 |
+
"object-hash": "^3.0.0",
|
| 1462 |
+
"picocolors": "^1.1.1",
|
| 1463 |
+
"postcss": "^8.4.47",
|
| 1464 |
+
"postcss-import": "^15.1.0",
|
| 1465 |
+
"postcss-js": "^4.0.1",
|
| 1466 |
+
"postcss-load-config": "^4.0.2 || ^5.0 || ^6.0",
|
| 1467 |
+
"postcss-nested": "^6.2.0",
|
| 1468 |
+
"postcss-selector-parser": "^6.1.2",
|
| 1469 |
+
"resolve": "^1.22.8",
|
| 1470 |
+
"sucrase": "^3.35.0"
|
| 1471 |
+
},
|
| 1472 |
+
"bin": {
|
| 1473 |
+
"tailwind": "lib/cli.js",
|
| 1474 |
+
"tailwindcss": "lib/cli.js"
|
| 1475 |
+
},
|
| 1476 |
+
"engines": {
|
| 1477 |
+
"node": ">=14.0.0"
|
| 1478 |
+
}
|
| 1479 |
+
},
|
| 1480 |
+
"node_modules/thenify": {
|
| 1481 |
+
"version": "3.3.1",
|
| 1482 |
+
"resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
|
| 1483 |
+
"integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
|
| 1484 |
+
"dev": true,
|
| 1485 |
+
"license": "MIT",
|
| 1486 |
+
"dependencies": {
|
| 1487 |
+
"any-promise": "^1.0.0"
|
| 1488 |
+
}
|
| 1489 |
+
},
|
| 1490 |
+
"node_modules/thenify-all": {
|
| 1491 |
+
"version": "1.6.0",
|
| 1492 |
+
"resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
|
| 1493 |
+
"integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
|
| 1494 |
+
"dev": true,
|
| 1495 |
+
"license": "MIT",
|
| 1496 |
+
"dependencies": {
|
| 1497 |
+
"thenify": ">= 3.1.0 < 4"
|
| 1498 |
+
},
|
| 1499 |
+
"engines": {
|
| 1500 |
+
"node": ">=0.8"
|
| 1501 |
+
}
|
| 1502 |
+
},
|
| 1503 |
+
"node_modules/tinyglobby": {
|
| 1504 |
+
"version": "0.2.16",
|
| 1505 |
+
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz",
|
| 1506 |
+
"integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==",
|
| 1507 |
+
"dev": true,
|
| 1508 |
+
"license": "MIT",
|
| 1509 |
+
"dependencies": {
|
| 1510 |
+
"fdir": "^6.5.0",
|
| 1511 |
+
"picomatch": "^4.0.4"
|
| 1512 |
+
},
|
| 1513 |
+
"engines": {
|
| 1514 |
+
"node": ">=12.0.0"
|
| 1515 |
+
},
|
| 1516 |
+
"funding": {
|
| 1517 |
+
"url": "https://github.com/sponsors/SuperchupuDev"
|
| 1518 |
+
}
|
| 1519 |
+
},
|
| 1520 |
+
"node_modules/tinyglobby/node_modules/fdir": {
|
| 1521 |
+
"version": "6.5.0",
|
| 1522 |
+
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
|
| 1523 |
+
"integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
|
| 1524 |
+
"dev": true,
|
| 1525 |
+
"license": "MIT",
|
| 1526 |
+
"engines": {
|
| 1527 |
+
"node": ">=12.0.0"
|
| 1528 |
+
},
|
| 1529 |
+
"peerDependencies": {
|
| 1530 |
+
"picomatch": "^3 || ^4"
|
| 1531 |
+
},
|
| 1532 |
+
"peerDependenciesMeta": {
|
| 1533 |
+
"picomatch": {
|
| 1534 |
+
"optional": true
|
| 1535 |
+
}
|
| 1536 |
+
}
|
| 1537 |
+
},
|
| 1538 |
+
"node_modules/tinyglobby/node_modules/picomatch": {
|
| 1539 |
+
"version": "4.0.4",
|
| 1540 |
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
|
| 1541 |
+
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
| 1542 |
+
"dev": true,
|
| 1543 |
+
"license": "MIT",
|
| 1544 |
+
"peer": true,
|
| 1545 |
+
"engines": {
|
| 1546 |
+
"node": ">=12"
|
| 1547 |
+
},
|
| 1548 |
+
"funding": {
|
| 1549 |
+
"url": "https://github.com/sponsors/jonschlinkert"
|
| 1550 |
+
}
|
| 1551 |
+
},
|
| 1552 |
+
"node_modules/to-regex-range": {
|
| 1553 |
+
"version": "5.0.1",
|
| 1554 |
+
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
|
| 1555 |
+
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
|
| 1556 |
+
"dev": true,
|
| 1557 |
+
"license": "MIT",
|
| 1558 |
+
"dependencies": {
|
| 1559 |
+
"is-number": "^7.0.0"
|
| 1560 |
+
},
|
| 1561 |
+
"engines": {
|
| 1562 |
+
"node": ">=8.0"
|
| 1563 |
+
}
|
| 1564 |
+
},
|
| 1565 |
+
"node_modules/ts-interface-checker": {
|
| 1566 |
+
"version": "0.1.13",
|
| 1567 |
+
"resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
|
| 1568 |
+
"integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
|
| 1569 |
+
"dev": true,
|
| 1570 |
+
"license": "Apache-2.0"
|
| 1571 |
+
},
|
| 1572 |
+
"node_modules/typescript": {
|
| 1573 |
+
"version": "5.9.3",
|
| 1574 |
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
| 1575 |
+
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
| 1576 |
+
"dev": true,
|
| 1577 |
+
"license": "Apache-2.0",
|
| 1578 |
+
"bin": {
|
| 1579 |
+
"tsc": "bin/tsc",
|
| 1580 |
+
"tsserver": "bin/tsserver"
|
| 1581 |
+
},
|
| 1582 |
+
"engines": {
|
| 1583 |
+
"node": ">=14.17"
|
| 1584 |
+
}
|
| 1585 |
+
},
|
| 1586 |
+
"node_modules/update-browserslist-db": {
|
| 1587 |
+
"version": "1.2.3",
|
| 1588 |
+
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
|
| 1589 |
+
"integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
|
| 1590 |
+
"dev": true,
|
| 1591 |
+
"funding": [
|
| 1592 |
+
{
|
| 1593 |
+
"type": "opencollective",
|
| 1594 |
+
"url": "https://opencollective.com/browserslist"
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"type": "tidelift",
|
| 1598 |
+
"url": "https://tidelift.com/funding/github/npm/browserslist"
|
| 1599 |
+
},
|
| 1600 |
+
{
|
| 1601 |
+
"type": "github",
|
| 1602 |
+
"url": "https://github.com/sponsors/ai"
|
| 1603 |
+
}
|
| 1604 |
+
],
|
| 1605 |
+
"license": "MIT",
|
| 1606 |
+
"dependencies": {
|
| 1607 |
+
"escalade": "^3.2.0",
|
| 1608 |
+
"picocolors": "^1.1.1"
|
| 1609 |
+
},
|
| 1610 |
+
"bin": {
|
| 1611 |
+
"update-browserslist-db": "cli.js"
|
| 1612 |
+
},
|
| 1613 |
+
"peerDependencies": {
|
| 1614 |
+
"browserslist": ">= 4.21.0"
|
| 1615 |
+
}
|
| 1616 |
+
},
|
| 1617 |
+
"node_modules/util-deprecate": {
|
| 1618 |
+
"version": "1.0.2",
|
| 1619 |
+
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
| 1620 |
+
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
|
| 1621 |
+
"license": "MIT"
|
| 1622 |
+
},
|
| 1623 |
+
"node_modules/vite": {
|
| 1624 |
+
"version": "5.4.21",
|
| 1625 |
+
"resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",
|
| 1626 |
+
"integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",
|
| 1627 |
+
"dev": true,
|
| 1628 |
+
"license": "MIT",
|
| 1629 |
+
"peer": true,
|
| 1630 |
+
"dependencies": {
|
| 1631 |
+
"esbuild": "^0.21.3",
|
| 1632 |
+
"postcss": "^8.4.43",
|
| 1633 |
+
"rollup": "^4.20.0"
|
| 1634 |
+
},
|
| 1635 |
+
"bin": {
|
| 1636 |
+
"vite": "bin/vite.js"
|
| 1637 |
+
},
|
| 1638 |
+
"engines": {
|
| 1639 |
+
"node": "^18.0.0 || >=20.0.0"
|
| 1640 |
+
},
|
| 1641 |
+
"funding": {
|
| 1642 |
+
"url": "https://github.com/vitejs/vite?sponsor=1"
|
| 1643 |
+
},
|
| 1644 |
+
"optionalDependencies": {
|
| 1645 |
+
"fsevents": "~2.3.3"
|
| 1646 |
+
},
|
| 1647 |
+
"peerDependencies": {
|
| 1648 |
+
"@types/node": "^18.0.0 || >=20.0.0",
|
| 1649 |
+
"less": "*",
|
| 1650 |
+
"lightningcss": "^1.21.0",
|
| 1651 |
+
"sass": "*",
|
| 1652 |
+
"sass-embedded": "*",
|
| 1653 |
+
"stylus": "*",
|
| 1654 |
+
"sugarss": "*",
|
| 1655 |
+
"terser": "^5.4.0"
|
| 1656 |
+
},
|
| 1657 |
+
"peerDependenciesMeta": {
|
| 1658 |
+
"@types/node": {
|
| 1659 |
+
"optional": true
|
| 1660 |
+
},
|
| 1661 |
+
"less": {
|
| 1662 |
+
"optional": true
|
| 1663 |
+
},
|
| 1664 |
+
"lightningcss": {
|
| 1665 |
+
"optional": true
|
| 1666 |
+
},
|
| 1667 |
+
"sass": {
|
| 1668 |
+
"optional": true
|
| 1669 |
+
},
|
| 1670 |
+
"sass-embedded": {
|
| 1671 |
+
"optional": true
|
| 1672 |
+
},
|
| 1673 |
+
"stylus": {
|
| 1674 |
+
"optional": true
|
| 1675 |
+
},
|
| 1676 |
+
"sugarss": {
|
| 1677 |
+
"optional": true
|
| 1678 |
+
},
|
| 1679 |
+
"terser": {
|
| 1680 |
+
"optional": true
|
| 1681 |
+
}
|
| 1682 |
+
}
|
| 1683 |
+
}
|
| 1684 |
+
}
|
| 1685 |
+
}
|
node_modules/.vite/deps/_metadata.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"hash": "9a721ba5",
|
| 3 |
+
"configHash": "75880687",
|
| 4 |
+
"lockfileHash": "2bd4a2fb",
|
| 5 |
+
"browserHash": "425cc2c7",
|
| 6 |
+
"optimized": {
|
| 7 |
+
"react/jsx-dev-runtime": {
|
| 8 |
+
"src": "../../react/jsx-dev-runtime.js",
|
| 9 |
+
"file": "react_jsx-dev-runtime.js",
|
| 10 |
+
"fileHash": "d996ab98",
|
| 11 |
+
"needsInterop": true
|
| 12 |
+
},
|
| 13 |
+
"jszip": {
|
| 14 |
+
"src": "../../jszip/dist/jszip.min.js",
|
| 15 |
+
"file": "jszip.js",
|
| 16 |
+
"fileHash": "26c7af6f",
|
| 17 |
+
"needsInterop": true
|
| 18 |
+
},
|
| 19 |
+
"lucide-react": {
|
| 20 |
+
"src": "../../lucide-react/dist/esm/lucide-react.js",
|
| 21 |
+
"file": "lucide-react.js",
|
| 22 |
+
"fileHash": "ab46db16",
|
| 23 |
+
"needsInterop": false
|
| 24 |
+
},
|
| 25 |
+
"react": {
|
| 26 |
+
"src": "../../react/index.js",
|
| 27 |
+
"file": "react.js",
|
| 28 |
+
"fileHash": "cee53237",
|
| 29 |
+
"needsInterop": true
|
| 30 |
+
},
|
| 31 |
+
"react-dom/client": {
|
| 32 |
+
"src": "../../react-dom/client.js",
|
| 33 |
+
"file": "react-dom_client.js",
|
| 34 |
+
"fileHash": "aebe4d3e",
|
| 35 |
+
"needsInterop": true
|
| 36 |
+
},
|
| 37 |
+
"react/jsx-runtime": {
|
| 38 |
+
"src": "../../react/jsx-runtime.js",
|
| 39 |
+
"file": "react_jsx-runtime.js",
|
| 40 |
+
"fileHash": "2df82bf4",
|
| 41 |
+
"needsInterop": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"chunks": {
|
| 45 |
+
"chunk-YHPANKLD": {
|
| 46 |
+
"file": "chunk-YHPANKLD.js"
|
| 47 |
+
},
|
| 48 |
+
"chunk-PR4QN5HX": {
|
| 49 |
+
"file": "chunk-PR4QN5HX.js"
|
| 50 |
+
}
|
| 51 |
+
}
|
| 52 |
+
}
|
node_modules/.vite/deps/chunk-PR4QN5HX.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
var __create = Object.create;
|
| 2 |
+
var __defProp = Object.defineProperty;
|
| 3 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 4 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 5 |
+
var __getProtoOf = Object.getPrototypeOf;
|
| 6 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 7 |
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
| 8 |
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
| 9 |
+
}) : x)(function(x) {
|
| 10 |
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
| 11 |
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
| 12 |
+
});
|
| 13 |
+
var __commonJS = (cb, mod) => function __require2() {
|
| 14 |
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
| 15 |
+
};
|
| 16 |
+
var __export = (target, all) => {
|
| 17 |
+
for (var name in all)
|
| 18 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 19 |
+
};
|
| 20 |
+
var __copyProps = (to, from, except, desc) => {
|
| 21 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 22 |
+
for (let key of __getOwnPropNames(from))
|
| 23 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 24 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 25 |
+
}
|
| 26 |
+
return to;
|
| 27 |
+
};
|
| 28 |
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
| 29 |
+
// If the importer is in node compatibility mode or this is not an ESM
|
| 30 |
+
// file that has been converted to a CommonJS file using a Babel-
|
| 31 |
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
| 32 |
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
| 33 |
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
| 34 |
+
mod
|
| 35 |
+
));
|
| 36 |
+
|
| 37 |
+
export {
|
| 38 |
+
__require,
|
| 39 |
+
__commonJS,
|
| 40 |
+
__export,
|
| 41 |
+
__toESM
|
| 42 |
+
};
|
| 43 |
+
//# sourceMappingURL=chunk-PR4QN5HX.js.map
|
node_modules/.vite/deps/chunk-PR4QN5HX.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": 3,
|
| 3 |
+
"sources": [],
|
| 4 |
+
"sourcesContent": [],
|
| 5 |
+
"mappings": "",
|
| 6 |
+
"names": []
|
| 7 |
+
}
|
node_modules/.vite/deps/chunk-YHPANKLD.js
ADDED
|
@@ -0,0 +1,1906 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
+
__commonJS
|
| 3 |
+
} from "./chunk-PR4QN5HX.js";
|
| 4 |
+
|
| 5 |
+
// node_modules/react/cjs/react.development.js
|
| 6 |
+
var require_react_development = __commonJS({
|
| 7 |
+
"node_modules/react/cjs/react.development.js"(exports, module) {
|
| 8 |
+
"use strict";
|
| 9 |
+
if (true) {
|
| 10 |
+
(function() {
|
| 11 |
+
"use strict";
|
| 12 |
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
| 13 |
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
| 14 |
+
}
|
| 15 |
+
var ReactVersion = "18.3.1";
|
| 16 |
+
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
| 17 |
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
| 18 |
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
| 19 |
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
| 20 |
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
| 21 |
+
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
| 22 |
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
| 23 |
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
| 24 |
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
| 25 |
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
| 26 |
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
| 27 |
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
| 28 |
+
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
| 29 |
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
| 30 |
+
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
| 31 |
+
function getIteratorFn(maybeIterable) {
|
| 32 |
+
if (maybeIterable === null || typeof maybeIterable !== "object") {
|
| 33 |
+
return null;
|
| 34 |
+
}
|
| 35 |
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
| 36 |
+
if (typeof maybeIterator === "function") {
|
| 37 |
+
return maybeIterator;
|
| 38 |
+
}
|
| 39 |
+
return null;
|
| 40 |
+
}
|
| 41 |
+
var ReactCurrentDispatcher = {
|
| 42 |
+
/**
|
| 43 |
+
* @internal
|
| 44 |
+
* @type {ReactComponent}
|
| 45 |
+
*/
|
| 46 |
+
current: null
|
| 47 |
+
};
|
| 48 |
+
var ReactCurrentBatchConfig = {
|
| 49 |
+
transition: null
|
| 50 |
+
};
|
| 51 |
+
var ReactCurrentActQueue = {
|
| 52 |
+
current: null,
|
| 53 |
+
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
| 54 |
+
isBatchingLegacy: false,
|
| 55 |
+
didScheduleLegacyUpdate: false
|
| 56 |
+
};
|
| 57 |
+
var ReactCurrentOwner = {
|
| 58 |
+
/**
|
| 59 |
+
* @internal
|
| 60 |
+
* @type {ReactComponent}
|
| 61 |
+
*/
|
| 62 |
+
current: null
|
| 63 |
+
};
|
| 64 |
+
var ReactDebugCurrentFrame = {};
|
| 65 |
+
var currentExtraStackFrame = null;
|
| 66 |
+
function setExtraStackFrame(stack) {
|
| 67 |
+
{
|
| 68 |
+
currentExtraStackFrame = stack;
|
| 69 |
+
}
|
| 70 |
+
}
|
| 71 |
+
{
|
| 72 |
+
ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
|
| 73 |
+
{
|
| 74 |
+
currentExtraStackFrame = stack;
|
| 75 |
+
}
|
| 76 |
+
};
|
| 77 |
+
ReactDebugCurrentFrame.getCurrentStack = null;
|
| 78 |
+
ReactDebugCurrentFrame.getStackAddendum = function() {
|
| 79 |
+
var stack = "";
|
| 80 |
+
if (currentExtraStackFrame) {
|
| 81 |
+
stack += currentExtraStackFrame;
|
| 82 |
+
}
|
| 83 |
+
var impl = ReactDebugCurrentFrame.getCurrentStack;
|
| 84 |
+
if (impl) {
|
| 85 |
+
stack += impl() || "";
|
| 86 |
+
}
|
| 87 |
+
return stack;
|
| 88 |
+
};
|
| 89 |
+
}
|
| 90 |
+
var enableScopeAPI = false;
|
| 91 |
+
var enableCacheElement = false;
|
| 92 |
+
var enableTransitionTracing = false;
|
| 93 |
+
var enableLegacyHidden = false;
|
| 94 |
+
var enableDebugTracing = false;
|
| 95 |
+
var ReactSharedInternals = {
|
| 96 |
+
ReactCurrentDispatcher,
|
| 97 |
+
ReactCurrentBatchConfig,
|
| 98 |
+
ReactCurrentOwner
|
| 99 |
+
};
|
| 100 |
+
{
|
| 101 |
+
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
|
| 102 |
+
ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
|
| 103 |
+
}
|
| 104 |
+
function warn(format) {
|
| 105 |
+
{
|
| 106 |
+
{
|
| 107 |
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
| 108 |
+
args[_key - 1] = arguments[_key];
|
| 109 |
+
}
|
| 110 |
+
printWarning("warn", format, args);
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
+
}
|
| 114 |
+
function error(format) {
|
| 115 |
+
{
|
| 116 |
+
{
|
| 117 |
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
| 118 |
+
args[_key2 - 1] = arguments[_key2];
|
| 119 |
+
}
|
| 120 |
+
printWarning("error", format, args);
|
| 121 |
+
}
|
| 122 |
+
}
|
| 123 |
+
}
|
| 124 |
+
function printWarning(level, format, args) {
|
| 125 |
+
{
|
| 126 |
+
var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
|
| 127 |
+
var stack = ReactDebugCurrentFrame2.getStackAddendum();
|
| 128 |
+
if (stack !== "") {
|
| 129 |
+
format += "%s";
|
| 130 |
+
args = args.concat([stack]);
|
| 131 |
+
}
|
| 132 |
+
var argsWithFormat = args.map(function(item) {
|
| 133 |
+
return String(item);
|
| 134 |
+
});
|
| 135 |
+
argsWithFormat.unshift("Warning: " + format);
|
| 136 |
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
| 137 |
+
}
|
| 138 |
+
}
|
| 139 |
+
var didWarnStateUpdateForUnmountedComponent = {};
|
| 140 |
+
function warnNoop(publicInstance, callerName) {
|
| 141 |
+
{
|
| 142 |
+
var _constructor = publicInstance.constructor;
|
| 143 |
+
var componentName = _constructor && (_constructor.displayName || _constructor.name) || "ReactClass";
|
| 144 |
+
var warningKey = componentName + "." + callerName;
|
| 145 |
+
if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
|
| 146 |
+
return;
|
| 147 |
+
}
|
| 148 |
+
error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, componentName);
|
| 149 |
+
didWarnStateUpdateForUnmountedComponent[warningKey] = true;
|
| 150 |
+
}
|
| 151 |
+
}
|
| 152 |
+
var ReactNoopUpdateQueue = {
|
| 153 |
+
/**
|
| 154 |
+
* Checks whether or not this composite component is mounted.
|
| 155 |
+
* @param {ReactClass} publicInstance The instance we want to test.
|
| 156 |
+
* @return {boolean} True if mounted, false otherwise.
|
| 157 |
+
* @protected
|
| 158 |
+
* @final
|
| 159 |
+
*/
|
| 160 |
+
isMounted: function(publicInstance) {
|
| 161 |
+
return false;
|
| 162 |
+
},
|
| 163 |
+
/**
|
| 164 |
+
* Forces an update. This should only be invoked when it is known with
|
| 165 |
+
* certainty that we are **not** in a DOM transaction.
|
| 166 |
+
*
|
| 167 |
+
* You may want to call this when you know that some deeper aspect of the
|
| 168 |
+
* component's state has changed but `setState` was not called.
|
| 169 |
+
*
|
| 170 |
+
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
| 171 |
+
* `componentWillUpdate` and `componentDidUpdate`.
|
| 172 |
+
*
|
| 173 |
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
| 174 |
+
* @param {?function} callback Called after component is updated.
|
| 175 |
+
* @param {?string} callerName name of the calling function in the public API.
|
| 176 |
+
* @internal
|
| 177 |
+
*/
|
| 178 |
+
enqueueForceUpdate: function(publicInstance, callback, callerName) {
|
| 179 |
+
warnNoop(publicInstance, "forceUpdate");
|
| 180 |
+
},
|
| 181 |
+
/**
|
| 182 |
+
* Replaces all of the state. Always use this or `setState` to mutate state.
|
| 183 |
+
* You should treat `this.state` as immutable.
|
| 184 |
+
*
|
| 185 |
+
* There is no guarantee that `this.state` will be immediately updated, so
|
| 186 |
+
* accessing `this.state` after calling this method may return the old value.
|
| 187 |
+
*
|
| 188 |
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
| 189 |
+
* @param {object} completeState Next state.
|
| 190 |
+
* @param {?function} callback Called after component is updated.
|
| 191 |
+
* @param {?string} callerName name of the calling function in the public API.
|
| 192 |
+
* @internal
|
| 193 |
+
*/
|
| 194 |
+
enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
|
| 195 |
+
warnNoop(publicInstance, "replaceState");
|
| 196 |
+
},
|
| 197 |
+
/**
|
| 198 |
+
* Sets a subset of the state. This only exists because _pendingState is
|
| 199 |
+
* internal. This provides a merging strategy that is not available to deep
|
| 200 |
+
* properties which is confusing. TODO: Expose pendingState or don't use it
|
| 201 |
+
* during the merge.
|
| 202 |
+
*
|
| 203 |
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
| 204 |
+
* @param {object} partialState Next partial state to be merged with state.
|
| 205 |
+
* @param {?function} callback Called after component is updated.
|
| 206 |
+
* @param {?string} Name of the calling function in the public API.
|
| 207 |
+
* @internal
|
| 208 |
+
*/
|
| 209 |
+
enqueueSetState: function(publicInstance, partialState, callback, callerName) {
|
| 210 |
+
warnNoop(publicInstance, "setState");
|
| 211 |
+
}
|
| 212 |
+
};
|
| 213 |
+
var assign = Object.assign;
|
| 214 |
+
var emptyObject = {};
|
| 215 |
+
{
|
| 216 |
+
Object.freeze(emptyObject);
|
| 217 |
+
}
|
| 218 |
+
function Component(props, context, updater) {
|
| 219 |
+
this.props = props;
|
| 220 |
+
this.context = context;
|
| 221 |
+
this.refs = emptyObject;
|
| 222 |
+
this.updater = updater || ReactNoopUpdateQueue;
|
| 223 |
+
}
|
| 224 |
+
Component.prototype.isReactComponent = {};
|
| 225 |
+
Component.prototype.setState = function(partialState, callback) {
|
| 226 |
+
if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null) {
|
| 227 |
+
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
| 228 |
+
}
|
| 229 |
+
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
| 230 |
+
};
|
| 231 |
+
Component.prototype.forceUpdate = function(callback) {
|
| 232 |
+
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
| 233 |
+
};
|
| 234 |
+
{
|
| 235 |
+
var deprecatedAPIs = {
|
| 236 |
+
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
| 237 |
+
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
| 238 |
+
};
|
| 239 |
+
var defineDeprecationWarning = function(methodName, info) {
|
| 240 |
+
Object.defineProperty(Component.prototype, methodName, {
|
| 241 |
+
get: function() {
|
| 242 |
+
warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
|
| 243 |
+
return void 0;
|
| 244 |
+
}
|
| 245 |
+
});
|
| 246 |
+
};
|
| 247 |
+
for (var fnName in deprecatedAPIs) {
|
| 248 |
+
if (deprecatedAPIs.hasOwnProperty(fnName)) {
|
| 249 |
+
defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
| 250 |
+
}
|
| 251 |
+
}
|
| 252 |
+
}
|
| 253 |
+
function ComponentDummy() {
|
| 254 |
+
}
|
| 255 |
+
ComponentDummy.prototype = Component.prototype;
|
| 256 |
+
function PureComponent(props, context, updater) {
|
| 257 |
+
this.props = props;
|
| 258 |
+
this.context = context;
|
| 259 |
+
this.refs = emptyObject;
|
| 260 |
+
this.updater = updater || ReactNoopUpdateQueue;
|
| 261 |
+
}
|
| 262 |
+
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
| 263 |
+
pureComponentPrototype.constructor = PureComponent;
|
| 264 |
+
assign(pureComponentPrototype, Component.prototype);
|
| 265 |
+
pureComponentPrototype.isPureReactComponent = true;
|
| 266 |
+
function createRef() {
|
| 267 |
+
var refObject = {
|
| 268 |
+
current: null
|
| 269 |
+
};
|
| 270 |
+
{
|
| 271 |
+
Object.seal(refObject);
|
| 272 |
+
}
|
| 273 |
+
return refObject;
|
| 274 |
+
}
|
| 275 |
+
var isArrayImpl = Array.isArray;
|
| 276 |
+
function isArray(a) {
|
| 277 |
+
return isArrayImpl(a);
|
| 278 |
+
}
|
| 279 |
+
function typeName(value) {
|
| 280 |
+
{
|
| 281 |
+
var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
|
| 282 |
+
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
| 283 |
+
return type;
|
| 284 |
+
}
|
| 285 |
+
}
|
| 286 |
+
function willCoercionThrow(value) {
|
| 287 |
+
{
|
| 288 |
+
try {
|
| 289 |
+
testStringCoercion(value);
|
| 290 |
+
return false;
|
| 291 |
+
} catch (e) {
|
| 292 |
+
return true;
|
| 293 |
+
}
|
| 294 |
+
}
|
| 295 |
+
}
|
| 296 |
+
function testStringCoercion(value) {
|
| 297 |
+
return "" + value;
|
| 298 |
+
}
|
| 299 |
+
function checkKeyStringCoercion(value) {
|
| 300 |
+
{
|
| 301 |
+
if (willCoercionThrow(value)) {
|
| 302 |
+
error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
|
| 303 |
+
return testStringCoercion(value);
|
| 304 |
+
}
|
| 305 |
+
}
|
| 306 |
+
}
|
| 307 |
+
function getWrappedName(outerType, innerType, wrapperName) {
|
| 308 |
+
var displayName = outerType.displayName;
|
| 309 |
+
if (displayName) {
|
| 310 |
+
return displayName;
|
| 311 |
+
}
|
| 312 |
+
var functionName = innerType.displayName || innerType.name || "";
|
| 313 |
+
return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
|
| 314 |
+
}
|
| 315 |
+
function getContextName(type) {
|
| 316 |
+
return type.displayName || "Context";
|
| 317 |
+
}
|
| 318 |
+
function getComponentNameFromType(type) {
|
| 319 |
+
if (type == null) {
|
| 320 |
+
return null;
|
| 321 |
+
}
|
| 322 |
+
{
|
| 323 |
+
if (typeof type.tag === "number") {
|
| 324 |
+
error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
|
| 325 |
+
}
|
| 326 |
+
}
|
| 327 |
+
if (typeof type === "function") {
|
| 328 |
+
return type.displayName || type.name || null;
|
| 329 |
+
}
|
| 330 |
+
if (typeof type === "string") {
|
| 331 |
+
return type;
|
| 332 |
+
}
|
| 333 |
+
switch (type) {
|
| 334 |
+
case REACT_FRAGMENT_TYPE:
|
| 335 |
+
return "Fragment";
|
| 336 |
+
case REACT_PORTAL_TYPE:
|
| 337 |
+
return "Portal";
|
| 338 |
+
case REACT_PROFILER_TYPE:
|
| 339 |
+
return "Profiler";
|
| 340 |
+
case REACT_STRICT_MODE_TYPE:
|
| 341 |
+
return "StrictMode";
|
| 342 |
+
case REACT_SUSPENSE_TYPE:
|
| 343 |
+
return "Suspense";
|
| 344 |
+
case REACT_SUSPENSE_LIST_TYPE:
|
| 345 |
+
return "SuspenseList";
|
| 346 |
+
}
|
| 347 |
+
if (typeof type === "object") {
|
| 348 |
+
switch (type.$$typeof) {
|
| 349 |
+
case REACT_CONTEXT_TYPE:
|
| 350 |
+
var context = type;
|
| 351 |
+
return getContextName(context) + ".Consumer";
|
| 352 |
+
case REACT_PROVIDER_TYPE:
|
| 353 |
+
var provider = type;
|
| 354 |
+
return getContextName(provider._context) + ".Provider";
|
| 355 |
+
case REACT_FORWARD_REF_TYPE:
|
| 356 |
+
return getWrappedName(type, type.render, "ForwardRef");
|
| 357 |
+
case REACT_MEMO_TYPE:
|
| 358 |
+
var outerName = type.displayName || null;
|
| 359 |
+
if (outerName !== null) {
|
| 360 |
+
return outerName;
|
| 361 |
+
}
|
| 362 |
+
return getComponentNameFromType(type.type) || "Memo";
|
| 363 |
+
case REACT_LAZY_TYPE: {
|
| 364 |
+
var lazyComponent = type;
|
| 365 |
+
var payload = lazyComponent._payload;
|
| 366 |
+
var init = lazyComponent._init;
|
| 367 |
+
try {
|
| 368 |
+
return getComponentNameFromType(init(payload));
|
| 369 |
+
} catch (x) {
|
| 370 |
+
return null;
|
| 371 |
+
}
|
| 372 |
+
}
|
| 373 |
+
}
|
| 374 |
+
}
|
| 375 |
+
return null;
|
| 376 |
+
}
|
| 377 |
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
| 378 |
+
var RESERVED_PROPS = {
|
| 379 |
+
key: true,
|
| 380 |
+
ref: true,
|
| 381 |
+
__self: true,
|
| 382 |
+
__source: true
|
| 383 |
+
};
|
| 384 |
+
var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
|
| 385 |
+
{
|
| 386 |
+
didWarnAboutStringRefs = {};
|
| 387 |
+
}
|
| 388 |
+
function hasValidRef(config) {
|
| 389 |
+
{
|
| 390 |
+
if (hasOwnProperty.call(config, "ref")) {
|
| 391 |
+
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
|
| 392 |
+
if (getter && getter.isReactWarning) {
|
| 393 |
+
return false;
|
| 394 |
+
}
|
| 395 |
+
}
|
| 396 |
+
}
|
| 397 |
+
return config.ref !== void 0;
|
| 398 |
+
}
|
| 399 |
+
function hasValidKey(config) {
|
| 400 |
+
{
|
| 401 |
+
if (hasOwnProperty.call(config, "key")) {
|
| 402 |
+
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
| 403 |
+
if (getter && getter.isReactWarning) {
|
| 404 |
+
return false;
|
| 405 |
+
}
|
| 406 |
+
}
|
| 407 |
+
}
|
| 408 |
+
return config.key !== void 0;
|
| 409 |
+
}
|
| 410 |
+
function defineKeyPropWarningGetter(props, displayName) {
|
| 411 |
+
var warnAboutAccessingKey = function() {
|
| 412 |
+
{
|
| 413 |
+
if (!specialPropKeyWarningShown) {
|
| 414 |
+
specialPropKeyWarningShown = true;
|
| 415 |
+
error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
|
| 416 |
+
}
|
| 417 |
+
}
|
| 418 |
+
};
|
| 419 |
+
warnAboutAccessingKey.isReactWarning = true;
|
| 420 |
+
Object.defineProperty(props, "key", {
|
| 421 |
+
get: warnAboutAccessingKey,
|
| 422 |
+
configurable: true
|
| 423 |
+
});
|
| 424 |
+
}
|
| 425 |
+
function defineRefPropWarningGetter(props, displayName) {
|
| 426 |
+
var warnAboutAccessingRef = function() {
|
| 427 |
+
{
|
| 428 |
+
if (!specialPropRefWarningShown) {
|
| 429 |
+
specialPropRefWarningShown = true;
|
| 430 |
+
error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
|
| 431 |
+
}
|
| 432 |
+
}
|
| 433 |
+
};
|
| 434 |
+
warnAboutAccessingRef.isReactWarning = true;
|
| 435 |
+
Object.defineProperty(props, "ref", {
|
| 436 |
+
get: warnAboutAccessingRef,
|
| 437 |
+
configurable: true
|
| 438 |
+
});
|
| 439 |
+
}
|
| 440 |
+
function warnIfStringRefCannotBeAutoConverted(config) {
|
| 441 |
+
{
|
| 442 |
+
if (typeof config.ref === "string" && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
|
| 443 |
+
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
|
| 444 |
+
if (!didWarnAboutStringRefs[componentName]) {
|
| 445 |
+
error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', componentName, config.ref);
|
| 446 |
+
didWarnAboutStringRefs[componentName] = true;
|
| 447 |
+
}
|
| 448 |
+
}
|
| 449 |
+
}
|
| 450 |
+
}
|
| 451 |
+
var ReactElement = function(type, key, ref, self, source, owner, props) {
|
| 452 |
+
var element = {
|
| 453 |
+
// This tag allows us to uniquely identify this as a React Element
|
| 454 |
+
$$typeof: REACT_ELEMENT_TYPE,
|
| 455 |
+
// Built-in properties that belong on the element
|
| 456 |
+
type,
|
| 457 |
+
key,
|
| 458 |
+
ref,
|
| 459 |
+
props,
|
| 460 |
+
// Record the component responsible for creating this element.
|
| 461 |
+
_owner: owner
|
| 462 |
+
};
|
| 463 |
+
{
|
| 464 |
+
element._store = {};
|
| 465 |
+
Object.defineProperty(element._store, "validated", {
|
| 466 |
+
configurable: false,
|
| 467 |
+
enumerable: false,
|
| 468 |
+
writable: true,
|
| 469 |
+
value: false
|
| 470 |
+
});
|
| 471 |
+
Object.defineProperty(element, "_self", {
|
| 472 |
+
configurable: false,
|
| 473 |
+
enumerable: false,
|
| 474 |
+
writable: false,
|
| 475 |
+
value: self
|
| 476 |
+
});
|
| 477 |
+
Object.defineProperty(element, "_source", {
|
| 478 |
+
configurable: false,
|
| 479 |
+
enumerable: false,
|
| 480 |
+
writable: false,
|
| 481 |
+
value: source
|
| 482 |
+
});
|
| 483 |
+
if (Object.freeze) {
|
| 484 |
+
Object.freeze(element.props);
|
| 485 |
+
Object.freeze(element);
|
| 486 |
+
}
|
| 487 |
+
}
|
| 488 |
+
return element;
|
| 489 |
+
};
|
| 490 |
+
function createElement(type, config, children) {
|
| 491 |
+
var propName;
|
| 492 |
+
var props = {};
|
| 493 |
+
var key = null;
|
| 494 |
+
var ref = null;
|
| 495 |
+
var self = null;
|
| 496 |
+
var source = null;
|
| 497 |
+
if (config != null) {
|
| 498 |
+
if (hasValidRef(config)) {
|
| 499 |
+
ref = config.ref;
|
| 500 |
+
{
|
| 501 |
+
warnIfStringRefCannotBeAutoConverted(config);
|
| 502 |
+
}
|
| 503 |
+
}
|
| 504 |
+
if (hasValidKey(config)) {
|
| 505 |
+
{
|
| 506 |
+
checkKeyStringCoercion(config.key);
|
| 507 |
+
}
|
| 508 |
+
key = "" + config.key;
|
| 509 |
+
}
|
| 510 |
+
self = config.__self === void 0 ? null : config.__self;
|
| 511 |
+
source = config.__source === void 0 ? null : config.__source;
|
| 512 |
+
for (propName in config) {
|
| 513 |
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
| 514 |
+
props[propName] = config[propName];
|
| 515 |
+
}
|
| 516 |
+
}
|
| 517 |
+
}
|
| 518 |
+
var childrenLength = arguments.length - 2;
|
| 519 |
+
if (childrenLength === 1) {
|
| 520 |
+
props.children = children;
|
| 521 |
+
} else if (childrenLength > 1) {
|
| 522 |
+
var childArray = Array(childrenLength);
|
| 523 |
+
for (var i = 0; i < childrenLength; i++) {
|
| 524 |
+
childArray[i] = arguments[i + 2];
|
| 525 |
+
}
|
| 526 |
+
{
|
| 527 |
+
if (Object.freeze) {
|
| 528 |
+
Object.freeze(childArray);
|
| 529 |
+
}
|
| 530 |
+
}
|
| 531 |
+
props.children = childArray;
|
| 532 |
+
}
|
| 533 |
+
if (type && type.defaultProps) {
|
| 534 |
+
var defaultProps = type.defaultProps;
|
| 535 |
+
for (propName in defaultProps) {
|
| 536 |
+
if (props[propName] === void 0) {
|
| 537 |
+
props[propName] = defaultProps[propName];
|
| 538 |
+
}
|
| 539 |
+
}
|
| 540 |
+
}
|
| 541 |
+
{
|
| 542 |
+
if (key || ref) {
|
| 543 |
+
var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
|
| 544 |
+
if (key) {
|
| 545 |
+
defineKeyPropWarningGetter(props, displayName);
|
| 546 |
+
}
|
| 547 |
+
if (ref) {
|
| 548 |
+
defineRefPropWarningGetter(props, displayName);
|
| 549 |
+
}
|
| 550 |
+
}
|
| 551 |
+
}
|
| 552 |
+
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
|
| 553 |
+
}
|
| 554 |
+
function cloneAndReplaceKey(oldElement, newKey) {
|
| 555 |
+
var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
|
| 556 |
+
return newElement;
|
| 557 |
+
}
|
| 558 |
+
function cloneElement(element, config, children) {
|
| 559 |
+
if (element === null || element === void 0) {
|
| 560 |
+
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
|
| 561 |
+
}
|
| 562 |
+
var propName;
|
| 563 |
+
var props = assign({}, element.props);
|
| 564 |
+
var key = element.key;
|
| 565 |
+
var ref = element.ref;
|
| 566 |
+
var self = element._self;
|
| 567 |
+
var source = element._source;
|
| 568 |
+
var owner = element._owner;
|
| 569 |
+
if (config != null) {
|
| 570 |
+
if (hasValidRef(config)) {
|
| 571 |
+
ref = config.ref;
|
| 572 |
+
owner = ReactCurrentOwner.current;
|
| 573 |
+
}
|
| 574 |
+
if (hasValidKey(config)) {
|
| 575 |
+
{
|
| 576 |
+
checkKeyStringCoercion(config.key);
|
| 577 |
+
}
|
| 578 |
+
key = "" + config.key;
|
| 579 |
+
}
|
| 580 |
+
var defaultProps;
|
| 581 |
+
if (element.type && element.type.defaultProps) {
|
| 582 |
+
defaultProps = element.type.defaultProps;
|
| 583 |
+
}
|
| 584 |
+
for (propName in config) {
|
| 585 |
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
| 586 |
+
if (config[propName] === void 0 && defaultProps !== void 0) {
|
| 587 |
+
props[propName] = defaultProps[propName];
|
| 588 |
+
} else {
|
| 589 |
+
props[propName] = config[propName];
|
| 590 |
+
}
|
| 591 |
+
}
|
| 592 |
+
}
|
| 593 |
+
}
|
| 594 |
+
var childrenLength = arguments.length - 2;
|
| 595 |
+
if (childrenLength === 1) {
|
| 596 |
+
props.children = children;
|
| 597 |
+
} else if (childrenLength > 1) {
|
| 598 |
+
var childArray = Array(childrenLength);
|
| 599 |
+
for (var i = 0; i < childrenLength; i++) {
|
| 600 |
+
childArray[i] = arguments[i + 2];
|
| 601 |
+
}
|
| 602 |
+
props.children = childArray;
|
| 603 |
+
}
|
| 604 |
+
return ReactElement(element.type, key, ref, self, source, owner, props);
|
| 605 |
+
}
|
| 606 |
+
function isValidElement(object) {
|
| 607 |
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
| 608 |
+
}
|
| 609 |
+
var SEPARATOR = ".";
|
| 610 |
+
var SUBSEPARATOR = ":";
|
| 611 |
+
function escape(key) {
|
| 612 |
+
var escapeRegex = /[=:]/g;
|
| 613 |
+
var escaperLookup = {
|
| 614 |
+
"=": "=0",
|
| 615 |
+
":": "=2"
|
| 616 |
+
};
|
| 617 |
+
var escapedString = key.replace(escapeRegex, function(match) {
|
| 618 |
+
return escaperLookup[match];
|
| 619 |
+
});
|
| 620 |
+
return "$" + escapedString;
|
| 621 |
+
}
|
| 622 |
+
var didWarnAboutMaps = false;
|
| 623 |
+
var userProvidedKeyEscapeRegex = /\/+/g;
|
| 624 |
+
function escapeUserProvidedKey(text) {
|
| 625 |
+
return text.replace(userProvidedKeyEscapeRegex, "$&/");
|
| 626 |
+
}
|
| 627 |
+
function getElementKey(element, index) {
|
| 628 |
+
if (typeof element === "object" && element !== null && element.key != null) {
|
| 629 |
+
{
|
| 630 |
+
checkKeyStringCoercion(element.key);
|
| 631 |
+
}
|
| 632 |
+
return escape("" + element.key);
|
| 633 |
+
}
|
| 634 |
+
return index.toString(36);
|
| 635 |
+
}
|
| 636 |
+
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
| 637 |
+
var type = typeof children;
|
| 638 |
+
if (type === "undefined" || type === "boolean") {
|
| 639 |
+
children = null;
|
| 640 |
+
}
|
| 641 |
+
var invokeCallback = false;
|
| 642 |
+
if (children === null) {
|
| 643 |
+
invokeCallback = true;
|
| 644 |
+
} else {
|
| 645 |
+
switch (type) {
|
| 646 |
+
case "string":
|
| 647 |
+
case "number":
|
| 648 |
+
invokeCallback = true;
|
| 649 |
+
break;
|
| 650 |
+
case "object":
|
| 651 |
+
switch (children.$$typeof) {
|
| 652 |
+
case REACT_ELEMENT_TYPE:
|
| 653 |
+
case REACT_PORTAL_TYPE:
|
| 654 |
+
invokeCallback = true;
|
| 655 |
+
}
|
| 656 |
+
}
|
| 657 |
+
}
|
| 658 |
+
if (invokeCallback) {
|
| 659 |
+
var _child = children;
|
| 660 |
+
var mappedChild = callback(_child);
|
| 661 |
+
var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
|
| 662 |
+
if (isArray(mappedChild)) {
|
| 663 |
+
var escapedChildKey = "";
|
| 664 |
+
if (childKey != null) {
|
| 665 |
+
escapedChildKey = escapeUserProvidedKey(childKey) + "/";
|
| 666 |
+
}
|
| 667 |
+
mapIntoArray(mappedChild, array, escapedChildKey, "", function(c) {
|
| 668 |
+
return c;
|
| 669 |
+
});
|
| 670 |
+
} else if (mappedChild != null) {
|
| 671 |
+
if (isValidElement(mappedChild)) {
|
| 672 |
+
{
|
| 673 |
+
if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
|
| 674 |
+
checkKeyStringCoercion(mappedChild.key);
|
| 675 |
+
}
|
| 676 |
+
}
|
| 677 |
+
mappedChild = cloneAndReplaceKey(
|
| 678 |
+
mappedChild,
|
| 679 |
+
// Keep both the (mapped) and old keys if they differ, just as
|
| 680 |
+
// traverseAllChildren used to do for objects as children
|
| 681 |
+
escapedPrefix + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
| 682 |
+
(mappedChild.key && (!_child || _child.key !== mappedChild.key) ? (
|
| 683 |
+
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
| 684 |
+
// eslint-disable-next-line react-internal/safe-string-coercion
|
| 685 |
+
escapeUserProvidedKey("" + mappedChild.key) + "/"
|
| 686 |
+
) : "") + childKey
|
| 687 |
+
);
|
| 688 |
+
}
|
| 689 |
+
array.push(mappedChild);
|
| 690 |
+
}
|
| 691 |
+
return 1;
|
| 692 |
+
}
|
| 693 |
+
var child;
|
| 694 |
+
var nextName;
|
| 695 |
+
var subtreeCount = 0;
|
| 696 |
+
var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR;
|
| 697 |
+
if (isArray(children)) {
|
| 698 |
+
for (var i = 0; i < children.length; i++) {
|
| 699 |
+
child = children[i];
|
| 700 |
+
nextName = nextNamePrefix + getElementKey(child, i);
|
| 701 |
+
subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
|
| 702 |
+
}
|
| 703 |
+
} else {
|
| 704 |
+
var iteratorFn = getIteratorFn(children);
|
| 705 |
+
if (typeof iteratorFn === "function") {
|
| 706 |
+
var iterableChildren = children;
|
| 707 |
+
{
|
| 708 |
+
if (iteratorFn === iterableChildren.entries) {
|
| 709 |
+
if (!didWarnAboutMaps) {
|
| 710 |
+
warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");
|
| 711 |
+
}
|
| 712 |
+
didWarnAboutMaps = true;
|
| 713 |
+
}
|
| 714 |
+
}
|
| 715 |
+
var iterator = iteratorFn.call(iterableChildren);
|
| 716 |
+
var step;
|
| 717 |
+
var ii = 0;
|
| 718 |
+
while (!(step = iterator.next()).done) {
|
| 719 |
+
child = step.value;
|
| 720 |
+
nextName = nextNamePrefix + getElementKey(child, ii++);
|
| 721 |
+
subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
|
| 722 |
+
}
|
| 723 |
+
} else if (type === "object") {
|
| 724 |
+
var childrenString = String(children);
|
| 725 |
+
throw new Error("Objects are not valid as a React child (found: " + (childrenString === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : childrenString) + "). If you meant to render a collection of children, use an array instead.");
|
| 726 |
+
}
|
| 727 |
+
}
|
| 728 |
+
return subtreeCount;
|
| 729 |
+
}
|
| 730 |
+
function mapChildren(children, func, context) {
|
| 731 |
+
if (children == null) {
|
| 732 |
+
return children;
|
| 733 |
+
}
|
| 734 |
+
var result = [];
|
| 735 |
+
var count = 0;
|
| 736 |
+
mapIntoArray(children, result, "", "", function(child) {
|
| 737 |
+
return func.call(context, child, count++);
|
| 738 |
+
});
|
| 739 |
+
return result;
|
| 740 |
+
}
|
| 741 |
+
function countChildren(children) {
|
| 742 |
+
var n = 0;
|
| 743 |
+
mapChildren(children, function() {
|
| 744 |
+
n++;
|
| 745 |
+
});
|
| 746 |
+
return n;
|
| 747 |
+
}
|
| 748 |
+
function forEachChildren(children, forEachFunc, forEachContext) {
|
| 749 |
+
mapChildren(children, function() {
|
| 750 |
+
forEachFunc.apply(this, arguments);
|
| 751 |
+
}, forEachContext);
|
| 752 |
+
}
|
| 753 |
+
function toArray(children) {
|
| 754 |
+
return mapChildren(children, function(child) {
|
| 755 |
+
return child;
|
| 756 |
+
}) || [];
|
| 757 |
+
}
|
| 758 |
+
function onlyChild(children) {
|
| 759 |
+
if (!isValidElement(children)) {
|
| 760 |
+
throw new Error("React.Children.only expected to receive a single React element child.");
|
| 761 |
+
}
|
| 762 |
+
return children;
|
| 763 |
+
}
|
| 764 |
+
function createContext(defaultValue) {
|
| 765 |
+
var context = {
|
| 766 |
+
$$typeof: REACT_CONTEXT_TYPE,
|
| 767 |
+
// As a workaround to support multiple concurrent renderers, we categorize
|
| 768 |
+
// some renderers as primary and others as secondary. We only expect
|
| 769 |
+
// there to be two concurrent renderers at most: React Native (primary) and
|
| 770 |
+
// Fabric (secondary); React DOM (primary) and React ART (secondary).
|
| 771 |
+
// Secondary renderers store their context values on separate fields.
|
| 772 |
+
_currentValue: defaultValue,
|
| 773 |
+
_currentValue2: defaultValue,
|
| 774 |
+
// Used to track how many concurrent renderers this context currently
|
| 775 |
+
// supports within in a single renderer. Such as parallel server rendering.
|
| 776 |
+
_threadCount: 0,
|
| 777 |
+
// These are circular
|
| 778 |
+
Provider: null,
|
| 779 |
+
Consumer: null,
|
| 780 |
+
// Add these to use same hidden class in VM as ServerContext
|
| 781 |
+
_defaultValue: null,
|
| 782 |
+
_globalName: null
|
| 783 |
+
};
|
| 784 |
+
context.Provider = {
|
| 785 |
+
$$typeof: REACT_PROVIDER_TYPE,
|
| 786 |
+
_context: context
|
| 787 |
+
};
|
| 788 |
+
var hasWarnedAboutUsingNestedContextConsumers = false;
|
| 789 |
+
var hasWarnedAboutUsingConsumerProvider = false;
|
| 790 |
+
var hasWarnedAboutDisplayNameOnConsumer = false;
|
| 791 |
+
{
|
| 792 |
+
var Consumer = {
|
| 793 |
+
$$typeof: REACT_CONTEXT_TYPE,
|
| 794 |
+
_context: context
|
| 795 |
+
};
|
| 796 |
+
Object.defineProperties(Consumer, {
|
| 797 |
+
Provider: {
|
| 798 |
+
get: function() {
|
| 799 |
+
if (!hasWarnedAboutUsingConsumerProvider) {
|
| 800 |
+
hasWarnedAboutUsingConsumerProvider = true;
|
| 801 |
+
error("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?");
|
| 802 |
+
}
|
| 803 |
+
return context.Provider;
|
| 804 |
+
},
|
| 805 |
+
set: function(_Provider) {
|
| 806 |
+
context.Provider = _Provider;
|
| 807 |
+
}
|
| 808 |
+
},
|
| 809 |
+
_currentValue: {
|
| 810 |
+
get: function() {
|
| 811 |
+
return context._currentValue;
|
| 812 |
+
},
|
| 813 |
+
set: function(_currentValue) {
|
| 814 |
+
context._currentValue = _currentValue;
|
| 815 |
+
}
|
| 816 |
+
},
|
| 817 |
+
_currentValue2: {
|
| 818 |
+
get: function() {
|
| 819 |
+
return context._currentValue2;
|
| 820 |
+
},
|
| 821 |
+
set: function(_currentValue2) {
|
| 822 |
+
context._currentValue2 = _currentValue2;
|
| 823 |
+
}
|
| 824 |
+
},
|
| 825 |
+
_threadCount: {
|
| 826 |
+
get: function() {
|
| 827 |
+
return context._threadCount;
|
| 828 |
+
},
|
| 829 |
+
set: function(_threadCount) {
|
| 830 |
+
context._threadCount = _threadCount;
|
| 831 |
+
}
|
| 832 |
+
},
|
| 833 |
+
Consumer: {
|
| 834 |
+
get: function() {
|
| 835 |
+
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
| 836 |
+
hasWarnedAboutUsingNestedContextConsumers = true;
|
| 837 |
+
error("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");
|
| 838 |
+
}
|
| 839 |
+
return context.Consumer;
|
| 840 |
+
}
|
| 841 |
+
},
|
| 842 |
+
displayName: {
|
| 843 |
+
get: function() {
|
| 844 |
+
return context.displayName;
|
| 845 |
+
},
|
| 846 |
+
set: function(displayName) {
|
| 847 |
+
if (!hasWarnedAboutDisplayNameOnConsumer) {
|
| 848 |
+
warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName);
|
| 849 |
+
hasWarnedAboutDisplayNameOnConsumer = true;
|
| 850 |
+
}
|
| 851 |
+
}
|
| 852 |
+
}
|
| 853 |
+
});
|
| 854 |
+
context.Consumer = Consumer;
|
| 855 |
+
}
|
| 856 |
+
{
|
| 857 |
+
context._currentRenderer = null;
|
| 858 |
+
context._currentRenderer2 = null;
|
| 859 |
+
}
|
| 860 |
+
return context;
|
| 861 |
+
}
|
| 862 |
+
var Uninitialized = -1;
|
| 863 |
+
var Pending = 0;
|
| 864 |
+
var Resolved = 1;
|
| 865 |
+
var Rejected = 2;
|
| 866 |
+
function lazyInitializer(payload) {
|
| 867 |
+
if (payload._status === Uninitialized) {
|
| 868 |
+
var ctor = payload._result;
|
| 869 |
+
var thenable = ctor();
|
| 870 |
+
thenable.then(function(moduleObject2) {
|
| 871 |
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
| 872 |
+
var resolved = payload;
|
| 873 |
+
resolved._status = Resolved;
|
| 874 |
+
resolved._result = moduleObject2;
|
| 875 |
+
}
|
| 876 |
+
}, function(error2) {
|
| 877 |
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
| 878 |
+
var rejected = payload;
|
| 879 |
+
rejected._status = Rejected;
|
| 880 |
+
rejected._result = error2;
|
| 881 |
+
}
|
| 882 |
+
});
|
| 883 |
+
if (payload._status === Uninitialized) {
|
| 884 |
+
var pending = payload;
|
| 885 |
+
pending._status = Pending;
|
| 886 |
+
pending._result = thenable;
|
| 887 |
+
}
|
| 888 |
+
}
|
| 889 |
+
if (payload._status === Resolved) {
|
| 890 |
+
var moduleObject = payload._result;
|
| 891 |
+
{
|
| 892 |
+
if (moduleObject === void 0) {
|
| 893 |
+
error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", moduleObject);
|
| 894 |
+
}
|
| 895 |
+
}
|
| 896 |
+
{
|
| 897 |
+
if (!("default" in moduleObject)) {
|
| 898 |
+
error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", moduleObject);
|
| 899 |
+
}
|
| 900 |
+
}
|
| 901 |
+
return moduleObject.default;
|
| 902 |
+
} else {
|
| 903 |
+
throw payload._result;
|
| 904 |
+
}
|
| 905 |
+
}
|
| 906 |
+
function lazy(ctor) {
|
| 907 |
+
var payload = {
|
| 908 |
+
// We use these fields to store the result.
|
| 909 |
+
_status: Uninitialized,
|
| 910 |
+
_result: ctor
|
| 911 |
+
};
|
| 912 |
+
var lazyType = {
|
| 913 |
+
$$typeof: REACT_LAZY_TYPE,
|
| 914 |
+
_payload: payload,
|
| 915 |
+
_init: lazyInitializer
|
| 916 |
+
};
|
| 917 |
+
{
|
| 918 |
+
var defaultProps;
|
| 919 |
+
var propTypes;
|
| 920 |
+
Object.defineProperties(lazyType, {
|
| 921 |
+
defaultProps: {
|
| 922 |
+
configurable: true,
|
| 923 |
+
get: function() {
|
| 924 |
+
return defaultProps;
|
| 925 |
+
},
|
| 926 |
+
set: function(newDefaultProps) {
|
| 927 |
+
error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
|
| 928 |
+
defaultProps = newDefaultProps;
|
| 929 |
+
Object.defineProperty(lazyType, "defaultProps", {
|
| 930 |
+
enumerable: true
|
| 931 |
+
});
|
| 932 |
+
}
|
| 933 |
+
},
|
| 934 |
+
propTypes: {
|
| 935 |
+
configurable: true,
|
| 936 |
+
get: function() {
|
| 937 |
+
return propTypes;
|
| 938 |
+
},
|
| 939 |
+
set: function(newPropTypes) {
|
| 940 |
+
error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
|
| 941 |
+
propTypes = newPropTypes;
|
| 942 |
+
Object.defineProperty(lazyType, "propTypes", {
|
| 943 |
+
enumerable: true
|
| 944 |
+
});
|
| 945 |
+
}
|
| 946 |
+
}
|
| 947 |
+
});
|
| 948 |
+
}
|
| 949 |
+
return lazyType;
|
| 950 |
+
}
|
| 951 |
+
function forwardRef(render) {
|
| 952 |
+
{
|
| 953 |
+
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
|
| 954 |
+
error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
|
| 955 |
+
} else if (typeof render !== "function") {
|
| 956 |
+
error("forwardRef requires a render function but was given %s.", render === null ? "null" : typeof render);
|
| 957 |
+
} else {
|
| 958 |
+
if (render.length !== 0 && render.length !== 2) {
|
| 959 |
+
error("forwardRef render functions accept exactly two parameters: props and ref. %s", render.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
|
| 960 |
+
}
|
| 961 |
+
}
|
| 962 |
+
if (render != null) {
|
| 963 |
+
if (render.defaultProps != null || render.propTypes != null) {
|
| 964 |
+
error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
| 965 |
+
}
|
| 966 |
+
}
|
| 967 |
+
}
|
| 968 |
+
var elementType = {
|
| 969 |
+
$$typeof: REACT_FORWARD_REF_TYPE,
|
| 970 |
+
render
|
| 971 |
+
};
|
| 972 |
+
{
|
| 973 |
+
var ownName;
|
| 974 |
+
Object.defineProperty(elementType, "displayName", {
|
| 975 |
+
enumerable: false,
|
| 976 |
+
configurable: true,
|
| 977 |
+
get: function() {
|
| 978 |
+
return ownName;
|
| 979 |
+
},
|
| 980 |
+
set: function(name) {
|
| 981 |
+
ownName = name;
|
| 982 |
+
if (!render.name && !render.displayName) {
|
| 983 |
+
render.displayName = name;
|
| 984 |
+
}
|
| 985 |
+
}
|
| 986 |
+
});
|
| 987 |
+
}
|
| 988 |
+
return elementType;
|
| 989 |
+
}
|
| 990 |
+
var REACT_MODULE_REFERENCE;
|
| 991 |
+
{
|
| 992 |
+
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
| 993 |
+
}
|
| 994 |
+
function isValidElementType(type) {
|
| 995 |
+
if (typeof type === "string" || typeof type === "function") {
|
| 996 |
+
return true;
|
| 997 |
+
}
|
| 998 |
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
| 999 |
+
return true;
|
| 1000 |
+
}
|
| 1001 |
+
if (typeof type === "object" && type !== null) {
|
| 1002 |
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
| 1003 |
+
// types supported by any Flight configuration anywhere since
|
| 1004 |
+
// we don't know which Flight build this will end up being used
|
| 1005 |
+
// with.
|
| 1006 |
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
|
| 1007 |
+
return true;
|
| 1008 |
+
}
|
| 1009 |
+
}
|
| 1010 |
+
return false;
|
| 1011 |
+
}
|
| 1012 |
+
function memo(type, compare) {
|
| 1013 |
+
{
|
| 1014 |
+
if (!isValidElementType(type)) {
|
| 1015 |
+
error("memo: The first argument must be a component. Instead received: %s", type === null ? "null" : typeof type);
|
| 1016 |
+
}
|
| 1017 |
+
}
|
| 1018 |
+
var elementType = {
|
| 1019 |
+
$$typeof: REACT_MEMO_TYPE,
|
| 1020 |
+
type,
|
| 1021 |
+
compare: compare === void 0 ? null : compare
|
| 1022 |
+
};
|
| 1023 |
+
{
|
| 1024 |
+
var ownName;
|
| 1025 |
+
Object.defineProperty(elementType, "displayName", {
|
| 1026 |
+
enumerable: false,
|
| 1027 |
+
configurable: true,
|
| 1028 |
+
get: function() {
|
| 1029 |
+
return ownName;
|
| 1030 |
+
},
|
| 1031 |
+
set: function(name) {
|
| 1032 |
+
ownName = name;
|
| 1033 |
+
if (!type.name && !type.displayName) {
|
| 1034 |
+
type.displayName = name;
|
| 1035 |
+
}
|
| 1036 |
+
}
|
| 1037 |
+
});
|
| 1038 |
+
}
|
| 1039 |
+
return elementType;
|
| 1040 |
+
}
|
| 1041 |
+
function resolveDispatcher() {
|
| 1042 |
+
var dispatcher = ReactCurrentDispatcher.current;
|
| 1043 |
+
{
|
| 1044 |
+
if (dispatcher === null) {
|
| 1045 |
+
error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");
|
| 1046 |
+
}
|
| 1047 |
+
}
|
| 1048 |
+
return dispatcher;
|
| 1049 |
+
}
|
| 1050 |
+
function useContext(Context) {
|
| 1051 |
+
var dispatcher = resolveDispatcher();
|
| 1052 |
+
{
|
| 1053 |
+
if (Context._context !== void 0) {
|
| 1054 |
+
var realContext = Context._context;
|
| 1055 |
+
if (realContext.Consumer === Context) {
|
| 1056 |
+
error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?");
|
| 1057 |
+
} else if (realContext.Provider === Context) {
|
| 1058 |
+
error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
| 1059 |
+
}
|
| 1060 |
+
}
|
| 1061 |
+
}
|
| 1062 |
+
return dispatcher.useContext(Context);
|
| 1063 |
+
}
|
| 1064 |
+
function useState(initialState) {
|
| 1065 |
+
var dispatcher = resolveDispatcher();
|
| 1066 |
+
return dispatcher.useState(initialState);
|
| 1067 |
+
}
|
| 1068 |
+
function useReducer(reducer, initialArg, init) {
|
| 1069 |
+
var dispatcher = resolveDispatcher();
|
| 1070 |
+
return dispatcher.useReducer(reducer, initialArg, init);
|
| 1071 |
+
}
|
| 1072 |
+
function useRef(initialValue) {
|
| 1073 |
+
var dispatcher = resolveDispatcher();
|
| 1074 |
+
return dispatcher.useRef(initialValue);
|
| 1075 |
+
}
|
| 1076 |
+
function useEffect(create, deps) {
|
| 1077 |
+
var dispatcher = resolveDispatcher();
|
| 1078 |
+
return dispatcher.useEffect(create, deps);
|
| 1079 |
+
}
|
| 1080 |
+
function useInsertionEffect(create, deps) {
|
| 1081 |
+
var dispatcher = resolveDispatcher();
|
| 1082 |
+
return dispatcher.useInsertionEffect(create, deps);
|
| 1083 |
+
}
|
| 1084 |
+
function useLayoutEffect(create, deps) {
|
| 1085 |
+
var dispatcher = resolveDispatcher();
|
| 1086 |
+
return dispatcher.useLayoutEffect(create, deps);
|
| 1087 |
+
}
|
| 1088 |
+
function useCallback(callback, deps) {
|
| 1089 |
+
var dispatcher = resolveDispatcher();
|
| 1090 |
+
return dispatcher.useCallback(callback, deps);
|
| 1091 |
+
}
|
| 1092 |
+
function useMemo(create, deps) {
|
| 1093 |
+
var dispatcher = resolveDispatcher();
|
| 1094 |
+
return dispatcher.useMemo(create, deps);
|
| 1095 |
+
}
|
| 1096 |
+
function useImperativeHandle(ref, create, deps) {
|
| 1097 |
+
var dispatcher = resolveDispatcher();
|
| 1098 |
+
return dispatcher.useImperativeHandle(ref, create, deps);
|
| 1099 |
+
}
|
| 1100 |
+
function useDebugValue(value, formatterFn) {
|
| 1101 |
+
{
|
| 1102 |
+
var dispatcher = resolveDispatcher();
|
| 1103 |
+
return dispatcher.useDebugValue(value, formatterFn);
|
| 1104 |
+
}
|
| 1105 |
+
}
|
| 1106 |
+
function useTransition() {
|
| 1107 |
+
var dispatcher = resolveDispatcher();
|
| 1108 |
+
return dispatcher.useTransition();
|
| 1109 |
+
}
|
| 1110 |
+
function useDeferredValue(value) {
|
| 1111 |
+
var dispatcher = resolveDispatcher();
|
| 1112 |
+
return dispatcher.useDeferredValue(value);
|
| 1113 |
+
}
|
| 1114 |
+
function useId() {
|
| 1115 |
+
var dispatcher = resolveDispatcher();
|
| 1116 |
+
return dispatcher.useId();
|
| 1117 |
+
}
|
| 1118 |
+
function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
|
| 1119 |
+
var dispatcher = resolveDispatcher();
|
| 1120 |
+
return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
| 1121 |
+
}
|
| 1122 |
+
var disabledDepth = 0;
|
| 1123 |
+
var prevLog;
|
| 1124 |
+
var prevInfo;
|
| 1125 |
+
var prevWarn;
|
| 1126 |
+
var prevError;
|
| 1127 |
+
var prevGroup;
|
| 1128 |
+
var prevGroupCollapsed;
|
| 1129 |
+
var prevGroupEnd;
|
| 1130 |
+
function disabledLog() {
|
| 1131 |
+
}
|
| 1132 |
+
disabledLog.__reactDisabledLog = true;
|
| 1133 |
+
function disableLogs() {
|
| 1134 |
+
{
|
| 1135 |
+
if (disabledDepth === 0) {
|
| 1136 |
+
prevLog = console.log;
|
| 1137 |
+
prevInfo = console.info;
|
| 1138 |
+
prevWarn = console.warn;
|
| 1139 |
+
prevError = console.error;
|
| 1140 |
+
prevGroup = console.group;
|
| 1141 |
+
prevGroupCollapsed = console.groupCollapsed;
|
| 1142 |
+
prevGroupEnd = console.groupEnd;
|
| 1143 |
+
var props = {
|
| 1144 |
+
configurable: true,
|
| 1145 |
+
enumerable: true,
|
| 1146 |
+
value: disabledLog,
|
| 1147 |
+
writable: true
|
| 1148 |
+
};
|
| 1149 |
+
Object.defineProperties(console, {
|
| 1150 |
+
info: props,
|
| 1151 |
+
log: props,
|
| 1152 |
+
warn: props,
|
| 1153 |
+
error: props,
|
| 1154 |
+
group: props,
|
| 1155 |
+
groupCollapsed: props,
|
| 1156 |
+
groupEnd: props
|
| 1157 |
+
});
|
| 1158 |
+
}
|
| 1159 |
+
disabledDepth++;
|
| 1160 |
+
}
|
| 1161 |
+
}
|
| 1162 |
+
function reenableLogs() {
|
| 1163 |
+
{
|
| 1164 |
+
disabledDepth--;
|
| 1165 |
+
if (disabledDepth === 0) {
|
| 1166 |
+
var props = {
|
| 1167 |
+
configurable: true,
|
| 1168 |
+
enumerable: true,
|
| 1169 |
+
writable: true
|
| 1170 |
+
};
|
| 1171 |
+
Object.defineProperties(console, {
|
| 1172 |
+
log: assign({}, props, {
|
| 1173 |
+
value: prevLog
|
| 1174 |
+
}),
|
| 1175 |
+
info: assign({}, props, {
|
| 1176 |
+
value: prevInfo
|
| 1177 |
+
}),
|
| 1178 |
+
warn: assign({}, props, {
|
| 1179 |
+
value: prevWarn
|
| 1180 |
+
}),
|
| 1181 |
+
error: assign({}, props, {
|
| 1182 |
+
value: prevError
|
| 1183 |
+
}),
|
| 1184 |
+
group: assign({}, props, {
|
| 1185 |
+
value: prevGroup
|
| 1186 |
+
}),
|
| 1187 |
+
groupCollapsed: assign({}, props, {
|
| 1188 |
+
value: prevGroupCollapsed
|
| 1189 |
+
}),
|
| 1190 |
+
groupEnd: assign({}, props, {
|
| 1191 |
+
value: prevGroupEnd
|
| 1192 |
+
})
|
| 1193 |
+
});
|
| 1194 |
+
}
|
| 1195 |
+
if (disabledDepth < 0) {
|
| 1196 |
+
error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
| 1197 |
+
}
|
| 1198 |
+
}
|
| 1199 |
+
}
|
| 1200 |
+
var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
|
| 1201 |
+
var prefix;
|
| 1202 |
+
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
| 1203 |
+
{
|
| 1204 |
+
if (prefix === void 0) {
|
| 1205 |
+
try {
|
| 1206 |
+
throw Error();
|
| 1207 |
+
} catch (x) {
|
| 1208 |
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
| 1209 |
+
prefix = match && match[1] || "";
|
| 1210 |
+
}
|
| 1211 |
+
}
|
| 1212 |
+
return "\n" + prefix + name;
|
| 1213 |
+
}
|
| 1214 |
+
}
|
| 1215 |
+
var reentry = false;
|
| 1216 |
+
var componentFrameCache;
|
| 1217 |
+
{
|
| 1218 |
+
var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
|
| 1219 |
+
componentFrameCache = new PossiblyWeakMap();
|
| 1220 |
+
}
|
| 1221 |
+
function describeNativeComponentFrame(fn, construct) {
|
| 1222 |
+
if (!fn || reentry) {
|
| 1223 |
+
return "";
|
| 1224 |
+
}
|
| 1225 |
+
{
|
| 1226 |
+
var frame = componentFrameCache.get(fn);
|
| 1227 |
+
if (frame !== void 0) {
|
| 1228 |
+
return frame;
|
| 1229 |
+
}
|
| 1230 |
+
}
|
| 1231 |
+
var control;
|
| 1232 |
+
reentry = true;
|
| 1233 |
+
var previousPrepareStackTrace = Error.prepareStackTrace;
|
| 1234 |
+
Error.prepareStackTrace = void 0;
|
| 1235 |
+
var previousDispatcher;
|
| 1236 |
+
{
|
| 1237 |
+
previousDispatcher = ReactCurrentDispatcher$1.current;
|
| 1238 |
+
ReactCurrentDispatcher$1.current = null;
|
| 1239 |
+
disableLogs();
|
| 1240 |
+
}
|
| 1241 |
+
try {
|
| 1242 |
+
if (construct) {
|
| 1243 |
+
var Fake = function() {
|
| 1244 |
+
throw Error();
|
| 1245 |
+
};
|
| 1246 |
+
Object.defineProperty(Fake.prototype, "props", {
|
| 1247 |
+
set: function() {
|
| 1248 |
+
throw Error();
|
| 1249 |
+
}
|
| 1250 |
+
});
|
| 1251 |
+
if (typeof Reflect === "object" && Reflect.construct) {
|
| 1252 |
+
try {
|
| 1253 |
+
Reflect.construct(Fake, []);
|
| 1254 |
+
} catch (x) {
|
| 1255 |
+
control = x;
|
| 1256 |
+
}
|
| 1257 |
+
Reflect.construct(fn, [], Fake);
|
| 1258 |
+
} else {
|
| 1259 |
+
try {
|
| 1260 |
+
Fake.call();
|
| 1261 |
+
} catch (x) {
|
| 1262 |
+
control = x;
|
| 1263 |
+
}
|
| 1264 |
+
fn.call(Fake.prototype);
|
| 1265 |
+
}
|
| 1266 |
+
} else {
|
| 1267 |
+
try {
|
| 1268 |
+
throw Error();
|
| 1269 |
+
} catch (x) {
|
| 1270 |
+
control = x;
|
| 1271 |
+
}
|
| 1272 |
+
fn();
|
| 1273 |
+
}
|
| 1274 |
+
} catch (sample) {
|
| 1275 |
+
if (sample && control && typeof sample.stack === "string") {
|
| 1276 |
+
var sampleLines = sample.stack.split("\n");
|
| 1277 |
+
var controlLines = control.stack.split("\n");
|
| 1278 |
+
var s = sampleLines.length - 1;
|
| 1279 |
+
var c = controlLines.length - 1;
|
| 1280 |
+
while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
|
| 1281 |
+
c--;
|
| 1282 |
+
}
|
| 1283 |
+
for (; s >= 1 && c >= 0; s--, c--) {
|
| 1284 |
+
if (sampleLines[s] !== controlLines[c]) {
|
| 1285 |
+
if (s !== 1 || c !== 1) {
|
| 1286 |
+
do {
|
| 1287 |
+
s--;
|
| 1288 |
+
c--;
|
| 1289 |
+
if (c < 0 || sampleLines[s] !== controlLines[c]) {
|
| 1290 |
+
var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
|
| 1291 |
+
if (fn.displayName && _frame.includes("<anonymous>")) {
|
| 1292 |
+
_frame = _frame.replace("<anonymous>", fn.displayName);
|
| 1293 |
+
}
|
| 1294 |
+
{
|
| 1295 |
+
if (typeof fn === "function") {
|
| 1296 |
+
componentFrameCache.set(fn, _frame);
|
| 1297 |
+
}
|
| 1298 |
+
}
|
| 1299 |
+
return _frame;
|
| 1300 |
+
}
|
| 1301 |
+
} while (s >= 1 && c >= 0);
|
| 1302 |
+
}
|
| 1303 |
+
break;
|
| 1304 |
+
}
|
| 1305 |
+
}
|
| 1306 |
+
}
|
| 1307 |
+
} finally {
|
| 1308 |
+
reentry = false;
|
| 1309 |
+
{
|
| 1310 |
+
ReactCurrentDispatcher$1.current = previousDispatcher;
|
| 1311 |
+
reenableLogs();
|
| 1312 |
+
}
|
| 1313 |
+
Error.prepareStackTrace = previousPrepareStackTrace;
|
| 1314 |
+
}
|
| 1315 |
+
var name = fn ? fn.displayName || fn.name : "";
|
| 1316 |
+
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
|
| 1317 |
+
{
|
| 1318 |
+
if (typeof fn === "function") {
|
| 1319 |
+
componentFrameCache.set(fn, syntheticFrame);
|
| 1320 |
+
}
|
| 1321 |
+
}
|
| 1322 |
+
return syntheticFrame;
|
| 1323 |
+
}
|
| 1324 |
+
function describeFunctionComponentFrame(fn, source, ownerFn) {
|
| 1325 |
+
{
|
| 1326 |
+
return describeNativeComponentFrame(fn, false);
|
| 1327 |
+
}
|
| 1328 |
+
}
|
| 1329 |
+
function shouldConstruct(Component2) {
|
| 1330 |
+
var prototype = Component2.prototype;
|
| 1331 |
+
return !!(prototype && prototype.isReactComponent);
|
| 1332 |
+
}
|
| 1333 |
+
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
| 1334 |
+
if (type == null) {
|
| 1335 |
+
return "";
|
| 1336 |
+
}
|
| 1337 |
+
if (typeof type === "function") {
|
| 1338 |
+
{
|
| 1339 |
+
return describeNativeComponentFrame(type, shouldConstruct(type));
|
| 1340 |
+
}
|
| 1341 |
+
}
|
| 1342 |
+
if (typeof type === "string") {
|
| 1343 |
+
return describeBuiltInComponentFrame(type);
|
| 1344 |
+
}
|
| 1345 |
+
switch (type) {
|
| 1346 |
+
case REACT_SUSPENSE_TYPE:
|
| 1347 |
+
return describeBuiltInComponentFrame("Suspense");
|
| 1348 |
+
case REACT_SUSPENSE_LIST_TYPE:
|
| 1349 |
+
return describeBuiltInComponentFrame("SuspenseList");
|
| 1350 |
+
}
|
| 1351 |
+
if (typeof type === "object") {
|
| 1352 |
+
switch (type.$$typeof) {
|
| 1353 |
+
case REACT_FORWARD_REF_TYPE:
|
| 1354 |
+
return describeFunctionComponentFrame(type.render);
|
| 1355 |
+
case REACT_MEMO_TYPE:
|
| 1356 |
+
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
|
| 1357 |
+
case REACT_LAZY_TYPE: {
|
| 1358 |
+
var lazyComponent = type;
|
| 1359 |
+
var payload = lazyComponent._payload;
|
| 1360 |
+
var init = lazyComponent._init;
|
| 1361 |
+
try {
|
| 1362 |
+
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
| 1363 |
+
} catch (x) {
|
| 1364 |
+
}
|
| 1365 |
+
}
|
| 1366 |
+
}
|
| 1367 |
+
}
|
| 1368 |
+
return "";
|
| 1369 |
+
}
|
| 1370 |
+
var loggedTypeFailures = {};
|
| 1371 |
+
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
|
| 1372 |
+
function setCurrentlyValidatingElement(element) {
|
| 1373 |
+
{
|
| 1374 |
+
if (element) {
|
| 1375 |
+
var owner = element._owner;
|
| 1376 |
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
| 1377 |
+
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
|
| 1378 |
+
} else {
|
| 1379 |
+
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
|
| 1380 |
+
}
|
| 1381 |
+
}
|
| 1382 |
+
}
|
| 1383 |
+
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
| 1384 |
+
{
|
| 1385 |
+
var has = Function.call.bind(hasOwnProperty);
|
| 1386 |
+
for (var typeSpecName in typeSpecs) {
|
| 1387 |
+
if (has(typeSpecs, typeSpecName)) {
|
| 1388 |
+
var error$1 = void 0;
|
| 1389 |
+
try {
|
| 1390 |
+
if (typeof typeSpecs[typeSpecName] !== "function") {
|
| 1391 |
+
var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
| 1392 |
+
err.name = "Invariant Violation";
|
| 1393 |
+
throw err;
|
| 1394 |
+
}
|
| 1395 |
+
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
| 1396 |
+
} catch (ex) {
|
| 1397 |
+
error$1 = ex;
|
| 1398 |
+
}
|
| 1399 |
+
if (error$1 && !(error$1 instanceof Error)) {
|
| 1400 |
+
setCurrentlyValidatingElement(element);
|
| 1401 |
+
error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
|
| 1402 |
+
setCurrentlyValidatingElement(null);
|
| 1403 |
+
}
|
| 1404 |
+
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
| 1405 |
+
loggedTypeFailures[error$1.message] = true;
|
| 1406 |
+
setCurrentlyValidatingElement(element);
|
| 1407 |
+
error("Failed %s type: %s", location, error$1.message);
|
| 1408 |
+
setCurrentlyValidatingElement(null);
|
| 1409 |
+
}
|
| 1410 |
+
}
|
| 1411 |
+
}
|
| 1412 |
+
}
|
| 1413 |
+
}
|
| 1414 |
+
function setCurrentlyValidatingElement$1(element) {
|
| 1415 |
+
{
|
| 1416 |
+
if (element) {
|
| 1417 |
+
var owner = element._owner;
|
| 1418 |
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
| 1419 |
+
setExtraStackFrame(stack);
|
| 1420 |
+
} else {
|
| 1421 |
+
setExtraStackFrame(null);
|
| 1422 |
+
}
|
| 1423 |
+
}
|
| 1424 |
+
}
|
| 1425 |
+
var propTypesMisspellWarningShown;
|
| 1426 |
+
{
|
| 1427 |
+
propTypesMisspellWarningShown = false;
|
| 1428 |
+
}
|
| 1429 |
+
function getDeclarationErrorAddendum() {
|
| 1430 |
+
if (ReactCurrentOwner.current) {
|
| 1431 |
+
var name = getComponentNameFromType(ReactCurrentOwner.current.type);
|
| 1432 |
+
if (name) {
|
| 1433 |
+
return "\n\nCheck the render method of `" + name + "`.";
|
| 1434 |
+
}
|
| 1435 |
+
}
|
| 1436 |
+
return "";
|
| 1437 |
+
}
|
| 1438 |
+
function getSourceInfoErrorAddendum(source) {
|
| 1439 |
+
if (source !== void 0) {
|
| 1440 |
+
var fileName = source.fileName.replace(/^.*[\\\/]/, "");
|
| 1441 |
+
var lineNumber = source.lineNumber;
|
| 1442 |
+
return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
|
| 1443 |
+
}
|
| 1444 |
+
return "";
|
| 1445 |
+
}
|
| 1446 |
+
function getSourceInfoErrorAddendumForProps(elementProps) {
|
| 1447 |
+
if (elementProps !== null && elementProps !== void 0) {
|
| 1448 |
+
return getSourceInfoErrorAddendum(elementProps.__source);
|
| 1449 |
+
}
|
| 1450 |
+
return "";
|
| 1451 |
+
}
|
| 1452 |
+
var ownerHasKeyUseWarning = {};
|
| 1453 |
+
function getCurrentComponentErrorInfo(parentType) {
|
| 1454 |
+
var info = getDeclarationErrorAddendum();
|
| 1455 |
+
if (!info) {
|
| 1456 |
+
var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
|
| 1457 |
+
if (parentName) {
|
| 1458 |
+
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
| 1459 |
+
}
|
| 1460 |
+
}
|
| 1461 |
+
return info;
|
| 1462 |
+
}
|
| 1463 |
+
function validateExplicitKey(element, parentType) {
|
| 1464 |
+
if (!element._store || element._store.validated || element.key != null) {
|
| 1465 |
+
return;
|
| 1466 |
+
}
|
| 1467 |
+
element._store.validated = true;
|
| 1468 |
+
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
| 1469 |
+
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
| 1470 |
+
return;
|
| 1471 |
+
}
|
| 1472 |
+
ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
|
| 1473 |
+
var childOwner = "";
|
| 1474 |
+
if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
|
| 1475 |
+
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
|
| 1476 |
+
}
|
| 1477 |
+
{
|
| 1478 |
+
setCurrentlyValidatingElement$1(element);
|
| 1479 |
+
error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
| 1480 |
+
setCurrentlyValidatingElement$1(null);
|
| 1481 |
+
}
|
| 1482 |
+
}
|
| 1483 |
+
function validateChildKeys(node, parentType) {
|
| 1484 |
+
if (typeof node !== "object") {
|
| 1485 |
+
return;
|
| 1486 |
+
}
|
| 1487 |
+
if (isArray(node)) {
|
| 1488 |
+
for (var i = 0; i < node.length; i++) {
|
| 1489 |
+
var child = node[i];
|
| 1490 |
+
if (isValidElement(child)) {
|
| 1491 |
+
validateExplicitKey(child, parentType);
|
| 1492 |
+
}
|
| 1493 |
+
}
|
| 1494 |
+
} else if (isValidElement(node)) {
|
| 1495 |
+
if (node._store) {
|
| 1496 |
+
node._store.validated = true;
|
| 1497 |
+
}
|
| 1498 |
+
} else if (node) {
|
| 1499 |
+
var iteratorFn = getIteratorFn(node);
|
| 1500 |
+
if (typeof iteratorFn === "function") {
|
| 1501 |
+
if (iteratorFn !== node.entries) {
|
| 1502 |
+
var iterator = iteratorFn.call(node);
|
| 1503 |
+
var step;
|
| 1504 |
+
while (!(step = iterator.next()).done) {
|
| 1505 |
+
if (isValidElement(step.value)) {
|
| 1506 |
+
validateExplicitKey(step.value, parentType);
|
| 1507 |
+
}
|
| 1508 |
+
}
|
| 1509 |
+
}
|
| 1510 |
+
}
|
| 1511 |
+
}
|
| 1512 |
+
}
|
| 1513 |
+
function validatePropTypes(element) {
|
| 1514 |
+
{
|
| 1515 |
+
var type = element.type;
|
| 1516 |
+
if (type === null || type === void 0 || typeof type === "string") {
|
| 1517 |
+
return;
|
| 1518 |
+
}
|
| 1519 |
+
var propTypes;
|
| 1520 |
+
if (typeof type === "function") {
|
| 1521 |
+
propTypes = type.propTypes;
|
| 1522 |
+
} else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
| 1523 |
+
// Inner props are checked in the reconciler.
|
| 1524 |
+
type.$$typeof === REACT_MEMO_TYPE)) {
|
| 1525 |
+
propTypes = type.propTypes;
|
| 1526 |
+
} else {
|
| 1527 |
+
return;
|
| 1528 |
+
}
|
| 1529 |
+
if (propTypes) {
|
| 1530 |
+
var name = getComponentNameFromType(type);
|
| 1531 |
+
checkPropTypes(propTypes, element.props, "prop", name, element);
|
| 1532 |
+
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
| 1533 |
+
propTypesMisspellWarningShown = true;
|
| 1534 |
+
var _name = getComponentNameFromType(type);
|
| 1535 |
+
error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
|
| 1536 |
+
}
|
| 1537 |
+
if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
|
| 1538 |
+
error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
| 1539 |
+
}
|
| 1540 |
+
}
|
| 1541 |
+
}
|
| 1542 |
+
function validateFragmentProps(fragment) {
|
| 1543 |
+
{
|
| 1544 |
+
var keys = Object.keys(fragment.props);
|
| 1545 |
+
for (var i = 0; i < keys.length; i++) {
|
| 1546 |
+
var key = keys[i];
|
| 1547 |
+
if (key !== "children" && key !== "key") {
|
| 1548 |
+
setCurrentlyValidatingElement$1(fragment);
|
| 1549 |
+
error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
|
| 1550 |
+
setCurrentlyValidatingElement$1(null);
|
| 1551 |
+
break;
|
| 1552 |
+
}
|
| 1553 |
+
}
|
| 1554 |
+
if (fragment.ref !== null) {
|
| 1555 |
+
setCurrentlyValidatingElement$1(fragment);
|
| 1556 |
+
error("Invalid attribute `ref` supplied to `React.Fragment`.");
|
| 1557 |
+
setCurrentlyValidatingElement$1(null);
|
| 1558 |
+
}
|
| 1559 |
+
}
|
| 1560 |
+
}
|
| 1561 |
+
function createElementWithValidation(type, props, children) {
|
| 1562 |
+
var validType = isValidElementType(type);
|
| 1563 |
+
if (!validType) {
|
| 1564 |
+
var info = "";
|
| 1565 |
+
if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
|
| 1566 |
+
info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
| 1567 |
+
}
|
| 1568 |
+
var sourceInfo = getSourceInfoErrorAddendumForProps(props);
|
| 1569 |
+
if (sourceInfo) {
|
| 1570 |
+
info += sourceInfo;
|
| 1571 |
+
} else {
|
| 1572 |
+
info += getDeclarationErrorAddendum();
|
| 1573 |
+
}
|
| 1574 |
+
var typeString;
|
| 1575 |
+
if (type === null) {
|
| 1576 |
+
typeString = "null";
|
| 1577 |
+
} else if (isArray(type)) {
|
| 1578 |
+
typeString = "array";
|
| 1579 |
+
} else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
|
| 1580 |
+
typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
|
| 1581 |
+
info = " Did you accidentally export a JSX literal instead of a component?";
|
| 1582 |
+
} else {
|
| 1583 |
+
typeString = typeof type;
|
| 1584 |
+
}
|
| 1585 |
+
{
|
| 1586 |
+
error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
|
| 1587 |
+
}
|
| 1588 |
+
}
|
| 1589 |
+
var element = createElement.apply(this, arguments);
|
| 1590 |
+
if (element == null) {
|
| 1591 |
+
return element;
|
| 1592 |
+
}
|
| 1593 |
+
if (validType) {
|
| 1594 |
+
for (var i = 2; i < arguments.length; i++) {
|
| 1595 |
+
validateChildKeys(arguments[i], type);
|
| 1596 |
+
}
|
| 1597 |
+
}
|
| 1598 |
+
if (type === REACT_FRAGMENT_TYPE) {
|
| 1599 |
+
validateFragmentProps(element);
|
| 1600 |
+
} else {
|
| 1601 |
+
validatePropTypes(element);
|
| 1602 |
+
}
|
| 1603 |
+
return element;
|
| 1604 |
+
}
|
| 1605 |
+
var didWarnAboutDeprecatedCreateFactory = false;
|
| 1606 |
+
function createFactoryWithValidation(type) {
|
| 1607 |
+
var validatedFactory = createElementWithValidation.bind(null, type);
|
| 1608 |
+
validatedFactory.type = type;
|
| 1609 |
+
{
|
| 1610 |
+
if (!didWarnAboutDeprecatedCreateFactory) {
|
| 1611 |
+
didWarnAboutDeprecatedCreateFactory = true;
|
| 1612 |
+
warn("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");
|
| 1613 |
+
}
|
| 1614 |
+
Object.defineProperty(validatedFactory, "type", {
|
| 1615 |
+
enumerable: false,
|
| 1616 |
+
get: function() {
|
| 1617 |
+
warn("Factory.type is deprecated. Access the class directly before passing it to createFactory.");
|
| 1618 |
+
Object.defineProperty(this, "type", {
|
| 1619 |
+
value: type
|
| 1620 |
+
});
|
| 1621 |
+
return type;
|
| 1622 |
+
}
|
| 1623 |
+
});
|
| 1624 |
+
}
|
| 1625 |
+
return validatedFactory;
|
| 1626 |
+
}
|
| 1627 |
+
function cloneElementWithValidation(element, props, children) {
|
| 1628 |
+
var newElement = cloneElement.apply(this, arguments);
|
| 1629 |
+
for (var i = 2; i < arguments.length; i++) {
|
| 1630 |
+
validateChildKeys(arguments[i], newElement.type);
|
| 1631 |
+
}
|
| 1632 |
+
validatePropTypes(newElement);
|
| 1633 |
+
return newElement;
|
| 1634 |
+
}
|
| 1635 |
+
function startTransition(scope, options) {
|
| 1636 |
+
var prevTransition = ReactCurrentBatchConfig.transition;
|
| 1637 |
+
ReactCurrentBatchConfig.transition = {};
|
| 1638 |
+
var currentTransition = ReactCurrentBatchConfig.transition;
|
| 1639 |
+
{
|
| 1640 |
+
ReactCurrentBatchConfig.transition._updatedFibers = /* @__PURE__ */ new Set();
|
| 1641 |
+
}
|
| 1642 |
+
try {
|
| 1643 |
+
scope();
|
| 1644 |
+
} finally {
|
| 1645 |
+
ReactCurrentBatchConfig.transition = prevTransition;
|
| 1646 |
+
{
|
| 1647 |
+
if (prevTransition === null && currentTransition._updatedFibers) {
|
| 1648 |
+
var updatedFibersCount = currentTransition._updatedFibers.size;
|
| 1649 |
+
if (updatedFibersCount > 10) {
|
| 1650 |
+
warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.");
|
| 1651 |
+
}
|
| 1652 |
+
currentTransition._updatedFibers.clear();
|
| 1653 |
+
}
|
| 1654 |
+
}
|
| 1655 |
+
}
|
| 1656 |
+
}
|
| 1657 |
+
var didWarnAboutMessageChannel = false;
|
| 1658 |
+
var enqueueTaskImpl = null;
|
| 1659 |
+
function enqueueTask(task) {
|
| 1660 |
+
if (enqueueTaskImpl === null) {
|
| 1661 |
+
try {
|
| 1662 |
+
var requireString = ("require" + Math.random()).slice(0, 7);
|
| 1663 |
+
var nodeRequire = module && module[requireString];
|
| 1664 |
+
enqueueTaskImpl = nodeRequire.call(module, "timers").setImmediate;
|
| 1665 |
+
} catch (_err) {
|
| 1666 |
+
enqueueTaskImpl = function(callback) {
|
| 1667 |
+
{
|
| 1668 |
+
if (didWarnAboutMessageChannel === false) {
|
| 1669 |
+
didWarnAboutMessageChannel = true;
|
| 1670 |
+
if (typeof MessageChannel === "undefined") {
|
| 1671 |
+
error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.");
|
| 1672 |
+
}
|
| 1673 |
+
}
|
| 1674 |
+
}
|
| 1675 |
+
var channel = new MessageChannel();
|
| 1676 |
+
channel.port1.onmessage = callback;
|
| 1677 |
+
channel.port2.postMessage(void 0);
|
| 1678 |
+
};
|
| 1679 |
+
}
|
| 1680 |
+
}
|
| 1681 |
+
return enqueueTaskImpl(task);
|
| 1682 |
+
}
|
| 1683 |
+
var actScopeDepth = 0;
|
| 1684 |
+
var didWarnNoAwaitAct = false;
|
| 1685 |
+
function act(callback) {
|
| 1686 |
+
{
|
| 1687 |
+
var prevActScopeDepth = actScopeDepth;
|
| 1688 |
+
actScopeDepth++;
|
| 1689 |
+
if (ReactCurrentActQueue.current === null) {
|
| 1690 |
+
ReactCurrentActQueue.current = [];
|
| 1691 |
+
}
|
| 1692 |
+
var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
|
| 1693 |
+
var result;
|
| 1694 |
+
try {
|
| 1695 |
+
ReactCurrentActQueue.isBatchingLegacy = true;
|
| 1696 |
+
result = callback();
|
| 1697 |
+
if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
|
| 1698 |
+
var queue = ReactCurrentActQueue.current;
|
| 1699 |
+
if (queue !== null) {
|
| 1700 |
+
ReactCurrentActQueue.didScheduleLegacyUpdate = false;
|
| 1701 |
+
flushActQueue(queue);
|
| 1702 |
+
}
|
| 1703 |
+
}
|
| 1704 |
+
} catch (error2) {
|
| 1705 |
+
popActScope(prevActScopeDepth);
|
| 1706 |
+
throw error2;
|
| 1707 |
+
} finally {
|
| 1708 |
+
ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
|
| 1709 |
+
}
|
| 1710 |
+
if (result !== null && typeof result === "object" && typeof result.then === "function") {
|
| 1711 |
+
var thenableResult = result;
|
| 1712 |
+
var wasAwaited = false;
|
| 1713 |
+
var thenable = {
|
| 1714 |
+
then: function(resolve, reject) {
|
| 1715 |
+
wasAwaited = true;
|
| 1716 |
+
thenableResult.then(function(returnValue2) {
|
| 1717 |
+
popActScope(prevActScopeDepth);
|
| 1718 |
+
if (actScopeDepth === 0) {
|
| 1719 |
+
recursivelyFlushAsyncActWork(returnValue2, resolve, reject);
|
| 1720 |
+
} else {
|
| 1721 |
+
resolve(returnValue2);
|
| 1722 |
+
}
|
| 1723 |
+
}, function(error2) {
|
| 1724 |
+
popActScope(prevActScopeDepth);
|
| 1725 |
+
reject(error2);
|
| 1726 |
+
});
|
| 1727 |
+
}
|
| 1728 |
+
};
|
| 1729 |
+
{
|
| 1730 |
+
if (!didWarnNoAwaitAct && typeof Promise !== "undefined") {
|
| 1731 |
+
Promise.resolve().then(function() {
|
| 1732 |
+
}).then(function() {
|
| 1733 |
+
if (!wasAwaited) {
|
| 1734 |
+
didWarnNoAwaitAct = true;
|
| 1735 |
+
error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);");
|
| 1736 |
+
}
|
| 1737 |
+
});
|
| 1738 |
+
}
|
| 1739 |
+
}
|
| 1740 |
+
return thenable;
|
| 1741 |
+
} else {
|
| 1742 |
+
var returnValue = result;
|
| 1743 |
+
popActScope(prevActScopeDepth);
|
| 1744 |
+
if (actScopeDepth === 0) {
|
| 1745 |
+
var _queue = ReactCurrentActQueue.current;
|
| 1746 |
+
if (_queue !== null) {
|
| 1747 |
+
flushActQueue(_queue);
|
| 1748 |
+
ReactCurrentActQueue.current = null;
|
| 1749 |
+
}
|
| 1750 |
+
var _thenable = {
|
| 1751 |
+
then: function(resolve, reject) {
|
| 1752 |
+
if (ReactCurrentActQueue.current === null) {
|
| 1753 |
+
ReactCurrentActQueue.current = [];
|
| 1754 |
+
recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
| 1755 |
+
} else {
|
| 1756 |
+
resolve(returnValue);
|
| 1757 |
+
}
|
| 1758 |
+
}
|
| 1759 |
+
};
|
| 1760 |
+
return _thenable;
|
| 1761 |
+
} else {
|
| 1762 |
+
var _thenable2 = {
|
| 1763 |
+
then: function(resolve, reject) {
|
| 1764 |
+
resolve(returnValue);
|
| 1765 |
+
}
|
| 1766 |
+
};
|
| 1767 |
+
return _thenable2;
|
| 1768 |
+
}
|
| 1769 |
+
}
|
| 1770 |
+
}
|
| 1771 |
+
}
|
| 1772 |
+
function popActScope(prevActScopeDepth) {
|
| 1773 |
+
{
|
| 1774 |
+
if (prevActScopeDepth !== actScopeDepth - 1) {
|
| 1775 |
+
error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
|
| 1776 |
+
}
|
| 1777 |
+
actScopeDepth = prevActScopeDepth;
|
| 1778 |
+
}
|
| 1779 |
+
}
|
| 1780 |
+
function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
|
| 1781 |
+
{
|
| 1782 |
+
var queue = ReactCurrentActQueue.current;
|
| 1783 |
+
if (queue !== null) {
|
| 1784 |
+
try {
|
| 1785 |
+
flushActQueue(queue);
|
| 1786 |
+
enqueueTask(function() {
|
| 1787 |
+
if (queue.length === 0) {
|
| 1788 |
+
ReactCurrentActQueue.current = null;
|
| 1789 |
+
resolve(returnValue);
|
| 1790 |
+
} else {
|
| 1791 |
+
recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
| 1792 |
+
}
|
| 1793 |
+
});
|
| 1794 |
+
} catch (error2) {
|
| 1795 |
+
reject(error2);
|
| 1796 |
+
}
|
| 1797 |
+
} else {
|
| 1798 |
+
resolve(returnValue);
|
| 1799 |
+
}
|
| 1800 |
+
}
|
| 1801 |
+
}
|
| 1802 |
+
var isFlushing = false;
|
| 1803 |
+
function flushActQueue(queue) {
|
| 1804 |
+
{
|
| 1805 |
+
if (!isFlushing) {
|
| 1806 |
+
isFlushing = true;
|
| 1807 |
+
var i = 0;
|
| 1808 |
+
try {
|
| 1809 |
+
for (; i < queue.length; i++) {
|
| 1810 |
+
var callback = queue[i];
|
| 1811 |
+
do {
|
| 1812 |
+
callback = callback(true);
|
| 1813 |
+
} while (callback !== null);
|
| 1814 |
+
}
|
| 1815 |
+
queue.length = 0;
|
| 1816 |
+
} catch (error2) {
|
| 1817 |
+
queue = queue.slice(i + 1);
|
| 1818 |
+
throw error2;
|
| 1819 |
+
} finally {
|
| 1820 |
+
isFlushing = false;
|
| 1821 |
+
}
|
| 1822 |
+
}
|
| 1823 |
+
}
|
| 1824 |
+
}
|
| 1825 |
+
var createElement$1 = createElementWithValidation;
|
| 1826 |
+
var cloneElement$1 = cloneElementWithValidation;
|
| 1827 |
+
var createFactory = createFactoryWithValidation;
|
| 1828 |
+
var Children = {
|
| 1829 |
+
map: mapChildren,
|
| 1830 |
+
forEach: forEachChildren,
|
| 1831 |
+
count: countChildren,
|
| 1832 |
+
toArray,
|
| 1833 |
+
only: onlyChild
|
| 1834 |
+
};
|
| 1835 |
+
exports.Children = Children;
|
| 1836 |
+
exports.Component = Component;
|
| 1837 |
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
| 1838 |
+
exports.Profiler = REACT_PROFILER_TYPE;
|
| 1839 |
+
exports.PureComponent = PureComponent;
|
| 1840 |
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
| 1841 |
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
| 1842 |
+
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
|
| 1843 |
+
exports.act = act;
|
| 1844 |
+
exports.cloneElement = cloneElement$1;
|
| 1845 |
+
exports.createContext = createContext;
|
| 1846 |
+
exports.createElement = createElement$1;
|
| 1847 |
+
exports.createFactory = createFactory;
|
| 1848 |
+
exports.createRef = createRef;
|
| 1849 |
+
exports.forwardRef = forwardRef;
|
| 1850 |
+
exports.isValidElement = isValidElement;
|
| 1851 |
+
exports.lazy = lazy;
|
| 1852 |
+
exports.memo = memo;
|
| 1853 |
+
exports.startTransition = startTransition;
|
| 1854 |
+
exports.unstable_act = act;
|
| 1855 |
+
exports.useCallback = useCallback;
|
| 1856 |
+
exports.useContext = useContext;
|
| 1857 |
+
exports.useDebugValue = useDebugValue;
|
| 1858 |
+
exports.useDeferredValue = useDeferredValue;
|
| 1859 |
+
exports.useEffect = useEffect;
|
| 1860 |
+
exports.useId = useId;
|
| 1861 |
+
exports.useImperativeHandle = useImperativeHandle;
|
| 1862 |
+
exports.useInsertionEffect = useInsertionEffect;
|
| 1863 |
+
exports.useLayoutEffect = useLayoutEffect;
|
| 1864 |
+
exports.useMemo = useMemo;
|
| 1865 |
+
exports.useReducer = useReducer;
|
| 1866 |
+
exports.useRef = useRef;
|
| 1867 |
+
exports.useState = useState;
|
| 1868 |
+
exports.useSyncExternalStore = useSyncExternalStore;
|
| 1869 |
+
exports.useTransition = useTransition;
|
| 1870 |
+
exports.version = ReactVersion;
|
| 1871 |
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
|
| 1872 |
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
| 1873 |
+
}
|
| 1874 |
+
})();
|
| 1875 |
+
}
|
| 1876 |
+
}
|
| 1877 |
+
});
|
| 1878 |
+
|
| 1879 |
+
// node_modules/react/index.js
|
| 1880 |
+
var require_react = __commonJS({
|
| 1881 |
+
"node_modules/react/index.js"(exports, module) {
|
| 1882 |
+
if (false) {
|
| 1883 |
+
module.exports = null;
|
| 1884 |
+
} else {
|
| 1885 |
+
module.exports = require_react_development();
|
| 1886 |
+
}
|
| 1887 |
+
}
|
| 1888 |
+
});
|
| 1889 |
+
|
| 1890 |
+
export {
|
| 1891 |
+
require_react
|
| 1892 |
+
};
|
| 1893 |
+
/*! Bundled license information:
|
| 1894 |
+
|
| 1895 |
+
react/cjs/react.development.js:
|
| 1896 |
+
(**
|
| 1897 |
+
* @license React
|
| 1898 |
+
* react.development.js
|
| 1899 |
+
*
|
| 1900 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 1901 |
+
*
|
| 1902 |
+
* This source code is licensed under the MIT license found in the
|
| 1903 |
+
* LICENSE file in the root directory of this source tree.
|
| 1904 |
+
*)
|
| 1905 |
+
*/
|
| 1906 |
+
//# sourceMappingURL=chunk-YHPANKLD.js.map
|
node_modules/.vite/deps/chunk-YHPANKLD.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
node_modules/.vite/deps/jszip.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
node_modules/.vite/deps/jszip.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
node_modules/.vite/deps/lucide-react.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
node_modules/.vite/deps/lucide-react.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
node_modules/.vite/deps/package.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "module"
|
| 3 |
+
}
|
node_modules/.vite/deps/react-dom_client.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
node_modules/.vite/deps/react-dom_client.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
node_modules/.vite/deps/react.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import {
|
| 2 |
+
require_react
|
| 3 |
+
} from "./chunk-YHPANKLD.js";
|
| 4 |
+
import "./chunk-PR4QN5HX.js";
|
| 5 |
+
export default require_react();
|
| 6 |
+
//# sourceMappingURL=react.js.map
|
node_modules/.vite/deps/react.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": 3,
|
| 3 |
+
"sources": [],
|
| 4 |
+
"sourcesContent": [],
|
| 5 |
+
"mappings": "",
|
| 6 |
+
"names": []
|
| 7 |
+
}
|
node_modules/.vite/deps/react_jsx-dev-runtime.js
ADDED
|
@@ -0,0 +1,913 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import {
|
| 2 |
+
require_react
|
| 3 |
+
} from "./chunk-YHPANKLD.js";
|
| 4 |
+
import {
|
| 5 |
+
__commonJS
|
| 6 |
+
} from "./chunk-PR4QN5HX.js";
|
| 7 |
+
|
| 8 |
+
// node_modules/react/cjs/react-jsx-dev-runtime.development.js
|
| 9 |
+
var require_react_jsx_dev_runtime_development = __commonJS({
|
| 10 |
+
"node_modules/react/cjs/react-jsx-dev-runtime.development.js"(exports) {
|
| 11 |
+
"use strict";
|
| 12 |
+
if (true) {
|
| 13 |
+
(function() {
|
| 14 |
+
"use strict";
|
| 15 |
+
var React = require_react();
|
| 16 |
+
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
| 17 |
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
| 18 |
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
| 19 |
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
| 20 |
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
| 21 |
+
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
| 22 |
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
| 23 |
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
| 24 |
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
| 25 |
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
| 26 |
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
| 27 |
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
| 28 |
+
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
| 29 |
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
| 30 |
+
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
| 31 |
+
function getIteratorFn(maybeIterable) {
|
| 32 |
+
if (maybeIterable === null || typeof maybeIterable !== "object") {
|
| 33 |
+
return null;
|
| 34 |
+
}
|
| 35 |
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
| 36 |
+
if (typeof maybeIterator === "function") {
|
| 37 |
+
return maybeIterator;
|
| 38 |
+
}
|
| 39 |
+
return null;
|
| 40 |
+
}
|
| 41 |
+
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
| 42 |
+
function error(format) {
|
| 43 |
+
{
|
| 44 |
+
{
|
| 45 |
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
| 46 |
+
args[_key2 - 1] = arguments[_key2];
|
| 47 |
+
}
|
| 48 |
+
printWarning("error", format, args);
|
| 49 |
+
}
|
| 50 |
+
}
|
| 51 |
+
}
|
| 52 |
+
function printWarning(level, format, args) {
|
| 53 |
+
{
|
| 54 |
+
var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
|
| 55 |
+
var stack = ReactDebugCurrentFrame2.getStackAddendum();
|
| 56 |
+
if (stack !== "") {
|
| 57 |
+
format += "%s";
|
| 58 |
+
args = args.concat([stack]);
|
| 59 |
+
}
|
| 60 |
+
var argsWithFormat = args.map(function(item) {
|
| 61 |
+
return String(item);
|
| 62 |
+
});
|
| 63 |
+
argsWithFormat.unshift("Warning: " + format);
|
| 64 |
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
var enableScopeAPI = false;
|
| 68 |
+
var enableCacheElement = false;
|
| 69 |
+
var enableTransitionTracing = false;
|
| 70 |
+
var enableLegacyHidden = false;
|
| 71 |
+
var enableDebugTracing = false;
|
| 72 |
+
var REACT_MODULE_REFERENCE;
|
| 73 |
+
{
|
| 74 |
+
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
| 75 |
+
}
|
| 76 |
+
function isValidElementType(type) {
|
| 77 |
+
if (typeof type === "string" || typeof type === "function") {
|
| 78 |
+
return true;
|
| 79 |
+
}
|
| 80 |
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
| 81 |
+
return true;
|
| 82 |
+
}
|
| 83 |
+
if (typeof type === "object" && type !== null) {
|
| 84 |
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
| 85 |
+
// types supported by any Flight configuration anywhere since
|
| 86 |
+
// we don't know which Flight build this will end up being used
|
| 87 |
+
// with.
|
| 88 |
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
|
| 89 |
+
return true;
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
return false;
|
| 93 |
+
}
|
| 94 |
+
function getWrappedName(outerType, innerType, wrapperName) {
|
| 95 |
+
var displayName = outerType.displayName;
|
| 96 |
+
if (displayName) {
|
| 97 |
+
return displayName;
|
| 98 |
+
}
|
| 99 |
+
var functionName = innerType.displayName || innerType.name || "";
|
| 100 |
+
return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
|
| 101 |
+
}
|
| 102 |
+
function getContextName(type) {
|
| 103 |
+
return type.displayName || "Context";
|
| 104 |
+
}
|
| 105 |
+
function getComponentNameFromType(type) {
|
| 106 |
+
if (type == null) {
|
| 107 |
+
return null;
|
| 108 |
+
}
|
| 109 |
+
{
|
| 110 |
+
if (typeof type.tag === "number") {
|
| 111 |
+
error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
|
| 112 |
+
}
|
| 113 |
+
}
|
| 114 |
+
if (typeof type === "function") {
|
| 115 |
+
return type.displayName || type.name || null;
|
| 116 |
+
}
|
| 117 |
+
if (typeof type === "string") {
|
| 118 |
+
return type;
|
| 119 |
+
}
|
| 120 |
+
switch (type) {
|
| 121 |
+
case REACT_FRAGMENT_TYPE:
|
| 122 |
+
return "Fragment";
|
| 123 |
+
case REACT_PORTAL_TYPE:
|
| 124 |
+
return "Portal";
|
| 125 |
+
case REACT_PROFILER_TYPE:
|
| 126 |
+
return "Profiler";
|
| 127 |
+
case REACT_STRICT_MODE_TYPE:
|
| 128 |
+
return "StrictMode";
|
| 129 |
+
case REACT_SUSPENSE_TYPE:
|
| 130 |
+
return "Suspense";
|
| 131 |
+
case REACT_SUSPENSE_LIST_TYPE:
|
| 132 |
+
return "SuspenseList";
|
| 133 |
+
}
|
| 134 |
+
if (typeof type === "object") {
|
| 135 |
+
switch (type.$$typeof) {
|
| 136 |
+
case REACT_CONTEXT_TYPE:
|
| 137 |
+
var context = type;
|
| 138 |
+
return getContextName(context) + ".Consumer";
|
| 139 |
+
case REACT_PROVIDER_TYPE:
|
| 140 |
+
var provider = type;
|
| 141 |
+
return getContextName(provider._context) + ".Provider";
|
| 142 |
+
case REACT_FORWARD_REF_TYPE:
|
| 143 |
+
return getWrappedName(type, type.render, "ForwardRef");
|
| 144 |
+
case REACT_MEMO_TYPE:
|
| 145 |
+
var outerName = type.displayName || null;
|
| 146 |
+
if (outerName !== null) {
|
| 147 |
+
return outerName;
|
| 148 |
+
}
|
| 149 |
+
return getComponentNameFromType(type.type) || "Memo";
|
| 150 |
+
case REACT_LAZY_TYPE: {
|
| 151 |
+
var lazyComponent = type;
|
| 152 |
+
var payload = lazyComponent._payload;
|
| 153 |
+
var init = lazyComponent._init;
|
| 154 |
+
try {
|
| 155 |
+
return getComponentNameFromType(init(payload));
|
| 156 |
+
} catch (x) {
|
| 157 |
+
return null;
|
| 158 |
+
}
|
| 159 |
+
}
|
| 160 |
+
}
|
| 161 |
+
}
|
| 162 |
+
return null;
|
| 163 |
+
}
|
| 164 |
+
var assign = Object.assign;
|
| 165 |
+
var disabledDepth = 0;
|
| 166 |
+
var prevLog;
|
| 167 |
+
var prevInfo;
|
| 168 |
+
var prevWarn;
|
| 169 |
+
var prevError;
|
| 170 |
+
var prevGroup;
|
| 171 |
+
var prevGroupCollapsed;
|
| 172 |
+
var prevGroupEnd;
|
| 173 |
+
function disabledLog() {
|
| 174 |
+
}
|
| 175 |
+
disabledLog.__reactDisabledLog = true;
|
| 176 |
+
function disableLogs() {
|
| 177 |
+
{
|
| 178 |
+
if (disabledDepth === 0) {
|
| 179 |
+
prevLog = console.log;
|
| 180 |
+
prevInfo = console.info;
|
| 181 |
+
prevWarn = console.warn;
|
| 182 |
+
prevError = console.error;
|
| 183 |
+
prevGroup = console.group;
|
| 184 |
+
prevGroupCollapsed = console.groupCollapsed;
|
| 185 |
+
prevGroupEnd = console.groupEnd;
|
| 186 |
+
var props = {
|
| 187 |
+
configurable: true,
|
| 188 |
+
enumerable: true,
|
| 189 |
+
value: disabledLog,
|
| 190 |
+
writable: true
|
| 191 |
+
};
|
| 192 |
+
Object.defineProperties(console, {
|
| 193 |
+
info: props,
|
| 194 |
+
log: props,
|
| 195 |
+
warn: props,
|
| 196 |
+
error: props,
|
| 197 |
+
group: props,
|
| 198 |
+
groupCollapsed: props,
|
| 199 |
+
groupEnd: props
|
| 200 |
+
});
|
| 201 |
+
}
|
| 202 |
+
disabledDepth++;
|
| 203 |
+
}
|
| 204 |
+
}
|
| 205 |
+
function reenableLogs() {
|
| 206 |
+
{
|
| 207 |
+
disabledDepth--;
|
| 208 |
+
if (disabledDepth === 0) {
|
| 209 |
+
var props = {
|
| 210 |
+
configurable: true,
|
| 211 |
+
enumerable: true,
|
| 212 |
+
writable: true
|
| 213 |
+
};
|
| 214 |
+
Object.defineProperties(console, {
|
| 215 |
+
log: assign({}, props, {
|
| 216 |
+
value: prevLog
|
| 217 |
+
}),
|
| 218 |
+
info: assign({}, props, {
|
| 219 |
+
value: prevInfo
|
| 220 |
+
}),
|
| 221 |
+
warn: assign({}, props, {
|
| 222 |
+
value: prevWarn
|
| 223 |
+
}),
|
| 224 |
+
error: assign({}, props, {
|
| 225 |
+
value: prevError
|
| 226 |
+
}),
|
| 227 |
+
group: assign({}, props, {
|
| 228 |
+
value: prevGroup
|
| 229 |
+
}),
|
| 230 |
+
groupCollapsed: assign({}, props, {
|
| 231 |
+
value: prevGroupCollapsed
|
| 232 |
+
}),
|
| 233 |
+
groupEnd: assign({}, props, {
|
| 234 |
+
value: prevGroupEnd
|
| 235 |
+
})
|
| 236 |
+
});
|
| 237 |
+
}
|
| 238 |
+
if (disabledDepth < 0) {
|
| 239 |
+
error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
| 240 |
+
}
|
| 241 |
+
}
|
| 242 |
+
}
|
| 243 |
+
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
|
| 244 |
+
var prefix;
|
| 245 |
+
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
| 246 |
+
{
|
| 247 |
+
if (prefix === void 0) {
|
| 248 |
+
try {
|
| 249 |
+
throw Error();
|
| 250 |
+
} catch (x) {
|
| 251 |
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
| 252 |
+
prefix = match && match[1] || "";
|
| 253 |
+
}
|
| 254 |
+
}
|
| 255 |
+
return "\n" + prefix + name;
|
| 256 |
+
}
|
| 257 |
+
}
|
| 258 |
+
var reentry = false;
|
| 259 |
+
var componentFrameCache;
|
| 260 |
+
{
|
| 261 |
+
var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
|
| 262 |
+
componentFrameCache = new PossiblyWeakMap();
|
| 263 |
+
}
|
| 264 |
+
function describeNativeComponentFrame(fn, construct) {
|
| 265 |
+
if (!fn || reentry) {
|
| 266 |
+
return "";
|
| 267 |
+
}
|
| 268 |
+
{
|
| 269 |
+
var frame = componentFrameCache.get(fn);
|
| 270 |
+
if (frame !== void 0) {
|
| 271 |
+
return frame;
|
| 272 |
+
}
|
| 273 |
+
}
|
| 274 |
+
var control;
|
| 275 |
+
reentry = true;
|
| 276 |
+
var previousPrepareStackTrace = Error.prepareStackTrace;
|
| 277 |
+
Error.prepareStackTrace = void 0;
|
| 278 |
+
var previousDispatcher;
|
| 279 |
+
{
|
| 280 |
+
previousDispatcher = ReactCurrentDispatcher.current;
|
| 281 |
+
ReactCurrentDispatcher.current = null;
|
| 282 |
+
disableLogs();
|
| 283 |
+
}
|
| 284 |
+
try {
|
| 285 |
+
if (construct) {
|
| 286 |
+
var Fake = function() {
|
| 287 |
+
throw Error();
|
| 288 |
+
};
|
| 289 |
+
Object.defineProperty(Fake.prototype, "props", {
|
| 290 |
+
set: function() {
|
| 291 |
+
throw Error();
|
| 292 |
+
}
|
| 293 |
+
});
|
| 294 |
+
if (typeof Reflect === "object" && Reflect.construct) {
|
| 295 |
+
try {
|
| 296 |
+
Reflect.construct(Fake, []);
|
| 297 |
+
} catch (x) {
|
| 298 |
+
control = x;
|
| 299 |
+
}
|
| 300 |
+
Reflect.construct(fn, [], Fake);
|
| 301 |
+
} else {
|
| 302 |
+
try {
|
| 303 |
+
Fake.call();
|
| 304 |
+
} catch (x) {
|
| 305 |
+
control = x;
|
| 306 |
+
}
|
| 307 |
+
fn.call(Fake.prototype);
|
| 308 |
+
}
|
| 309 |
+
} else {
|
| 310 |
+
try {
|
| 311 |
+
throw Error();
|
| 312 |
+
} catch (x) {
|
| 313 |
+
control = x;
|
| 314 |
+
}
|
| 315 |
+
fn();
|
| 316 |
+
}
|
| 317 |
+
} catch (sample) {
|
| 318 |
+
if (sample && control && typeof sample.stack === "string") {
|
| 319 |
+
var sampleLines = sample.stack.split("\n");
|
| 320 |
+
var controlLines = control.stack.split("\n");
|
| 321 |
+
var s = sampleLines.length - 1;
|
| 322 |
+
var c = controlLines.length - 1;
|
| 323 |
+
while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
|
| 324 |
+
c--;
|
| 325 |
+
}
|
| 326 |
+
for (; s >= 1 && c >= 0; s--, c--) {
|
| 327 |
+
if (sampleLines[s] !== controlLines[c]) {
|
| 328 |
+
if (s !== 1 || c !== 1) {
|
| 329 |
+
do {
|
| 330 |
+
s--;
|
| 331 |
+
c--;
|
| 332 |
+
if (c < 0 || sampleLines[s] !== controlLines[c]) {
|
| 333 |
+
var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
|
| 334 |
+
if (fn.displayName && _frame.includes("<anonymous>")) {
|
| 335 |
+
_frame = _frame.replace("<anonymous>", fn.displayName);
|
| 336 |
+
}
|
| 337 |
+
{
|
| 338 |
+
if (typeof fn === "function") {
|
| 339 |
+
componentFrameCache.set(fn, _frame);
|
| 340 |
+
}
|
| 341 |
+
}
|
| 342 |
+
return _frame;
|
| 343 |
+
}
|
| 344 |
+
} while (s >= 1 && c >= 0);
|
| 345 |
+
}
|
| 346 |
+
break;
|
| 347 |
+
}
|
| 348 |
+
}
|
| 349 |
+
}
|
| 350 |
+
} finally {
|
| 351 |
+
reentry = false;
|
| 352 |
+
{
|
| 353 |
+
ReactCurrentDispatcher.current = previousDispatcher;
|
| 354 |
+
reenableLogs();
|
| 355 |
+
}
|
| 356 |
+
Error.prepareStackTrace = previousPrepareStackTrace;
|
| 357 |
+
}
|
| 358 |
+
var name = fn ? fn.displayName || fn.name : "";
|
| 359 |
+
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
|
| 360 |
+
{
|
| 361 |
+
if (typeof fn === "function") {
|
| 362 |
+
componentFrameCache.set(fn, syntheticFrame);
|
| 363 |
+
}
|
| 364 |
+
}
|
| 365 |
+
return syntheticFrame;
|
| 366 |
+
}
|
| 367 |
+
function describeFunctionComponentFrame(fn, source, ownerFn) {
|
| 368 |
+
{
|
| 369 |
+
return describeNativeComponentFrame(fn, false);
|
| 370 |
+
}
|
| 371 |
+
}
|
| 372 |
+
function shouldConstruct(Component) {
|
| 373 |
+
var prototype = Component.prototype;
|
| 374 |
+
return !!(prototype && prototype.isReactComponent);
|
| 375 |
+
}
|
| 376 |
+
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
| 377 |
+
if (type == null) {
|
| 378 |
+
return "";
|
| 379 |
+
}
|
| 380 |
+
if (typeof type === "function") {
|
| 381 |
+
{
|
| 382 |
+
return describeNativeComponentFrame(type, shouldConstruct(type));
|
| 383 |
+
}
|
| 384 |
+
}
|
| 385 |
+
if (typeof type === "string") {
|
| 386 |
+
return describeBuiltInComponentFrame(type);
|
| 387 |
+
}
|
| 388 |
+
switch (type) {
|
| 389 |
+
case REACT_SUSPENSE_TYPE:
|
| 390 |
+
return describeBuiltInComponentFrame("Suspense");
|
| 391 |
+
case REACT_SUSPENSE_LIST_TYPE:
|
| 392 |
+
return describeBuiltInComponentFrame("SuspenseList");
|
| 393 |
+
}
|
| 394 |
+
if (typeof type === "object") {
|
| 395 |
+
switch (type.$$typeof) {
|
| 396 |
+
case REACT_FORWARD_REF_TYPE:
|
| 397 |
+
return describeFunctionComponentFrame(type.render);
|
| 398 |
+
case REACT_MEMO_TYPE:
|
| 399 |
+
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
|
| 400 |
+
case REACT_LAZY_TYPE: {
|
| 401 |
+
var lazyComponent = type;
|
| 402 |
+
var payload = lazyComponent._payload;
|
| 403 |
+
var init = lazyComponent._init;
|
| 404 |
+
try {
|
| 405 |
+
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
| 406 |
+
} catch (x) {
|
| 407 |
+
}
|
| 408 |
+
}
|
| 409 |
+
}
|
| 410 |
+
}
|
| 411 |
+
return "";
|
| 412 |
+
}
|
| 413 |
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
| 414 |
+
var loggedTypeFailures = {};
|
| 415 |
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
| 416 |
+
function setCurrentlyValidatingElement(element) {
|
| 417 |
+
{
|
| 418 |
+
if (element) {
|
| 419 |
+
var owner = element._owner;
|
| 420 |
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
| 421 |
+
ReactDebugCurrentFrame.setExtraStackFrame(stack);
|
| 422 |
+
} else {
|
| 423 |
+
ReactDebugCurrentFrame.setExtraStackFrame(null);
|
| 424 |
+
}
|
| 425 |
+
}
|
| 426 |
+
}
|
| 427 |
+
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
| 428 |
+
{
|
| 429 |
+
var has = Function.call.bind(hasOwnProperty);
|
| 430 |
+
for (var typeSpecName in typeSpecs) {
|
| 431 |
+
if (has(typeSpecs, typeSpecName)) {
|
| 432 |
+
var error$1 = void 0;
|
| 433 |
+
try {
|
| 434 |
+
if (typeof typeSpecs[typeSpecName] !== "function") {
|
| 435 |
+
var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
| 436 |
+
err.name = "Invariant Violation";
|
| 437 |
+
throw err;
|
| 438 |
+
}
|
| 439 |
+
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
| 440 |
+
} catch (ex) {
|
| 441 |
+
error$1 = ex;
|
| 442 |
+
}
|
| 443 |
+
if (error$1 && !(error$1 instanceof Error)) {
|
| 444 |
+
setCurrentlyValidatingElement(element);
|
| 445 |
+
error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
|
| 446 |
+
setCurrentlyValidatingElement(null);
|
| 447 |
+
}
|
| 448 |
+
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
| 449 |
+
loggedTypeFailures[error$1.message] = true;
|
| 450 |
+
setCurrentlyValidatingElement(element);
|
| 451 |
+
error("Failed %s type: %s", location, error$1.message);
|
| 452 |
+
setCurrentlyValidatingElement(null);
|
| 453 |
+
}
|
| 454 |
+
}
|
| 455 |
+
}
|
| 456 |
+
}
|
| 457 |
+
}
|
| 458 |
+
var isArrayImpl = Array.isArray;
|
| 459 |
+
function isArray(a) {
|
| 460 |
+
return isArrayImpl(a);
|
| 461 |
+
}
|
| 462 |
+
function typeName(value) {
|
| 463 |
+
{
|
| 464 |
+
var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
|
| 465 |
+
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
| 466 |
+
return type;
|
| 467 |
+
}
|
| 468 |
+
}
|
| 469 |
+
function willCoercionThrow(value) {
|
| 470 |
+
{
|
| 471 |
+
try {
|
| 472 |
+
testStringCoercion(value);
|
| 473 |
+
return false;
|
| 474 |
+
} catch (e) {
|
| 475 |
+
return true;
|
| 476 |
+
}
|
| 477 |
+
}
|
| 478 |
+
}
|
| 479 |
+
function testStringCoercion(value) {
|
| 480 |
+
return "" + value;
|
| 481 |
+
}
|
| 482 |
+
function checkKeyStringCoercion(value) {
|
| 483 |
+
{
|
| 484 |
+
if (willCoercionThrow(value)) {
|
| 485 |
+
error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
|
| 486 |
+
return testStringCoercion(value);
|
| 487 |
+
}
|
| 488 |
+
}
|
| 489 |
+
}
|
| 490 |
+
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
| 491 |
+
var RESERVED_PROPS = {
|
| 492 |
+
key: true,
|
| 493 |
+
ref: true,
|
| 494 |
+
__self: true,
|
| 495 |
+
__source: true
|
| 496 |
+
};
|
| 497 |
+
var specialPropKeyWarningShown;
|
| 498 |
+
var specialPropRefWarningShown;
|
| 499 |
+
var didWarnAboutStringRefs;
|
| 500 |
+
{
|
| 501 |
+
didWarnAboutStringRefs = {};
|
| 502 |
+
}
|
| 503 |
+
function hasValidRef(config) {
|
| 504 |
+
{
|
| 505 |
+
if (hasOwnProperty.call(config, "ref")) {
|
| 506 |
+
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
|
| 507 |
+
if (getter && getter.isReactWarning) {
|
| 508 |
+
return false;
|
| 509 |
+
}
|
| 510 |
+
}
|
| 511 |
+
}
|
| 512 |
+
return config.ref !== void 0;
|
| 513 |
+
}
|
| 514 |
+
function hasValidKey(config) {
|
| 515 |
+
{
|
| 516 |
+
if (hasOwnProperty.call(config, "key")) {
|
| 517 |
+
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
| 518 |
+
if (getter && getter.isReactWarning) {
|
| 519 |
+
return false;
|
| 520 |
+
}
|
| 521 |
+
}
|
| 522 |
+
}
|
| 523 |
+
return config.key !== void 0;
|
| 524 |
+
}
|
| 525 |
+
function warnIfStringRefCannotBeAutoConverted(config, self) {
|
| 526 |
+
{
|
| 527 |
+
if (typeof config.ref === "string" && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
|
| 528 |
+
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
|
| 529 |
+
if (!didWarnAboutStringRefs[componentName]) {
|
| 530 |
+
error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);
|
| 531 |
+
didWarnAboutStringRefs[componentName] = true;
|
| 532 |
+
}
|
| 533 |
+
}
|
| 534 |
+
}
|
| 535 |
+
}
|
| 536 |
+
function defineKeyPropWarningGetter(props, displayName) {
|
| 537 |
+
{
|
| 538 |
+
var warnAboutAccessingKey = function() {
|
| 539 |
+
if (!specialPropKeyWarningShown) {
|
| 540 |
+
specialPropKeyWarningShown = true;
|
| 541 |
+
error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
|
| 542 |
+
}
|
| 543 |
+
};
|
| 544 |
+
warnAboutAccessingKey.isReactWarning = true;
|
| 545 |
+
Object.defineProperty(props, "key", {
|
| 546 |
+
get: warnAboutAccessingKey,
|
| 547 |
+
configurable: true
|
| 548 |
+
});
|
| 549 |
+
}
|
| 550 |
+
}
|
| 551 |
+
function defineRefPropWarningGetter(props, displayName) {
|
| 552 |
+
{
|
| 553 |
+
var warnAboutAccessingRef = function() {
|
| 554 |
+
if (!specialPropRefWarningShown) {
|
| 555 |
+
specialPropRefWarningShown = true;
|
| 556 |
+
error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
|
| 557 |
+
}
|
| 558 |
+
};
|
| 559 |
+
warnAboutAccessingRef.isReactWarning = true;
|
| 560 |
+
Object.defineProperty(props, "ref", {
|
| 561 |
+
get: warnAboutAccessingRef,
|
| 562 |
+
configurable: true
|
| 563 |
+
});
|
| 564 |
+
}
|
| 565 |
+
}
|
| 566 |
+
var ReactElement = function(type, key, ref, self, source, owner, props) {
|
| 567 |
+
var element = {
|
| 568 |
+
// This tag allows us to uniquely identify this as a React Element
|
| 569 |
+
$$typeof: REACT_ELEMENT_TYPE,
|
| 570 |
+
// Built-in properties that belong on the element
|
| 571 |
+
type,
|
| 572 |
+
key,
|
| 573 |
+
ref,
|
| 574 |
+
props,
|
| 575 |
+
// Record the component responsible for creating this element.
|
| 576 |
+
_owner: owner
|
| 577 |
+
};
|
| 578 |
+
{
|
| 579 |
+
element._store = {};
|
| 580 |
+
Object.defineProperty(element._store, "validated", {
|
| 581 |
+
configurable: false,
|
| 582 |
+
enumerable: false,
|
| 583 |
+
writable: true,
|
| 584 |
+
value: false
|
| 585 |
+
});
|
| 586 |
+
Object.defineProperty(element, "_self", {
|
| 587 |
+
configurable: false,
|
| 588 |
+
enumerable: false,
|
| 589 |
+
writable: false,
|
| 590 |
+
value: self
|
| 591 |
+
});
|
| 592 |
+
Object.defineProperty(element, "_source", {
|
| 593 |
+
configurable: false,
|
| 594 |
+
enumerable: false,
|
| 595 |
+
writable: false,
|
| 596 |
+
value: source
|
| 597 |
+
});
|
| 598 |
+
if (Object.freeze) {
|
| 599 |
+
Object.freeze(element.props);
|
| 600 |
+
Object.freeze(element);
|
| 601 |
+
}
|
| 602 |
+
}
|
| 603 |
+
return element;
|
| 604 |
+
};
|
| 605 |
+
function jsxDEV(type, config, maybeKey, source, self) {
|
| 606 |
+
{
|
| 607 |
+
var propName;
|
| 608 |
+
var props = {};
|
| 609 |
+
var key = null;
|
| 610 |
+
var ref = null;
|
| 611 |
+
if (maybeKey !== void 0) {
|
| 612 |
+
{
|
| 613 |
+
checkKeyStringCoercion(maybeKey);
|
| 614 |
+
}
|
| 615 |
+
key = "" + maybeKey;
|
| 616 |
+
}
|
| 617 |
+
if (hasValidKey(config)) {
|
| 618 |
+
{
|
| 619 |
+
checkKeyStringCoercion(config.key);
|
| 620 |
+
}
|
| 621 |
+
key = "" + config.key;
|
| 622 |
+
}
|
| 623 |
+
if (hasValidRef(config)) {
|
| 624 |
+
ref = config.ref;
|
| 625 |
+
warnIfStringRefCannotBeAutoConverted(config, self);
|
| 626 |
+
}
|
| 627 |
+
for (propName in config) {
|
| 628 |
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
| 629 |
+
props[propName] = config[propName];
|
| 630 |
+
}
|
| 631 |
+
}
|
| 632 |
+
if (type && type.defaultProps) {
|
| 633 |
+
var defaultProps = type.defaultProps;
|
| 634 |
+
for (propName in defaultProps) {
|
| 635 |
+
if (props[propName] === void 0) {
|
| 636 |
+
props[propName] = defaultProps[propName];
|
| 637 |
+
}
|
| 638 |
+
}
|
| 639 |
+
}
|
| 640 |
+
if (key || ref) {
|
| 641 |
+
var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
|
| 642 |
+
if (key) {
|
| 643 |
+
defineKeyPropWarningGetter(props, displayName);
|
| 644 |
+
}
|
| 645 |
+
if (ref) {
|
| 646 |
+
defineRefPropWarningGetter(props, displayName);
|
| 647 |
+
}
|
| 648 |
+
}
|
| 649 |
+
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
|
| 650 |
+
}
|
| 651 |
+
}
|
| 652 |
+
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
|
| 653 |
+
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
|
| 654 |
+
function setCurrentlyValidatingElement$1(element) {
|
| 655 |
+
{
|
| 656 |
+
if (element) {
|
| 657 |
+
var owner = element._owner;
|
| 658 |
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
| 659 |
+
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
|
| 660 |
+
} else {
|
| 661 |
+
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
|
| 662 |
+
}
|
| 663 |
+
}
|
| 664 |
+
}
|
| 665 |
+
var propTypesMisspellWarningShown;
|
| 666 |
+
{
|
| 667 |
+
propTypesMisspellWarningShown = false;
|
| 668 |
+
}
|
| 669 |
+
function isValidElement(object) {
|
| 670 |
+
{
|
| 671 |
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
| 672 |
+
}
|
| 673 |
+
}
|
| 674 |
+
function getDeclarationErrorAddendum() {
|
| 675 |
+
{
|
| 676 |
+
if (ReactCurrentOwner$1.current) {
|
| 677 |
+
var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
|
| 678 |
+
if (name) {
|
| 679 |
+
return "\n\nCheck the render method of `" + name + "`.";
|
| 680 |
+
}
|
| 681 |
+
}
|
| 682 |
+
return "";
|
| 683 |
+
}
|
| 684 |
+
}
|
| 685 |
+
function getSourceInfoErrorAddendum(source) {
|
| 686 |
+
{
|
| 687 |
+
if (source !== void 0) {
|
| 688 |
+
var fileName = source.fileName.replace(/^.*[\\\/]/, "");
|
| 689 |
+
var lineNumber = source.lineNumber;
|
| 690 |
+
return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
|
| 691 |
+
}
|
| 692 |
+
return "";
|
| 693 |
+
}
|
| 694 |
+
}
|
| 695 |
+
var ownerHasKeyUseWarning = {};
|
| 696 |
+
function getCurrentComponentErrorInfo(parentType) {
|
| 697 |
+
{
|
| 698 |
+
var info = getDeclarationErrorAddendum();
|
| 699 |
+
if (!info) {
|
| 700 |
+
var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
|
| 701 |
+
if (parentName) {
|
| 702 |
+
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
| 703 |
+
}
|
| 704 |
+
}
|
| 705 |
+
return info;
|
| 706 |
+
}
|
| 707 |
+
}
|
| 708 |
+
function validateExplicitKey(element, parentType) {
|
| 709 |
+
{
|
| 710 |
+
if (!element._store || element._store.validated || element.key != null) {
|
| 711 |
+
return;
|
| 712 |
+
}
|
| 713 |
+
element._store.validated = true;
|
| 714 |
+
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
| 715 |
+
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
| 716 |
+
return;
|
| 717 |
+
}
|
| 718 |
+
ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
|
| 719 |
+
var childOwner = "";
|
| 720 |
+
if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
|
| 721 |
+
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
|
| 722 |
+
}
|
| 723 |
+
setCurrentlyValidatingElement$1(element);
|
| 724 |
+
error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
| 725 |
+
setCurrentlyValidatingElement$1(null);
|
| 726 |
+
}
|
| 727 |
+
}
|
| 728 |
+
function validateChildKeys(node, parentType) {
|
| 729 |
+
{
|
| 730 |
+
if (typeof node !== "object") {
|
| 731 |
+
return;
|
| 732 |
+
}
|
| 733 |
+
if (isArray(node)) {
|
| 734 |
+
for (var i = 0; i < node.length; i++) {
|
| 735 |
+
var child = node[i];
|
| 736 |
+
if (isValidElement(child)) {
|
| 737 |
+
validateExplicitKey(child, parentType);
|
| 738 |
+
}
|
| 739 |
+
}
|
| 740 |
+
} else if (isValidElement(node)) {
|
| 741 |
+
if (node._store) {
|
| 742 |
+
node._store.validated = true;
|
| 743 |
+
}
|
| 744 |
+
} else if (node) {
|
| 745 |
+
var iteratorFn = getIteratorFn(node);
|
| 746 |
+
if (typeof iteratorFn === "function") {
|
| 747 |
+
if (iteratorFn !== node.entries) {
|
| 748 |
+
var iterator = iteratorFn.call(node);
|
| 749 |
+
var step;
|
| 750 |
+
while (!(step = iterator.next()).done) {
|
| 751 |
+
if (isValidElement(step.value)) {
|
| 752 |
+
validateExplicitKey(step.value, parentType);
|
| 753 |
+
}
|
| 754 |
+
}
|
| 755 |
+
}
|
| 756 |
+
}
|
| 757 |
+
}
|
| 758 |
+
}
|
| 759 |
+
}
|
| 760 |
+
function validatePropTypes(element) {
|
| 761 |
+
{
|
| 762 |
+
var type = element.type;
|
| 763 |
+
if (type === null || type === void 0 || typeof type === "string") {
|
| 764 |
+
return;
|
| 765 |
+
}
|
| 766 |
+
var propTypes;
|
| 767 |
+
if (typeof type === "function") {
|
| 768 |
+
propTypes = type.propTypes;
|
| 769 |
+
} else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
| 770 |
+
// Inner props are checked in the reconciler.
|
| 771 |
+
type.$$typeof === REACT_MEMO_TYPE)) {
|
| 772 |
+
propTypes = type.propTypes;
|
| 773 |
+
} else {
|
| 774 |
+
return;
|
| 775 |
+
}
|
| 776 |
+
if (propTypes) {
|
| 777 |
+
var name = getComponentNameFromType(type);
|
| 778 |
+
checkPropTypes(propTypes, element.props, "prop", name, element);
|
| 779 |
+
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
| 780 |
+
propTypesMisspellWarningShown = true;
|
| 781 |
+
var _name = getComponentNameFromType(type);
|
| 782 |
+
error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
|
| 783 |
+
}
|
| 784 |
+
if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
|
| 785 |
+
error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
| 786 |
+
}
|
| 787 |
+
}
|
| 788 |
+
}
|
| 789 |
+
function validateFragmentProps(fragment) {
|
| 790 |
+
{
|
| 791 |
+
var keys = Object.keys(fragment.props);
|
| 792 |
+
for (var i = 0; i < keys.length; i++) {
|
| 793 |
+
var key = keys[i];
|
| 794 |
+
if (key !== "children" && key !== "key") {
|
| 795 |
+
setCurrentlyValidatingElement$1(fragment);
|
| 796 |
+
error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
|
| 797 |
+
setCurrentlyValidatingElement$1(null);
|
| 798 |
+
break;
|
| 799 |
+
}
|
| 800 |
+
}
|
| 801 |
+
if (fragment.ref !== null) {
|
| 802 |
+
setCurrentlyValidatingElement$1(fragment);
|
| 803 |
+
error("Invalid attribute `ref` supplied to `React.Fragment`.");
|
| 804 |
+
setCurrentlyValidatingElement$1(null);
|
| 805 |
+
}
|
| 806 |
+
}
|
| 807 |
+
}
|
| 808 |
+
var didWarnAboutKeySpread = {};
|
| 809 |
+
function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
|
| 810 |
+
{
|
| 811 |
+
var validType = isValidElementType(type);
|
| 812 |
+
if (!validType) {
|
| 813 |
+
var info = "";
|
| 814 |
+
if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
|
| 815 |
+
info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
| 816 |
+
}
|
| 817 |
+
var sourceInfo = getSourceInfoErrorAddendum(source);
|
| 818 |
+
if (sourceInfo) {
|
| 819 |
+
info += sourceInfo;
|
| 820 |
+
} else {
|
| 821 |
+
info += getDeclarationErrorAddendum();
|
| 822 |
+
}
|
| 823 |
+
var typeString;
|
| 824 |
+
if (type === null) {
|
| 825 |
+
typeString = "null";
|
| 826 |
+
} else if (isArray(type)) {
|
| 827 |
+
typeString = "array";
|
| 828 |
+
} else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
|
| 829 |
+
typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
|
| 830 |
+
info = " Did you accidentally export a JSX literal instead of a component?";
|
| 831 |
+
} else {
|
| 832 |
+
typeString = typeof type;
|
| 833 |
+
}
|
| 834 |
+
error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
|
| 835 |
+
}
|
| 836 |
+
var element = jsxDEV(type, props, key, source, self);
|
| 837 |
+
if (element == null) {
|
| 838 |
+
return element;
|
| 839 |
+
}
|
| 840 |
+
if (validType) {
|
| 841 |
+
var children = props.children;
|
| 842 |
+
if (children !== void 0) {
|
| 843 |
+
if (isStaticChildren) {
|
| 844 |
+
if (isArray(children)) {
|
| 845 |
+
for (var i = 0; i < children.length; i++) {
|
| 846 |
+
validateChildKeys(children[i], type);
|
| 847 |
+
}
|
| 848 |
+
if (Object.freeze) {
|
| 849 |
+
Object.freeze(children);
|
| 850 |
+
}
|
| 851 |
+
} else {
|
| 852 |
+
error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
| 853 |
+
}
|
| 854 |
+
} else {
|
| 855 |
+
validateChildKeys(children, type);
|
| 856 |
+
}
|
| 857 |
+
}
|
| 858 |
+
}
|
| 859 |
+
{
|
| 860 |
+
if (hasOwnProperty.call(props, "key")) {
|
| 861 |
+
var componentName = getComponentNameFromType(type);
|
| 862 |
+
var keys = Object.keys(props).filter(function(k) {
|
| 863 |
+
return k !== "key";
|
| 864 |
+
});
|
| 865 |
+
var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
| 866 |
+
if (!didWarnAboutKeySpread[componentName + beforeExample]) {
|
| 867 |
+
var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
|
| 868 |
+
error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
|
| 869 |
+
didWarnAboutKeySpread[componentName + beforeExample] = true;
|
| 870 |
+
}
|
| 871 |
+
}
|
| 872 |
+
}
|
| 873 |
+
if (type === REACT_FRAGMENT_TYPE) {
|
| 874 |
+
validateFragmentProps(element);
|
| 875 |
+
} else {
|
| 876 |
+
validatePropTypes(element);
|
| 877 |
+
}
|
| 878 |
+
return element;
|
| 879 |
+
}
|
| 880 |
+
}
|
| 881 |
+
var jsxDEV$1 = jsxWithValidation;
|
| 882 |
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
| 883 |
+
exports.jsxDEV = jsxDEV$1;
|
| 884 |
+
})();
|
| 885 |
+
}
|
| 886 |
+
}
|
| 887 |
+
});
|
| 888 |
+
|
| 889 |
+
// node_modules/react/jsx-dev-runtime.js
|
| 890 |
+
var require_jsx_dev_runtime = __commonJS({
|
| 891 |
+
"node_modules/react/jsx-dev-runtime.js"(exports, module) {
|
| 892 |
+
if (false) {
|
| 893 |
+
module.exports = null;
|
| 894 |
+
} else {
|
| 895 |
+
module.exports = require_react_jsx_dev_runtime_development();
|
| 896 |
+
}
|
| 897 |
+
}
|
| 898 |
+
});
|
| 899 |
+
export default require_jsx_dev_runtime();
|
| 900 |
+
/*! Bundled license information:
|
| 901 |
+
|
| 902 |
+
react/cjs/react-jsx-dev-runtime.development.js:
|
| 903 |
+
(**
|
| 904 |
+
* @license React
|
| 905 |
+
* react-jsx-dev-runtime.development.js
|
| 906 |
+
*
|
| 907 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 908 |
+
*
|
| 909 |
+
* This source code is licensed under the MIT license found in the
|
| 910 |
+
* LICENSE file in the root directory of this source tree.
|
| 911 |
+
*)
|
| 912 |
+
*/
|
| 913 |
+
//# sourceMappingURL=react_jsx-dev-runtime.js.map
|
node_modules/.vite/deps/react_jsx-dev-runtime.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": 3,
|
| 3 |
+
"sources": ["../../react/cjs/react-jsx-dev-runtime.development.js", "../../react/jsx-dev-runtime.js"],
|
| 4 |
+
"sourcesContent": ["/**\n * @license React\n * react-jsx-dev-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n\nvar jsxDEV$1 = jsxWithValidation ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsxDEV = jsxDEV$1;\n })();\n}\n", "'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-dev-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-dev-runtime.development.js');\n}\n"],
|
| 5 |
+
"mappings": ";;;;;;;;AAAA;AAAA;AAAA;AAYA,QAAI,MAAu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4QN5HX.js";
|
| 7 |
+
|
| 8 |
+
// node_modules/react/cjs/react-jsx-runtime.development.js
|
| 9 |
+
var require_react_jsx_runtime_development = __commonJS({
|
| 10 |
+
"node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
|
| 11 |
+
"use strict";
|
| 12 |
+
if (true) {
|
| 13 |
+
(function() {
|
| 14 |
+
"use strict";
|
| 15 |
+
var React = require_react();
|
| 16 |
+
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
| 17 |
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
| 18 |
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
| 19 |
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
| 20 |
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
| 21 |
+
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
| 22 |
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
| 23 |
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
| 24 |
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
| 25 |
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
| 26 |
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
| 27 |
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
| 28 |
+
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
| 29 |
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
| 30 |
+
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
| 31 |
+
function getIteratorFn(maybeIterable) {
|
| 32 |
+
if (maybeIterable === null || typeof maybeIterable !== "object") {
|
| 33 |
+
return null;
|
| 34 |
+
}
|
| 35 |
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
| 36 |
+
if (typeof maybeIterator === "function") {
|
| 37 |
+
return maybeIterator;
|
| 38 |
+
}
|
| 39 |
+
return null;
|
| 40 |
+
}
|
| 41 |
+
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
| 42 |
+
function error(format) {
|
| 43 |
+
{
|
| 44 |
+
{
|
| 45 |
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
| 46 |
+
args[_key2 - 1] = arguments[_key2];
|
| 47 |
+
}
|
| 48 |
+
printWarning("error", format, args);
|
| 49 |
+
}
|
| 50 |
+
}
|
| 51 |
+
}
|
| 52 |
+
function printWarning(level, format, args) {
|
| 53 |
+
{
|
| 54 |
+
var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
|
| 55 |
+
var stack = ReactDebugCurrentFrame2.getStackAddendum();
|
| 56 |
+
if (stack !== "") {
|
| 57 |
+
format += "%s";
|
| 58 |
+
args = args.concat([stack]);
|
| 59 |
+
}
|
| 60 |
+
var argsWithFormat = args.map(function(item) {
|
| 61 |
+
return String(item);
|
| 62 |
+
});
|
| 63 |
+
argsWithFormat.unshift("Warning: " + format);
|
| 64 |
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
var enableScopeAPI = false;
|
| 68 |
+
var enableCacheElement = false;
|
| 69 |
+
var enableTransitionTracing = false;
|
| 70 |
+
var enableLegacyHidden = false;
|
| 71 |
+
var enableDebugTracing = false;
|
| 72 |
+
var REACT_MODULE_REFERENCE;
|
| 73 |
+
{
|
| 74 |
+
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
| 75 |
+
}
|
| 76 |
+
function isValidElementType(type) {
|
| 77 |
+
if (typeof type === "string" || typeof type === "function") {
|
| 78 |
+
return true;
|
| 79 |
+
}
|
| 80 |
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
| 81 |
+
return true;
|
| 82 |
+
}
|
| 83 |
+
if (typeof type === "object" && type !== null) {
|
| 84 |
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
| 85 |
+
// types supported by any Flight configuration anywhere since
|
| 86 |
+
// we don't know which Flight build this will end up being used
|
| 87 |
+
// with.
|
| 88 |
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
|
| 89 |
+
return true;
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
return false;
|
| 93 |
+
}
|
| 94 |
+
function getWrappedName(outerType, innerType, wrapperName) {
|
| 95 |
+
var displayName = outerType.displayName;
|
| 96 |
+
if (displayName) {
|
| 97 |
+
return displayName;
|
| 98 |
+
}
|
| 99 |
+
var functionName = innerType.displayName || innerType.name || "";
|
| 100 |
+
return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
|
| 101 |
+
}
|
| 102 |
+
function getContextName(type) {
|
| 103 |
+
return type.displayName || "Context";
|
| 104 |
+
}
|
| 105 |
+
function getComponentNameFromType(type) {
|
| 106 |
+
if (type == null) {
|
| 107 |
+
return null;
|
| 108 |
+
}
|
| 109 |
+
{
|
| 110 |
+
if (typeof type.tag === "number") {
|
| 111 |
+
error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
|
| 112 |
+
}
|
| 113 |
+
}
|
| 114 |
+
if (typeof type === "function") {
|
| 115 |
+
return type.displayName || type.name || null;
|
| 116 |
+
}
|
| 117 |
+
if (typeof type === "string") {
|
| 118 |
+
return type;
|
| 119 |
+
}
|
| 120 |
+
switch (type) {
|
| 121 |
+
case REACT_FRAGMENT_TYPE:
|
| 122 |
+
return "Fragment";
|
| 123 |
+
case REACT_PORTAL_TYPE:
|
| 124 |
+
return "Portal";
|
| 125 |
+
case REACT_PROFILER_TYPE:
|
| 126 |
+
return "Profiler";
|
| 127 |
+
case REACT_STRICT_MODE_TYPE:
|
| 128 |
+
return "StrictMode";
|
| 129 |
+
case REACT_SUSPENSE_TYPE:
|
| 130 |
+
return "Suspense";
|
| 131 |
+
case REACT_SUSPENSE_LIST_TYPE:
|
| 132 |
+
return "SuspenseList";
|
| 133 |
+
}
|
| 134 |
+
if (typeof type === "object") {
|
| 135 |
+
switch (type.$$typeof) {
|
| 136 |
+
case REACT_CONTEXT_TYPE:
|
| 137 |
+
var context = type;
|
| 138 |
+
return getContextName(context) + ".Consumer";
|
| 139 |
+
case REACT_PROVIDER_TYPE:
|
| 140 |
+
var provider = type;
|
| 141 |
+
return getContextName(provider._context) + ".Provider";
|
| 142 |
+
case REACT_FORWARD_REF_TYPE:
|
| 143 |
+
return getWrappedName(type, type.render, "ForwardRef");
|
| 144 |
+
case REACT_MEMO_TYPE:
|
| 145 |
+
var outerName = type.displayName || null;
|
| 146 |
+
if (outerName !== null) {
|
| 147 |
+
return outerName;
|
| 148 |
+
}
|
| 149 |
+
return getComponentNameFromType(type.type) || "Memo";
|
| 150 |
+
case REACT_LAZY_TYPE: {
|
| 151 |
+
var lazyComponent = type;
|
| 152 |
+
var payload = lazyComponent._payload;
|
| 153 |
+
var init = lazyComponent._init;
|
| 154 |
+
try {
|
| 155 |
+
return getComponentNameFromType(init(payload));
|
| 156 |
+
} catch (x) {
|
| 157 |
+
return null;
|
| 158 |
+
}
|
| 159 |
+
}
|
| 160 |
+
}
|
| 161 |
+
}
|
| 162 |
+
return null;
|
| 163 |
+
}
|
| 164 |
+
var assign = Object.assign;
|
| 165 |
+
var disabledDepth = 0;
|
| 166 |
+
var prevLog;
|
| 167 |
+
var prevInfo;
|
| 168 |
+
var prevWarn;
|
| 169 |
+
var prevError;
|
| 170 |
+
var prevGroup;
|
| 171 |
+
var prevGroupCollapsed;
|
| 172 |
+
var prevGroupEnd;
|
| 173 |
+
function disabledLog() {
|
| 174 |
+
}
|
| 175 |
+
disabledLog.__reactDisabledLog = true;
|
| 176 |
+
function disableLogs() {
|
| 177 |
+
{
|
| 178 |
+
if (disabledDepth === 0) {
|
| 179 |
+
prevLog = console.log;
|
| 180 |
+
prevInfo = console.info;
|
| 181 |
+
prevWarn = console.warn;
|
| 182 |
+
prevError = console.error;
|
| 183 |
+
prevGroup = console.group;
|
| 184 |
+
prevGroupCollapsed = console.groupCollapsed;
|
| 185 |
+
prevGroupEnd = console.groupEnd;
|
| 186 |
+
var props = {
|
| 187 |
+
configurable: true,
|
| 188 |
+
enumerable: true,
|
| 189 |
+
value: disabledLog,
|
| 190 |
+
writable: true
|
| 191 |
+
};
|
| 192 |
+
Object.defineProperties(console, {
|
| 193 |
+
info: props,
|
| 194 |
+
log: props,
|
| 195 |
+
warn: props,
|
| 196 |
+
error: props,
|
| 197 |
+
group: props,
|
| 198 |
+
groupCollapsed: props,
|
| 199 |
+
groupEnd: props
|
| 200 |
+
});
|
| 201 |
+
}
|
| 202 |
+
disabledDepth++;
|
| 203 |
+
}
|
| 204 |
+
}
|
| 205 |
+
function reenableLogs() {
|
| 206 |
+
{
|
| 207 |
+
disabledDepth--;
|
| 208 |
+
if (disabledDepth === 0) {
|
| 209 |
+
var props = {
|
| 210 |
+
configurable: true,
|
| 211 |
+
enumerable: true,
|
| 212 |
+
writable: true
|
| 213 |
+
};
|
| 214 |
+
Object.defineProperties(console, {
|
| 215 |
+
log: assign({}, props, {
|
| 216 |
+
value: prevLog
|
| 217 |
+
}),
|
| 218 |
+
info: assign({}, props, {
|
| 219 |
+
value: prevInfo
|
| 220 |
+
}),
|
| 221 |
+
warn: assign({}, props, {
|
| 222 |
+
value: prevWarn
|
| 223 |
+
}),
|
| 224 |
+
error: assign({}, props, {
|
| 225 |
+
value: prevError
|
| 226 |
+
}),
|
| 227 |
+
group: assign({}, props, {
|
| 228 |
+
value: prevGroup
|
| 229 |
+
}),
|
| 230 |
+
groupCollapsed: assign({}, props, {
|
| 231 |
+
value: prevGroupCollapsed
|
| 232 |
+
}),
|
| 233 |
+
groupEnd: assign({}, props, {
|
| 234 |
+
value: prevGroupEnd
|
| 235 |
+
})
|
| 236 |
+
});
|
| 237 |
+
}
|
| 238 |
+
if (disabledDepth < 0) {
|
| 239 |
+
error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
| 240 |
+
}
|
| 241 |
+
}
|
| 242 |
+
}
|
| 243 |
+
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
|
| 244 |
+
var prefix;
|
| 245 |
+
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
| 246 |
+
{
|
| 247 |
+
if (prefix === void 0) {
|
| 248 |
+
try {
|
| 249 |
+
throw Error();
|
| 250 |
+
} catch (x) {
|
| 251 |
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
| 252 |
+
prefix = match && match[1] || "";
|
| 253 |
+
}
|
| 254 |
+
}
|
| 255 |
+
return "\n" + prefix + name;
|
| 256 |
+
}
|
| 257 |
+
}
|
| 258 |
+
var reentry = false;
|
| 259 |
+
var componentFrameCache;
|
| 260 |
+
{
|
| 261 |
+
var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
|
| 262 |
+
componentFrameCache = new PossiblyWeakMap();
|
| 263 |
+
}
|
| 264 |
+
function describeNativeComponentFrame(fn, construct) {
|
| 265 |
+
if (!fn || reentry) {
|
| 266 |
+
return "";
|
| 267 |
+
}
|
| 268 |
+
{
|
| 269 |
+
var frame = componentFrameCache.get(fn);
|
| 270 |
+
if (frame !== void 0) {
|
| 271 |
+
return frame;
|
| 272 |
+
}
|
| 273 |
+
}
|
| 274 |
+
var control;
|
| 275 |
+
reentry = true;
|
| 276 |
+
var previousPrepareStackTrace = Error.prepareStackTrace;
|
| 277 |
+
Error.prepareStackTrace = void 0;
|
| 278 |
+
var previousDispatcher;
|
| 279 |
+
{
|
| 280 |
+
previousDispatcher = ReactCurrentDispatcher.current;
|
| 281 |
+
ReactCurrentDispatcher.current = null;
|
| 282 |
+
disableLogs();
|
| 283 |
+
}
|
| 284 |
+
try {
|
| 285 |
+
if (construct) {
|
| 286 |
+
var Fake = function() {
|
| 287 |
+
throw Error();
|
| 288 |
+
};
|
| 289 |
+
Object.defineProperty(Fake.prototype, "props", {
|
| 290 |
+
set: function() {
|
| 291 |
+
throw Error();
|
| 292 |
+
}
|
| 293 |
+
});
|
| 294 |
+
if (typeof Reflect === "object" && Reflect.construct) {
|
| 295 |
+
try {
|
| 296 |
+
Reflect.construct(Fake, []);
|
| 297 |
+
} catch (x) {
|
| 298 |
+
control = x;
|
| 299 |
+
}
|
| 300 |
+
Reflect.construct(fn, [], Fake);
|
| 301 |
+
} else {
|
| 302 |
+
try {
|
| 303 |
+
Fake.call();
|
| 304 |
+
} catch (x) {
|
| 305 |
+
control = x;
|
| 306 |
+
}
|
| 307 |
+
fn.call(Fake.prototype);
|
| 308 |
+
}
|
| 309 |
+
} else {
|
| 310 |
+
try {
|
| 311 |
+
throw Error();
|
| 312 |
+
} catch (x) {
|
| 313 |
+
control = x;
|
| 314 |
+
}
|
| 315 |
+
fn();
|
| 316 |
+
}
|
| 317 |
+
} catch (sample) {
|
| 318 |
+
if (sample && control && typeof sample.stack === "string") {
|
| 319 |
+
var sampleLines = sample.stack.split("\n");
|
| 320 |
+
var controlLines = control.stack.split("\n");
|
| 321 |
+
var s = sampleLines.length - 1;
|
| 322 |
+
var c = controlLines.length - 1;
|
| 323 |
+
while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
|
| 324 |
+
c--;
|
| 325 |
+
}
|
| 326 |
+
for (; s >= 1 && c >= 0; s--, c--) {
|
| 327 |
+
if (sampleLines[s] !== controlLines[c]) {
|
| 328 |
+
if (s !== 1 || c !== 1) {
|
| 329 |
+
do {
|
| 330 |
+
s--;
|
| 331 |
+
c--;
|
| 332 |
+
if (c < 0 || sampleLines[s] !== controlLines[c]) {
|
| 333 |
+
var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
|
| 334 |
+
if (fn.displayName && _frame.includes("<anonymous>")) {
|
| 335 |
+
_frame = _frame.replace("<anonymous>", fn.displayName);
|
| 336 |
+
}
|
| 337 |
+
{
|
| 338 |
+
if (typeof fn === "function") {
|
| 339 |
+
componentFrameCache.set(fn, _frame);
|
| 340 |
+
}
|
| 341 |
+
}
|
| 342 |
+
return _frame;
|
| 343 |
+
}
|
| 344 |
+
} while (s >= 1 && c >= 0);
|
| 345 |
+
}
|
| 346 |
+
break;
|
| 347 |
+
}
|
| 348 |
+
}
|
| 349 |
+
}
|
| 350 |
+
} finally {
|
| 351 |
+
reentry = false;
|
| 352 |
+
{
|
| 353 |
+
ReactCurrentDispatcher.current = previousDispatcher;
|
| 354 |
+
reenableLogs();
|
| 355 |
+
}
|
| 356 |
+
Error.prepareStackTrace = previousPrepareStackTrace;
|
| 357 |
+
}
|
| 358 |
+
var name = fn ? fn.displayName || fn.name : "";
|
| 359 |
+
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
|
| 360 |
+
{
|
| 361 |
+
if (typeof fn === "function") {
|
| 362 |
+
componentFrameCache.set(fn, syntheticFrame);
|
| 363 |
+
}
|
| 364 |
+
}
|
| 365 |
+
return syntheticFrame;
|
| 366 |
+
}
|
| 367 |
+
function describeFunctionComponentFrame(fn, source, ownerFn) {
|
| 368 |
+
{
|
| 369 |
+
return describeNativeComponentFrame(fn, false);
|
| 370 |
+
}
|
| 371 |
+
}
|
| 372 |
+
function shouldConstruct(Component) {
|
| 373 |
+
var prototype = Component.prototype;
|
| 374 |
+
return !!(prototype && prototype.isReactComponent);
|
| 375 |
+
}
|
| 376 |
+
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
| 377 |
+
if (type == null) {
|
| 378 |
+
return "";
|
| 379 |
+
}
|
| 380 |
+
if (typeof type === "function") {
|
| 381 |
+
{
|
| 382 |
+
return describeNativeComponentFrame(type, shouldConstruct(type));
|
| 383 |
+
}
|
| 384 |
+
}
|
| 385 |
+
if (typeof type === "string") {
|
| 386 |
+
return describeBuiltInComponentFrame(type);
|
| 387 |
+
}
|
| 388 |
+
switch (type) {
|
| 389 |
+
case REACT_SUSPENSE_TYPE:
|
| 390 |
+
return describeBuiltInComponentFrame("Suspense");
|
| 391 |
+
case REACT_SUSPENSE_LIST_TYPE:
|
| 392 |
+
return describeBuiltInComponentFrame("SuspenseList");
|
| 393 |
+
}
|
| 394 |
+
if (typeof type === "object") {
|
| 395 |
+
switch (type.$$typeof) {
|
| 396 |
+
case REACT_FORWARD_REF_TYPE:
|
| 397 |
+
return describeFunctionComponentFrame(type.render);
|
| 398 |
+
case REACT_MEMO_TYPE:
|
| 399 |
+
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
|
| 400 |
+
case REACT_LAZY_TYPE: {
|
| 401 |
+
var lazyComponent = type;
|
| 402 |
+
var payload = lazyComponent._payload;
|
| 403 |
+
var init = lazyComponent._init;
|
| 404 |
+
try {
|
| 405 |
+
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
| 406 |
+
} catch (x) {
|
| 407 |
+
}
|
| 408 |
+
}
|
| 409 |
+
}
|
| 410 |
+
}
|
| 411 |
+
return "";
|
| 412 |
+
}
|
| 413 |
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
| 414 |
+
var loggedTypeFailures = {};
|
| 415 |
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
| 416 |
+
function setCurrentlyValidatingElement(element) {
|
| 417 |
+
{
|
| 418 |
+
if (element) {
|
| 419 |
+
var owner = element._owner;
|
| 420 |
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
| 421 |
+
ReactDebugCurrentFrame.setExtraStackFrame(stack);
|
| 422 |
+
} else {
|
| 423 |
+
ReactDebugCurrentFrame.setExtraStackFrame(null);
|
| 424 |
+
}
|
| 425 |
+
}
|
| 426 |
+
}
|
| 427 |
+
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
| 428 |
+
{
|
| 429 |
+
var has = Function.call.bind(hasOwnProperty);
|
| 430 |
+
for (var typeSpecName in typeSpecs) {
|
| 431 |
+
if (has(typeSpecs, typeSpecName)) {
|
| 432 |
+
var error$1 = void 0;
|
| 433 |
+
try {
|
| 434 |
+
if (typeof typeSpecs[typeSpecName] !== "function") {
|
| 435 |
+
var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
| 436 |
+
err.name = "Invariant Violation";
|
| 437 |
+
throw err;
|
| 438 |
+
}
|
| 439 |
+
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
| 440 |
+
} catch (ex) {
|
| 441 |
+
error$1 = ex;
|
| 442 |
+
}
|
| 443 |
+
if (error$1 && !(error$1 instanceof Error)) {
|
| 444 |
+
setCurrentlyValidatingElement(element);
|
| 445 |
+
error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
|
| 446 |
+
setCurrentlyValidatingElement(null);
|
| 447 |
+
}
|
| 448 |
+
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
| 449 |
+
loggedTypeFailures[error$1.message] = true;
|
| 450 |
+
setCurrentlyValidatingElement(element);
|
| 451 |
+
error("Failed %s type: %s", location, error$1.message);
|
| 452 |
+
setCurrentlyValidatingElement(null);
|
| 453 |
+
}
|
| 454 |
+
}
|
| 455 |
+
}
|
| 456 |
+
}
|
| 457 |
+
}
|
| 458 |
+
var isArrayImpl = Array.isArray;
|
| 459 |
+
function isArray(a) {
|
| 460 |
+
return isArrayImpl(a);
|
| 461 |
+
}
|
| 462 |
+
function typeName(value) {
|
| 463 |
+
{
|
| 464 |
+
var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
|
| 465 |
+
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
| 466 |
+
return type;
|
| 467 |
+
}
|
| 468 |
+
}
|
| 469 |
+
function willCoercionThrow(value) {
|
| 470 |
+
{
|
| 471 |
+
try {
|
| 472 |
+
testStringCoercion(value);
|
| 473 |
+
return false;
|
| 474 |
+
} catch (e) {
|
| 475 |
+
return true;
|
| 476 |
+
}
|
| 477 |
+
}
|
| 478 |
+
}
|
| 479 |
+
function testStringCoercion(value) {
|
| 480 |
+
return "" + value;
|
| 481 |
+
}
|
| 482 |
+
function checkKeyStringCoercion(value) {
|
| 483 |
+
{
|
| 484 |
+
if (willCoercionThrow(value)) {
|
| 485 |
+
error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
|
| 486 |
+
return testStringCoercion(value);
|
| 487 |
+
}
|
| 488 |
+
}
|
| 489 |
+
}
|
| 490 |
+
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
| 491 |
+
var RESERVED_PROPS = {
|
| 492 |
+
key: true,
|
| 493 |
+
ref: true,
|
| 494 |
+
__self: true,
|
| 495 |
+
__source: true
|
| 496 |
+
};
|
| 497 |
+
var specialPropKeyWarningShown;
|
| 498 |
+
var specialPropRefWarningShown;
|
| 499 |
+
var didWarnAboutStringRefs;
|
| 500 |
+
{
|
| 501 |
+
didWarnAboutStringRefs = {};
|
| 502 |
+
}
|
| 503 |
+
function hasValidRef(config) {
|
| 504 |
+
{
|
| 505 |
+
if (hasOwnProperty.call(config, "ref")) {
|
| 506 |
+
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
|
| 507 |
+
if (getter && getter.isReactWarning) {
|
| 508 |
+
return false;
|
| 509 |
+
}
|
| 510 |
+
}
|
| 511 |
+
}
|
| 512 |
+
return config.ref !== void 0;
|
| 513 |
+
}
|
| 514 |
+
function hasValidKey(config) {
|
| 515 |
+
{
|
| 516 |
+
if (hasOwnProperty.call(config, "key")) {
|
| 517 |
+
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
| 518 |
+
if (getter && getter.isReactWarning) {
|
| 519 |
+
return false;
|
| 520 |
+
}
|
| 521 |
+
}
|
| 522 |
+
}
|
| 523 |
+
return config.key !== void 0;
|
| 524 |
+
}
|
| 525 |
+
function warnIfStringRefCannotBeAutoConverted(config, self) {
|
| 526 |
+
{
|
| 527 |
+
if (typeof config.ref === "string" && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
|
| 528 |
+
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
|
| 529 |
+
if (!didWarnAboutStringRefs[componentName]) {
|
| 530 |
+
error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);
|
| 531 |
+
didWarnAboutStringRefs[componentName] = true;
|
| 532 |
+
}
|
| 533 |
+
}
|
| 534 |
+
}
|
| 535 |
+
}
|
| 536 |
+
function defineKeyPropWarningGetter(props, displayName) {
|
| 537 |
+
{
|
| 538 |
+
var warnAboutAccessingKey = function() {
|
| 539 |
+
if (!specialPropKeyWarningShown) {
|
| 540 |
+
specialPropKeyWarningShown = true;
|
| 541 |
+
error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
|
| 542 |
+
}
|
| 543 |
+
};
|
| 544 |
+
warnAboutAccessingKey.isReactWarning = true;
|
| 545 |
+
Object.defineProperty(props, "key", {
|
| 546 |
+
get: warnAboutAccessingKey,
|
| 547 |
+
configurable: true
|
| 548 |
+
});
|
| 549 |
+
}
|
| 550 |
+
}
|
| 551 |
+
function defineRefPropWarningGetter(props, displayName) {
|
| 552 |
+
{
|
| 553 |
+
var warnAboutAccessingRef = function() {
|
| 554 |
+
if (!specialPropRefWarningShown) {
|
| 555 |
+
specialPropRefWarningShown = true;
|
| 556 |
+
error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
|
| 557 |
+
}
|
| 558 |
+
};
|
| 559 |
+
warnAboutAccessingRef.isReactWarning = true;
|
| 560 |
+
Object.defineProperty(props, "ref", {
|
| 561 |
+
get: warnAboutAccessingRef,
|
| 562 |
+
configurable: true
|
| 563 |
+
});
|
| 564 |
+
}
|
| 565 |
+
}
|
| 566 |
+
var ReactElement = function(type, key, ref, self, source, owner, props) {
|
| 567 |
+
var element = {
|
| 568 |
+
// This tag allows us to uniquely identify this as a React Element
|
| 569 |
+
$$typeof: REACT_ELEMENT_TYPE,
|
| 570 |
+
// Built-in properties that belong on the element
|
| 571 |
+
type,
|
| 572 |
+
key,
|
| 573 |
+
ref,
|
| 574 |
+
props,
|
| 575 |
+
// Record the component responsible for creating this element.
|
| 576 |
+
_owner: owner
|
| 577 |
+
};
|
| 578 |
+
{
|
| 579 |
+
element._store = {};
|
| 580 |
+
Object.defineProperty(element._store, "validated", {
|
| 581 |
+
configurable: false,
|
| 582 |
+
enumerable: false,
|
| 583 |
+
writable: true,
|
| 584 |
+
value: false
|
| 585 |
+
});
|
| 586 |
+
Object.defineProperty(element, "_self", {
|
| 587 |
+
configurable: false,
|
| 588 |
+
enumerable: false,
|
| 589 |
+
writable: false,
|
| 590 |
+
value: self
|
| 591 |
+
});
|
| 592 |
+
Object.defineProperty(element, "_source", {
|
| 593 |
+
configurable: false,
|
| 594 |
+
enumerable: false,
|
| 595 |
+
writable: false,
|
| 596 |
+
value: source
|
| 597 |
+
});
|
| 598 |
+
if (Object.freeze) {
|
| 599 |
+
Object.freeze(element.props);
|
| 600 |
+
Object.freeze(element);
|
| 601 |
+
}
|
| 602 |
+
}
|
| 603 |
+
return element;
|
| 604 |
+
};
|
| 605 |
+
function jsxDEV(type, config, maybeKey, source, self) {
|
| 606 |
+
{
|
| 607 |
+
var propName;
|
| 608 |
+
var props = {};
|
| 609 |
+
var key = null;
|
| 610 |
+
var ref = null;
|
| 611 |
+
if (maybeKey !== void 0) {
|
| 612 |
+
{
|
| 613 |
+
checkKeyStringCoercion(maybeKey);
|
| 614 |
+
}
|
| 615 |
+
key = "" + maybeKey;
|
| 616 |
+
}
|
| 617 |
+
if (hasValidKey(config)) {
|
| 618 |
+
{
|
| 619 |
+
checkKeyStringCoercion(config.key);
|
| 620 |
+
}
|
| 621 |
+
key = "" + config.key;
|
| 622 |
+
}
|
| 623 |
+
if (hasValidRef(config)) {
|
| 624 |
+
ref = config.ref;
|
| 625 |
+
warnIfStringRefCannotBeAutoConverted(config, self);
|
| 626 |
+
}
|
| 627 |
+
for (propName in config) {
|
| 628 |
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
| 629 |
+
props[propName] = config[propName];
|
| 630 |
+
}
|
| 631 |
+
}
|
| 632 |
+
if (type && type.defaultProps) {
|
| 633 |
+
var defaultProps = type.defaultProps;
|
| 634 |
+
for (propName in defaultProps) {
|
| 635 |
+
if (props[propName] === void 0) {
|
| 636 |
+
props[propName] = defaultProps[propName];
|
| 637 |
+
}
|
| 638 |
+
}
|
| 639 |
+
}
|
| 640 |
+
if (key || ref) {
|
| 641 |
+
var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
|
| 642 |
+
if (key) {
|
| 643 |
+
defineKeyPropWarningGetter(props, displayName);
|
| 644 |
+
}
|
| 645 |
+
if (ref) {
|
| 646 |
+
defineRefPropWarningGetter(props, displayName);
|
| 647 |
+
}
|
| 648 |
+
}
|
| 649 |
+
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
|
| 650 |
+
}
|
| 651 |
+
}
|
| 652 |
+
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
|
| 653 |
+
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
|
| 654 |
+
function setCurrentlyValidatingElement$1(element) {
|
| 655 |
+
{
|
| 656 |
+
if (element) {
|
| 657 |
+
var owner = element._owner;
|
| 658 |
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
| 659 |
+
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
|
| 660 |
+
} else {
|
| 661 |
+
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
|
| 662 |
+
}
|
| 663 |
+
}
|
| 664 |
+
}
|
| 665 |
+
var propTypesMisspellWarningShown;
|
| 666 |
+
{
|
| 667 |
+
propTypesMisspellWarningShown = false;
|
| 668 |
+
}
|
| 669 |
+
function isValidElement(object) {
|
| 670 |
+
{
|
| 671 |
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
| 672 |
+
}
|
| 673 |
+
}
|
| 674 |
+
function getDeclarationErrorAddendum() {
|
| 675 |
+
{
|
| 676 |
+
if (ReactCurrentOwner$1.current) {
|
| 677 |
+
var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
|
| 678 |
+
if (name) {
|
| 679 |
+
return "\n\nCheck the render method of `" + name + "`.";
|
| 680 |
+
}
|
| 681 |
+
}
|
| 682 |
+
return "";
|
| 683 |
+
}
|
| 684 |
+
}
|
| 685 |
+
function getSourceInfoErrorAddendum(source) {
|
| 686 |
+
{
|
| 687 |
+
if (source !== void 0) {
|
| 688 |
+
var fileName = source.fileName.replace(/^.*[\\\/]/, "");
|
| 689 |
+
var lineNumber = source.lineNumber;
|
| 690 |
+
return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
|
| 691 |
+
}
|
| 692 |
+
return "";
|
| 693 |
+
}
|
| 694 |
+
}
|
| 695 |
+
var ownerHasKeyUseWarning = {};
|
| 696 |
+
function getCurrentComponentErrorInfo(parentType) {
|
| 697 |
+
{
|
| 698 |
+
var info = getDeclarationErrorAddendum();
|
| 699 |
+
if (!info) {
|
| 700 |
+
var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
|
| 701 |
+
if (parentName) {
|
| 702 |
+
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
| 703 |
+
}
|
| 704 |
+
}
|
| 705 |
+
return info;
|
| 706 |
+
}
|
| 707 |
+
}
|
| 708 |
+
function validateExplicitKey(element, parentType) {
|
| 709 |
+
{
|
| 710 |
+
if (!element._store || element._store.validated || element.key != null) {
|
| 711 |
+
return;
|
| 712 |
+
}
|
| 713 |
+
element._store.validated = true;
|
| 714 |
+
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
| 715 |
+
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
| 716 |
+
return;
|
| 717 |
+
}
|
| 718 |
+
ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
|
| 719 |
+
var childOwner = "";
|
| 720 |
+
if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
|
| 721 |
+
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
|
| 722 |
+
}
|
| 723 |
+
setCurrentlyValidatingElement$1(element);
|
| 724 |
+
error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
| 725 |
+
setCurrentlyValidatingElement$1(null);
|
| 726 |
+
}
|
| 727 |
+
}
|
| 728 |
+
function validateChildKeys(node, parentType) {
|
| 729 |
+
{
|
| 730 |
+
if (typeof node !== "object") {
|
| 731 |
+
return;
|
| 732 |
+
}
|
| 733 |
+
if (isArray(node)) {
|
| 734 |
+
for (var i = 0; i < node.length; i++) {
|
| 735 |
+
var child = node[i];
|
| 736 |
+
if (isValidElement(child)) {
|
| 737 |
+
validateExplicitKey(child, parentType);
|
| 738 |
+
}
|
| 739 |
+
}
|
| 740 |
+
} else if (isValidElement(node)) {
|
| 741 |
+
if (node._store) {
|
| 742 |
+
node._store.validated = true;
|
| 743 |
+
}
|
| 744 |
+
} else if (node) {
|
| 745 |
+
var iteratorFn = getIteratorFn(node);
|
| 746 |
+
if (typeof iteratorFn === "function") {
|
| 747 |
+
if (iteratorFn !== node.entries) {
|
| 748 |
+
var iterator = iteratorFn.call(node);
|
| 749 |
+
var step;
|
| 750 |
+
while (!(step = iterator.next()).done) {
|
| 751 |
+
if (isValidElement(step.value)) {
|
| 752 |
+
validateExplicitKey(step.value, parentType);
|
| 753 |
+
}
|
| 754 |
+
}
|
| 755 |
+
}
|
| 756 |
+
}
|
| 757 |
+
}
|
| 758 |
+
}
|
| 759 |
+
}
|
| 760 |
+
function validatePropTypes(element) {
|
| 761 |
+
{
|
| 762 |
+
var type = element.type;
|
| 763 |
+
if (type === null || type === void 0 || typeof type === "string") {
|
| 764 |
+
return;
|
| 765 |
+
}
|
| 766 |
+
var propTypes;
|
| 767 |
+
if (typeof type === "function") {
|
| 768 |
+
propTypes = type.propTypes;
|
| 769 |
+
} else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
| 770 |
+
// Inner props are checked in the reconciler.
|
| 771 |
+
type.$$typeof === REACT_MEMO_TYPE)) {
|
| 772 |
+
propTypes = type.propTypes;
|
| 773 |
+
} else {
|
| 774 |
+
return;
|
| 775 |
+
}
|
| 776 |
+
if (propTypes) {
|
| 777 |
+
var name = getComponentNameFromType(type);
|
| 778 |
+
checkPropTypes(propTypes, element.props, "prop", name, element);
|
| 779 |
+
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
| 780 |
+
propTypesMisspellWarningShown = true;
|
| 781 |
+
var _name = getComponentNameFromType(type);
|
| 782 |
+
error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
|
| 783 |
+
}
|
| 784 |
+
if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
|
| 785 |
+
error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
| 786 |
+
}
|
| 787 |
+
}
|
| 788 |
+
}
|
| 789 |
+
function validateFragmentProps(fragment) {
|
| 790 |
+
{
|
| 791 |
+
var keys = Object.keys(fragment.props);
|
| 792 |
+
for (var i = 0; i < keys.length; i++) {
|
| 793 |
+
var key = keys[i];
|
| 794 |
+
if (key !== "children" && key !== "key") {
|
| 795 |
+
setCurrentlyValidatingElement$1(fragment);
|
| 796 |
+
error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
|
| 797 |
+
setCurrentlyValidatingElement$1(null);
|
| 798 |
+
break;
|
| 799 |
+
}
|
| 800 |
+
}
|
| 801 |
+
if (fragment.ref !== null) {
|
| 802 |
+
setCurrentlyValidatingElement$1(fragment);
|
| 803 |
+
error("Invalid attribute `ref` supplied to `React.Fragment`.");
|
| 804 |
+
setCurrentlyValidatingElement$1(null);
|
| 805 |
+
}
|
| 806 |
+
}
|
| 807 |
+
}
|
| 808 |
+
var didWarnAboutKeySpread = {};
|
| 809 |
+
function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
|
| 810 |
+
{
|
| 811 |
+
var validType = isValidElementType(type);
|
| 812 |
+
if (!validType) {
|
| 813 |
+
var info = "";
|
| 814 |
+
if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
|
| 815 |
+
info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
| 816 |
+
}
|
| 817 |
+
var sourceInfo = getSourceInfoErrorAddendum(source);
|
| 818 |
+
if (sourceInfo) {
|
| 819 |
+
info += sourceInfo;
|
| 820 |
+
} else {
|
| 821 |
+
info += getDeclarationErrorAddendum();
|
| 822 |
+
}
|
| 823 |
+
var typeString;
|
| 824 |
+
if (type === null) {
|
| 825 |
+
typeString = "null";
|
| 826 |
+
} else if (isArray(type)) {
|
| 827 |
+
typeString = "array";
|
| 828 |
+
} else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
|
| 829 |
+
typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
|
| 830 |
+
info = " Did you accidentally export a JSX literal instead of a component?";
|
| 831 |
+
} else {
|
| 832 |
+
typeString = typeof type;
|
| 833 |
+
}
|
| 834 |
+
error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
|
| 835 |
+
}
|
| 836 |
+
var element = jsxDEV(type, props, key, source, self);
|
| 837 |
+
if (element == null) {
|
| 838 |
+
return element;
|
| 839 |
+
}
|
| 840 |
+
if (validType) {
|
| 841 |
+
var children = props.children;
|
| 842 |
+
if (children !== void 0) {
|
| 843 |
+
if (isStaticChildren) {
|
| 844 |
+
if (isArray(children)) {
|
| 845 |
+
for (var i = 0; i < children.length; i++) {
|
| 846 |
+
validateChildKeys(children[i], type);
|
| 847 |
+
}
|
| 848 |
+
if (Object.freeze) {
|
| 849 |
+
Object.freeze(children);
|
| 850 |
+
}
|
| 851 |
+
} else {
|
| 852 |
+
error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
| 853 |
+
}
|
| 854 |
+
} else {
|
| 855 |
+
validateChildKeys(children, type);
|
| 856 |
+
}
|
| 857 |
+
}
|
| 858 |
+
}
|
| 859 |
+
{
|
| 860 |
+
if (hasOwnProperty.call(props, "key")) {
|
| 861 |
+
var componentName = getComponentNameFromType(type);
|
| 862 |
+
var keys = Object.keys(props).filter(function(k) {
|
| 863 |
+
return k !== "key";
|
| 864 |
+
});
|
| 865 |
+
var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
| 866 |
+
if (!didWarnAboutKeySpread[componentName + beforeExample]) {
|
| 867 |
+
var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
|
| 868 |
+
error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
|
| 869 |
+
didWarnAboutKeySpread[componentName + beforeExample] = true;
|
| 870 |
+
}
|
| 871 |
+
}
|
| 872 |
+
}
|
| 873 |
+
if (type === REACT_FRAGMENT_TYPE) {
|
| 874 |
+
validateFragmentProps(element);
|
| 875 |
+
} else {
|
| 876 |
+
validatePropTypes(element);
|
| 877 |
+
}
|
| 878 |
+
return element;
|
| 879 |
+
}
|
| 880 |
+
}
|
| 881 |
+
function jsxWithValidationStatic(type, props, key) {
|
| 882 |
+
{
|
| 883 |
+
return jsxWithValidation(type, props, key, true);
|
| 884 |
+
}
|
| 885 |
+
}
|
| 886 |
+
function jsxWithValidationDynamic(type, props, key) {
|
| 887 |
+
{
|
| 888 |
+
return jsxWithValidation(type, props, key, false);
|
| 889 |
+
}
|
| 890 |
+
}
|
| 891 |
+
var jsx = jsxWithValidationDynamic;
|
| 892 |
+
var jsxs = jsxWithValidationStatic;
|
| 893 |
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
| 894 |
+
exports.jsx = jsx;
|
| 895 |
+
exports.jsxs = jsxs;
|
| 896 |
+
})();
|
| 897 |
+
}
|
| 898 |
+
}
|
| 899 |
+
});
|
| 900 |
+
|
| 901 |
+
// node_modules/react/jsx-runtime.js
|
| 902 |
+
var require_jsx_runtime = __commonJS({
|
| 903 |
+
"node_modules/react/jsx-runtime.js"(exports, module) {
|
| 904 |
+
if (false) {
|
| 905 |
+
module.exports = null;
|
| 906 |
+
} else {
|
| 907 |
+
module.exports = require_react_jsx_runtime_development();
|
| 908 |
+
}
|
| 909 |
+
}
|
| 910 |
+
});
|
| 911 |
+
export default require_jsx_runtime();
|
| 912 |
+
/*! Bundled license information:
|
| 913 |
+
|
| 914 |
+
react/cjs/react-jsx-runtime.development.js:
|
| 915 |
+
(**
|
| 916 |
+
* @license React
|
| 917 |
+
* react-jsx-runtime.development.js
|
| 918 |
+
*
|
| 919 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
| 920 |
+
*
|
| 921 |
+
* This source code is licensed under the MIT license found in the
|
| 922 |
+
* LICENSE file in the root directory of this source tree.
|
| 923 |
+
*)
|
| 924 |
+
*/
|
| 925 |
+
//# sourceMappingURL=react_jsx-runtime.js.map
|
node_modules/.vite/deps/react_jsx-runtime.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": 3,
|
| 3 |
+
"sources": ["../../react/cjs/react-jsx-runtime.development.js", "../../react/jsx-runtime.js"],
|
| 4 |
+
"sourcesContent": ["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n", "'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],
|
| 5 |
+
"mappings": ";;;;;;;;AAAA;AAAA;AAAA;AAYA,QAAI,MAAuC;AACzC,OAAC,WAAW;AACd;AAEA,YAAI,QAAQ;AAMZ,YAAI,qBAAqB,OAAO,IAAI,eAAe;AACnD,YAAI,oBAAoB,OAAO,IAAI,cAAc;AACjD,YAAI,sBAAsB,OAAO,IAAI,gBAAgB;AACrD,YAAI,yBAAyB,OAAO,IAAI,mBAAmB;AAC3D,YAAI,sBAAsB,OAAO,IAAI,gBAAgB;AACrD,YAAI,sBAAsB,OAAO,IAAI,gBAAgB;AACrD,YAAI,qBAAqB,OAAO,IAAI,eAAe;AACnD,YAAI,yBAAyB,OAAO,IAAI,mBAAmB;AAC3D,YAAI,sBAAsB,OAAO,IAAI,gBAAgB;AACrD,YAAI,2BAA2B,OAAO,IAAI,qBAAqB;AAC/D,YAAI,kBAAkB,OAAO,IAAI,YAAY;AAC7C,YAAI,kBAAkB,OAAO,IAAI,YAAY;AAC7C,YAAI,uBAAuB,OAAO,IAAI,iBAA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U {
|
| 2 |
+
interface Options<KeyType, ValueType> {
|
| 3 |
+
/**
|
| 4 |
+
The maximum number of milliseconds an item should remain in the cache.
|
| 5 |
+
|
| 6 |
+
@default Infinity
|
| 7 |
+
|
| 8 |
+
By default, `maxAge` will be `Infinity`, which means that items will never expire.
|
| 9 |
+
Lazy expiration upon the next write or read call.
|
| 10 |
+
|
| 11 |
+
Individual expiration of an item can be specified by the `set(key, value, maxAge)` method.
|
| 12 |
+
*/
|
| 13 |
+
readonly maxAge?: number;
|
| 14 |
+
|
| 15 |
+
/**
|
| 16 |
+
The maximum number of items before evicting the least recently used items.
|
| 17 |
+
*/
|
| 18 |
+
readonly maxSize: number;
|
| 19 |
+
|
| 20 |
+
/**
|
| 21 |
+
Called right before an item is evicted from the cache.
|
| 22 |
+
|
| 23 |
+
Useful for side effects or for items like object URLs that need explicit cleanup (`revokeObjectURL`).
|
| 24 |
+
*/
|
| 25 |
+
onEviction?: (key: KeyType, value: ValueType) => void;
|
| 26 |
+
}
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
declare class QuickLRU<KeyType, ValueType>
|
| 30 |
+
implements Iterable<[KeyType, ValueType]> {
|
| 31 |
+
/**
|
| 32 |
+
The stored item count.
|
| 33 |
+
*/
|
| 34 |
+
readonly size: number;
|
| 35 |
+
|
| 36 |
+
/**
|
| 37 |
+
Simple ["Least Recently Used" (LRU) cache](https://en.m.wikipedia.org/wiki/Cache_replacement_policies#Least_Recently_Used_.28LRU.29).
|
| 38 |
+
|
| 39 |
+
The instance is [`iterable`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Iteration_protocols) so you can use it directly in a [`for…of`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/for...of) loop.
|
| 40 |
+
|
| 41 |
+
@example
|
| 42 |
+
```
|
| 43 |
+
import QuickLRU = require('quick-lru');
|
| 44 |
+
|
| 45 |
+
const lru = new QuickLRU({maxSize: 1000});
|
| 46 |
+
|
| 47 |
+
lru.set('🦄', '🌈');
|
| 48 |
+
|
| 49 |
+
lru.has('🦄');
|
| 50 |
+
//=> true
|
| 51 |
+
|
| 52 |
+
lru.get('🦄');
|
| 53 |
+
//=> '🌈'
|
| 54 |
+
```
|
| 55 |
+
*/
|
| 56 |
+
constructor(options: QuickLRU.Options<KeyType, ValueType>);
|
| 57 |
+
|
| 58 |
+
[Symbol.iterator](): IterableIterator<[KeyType, ValueType]>;
|
| 59 |
+
|
| 60 |
+
/**
|
| 61 |
+
Set an item. Returns the instance.
|
| 62 |
+
|
| 63 |
+
Individual expiration of an item can be specified with the `maxAge` option. If not specified, the global `maxAge` value will be used in case it is specified in the constructor, otherwise the item will never expire.
|
| 64 |
+
|
| 65 |
+
@returns The list instance.
|
| 66 |
+
*/
|
| 67 |
+
set(key: KeyType, value: ValueType, options?: {maxAge?: number}): this;
|
| 68 |
+
|
| 69 |
+
/**
|
| 70 |
+
Get an item.
|
| 71 |
+
|
| 72 |
+
@returns The stored item or `undefined`.
|
| 73 |
+
*/
|
| 74 |
+
get(key: KeyType): ValueType | undefined;
|
| 75 |
+
|
| 76 |
+
/**
|
| 77 |
+
Check if an item exists.
|
| 78 |
+
*/
|
| 79 |
+
has(key: KeyType): boolean;
|
| 80 |
+
|
| 81 |
+
/**
|
| 82 |
+
Get an item without marking it as recently used.
|
| 83 |
+
|
| 84 |
+
@returns The stored item or `undefined`.
|
| 85 |
+
*/
|
| 86 |
+
peek(key: KeyType): ValueType | undefined;
|
| 87 |
+
|
| 88 |
+
/**
|
| 89 |
+
Delete an item.
|
| 90 |
+
|
| 91 |
+
@returns `true` if the item is removed or `false` if the item doesn't exist.
|
| 92 |
+
*/
|
| 93 |
+
delete(key: KeyType): boolean;
|
| 94 |
+
|
| 95 |
+
/**
|
| 96 |
+
Delete all items.
|
| 97 |
+
*/
|
| 98 |
+
clear(): void;
|
| 99 |
+
|
| 100 |
+
/**
|
| 101 |
+
Update the `maxSize` in-place, discarding items as necessary. Insertion order is mostly preserved, though this is not a strong guarantee.
|
| 102 |
+
|
| 103 |
+
Useful for on-the-fly tuning of cache sizes in live systems.
|
| 104 |
+
*/
|
| 105 |
+
resize(maxSize: number): void;
|
| 106 |
+
|
| 107 |
+
/**
|
| 108 |
+
Iterable for all the keys.
|
| 109 |
+
*/
|
| 110 |
+
keys(): IterableIterator<KeyType>;
|
| 111 |
+
|
| 112 |
+
/**
|
| 113 |
+
Iterable for all the values.
|
| 114 |
+
*/
|
| 115 |
+
values(): IterableIterator<ValueType>;
|
| 116 |
+
|
| 117 |
+
/**
|
| 118 |
+
Iterable for all entries, starting with the oldest (ascending in recency).
|
| 119 |
+
*/
|
| 120 |
+
entriesAscending(): IterableIterator<[KeyType, ValueType]>;
|
| 121 |
+
|
| 122 |
+
/**
|
| 123 |
+
Iterable for all entries, starting with the newest (descending in recency).
|
| 124 |
+
*/
|
| 125 |
+
entriesDescending(): IterableIterator<[KeyType, ValueType]>;
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
export = QuickLRU;
|
node_modules/@alloc/quick-lru/index.js
ADDED
|
@@ -0,0 +1,263 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict';
|
| 2 |
+
|
| 3 |
+
class QuickLRU {
|
| 4 |
+
constructor(options = {}) {
|
| 5 |
+
if (!(options.maxSize && options.maxSize > 0)) {
|
| 6 |
+
throw new TypeError('`maxSize` must be a number greater than 0');
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
if (typeof options.maxAge === 'number' && options.maxAge === 0) {
|
| 10 |
+
throw new TypeError('`maxAge` must be a number greater than 0');
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
this.maxSize = options.maxSize;
|
| 14 |
+
this.maxAge = options.maxAge || Infinity;
|
| 15 |
+
this.onEviction = options.onEviction;
|
| 16 |
+
this.cache = new Map();
|
| 17 |
+
this.oldCache = new Map();
|
| 18 |
+
this._size = 0;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
_emitEvictions(cache) {
|
| 22 |
+
if (typeof this.onEviction !== 'function') {
|
| 23 |
+
return;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
for (const [key, item] of cache) {
|
| 27 |
+
this.onEviction(key, item.value);
|
| 28 |
+
}
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
_deleteIfExpired(key, item) {
|
| 32 |
+
if (typeof item.expiry === 'number' && item.expiry <= Date.now()) {
|
| 33 |
+
if (typeof this.onEviction === 'function') {
|
| 34 |
+
this.onEviction(key, item.value);
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
return this.delete(key);
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
return false;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
_getOrDeleteIfExpired(key, item) {
|
| 44 |
+
const deleted = this._deleteIfExpired(key, item);
|
| 45 |
+
if (deleted === false) {
|
| 46 |
+
return item.value;
|
| 47 |
+
}
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
_getItemValue(key, item) {
|
| 51 |
+
return item.expiry ? this._getOrDeleteIfExpired(key, item) : item.value;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
_peek(key, cache) {
|
| 55 |
+
const item = cache.get(key);
|
| 56 |
+
|
| 57 |
+
return this._getItemValue(key, item);
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
_set(key, value) {
|
| 61 |
+
this.cache.set(key, value);
|
| 62 |
+
this._size++;
|
| 63 |
+
|
| 64 |
+
if (this._size >= this.maxSize) {
|
| 65 |
+
this._size = 0;
|
| 66 |
+
this._emitEvictions(this.oldCache);
|
| 67 |
+
this.oldCache = this.cache;
|
| 68 |
+
this.cache = new Map();
|
| 69 |
+
}
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
_moveToRecent(key, item) {
|
| 73 |
+
this.oldCache.delete(key);
|
| 74 |
+
this._set(key, item);
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
* _entriesAscending() {
|
| 78 |
+
for (const item of this.oldCache) {
|
| 79 |
+
const [key, value] = item;
|
| 80 |
+
if (!this.cache.has(key)) {
|
| 81 |
+
const deleted = this._deleteIfExpired(key, value);
|
| 82 |
+
if (deleted === false) {
|
| 83 |
+
yield item;
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
for (const item of this.cache) {
|
| 89 |
+
const [key, value] = item;
|
| 90 |
+
const deleted = this._deleteIfExpired(key, value);
|
| 91 |
+
if (deleted === false) {
|
| 92 |
+
yield item;
|
| 93 |
+
}
|
| 94 |
+
}
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
get(key) {
|
| 98 |
+
if (this.cache.has(key)) {
|
| 99 |
+
const item = this.cache.get(key);
|
| 100 |
+
|
| 101 |
+
return this._getItemValue(key, item);
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
if (this.oldCache.has(key)) {
|
| 105 |
+
const item = this.oldCache.get(key);
|
| 106 |
+
if (this._deleteIfExpired(key, item) === false) {
|
| 107 |
+
this._moveToRecent(key, item);
|
| 108 |
+
return item.value;
|
| 109 |
+
}
|
| 110 |
+
}
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
set(key, value, {maxAge = this.maxAge === Infinity ? undefined : Date.now() + this.maxAge} = {}) {
|
| 114 |
+
if (this.cache.has(key)) {
|
| 115 |
+
this.cache.set(key, {
|
| 116 |
+
value,
|
| 117 |
+
maxAge
|
| 118 |
+
});
|
| 119 |
+
} else {
|
| 120 |
+
this._set(key, {value, expiry: maxAge});
|
| 121 |
+
}
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
has(key) {
|
| 125 |
+
if (this.cache.has(key)) {
|
| 126 |
+
return !this._deleteIfExpired(key, this.cache.get(key));
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
if (this.oldCache.has(key)) {
|
| 130 |
+
return !this._deleteIfExpired(key, this.oldCache.get(key));
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
return false;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
peek(key) {
|
| 137 |
+
if (this.cache.has(key)) {
|
| 138 |
+
return this._peek(key, this.cache);
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
if (this.oldCache.has(key)) {
|
| 142 |
+
return this._peek(key, this.oldCache);
|
| 143 |
+
}
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
delete(key) {
|
| 147 |
+
const deleted = this.cache.delete(key);
|
| 148 |
+
if (deleted) {
|
| 149 |
+
this._size--;
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
return this.oldCache.delete(key) || deleted;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
clear() {
|
| 156 |
+
this.cache.clear();
|
| 157 |
+
this.oldCache.clear();
|
| 158 |
+
this._size = 0;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
resize(newSize) {
|
| 162 |
+
if (!(newSize && newSize > 0)) {
|
| 163 |
+
throw new TypeError('`maxSize` must be a number greater than 0');
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
const items = [...this._entriesAscending()];
|
| 167 |
+
const removeCount = items.length - newSize;
|
| 168 |
+
if (removeCount < 0) {
|
| 169 |
+
this.cache = new Map(items);
|
| 170 |
+
this.oldCache = new Map();
|
| 171 |
+
this._size = items.length;
|
| 172 |
+
} else {
|
| 173 |
+
if (removeCount > 0) {
|
| 174 |
+
this._emitEvictions(items.slice(0, removeCount));
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
this.oldCache = new Map(items.slice(removeCount));
|
| 178 |
+
this.cache = new Map();
|
| 179 |
+
this._size = 0;
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
this.maxSize = newSize;
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
* keys() {
|
| 186 |
+
for (const [key] of this) {
|
| 187 |
+
yield key;
|
| 188 |
+
}
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
* values() {
|
| 192 |
+
for (const [, value] of this) {
|
| 193 |
+
yield value;
|
| 194 |
+
}
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
* [Symbol.iterator]() {
|
| 198 |
+
for (const item of this.cache) {
|
| 199 |
+
const [key, value] = item;
|
| 200 |
+
const deleted = this._deleteIfExpired(key, value);
|
| 201 |
+
if (deleted === false) {
|
| 202 |
+
yield [key, value.value];
|
| 203 |
+
}
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
for (const item of this.oldCache) {
|
| 207 |
+
const [key, value] = item;
|
| 208 |
+
if (!this.cache.has(key)) {
|
| 209 |
+
const deleted = this._deleteIfExpired(key, value);
|
| 210 |
+
if (deleted === false) {
|
| 211 |
+
yield [key, value.value];
|
| 212 |
+
}
|
| 213 |
+
}
|
| 214 |
+
}
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
* entriesDescending() {
|
| 218 |
+
let items = [...this.cache];
|
| 219 |
+
for (let i = items.length - 1; i >= 0; --i) {
|
| 220 |
+
const item = items[i];
|
| 221 |
+
const [key, value] = item;
|
| 222 |
+
const deleted = this._deleteIfExpired(key, value);
|
| 223 |
+
if (deleted === false) {
|
| 224 |
+
yield [key, value.value];
|
| 225 |
+
}
|
| 226 |
+
}
|
| 227 |
+
|
| 228 |
+
items = [...this.oldCache];
|
| 229 |
+
for (let i = items.length - 1; i >= 0; --i) {
|
| 230 |
+
const item = items[i];
|
| 231 |
+
const [key, value] = item;
|
| 232 |
+
if (!this.cache.has(key)) {
|
| 233 |
+
const deleted = this._deleteIfExpired(key, value);
|
| 234 |
+
if (deleted === false) {
|
| 235 |
+
yield [key, value.value];
|
| 236 |
+
}
|
| 237 |
+
}
|
| 238 |
+
}
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
* entriesAscending() {
|
| 242 |
+
for (const [key, value] of this._entriesAscending()) {
|
| 243 |
+
yield [key, value.value];
|
| 244 |
+
}
|
| 245 |
+
}
|
| 246 |
+
|
| 247 |
+
get size() {
|
| 248 |
+
if (!this._size) {
|
| 249 |
+
return this.oldCache.size;
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
let oldCacheSize = 0;
|
| 253 |
+
for (const key of this.oldCache.keys()) {
|
| 254 |
+
if (!this.cache.has(key)) {
|
| 255 |
+
oldCacheSize++;
|
| 256 |
+
}
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
return Math.min(this._size + oldCacheSize, this.maxSize);
|
| 260 |
+
}
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
module.exports = QuickLRU;
|
node_modules/@alloc/quick-lru/license
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
| 4 |
+
|
| 5 |
+
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:
|
| 6 |
+
|
| 7 |
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
| 8 |
+
|
| 9 |
+
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.
|
node_modules/@alloc/quick-lru/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@alloc/quick-lru",
|
| 3 |
+
"version": "5.2.0",
|
| 4 |
+
"description": "Simple “Least Recently Used” (LRU) cache",
|
| 5 |
+
"license": "MIT",
|
| 6 |
+
"repository": "sindresorhus/quick-lru",
|
| 7 |
+
"funding": "https://github.com/sponsors/sindresorhus",
|
| 8 |
+
"author": {
|
| 9 |
+
"name": "Sindre Sorhus",
|
| 10 |
+
"email": "sindresorhus@gmail.com",
|
| 11 |
+
"url": "https://sindresorhus.com"
|
| 12 |
+
},
|
| 13 |
+
"engines": {
|
| 14 |
+
"node": ">=10"
|
| 15 |
+
},
|
| 16 |
+
"scripts": {
|
| 17 |
+
"test": "xo && nyc ava && tsd"
|
| 18 |
+
},
|
| 19 |
+
"files": [
|
| 20 |
+
"index.js",
|
| 21 |
+
"index.d.ts"
|
| 22 |
+
],
|
| 23 |
+
"keywords": [
|
| 24 |
+
"lru",
|
| 25 |
+
"quick",
|
| 26 |
+
"cache",
|
| 27 |
+
"caching",
|
| 28 |
+
"least",
|
| 29 |
+
"recently",
|
| 30 |
+
"used",
|
| 31 |
+
"fast",
|
| 32 |
+
"map",
|
| 33 |
+
"hash",
|
| 34 |
+
"buffer"
|
| 35 |
+
],
|
| 36 |
+
"devDependencies": {
|
| 37 |
+
"ava": "^2.0.0",
|
| 38 |
+
"coveralls": "^3.0.3",
|
| 39 |
+
"nyc": "^15.0.0",
|
| 40 |
+
"tsd": "^0.11.0",
|
| 41 |
+
"xo": "^0.26.0"
|
| 42 |
+
}
|
| 43 |
+
}
|
node_modules/@alloc/quick-lru/readme.md
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# quick-lru [](https://travis-ci.org/sindresorhus/quick-lru) [](https://coveralls.io/github/sindresorhus/quick-lru?branch=master)
|
| 2 |
+
|
| 3 |
+
> Simple [“Least Recently Used” (LRU) cache](https://en.m.wikipedia.org/wiki/Cache_replacement_policies#Least_Recently_Used_.28LRU.29)
|
| 4 |
+
|
| 5 |
+
Useful when you need to cache something and limit memory usage.
|
| 6 |
+
|
| 7 |
+
Inspired by the [`hashlru` algorithm](https://github.com/dominictarr/hashlru#algorithm), but instead uses [`Map`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Map) to support keys of any type, not just strings, and values can be `undefined`.
|
| 8 |
+
|
| 9 |
+
## Install
|
| 10 |
+
|
| 11 |
+
```
|
| 12 |
+
$ npm install quick-lru
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
## Usage
|
| 16 |
+
|
| 17 |
+
```js
|
| 18 |
+
const QuickLRU = require('quick-lru');
|
| 19 |
+
|
| 20 |
+
const lru = new QuickLRU({maxSize: 1000});
|
| 21 |
+
|
| 22 |
+
lru.set('🦄', '🌈');
|
| 23 |
+
|
| 24 |
+
lru.has('🦄');
|
| 25 |
+
//=> true
|
| 26 |
+
|
| 27 |
+
lru.get('🦄');
|
| 28 |
+
//=> '🌈'
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## API
|
| 32 |
+
|
| 33 |
+
### new QuickLRU(options?)
|
| 34 |
+
|
| 35 |
+
Returns a new instance.
|
| 36 |
+
|
| 37 |
+
### options
|
| 38 |
+
|
| 39 |
+
Type: `object`
|
| 40 |
+
|
| 41 |
+
#### maxSize
|
| 42 |
+
|
| 43 |
+
*Required*\
|
| 44 |
+
Type: `number`
|
| 45 |
+
|
| 46 |
+
The maximum number of items before evicting the least recently used items.
|
| 47 |
+
|
| 48 |
+
#### maxAge
|
| 49 |
+
|
| 50 |
+
Type: `number`\
|
| 51 |
+
Default: `Infinity`
|
| 52 |
+
|
| 53 |
+
The maximum number of milliseconds an item should remain in cache.
|
| 54 |
+
By default maxAge will be Infinity, which means that items will never expire.
|
| 55 |
+
|
| 56 |
+
Lazy expiration happens upon the next `write` or `read` call.
|
| 57 |
+
|
| 58 |
+
Individual expiration of an item can be specified by the `set(key, value, options)` method.
|
| 59 |
+
|
| 60 |
+
#### onEviction
|
| 61 |
+
|
| 62 |
+
*Optional*\
|
| 63 |
+
Type: `(key, value) => void`
|
| 64 |
+
|
| 65 |
+
Called right before an item is evicted from the cache.
|
| 66 |
+
|
| 67 |
+
Useful for side effects or for items like object URLs that need explicit cleanup (`revokeObjectURL`).
|
| 68 |
+
|
| 69 |
+
### Instance
|
| 70 |
+
|
| 71 |
+
The instance is [`iterable`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Iteration_protocols) so you can use it directly in a [`for…of`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/for...of) loop.
|
| 72 |
+
|
| 73 |
+
Both `key` and `value` can be of any type.
|
| 74 |
+
|
| 75 |
+
#### .set(key, value, options?)
|
| 76 |
+
|
| 77 |
+
Set an item. Returns the instance.
|
| 78 |
+
|
| 79 |
+
Individual expiration of an item can be specified with the `maxAge` option. If not specified, the global `maxAge` value will be used in case it is specified on the constructor, otherwise the item will never expire.
|
| 80 |
+
|
| 81 |
+
#### .get(key)
|
| 82 |
+
|
| 83 |
+
Get an item.
|
| 84 |
+
|
| 85 |
+
#### .has(key)
|
| 86 |
+
|
| 87 |
+
Check if an item exists.
|
| 88 |
+
|
| 89 |
+
#### .peek(key)
|
| 90 |
+
|
| 91 |
+
Get an item without marking it as recently used.
|
| 92 |
+
|
| 93 |
+
#### .delete(key)
|
| 94 |
+
|
| 95 |
+
Delete an item.
|
| 96 |
+
|
| 97 |
+
Returns `true` if the item is removed or `false` if the item doesn't exist.
|
| 98 |
+
|
| 99 |
+
#### .clear()
|
| 100 |
+
|
| 101 |
+
Delete all items.
|
| 102 |
+
|
| 103 |
+
#### .resize(maxSize)
|
| 104 |
+
|
| 105 |
+
Update the `maxSize`, discarding items as necessary. Insertion order is mostly preserved, though this is not a strong guarantee.
|
| 106 |
+
|
| 107 |
+
Useful for on-the-fly tuning of cache sizes in live systems.
|
| 108 |
+
|
| 109 |
+
#### .keys()
|
| 110 |
+
|
| 111 |
+
Iterable for all the keys.
|
| 112 |
+
|
| 113 |
+
#### .values()
|
| 114 |
+
|
| 115 |
+
Iterable for all the values.
|
| 116 |
+
|
| 117 |
+
#### .entriesAscending()
|
| 118 |
+
|
| 119 |
+
Iterable for all entries, starting with the oldest (ascending in recency).
|
| 120 |
+
|
| 121 |
+
#### .entriesDescending()
|
| 122 |
+
|
| 123 |
+
Iterable for all entries, starting with the newest (descending in recency).
|
| 124 |
+
|
| 125 |
+
#### .size
|
| 126 |
+
|
| 127 |
+
The stored item count.
|
| 128 |
+
|
| 129 |
+
---
|
| 130 |
+
|
| 131 |
+
<div align="center">
|
| 132 |
+
<b>
|
| 133 |
+
<a href="https://tidelift.com/subscription/pkg/npm-quick-lru?utm_source=npm-quick-lru&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
| 134 |
+
</b>
|
| 135 |
+
<br>
|
| 136 |
+
<sub>
|
| 137 |
+
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
| 138 |
+
</sub>
|
| 139 |
+
</div>
|