Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Initial commit

Gildas Garciadd50c4da6764
diff --git a/.env.development b/.env.development
new file mode 100644
index 00000000..e32de88a
--- /dev/null
+++ b/.env.development
@@ -0,0 +1,6 @@
+SKIP_PREFLIGHT_CHECK=true
+
+VITE_SUPABASE_URL=http://127.0.0.1:54321
+VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
+SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
+DATABASE_URL=postgres://postgres:[email protected]:54322/postgres
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..b69c377f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,24 @@
+# See https://help.github.com/ignore-files/ for more about ignoring files.
+
+# dependencies
+/node_modules
+
+# testing
+/coverage
+
+# production
+/build
+
+# misc
+.DS_Store
+.env.local
+.env.development.local
+.env.test.local
+.env.production.local
+.eslintcache
+
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+supabase/.branches
+supabase/.temp
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..ddc2879d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,60 @@
+# React-admin CRM
+
+This is a demo of the [react-admin](https://github.com/marmelab/react-admin) library for React.js. It's a CRM for a fake Web agency with a few sales. You can test it online at https://marmelab.com/react-admin-crm.
+
+https://user-images.githubusercontent.com/99944/116970434-4a926480-acb8-11eb-8ce2-0602c680e45e.mp4
+
+React-admin usually requires a REST/GraphQL server to provide data. In this demo however, the API is simulated by the browser (using [FakeRest](https://github.com/marmelab/FakeRest)). The source data is generated at runtime by a package called [data-generator](https://github.com/marmelab/react-admin/tree/master/examples/data-generator).
+
+To explore the source code, start with [src/App.tsx](https://github.com/marmelab/react-admin/blob/master/examples/crm/src/App.tsx).
+
+**Note**: This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
+
+## Setup
+
+After having cloned the react-admin repository, run the following command at the project root:
+
+```sh
+npm install
+```
+
+Then, login into your supabase account:
+
+```sh
+npx supabase login
+```
+
+Then, create a new supabase project:
+```sh
+npx supabase projects create react-admin-crm
+```
+
+
+## Available Scripts
+
+In the project directory, you can run:
+
+### `npm start`
+
+Runs the app in the development mode.<br>
+Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
+
+The page will reload if you make edits.<br>
+You will also see any lint errors in the console.
+
+### `npm test`
+
+Launches the test runner in the interactive watch mode.<br>
+See the section about [running tests](#running-tests) for more information.
+
+### `npm run build`
+
+Builds the app for production to the `build` folder.<br>
+It correctly bundles React in production mode and optimizes the build for the best performance.
+
+The build is minified and the filenames include the hashes.<br>
+Your app is ready to be deployed!
+
+### `npm run deploy`
+
+Deploy the build to GitHub gh-pages.
diff --git a/index.html b/index.html
new file mode 100644
index 00000000..ac5e949c
--- /dev/null
+++ b/index.html
@@ -0,0 +1,125 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8" />
+ <meta
+ name="viewport"
+ content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no"
+ />
+ <meta name="theme-color" content="#000000" />
+ <link rel="manifest" href="./manifest.json" />
+ <link rel="shortcut icon" href="./favicon.ico" />
+ <title>Atomic CRM</title>
+ <style>
+ body {
+ margin: 0;
+ padding: 0;
+ font-family: sans-serif;
+ }
+
+ .loader-container {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-direction: column;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ background-color: #fafafa;
+ }
+
+ /* CSS Spinner from https://projects.lukehaas.me/css-loaders/ */
+
+ .loader,
+ .loader:before,
+ .loader:after {
+ border-radius: 50%;
+ }
+
+ .loader {
+ color: #283593;
+ font-size: 11px;
+ text-indent: -99999em;
+ margin: 55px auto;
+ position: relative;
+ width: 10em;
+ height: 10em;
+ box-shadow: inset 0 0 0 1em;
+ -webkit-transform: translateZ(0);
+ -ms-transform: translateZ(0);
+ transform: translateZ(0);
+ }
+
+ .loader:before,
+ .loader:after {
+ position: absolute;
+ content: '';
+ }
+
+ .loader:before {
+ width: 5.2em;
+ height: 10.2em;
+ background: #fafafa;
+ border-radius: 10.2em 0 0 10.2em;
+ top: -0.1em;
+ left: -0.1em;
+ -webkit-transform-origin: 5.2em 5.1em;
+ transform-origin: 5.2em 5.1em;
+ -webkit-animation: load2 2s infinite ease 1.5s;
+ animation: load2 2s infinite ease 1.5s;
+ }
+
+ .loader:after {
+ width: 5.2em;
+ height: 10.2em;
+ background: #fafafa;
+ border-radius: 0 10.2em 10.2em 0;
+ top: -0.1em;
+ left: 5.1em;
+ -webkit-transform-origin: 0px 5.1em;
+ transform-origin: 0px 5.1em;
+ -webkit-animation: load2 2s infinite ease;
+ animation: load2 2s infinite ease;
+ }
+
+ @-webkit-keyframes load2 {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+ }
+ }
+
+ @keyframes load2 {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+ }
+ }
+ </style>
+ <link rel="preconnect" href="https://fonts.gstatic.com" />
+ <link
+ href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap"
+ rel="stylesheet"
+ />
+ </head>
+
+ <body>
+ <noscript> You need to enable JavaScript to run this app. </noscript>
+ <div id="root">
+ <div class="loader-container">
+ <div class="loader">Loading...</div>
+ </div>
+ </div>
+ </body>
+ <script type="module" src="/src/index.tsx"></script>
+</html>
diff --git a/makefile b/makefile
new file mode 100644
index 00000000..2d92eabf
--- /dev/null
+++ b/makefile
@@ -0,0 +1,23 @@
+.PHONY: build help
+
+help:
+ @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
+
+install: package.json ## install dependencies
+ npm install;
+
+start-supabase: ## start supabase locally
+ npx supabase start
+
+start-app: ## start the app locally
+ npm run dev
+
+start: start-supabase start-app ## start the stack locally
+
+stop-supabase: ## stop local supabase
+ npx supabase stop
+
+stop: stop-supabase ## stop the stack locally
+
+build: ## build the app
+ npm run build
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 00000000..6fb38592
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,7427 @@
+{
+ "name": "react-admin-crm",
+ "version": "4.12.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "react-admin-crm",
+ "version": "4.12.0",
+ "dependencies": {
+ "@faker-js/faker": "^8.4.0",
+ "@hello-pangea/dnd": "^16.5.0",
+ "@mui/icons-material": "^5.15.6",
+ "@mui/material": "^5.15.6",
+ "@nivo/bar": "^0.84.0",
+ "@nivo/core": "^0.84.0",
+ "@supabase/supabase-js": "^2.39.3",
+ "clsx": "^2.1.0",
+ "date-fns": "^3.3.1",
+ "dotenv": "^16.4.1",
+ "lodash": "~4.17.21",
+ "prop-types": "^15.8.1",
+ "ra-data-fakerest": "^4.16.7",
+ "ra-supabase": "^2.1.0",
+ "react": "^18.2.0",
+ "react-admin": "^4.16.7",
+ "react-dom": "^18.2.0",
+ "react-error-boundary": "^4.0.12",
+ "react-router": "^6.21.3",
+ "react-router-dom": "^6.21.3"
+ },
+ "devDependencies": {
+ "@testing-library/jest-dom": "^6.3.0",
+ "@testing-library/react": "^14.1.2",
+ "@testing-library/user-event": "^14.5.2",
+ "@types/jest": "^29.5.11",
+ "@types/lodash": "~4.14.202",
+ "@types/pg": "^8.11.0",
+ "@types/react": "^18.2.48",
+ "@types/react-dom": "^18.2.18",
+ "@vitejs/plugin-react": "^4.2.1",
+ "ink": "^4.4.1",
+ "pg": "^8.11.3",
+ "rollup-plugin-visualizer": "^5.12.0",
+ "supabase": "^1.136.3",
+ "typescript": "^5.3.3",
+ "vite": "^5.0.12",
+ "web-vitals": "^3.5.2",
+ "zx": "^7.2.3"
+ }
+ },
+ "node_modules/@adobe/css-tools": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.2.tgz",
+ "integrity": "sha512-DA5a1C0gD/pLOvhv33YMrbf2FK3oUzwNl9oOJqE4XVjuEtt6XIakRcsd7eLiOSPkp1kTRQGICTA8cKra/vFbjw==",
+ "dev": true
+ },
+ "node_modules/@alcalzone/ansi-tokenize": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@alcalzone/ansi-tokenize/-/ansi-tokenize-0.1.3.tgz",
+ "integrity": "sha512-3yWxPTq3UQ/FY9p1ErPxIyfT64elWaMvM9lIHnaqpyft63tkxodF5aUElYHrdisWve5cETkh1+KBw1yJuW0aRw==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^6.2.1",
+ "is-fullwidth-code-point": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=14.13.1"
+ }
+ },
+ "node_modules/@alcalzone/ansi-tokenize/node_modules/ansi-styles": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@alcalzone/ansi-tokenize/node_modules/is-fullwidth-code-point": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
+ "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@ampproject/remapping": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
+ "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==",
+ "dev": true,
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.0",
+ "@jridgewell/trace-mapping": "^0.3.9"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz",
+ "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==",
+ "dependencies": {
+ "@babel/highlight": "^7.23.4",
+ "chalk": "^2.4.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
+ },
+ "node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz",
+ "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.23.7",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.7.tgz",
+ "integrity": "sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw==",
+ "dev": true,
+ "dependencies": {
+ "@ampproject/remapping": "^2.2.0",
+ "@babel/code-frame": "^7.23.5",
+ "@babel/generator": "^7.23.6",
+ "@babel/helper-compilation-targets": "^7.23.6",
+ "@babel/helper-module-transforms": "^7.23.3",
+ "@babel/helpers": "^7.23.7",
+ "@babel/parser": "^7.23.6",
+ "@babel/template": "^7.22.15",
+ "@babel/traverse": "^7.23.7",
+ "@babel/types": "^7.23.6",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz",
+ "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.23.6",
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "@jridgewell/trace-mapping": "^0.3.17",
+ "jsesc": "^2.5.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz",
+ "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/compat-data": "^7.23.5",
+ "@babel/helper-validator-option": "^7.23.5",
+ "browserslist": "^4.22.2",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-environment-visitor": {
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
+ "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-function-name": {
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
+ "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/template": "^7.22.15",
+ "@babel/types": "^7.23.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-hoist-variables": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
+ "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz",
+ "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==",
+ "dependencies": {
+ "@babel/types": "^7.22.15"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz",
+ "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-module-imports": "^7.22.15",
+ "@babel/helper-simple-access": "^7.22.5",
+ "@babel/helper-split-export-declaration": "^7.22.6",
+ "@babel/helper-validator-identifier": "^7.22.20"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-plugin-utils": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz",
+ "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-simple-access": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz",
+ "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-split-export-declaration": {
+ "version": "7.22.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
+ "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz",
+ "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
+ "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz",
+ "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.23.8",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.8.tgz",
+ "integrity": "sha512-KDqYz4PiOWvDFrdHLPhKtCThtIcKVy6avWD2oG4GEvyQ+XDZwHD4YQd+H2vNMnq2rkdxsDkU82T+Vk8U/WXHRQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/template": "^7.22.15",
+ "@babel/traverse": "^7.23.7",
+ "@babel/types": "^7.23.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/highlight": {
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz",
+ "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.22.20",
+ "chalk": "^2.4.2",
+ "js-tokens": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
+ },
+ "node_modules/@babel/highlight/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz",
+ "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==",
+ "dev": true,
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-self": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.23.3.tgz",
+ "integrity": "sha512-qXRvbeKDSfwnlJnanVRp0SfuWE5DQhwQr5xtLBzp56Wabyo+4CMosF6Kfp+eOD/4FYpql64XVJ2W0pVLlJZxOQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-source": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.23.3.tgz",
+ "integrity": "sha512-91RS0MDnAWDNvGC6Wio5XYkyWI39FMFO+JK9+4AlgaTH+yWwVTsw7/sn6LK0lH7c5F+TFkpv/3LfCJ1Ydwof/g==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/runtime": {
+ "version": "7.23.8",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.8.tgz",
+ "integrity": "sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw==",
+ "dependencies": {
+ "regenerator-runtime": "^0.14.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
+ "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
+ "dev": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.22.13",
+ "@babel/parser": "^7.22.15",
+ "@babel/types": "^7.22.15"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.23.7",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.7.tgz",
+ "integrity": "sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.23.5",
+ "@babel/generator": "^7.23.6",
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-function-name": "^7.23.0",
+ "@babel/helper-hoist-variables": "^7.22.5",
+ "@babel/helper-split-export-declaration": "^7.22.6",
+ "@babel/parser": "^7.23.6",
+ "@babel/types": "^7.23.6",
+ "debug": "^4.3.1",
+ "globals": "^11.1.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz",
+ "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.23.4",
+ "@babel/helper-validator-identifier": "^7.22.20",
+ "to-fast-properties": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@emotion/babel-plugin": {
+ "version": "11.11.0",
+ "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz",
+ "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.16.7",
+ "@babel/runtime": "^7.18.3",
+ "@emotion/hash": "^0.9.1",
+ "@emotion/memoize": "^0.8.1",
+ "@emotion/serialize": "^1.1.2",
+ "babel-plugin-macros": "^3.1.0",
+ "convert-source-map": "^1.5.0",
+ "escape-string-regexp": "^4.0.0",
+ "find-root": "^1.1.0",
+ "source-map": "^0.5.7",
+ "stylis": "4.2.0"
+ }
+ },
+ "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
+ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A=="
+ },
+ "node_modules/@emotion/cache": {
+ "version": "11.11.0",
+ "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz",
+ "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==",
+ "dependencies": {
+ "@emotion/memoize": "^0.8.1",
+ "@emotion/sheet": "^1.2.2",
+ "@emotion/utils": "^1.2.1",
+ "@emotion/weak-memoize": "^0.3.1",
+ "stylis": "4.2.0"
+ }
+ },
+ "node_modules/@emotion/hash": {
+ "version": "0.9.1",
+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz",
+ "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ=="
+ },
+ "node_modules/@emotion/is-prop-valid": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz",
+ "integrity": "sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw==",
+ "dependencies": {
+ "@emotion/memoize": "^0.8.1"
+ }
+ },
+ "node_modules/@emotion/memoize": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz",
+ "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA=="
+ },
+ "node_modules/@emotion/react": {
+ "version": "11.11.3",
+ "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.3.tgz",
+ "integrity": "sha512-Cnn0kuq4DoONOMcnoVsTOR8E+AdnKFf//6kUWc4LCdnxj31pZWn7rIULd6Y7/Js1PiPHzn7SKCM9vB/jBni8eA==",
+ "dependencies": {
+ "@babel/runtime": "^7.18.3",
+ "@emotion/babel-plugin": "^11.11.0",
+ "@emotion/cache": "^11.11.0",
+ "@emotion/serialize": "^1.1.3",
+ "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
+ "@emotion/utils": "^1.2.1",
+ "@emotion/weak-memoize": "^0.3.1",
+ "hoist-non-react-statics": "^3.3.1"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@emotion/serialize": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.3.tgz",
+ "integrity": "sha512-iD4D6QVZFDhcbH0RAG1uVu1CwVLMWUkCvAqqlewO/rxf8+87yIBAlt4+AxMiiKPLs5hFc0owNk/sLLAOROw3cA==",
+ "dependencies": {
+ "@emotion/hash": "^0.9.1",
+ "@emotion/memoize": "^0.8.1",
+ "@emotion/unitless": "^0.8.1",
+ "@emotion/utils": "^1.2.1",
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@emotion/sheet": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz",
+ "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA=="
+ },
+ "node_modules/@emotion/styled": {
+ "version": "11.11.0",
+ "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.0.tgz",
+ "integrity": "sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==",
+ "dependencies": {
+ "@babel/runtime": "^7.18.3",
+ "@emotion/babel-plugin": "^11.11.0",
+ "@emotion/is-prop-valid": "^1.2.1",
+ "@emotion/serialize": "^1.1.2",
+ "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
+ "@emotion/utils": "^1.2.1"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.0.0-rc.0",
+ "react": ">=16.8.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@emotion/unitless": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz",
+ "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ=="
+ },
+ "node_modules/@emotion/use-insertion-effect-with-fallbacks": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz",
+ "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==",
+ "peerDependencies": {
+ "react": ">=16.8.0"
+ }
+ },
+ "node_modules/@emotion/utils": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz",
+ "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg=="
+ },
+ "node_modules/@emotion/weak-memoize": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz",
+ "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww=="
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz",
+ "integrity": "sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.11.tgz",
+ "integrity": "sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz",
+ "integrity": "sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.11.tgz",
+ "integrity": "sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz",
+ "integrity": "sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz",
+ "integrity": "sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz",
+ "integrity": "sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz",
+ "integrity": "sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz",
+ "integrity": "sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz",
+ "integrity": "sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz",
+ "integrity": "sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz",
+ "integrity": "sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz",
+ "integrity": "sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz",
+ "integrity": "sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz",
+ "integrity": "sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz",
+ "integrity": "sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz",
+ "integrity": "sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz",
+ "integrity": "sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz",
+ "integrity": "sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz",
+ "integrity": "sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz",
+ "integrity": "sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz",
+ "integrity": "sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz",
+ "integrity": "sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@faker-js/faker": {
+ "version": "8.4.0",
+ "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-8.4.0.tgz",
+ "integrity": "sha512-htW87352wzUCdX1jyUQocUcmAaFqcR/w082EC8iP/gtkF0K+aKcBp0hR5Arb7dzR8tQ1TrhE9DNa5EbJELm84w==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fakerjs"
+ }
+ ],
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0",
+ "npm": ">=6.14.13"
+ }
+ },
+ "node_modules/@floating-ui/core": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.0.tgz",
+ "integrity": "sha512-PcF++MykgmTj3CIyOQbKA/hDzOAiqI3mhuoN44WRCopIs1sgoDoU4oty4Jtqaj/y3oDU6fnVSm4QG0a3t5i0+g==",
+ "dependencies": {
+ "@floating-ui/utils": "^0.2.1"
+ }
+ },
+ "node_modules/@floating-ui/dom": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.0.tgz",
+ "integrity": "sha512-SZ0BEXzsaaS6THZfZJUcAobbZTD+MvfGM42bxgeg0Tnkp4/an/avqwAXiVLsFtIBZtfsx3Ymvwx0+KnnhdA/9g==",
+ "dependencies": {
+ "@floating-ui/core": "^1.6.0",
+ "@floating-ui/utils": "^0.2.1"
+ }
+ },
+ "node_modules/@floating-ui/react-dom": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.0.7.tgz",
+ "integrity": "sha512-B5GJxKUyPcGsvE1vua+Abvw0t6zVMyTbtG+Jk7BoI4hfc5Ahv50dstRIAn0nS0274kR9gnKwxIXyGA8EzBZJrA==",
+ "dependencies": {
+ "@floating-ui/dom": "^1.6.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@floating-ui/utils": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.1.tgz",
+ "integrity": "sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q=="
+ },
+ "node_modules/@hello-pangea/dnd": {
+ "version": "16.5.0",
+ "resolved": "https://registry.npmjs.org/@hello-pangea/dnd/-/dnd-16.5.0.tgz",
+ "integrity": "sha512-n+am6O32jo/CFXciCysz83lPM3I3F58FJw4uS44TceieymcyxQSfzK5OhzPAKrVBZktmuOI6Zim9WABTMtXv4A==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.2",
+ "css-box-model": "^1.2.1",
+ "memoize-one": "^6.0.0",
+ "raf-schd": "^4.0.3",
+ "react-redux": "^8.1.3",
+ "redux": "^4.2.1",
+ "use-memo-one": "^1.1.3"
+ },
+ "peerDependencies": {
+ "react": "^16.8.5 || ^17.0.0 || ^18.0.0",
+ "react-dom": "^16.8.5 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/@jest/expect-utils": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz",
+ "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==",
+ "dev": true,
+ "dependencies": {
+ "jest-get-type": "^29.6.3"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/schemas": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz",
+ "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==",
+ "dev": true,
+ "dependencies": {
+ "@sinclair/typebox": "^0.27.8"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jest/types": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz",
+ "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==",
+ "dev": true,
+ "dependencies": {
+ "@jest/schemas": "^29.6.3",
+ "@types/istanbul-lib-coverage": "^2.0.0",
+ "@types/istanbul-reports": "^3.0.0",
+ "@types/node": "*",
+ "@types/yargs": "^17.0.8",
+ "chalk": "^4.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
+ "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
+ "dev": true,
+ "dependencies": {
+ "@jridgewell/set-array": "^1.0.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.9"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
+ "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/set-array": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
+ "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
+ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==",
+ "dev": true
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.21",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.21.tgz",
+ "integrity": "sha512-SRfKmRe1KvYnxjEMtxEr+J4HIeMX5YBg/qhRHpxEIGjhX1rshcHlnFUE9K0GazhVKWM7B+nARSkV8LuvJdJ5/g==",
+ "dev": true,
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@mui/base": {
+ "version": "5.0.0-beta.33",
+ "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.33.tgz",
+ "integrity": "sha512-WcSpoJUw/UYHXpvgtl4HyMar2Ar97illUpqiS/X1gtSBp6sdDW6kB2BJ9OlVQ+Kk/RL2GDp/WHA9sbjAYV35ow==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.8",
+ "@floating-ui/react-dom": "^2.0.6",
+ "@mui/types": "^7.2.13",
+ "@mui/utils": "^5.15.6",
+ "@popperjs/core": "^2.11.8",
+ "clsx": "^2.1.0",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0",
+ "react-dom": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/core-downloads-tracker": {
+ "version": "5.15.6",
+ "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.6.tgz",
+ "integrity": "sha512-0aoWS4qvk1uzm9JBs83oQmIMIQeTBUeqqu8u+3uo2tMznrB5fIKqQVCbCgq+4Tm4jG+5F7dIvnjvQ2aV7UKtdw==",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ }
+ },
+ "node_modules/@mui/icons-material": {
+ "version": "5.15.6",
+ "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.15.6.tgz",
+ "integrity": "sha512-GnkxMtlhs+8ieHLmCytg00ew0vMOiXGFCw8Ra9nxMsBjBqnrOI5gmXqUm+sGggeEU/HG8HyeqC1MX/IxOBJHzA==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.8"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@mui/material": "^5.0.0",
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/material": {
+ "version": "5.15.6",
+ "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.15.6.tgz",
+ "integrity": "sha512-rw7bDdpi2kzfmcDN78lHp8swArJ5sBCKsn+4G3IpGfu44ycyWAWX0VdlvkjcR9Yrws2KIm7c+8niXpWHUDbWoA==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.8",
+ "@mui/base": "5.0.0-beta.33",
+ "@mui/core-downloads-tracker": "^5.15.6",
+ "@mui/system": "^5.15.6",
+ "@mui/types": "^7.2.13",
+ "@mui/utils": "^5.15.6",
+ "@types/react-transition-group": "^4.4.10",
+ "clsx": "^2.1.0",
+ "csstype": "^3.1.2",
+ "prop-types": "^15.8.1",
+ "react-is": "^18.2.0",
+ "react-transition-group": "^4.4.5"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.5.0",
+ "@emotion/styled": "^11.3.0",
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0",
+ "react-dom": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@emotion/react": {
+ "optional": true
+ },
+ "@emotion/styled": {
+ "optional": true
+ },
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/private-theming": {
+ "version": "5.15.6",
+ "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.15.6.tgz",
+ "integrity": "sha512-ZBX9E6VNUSscUOtU8uU462VvpvBS7eFl5VfxAzTRVQBHflzL+5KtnGrebgf6Nd6cdvxa1o0OomiaxSKoN2XDmg==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.8",
+ "@mui/utils": "^5.15.6",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/styled-engine": {
+ "version": "5.15.6",
+ "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.15.6.tgz",
+ "integrity": "sha512-KAn8P8xP/WigFKMlEYUpU9z2o7jJnv0BG28Qu1dhNQVutsLVIFdRf5Nb+0ijp2qgtcmygQ0FtfRuXv5LYetZTg==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.8",
+ "@emotion/cache": "^11.11.0",
+ "csstype": "^3.1.2",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.4.1",
+ "@emotion/styled": "^11.3.0",
+ "react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@emotion/react": {
+ "optional": true
+ },
+ "@emotion/styled": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/system": {
+ "version": "5.15.6",
+ "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.15.6.tgz",
+ "integrity": "sha512-J01D//u8IfXvaEHMBQX5aO2l7Q+P15nt96c4NskX7yp5/+UuZP8XCQJhtBtLuj+M2LLyXHYGmCPeblsmmscP2Q==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.8",
+ "@mui/private-theming": "^5.15.6",
+ "@mui/styled-engine": "^5.15.6",
+ "@mui/types": "^7.2.13",
+ "@mui/utils": "^5.15.6",
+ "clsx": "^2.1.0",
+ "csstype": "^3.1.2",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.5.0",
+ "@emotion/styled": "^11.3.0",
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@emotion/react": {
+ "optional": true
+ },
+ "@emotion/styled": {
+ "optional": true
+ },
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/types": {
+ "version": "7.2.13",
+ "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.13.tgz",
+ "integrity": "sha512-qP9OgacN62s+l8rdDhSFRe05HWtLLJ5TGclC9I1+tQngbssu0m2dmFZs+Px53AcOs9fD7TbYd4gc9AXzVqO/+g==",
+ "peerDependencies": {
+ "@types/react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/utils": {
+ "version": "5.15.6",
+ "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.15.6.tgz",
+ "integrity": "sha512-qfEhf+zfU9aQdbzo1qrSWlbPQhH1nCgeYgwhOVnj9Bn39shJQitEnXpSQpSNag8+uty5Od6PxmlNKPTnPySRKA==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.8",
+ "@types/prop-types": "^15.7.11",
+ "prop-types": "^15.8.1",
+ "react-is": "^18.2.0"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@nivo/annotations": {
+ "version": "0.84.0",
+ "resolved": "https://registry.npmjs.org/@nivo/annotations/-/annotations-0.84.0.tgz",
+ "integrity": "sha512-g3n+WaZgRza7fZVQZrrxq1cLS+6vmjhWGmQqEynFmKM2f11F7gdkHLhGMYosayjZ0Sb/bMUXvBSkUbyKli7NVw==",
+ "dependencies": {
+ "@nivo/colors": "0.84.0",
+ "@nivo/core": "0.84.0",
+ "@react-spring/web": "9.4.5 || ^9.7.2",
+ "@types/prop-types": "^15.7.2",
+ "lodash": "^4.17.21",
+ "prop-types": "^15.7.2"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/axes": {
+ "version": "0.84.0",
+ "resolved": "https://registry.npmjs.org/@nivo/axes/-/axes-0.84.0.tgz",
+ "integrity": "sha512-bC9Rx5ixGJiupTRXSnATIVRLPcx0HR8yXGBuO8GTy6K1DDnhaNWfhErnBLYbB9Sq13WQGrS2he6uvLVLd23CtA==",
+ "dependencies": {
+ "@nivo/core": "0.84.0",
+ "@nivo/scales": "0.84.0",
+ "@react-spring/web": "9.4.5 || ^9.7.2",
+ "@types/d3-format": "^1.4.1",
+ "@types/d3-time-format": "^2.3.1",
+ "@types/prop-types": "^15.7.2",
+ "d3-format": "^1.4.4",
+ "d3-time-format": "^3.0.0",
+ "prop-types": "^15.7.2"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/bar": {
+ "version": "0.84.0",
+ "resolved": "https://registry.npmjs.org/@nivo/bar/-/bar-0.84.0.tgz",
+ "integrity": "sha512-sOiC980VKS+SOnVSGPlG/nd2ssmz4b6iqIZY/POvwSkB8gvUFz6Bk6lBGXlVNxh1xHaYplVhyl1Tp2NpIWPcAA==",
+ "dependencies": {
+ "@nivo/annotations": "0.84.0",
+ "@nivo/axes": "0.84.0",
+ "@nivo/colors": "0.84.0",
+ "@nivo/core": "0.84.0",
+ "@nivo/legends": "0.84.0",
+ "@nivo/scales": "0.84.0",
+ "@nivo/tooltip": "0.84.0",
+ "@react-spring/web": "9.4.5 || ^9.7.2",
+ "@types/d3-scale": "^3.2.3",
+ "@types/d3-shape": "^2.0.0",
+ "d3-scale": "^3.2.3",
+ "d3-shape": "^1.3.5",
+ "lodash": "^4.17.21"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/colors": {
+ "version": "0.84.0",
+ "resolved": "https://registry.npmjs.org/@nivo/colors/-/colors-0.84.0.tgz",
+ "integrity": "sha512-wNG1uYyDP5Owc1Pdkz0zesdZCrPAywmSssNzQ2Aju7nVs7Ru7iHNBIvOAGgyXTe2gcrIO9VSasXWR+jEYyxN2Q==",
+ "dependencies": {
+ "@nivo/core": "0.84.0",
+ "@types/d3-color": "^2.0.0",
+ "@types/d3-scale": "^3.2.3",
+ "@types/d3-scale-chromatic": "^2.0.0",
+ "@types/prop-types": "^15.7.2",
+ "d3-color": "^3.1.0",
+ "d3-scale": "^3.2.3",
+ "d3-scale-chromatic": "^2.0.0",
+ "lodash": "^4.17.21",
+ "prop-types": "^15.7.2"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/core": {
+ "version": "0.84.0",
+ "resolved": "https://registry.npmjs.org/@nivo/core/-/core-0.84.0.tgz",
+ "integrity": "sha512-HyQM4x4B7d4X9+xLPKkPxqIxhSDzbJUywGTDWHWx1daeX9VP8O+MqkTBsNsoB+tjxrbKrRJ0+ceS2w89JB+qrA==",
+ "dependencies": {
+ "@nivo/recompose": "0.84.0",
+ "@nivo/tooltip": "0.84.0",
+ "@react-spring/web": "9.4.5 || ^9.7.2",
+ "@types/d3-shape": "^2.0.0",
+ "d3-color": "^3.1.0",
+ "d3-format": "^1.4.4",
+ "d3-interpolate": "^3.0.1",
+ "d3-scale": "^3.2.3",
+ "d3-scale-chromatic": "^3.0.0",
+ "d3-shape": "^1.3.5",
+ "d3-time-format": "^3.0.0",
+ "lodash": "^4.17.21"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/nivo/donate"
+ },
+ "peerDependencies": {
+ "prop-types": ">= 15.5.10 < 16.0.0",
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/core/node_modules/d3-scale-chromatic": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-3.0.0.tgz",
+ "integrity": "sha512-Lx9thtxAKrO2Pq6OO2Ua474opeziKr279P/TKZsMAhYyNDD3EnCffdbgeSYN5O7m2ByQsxtuP2CSDczNUIZ22g==",
+ "dependencies": {
+ "d3-color": "1 - 3",
+ "d3-interpolate": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nivo/legends": {
+ "version": "0.84.0",
+ "resolved": "https://registry.npmjs.org/@nivo/legends/-/legends-0.84.0.tgz",
+ "integrity": "sha512-o0s1cXoIH6Km9A2zoKB8Ey99Oc1w5nymz0j8s7hR2B0EHo5HgVbYjSs2sZD7NSwLt3QM57Nzxw9VzJ+sqfV30Q==",
+ "dependencies": {
+ "@nivo/colors": "0.84.0",
+ "@nivo/core": "0.84.0",
+ "@types/d3-scale": "^3.2.3",
+ "@types/prop-types": "^15.7.2",
+ "d3-scale": "^3.2.3",
+ "prop-types": "^15.7.2"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/recompose": {
+ "version": "0.84.0",
+ "resolved": "https://registry.npmjs.org/@nivo/recompose/-/recompose-0.84.0.tgz",
+ "integrity": "sha512-Odb+r0pEmGt4RV020jwvngF7PxBgxS1e1sy8bWlZKc5qkm6k3eVlZNuYU+zGbDxHMigImvrx5KfUv5iUqtQBZA==",
+ "dependencies": {
+ "@types/prop-types": "^15.7.2",
+ "@types/react-lifecycles-compat": "^3.0.1",
+ "prop-types": "^15.7.2",
+ "react-lifecycles-compat": "^3.0.4"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/scales": {
+ "version": "0.84.0",
+ "resolved": "https://registry.npmjs.org/@nivo/scales/-/scales-0.84.0.tgz",
+ "integrity": "sha512-Cayo9jFMpoF7Ha7eqOAucHLUG6zZLGpxiAtyZ/vTUCkRZPHmd/YMvrm8E6OyQCTBVf+aRtOKk9tQnMv8E9fWiw==",
+ "dependencies": {
+ "@types/d3-scale": "^3.2.3",
+ "@types/d3-time": "^1.1.1",
+ "@types/d3-time-format": "^3.0.0",
+ "d3-scale": "^3.2.3",
+ "d3-time": "^1.0.11",
+ "d3-time-format": "^3.0.0",
+ "lodash": "^4.17.21"
+ }
+ },
+ "node_modules/@nivo/scales/node_modules/@types/d3-time-format": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-3.0.4.tgz",
+ "integrity": "sha512-or9DiDnYI1h38J9hxKEsw513+KVuFbEVhl7qdxcaudoiqWWepapUen+2vAriFGexr6W5+P4l9+HJrB39GG+oRg=="
+ },
+ "node_modules/@nivo/tooltip": {
+ "version": "0.84.0",
+ "resolved": "https://registry.npmjs.org/@nivo/tooltip/-/tooltip-0.84.0.tgz",
+ "integrity": "sha512-x/6Vk4RXKHkG9q5dk4uFYwEfbMoIvJd5ahhVQ6bskuLks5FZoS6bkKoNggjxwmHbIWOVITGUXuykOfC54EWSpw==",
+ "dependencies": {
+ "@nivo/core": "0.84.0",
+ "@react-spring/web": "9.4.5 || ^9.7.2"
+ }
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+ "dev": true,
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+ "dev": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+ "dev": true,
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
+ "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
+ "node_modules/@raphiniert/ra-data-postgrest": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@raphiniert/ra-data-postgrest/-/ra-data-postgrest-2.0.0.tgz",
+ "integrity": "sha512-1Ss+/xAxL62aGmCBSSJnlFMMSl0T2/bNSfeV0lplm7N9AtsOxSfySDKnCQs53ngbSBK1rPbk4ypc/mDVm4y4xQ==",
+ "peer": true,
+ "dependencies": {
+ "qs": "^6.11.1"
+ },
+ "peerDependencies": {
+ "ra-core": "^4.1.0"
+ }
+ },
+ "node_modules/@react-spring/animated": {
+ "version": "9.7.3",
+ "resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9.7.3.tgz",
+ "integrity": "sha512-5CWeNJt9pNgyvuSzQH+uy2pvTg8Y4/OisoscZIR8/ZNLIOI+CatFBhGZpDGTF/OzdNFsAoGk3wiUYTwoJ0YIvw==",
+ "dependencies": {
+ "@react-spring/shared": "~9.7.3",
+ "@react-spring/types": "~9.7.3"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/@react-spring/core": {
+ "version": "9.7.3",
+ "resolved": "https://registry.npmjs.org/@react-spring/core/-/core-9.7.3.tgz",
+ "integrity": "sha512-IqFdPVf3ZOC1Cx7+M0cXf4odNLxDC+n7IN3MDcVCTIOSBfqEcBebSv+vlY5AhM0zw05PDbjKrNmBpzv/AqpjnQ==",
+ "dependencies": {
+ "@react-spring/animated": "~9.7.3",
+ "@react-spring/shared": "~9.7.3",
+ "@react-spring/types": "~9.7.3"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/react-spring/donate"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/@react-spring/shared": {
+ "version": "9.7.3",
+ "resolved": "https://registry.npmjs.org/@react-spring/shared/-/shared-9.7.3.tgz",
+ "integrity": "sha512-NEopD+9S5xYyQ0pGtioacLhL2luflh6HACSSDUZOwLHoxA5eku1UPuqcJqjwSD6luKjjLfiLOspxo43FUHKKSA==",
+ "dependencies": {
+ "@react-spring/types": "~9.7.3"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/@react-spring/types": {
+ "version": "9.7.3",
+ "resolved": "https://registry.npmjs.org/@react-spring/types/-/types-9.7.3.tgz",
+ "integrity": "sha512-Kpx/fQ/ZFX31OtlqVEFfgaD1ACzul4NksrvIgYfIFq9JpDHFwQkMVZ10tbo0FU/grje4rcL4EIrjekl3kYwgWw=="
+ },
+ "node_modules/@react-spring/web": {
+ "version": "9.7.3",
+ "resolved": "https://registry.npmjs.org/@react-spring/web/-/web-9.7.3.tgz",
+ "integrity": "sha512-BXt6BpS9aJL/QdVqEIX9YoUy8CE6TJrU0mNCqSoxdXlIeNcEBWOfIyE6B14ENNsyQKS3wOWkiJfco0tCr/9tUg==",
+ "dependencies": {
+ "@react-spring/animated": "~9.7.3",
+ "@react-spring/core": "~9.7.3",
+ "@react-spring/shared": "~9.7.3",
+ "@react-spring/types": "~9.7.3"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/@remix-run/router": {
+ "version": "1.14.2",
+ "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.14.2.tgz",
+ "integrity": "sha512-ACXpdMM9hmKZww21yEqWwiLws/UPLhNKvimN8RrYSqPSvB3ov7sLvAcfvaxePeLvccTQKGdkDIhLYApZVDFuKg==",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.9.5.tgz",
+ "integrity": "sha512-idWaG8xeSRCfRq9KpRysDHJ/rEHBEXcHuJ82XY0yYFIWnLMjZv9vF/7DOq8djQ2n3Lk6+3qfSH8AqlmHlmi1MA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.9.5.tgz",
+ "integrity": "sha512-f14d7uhAMtsCGjAYwZGv6TwuS3IFaM4ZnGMUn3aCBgkcHAYErhV1Ad97WzBvS2o0aaDv4mVz+syiN0ElMyfBPg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.5.tgz",
+ "integrity": "sha512-ndoXeLx455FffL68OIUrVr89Xu1WLzAG4n65R8roDlCoYiQcGGg6MALvs2Ap9zs7AHg8mpHtMpwC8jBBjZrT/w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.9.5.tgz",
+ "integrity": "sha512-UmElV1OY2m/1KEEqTlIjieKfVwRg0Zwg4PLgNf0s3glAHXBN99KLpw5A5lrSYCa1Kp63czTpVll2MAqbZYIHoA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.9.5.tgz",
+ "integrity": "sha512-Q0LcU61v92tQB6ae+udZvOyZ0wfpGojtAKrrpAaIqmJ7+psq4cMIhT/9lfV6UQIpeItnq/2QDROhNLo00lOD1g==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.9.5.tgz",
+ "integrity": "sha512-dkRscpM+RrR2Ee3eOQmRWFjmV/payHEOrjyq1VZegRUa5OrZJ2MAxBNs05bZuY0YCtpqETDy1Ix4i/hRqX98cA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.9.5.tgz",
+ "integrity": "sha512-QaKFVOzzST2xzY4MAmiDmURagWLFh+zZtttuEnuNn19AiZ0T3fhPyjPPGwLNdiDT82ZE91hnfJsUiDwF9DClIQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.9.5.tgz",
+ "integrity": "sha512-HeGqmRJuyVg6/X6MpE2ur7GbymBPS8Np0S/vQFHDmocfORT+Zt76qu+69NUoxXzGqVP1pzaY6QIi0FJWLC3OPA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.5.tgz",
+ "integrity": "sha512-Dq1bqBdLaZ1Gb/l2e5/+o3B18+8TI9ANlA1SkejZqDgdU/jK/ThYaMPMJpVMMXy2uRHvGKbkz9vheVGdq3cJfA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.5.tgz",
+ "integrity": "sha512-ezyFUOwldYpj7AbkwyW9AJ203peub81CaAIVvckdkyH8EvhEIoKzaMFJj0G4qYJ5sw3BpqhFrsCc30t54HV8vg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.9.5.tgz",
+ "integrity": "sha512-aHSsMnUw+0UETB0Hlv7B/ZHOGY5bQdwMKJSzGfDfvyhnpmVxLMGnQPGNE9wgqkLUs3+gbG1Qx02S2LLfJ5GaRQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.9.5.tgz",
+ "integrity": "sha512-AiqiLkb9KSf7Lj/o1U3SEP9Zn+5NuVKgFdRIZkvd4N0+bYrTOovVd0+LmYCPQGbocT4kvFyK+LXCDiXPBF3fyA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.5.tgz",
+ "integrity": "sha512-1q+mykKE3Vot1kaFJIDoUFv5TuW+QQVaf2FmTT9krg86pQrGStOSJJ0Zil7CFagyxDuouTepzt5Y5TVzyajOdQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@sinclair/typebox": {
+ "version": "0.27.8",
+ "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",
+ "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==",
+ "dev": true
+ },
+ "node_modules/@supabase/functions-js": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
+ "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/gotrue-js": {
+ "version": "2.62.0",
+ "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-2.62.0.tgz",
+ "integrity": "sha512-4eBuZNXGOk7ewqJuHPYMnk8clCtEx6Hfnu6yHLjZlx7w18TqcojcTRUBZagErtpgwwdfzUwKbquexhbrpH/ysw==",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/node-fetch": {
+ "version": "2.6.15",
+ "resolved": "https://registry.npmjs.org/@supabase/node-fetch/-/node-fetch-2.6.15.tgz",
+ "integrity": "sha512-1ibVeYUacxWYi9i0cf5efil6adJ9WRyZBLivgjs+AUpewx1F3xPi7gLgaASI2SmIQxPoCEjAsLAzKPgMJVgOUQ==",
+ "dependencies": {
+ "whatwg-url": "^5.0.0"
+ },
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/@supabase/postgrest-js": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.9.1.tgz",
+ "integrity": "sha512-xZD2AZDek4ckjuTU+gt32hCN6fz6L3dFJudbiMqsrJ+Ml/RS9k1Kw6VWj5EAdFUJEYB0O/TKEt6oF5VoUwhn+g==",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/realtime-js": {
+ "version": "2.9.3",
+ "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.9.3.tgz",
+ "integrity": "sha512-lAp50s2n3FhGJFq+wTSXLNIDPw5Y0Wxrgt44eM5nLSA3jZNUUP3Oq2Ccd1CbZdVntPCWLZvJaU//pAd2NE+QnQ==",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14",
+ "@types/phoenix": "^1.5.4",
+ "@types/ws": "^8.5.10",
+ "ws": "^8.14.2"
+ }
+ },
+ "node_modules/@supabase/storage-js": {
+ "version": "2.5.5",
+ "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.5.5.tgz",
+ "integrity": "sha512-OpLoDRjFwClwc2cjTJZG8XviTiQH4Ik8sCiMK5v7et0MDu2QlXjCAW3ljxJB5+z/KazdMOTnySi+hysxWUPu3w==",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/supabase-js": {
+ "version": "2.39.3",
+ "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.39.3.tgz",
+ "integrity": "sha512-NoltJSaJNKDJNutO5sJPAAi5RIWrn1z2XH+ig1+cHDojT6BTN7TvZPNa3Kq3gFQWfO5H1N9El/bCTZJ3iFW2kQ==",
+ "dependencies": {
+ "@supabase/functions-js": "^2.1.5",
+ "@supabase/gotrue-js": "^2.60.0",
+ "@supabase/node-fetch": "^2.6.14",
+ "@supabase/postgrest-js": "^1.9.0",
+ "@supabase/realtime-js": "^2.9.3",
+ "@supabase/storage-js": "^2.5.4"
+ }
+ },
+ "node_modules/@testing-library/dom": {
+ "version": "9.3.4",
+ "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-9.3.4.tgz",
+ "integrity": "sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.10.4",
+ "@babel/runtime": "^7.12.5",
+ "@types/aria-query": "^5.0.1",
+ "aria-query": "5.1.3",
+ "chalk": "^4.1.0",
+ "dom-accessibility-api": "^0.5.9",
+ "lz-string": "^1.5.0",
+ "pretty-format": "^27.0.2"
+ },
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/@testing-library/jest-dom": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.3.0.tgz",
+ "integrity": "sha512-hJVIrkFizEQxoWsGBlycTcQhrpoCH4DhXfrnHFFXgkx3Xdm15zycsq5Ep+vpw4W8S0NJa8cxDHcuJib+1tEbhg==",
+ "dev": true,
+ "dependencies": {
+ "@adobe/css-tools": "^4.3.2",
+ "@babel/runtime": "^7.9.2",
+ "aria-query": "^5.0.0",
+ "chalk": "^3.0.0",
+ "css.escape": "^1.5.1",
+ "dom-accessibility-api": "^0.6.3",
+ "lodash": "^4.17.15",
+ "redent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=14",
+ "npm": ">=6",
+ "yarn": ">=1"
+ },
+ "peerDependencies": {
+ "@jest/globals": ">= 28",
+ "@types/bun": "latest",
+ "@types/jest": ">= 28",
+ "jest": ">= 28",
+ "vitest": ">= 0.32"
+ },
+ "peerDependenciesMeta": {
+ "@jest/globals": {
+ "optional": true
+ },
+ "@types/bun": {
+ "optional": true
+ },
+ "@types/jest": {
+ "optional": true
+ },
+ "jest": {
+ "optional": true
+ },
+ "vitest": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@testing-library/jest-dom/node_modules/chalk": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
+ "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz",
+ "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==",
+ "dev": true
+ },
+ "node_modules/@testing-library/react": {
+ "version": "14.1.2",
+ "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-14.1.2.tgz",
+ "integrity": "sha512-z4p7DVBTPjKM5qDZ0t5ZjzkpSNb+fZy1u6bzO7kk8oeGagpPCAtgh4cx1syrfp7a+QWkM021jGqjJaxJJnXAZg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.12.5",
+ "@testing-library/dom": "^9.0.0",
+ "@types/react-dom": "^18.0.0"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "react": "^18.0.0",
+ "react-dom": "^18.0.0"
+ }
+ },
+ "node_modules/@testing-library/user-event": {
+ "version": "14.5.2",
+ "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.5.2.tgz",
+ "integrity": "sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=12",
+ "npm": ">=6"
+ },
+ "peerDependencies": {
+ "@testing-library/dom": ">=7.21.4"
+ }
+ },
+ "node_modules/@types/aria-query": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz",
+ "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==",
+ "dev": true
+ },
+ "node_modules/@types/babel__core": {
+ "version": "7.20.5",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
+ "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/parser": "^7.20.7",
+ "@babel/types": "^7.20.7",
+ "@types/babel__generator": "*",
+ "@types/babel__template": "*",
+ "@types/babel__traverse": "*"
+ }
+ },
+ "node_modules/@types/babel__generator": {
+ "version": "7.6.8",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz",
+ "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__template": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
+ "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
+ "dev": true,
+ "dependencies": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__traverse": {
+ "version": "7.20.5",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz",
+ "integrity": "sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.20.7"
+ }
+ },
+ "node_modules/@types/d3-color": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-2.0.6.tgz",
+ "integrity": "sha512-tbaFGDmJWHqnenvk3QGSvD3RVwr631BjKRD7Sc7VLRgrdX5mk5hTyoeBL6rXZaeoXzmZwIl1D2HPogEdt1rHBg=="
+ },
+ "node_modules/@types/d3-format": {
+ "version": "1.4.5",
+ "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-1.4.5.tgz",
+ "integrity": "sha512-mLxrC1MSWupOSncXN/HOlWUAAIffAEBaI4+PKy2uMPsKe4FNZlk7qrbTjmzJXITQQqBHivaks4Td18azgqnotA=="
+ },
+ "node_modules/@types/d3-path": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-2.0.4.tgz",
+ "integrity": "sha512-jjZVLBjEX4q6xneKMmv62UocaFJFOTQSb/1aTzs3m3ICTOFoVaqGBHpNLm/4dVi0/FTltfBKgmOK1ECj3/gGjA=="
+ },
+ "node_modules/@types/d3-scale": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-3.3.5.tgz",
+ "integrity": "sha512-YOpKj0kIEusRf7ofeJcSZQsvKbnTwpe1DUF+P2qsotqG53kEsjm7EzzliqQxMkAWdkZcHrg5rRhB4JiDOQPX+A==",
+ "dependencies": {
+ "@types/d3-time": "^2"
+ }
+ },
+ "node_modules/@types/d3-scale-chromatic": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-scale-chromatic/-/d3-scale-chromatic-2.0.4.tgz",
+ "integrity": "sha512-OUgfg6wmoZVhs0/pV8HZhsMw7pYJnS6smfNK2S5ogMaPHfDUaTMu7JA5ssZrRupwf2vWI+haPAuUpsz+M1BOKA=="
+ },
+ "node_modules/@types/d3-scale/node_modules/@types/d3-time": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-2.1.4.tgz",
+ "integrity": "sha512-BTfLsxTeo7yFxI/haOOf1ZwJ6xKgQLT9dCp+EcmQv87Gox6X+oKl4mLKfO6fnWm3P22+A6DknMNEZany8ql2Rw=="
+ },
+ "node_modules/@types/d3-shape": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-2.1.7.tgz",
+ "integrity": "sha512-HedHlfGHdwzKqX9+PiQVXZrdmGlwo7naoefJP7kCNk4Y7qcpQt1tUaoRa6qn0kbTdlaIHGO7111qLtb/6J8uuw==",
+ "dependencies": {
+ "@types/d3-path": "^2"
+ }
+ },
+ "node_modules/@types/d3-time": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-1.1.4.tgz",
+ "integrity": "sha512-JIvy2HjRInE+TXOmIGN5LCmeO0hkFZx5f9FZ7kiN+D+YTcc8pptsiLiuHsvwxwC7VVKmJ2ExHUgNlAiV7vQM9g=="
+ },
+ "node_modules/@types/d3-time-format": {
+ "version": "2.3.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-2.3.4.tgz",
+ "integrity": "sha512-xdDXbpVO74EvadI3UDxjxTdR6QIxm1FKzEA/+F8tL4GWWUg/hgvBqf6chql64U5A9ZUGWo7pEu4eNlyLwbKdhg=="
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
+ "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==",
+ "dev": true
+ },
+ "node_modules/@types/fs-extra": {
+ "version": "11.0.4",
+ "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-11.0.4.tgz",
+ "integrity": "sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/jsonfile": "*",
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/hoist-non-react-statics": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.5.tgz",
+ "integrity": "sha512-SbcrWzkKBw2cdwRTwQAswfpB9g9LJWfjtUeW/jvNwbhC8cpmmNYVePa+ncbUe0rGTQ7G3Ff6mYUN2VMfLVr+Sg==",
+ "dependencies": {
+ "@types/react": "*",
+ "hoist-non-react-statics": "^3.3.0"
+ }
+ },
+ "node_modules/@types/istanbul-lib-coverage": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz",
+ "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==",
+ "dev": true
+ },
+ "node_modules/@types/istanbul-lib-report": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz",
+ "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==",
+ "dev": true,
+ "dependencies": {
+ "@types/istanbul-lib-coverage": "*"
+ }
+ },
+ "node_modules/@types/istanbul-reports": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz",
+ "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/istanbul-lib-report": "*"
+ }
+ },
+ "node_modules/@types/jest": {
+ "version": "29.5.11",
+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.11.tgz",
+ "integrity": "sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==",
+ "dev": true,
+ "dependencies": {
+ "expect": "^29.0.0",
+ "pretty-format": "^29.0.0"
+ }
+ },
+ "node_modules/@types/jest/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@types/jest/node_modules/pretty-format": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
+ "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
+ "dev": true,
+ "dependencies": {
+ "@jest/schemas": "^29.6.3",
+ "ansi-styles": "^5.0.0",
+ "react-is": "^18.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@types/jsonfile": {
+ "version": "6.1.4",
+ "resolved": "https://registry.npmjs.org/@types/jsonfile/-/jsonfile-6.1.4.tgz",
+ "integrity": "sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/lodash": {
+ "version": "4.14.202",
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz",
+ "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==",
+ "dev": true
+ },
+ "node_modules/@types/minimist": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz",
+ "integrity": "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==",
+ "dev": true
+ },
+ "node_modules/@types/node": {
+ "version": "20.11.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.0.tgz",
+ "integrity": "sha512-o9bjXmDNcF7GbM4CNQpmi+TutCgap/K3w1JyKgxAjqx41zp9qlIAVFi0IhCNsJcXolEqLWhbFbEeL0PvYm4pcQ==",
+ "dependencies": {
+ "undici-types": "~5.26.4"
+ }
+ },
+ "node_modules/@types/parse-json": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz",
+ "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw=="
+ },
+ "node_modules/@types/pg": {
+ "version": "8.11.0",
+ "resolved": "https://registry.npmjs.org/@types/pg/-/pg-8.11.0.tgz",
+ "integrity": "sha512-sDAlRiBNthGjNFfvt0k6mtotoVYVQ63pA8R4EMWka7crawSR60waVYR0HAgmPRs/e2YaeJTD/43OoZ3PFw80pw==",
+ "dev": true,
+ "dependencies": {
+ "@types/node": "*",
+ "pg-protocol": "*",
+ "pg-types": "^4.0.1"
+ }
+ },
+ "node_modules/@types/pg/node_modules/pg-types": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-4.0.2.tgz",
+ "integrity": "sha512-cRL3JpS3lKMGsKaWndugWQoLOCoP+Cic8oseVcbr0qhPzYD5DWXK+RZ9LY9wxRf7RQia4SCwQlXk0q6FCPrVng==",
+ "dev": true,
+ "dependencies": {
+ "pg-int8": "1.0.1",
+ "pg-numeric": "1.0.2",
+ "postgres-array": "~3.0.1",
+ "postgres-bytea": "~3.0.0",
+ "postgres-date": "~2.1.0",
+ "postgres-interval": "^3.0.0",
+ "postgres-range": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@types/pg/node_modules/postgres-array": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-3.0.2.tgz",
+ "integrity": "sha512-6faShkdFugNQCLwucjPcY5ARoW1SlbnrZjmGl0IrrqewpvxvhSLHimCVzqeuULCbG0fQv7Dtk1yDbG3xv7Veog==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@types/pg/node_modules/postgres-bytea": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-3.0.0.tgz",
+ "integrity": "sha512-CNd4jim9RFPkObHSjVHlVrxoVQXz7quwNFpz7RY1okNNme49+sVyiTvTRobiLV548Hx/hb1BG+iE7h9493WzFw==",
+ "dev": true,
+ "dependencies": {
+ "obuf": "~1.1.2"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@types/pg/node_modules/postgres-date": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-2.1.0.tgz",
+ "integrity": "sha512-K7Juri8gtgXVcDfZttFKVmhglp7epKb1K4pgrkLxehjqkrgPhfG6OO8LHLkfaqkbpjNRnra018XwAr1yQFWGcA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@types/pg/node_modules/postgres-interval": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-3.0.0.tgz",
+ "integrity": "sha512-BSNDnbyZCXSxgA+1f5UU2GmwhoI0aU5yMxRGO8CdFEcY2BQF9xm/7MqKnYoM1nJDk8nONNWDk9WeSmePFhQdlw==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@types/phoenix": {
+ "version": "1.6.4",
+ "resolved": "https://registry.npmjs.org/@types/phoenix/-/phoenix-1.6.4.tgz",
+ "integrity": "sha512-B34A7uot1Cv0XtaHRYDATltAdKx0BvVKNgYNqE4WjtPUa4VQJM7kxeXcVKaH+KS+kCmZ+6w+QaUdcljiheiBJA=="
+ },
+ "node_modules/@types/prop-types": {
+ "version": "15.7.11",
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz",
+ "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng=="
+ },
+ "node_modules/@types/ps-tree": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/@types/ps-tree/-/ps-tree-1.1.6.tgz",
+ "integrity": "sha512-PtrlVaOaI44/3pl3cvnlK+GxOM3re2526TJvPvh7W+keHIXdV4TE0ylpPBAcvFQCbGitaTXwL9u+RF7qtVeazQ==",
+ "dev": true
+ },
+ "node_modules/@types/react": {
+ "version": "18.2.48",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.48.tgz",
+ "integrity": "sha512-qboRCl6Ie70DQQG9hhNREz81jqC1cs9EVNcjQ1AU+jH6NFfSAhVVbrrY/+nSF+Bsk4AOwm9Qa61InvMCyV+H3w==",
+ "dependencies": {
+ "@types/prop-types": "*",
+ "@types/scheduler": "*",
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "18.2.18",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.18.tgz",
+ "integrity": "sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw==",
+ "devOptional": true,
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/react-lifecycles-compat": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
+ "integrity": "sha512-1CM48Y9ztL5S4wjt7DK2izrkgPp/Ql0zCJu/vHzhgl7J+BD4UbSGjHN1M2TlePms472JvOazUtAO1/G3oFZqIQ==",
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/react-transition-group": {
+ "version": "4.4.10",
+ "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.10.tgz",
+ "integrity": "sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==",
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/scheduler": {
+ "version": "0.16.8",
+ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz",
+ "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A=="
+ },
+ "node_modules/@types/stack-utils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz",
+ "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==",
+ "dev": true
+ },
+ "node_modules/@types/use-sync-external-store": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz",
+ "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
+ },
+ "node_modules/@types/which": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/which/-/which-3.0.3.tgz",
+ "integrity": "sha512-2C1+XoY0huExTbs8MQv1DuS5FS86+SEjdM9F/+GS61gg5Hqbtj8ZiDSx8MfWcyei907fIPbfPGCOrNUTnVHY1g==",
+ "dev": true
+ },
+ "node_modules/@types/ws": {
+ "version": "8.5.10",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz",
+ "integrity": "sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/yargs": {
+ "version": "17.0.32",
+ "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz",
+ "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==",
+ "dev": true,
+ "dependencies": {
+ "@types/yargs-parser": "*"
+ }
+ },
+ "node_modules/@types/yargs-parser": {
+ "version": "21.0.3",
+ "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz",
+ "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==",
+ "dev": true
+ },
+ "node_modules/@vitejs/plugin-react": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.2.1.tgz",
+ "integrity": "sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/core": "^7.23.5",
+ "@babel/plugin-transform-react-jsx-self": "^7.23.3",
+ "@babel/plugin-transform-react-jsx-source": "^7.23.3",
+ "@types/babel__core": "^7.20.5",
+ "react-refresh": "^0.14.0"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "vite": "^4.2.0 || ^5.0.0"
+ }
+ },
+ "node_modules/agent-base": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz",
+ "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/ansi-escapes": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz",
+ "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ansi-escapes/node_modules/type-fest": {
+ "version": "3.13.1",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz",
+ "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==",
+ "dev": true,
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/aria-query": {
+ "version": "5.1.3",
+ "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz",
+ "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==",
+ "dev": true,
+ "dependencies": {
+ "deep-equal": "^2.0.5"
+ }
+ },
+ "node_modules/array-buffer-byte-length": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz",
+ "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "is-array-buffer": "^3.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.foreach": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/array.prototype.foreach/-/array.prototype.foreach-1.0.5.tgz",
+ "integrity": "sha512-FSk2BdZDQVdxGeh63usPldJo5xtkdBp3iYBqEGlGnId5TV0xtrKOnz9kXzfFL5L/81EIuVkxtiYtJSE2IjKoPA==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-array-method-boxes-properly": "^1.0.0",
+ "get-intrinsic": "^1.2.1",
+ "is-string": "^1.0.7"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/arraybuffer.prototype.slice": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz",
+ "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==",
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.0",
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "get-intrinsic": "^1.2.1",
+ "is-array-buffer": "^3.0.2",
+ "is-shared-array-buffer": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/attr-accept": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.2.tgz",
+ "integrity": "sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/auto-bind": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-5.0.1.tgz",
+ "integrity": "sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==",
+ "dev": true,
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/autosuggest-highlight": {
+ "version": "3.3.4",
+ "resolved": "https://registry.npmjs.org/autosuggest-highlight/-/autosuggest-highlight-3.3.4.tgz",
+ "integrity": "sha512-j6RETBD2xYnrVcoV1S5R4t3WxOlWZKyDQjkwnggDPSjF5L4jV98ZltBpvPvbkM1HtoSe5o+bNrTHyjPbieGeYA==",
+ "dependencies": {
+ "remove-accents": "^0.4.2"
+ }
+ },
+ "node_modules/available-typed-arrays": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",
+ "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/babel-plugin-macros": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
+ "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
+ "dependencies": {
+ "@babel/runtime": "^7.12.5",
+ "cosmiconfig": "^7.0.0",
+ "resolve": "^1.19.0"
+ },
+ "engines": {
+ "node": ">=10",
+ "npm": ">=6"
+ }
+ },
+ "node_modules/babel-runtime": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
+ "integrity": "sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==",
+ "dependencies": {
+ "core-js": "^2.4.0",
+ "regenerator-runtime": "^0.11.0"
+ }
+ },
+ "node_modules/babel-runtime/node_modules/regenerator-runtime": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
+ "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
+ },
+ "node_modules/big-integer": {
+ "version": "1.6.52",
+ "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz",
+ "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/bin-links": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-4.0.3.tgz",
+ "integrity": "sha512-obsRaULtJurnfox/MDwgq6Yo9kzbv1CPTk/1/s7Z/61Lezc8IKkFCOXNeVLXz0456WRzBQmSsDWlai2tIhBsfA==",
+ "dev": true,
+ "dependencies": {
+ "cmd-shim": "^6.0.0",
+ "npm-normalize-package-bin": "^3.0.0",
+ "read-cmd-shim": "^4.0.0",
+ "write-file-atomic": "^5.0.0"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "dev": true,
+ "dependencies": {
+ "fill-range": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/broadcast-channel": {
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/broadcast-channel/-/broadcast-channel-3.7.0.tgz",
+ "integrity": "sha512-cIAKJXAxGJceNZGTZSBzMxzyOn72cVgPnKx4dc6LRjQgbaJUQqhy5rzL3zbMxkMWsGKkv2hSFkPRMEXfoMZ2Mg==",
+ "dependencies": {
+ "@babel/runtime": "^7.7.2",
+ "detect-node": "^2.1.0",
+ "js-sha3": "0.8.0",
+ "microseconds": "0.2.0",
+ "nano-time": "1.0.0",
+ "oblivious-set": "1.0.0",
+ "rimraf": "3.0.2",
+ "unload": "2.2.0"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.22.2",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz",
+ "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "caniuse-lite": "^1.0.30001565",
+ "electron-to-chromium": "^1.4.601",
+ "node-releases": "^2.0.14",
+ "update-browserslist-db": "^1.0.13"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/buffer-writer": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/buffer-writer/-/buffer-writer-2.0.0.tgz",
+ "integrity": "sha512-a7ZpuTZU1TRtnwyCNW3I5dc0wWNC3VR9S++Ewyk2HHZdrO3CQJqSpd+95Us590V6AL7JqUAH2IwZ/398PmNFgw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/call-bind": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz",
+ "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==",
+ "dependencies": {
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.1",
+ "set-function-length": "^1.1.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001576",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz",
+ "integrity": "sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ]
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/chownr": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
+ "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/ci-info": {
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",
+ "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/sibiraj-s"
+ }
+ ],
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cli-boxes": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz",
+ "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-cursor": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz",
+ "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==",
+ "dev": true,
+ "dependencies": {
+ "restore-cursor": "^4.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-truncate": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-3.1.0.tgz",
+ "integrity": "sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==",
+ "dev": true,
+ "dependencies": {
+ "slice-ansi": "^5.0.0",
+ "string-width": "^5.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/ansi-regex": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/ansi-styles": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true
+ },
+ "node_modules/cli-truncate/node_modules/is-fullwidth-code-point": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
+ "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/slice-ansi": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz",
+ "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^6.0.0",
+ "is-fullwidth-code-point": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dev": true,
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/cliui": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
+ "dev": true,
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/clsx": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.0.tgz",
+ "integrity": "sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/cmd-shim": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.2.tgz",
+ "integrity": "sha512-+FFYbB0YLaAkhkcrjkyNLYDiOsFSfRjwjY19LXk/psmMx1z00xlCv7hhQoTGXXIKi+YXHL/iiFo8NqMVQX9nOw==",
+ "dev": true,
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/code-excerpt": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz",
+ "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==",
+ "dev": true,
+ "dependencies": {
+ "convert-to-spaces": "^2.0.1"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
+ },
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+ "dev": true
+ },
+ "node_modules/convert-to-spaces": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz",
+ "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==",
+ "dev": true,
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/core-js": {
+ "version": "2.6.12",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",
+ "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
+ "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.",
+ "hasInstallScript": true
+ },
+ "node_modules/cosmiconfig": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz",
+ "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==",
+ "dependencies": {
+ "@types/parse-json": "^4.0.0",
+ "import-fresh": "^3.2.1",
+ "parse-json": "^5.0.0",
+ "path-type": "^4.0.0",
+ "yaml": "^1.10.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/css-box-model": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz",
+ "integrity": "sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==",
+ "dependencies": {
+ "tiny-invariant": "^1.0.6"
+ }
+ },
+ "node_modules/css-mediaquery": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/css-mediaquery/-/css-mediaquery-0.1.2.tgz",
+ "integrity": "sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q=="
+ },
+ "node_modules/css.escape": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz",
+ "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==",
+ "dev": true
+ },
+ "node_modules/csstype": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="
+ },
+ "node_modules/d3-array": {
+ "version": "2.12.1",
+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz",
+ "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==",
+ "dependencies": {
+ "internmap": "^1.0.0"
+ }
+ },
+ "node_modules/d3-color": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",
+ "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-format": {
+ "version": "1.4.5",
+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz",
+ "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ=="
+ },
+ "node_modules/d3-interpolate": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",
+ "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",
+ "dependencies": {
+ "d3-color": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-path": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",
+ "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg=="
+ },
+ "node_modules/d3-scale": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.3.0.tgz",
+ "integrity": "sha512-1JGp44NQCt5d1g+Yy+GeOnZP7xHo0ii8zsQp6PGzd+C1/dl0KGsp9A7Mxwp+1D1o4unbTTxVdU/ZOIEBoeZPbQ==",
+ "dependencies": {
+ "d3-array": "^2.3.0",
+ "d3-format": "1 - 2",
+ "d3-interpolate": "1.2.0 - 2",
+ "d3-time": "^2.1.1",
+ "d3-time-format": "2 - 3"
+ }
+ },
+ "node_modules/d3-scale-chromatic": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-2.0.0.tgz",
+ "integrity": "sha512-LLqy7dJSL8yDy7NRmf6xSlsFZ6zYvJ4BcWFE4zBrOPnQERv9zj24ohnXKRbyi9YHnYV+HN1oEO3iFK971/gkzA==",
+ "dependencies": {
+ "d3-color": "1 - 2",
+ "d3-interpolate": "1 - 2"
+ }
+ },
+ "node_modules/d3-scale-chromatic/node_modules/d3-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-2.0.0.tgz",
+ "integrity": "sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ=="
+ },
+ "node_modules/d3-scale-chromatic/node_modules/d3-interpolate": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-2.0.1.tgz",
+ "integrity": "sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ==",
+ "dependencies": {
+ "d3-color": "1 - 2"
+ }
+ },
+ "node_modules/d3-scale/node_modules/d3-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-2.0.0.tgz",
+ "integrity": "sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ=="
+ },
+ "node_modules/d3-scale/node_modules/d3-interpolate": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-2.0.1.tgz",
+ "integrity": "sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ==",
+ "dependencies": {
+ "d3-color": "1 - 2"
+ }
+ },
+ "node_modules/d3-scale/node_modules/d3-time": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-2.1.1.tgz",
+ "integrity": "sha512-/eIQe/eR4kCQwq7yxi7z4c6qEXf2IYGcjoWB5OOQy4Tq9Uv39/947qlDcN2TLkiTzQWzvnsuYPB9TrWaNfipKQ==",
+ "dependencies": {
+ "d3-array": "2"
+ }
+ },
+ "node_modules/d3-shape": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",
+ "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",
+ "dependencies": {
+ "d3-path": "1"
+ }
+ },
+ "node_modules/d3-time": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz",
+ "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA=="
+ },
+ "node_modules/d3-time-format": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-3.0.0.tgz",
+ "integrity": "sha512-UXJh6EKsHBTjopVqZBhFysQcoXSv/5yLONZvkQ5Kk3qbwiUYkdX17Xa1PT6U1ZWXGGfB1ey5L8dKMlFq2DO0Ag==",
+ "dependencies": {
+ "d3-time": "1 - 2"
+ }
+ },
+ "node_modules/data-uri-to-buffer": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz",
+ "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==",
+ "dev": true,
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/date-fns": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.3.1.tgz",
+ "integrity": "sha512-y8e109LYGgoQDveiEBD3DYXKba1jWf5BA8YU1FL5Tvm0BTdEfy54WLCwnuYWZNnzzvALy/QQ4Hov+Q9RVRv+Zw==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/kossnocorp"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decode-uri-component": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz",
+ "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==",
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/deep-equal": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.3.tgz",
+ "integrity": "sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==",
+ "dev": true,
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.0",
+ "call-bind": "^1.0.5",
+ "es-get-iterator": "^1.1.3",
+ "get-intrinsic": "^1.2.2",
+ "is-arguments": "^1.1.1",
+ "is-array-buffer": "^3.0.2",
+ "is-date-object": "^1.0.5",
+ "is-regex": "^1.1.4",
+ "is-shared-array-buffer": "^1.0.2",
+ "isarray": "^2.0.5",
+ "object-is": "^1.1.5",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.4",
+ "regexp.prototype.flags": "^1.5.1",
+ "side-channel": "^1.0.4",
+ "which-boxed-primitive": "^1.0.2",
+ "which-collection": "^1.0.1",
+ "which-typed-array": "^1.1.13"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/define-data-property": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz",
+ "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==",
+ "dependencies": {
+ "get-intrinsic": "^1.2.1",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/define-lazy-prop": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
+ "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/define-properties": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
+ "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
+ "dependencies": {
+ "define-data-property": "^1.0.1",
+ "has-property-descriptors": "^1.0.0",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/detect-node": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz",
+ "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g=="
+ },
+ "node_modules/diff-sequences": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz",
+ "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==",
+ "dev": true,
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/dir-glob": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
+ "dev": true,
+ "dependencies": {
+ "path-type": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/dom-accessibility-api": {
+ "version": "0.5.16",
+ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
+ "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==",
+ "dev": true
+ },
+ "node_modules/dom-helpers": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",
+ "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==",
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/dompurify": {
+ "version": "2.4.7",
+ "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.4.7.tgz",
+ "integrity": "sha512-kxxKlPEDa6Nc5WJi+qRgPbOAbgTpSULL+vI3NUXsZMlkJxTqYI9wg5ZTay2sFrdZRWHPWNi+EdAhcJf81WtoMQ=="
+ },
+ "node_modules/dotenv": {
+ "version": "16.4.1",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.1.tgz",
+ "integrity": "sha512-CjA3y+Dr3FyFDOAMnxZEGtnW9KBR2M0JvvUtXNW+dYJL5ROWxP9DUHCwgFqpMk0OXCc0ljhaNTr2w/kutYIcHQ==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/motdotla/dotenv?sponsor=1"
+ }
+ },
+ "node_modules/duplexer": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",
+ "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==",
+ "dev": true
+ },
+ "node_modules/eastasianwidth": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
+ "dev": true
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.4.629",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.629.tgz",
+ "integrity": "sha512-5UUkr3k3CZ/k+9Sw7vaaIMyOzMC0XbPyprKI3n0tbKDqkzTDOjK4izm7DxlkueRMim6ZZQ1ja9F7hoFVplHihA==",
+ "dev": true
+ },
+ "node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true
+ },
+ "node_modules/error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "dependencies": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
+ "node_modules/es-abstract": {
+ "version": "1.22.3",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz",
+ "integrity": "sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==",
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.0",
+ "arraybuffer.prototype.slice": "^1.0.2",
+ "available-typed-arrays": "^1.0.5",
+ "call-bind": "^1.0.5",
+ "es-set-tostringtag": "^2.0.1",
+ "es-to-primitive": "^1.2.1",
+ "function.prototype.name": "^1.1.6",
+ "get-intrinsic": "^1.2.2",
+ "get-symbol-description": "^1.0.0",
+ "globalthis": "^1.0.3",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.0",
+ "has-proto": "^1.0.1",
+ "has-symbols": "^1.0.3",
+ "hasown": "^2.0.0",
+ "internal-slot": "^1.0.5",
+ "is-array-buffer": "^3.0.2",
+ "is-callable": "^1.2.7",
+ "is-negative-zero": "^2.0.2",
+ "is-regex": "^1.1.4",
+ "is-shared-array-buffer": "^1.0.2",
+ "is-string": "^1.0.7",
+ "is-typed-array": "^1.1.12",
+ "is-weakref": "^1.0.2",
+ "object-inspect": "^1.13.1",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.4",
+ "regexp.prototype.flags": "^1.5.1",
+ "safe-array-concat": "^1.0.1",
+ "safe-regex-test": "^1.0.0",
+ "string.prototype.trim": "^1.2.8",
+ "string.prototype.trimend": "^1.0.7",
+ "string.prototype.trimstart": "^1.0.7",
+ "typed-array-buffer": "^1.0.0",
+ "typed-array-byte-length": "^1.0.0",
+ "typed-array-byte-offset": "^1.0.0",
+ "typed-array-length": "^1.0.4",
+ "unbox-primitive": "^1.0.2",
+ "which-typed-array": "^1.1.13"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-array-method-boxes-properly": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz",
+ "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA=="
+ },
+ "node_modules/es-get-iterator": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz",
+ "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.1.3",
+ "has-symbols": "^1.0.3",
+ "is-arguments": "^1.1.1",
+ "is-map": "^2.0.2",
+ "is-set": "^2.0.2",
+ "is-string": "^1.0.7",
+ "isarray": "^2.0.5",
+ "stop-iteration-iterator": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-set-tostringtag": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz",
+ "integrity": "sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==",
+ "dependencies": {
+ "get-intrinsic": "^1.2.2",
+ "has-tostringtag": "^1.0.0",
+ "hasown": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dependencies": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.19.11",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.11.tgz",
+ "integrity": "sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.19.11",
+ "@esbuild/android-arm": "0.19.11",
+ "@esbuild/android-arm64": "0.19.11",
+ "@esbuild/android-x64": "0.19.11",
+ "@esbuild/darwin-arm64": "0.19.11",
+ "@esbuild/darwin-x64": "0.19.11",
+ "@esbuild/freebsd-arm64": "0.19.11",
+ "@esbuild/freebsd-x64": "0.19.11",
+ "@esbuild/linux-arm": "0.19.11",
+ "@esbuild/linux-arm64": "0.19.11",
+ "@esbuild/linux-ia32": "0.19.11",
+ "@esbuild/linux-loong64": "0.19.11",
+ "@esbuild/linux-mips64el": "0.19.11",
+ "@esbuild/linux-ppc64": "0.19.11",
+ "@esbuild/linux-riscv64": "0.19.11",
+ "@esbuild/linux-s390x": "0.19.11",
+ "@esbuild/linux-x64": "0.19.11",
+ "@esbuild/netbsd-x64": "0.19.11",
+ "@esbuild/openbsd-x64": "0.19.11",
+ "@esbuild/sunos-x64": "0.19.11",
+ "@esbuild/win32-arm64": "0.19.11",
+ "@esbuild/win32-ia32": "0.19.11",
+ "@esbuild/win32-x64": "0.19.11"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/event-stream": {
+ "version": "3.3.4",
+ "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz",
+ "integrity": "sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g==",
+ "dev": true,
+ "dependencies": {
+ "duplexer": "~0.1.1",
+ "from": "~0",
+ "map-stream": "~0.1.0",
+ "pause-stream": "0.0.11",
+ "split": "0.3",
+ "stream-combiner": "~0.0.4",
+ "through": "~2.3.1"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",
+ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="
+ },
+ "node_modules/expect": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz",
+ "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==",
+ "dev": true,
+ "dependencies": {
+ "@jest/expect-utils": "^29.7.0",
+ "jest-get-type": "^29.6.3",
+ "jest-matcher-utils": "^29.7.0",
+ "jest-message-util": "^29.7.0",
+ "jest-util": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/fakerest": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/fakerest/-/fakerest-3.5.0.tgz",
+ "integrity": "sha512-ltEVKsobk1ZkiTmQ5pbN3frhTMNneZN585g3XnR7jJaVItfx8sBGOvlYjpDIpAb+KhCVP35M629wxFH0XDOopg==",
+ "dependencies": {
+ "babel-runtime": "^6.26.0",
+ "lodash": "^4.17.21"
+ }
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
+ "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
+ "dev": true,
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/fastq": {
+ "version": "1.16.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz",
+ "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==",
+ "dev": true,
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/fetch-blob": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz",
+ "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/jimmywarting"
+ },
+ {
+ "type": "paypal",
+ "url": "https://paypal.me/jimmywarting"
+ }
+ ],
+ "dependencies": {
+ "node-domexception": "^1.0.0",
+ "web-streams-polyfill": "^3.0.3"
+ },
+ "engines": {
+ "node": "^12.20 || >= 14.13"
+ }
+ },
+ "node_modules/file-selector": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/file-selector/-/file-selector-0.5.0.tgz",
+ "integrity": "sha512-s8KNnmIDTBoD0p9uJ9uD0XY38SCeBOtj0UMXyQSLg1Ypfrfj8+dAvwsLjYQkQ2GjhVtp2HrnF5cJzMhBjfD8HA==",
+ "dependencies": {
+ "tslib": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "dev": true,
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/filter-obj": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz",
+ "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/find-root": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
+ "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng=="
+ },
+ "node_modules/for-each": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
+ "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
+ "dependencies": {
+ "is-callable": "^1.1.3"
+ }
+ },
+ "node_modules/formdata-polyfill": {
+ "version": "4.0.10",
+ "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
+ "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==",
+ "dev": true,
+ "dependencies": {
+ "fetch-blob": "^3.1.2"
+ },
+ "engines": {
+ "node": ">=12.20.0"
+ }
+ },
+ "node_modules/from": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz",
+ "integrity": "sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g==",
+ "dev": true
+ },
+ "node_modules/fs-extra": {
+ "version": "11.2.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
+ "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
+ "dev": true,
+ "dependencies": {
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=14.14"
+ }
+ },
+ "node_modules/fs-minipass": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
+ "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
+ "dev": true,
+ "dependencies": {
+ "minipass": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/fs-minipass/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dev": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/fs-minipass/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
+ },
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/function.prototype.name": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz",
+ "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "functions-have-names": "^1.2.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/functions-have-names": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
+ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/fx": {
+ "version": "31.0.0",
+ "resolved": "https://registry.npmjs.org/fx/-/fx-31.0.0.tgz",
+ "integrity": "sha512-OoeYSPKqNKmfnH4s+rGYI0c8OZmqqOOXsUtqy0YyHqQQoQSDiDs3m3M9uXKx5OQR+jDx7/FhYqpO3kl/As/xgg==",
+ "dev": true,
+ "bin": {
+ "fx": "index.js"
+ }
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "dev": true,
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz",
+ "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==",
+ "dependencies": {
+ "function-bind": "^1.1.2",
+ "has-proto": "^1.0.1",
+ "has-symbols": "^1.0.3",
+ "hasown": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-symbol-description": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz",
+ "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/globalthis": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz",
+ "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==",
+ "dependencies": {
+ "define-properties": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/globby": {
+ "version": "13.2.2",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.2.tgz",
+ "integrity": "sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==",
+ "dev": true,
+ "dependencies": {
+ "dir-glob": "^3.0.1",
+ "fast-glob": "^3.3.0",
+ "ignore": "^5.2.4",
+ "merge2": "^1.4.1",
+ "slash": "^4.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/globby/node_modules/slash": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz",
+ "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
+ "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
+ "dependencies": {
+ "get-intrinsic": "^1.1.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
+ "dev": true
+ },
+ "node_modules/has": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz",
+ "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==",
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/has-bigints": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
+ "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/has-property-descriptors": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz",
+ "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==",
+ "dependencies": {
+ "get-intrinsic": "^1.2.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
+ "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-tostringtag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
+ "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
+ "dependencies": {
+ "has-symbols": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
+ "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/history": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/history/-/history-5.3.0.tgz",
+ "integrity": "sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==",
+ "dependencies": {
+ "@babel/runtime": "^7.7.6"
+ }
+ },
+ "node_modules/hoist-non-react-statics": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
+ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
+ "dependencies": {
+ "react-is": "^16.7.0"
+ }
+ },
+ "node_modules/hoist-non-react-statics/node_modules/react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
+ },
+ "node_modules/hotscript": {
+ "version": "1.0.13",
+ "resolved": "https://registry.npmjs.org/hotscript/-/hotscript-1.0.13.tgz",
+ "integrity": "sha512-C++tTF1GqkGYecL+2S1wJTfoH6APGAsbb7PAWQ3iVIwgG/EFseAfEVOKFgAFq4yK3+6j1EjUD4UQ9dRJHX/sSQ=="
+ },
+ "node_modules/https-proxy-agent": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz",
+ "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==",
+ "dev": true,
+ "dependencies": {
+ "agent-base": "^7.0.2",
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/ignore": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz",
+ "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/indent-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/inflection": {
+ "version": "1.12.0",
+ "resolved": "https://registry.npmjs.org/inflection/-/inflection-1.12.0.tgz",
+ "integrity": "sha512-lRy4DxuIFWXlJU7ed8UiTJOSTqStqYdEb4CEbtXfNbkdj3nH1L+reUWiE10VWcJS2yR7tge8Z74pJjtBjNwj0w==",
+ "engines": [
+ "node >= 0.4.0"
+ ]
+ },
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "node_modules/ink": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/ink/-/ink-4.4.1.tgz",
+ "integrity": "sha512-rXckvqPBB0Krifk5rn/5LvQGmyXwCUpBfmTwbkQNBY9JY8RSl3b8OftBNEYxg4+SWUhEKcPifgope28uL9inlA==",
+ "dev": true,
+ "dependencies": {
+ "@alcalzone/ansi-tokenize": "^0.1.3",
+ "ansi-escapes": "^6.0.0",
+ "auto-bind": "^5.0.1",
+ "chalk": "^5.2.0",
+ "cli-boxes": "^3.0.0",
+ "cli-cursor": "^4.0.0",
+ "cli-truncate": "^3.1.0",
+ "code-excerpt": "^4.0.0",
+ "indent-string": "^5.0.0",
+ "is-ci": "^3.0.1",
+ "is-lower-case": "^2.0.2",
+ "is-upper-case": "^2.0.2",
+ "lodash": "^4.17.21",
+ "patch-console": "^2.0.0",
+ "react-reconciler": "^0.29.0",
+ "scheduler": "^0.23.0",
+ "signal-exit": "^3.0.7",
+ "slice-ansi": "^6.0.0",
+ "stack-utils": "^2.0.6",
+ "string-width": "^5.1.2",
+ "type-fest": "^0.12.0",
+ "widest-line": "^4.0.1",
+ "wrap-ansi": "^8.1.0",
+ "ws": "^8.12.0",
+ "yoga-wasm-web": "~0.3.3"
+ },
+ "engines": {
+ "node": ">=14.16"
+ },
+ "peerDependencies": {
+ "@types/react": ">=18.0.0",
+ "react": ">=18.0.0",
+ "react-devtools-core": "^4.19.1"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "react-devtools-core": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ink/node_modules/ansi-regex": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/ink/node_modules/ansi-styles": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/ink/node_modules/chalk": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
+ "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
+ "dev": true,
+ "engines": {
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/ink/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true
+ },
+ "node_modules/ink/node_modules/indent-string": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
+ "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ink/node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "dev": true
+ },
+ "node_modules/ink/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dev": true,
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ink/node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/ink/node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/internal-slot": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz",
+ "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==",
+ "dependencies": {
+ "get-intrinsic": "^1.2.2",
+ "hasown": "^2.0.0",
+ "side-channel": "^1.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/internmap": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz",
+ "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw=="
+ },
+ "node_modules/is-arguments": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
+ "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-array-buffer": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz",
+ "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.2.0",
+ "is-typed-array": "^1.1.10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="
+ },
+ "node_modules/is-bigint": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",
+ "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",
+ "dependencies": {
+ "has-bigints": "^1.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-boolean-object": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
+ "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-callable": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-ci": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz",
+ "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==",
+ "dev": true,
+ "dependencies": {
+ "ci-info": "^3.2.0"
+ },
+ "bin": {
+ "is-ci": "bin.js"
+ }
+ },
+ "node_modules/is-core-module": {
+ "version": "2.13.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
+ "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
+ "dependencies": {
+ "hasown": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-date-object": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
+ "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-docker": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
+ "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+ "dev": true,
+ "bin": {
+ "is-docker": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-lower-case/-/is-lower-case-2.0.2.tgz",
+ "integrity": "sha512-bVcMJy4X5Og6VZfdOZstSexlEy20Sr0k/p/b2IlQJlfdKAQuMpiv5w2Ccxb8sKdRUNAG1PnHVHjFSdRDVS6NlQ==",
+ "dev": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/is-map": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz",
+ "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-negative-zero": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz",
+ "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/is-number-object": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz",
+ "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==",
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-regex": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
+ "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-set": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz",
+ "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-shared-array-buffer": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz",
+ "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==",
+ "dependencies": {
+ "call-bind": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-string": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
+ "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-symbol": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",
+ "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",
+ "dependencies": {
+ "has-symbols": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-typed-array": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz",
+ "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==",
+ "dependencies": {
+ "which-typed-array": "^1.1.11"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-upper-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-upper-case/-/is-upper-case-2.0.2.tgz",
+ "integrity": "sha512-44pxmxAvnnAOwBg4tHPnkfvgjPwbc5QIsSstNU+YcJ1ovxVzCWpSGosPJOZh/a1tdl81fbgnLc9LLv+x2ywbPQ==",
+ "dev": true,
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/is-weakmap": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz",
+ "integrity": "sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-weakref": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz",
+ "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==",
+ "dependencies": {
+ "call-bind": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-weakset": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.2.tgz",
+ "integrity": "sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.1.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-wsl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+ "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+ "dev": true,
+ "dependencies": {
+ "is-docker": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/isarray": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "dev": true
+ },
+ "node_modules/jest-diff": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz",
+ "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==",
+ "dev": true,
+ "dependencies": {
+ "chalk": "^4.0.0",
+ "diff-sequences": "^29.6.3",
+ "jest-get-type": "^29.6.3",
+ "pretty-format": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-diff/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/jest-diff/node_modules/pretty-format": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
+ "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
+ "dev": true,
+ "dependencies": {
+ "@jest/schemas": "^29.6.3",
+ "ansi-styles": "^5.0.0",
+ "react-is": "^18.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-get-type": {
+ "version": "29.6.3",
+ "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz",
+ "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==",
+ "dev": true,
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-matcher-utils": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz",
+ "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==",
+ "dev": true,
+ "dependencies": {
+ "chalk": "^4.0.0",
+ "jest-diff": "^29.7.0",
+ "jest-get-type": "^29.6.3",
+ "pretty-format": "^29.7.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-matcher-utils/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/jest-matcher-utils/node_modules/pretty-format": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
+ "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
+ "dev": true,
+ "dependencies": {
+ "@jest/schemas": "^29.6.3",
+ "ansi-styles": "^5.0.0",
+ "react-is": "^18.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-message-util": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz",
+ "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==",
+ "dev": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.12.13",
+ "@jest/types": "^29.6.3",
+ "@types/stack-utils": "^2.0.0",
+ "chalk": "^4.0.0",
+ "graceful-fs": "^4.2.9",
+ "micromatch": "^4.0.4",
+ "pretty-format": "^29.7.0",
+ "slash": "^3.0.0",
+ "stack-utils": "^2.0.3"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-message-util/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/jest-message-util/node_modules/pretty-format": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
+ "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
+ "dev": true,
+ "dependencies": {
+ "@jest/schemas": "^29.6.3",
+ "ansi-styles": "^5.0.0",
+ "react-is": "^18.0.0"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/jest-util": {
+ "version": "29.7.0",
+ "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz",
+ "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==",
+ "dev": true,
+ "dependencies": {
+ "@jest/types": "^29.6.3",
+ "@types/node": "*",
+ "chalk": "^4.0.0",
+ "ci-info": "^3.2.0",
+ "graceful-fs": "^4.2.9",
+ "picomatch": "^2.2.3"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ }
+ },
+ "node_modules/js-sha3": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz",
+ "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q=="
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
+ },
+ "node_modules/jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "dev": true,
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/json-parse-even-better-errors": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
+ },
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "dev": true,
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/jsonexport": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/jsonexport/-/jsonexport-3.2.0.tgz",
+ "integrity": "sha512-GbO9ugb0YTZatPd/hqCGR0FSwbr82H6OzG04yzdrG7XOe4QZ0jhQ+kOsB29zqkzoYJLmLxbbrFiuwbQu891XnQ==",
+ "bin": {
+ "jsonexport": "bin/jsonexport.js"
+ }
+ },
+ "node_modules/jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "dev": true,
+ "dependencies": {
+ "universalify": "^2.0.0"
+ },
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="
+ },
+ "node_modules/lodash": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dev": true,
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/lz-string": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz",
+ "integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==",
+ "dev": true,
+ "bin": {
+ "lz-string": "bin/bin.js"
+ }
+ },
+ "node_modules/map-stream": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.1.0.tgz",
+ "integrity": "sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==",
+ "dev": true
+ },
+ "node_modules/match-sorter": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/match-sorter/-/match-sorter-6.3.1.tgz",
+ "integrity": "sha512-mxybbo3pPNuA+ZuCUhm5bwNkXrJTbsk5VWbR5wiwz/GC6LIiegBGn2w3O08UG/jdbYLinw51fSQ5xNU1U3MgBw==",
+ "dependencies": {
+ "@babel/runtime": "^7.12.5",
+ "remove-accents": "0.4.2"
+ }
+ },
+ "node_modules/match-sorter/node_modules/remove-accents": {
+ "version": "0.4.2",
+ "resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.4.2.tgz",
+ "integrity": "sha512-7pXIJqJOq5tFgG1A2Zxti3Ht8jJF337m4sowbuHsW30ZnkQFnDzy9qBNhgzX8ZLW4+UBcXiiR7SwR6pokHsxiA=="
+ },
+ "node_modules/memoize-one": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz",
+ "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw=="
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/micromatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
+ "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
+ "dev": true,
+ "dependencies": {
+ "braces": "^3.0.2",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/microseconds": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/microseconds/-/microseconds-0.2.0.tgz",
+ "integrity": "sha512-n7DHHMjR1avBbSpsTBj6fmMGh2AGrifVV4e+WYc3Q9lO+xnSZ3NyhcBND3vzzatt05LFhoKFRxrIyklmLlUtyA=="
+ },
+ "node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/min-indent": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",
+ "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/minipass": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
+ "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minizlib": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
+ "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
+ "dev": true,
+ "dependencies": {
+ "minipass": "^3.0.0",
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/minizlib/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dev": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minizlib/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
+ },
+ "node_modules/mkdirp": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
+ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
+ "dev": true,
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
+ "node_modules/nano-time": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/nano-time/-/nano-time-1.0.0.tgz",
+ "integrity": "sha512-flnngywOoQ0lLQOTRNexn2gGSNuM9bKj9RZAWSzhQ+UJYaAFG9bac4DW9VHjUAzrOaIcajHybCTHe/bkvozQqA==",
+ "dependencies": {
+ "big-integer": "^1.6.16"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.7",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
+ "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/node-domexception": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
+ "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/jimmywarting"
+ },
+ {
+ "type": "github",
+ "url": "https://paypal.me/jimmywarting"
+ }
+ ],
+ "engines": {
+ "node": ">=10.5.0"
+ }
+ },
+ "node_modules/node-fetch": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",
+ "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==",
+ "dev": true,
+ "dependencies": {
+ "data-uri-to-buffer": "^4.0.0",
+ "fetch-blob": "^3.1.4",
+ "formdata-polyfill": "^4.0.10"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/node-fetch"
+ }
+ },
+ "node_modules/node-polyglot": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/node-polyglot/-/node-polyglot-2.5.0.tgz",
+ "integrity": "sha512-zXVwHNhFsG3mls+LKHxoHF70GQOL3FTDT3jH7ldkb95kG76RdU7F/NbvxV7D2hNIL9VpWXW6y78Fz+3KZkatRg==",
+ "dependencies": {
+ "array.prototype.foreach": "^1.0.2",
+ "has": "^1.0.3",
+ "object.entries": "^1.1.5",
+ "string.prototype.trim": "^1.2.6",
+ "warning": "^4.0.3"
+ }
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.14",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz",
+ "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==",
+ "dev": true
+ },
+ "node_modules/npm-normalize-package-bin": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz",
+ "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==",
+ "dev": true,
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-inspect": {
+ "version": "1.13.1",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz",
+ "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object-is": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz",
+ "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.assign": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz",
+ "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==",
+ "dependencies": {
+ "call-bind": "^1.0.5",
+ "define-properties": "^1.2.1",
+ "has-symbols": "^1.0.3",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.entries": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.7.tgz",
+ "integrity": "sha512-jCBs/0plmPsOnrKAfFQXRG2NFjlhZgjjcBLSmTnEhU8U6vVTsVe8ANeQJCHTl3gSsI4J+0emOoCgoKlmQPMgmA==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/oblivious-set": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/oblivious-set/-/oblivious-set-1.0.0.tgz",
+ "integrity": "sha512-z+pI07qxo4c2CulUHCDf9lcqDlMSo72N/4rLUpRXf6fu+q8vjt8y0xS+Tlf8NTJDdTXHbdeO1n3MlbctwEoXZw=="
+ },
+ "node_modules/obuf": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz",
+ "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==",
+ "dev": true
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "dev": true,
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/open": {
+ "version": "8.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz",
+ "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==",
+ "dev": true,
+ "dependencies": {
+ "define-lazy-prop": "^2.0.0",
+ "is-docker": "^2.1.1",
+ "is-wsl": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/packet-reader": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/packet-reader/-/packet-reader-1.0.0.tgz",
+ "integrity": "sha512-HAKu/fG3HpHFO0AA8WE8q2g+gBJaZ9MG7fcKk+IJPLTGAD6Psw4443l+9DGRbOIh3/aXr7Phy0TjilYivJo5XQ==",
+ "dev": true
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/parse-json": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
+ "dependencies": {
+ "@babel/code-frame": "^7.0.0",
+ "error-ex": "^1.3.1",
+ "json-parse-even-better-errors": "^2.3.0",
+ "lines-and-columns": "^1.1.6"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/patch-console": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/patch-console/-/patch-console-2.0.0.tgz",
+ "integrity": "sha512-0YNdUceMdaQwoKce1gatDScmMo5pu/tfABfnzEqeG0gtTmd7mh/WcwgUjtAeOU7N8nFFlbQBnFK2gXW5fGvmMA==",
+ "dev": true,
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
+ },
+ "node_modules/path-type": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/pause-stream": {
+ "version": "0.0.11",
+ "resolved": "https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz",
+ "integrity": "sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==",
+ "dev": true,
+ "dependencies": {
+ "through": "~2.3"
+ }
+ },
+ "node_modules/pg": {
+ "version": "8.11.3",
+ "resolved": "https://registry.npmjs.org/pg/-/pg-8.11.3.tgz",
+ "integrity": "sha512-+9iuvG8QfaaUrrph+kpF24cXkH1YOOUeArRNYIxq1viYHZagBxrTno7cecY1Fa44tJeZvaoG+Djpkc3JwehN5g==",
+ "dev": true,
+ "dependencies": {
+ "buffer-writer": "2.0.0",
+ "packet-reader": "1.0.0",
+ "pg-connection-string": "^2.6.2",
+ "pg-pool": "^3.6.1",
+ "pg-protocol": "^1.6.0",
+ "pg-types": "^2.1.0",
+ "pgpass": "1.x"
+ },
+ "engines": {
+ "node": ">= 8.0.0"
+ },
+ "optionalDependencies": {
+ "pg-cloudflare": "^1.1.1"
+ },
+ "peerDependencies": {
+ "pg-native": ">=3.0.1"
+ },
+ "peerDependenciesMeta": {
+ "pg-native": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/pg-cloudflare": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/pg-cloudflare/-/pg-cloudflare-1.1.1.tgz",
+ "integrity": "sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==",
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/pg-connection-string": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.6.2.tgz",
+ "integrity": "sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA==",
+ "dev": true
+ },
+ "node_modules/pg-int8": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz",
+ "integrity": "sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/pg-numeric": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/pg-numeric/-/pg-numeric-1.0.2.tgz",
+ "integrity": "sha512-BM/Thnrw5jm2kKLE5uJkXqqExRUY/toLHda65XgFTBTFYZyopbKjBe29Ii3RbkvlsMoFwD+tHeGaCjjv0gHlyw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/pg-pool": {
+ "version": "3.6.1",
+ "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.6.1.tgz",
+ "integrity": "sha512-jizsIzhkIitxCGfPRzJn1ZdcosIt3pz9Sh3V01fm1vZnbnCMgmGl5wvGGdNN2EL9Rmb0EcFoCkixH4Pu+sP9Og==",
+ "dev": true,
+ "peerDependencies": {
+ "pg": ">=8.0"
+ }
+ },
+ "node_modules/pg-protocol": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.6.0.tgz",
+ "integrity": "sha512-M+PDm637OY5WM307051+bsDia5Xej6d9IR4GwJse1qA1DIhiKlksvrneZOYQq42OM+spubpcNYEo2FcKQrDk+Q==",
+ "dev": true
+ },
+ "node_modules/pg-types": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz",
+ "integrity": "sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==",
+ "dev": true,
+ "dependencies": {
+ "pg-int8": "1.0.1",
+ "postgres-array": "~2.0.0",
+ "postgres-bytea": "~1.0.0",
+ "postgres-date": "~1.0.4",
+ "postgres-interval": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/pgpass": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.5.tgz",
+ "integrity": "sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==",
+ "dev": true,
+ "dependencies": {
+ "split2": "^4.1.0"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
+ "dev": true
+ },
+ "node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "dev": true,
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.4.33",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz",
+ "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "nanoid": "^3.3.7",
+ "picocolors": "^1.0.0",
+ "source-map-js": "^1.0.2"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postgres-array": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz",
+ "integrity": "sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postgres-bytea": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.0.tgz",
+ "integrity": "sha512-xy3pmLuQqRBZBXDULy7KbaitYqLcmxigw14Q5sj8QBVLqEwXfeybIKVWiqAXTlcvdvb0+xkOtDbfQMOf4lST1w==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/postgres-date": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz",
+ "integrity": "sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/postgres-interval": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz",
+ "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==",
+ "dev": true,
+ "dependencies": {
+ "xtend": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/postgres-range": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/postgres-range/-/postgres-range-1.1.3.tgz",
+ "integrity": "sha512-VdlZoocy5lCP0c/t66xAfclglEapXPCIVhqqJRncYpvbCgImF0w67aPKfbqUMr72tO2k5q0TdTZwCLjPTI6C9g==",
+ "dev": true
+ },
+ "node_modules/pretty-format": {
+ "version": "27.5.1",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
+ "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.1",
+ "ansi-styles": "^5.0.0",
+ "react-is": "^17.0.1"
+ },
+ "engines": {
+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
+ }
+ },
+ "node_modules/pretty-format/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/pretty-format/node_modules/react-is": {
+ "version": "17.0.2",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
+ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
+ "dev": true
+ },
+ "node_modules/prop-types": {
+ "version": "15.8.1",
+ "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
+ "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",
+ "dependencies": {
+ "loose-envify": "^1.4.0",
+ "object-assign": "^4.1.1",
+ "react-is": "^16.13.1"
+ }
+ },
+ "node_modules/prop-types/node_modules/react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
+ },
+ "node_modules/ps-tree": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.2.0.tgz",
+ "integrity": "sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA==",
+ "dev": true,
+ "dependencies": {
+ "event-stream": "=3.3.4"
+ },
+ "bin": {
+ "ps-tree": "bin/ps-tree.js"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/qs": {
+ "version": "6.11.2",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz",
+ "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==",
+ "peer": true,
+ "dependencies": {
+ "side-channel": "^1.0.4"
+ },
+ "engines": {
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/query-string": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/query-string/-/query-string-7.1.3.tgz",
+ "integrity": "sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg==",
+ "dependencies": {
+ "decode-uri-component": "^0.2.2",
+ "filter-obj": "^1.1.0",
+ "split-on-first": "^1.0.0",
+ "strict-uri-encode": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/ra-core": {
+ "version": "4.16.7",
+ "resolved": "https://registry.npmjs.org/ra-core/-/ra-core-4.16.7.tgz",
+ "integrity": "sha512-mcFnh8NqBF0UgJKlMDHnlzkcFTIYKLN+NxPtsIhW3iJzc9rW/Iu6ZrX2Zanl2M67bXKsPRhd0q3b6zJYNxfCbA==",
+ "dependencies": {
+ "clsx": "^1.1.1",
+ "date-fns": "^2.19.0",
+ "eventemitter3": "^4.0.7",
+ "inflection": "~1.12.0",
+ "jsonexport": "^3.2.0",
+ "lodash": "~4.17.5",
+ "prop-types": "^15.6.1",
+ "query-string": "^7.1.1",
+ "react-is": "^17.0.2",
+ "react-query": "^3.32.1"
+ },
+ "peerDependencies": {
+ "history": "^5.1.0",
+ "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
+ "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
+ "react-hook-form": "^7.43.9",
+ "react-router": "^6.1.0",
+ "react-router-dom": "^6.1.0"
+ }
+ },
+ "node_modules/ra-core/node_modules/clsx": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ra-core/node_modules/date-fns": {
+ "version": "2.30.0",
+ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz",
+ "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==",
+ "dependencies": {
+ "@babel/runtime": "^7.21.0"
+ },
+ "engines": {
+ "node": ">=0.11"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/date-fns"
+ }
+ },
+ "node_modules/ra-core/node_modules/react-is": {
+ "version": "17.0.2",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
+ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="
+ },
+ "node_modules/ra-data-fakerest": {
+ "version": "4.16.7",
+ "resolved": "https://registry.npmjs.org/ra-data-fakerest/-/ra-data-fakerest-4.16.7.tgz",
+ "integrity": "sha512-kSfoM8H9zC5tfJ/1QewaYcGxaXV5yw7vjgYsdlWGO2Swe95pd3gM78nnrCKngHV/u00IPfTl3j1ibZjbrUBtWQ==",
+ "dependencies": {
+ "fakerest": "^3.0.0"
+ },
+ "peerDependencies": {
+ "ra-core": "^4.0.0"
+ }
+ },
+ "node_modules/ra-i18n-polyglot": {
+ "version": "4.16.7",
+ "resolved": "https://registry.npmjs.org/ra-i18n-polyglot/-/ra-i18n-polyglot-4.16.7.tgz",
+ "integrity": "sha512-sT2hnN7DatVQiYpTBL5MR3xzG2Tes1f2rR31ZIkvMtvXRhB+VSGmi8/PUPkt7npsGZ8ecbD05Vg190sVBlwmyg==",
+ "dependencies": {
+ "node-polyglot": "^2.2.2",
+ "ra-core": "^4.16.7"
+ }
+ },
+ "node_modules/ra-language-english": {
+ "version": "4.16.7",
+ "resolved": "https://registry.npmjs.org/ra-language-english/-/ra-language-english-4.16.7.tgz",
+ "integrity": "sha512-UQ/UIkm0ljXyV/GJ/9sP0ndc7t2+zqC0nSpn7API3K9V8ilw1DdUohktfKaM0x7gZp0jUJ878Mh0e7g6x3CGKA==",
+ "dependencies": {
+ "ra-core": "^4.16.7"
+ }
+ },
+ "node_modules/ra-supabase": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/ra-supabase/-/ra-supabase-2.1.0.tgz",
+ "integrity": "sha512-MV/Jv0lqTkKosPOjS63NnzH6fjkgvrpjmyVE1UvkKnGEMiOg2CAre28CX1lyPkqdgtncMjcM3dfjoW+CntNTmQ==",
+ "dependencies": {
+ "ra-supabase-core": "^2.1.0",
+ "ra-supabase-language-english": "^2.1.0",
+ "ra-supabase-ui-materialui": "^2.1.0"
+ }
+ },
+ "node_modules/ra-supabase-core": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/ra-supabase-core/-/ra-supabase-core-2.1.0.tgz",
+ "integrity": "sha512-7VoHAM2lhzim8tErmd+uaYdstirTUaJmDGUfTsUy7AjqbS9iXjUZq3cer+QZys5UOfjr3DnmJoRZ6Hlv0a0UVw==",
+ "peerDependencies": {
+ "@raphiniert/ra-data-postgrest": "^2.0.0",
+ "@supabase/supabase-js": "^2.0.0",
+ "ra-core": "^4.7.0"
+ }
+ },
+ "node_modules/ra-supabase-language-english": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/ra-supabase-language-english/-/ra-supabase-language-english-2.1.0.tgz",
+ "integrity": "sha512-lRQeBdvxXcJLEUpK4Pr4i8lkyg4m7f4bSbjnjqWtYPGS1pG3mffWlKVu1zxuOZ+gaV4tI7FDGaTxkVqJtpMhZw=="
+ },
+ "node_modules/ra-supabase-ui-materialui": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/ra-supabase-ui-materialui/-/ra-supabase-ui-materialui-2.1.0.tgz",
+ "integrity": "sha512-EbILfPQFqOcypPrvNxflpxeaF4Qx0WE+iC04fGVgl80DwND0WOrPPSVIjgg1ig3w0ILMZ25EztO20crJxq5aXw==",
+ "dependencies": {
+ "ra-supabase-core": "^2.1.0"
+ },
+ "peerDependencies": {
+ "@mui/icons-material": "^5.0.0",
+ "@mui/material": "^5.0.0",
+ "@supabase/supabase-js": "^2.0.0",
+ "ra-core": "^4.7.0",
+ "ra-ui-materialui": "^4.7.1",
+ "react": "^16.9.0 || ^18.0.0",
+ "react-dom": "^16.9.0 || ^18.0.0",
+ "react-router": "^6.1.0"
+ }
+ },
+ "node_modules/ra-ui-materialui": {
+ "version": "4.16.7",
+ "resolved": "https://registry.npmjs.org/ra-ui-materialui/-/ra-ui-materialui-4.16.7.tgz",
+ "integrity": "sha512-AXbkS6UDV/BeI/E1iSrTZrZsCSbr61+7LEBnQgBJ67cm7mGPDaotcBgRWiZhCo6yEgzh2WMJny/i0Yh2ZNLXdA==",
+ "dependencies": {
+ "autosuggest-highlight": "^3.1.1",
+ "clsx": "^1.1.1",
+ "css-mediaquery": "^0.1.2",
+ "dompurify": "^2.4.3",
+ "hotscript": "^1.0.12",
+ "inflection": "~1.12.0",
+ "jsonexport": "^3.2.0",
+ "lodash": "~4.17.5",
+ "prop-types": "^15.7.0",
+ "query-string": "^7.1.1",
+ "react-dropzone": "^12.0.4",
+ "react-error-boundary": "^3.1.4",
+ "react-query": "^3.32.1",
+ "react-transition-group": "^4.4.1"
+ },
+ "peerDependencies": {
+ "@mui/icons-material": "^5.0.1",
+ "@mui/material": "^5.0.2",
+ "ra-core": "^4.0.0",
+ "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
+ "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
+ "react-hook-form": "*",
+ "react-is": "^16.9.0 || ^17.0.0 || ^18.0.0",
+ "react-router": "^6.1.0",
+ "react-router-dom": "^6.1.0"
+ }
+ },
+ "node_modules/ra-ui-materialui/node_modules/clsx": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz",
+ "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ra-ui-materialui/node_modules/react-error-boundary": {
+ "version": "3.1.4",
+ "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-3.1.4.tgz",
+ "integrity": "sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==",
+ "dependencies": {
+ "@babel/runtime": "^7.12.5"
+ },
+ "engines": {
+ "node": ">=10",
+ "npm": ">=6"
+ },
+ "peerDependencies": {
+ "react": ">=16.13.1"
+ }
+ },
+ "node_modules/raf-schd": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/raf-schd/-/raf-schd-4.0.3.tgz",
+ "integrity": "sha512-tQkJl2GRWh83ui2DiPTJz9wEiMN20syf+5oKfB03yYP7ioZcJwsIK8FjrtLwH1m7C7e+Tt2yYBlrOpdT+dyeIQ=="
+ },
+ "node_modules/react": {
+ "version": "18.2.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
+ "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==",
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-admin": {
+ "version": "4.16.7",
+ "resolved": "https://registry.npmjs.org/react-admin/-/react-admin-4.16.7.tgz",
+ "integrity": "sha512-flBUW1oix7Dul7dsBER5dofPVPHorUjne4a5lmv6UlQARGZ5ysYveoWUY3pMhmR0J9Ay5m27mlRtr44d9J5NMQ==",
+ "dependencies": {
+ "@emotion/react": "^11.4.1",
+ "@emotion/styled": "^11.3.0",
+ "@mui/icons-material": "^5.0.1",
+ "@mui/material": "^5.0.2",
+ "history": "^5.1.0",
+ "ra-core": "^4.16.7",
+ "ra-i18n-polyglot": "^4.16.7",
+ "ra-language-english": "^4.16.7",
+ "ra-ui-materialui": "^4.16.7",
+ "react-hook-form": "^7.43.9",
+ "react-router": "^6.1.0",
+ "react-router-dom": "^6.1.0"
+ },
+ "peerDependencies": {
+ "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
+ "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "18.2.0",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz",
+ "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==",
+ "dependencies": {
+ "loose-envify": "^1.1.0",
+ "scheduler": "^0.23.0"
+ },
+ "peerDependencies": {
+ "react": "^18.2.0"
+ }
+ },
+ "node_modules/react-dropzone": {
+ "version": "12.1.0",
+ "resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-12.1.0.tgz",
+ "integrity": "sha512-iBYHA1rbopIvtzokEX4QubO6qk5IF/x3BtKGu74rF2JkQDXnwC4uO/lHKpaw4PJIV6iIAYOlwLv2FpiGyqHNog==",
+ "dependencies": {
+ "attr-accept": "^2.2.2",
+ "file-selector": "^0.5.0",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">= 10.13"
+ },
+ "peerDependencies": {
+ "react": ">= 16.8"
+ }
+ },
+ "node_modules/react-error-boundary": {
+ "version": "4.0.12",
+ "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-4.0.12.tgz",
+ "integrity": "sha512-kJdxdEYlb7CPC1A0SeUY38cHpjuu6UkvzKiAmqmOFL21VRfMhOcWxTCBgLVCO0VEMh9JhFNcVaXlV4/BTpiwOA==",
+ "dependencies": {
+ "@babel/runtime": "^7.12.5"
+ },
+ "peerDependencies": {
+ "react": ">=16.13.1"
+ }
+ },
+ "node_modules/react-hook-form": {
+ "version": "7.49.3",
+ "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.49.3.tgz",
+ "integrity": "sha512-foD6r3juidAT1cOZzpmD/gOKt7fRsDhXXZ0y28+Al1CHgX+AY1qIN9VSIIItXRq1dN68QrRwl1ORFlwjBaAqeQ==",
+ "engines": {
+ "node": ">=18",
+ "pnpm": "8"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/react-hook-form"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17 || ^18"
+ }
+ },
+ "node_modules/react-is": {
+ "version": "18.2.0",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",
+ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w=="
+ },
+ "node_modules/react-lifecycles-compat": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
+ "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA=="
+ },
+ "node_modules/react-query": {
+ "version": "3.39.3",
+ "resolved": "https://registry.npmjs.org/react-query/-/react-query-3.39.3.tgz",
+ "integrity": "sha512-nLfLz7GiohKTJDuT4us4X3h/8unOh+00MLb2yJoGTPjxKs2bc1iDhkNx2bd5MKklXnOD3NrVZ+J2UXujA5In4g==",
+ "dependencies": {
+ "@babel/runtime": "^7.5.5",
+ "broadcast-channel": "^3.4.1",
+ "match-sorter": "^6.0.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "react-dom": {
+ "optional": true
+ },
+ "react-native": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-reconciler": {
+ "version": "0.29.0",
+ "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.29.0.tgz",
+ "integrity": "sha512-wa0fGj7Zht1EYMRhKWwoo1H9GApxYLBuhoAuXN0TlltESAjDssB+Apf0T/DngVqaMyPypDmabL37vw/2aRM98Q==",
+ "dev": true,
+ "dependencies": {
+ "loose-envify": "^1.1.0",
+ "scheduler": "^0.23.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "peerDependencies": {
+ "react": "^18.2.0"
+ }
+ },
+ "node_modules/react-redux": {
+ "version": "8.1.3",
+ "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-8.1.3.tgz",
+ "integrity": "sha512-n0ZrutD7DaX/j9VscF+uTALI3oUPa/pO4Z3soOBIjuRn/FzVu6aehhysxZCLi6y7duMf52WNZGMl7CtuK5EnRw==",
+ "dependencies": {
+ "@babel/runtime": "^7.12.1",
+ "@types/hoist-non-react-statics": "^3.3.1",
+ "@types/use-sync-external-store": "^0.0.3",
+ "hoist-non-react-statics": "^3.3.2",
+ "react-is": "^18.0.0",
+ "use-sync-external-store": "^1.0.0"
+ },
+ "peerDependencies": {
+ "@types/react": "^16.8 || ^17.0 || ^18.0",
+ "@types/react-dom": "^16.8 || ^17.0 || ^18.0",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0",
+ "react-native": ">=0.59",
+ "redux": "^4 || ^5.0.0-beta.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ },
+ "react-native": {
+ "optional": true
+ },
+ "redux": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-refresh": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz",
+ "integrity": "sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-router": {
+ "version": "6.21.3",
+ "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.21.3.tgz",
+ "integrity": "sha512-a0H638ZXULv1OdkmiK6s6itNhoy33ywxmUFT/xtSoVyf9VnC7n7+VT4LjVzdIHSaF5TIh9ylUgxMXksHTgGrKg==",
+ "dependencies": {
+ "@remix-run/router": "1.14.2"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8"
+ }
+ },
+ "node_modules/react-router-dom": {
+ "version": "6.21.3",
+ "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.21.3.tgz",
+ "integrity": "sha512-kNzubk7n4YHSrErzjLK72j0B5i969GsuCGazRl3G6j1zqZBLjuSlYBdVdkDOgzGdPIffUOc9nmgiadTEVoq91g==",
+ "dependencies": {
+ "@remix-run/router": "1.14.2",
+ "react-router": "6.21.3"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8",
+ "react-dom": ">=16.8"
+ }
+ },
+ "node_modules/react-transition-group": {
+ "version": "4.4.5",
+ "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz",
+ "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==",
+ "dependencies": {
+ "@babel/runtime": "^7.5.5",
+ "dom-helpers": "^5.0.1",
+ "loose-envify": "^1.4.0",
+ "prop-types": "^15.6.2"
+ },
+ "peerDependencies": {
+ "react": ">=16.6.0",
+ "react-dom": ">=16.6.0"
+ }
+ },
+ "node_modules/read-cmd-shim": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz",
+ "integrity": "sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q==",
+ "dev": true,
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/redent": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz",
+ "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==",
+ "dev": true,
+ "dependencies": {
+ "indent-string": "^4.0.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/redux": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz",
+ "integrity": "sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==",
+ "dependencies": {
+ "@babel/runtime": "^7.9.2"
+ }
+ },
+ "node_modules/regenerator-runtime": {
+ "version": "0.14.1",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
+ "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
+ },
+ "node_modules/regexp.prototype.flags": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz",
+ "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "set-function-name": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/remove-accents": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.4.4.tgz",
+ "integrity": "sha512-EpFcOa/ISetVHEXqu+VwI96KZBmq+a8LJnGkaeFw45epGlxIZz5dhEEnNZMsQXgORu3qaMoLX4qJCzOik6ytAg=="
+ },
+ "node_modules/require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/resolve": {
+ "version": "1.22.8",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
+ "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
+ "dependencies": {
+ "is-core-module": "^2.13.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/restore-cursor": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz",
+ "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==",
+ "dev": true,
+ "dependencies": {
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/restore-cursor/node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "dev": true
+ },
+ "node_modules/reusify": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
+ "dev": true,
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.9.5",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.9.5.tgz",
+ "integrity": "sha512-E4vQW0H/mbNMw2yLSqJyjtkHY9dslf/p0zuT1xehNRqUTBOFMqEjguDvqhXr7N7r/4ttb2jr4T41d3dncmIgbQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/estree": "1.0.5"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.9.5",
+ "@rollup/rollup-android-arm64": "4.9.5",
+ "@rollup/rollup-darwin-arm64": "4.9.5",
+ "@rollup/rollup-darwin-x64": "4.9.5",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.9.5",
+ "@rollup/rollup-linux-arm64-gnu": "4.9.5",
+ "@rollup/rollup-linux-arm64-musl": "4.9.5",
+ "@rollup/rollup-linux-riscv64-gnu": "4.9.5",
+ "@rollup/rollup-linux-x64-gnu": "4.9.5",
+ "@rollup/rollup-linux-x64-musl": "4.9.5",
+ "@rollup/rollup-win32-arm64-msvc": "4.9.5",
+ "@rollup/rollup-win32-ia32-msvc": "4.9.5",
+ "@rollup/rollup-win32-x64-msvc": "4.9.5",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/rollup-plugin-visualizer": {
+ "version": "5.12.0",
+ "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.12.0.tgz",
+ "integrity": "sha512-8/NU9jXcHRs7Nnj07PF2o4gjxmm9lXIrZ8r175bT9dK8qoLlvKTwRMArRCMgpMGlq8CTLugRvEmyMeMXIU2pNQ==",
+ "dev": true,
+ "dependencies": {
+ "open": "^8.4.0",
+ "picomatch": "^2.3.1",
+ "source-map": "^0.7.4",
+ "yargs": "^17.5.1"
+ },
+ "bin": {
+ "rollup-plugin-visualizer": "dist/bin/cli.js"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "rollup": "2.x || 3.x || 4.x"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/rollup-plugin-visualizer/node_modules/source-map": {
+ "version": "0.7.4",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz",
+ "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/safe-array-concat": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.0.tgz",
+ "integrity": "sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==",
+ "dependencies": {
+ "call-bind": "^1.0.5",
+ "get-intrinsic": "^1.2.2",
+ "has-symbols": "^1.0.3",
+ "isarray": "^2.0.5"
+ },
+ "engines": {
+ "node": ">=0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/safe-regex-test": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.2.tgz",
+ "integrity": "sha512-83S9w6eFq12BBIJYvjMux6/dkirb8+4zJRA9cxNBVb7Wq5fJBW+Xze48WqR8pxua7bDuAaaAxtVVd4Idjp1dBQ==",
+ "dependencies": {
+ "call-bind": "^1.0.5",
+ "get-intrinsic": "^1.2.2",
+ "is-regex": "^1.1.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/scheduler": {
+ "version": "0.23.0",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz",
+ "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==",
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ }
+ },
+ "node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/set-function-length": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz",
+ "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==",
+ "dependencies": {
+ "define-data-property": "^1.1.1",
+ "get-intrinsic": "^1.2.1",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/set-function-name": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz",
+ "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==",
+ "dependencies": {
+ "define-data-property": "^1.0.1",
+ "functions-have-names": "^1.2.3",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/side-channel": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
+ "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
+ "dependencies": {
+ "call-bind": "^1.0.0",
+ "get-intrinsic": "^1.0.2",
+ "object-inspect": "^1.9.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/signal-exit": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
+ "dev": true,
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/slash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/slice-ansi": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-6.0.0.tgz",
+ "integrity": "sha512-6bn4hRfkTvDfUoEQYkERg0BVF1D0vrX9HEkMl08uDiNWvVvjylLHvZFZWkDo6wjT8tUctbYl1nCOuE66ZTaUtA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^6.2.1",
+ "is-fullwidth-code-point": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ }
+ },
+ "node_modules/slice-ansi/node_modules/ansi-styles": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/slice-ansi/node_modules/is-fullwidth-code-point": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
+ "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
+ "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/split": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/split/-/split-0.3.3.tgz",
+ "integrity": "sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==",
+ "dev": true,
+ "dependencies": {
+ "through": "2"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/split-on-first": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz",
+ "integrity": "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/split2": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz",
+ "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 10.x"
+ }
+ },
+ "node_modules/stack-utils": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
+ "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
+ "dev": true,
+ "dependencies": {
+ "escape-string-regexp": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/stack-utils/node_modules/escape-string-regexp": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
+ "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/stop-iteration-iterator": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz",
+ "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==",
+ "dev": true,
+ "dependencies": {
+ "internal-slot": "^1.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/stream-combiner": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz",
+ "integrity": "sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw==",
+ "dev": true,
+ "dependencies": {
+ "duplexer": "~0.1.1"
+ }
+ },
+ "node_modules/strict-uri-encode": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz",
+ "integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string.prototype.trim": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz",
+ "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.trimend": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz",
+ "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.trimstart": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz",
+ "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-indent": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz",
+ "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==",
+ "dev": true,
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/stylis": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz",
+ "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw=="
+ },
+ "node_modules/supabase": {
+ "version": "1.136.3",
+ "resolved": "https://registry.npmjs.org/supabase/-/supabase-1.136.3.tgz",
+ "integrity": "sha512-GS9IuOEPWwalkOSi98xAQy/1kb2x/9UU6CTkdZ6P3w2vyguQUAilkaP/ZDVwAVGUQDCiw6vkoQcazk54Q5Q/Nw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "dependencies": {
+ "bin-links": "^4.0.3",
+ "https-proxy-agent": "^7.0.2",
+ "node-fetch": "^3.3.2",
+ "tar": "6.2.0"
+ },
+ "bin": {
+ "supabase": "bin/supabase"
+ },
+ "engines": {
+ "npm": ">=8"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/tar": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz",
+ "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==",
+ "dev": true,
+ "dependencies": {
+ "chownr": "^2.0.0",
+ "fs-minipass": "^2.0.0",
+ "minipass": "^5.0.0",
+ "minizlib": "^2.1.1",
+ "mkdirp": "^1.0.3",
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/tar/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
+ },
+ "node_modules/through": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
+ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",
+ "dev": true
+ },
+ "node_modules/tiny-invariant": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz",
+ "integrity": "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw=="
+ },
+ "node_modules/to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/tr46": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
+ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
+ },
+ "node_modules/tslib": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
+ "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
+ },
+ "node_modules/type-fest": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.12.0.tgz",
+ "integrity": "sha512-53RyidyjvkGpnWPMF9bQgFtWp+Sl8O2Rp13VavmJgfAP9WWG6q6TkrKU8iyJdnwnfgHI6k2hTlgqH4aSdjoTbg==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/typed-array-buffer": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz",
+ "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.2.1",
+ "is-typed-array": "^1.1.10"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/typed-array-byte-length": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz",
+ "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "for-each": "^0.3.3",
+ "has-proto": "^1.0.1",
+ "is-typed-array": "^1.1.10"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typed-array-byte-offset": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz",
+ "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==",
+ "dependencies": {
+ "available-typed-arrays": "^1.0.5",
+ "call-bind": "^1.0.2",
+ "for-each": "^0.3.3",
+ "has-proto": "^1.0.1",
+ "is-typed-array": "^1.1.10"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typed-array-length": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz",
+ "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "for-each": "^0.3.3",
+ "is-typed-array": "^1.1.9"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
+ "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
+ "dev": true,
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/unbox-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz",
+ "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-bigints": "^1.0.2",
+ "has-symbols": "^1.0.3",
+ "which-boxed-primitive": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "5.26.5",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
+ "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
+ },
+ "node_modules/universalify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
+ "dev": true,
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
+ "node_modules/unload": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/unload/-/unload-2.2.0.tgz",
+ "integrity": "sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA==",
+ "dependencies": {
+ "@babel/runtime": "^7.6.2",
+ "detect-node": "^2.0.4"
+ }
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.0.13",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz",
+ "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "escalade": "^3.1.1",
+ "picocolors": "^1.0.0"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
+ "node_modules/use-memo-one": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/use-memo-one/-/use-memo-one-1.1.3.tgz",
+ "integrity": "sha512-g66/K7ZQGYrI6dy8GLpVcMsBp4s17xNkYJVSMvTEevGy3nDxHOfE6z8BVE22+5G5x7t3+bhzrlTDB7ObrEE0cQ==",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/use-sync-external-store": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz",
+ "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/vite": {
+ "version": "5.0.12",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.0.12.tgz",
+ "integrity": "sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==",
+ "dev": true,
+ "dependencies": {
+ "esbuild": "^0.19.3",
+ "postcss": "^8.4.32",
+ "rollup": "^4.2.0"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || >=20.0.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/warning": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz",
+ "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==",
+ "dependencies": {
+ "loose-envify": "^1.0.0"
+ }
+ },
+ "node_modules/web-streams-polyfill": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz",
+ "integrity": "sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ==",
+ "dev": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/web-vitals": {
+ "version": "3.5.2",
+ "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-3.5.2.tgz",
+ "integrity": "sha512-c0rhqNcHXRkY/ogGDJQxZ9Im9D19hDihbzSQJrsioex+KnFgmMzBiy57Z1EjkhX/+OjyBpclDCzz2ITtjokFmg==",
+ "dev": true
+ },
+ "node_modules/webidl-conversions": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
+ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
+ },
+ "node_modules/webpod": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/webpod/-/webpod-0.0.2.tgz",
+ "integrity": "sha512-cSwwQIeg8v4i3p4ajHhwgR7N6VyxAf+KYSSsY6Pd3aETE+xEU4vbitz7qQkB0I321xnhDdgtxuiSfk5r/FVtjg==",
+ "dev": true,
+ "bin": {
+ "webpod": "dist/index.js"
+ }
+ },
+ "node_modules/whatwg-url": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
+ "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
+ "dependencies": {
+ "tr46": "~0.0.3",
+ "webidl-conversions": "^3.0.0"
+ }
+ },
+ "node_modules/which": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz",
+ "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==",
+ "dev": true,
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/which.js"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/which-boxed-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
+ "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
+ "dependencies": {
+ "is-bigint": "^1.0.1",
+ "is-boolean-object": "^1.1.0",
+ "is-number-object": "^1.0.4",
+ "is-string": "^1.0.5",
+ "is-symbol": "^1.0.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-collection": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.1.tgz",
+ "integrity": "sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==",
+ "dev": true,
+ "dependencies": {
+ "is-map": "^2.0.1",
+ "is-set": "^2.0.1",
+ "is-weakmap": "^2.0.1",
+ "is-weakset": "^2.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-typed-array": {
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz",
+ "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==",
+ "dependencies": {
+ "available-typed-arrays": "^1.0.5",
+ "call-bind": "^1.0.4",
+ "for-each": "^0.3.3",
+ "gopd": "^1.0.1",
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/widest-line": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-4.0.1.tgz",
+ "integrity": "sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==",
+ "dev": true,
+ "dependencies": {
+ "string-width": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/widest-line/node_modules/ansi-regex": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/widest-line/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true
+ },
+ "node_modules/widest-line/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dev": true,
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/widest-line/node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrap-ansi": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
+ },
+ "node_modules/write-file-atomic": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz",
+ "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==",
+ "dev": true,
+ "dependencies": {
+ "imurmurhash": "^0.1.4",
+ "signal-exit": "^4.0.1"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.16.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz",
+ "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/xtend": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
+ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.4"
+ }
+ },
+ "node_modules/y18n": {
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
+ "dev": true
+ },
+ "node_modules/yaml": {
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
+ "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/yargs": {
+ "version": "17.7.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
+ "dev": true,
+ "dependencies": {
+ "cliui": "^8.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.3",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^21.1.1"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/yargs-parser": {
+ "version": "21.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/yoga-wasm-web": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/yoga-wasm-web/-/yoga-wasm-web-0.3.3.tgz",
+ "integrity": "sha512-N+d4UJSJbt/R3wqY7Coqs5pcV0aUj2j9IaQ3rNj9bVCLld8tTGKRa2USARjnvZJWVx1NDmQev8EknoczaOQDOA==",
+ "dev": true
+ },
+ "node_modules/zx": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/zx/-/zx-7.2.3.tgz",
+ "integrity": "sha512-QODu38nLlYXg/B/Gw7ZKiZrvPkEsjPN3LQ5JFXM7h0JvwhEdPNNl+4Ao1y4+o3CLNiDUNcwzQYZ4/Ko7kKzCMA==",
+ "dev": true,
+ "dependencies": {
+ "@types/fs-extra": "^11.0.1",
+ "@types/minimist": "^1.2.2",
+ "@types/node": "^18.16.3",
+ "@types/ps-tree": "^1.1.2",
+ "@types/which": "^3.0.0",
+ "chalk": "^5.2.0",
+ "fs-extra": "^11.1.1",
+ "fx": "*",
+ "globby": "^13.1.4",
+ "minimist": "^1.2.8",
+ "node-fetch": "3.3.1",
+ "ps-tree": "^1.2.0",
+ "webpod": "^0",
+ "which": "^3.0.0",
+ "yaml": "^2.2.2"
+ },
+ "bin": {
+ "zx": "build/cli.js"
+ },
+ "engines": {
+ "node": ">= 16.0.0"
+ }
+ },
+ "node_modules/zx/node_modules/@types/node": {
+ "version": "18.19.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.10.tgz",
+ "integrity": "sha512-IZD8kAM02AW1HRDTPOlz3npFava678pr8Ie9Vp8uRhBROXAv8MXT2pCnGZZAKYdromsNQLHQcfWQ6EOatVLtqA==",
+ "dev": true,
+ "dependencies": {
+ "undici-types": "~5.26.4"
+ }
+ },
+ "node_modules/zx/node_modules/chalk": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
+ "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
+ "dev": true,
+ "engines": {
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/zx/node_modules/node-fetch": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.1.tgz",
+ "integrity": "sha512-cRVc/kyto/7E5shrWca1Wsea4y6tL9iYJE5FBCius3JQfb/4P4I295PfhgbJQBLTx6lATE4z+wK0rPM4VS2uow==",
+ "dev": true,
+ "dependencies": {
+ "data-uri-to-buffer": "^4.0.0",
+ "fetch-blob": "^3.1.4",
+ "formdata-polyfill": "^4.0.10"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/node-fetch"
+ }
+ },
+ "node_modules/zx/node_modules/yaml": {
+ "version": "2.3.4",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz",
+ "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 14"
+ }
+ }
+ }
+}
diff --git a/package.json b/package.json
new file mode 100644
index 00000000..01deeb9a
--- /dev/null
+++ b/package.json
@@ -0,0 +1,52 @@
+{
+ "name": "react-admin-crm",
+ "version": "4.12.0",
+ "private": true,
+ "type": "module",
+ "dependencies": {
+ "@faker-js/faker": "^8.4.0",
+ "@hello-pangea/dnd": "^16.5.0",
+ "@mui/icons-material": "^5.15.6",
+ "@mui/material": "^5.15.6",
+ "@nivo/bar": "^0.84.0",
+ "@nivo/core": "^0.84.0",
+ "@supabase/supabase-js": "^2.39.3",
+ "clsx": "^2.1.0",
+ "date-fns": "^3.3.1",
+ "dotenv": "^16.4.1",
+ "lodash": "~4.17.21",
+ "prop-types": "^15.8.1",
+ "ra-data-fakerest": "^4.16.7",
+ "ra-supabase": "^2.1.0",
+ "react": "^18.2.0",
+ "react-admin": "^4.16.7",
+ "react-dom": "^18.2.0",
+ "react-error-boundary": "^4.0.12",
+ "react-router": "^6.21.3",
+ "react-router-dom": "^6.21.3"
+ },
+ "devDependencies": {
+ "@testing-library/jest-dom": "^6.3.0",
+ "@testing-library/react": "^14.1.2",
+ "@testing-library/user-event": "^14.5.2",
+ "@types/jest": "^29.5.11",
+ "@types/lodash": "~4.14.202",
+ "@types/pg": "^8.11.0",
+ "@types/react": "^18.2.48",
+ "@types/react-dom": "^18.2.18",
+ "@vitejs/plugin-react": "^4.2.1",
+ "ink": "^4.4.1",
+ "pg": "^8.11.3",
+ "rollup-plugin-visualizer": "^5.12.0",
+ "supabase": "^1.136.3",
+ "typescript": "^5.3.3",
+ "vite": "^5.0.12",
+ "web-vitals": "^3.5.2",
+ "zx": "^7.2.3"
+ },
+ "scripts": {
+ "dev": "vite --force",
+ "build": "tsc && vite build",
+ "preview": "vite preview"
+ }
+}
diff --git a/public/favicon.ico b/public/favicon.ico
new file mode 100644
index 00000000..a11777cc
Binary files /dev/null and b/public/favicon.ico differ
diff --git a/public/logo192.png b/public/logo192.png
new file mode 100644
index 00000000..fc44b0a3
Binary files /dev/null and b/public/logo192.png differ
diff --git a/public/logo512.png b/public/logo512.png
new file mode 100644
index 00000000..a4e47a65
Binary files /dev/null and b/public/logo512.png differ
diff --git a/public/logos/0.png b/public/logos/0.png
new file mode 100644
index 00000000..adc281a3
Binary files /dev/null and b/public/logos/0.png differ
diff --git a/public/logos/1.png b/public/logos/1.png
new file mode 100644
index 00000000..f0f0bdd1
Binary files /dev/null and b/public/logos/1.png differ
diff --git a/public/logos/10.png b/public/logos/10.png
new file mode 100644
index 00000000..c20a8d4b
Binary files /dev/null and b/public/logos/10.png differ
diff --git a/public/logos/11.png b/public/logos/11.png
new file mode 100644
index 00000000..ff125b0e
Binary files /dev/null and b/public/logos/11.png differ
diff --git a/public/logos/12.png b/public/logos/12.png
new file mode 100644
index 00000000..73d69178
Binary files /dev/null and b/public/logos/12.png differ
diff --git a/public/logos/13.png b/public/logos/13.png
new file mode 100644
index 00000000..2694571d
Binary files /dev/null and b/public/logos/13.png differ
diff --git a/public/logos/14.png b/public/logos/14.png
new file mode 100644
index 00000000..925ffa0a
Binary files /dev/null and b/public/logos/14.png differ
diff --git a/public/logos/15.png b/public/logos/15.png
new file mode 100644
index 00000000..62ac8976
Binary files /dev/null and b/public/logos/15.png differ
diff --git a/public/logos/16.png b/public/logos/16.png
new file mode 100644
index 00000000..5b3352b0
Binary files /dev/null and b/public/logos/16.png differ
diff --git a/public/logos/17.png b/public/logos/17.png
new file mode 100644
index 00000000..a68bc458
Binary files /dev/null and b/public/logos/17.png differ
diff --git a/public/logos/18.png b/public/logos/18.png
new file mode 100644
index 00000000..c86fbb1d
Binary files /dev/null and b/public/logos/18.png differ
diff --git a/public/logos/19.png b/public/logos/19.png
new file mode 100644
index 00000000..43841535
Binary files /dev/null and b/public/logos/19.png differ
diff --git a/public/logos/2.png b/public/logos/2.png
new file mode 100644
index 00000000..ab401dfe
Binary files /dev/null and b/public/logos/2.png differ
diff --git a/public/logos/20.png b/public/logos/20.png
new file mode 100644
index 00000000..77e585d6
Binary files /dev/null and b/public/logos/20.png differ
diff --git a/public/logos/21.png b/public/logos/21.png
new file mode 100644
index 00000000..e23c65b0
Binary files /dev/null and b/public/logos/21.png differ
diff --git a/public/logos/22.png b/public/logos/22.png
new file mode 100644
index 00000000..96558a5d
Binary files /dev/null and b/public/logos/22.png differ
diff --git a/public/logos/23.png b/public/logos/23.png
new file mode 100644
index 00000000..1fea3006
Binary files /dev/null and b/public/logos/23.png differ
diff --git a/public/logos/24.png b/public/logos/24.png
new file mode 100644
index 00000000..c5103495
Binary files /dev/null and b/public/logos/24.png differ
diff --git a/public/logos/25.png b/public/logos/25.png
new file mode 100644
index 00000000..ba20b33e
Binary files /dev/null and b/public/logos/25.png differ
diff --git a/public/logos/26.png b/public/logos/26.png
new file mode 100644
index 00000000..cb4f366e
Binary files /dev/null and b/public/logos/26.png differ
diff --git a/public/logos/27.png b/public/logos/27.png
new file mode 100644
index 00000000..95bf4c15
Binary files /dev/null and b/public/logos/27.png differ
diff --git a/public/logos/28.png b/public/logos/28.png
new file mode 100644
index 00000000..c8adc390
Binary files /dev/null and b/public/logos/28.png differ
diff --git a/public/logos/29.png b/public/logos/29.png
new file mode 100644
index 00000000..9119adac
Binary files /dev/null and b/public/logos/29.png differ
diff --git a/public/logos/3.png b/public/logos/3.png
new file mode 100644
index 00000000..96117b71
Binary files /dev/null and b/public/logos/3.png differ
diff --git a/public/logos/30.png b/public/logos/30.png
new file mode 100644
index 00000000..693699cd
Binary files /dev/null and b/public/logos/30.png differ
diff --git a/public/logos/31.png b/public/logos/31.png
new file mode 100644
index 00000000..a9298aff
Binary files /dev/null and b/public/logos/31.png differ
diff --git a/public/logos/32.png b/public/logos/32.png
new file mode 100644
index 00000000..ff6b3f48
Binary files /dev/null and b/public/logos/32.png differ
diff --git a/public/logos/33.png b/public/logos/33.png
new file mode 100644
index 00000000..96aea270
Binary files /dev/null and b/public/logos/33.png differ
diff --git a/public/logos/34.png b/public/logos/34.png
new file mode 100644
index 00000000..39d1740a
Binary files /dev/null and b/public/logos/34.png differ
diff --git a/public/logos/35.png b/public/logos/35.png
new file mode 100644
index 00000000..8fe2c599
Binary files /dev/null and b/public/logos/35.png differ
diff --git a/public/logos/36.png b/public/logos/36.png
new file mode 100644
index 00000000..e752df90
Binary files /dev/null and b/public/logos/36.png differ
diff --git a/public/logos/37.png b/public/logos/37.png
new file mode 100644
index 00000000..0b14ccbc
Binary files /dev/null and b/public/logos/37.png differ
diff --git a/public/logos/38.png b/public/logos/38.png
new file mode 100644
index 00000000..ffd67073
Binary files /dev/null and b/public/logos/38.png differ
diff --git a/public/logos/39.png b/public/logos/39.png
new file mode 100644
index 00000000..b5d0b976
Binary files /dev/null and b/public/logos/39.png differ
diff --git a/public/logos/4.png b/public/logos/4.png
new file mode 100644
index 00000000..cdb5fd6a
Binary files /dev/null and b/public/logos/4.png differ
diff --git a/public/logos/40.png b/public/logos/40.png
new file mode 100644
index 00000000..0a7a52de
Binary files /dev/null and b/public/logos/40.png differ
diff --git a/public/logos/41.png b/public/logos/41.png
new file mode 100644
index 00000000..62943644
Binary files /dev/null and b/public/logos/41.png differ
diff --git a/public/logos/42.png b/public/logos/42.png
new file mode 100644
index 00000000..f4b3bd4f
Binary files /dev/null and b/public/logos/42.png differ
diff --git a/public/logos/43.png b/public/logos/43.png
new file mode 100644
index 00000000..14835e0d
Binary files /dev/null and b/public/logos/43.png differ
diff --git a/public/logos/44.png b/public/logos/44.png
new file mode 100644
index 00000000..be190cf7
Binary files /dev/null and b/public/logos/44.png differ
diff --git a/public/logos/45.png b/public/logos/45.png
new file mode 100644
index 00000000..0006e769
Binary files /dev/null and b/public/logos/45.png differ
diff --git a/public/logos/46.png b/public/logos/46.png
new file mode 100644
index 00000000..fb7fe8fd
Binary files /dev/null and b/public/logos/46.png differ
diff --git a/public/logos/47.png b/public/logos/47.png
new file mode 100644
index 00000000..703f8d43
Binary files /dev/null and b/public/logos/47.png differ
diff --git a/public/logos/48.png b/public/logos/48.png
new file mode 100644
index 00000000..b8969f22
Binary files /dev/null and b/public/logos/48.png differ
diff --git a/public/logos/49.png b/public/logos/49.png
new file mode 100644
index 00000000..78af3506
Binary files /dev/null and b/public/logos/49.png differ
diff --git a/public/logos/5.png b/public/logos/5.png
new file mode 100644
index 00000000..c2eef113
Binary files /dev/null and b/public/logos/5.png differ
diff --git a/public/logos/50.png b/public/logos/50.png
new file mode 100644
index 00000000..ddece4ec
Binary files /dev/null and b/public/logos/50.png differ
diff --git a/public/logos/51.png b/public/logos/51.png
new file mode 100644
index 00000000..729aaf9d
Binary files /dev/null and b/public/logos/51.png differ
diff --git a/public/logos/52.png b/public/logos/52.png
new file mode 100644
index 00000000..e7cd31d2
Binary files /dev/null and b/public/logos/52.png differ
diff --git a/public/logos/53.png b/public/logos/53.png
new file mode 100644
index 00000000..fe7ed223
Binary files /dev/null and b/public/logos/53.png differ
diff --git a/public/logos/54.png b/public/logos/54.png
new file mode 100644
index 00000000..deb1b8c9
Binary files /dev/null and b/public/logos/54.png differ
diff --git a/public/logos/55.png b/public/logos/55.png
new file mode 100644
index 00000000..a7de0688
Binary files /dev/null and b/public/logos/55.png differ
diff --git a/public/logos/6.png b/public/logos/6.png
new file mode 100644
index 00000000..7453f493
Binary files /dev/null and b/public/logos/6.png differ
diff --git a/public/logos/7.png b/public/logos/7.png
new file mode 100644
index 00000000..e40cc0e3
Binary files /dev/null and b/public/logos/7.png differ
diff --git a/public/logos/8.png b/public/logos/8.png
new file mode 100644
index 00000000..8006db23
Binary files /dev/null and b/public/logos/8.png differ
diff --git a/public/logos/9.png b/public/logos/9.png
new file mode 100644
index 00000000..5f8cfe02
Binary files /dev/null and b/public/logos/9.png differ
diff --git a/public/logos/Readme.md b/public/logos/Readme.md
new file mode 100644
index 00000000..4ccaa536
--- /dev/null
+++ b/public/logos/Readme.md
@@ -0,0 +1 @@
+Logos from https://uilogos.co/
\ No newline at end of file
diff --git a/public/manifest.json b/public/manifest.json
new file mode 100644
index 00000000..080d6c77
--- /dev/null
+++ b/public/manifest.json
@@ -0,0 +1,25 @@
+{
+ "short_name": "React App",
+ "name": "Create React App Sample",
+ "icons": [
+ {
+ "src": "favicon.ico",
+ "sizes": "64x64 32x32 24x24 16x16",
+ "type": "image/x-icon"
+ },
+ {
+ "src": "logo192.png",
+ "type": "image/png",
+ "sizes": "192x192"
+ },
+ {
+ "src": "logo512.png",
+ "type": "image/png",
+ "sizes": "512x512"
+ }
+ ],
+ "start_url": ".",
+ "display": "standalone",
+ "theme_color": "#000000",
+ "background_color": "#ffffff"
+}
diff --git a/public/robots.txt b/public/robots.txt
new file mode 100644
index 00000000..e9e57dc4
--- /dev/null
+++ b/public/robots.txt
@@ -0,0 +1,3 @@
+# https://www.robotstxt.org/robotstxt.html
+User-agent: *
+Disallow:
diff --git a/scripts/seed.ts b/scripts/seed.ts
new file mode 100644
index 00000000..2b740e1e
--- /dev/null
+++ b/scripts/seed.ts
@@ -0,0 +1,197 @@
+import { createClient } from "@supabase/supabase-js";
+import dotenv from "dotenv";
+import pg from "pg";
+
+import generateData from "../src/dataGenerator/index.js";
+
+const dataMappers = {
+ tags: (tag) => ({
+ id: tag.id,
+ name: tag.name,
+ color: tag.color,
+ }),
+ companies: (company) => ({
+ id: company.id,
+ name: company.name,
+ logo: company.logo,
+ sector: company.sector,
+ size: company.size,
+ linkedIn: company.linkedIn,
+ website: company.website,
+ phone_number: company.phone_number,
+ address: company.address,
+ zipcode: company.zipcode,
+ city: company.city,
+ stateAbbr: company.stateAbbr,
+ sales_id: company.sales_id,
+ created_at: company.created_at,
+ }),
+ contacts: (contact) => ({
+ id: contact.id,
+ first_name: contact.first_name,
+ last_name: contact.last_name,
+ gender: contact.gender,
+ title: contact.title,
+ company_id: contact.company_id,
+ email: contact.email,
+ phone_number1: contact.phone_number1,
+ phone_number2: contact.phone_number2,
+ background: contact.background,
+ acquisition: contact.acquisition,
+ avatar: contact.avatar,
+ first_seen: contact.first_seen,
+ last_seen: contact.last_seen,
+ has_newsletter: contact.has_newsletter,
+ status: contact.status,
+ tags: contact.tags,
+ sales_id: contact.sales_id,
+ }),
+ contactNotes: (contactNote) => ({
+ id: contactNote.id,
+ contact_id: contactNote.contact_id,
+ type: contactNote.type,
+ text: contactNote.text,
+ date: contactNote.date,
+ sales_id: contactNote.sales_id,
+ status: contactNote.status,
+ }),
+ deals: (deal) => ({
+ id: deal.id,
+ name: deal.name,
+ company_id: deal.company_id,
+ contact_ids: deal.contact_ids,
+ type: deal.type,
+ stage: deal.stage,
+ description: deal.description,
+ amount: deal.amount,
+ created_at: deal.created_at,
+ updated_at: deal.updated_at,
+ start_at: deal.start_at,
+ sales_id: deal.sales_id,
+ index: deal.index,
+ }),
+ dealNotes: (dealNote) => ({
+ id: dealNote.id,
+ deal_id: dealNote.deal_id,
+ type: dealNote.type,
+ text: dealNote.text,
+ date: dealNote.date,
+ sales_id: dealNote.sales_id,
+ }),
+ tasks: (task) => ({
+ id: task.id,
+ contact_id: task.contact_id,
+ type: task.type,
+ text: task.text,
+ due_date: task.due_date,
+ sales_id: task.sales_id,
+ }),
+};
+
+const seed = async () => {
+ dotenv.config();
+ if (process.env.VITE_SUPABASE_URL === undefined) {
+ throw new Error("Please set the VITE_SUPABASE_URL environment variable");
+ }
+ if (process.env.SUPABASE_SERVICE_ROLE_KEY === undefined) {
+ throw new Error(
+ "Please set the SUPABASE_SERVICE_ROLE_KEY environment variable"
+ );
+ }
+ if (process.env.DATABASE_URL === undefined) {
+ throw new Error("Please set the DATABASE_URL environment variable");
+ }
+ const supabase = createClient(
+ process.env.VITE_SUPABASE_URL,
+ process.env.SUPABASE_SERVICE_ROLE_KEY
+ );
+ const data = generateData();
+
+ for (const sale of data.sales) {
+ const { data, error } = await supabase.auth.admin.createUser({
+ email: sale.email,
+ password: "Password123",
+ email_confirm: true,
+ });
+
+ if (error) {
+ console.error(error);
+ throw new Error(`Failed to create user ${sale.email}`);
+ }
+
+ const { error: errorProfile } = await supabase.from("sales").insert({
+ id: sale.id,
+ first_name: sale.first_name,
+ last_name: sale.last_name,
+ email: sale.email,
+ user_id: data.user.id,
+ });
+
+ if (errorProfile) {
+ console.error(error);
+ throw new Error(
+ `Failed to create user ${sale.email}: ${errorProfile.message}`
+ );
+ }
+ }
+
+ const resources = [
+ "tags",
+ "companies",
+ "contacts",
+ "contactNotes",
+ "deals",
+ "dealNotes",
+ "tasks",
+ ];
+ for (const resource of resources) {
+ const { error } = await supabase
+ .from(resource)
+ .insert(data[resource].map(dataMappers[resource]));
+
+ if (error) {
+ console.error(error);
+ throw new Error(`Failed to insert ${resource}: ${error.message}`);
+ }
+ }
+
+ const client = new pg.Client({
+ connectionString: process.env.DATABASE_URL,
+ });
+ await client.connect();
+ await client.query(
+ `SELECT setval('"sales_id_seq\"', COALESCE((SELECT MAX(id)+1 FROM \"sales\"), 1), false);`
+ );
+ await client.query(
+ `SELECT setval('"tags_id_seq\"', COALESCE((SELECT MAX(id)+1 FROM \"tags\"), 1), false);`
+ );
+ await client.query(
+ `SELECT setval('"companies_id_seq\"', COALESCE((SELECT MAX(id)+1 FROM \"companies\"), 1), false);`
+ );
+ await client.query(
+ `SELECT setval('"contacts_id_seq\"', COALESCE((SELECT MAX(id)+1 FROM \"contacts\"), 1), false);`
+ );
+ await client.query(
+ `SELECT setval('"contactNotes_id_seq\"', COALESCE((SELECT MAX(id)+1 FROM \"contactNotes\"), 1), false);`
+ );
+ await client.query(
+ `SELECT setval('"deals_id_seq\"', COALESCE((SELECT MAX(id)+1 FROM \"deals\"), 1), false);`
+ );
+ await client.query(
+ `SELECT setval('"dealNotes_id_seq\"', COALESCE((SELECT MAX(id)+1 FROM \"dealNotes\"), 1), false);`
+ );
+ await client.query(
+ `SELECT setval('"tasks_id_seq\"', COALESCE((SELECT MAX(id)+1 FROM \"tasks\"), 1), false);`
+ );
+ await client.end();
+};
+
+seed()
+ .then(() => {
+ console.log("Populated database successfully");
+ process.exit(0);
+ })
+ .catch((error) => {
+ console.error(error);
+ process.exit(1);
+ });
diff --git a/scripts/setup.mjs b/scripts/setup.mjs
new file mode 100644
index 00000000..0b5623c4
--- /dev/null
+++ b/scripts/setup.mjs
@@ -0,0 +1,160 @@
+#!/usr/bin/env zx
+import "zx/globals";
+import crypto from "crypto";
+import { createClient } from "@supabase/supabase-js";
+import dotenv from "dotenv";
+
+void (async function () {
+ echo`First sign in to your Supabase account`;
+ await $`npx supabase login`;
+
+ const defaultPassword = generatePassword();
+
+ const defaultProjectName = "react-admin-crm";
+ const projectName =
+ (await question(
+ `Enter your project name: (defaults to: ${defaultProjectName})`
+ )) || defaultProjectName;
+
+ const dbPassword =
+ (await question(
+ `Enter a password for your database: (defaults to: ${defaultPassword})`
+ )) || defaultPassword;
+
+ const defaultRegion = "eu-central-1";
+ const region =
+ (await question(
+ `Enter the region for your database: (defaults to: ${defaultRegion})`
+ )) || defaultRegion;
+
+ echo`You have the following organizations:`;
+ const organizations = await $`npx supabase orgs list`.quiet();
+ echo`${organizations}`;
+ const organization =
+ await question`Enter the ID of the organization under which to create the project:`;
+
+ echo`\n\nCreating a new project with:`;
+ echo`- name: ${projectName}`;
+ echo`- DB password: ${dbPassword}`;
+ echo`- region: ${region}`;
+ echo`- orgId: ${organization}\n\n`;
+
+ const projectResult =
+ await $`npx supabase projects create ${projectName} --region ${region} --db-password ${dbPassword} --org-id ${organization}`;
+ const projectOutput = projectResult.toString().trim();
+ const projectId = projectOutput.match(
+ /https:\/\/supabase.com\/dashboard\/project\/([a-zA-Z0-9_-]*)/
+ )[1];
+
+ const { anonKey, serviceRoleKey } = await fetchApiKeys(projectId);
+ echo`Anon key: ${anonKey}`;
+ echo`Service role key: ${serviceRoleKey}`;
+
+ await $`echo VITE_SUPABASE_URL=https://${projectId}.supabase.co >> .env`.quiet();
+ await $`echo VITE_SUPABASE_ANON_KEY=${anonKey} >> .env`.quiet();
+ await $`echo SUPABASE_SERVICE_ROLE_KEY=${serviceRoleKey} >> .env`.quiet();
+
+ await setup(projectId, dbPassword);
+
+ dotenv.config();
+ const defaultUserEmail = '[email protected]';
+ const userEmail =
+ (await question(
+ `Enter an email for your default user: (defaults to: ${defaultUserEmail})`
+ )) || defaultUserEmail;
+ const defaultUserPassword = generatePassword(12);
+ const userPassword =
+ (await question(
+ `Enter a password for your default user: (defaults to: ${defaultUserPassword})`
+ )) || defaultUserPassword;
+
+ const supabase = createClient(
+ process.env.VITE_SUPABASE_URL,
+ process.env.SUPABASE_SERVICE_ROLE_KEY
+ );
+
+ const { data, error } = await supabase.auth.admin.createUser({
+ email: userEmail,
+ password: userPassword,
+ email_confirm: true,
+ });
+
+ if (error) {
+ console.error(error);
+ throw new Error(`Failed to create user ${userEmail}`);
+ }
+
+ const { error: errorProfile } = await supabase.from("sales").insert({
+ first_name: 'Admin',
+ last_name: 'Admin',
+ email: userEmail,
+ user_id: data.user.id,
+ });
+
+ if (errorProfile) {
+ console.error(error);
+ throw new Error(
+ `Failed to create user ${userEmail}: ${errorProfile.message}`
+ );
+ }
+})();
+
+const fetchApiKeys = async (projectId) => {
+ let anonKey = "";
+ let serviceRoleKey = "";
+
+ try {
+ const projectConfig =
+ await $`supabase projects api-keys --project-ref ${projectId}`.quiet();
+
+ const keys = projectConfig.stdout
+ .trim()
+ .match(/[ ]+([a-z_]*)[ ]+│[ ]+([a-zA-Z0-9._-]+)/gm);
+
+ for (const key of keys) {
+ const [name, value] = key.split("│").map((s) => s.trim());
+ if (name === "anon") {
+ anonKey = value;
+ }
+ if (name === "service_role") {
+ serviceRoleKey = value;
+ }
+ }
+ } catch (e) {}
+
+ if (anonKey === "" || serviceRoleKey === "") {
+ await sleep(1000);
+ return fetchApiKeys(projectId);
+ }
+
+ return { anonKey, serviceRoleKey };
+};
+
+const setup = async (projectId, dbPassword) => {
+ try {
+ await $`supabase link --project-ref ${projectId} --password ${dbPassword}`.quiet();
+ await $`supabase db push --linked --password ${dbPassword}`.quiet();
+ } catch (e) {
+ await sleep(1000);
+ return setup(projectId, dbPassword);
+ }
+};
+
+const generatePassword = (length) => {
+ const password = crypto
+ .getRandomValues(new BigUint64Array(4))
+ .reduce(
+ (prev, curr, index) =>
+ (!index ? prev : prev.toString(36)) +
+ (index % 2 ? curr.toString(36).toUpperCase() : curr.toString(36))
+ )
+ .split("")
+ .sort(() => 128 - crypto.getRandomValues(new Uint8Array(1))[0])
+ .join("");
+
+ if (length) {
+ return password.slice(0, length);
+ }
+
+ return password;
+};
diff --git a/src/App.tsx b/src/App.tsx
new file mode 100644
index 00000000..08ff1cba
--- /dev/null
+++ b/src/App.tsx
@@ -0,0 +1,51 @@
+import {
+ Admin,
+ CustomRoutes,
+ ListGuesser,
+ Resource,
+ defaultTheme,
+ localStorageStore,
+} from 'react-admin';
+import { LoginPage, SetPasswordPage, ForgotPasswordPage } from "ra-supabase";
+import Layout from './Layout';
+import { authProvider } from './authProvider';
+import companies from './companies';
+import contacts from './contacts';
+import { Dashboard } from './dashboard/Dashboard';
+import { dataProvider } from './dataProvider';
+import deals from './deals';
+import { Route } from 'react-router';
+
+const App = () => (
+ <Admin
+ dataProvider={dataProvider}
+ authProvider={authProvider}
+ store={localStorageStore(undefined, "CRM")}
+ layout={Layout}
+ dashboard={Dashboard}
+ theme={{
+ ...defaultTheme,
+ palette: {
+ background: {
+ default: "#fafafb",
+ },
+ },
+ }}
+ loginPage={LoginPage}
+ >
+ <Resource name="deals" {...deals} />
+ <Resource name="contacts" {...contacts} />
+ <Resource name="companies" {...companies} />
+ <Resource name="contactNotes" />
+ <Resource name="dealNotes" />
+ <Resource name="tasks" list={ListGuesser} />
+ <Resource name="sales" list={ListGuesser} />
+ <Resource name="tags" list={ListGuesser} />
+ <CustomRoutes noLayout>
+ <Route path={SetPasswordPage.path} element={<SetPasswordPage />} />
+ <Route path={ForgotPasswordPage.path} element={<ForgotPasswordPage />} />
+ </CustomRoutes>
+ </Admin>
+);
+
+export default App;
diff --git a/src/Header.tsx b/src/Header.tsx
new file mode 100644
index 00000000..e6815d15
--- /dev/null
+++ b/src/Header.tsx
@@ -0,0 +1,88 @@
+import React from 'react';
+import { Tabs, Tab, Toolbar, AppBar, Box, Typography } from '@mui/material';
+import { Link, matchPath, useLocation } from 'react-router-dom';
+import { UserMenu, Logout, LoadingIndicator } from 'react-admin';
+
+const Header = () => {
+ const location = useLocation();
+
+ let currentPath = '/';
+ if (!!matchPath('/contacts/*', location.pathname)) {
+ currentPath = '/contacts';
+ } else if (!!matchPath('/companies/*', location.pathname)) {
+ currentPath = '/companies';
+ } else if (!!matchPath('/deals/*', location.pathname)) {
+ currentPath = '/deals';
+ }
+
+ return (
+ <Box component="nav" sx={{ flexGrow: 1 }}>
+ <AppBar position="static" color="primary">
+ <Toolbar variant="dense">
+ <Box flex={1} display="flex" justifyContent="space-between">
+ <Box display="flex" alignItems="center">
+ <Box
+ component="img"
+ sx={{ marginRight: '1em', height: 30 }}
+ src={
+ 'https://upload.wikimedia.org/wikipedia/commons/a/a7/React-icon.svg'
+ }
+ alt="Bosch Logo"
+ />
+ <Typography component="span" variant="h5">
+ Atomic CRM
+ </Typography>
+ </Box>
+ <Box>
+ <Tabs
+ value={currentPath}
+ aria-label="Navigation Tabs"
+ indicatorColor="secondary"
+ textColor="inherit"
+ >
+ <Tab
+ label={'Dashboard'}
+ component={Link}
+ to="/"
+ value="/"
+ />
+ <Tab
+ label={'Contacts'}
+ component={Link}
+ to="/contacts"
+ value="/contacts"
+ />
+ <Tab
+ label={'Companies'}
+ component={Link}
+ to="/companies"
+ value="/companies"
+ />
+ <Tab
+ label={'Deals'}
+ component={Link}
+ to="/deals"
+ value="/deals"
+ />
+ </Tabs>
+ </Box>
+ <Box display="flex" alignItems="center">
+ <LoadingIndicator
+ sx={{
+ '& .RaLoadingIndicator-loader': {
+ marginTop: 2,
+ },
+ }}
+ />
+ <UserMenu>
+ <Logout />
+ </UserMenu>
+ </Box>
+ </Box>
+ </Toolbar>
+ </AppBar>
+ </Box>
+ );
+};
+
+export default Header;
diff --git a/src/Layout.tsx b/src/Layout.tsx
new file mode 100644
index 00000000..da32c47b
--- /dev/null
+++ b/src/Layout.tsx
@@ -0,0 +1,29 @@
+import React, { Suspense, HtmlHTMLAttributes } from 'react';
+import { CssBaseline, Container } from '@mui/material';
+import { CoreLayoutProps, CheckForApplicationUpdate } from 'react-admin';
+import { ErrorBoundary } from 'react-error-boundary';
+
+import { Error, Loading } from 'react-admin';
+import Header from './Header';
+
+const Layout = ({ children }: LayoutProps) => (
+ <>
+ <CssBaseline />
+ <Header />
+ <Container sx={{ maxWidth: { xl: 1280 } }}>
+ <main id="main-content">
+ {/* @ts-ignore */}
+ <ErrorBoundary FallbackComponent={Error}>
+ <Suspense fallback={<Loading />}>{children}</Suspense>
+ </ErrorBoundary>
+ </main>
+ </Container>
+ <CheckForApplicationUpdate interval={30 * 1000} />
+ </>
+);
+
+export interface LayoutProps
+ extends CoreLayoutProps,
+ Omit<HtmlHTMLAttributes<HTMLDivElement>, 'title'> {}
+
+export default Layout;
diff --git a/src/authProvider.ts b/src/authProvider.ts
new file mode 100644
index 00000000..1ee5a8a9
--- /dev/null
+++ b/src/authProvider.ts
@@ -0,0 +1,21 @@
+import { supabaseAuthProvider } from "ra-supabase";
+import { supabase } from "./supabase";
+
+export const authProvider = supabaseAuthProvider(supabase, {
+ getIdentity: async (user) => {
+ const { data, errorTags: error } = await supabase
+ .from("sales")
+ .select("id, first_name, last_name, email")
+ .match({ user_id: user.id })
+ .single();
+
+ if (!data || error) {
+ throw new Error();
+ }
+
+ return {
+ id: data.id,
+ fullName: `${data.first_name} ${data.last_name}`,
+ };
+ },
+});
diff --git a/src/companies/CompanyAside.tsx b/src/companies/CompanyAside.tsx
new file mode 100644
index 00000000..5c40f3ed
--- /dev/null
+++ b/src/companies/CompanyAside.tsx
@@ -0,0 +1,96 @@
+import * as React from 'react';
+import {
+ TextField,
+ DateField,
+ FunctionField,
+ ReferenceField,
+ EditButton,
+ ShowButton,
+ useRecordContext,
+} from 'react-admin';
+import { Box, Typography, Divider, Link } from '@mui/material';
+
+import { Company, Sale } from '../types';
+
+interface CompanyAsideProps {
+ link?: string;
+}
+
+export const CompanyAside = ({ link = 'edit' }: CompanyAsideProps) => {
+ const record = useRecordContext<Company>();
+ if (!record) return null;
+ return (
+ <Box ml={4} width={250} minWidth={250}>
+ <Box textAlign="center" mb={2}>
+ {link === 'edit' ? (
+ <EditButton label="Edit Company" />
+ ) : (
+ <ShowButton label="Show Company" />
+ )}
+ </Box>
+
+ <Typography variant="subtitle2">Company info</Typography>
+ <Divider />
+
+ <Box mt={2}>
+ <Typography variant="body2">
+ Website: <Link href={record.website}>{record.website}</Link>
+ <br />
+ LinkedIn: <Link href={record.linkedIn}>LinkedIn</Link>
+ </Typography>
+ </Box>
+
+ <Box mt={1}>
+ <TextField source="phone_number" />{' '}
+ <Typography
+ variant="body2"
+ color="textSecondary"
+ component="span"
+ >
+ Main
+ </Typography>
+ </Box>
+
+ <Box mt={1} mb={3}>
+ <TextField source="address" />
+ <br />
+ <TextField source="city" /> <TextField source="zipcode" />{' '}
+ <TextField source="stateAbbr" />
+ </Box>
+
+ <Typography variant="subtitle2">Background</Typography>
+ <Divider />
+
+ <Box mt={1}>
+ <Typography
+ variant="body2"
+ color="textSecondary"
+ component="span"
+ >
+ Added on
+ </Typography>{' '}
+ <DateField
+ source="created_at"
+ options={{ year: 'numeric', month: 'long', day: 'numeric' }}
+ color="textSecondary"
+ />
+ <br />
+ <Typography
+ component="span"
+ variant="body2"
+ color="textSecondary"
+ >
+ Followed by
+ </Typography>{' '}
+ <ReferenceField source="sales_id" reference="sales">
+ <FunctionField<Sale>
+ source="last_name"
+ render={record =>
+ `${record.first_name} ${record.last_name}`
+ }
+ />
+ </ReferenceField>
+ </Box>
+ </Box>
+ );
+};
diff --git a/src/companies/CompanyAvatar.tsx b/src/companies/CompanyAvatar.tsx
new file mode 100644
index 00000000..ffff9e44
--- /dev/null
+++ b/src/companies/CompanyAvatar.tsx
@@ -0,0 +1,25 @@
+import * as React from 'react';
+import { Avatar } from '@mui/material';
+import { useRecordContext } from 'react-admin';
+
+import { Company } from '../types';
+
+export const CompanyAvatar = (props: {
+ record?: Company;
+ size?: 'small' | 'large';
+}) => {
+ const { size = 'large' } = props;
+ const record = useRecordContext<Company>(props);
+ if (!record) return null;
+ return (
+ <Avatar
+ src={record.logo}
+ alt={record.name}
+ sx={{
+ bgcolor: 'aliceblue',
+ '& img': { objectFit: 'contain' },
+ }}
+ imgProps={{ className: size }}
+ />
+ );
+};
diff --git a/src/companies/CompanyCard.tsx b/src/companies/CompanyCard.tsx
new file mode 100644
index 00000000..830d7f92
--- /dev/null
+++ b/src/companies/CompanyCard.tsx
@@ -0,0 +1,95 @@
+import * as React from "react";
+import { useState } from "react";
+import { Paper, Typography, Link as MuiLink, Box } from "@mui/material";
+import ContactsIcon from "@mui/icons-material/AccountCircle";
+import DealIcon from "@mui/icons-material/MonetizationOn";
+import {
+ useCreatePath,
+ SelectField,
+ useRecordContext,
+ useGetManyReference,
+} from "react-admin";
+import { Link } from "react-router-dom";
+
+import { sectors } from "./sectors";
+import { CompanyAvatar } from "./CompanyAvatar";
+import { Company } from "../types";
+import { useReferenceManyCount } from "../misc/useReferenceManyCount";
+
+export const CompanyCard = (props: { record?: Company }) => {
+ const [elevation, setElevation] = useState(1);
+ const createPath = useCreatePath();
+ const record = useRecordContext<Company>(props);
+ const nb_contacts = useReferenceManyCount({
+ reference: "contacts",
+ target: "company_id",
+ });
+ const nb_deals = useReferenceManyCount({
+ reference: "deals",
+ target: "company_id",
+ });
+
+ if (!record) return null;
+
+ return (
+ <MuiLink
+ component={Link}
+ to={createPath({
+ resource: "companies",
+ id: record.id,
+ type: "show",
+ })}
+ underline="none"
+ onMouseEnter={() => setElevation(3)}
+ onMouseLeave={() => setElevation(1)}
+ >
+ <Paper
+ sx={{
+ height: 200,
+ width: 195,
+ display: "flex",
+ flexDirection: "column",
+ justifyContent: "space-between",
+ padding: "1em",
+ }}
+ elevation={elevation}
+ >
+ <Box display="flex" flexDirection="column" alignItems="center">
+ <CompanyAvatar />
+ <Box textAlign="center" marginTop={1}>
+ <Typography variant="subtitle2">{record.name}</Typography>
+ <SelectField
+ color="textSecondary"
+ source="sector"
+ choices={sectors}
+ />
+ </Box>
+ </Box>
+ <Box display="flex" justifyContent="space-around" width="100%">
+ <Box display="flex" alignItems="center">
+ <ContactsIcon color="disabled" sx={{ mr: 1 }} />
+ <div>
+ <Typography variant="subtitle2" sx={{ mb: -1 }}>
+ {nb_contacts}
+ </Typography>
+ <Typography variant="caption" color="textSecondary">
+ {nb_contacts > 1 ? "contacts" : "contact"}
+ </Typography>
+ </div>
+ </Box>
+ <Box sx={{ display: "flex", alignItems: "center" }}>
+ <DealIcon color="disabled" sx={{ mr: 1 }} />
+ <div>
+ <Typography variant="subtitle2" sx={{ mb: -1 }}>
+ {nb_deals}
+ </Typography>
+ <Typography variant="caption" color="textSecondary">
+ {nb_deals > 1 ? "deals" : "deal"}
+ </Typography>
+ </div>
+ </Box>
+ </Box>
+ </Paper>
+ </MuiLink>
+ );
+};
diff --git a/src/companies/CompanyCreate.tsx b/src/companies/CompanyCreate.tsx
new file mode 100644
index 00000000..96055274
--- /dev/null
+++ b/src/companies/CompanyCreate.tsx
@@ -0,0 +1,35 @@
+import * as React from "react";
+import { Create, Form, Toolbar, useGetIdentity } from "react-admin";
+import BusinessIcon from "@mui/icons-material/Business";
+import { CardContent, Stack, Avatar, Box } from "@mui/material";
+
+import { CompanyForm } from "./CompanyForm";
+import { Company } from "../types";
+
+export const CompanyCreate = () => {
+ const { data: identity } = useGetIdentity();
+ return (
+ <Create
+ actions={false}
+ redirect="show"
+ transform={(data: Company) => ({
+ ...data,
+ sales_id: identity?.id,
+ })}
+ >
+ <Form>
+ <CardContent>
+ <Stack direction="row">
+ <Avatar sx={{ mt: 1 }}>
+ <BusinessIcon />
+ </Avatar>
+ <Box ml={2} flex="1" maxWidth={796}>
+ <CompanyForm />
+ </Box>
+ </Stack>
+ </CardContent>
+ <Toolbar />
+ </Form>
+ </Create>
+ );
+};
diff --git a/src/companies/CompanyEdit.tsx b/src/companies/CompanyEdit.tsx
new file mode 100644
index 00000000..4e0fa01a
--- /dev/null
+++ b/src/companies/CompanyEdit.tsx
@@ -0,0 +1,26 @@
+import * as React from 'react';
+import { Edit, Form, Toolbar } from 'react-admin';
+import { Box, CardContent, Stack, Avatar } from '@mui/material';
+
+import { CompanyForm } from './CompanyForm';
+
+import { CompanyAside } from './CompanyAside';
+import { LogoField } from './LogoField';
+
+export const CompanyEdit = () => (
+ <Edit aside={<CompanyAside link="show" />} actions={false} redirect="show">
+ <Form>
+ <CardContent>
+ <Stack direction="row">
+ <Avatar sx={{ mt: 1 }}>
+ <LogoField />
+ </Avatar>
+ <Box ml={2} flex="1" maxWidth={796}>
+ <CompanyForm />
+ </Box>
+ </Stack>
+ </CardContent>
+ <Toolbar />
+ </Form>
+ </Edit>
+);
diff --git a/src/companies/CompanyForm.tsx b/src/companies/CompanyForm.tsx
new file mode 100644
index 00000000..abdf34ea
--- /dev/null
+++ b/src/companies/CompanyForm.tsx
@@ -0,0 +1,63 @@
+import * as React from 'react';
+
+import { ReferenceInput, TextInput, SelectInput, required } from 'react-admin';
+import { Divider, Stack, Grid } from '@mui/material';
+
+import { sectors } from './sectors';
+import { sizes } from './sizes';
+
+export const CompanyForm = () => (
+ <>
+ <TextInput source="name" validate={required()} fullWidth />
+ <Stack direction="row">
+ <SelectInput
+ source="sector"
+ choices={sectors}
+ sx={{ width: 200 }}
+ />
+ <SelectInput
+ source="size"
+ choices={sizes}
+ sx={{ ml: 2, width: 200 }}
+ />
+ </Stack>
+ <Divider sx={{ mb: 2, width: '100%' }} />
+
+ <TextInput source="address" fullWidth helperText={false} />
+ <Grid container spacing={2}>
+ <Grid item xs={12} sm={4}>
+ <TextInput fullWidth source="city" />
+ </Grid>
+ <Grid item xs={12} sm={4}>
+ <TextInput fullWidth source="zipcode" />
+ </Grid>
+ <Grid item xs={12} sm={4}>
+ <TextInput fullWidth source="stateAbbr" />
+ </Grid>
+ </Grid>
+ <Divider sx={{ mb: 2, width: '100%' }} />
+
+ <TextInput source="website" fullWidth helperText={false} />
+ <TextInput source="linkedIn" fullWidth helperText={false} />
+ <TextInput source="logo" fullWidth />
+ <Divider sx={{ mb: 2, width: '100%' }} />
+
+ <Stack direction="row">
+ <TextInput
+ source="phone_number"
+ helperText={false}
+ sx={{ width: 200 }}
+ />
+ <ReferenceInput source="sales_id" reference="sales">
+ <SelectInput
+ label="Account manager"
+ helperText={false}
+ optionText={(sales: any) =>
+ `${sales.first_name} ${sales.last_name}`
+ }
+ sx={{ width: 200, ml: 2 }}
+ />
+ </ReferenceInput>
+ </Stack>
+ </>
+);
diff --git a/src/companies/CompanyList.tsx b/src/companies/CompanyList.tsx
new file mode 100644
index 00000000..cff757f1
--- /dev/null
+++ b/src/companies/CompanyList.tsx
@@ -0,0 +1,43 @@
+import * as React from 'react';
+import {
+ List,
+ TopToolbar,
+ ExportButton,
+ CreateButton,
+ Pagination,
+ useGetIdentity,
+} from 'react-admin';
+
+import { ImageList } from './GridList';
+import { CompanyListFilter } from './CompanyListFilter';
+
+export const CompanyList = () => {
+ const { identity } = useGetIdentity();
+ if (!identity) return null;
+ return (
+ <List
+ actions={<CompanyListActions />}
+ aside={<CompanyListFilter />}
+ filterDefaultValues={{ sales_id: identity?.id }}
+ pagination={<Pagination rowsPerPageOptions={[15, 25, 50, 100]} />}
+ perPage={25}
+ sort={{ field: 'name', order: 'ASC' }}
+ component="div"
+ >
+ <ImageList />
+ </List>
+ );
+};
+
+const CompanyListActions = () => {
+ return (
+ <TopToolbar>
+ <ExportButton />
+ <CreateButton
+ variant="contained"
+ label="New Company"
+ sx={{ marginLeft: 2 }}
+ />
+ </TopToolbar>
+ );
+};
diff --git a/src/companies/CompanyListFilter.tsx b/src/companies/CompanyListFilter.tsx
new file mode 100644
index 00000000..134d486a
--- /dev/null
+++ b/src/companies/CompanyListFilter.tsx
@@ -0,0 +1,56 @@
+/* eslint-disable import/no-anonymous-default-export */
+import * as React from 'react';
+import {
+ FilterList,
+ FilterLiveSearch,
+ FilterListItem,
+ useGetIdentity,
+} from 'react-admin';
+import { Box } from '@mui/material';
+import BusinessIcon from '@mui/icons-material/Business';
+import LocalShippingIcon from '@mui/icons-material/LocalShipping';
+import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount';
+
+import { sizes } from './sizes';
+import { sectors } from './sectors';
+
+export const CompanyListFilter = () => {
+ const { identity } = useGetIdentity();
+ return (
+ <Box width="13em" minWidth="13em" order={-1} mr={2} mt={5}>
+ <FilterLiveSearch hiddenLabel />
+
+ <FilterList label="Size" icon={<BusinessIcon />}>
+ {sizes.map(size => (
+ <FilterListItem
+ key={size.id}
+ label={size.name}
+ value={size.value}
+ />
+ ))}
+ </FilterList>
+
+ <FilterList label="Sector" icon={<LocalShippingIcon />}>
+ {sectors.map(sector => (
+ <FilterListItem
+ key={sector.id}
+ label={sector.name}
+ value={{ sector: sector.id }}
+ />
+ ))}
+ </FilterList>
+
+ <FilterList
+ label="Account manager"
+ icon={<SupervisorAccountIcon />}
+ >
+ <FilterListItem
+ label="Me"
+ value={{
+ sales_id: identity && identity.id,
+ }}
+ />
+ </FilterList>
+ </Box>
+ );
+};
diff --git a/src/companies/CompanyShow.tsx b/src/companies/CompanyShow.tsx
new file mode 100644
index 00000000..3b12eb1a
--- /dev/null
+++ b/src/companies/CompanyShow.tsx
@@ -0,0 +1,256 @@
+import * as React from "react";
+import { useState, ChangeEvent } from "react";
+import {
+ ShowBase,
+ TextField,
+ ReferenceManyField,
+ SelectField,
+ useShowContext,
+ useRecordContext,
+ useListContext,
+ RecordContextProvider,
+} from "react-admin";
+import {
+ Box,
+ Button,
+ Card,
+ CardContent,
+ Typography,
+ List,
+ ListItem,
+ ListItemAvatar,
+ ListItemText,
+ ListItemSecondaryAction,
+ Tabs,
+ Tab,
+ Divider,
+} from "@mui/material";
+import PersonAddIcon from "@mui/icons-material/PersonAdd";
+import { Link as RouterLink } from "react-router-dom";
+import { formatDistance } from "date-fns";
+
+import { Avatar } from "../contacts/Avatar";
+import { Status } from "../misc/Status";
+import { TagsList } from "../contacts/TagsList";
+import { sizes } from "./sizes";
+import { LogoField } from "./LogoField";
+import { CompanyAside } from "./CompanyAside";
+import { Company, Deal, Contact } from "../types";
+import { stageNames } from "../deals/stages";
+import { useReferenceManyCount } from "../misc/useReferenceManyCount";
+
+export const CompanyShow = () => (
+ <ShowBase>
+ <CompanyShowContent />
+ </ShowBase>
+);
+
+const CompanyShowContent = () => {
+ const { record, isLoading } = useShowContext<Company>();
+ const [tabValue, setTabValue] = useState(0);
+ const handleTabChange = (event: ChangeEvent<{}>, newValue: number) => {
+ setTabValue(newValue);
+ };
+ const nb_contacts = useReferenceManyCount({
+ reference: "contacts",
+ target: "company_id",
+ });
+ const nb_deals = useReferenceManyCount({
+ reference: "deals",
+ target: "company_id",
+ });
+ if (isLoading || !record) return null;
+ return (
+ <Box mt={2} display="flex">
+ <Box flex="1">
+ <Card>
+ <CardContent>
+ <Box display="flex" mb={1}>
+ <LogoField />
+ <Box ml={2} flex="1">
+ <Typography variant="h5">{record.name}</Typography>
+ <Typography variant="body2">
+ <TextField source="sector" />,{" "}
+ <SelectField source="size" choices={sizes} />
+ </Typography>
+ </Box>
+ </Box>
+ <Tabs
+ value={tabValue}
+ indicatorColor="primary"
+ textColor="primary"
+ onChange={handleTabChange}
+ >
+ {nb_contacts && (
+ <Tab
+ label={
+ nb_contacts === 1 ? "1 Contact" : `${nb_contacts} Contacts`
+ }
+ />
+ )}
+ {nb_deals && (
+ <Tab label={nb_deals === 1 ? "1 deal" : `${nb_deals} Deals`} />
+ )}
+ </Tabs>
+ <Divider />
+ <TabPanel value={tabValue} index={0}>
+ <ReferenceManyField
+ reference="contacts"
+ target="company_id"
+ sort={{ field: "last_name", order: "ASC" }}
+ >
+ <ContactsIterator />
+ </ReferenceManyField>
+ </TabPanel>
+ <TabPanel value={tabValue} index={1}>
+ <ReferenceManyField
+ reference="deals"
+ target="company_id"
+ sort={{ field: "name", order: "ASC" }}
+ >
+ <DealsIterator />
+ </ReferenceManyField>
+ </TabPanel>
+ </CardContent>
+ </Card>
+ </Box>
+ <CompanyAside />
+ </Box>
+ );
+};
+
+interface TabPanelProps {
+ children?: React.ReactNode;
+ index: any;
+ value: any;
+}
+
+const TabPanel = (props: TabPanelProps) => {
+ const { children, value, index, ...other } = props;
+
+ return (
+ <div
+ role="tabpanel"
+ hidden={value !== index}
+ id={`wrapped-tabpanel-${index}`}
+ aria-labelledby={`wrapped-tab-${index}`}
+ {...other}
+ >
+ {children}
+ </div>
+ );
+};
+
+const ContactsIterator = () => {
+ const { data: contacts, isLoading } = useListContext<Contact>();
+ if (isLoading) return null;
+
+ const now = Date.now();
+ return (
+ <Box>
+ <List>
+ {contacts.map((contact) => (
+ <RecordContextProvider key={contact.id} value={contact}>
+ <ListItem
+ button
+ component={RouterLink}
+ to={`/contacts/${contact.id}/show`}
+ >
+ <ListItemAvatar>
+ <Avatar />
+ </ListItemAvatar>
+ <ListItemText
+ primary={`${contact.first_name} ${contact.last_name}`}
+ secondary={
+ <>
+ {contact.title} <TagsList />
+ </>
+ }
+ />
+ <ListItemSecondaryAction>
+ <Typography
+ variant="body2"
+ color="textSecondary"
+ component="span"
+ >
+ last activity{" "}
+ {formatDistance(new Date(contact.last_seen), now)} ago{" "}
+ <Status status={contact.status} />
+ </Typography>
+ </ListItemSecondaryAction>
+ </ListItem>
+ </RecordContextProvider>
+ ))}
+ </List>
+ <Box textAlign="center" mt={1}>
+ <CreateRelatedContactButton />
+ </Box>
+ </Box>
+ );
+};
+
+const CreateRelatedContactButton = () => {
+ const company = useRecordContext<Company>();
+ return (
+ <Button
+ component={RouterLink}
+ to="/contacts/create"
+ state={{ record: { company_id: company.id } }}
+ color="primary"
+ variant="contained"
+ size="small"
+ startIcon={<PersonAddIcon />}
+ >
+ Add contact
+ </Button>
+ );
+};
+
+const DealsIterator = () => {
+ const { data: deals, isLoading } = useListContext<Deal>();
+ if (isLoading) return null;
+
+ const now = Date.now();
+ return (
+ <Box>
+ <List>
+ {deals.map((deal) => (
+ <ListItem
+ button
+ key={deal.id}
+ component={RouterLink}
+ to={`/deals/${deal.id}/show`}
+ >
+ <ListItemText
+ primary={deal.name}
+ secondary={
+ <>
+ {/* @ts-ignore */}
+ {stageNames[deal.stage]},{" "}
+ {deal.amount.toLocaleString("en-US", {
+ notation: "compact",
+ style: "currency",
+ currency: "USD",
+ currencyDisplay: "narrowSymbol",
+ minimumSignificantDigits: 3,
+ })}
+ , {deal.type}
+ </>
+ }
+ />
+ <ListItemSecondaryAction>
+ <Typography
+ variant="body2"
+ color="textSecondary"
+ component="span"
+ >
+ last activity {formatDistance(new Date(deal.updated_at), now)}{" "}
+ ago{" "}
+ </Typography>
+ </ListItemSecondaryAction>
+ </ListItem>
+ ))}
+ </List>
+ </Box>
+ );
+};
diff --git a/src/companies/GridList.tsx b/src/companies/GridList.tsx
new file mode 100644
index 00000000..c72b8fef
--- /dev/null
+++ b/src/companies/GridList.tsx
@@ -0,0 +1,47 @@
+import * as React from 'react';
+import { Box, Paper } from '@mui/material';
+import { RecordContextProvider, useListContext } from 'react-admin';
+
+import { CompanyCard } from './CompanyCard';
+import { Company } from '../types';
+
+const times = (nbChildren: number, fn: (key: number) => any) =>
+ Array.from({ length: nbChildren }, (_, key) => fn(key));
+
+const LoadingGridList = () => (
+ <Box display="flex" flexWrap="wrap" width={1008} gap={1}>
+ {times(15, key => (
+ <Paper
+ sx={{
+ height: 200,
+ width: 194,
+ display: 'flex',
+ flexDirection: 'column',
+ backgroundColor: 'grey[200]',
+ }}
+ key={key}
+ />
+ ))}
+ </Box>
+);
+
+const LoadedGridList = () => {
+ const { data, isLoading } = useListContext<Company>();
+
+ if (isLoading) return null;
+
+ return (
+ <Box display="flex" flexWrap="wrap" width="100%" gap={1}>
+ {data.map(record => (
+ <RecordContextProvider key={record.id} value={record}>
+ <CompanyCard />
+ </RecordContextProvider>
+ ))}
+ </Box>
+ );
+};
+
+export const ImageList = () => {
+ const { isLoading } = useListContext();
+ return isLoading ? <LoadingGridList /> : <LoadedGridList />;
+};
diff --git a/src/companies/LogoField.tsx b/src/companies/LogoField.tsx
new file mode 100644
index 00000000..c8881f78
--- /dev/null
+++ b/src/companies/LogoField.tsx
@@ -0,0 +1,30 @@
+import * as React from 'react';
+import { useRecordContext } from 'react-admin';
+import { Box } from '@mui/material';
+
+import { Company } from '../types';
+
+const sizeInPixel = {
+ medium: 42,
+ small: 20,
+};
+
+export const LogoField = ({
+ size = 'medium',
+}: {
+ size?: 'small' | 'medium';
+}) => {
+ const record = useRecordContext<Company>();
+ if (!record) return null;
+ return (
+ <Box
+ component="img"
+ src={record.logo}
+ alt={record.name}
+ title={record.name}
+ width={sizeInPixel[size]}
+ height={sizeInPixel[size]}
+ sx={{ objectFit: 'contain' }}
+ />
+ );
+};
diff --git a/src/companies/index.ts b/src/companies/index.ts
new file mode 100644
index 00000000..068b21a8
--- /dev/null
+++ b/src/companies/index.ts
@@ -0,0 +1,12 @@
+/* eslint-disable import/no-anonymous-default-export */
+import { CompanyList } from './CompanyList';
+import { CompanyCreate } from './CompanyCreate';
+import { CompanyShow } from './CompanyShow';
+import { CompanyEdit } from './CompanyEdit';
+
+export default {
+ list: CompanyList,
+ create: CompanyCreate,
+ edit: CompanyEdit,
+ show: CompanyShow,
+};
diff --git a/src/companies/sectors.ts b/src/companies/sectors.ts
new file mode 100644
index 00000000..9f8b1a2d
--- /dev/null
+++ b/src/companies/sectors.ts
@@ -0,0 +1,13 @@
+export const sectors = [
+ 'Communication Services',
+ 'Consumer Discretionary',
+ 'Consumer Staples',
+ 'Energy',
+ 'Financials',
+ 'Health Care',
+ 'Industrials',
+ 'Information Technology',
+ 'Materials',
+ 'Real Estate',
+ 'Utilities',
+].map(sector => ({ id: sector, name: sector }));
diff --git a/src/companies/sizes.ts b/src/companies/sizes.ts
new file mode 100644
index 00000000..64ad5bab
--- /dev/null
+++ b/src/companies/sizes.ts
@@ -0,0 +1,42 @@
+export const sizes = [
+ {
+ id: 1,
+ name: "1 employee",
+ value: {
+ "size@gte": 1,
+ "size@lte": 1,
+ },
+ },
+ {
+ id: 10,
+ name: "2-9 employees",
+ value: {
+ "size@gte": 2,
+ "size@lte": 9,
+ },
+ },
+ {
+ id: 50,
+ name: "10-49 employees",
+ value: {
+ "size@gte": 10,
+ "size@lte": 49,
+ },
+ },
+ {
+ id: 250,
+ name: "50-249 employees",
+ value: {
+ "size@gte": 50,
+ "size@lte": 249,
+ },
+ },
+ {
+ id: 500,
+ name: "250 or more employees",
+ value: {
+ "size@gte": 250,
+ "size@lte": undefined,
+ },
+ },
+];
diff --git a/src/contacts/Avatar.tsx b/src/contacts/Avatar.tsx
new file mode 100644
index 00000000..35f489f6
--- /dev/null
+++ b/src/contacts/Avatar.tsx
@@ -0,0 +1,17 @@
+import * as React from 'react';
+import { Avatar as MuiAvatar } from '@mui/material';
+import { useRecordContext } from 'react-admin';
+
+import { Contact } from '../types';
+
+export const Avatar = (props: { record?: Contact }) => {
+ const record = useRecordContext<Contact>(props);
+ if (!record) return null;
+
+ return (
+ <MuiAvatar src={record.avatar}>
+ {record.first_name.charAt(0)}
+ {record.last_name.charAt(0)}
+ </MuiAvatar>
+ );
+};
diff --git a/src/contacts/ContactAside.tsx b/src/contacts/ContactAside.tsx
new file mode 100644
index 00000000..ceb4e3c1
--- /dev/null
+++ b/src/contacts/ContactAside.tsx
@@ -0,0 +1,136 @@
+import * as React from 'react';
+import {
+ TextField,
+ EmailField,
+ DateField,
+ ReferenceManyField,
+ EditButton,
+ ShowButton,
+ useListContext,
+ ReferenceField,
+ FunctionField,
+ useRecordContext,
+} from 'react-admin';
+import { Box, Typography, Divider, List, ListItem } from '@mui/material';
+import { TagsListEdit } from './TagsListEdit';
+
+import { Contact, Sale } from '../types';
+
+export const ContactAside = ({ link = 'edit' }: { link?: 'edit' | 'show' }) => {
+ const record = useRecordContext<Contact>();
+ return (
+ <Box ml={4} width={250} minWidth={250}>
+ <Box textAlign="center" mb={2}>
+ {link === 'edit' ? (
+ <EditButton label="Edit Contact" />
+ ) : (
+ <ShowButton label="Show Contact" />
+ )}
+ </Box>
+ <Typography variant="subtitle2">Personal info</Typography>
+ <Divider />
+ <EmailField
+ sx={{ mt: 2, mb: 1, display: 'block' }}
+ source="email"
+ />
+ <TextField source="phone_number1" />{' '}
+ <Typography variant="body2" color="textSecondary" component="span">
+ Work
+ </Typography>
+ <Box mb={1}>
+ <TextField source="phone_number2" />{' '}
+ <Typography
+ variant="body2"
+ color="textSecondary"
+ component="span"
+ >
+ Home
+ </Typography>
+ </Box>
+ <Typography variant="body2" mb={3}>
+ {record.gender === 'male' ? 'He/Him' : 'She/Her'}
+ </Typography>
+ <Typography variant="subtitle2">Background</Typography>
+ <Divider />
+ <Typography variant="body2" mt={2}>
+ {record && record.background}
+ </Typography>
+ <Box mt={1} mb={3}>
+ <Typography
+ component="span"
+ variant="body2"
+ color="textSecondary"
+ >
+ Added on
+ </Typography>{' '}
+ <DateField
+ source="first_seen"
+ options={{ year: 'numeric', month: 'long', day: 'numeric' }}
+ color="textSecondary"
+ />
+ <br />
+ <Typography
+ component="span"
+ variant="body2"
+ color="textSecondary"
+ >
+ Last seen on
+ </Typography>{' '}
+ <DateField
+ source="last_seen"
+ options={{ year: 'numeric', month: 'long', day: 'numeric' }}
+ color="textSecondary"
+ />
+ <br />
+ <Typography
+ component="span"
+ variant="body2"
+ color="textSecondary"
+ >
+ Followed by
+ </Typography>{' '}
+ <ReferenceField source="sales_id" reference="sales">
+ <FunctionField<Sale>
+ source="last_name"
+ render={record =>
+ `${record.first_name} ${record.last_name}`
+ }
+ />
+ </ReferenceField>
+ </Box>
+ <Box mb={3}>
+ <Typography variant="subtitle2">Tags</Typography>
+ <Divider />
+ <TagsListEdit />
+ </Box>
+ <ReferenceManyField target="contact_id" reference="tasks">
+ <TasksIterator />
+ </ReferenceManyField>
+ </Box>
+ );
+};
+
+const TasksIterator = () => {
+ const { data, isLoading } = useListContext();
+ if (isLoading || data.length === 0) return null;
+ return (
+ <Box>
+ <Typography variant="subtitle2">Tasks</Typography>
+ <Divider />
+
+ <List>
+ {data.map(task => (
+ <ListItem key={task.id} disableGutters>
+ <Box>
+ <Typography variant="body2">{task.text}</Typography>
+ <Typography variant="body2" color="textSecondary">
+ due{' '}
+ <DateField source="due_date" record={task} />
+ </Typography>
+ </Box>
+ </ListItem>
+ ))}
+ </List>
+ </Box>
+ );
+};
diff --git a/src/contacts/ContactCreate.tsx b/src/contacts/ContactCreate.tsx
new file mode 100644
index 00000000..3d832c89
--- /dev/null
+++ b/src/contacts/ContactCreate.tsx
@@ -0,0 +1,41 @@
+import * as React from "react";
+import { CreateBase, Form, Toolbar, useGetIdentity } from "react-admin";
+import { Card, CardContent, Box, Avatar } from "@mui/material";
+
+import { ContactInputs } from "./ContactInputs";
+import { Contact } from "../types";
+
+export const ContactCreate = () => {
+ const { data: identity } = useGetIdentity();
+ return (
+ <CreateBase
+ redirect="show"
+ transform={(data: Contact) => ({
+ ...data,
+ sales_id: identity?.id,
+ last_seen: new Date(),
+ tags: [],
+ })}
+ >
+ <Box mt={2} display="flex">
+ <Box flex="1">
+ <Form>
+ <Card>
+ <CardContent>
+ <Box>
+ <Box display="flex">
+ <Box mr={2}>
+ <Avatar />
+ </Box>
+ <ContactInputs />
+ </Box>
+ </Box>
+ </CardContent>
+ <Toolbar />
+ </Card>
+ </Form>
+ </Box>
+ </Box>
+ </CreateBase>
+ );
+};
diff --git a/src/contacts/ContactEdit.tsx b/src/contacts/ContactEdit.tsx
new file mode 100644
index 00000000..069da090
--- /dev/null
+++ b/src/contacts/ContactEdit.tsx
@@ -0,0 +1,41 @@
+import * as React from 'react';
+import { EditBase, Form, Toolbar, useEditContext } from 'react-admin';
+import { Card, CardContent, Box } from '@mui/material';
+
+import { Avatar } from './Avatar';
+import { ContactInputs } from './ContactInputs';
+import { ContactAside } from './ContactAside';
+import { Contact } from '../types';
+
+export const ContactEdit = () => (
+ <EditBase redirect="show">
+ <ContactEditContent />
+ </EditBase>
+);
+
+const ContactEditContent = () => {
+ const { isLoading, record } = useEditContext<Contact>();
+ if (isLoading || !record) return null;
+ return (
+ <Box mt={2} display="flex">
+ <Box flex="1">
+ <Form>
+ <Card>
+ <CardContent>
+ <Box>
+ <Box display="flex">
+ <Box mr={2}>
+ <Avatar />
+ </Box>
+ <ContactInputs />
+ </Box>
+ </Box>
+ </CardContent>
+ <Toolbar />
+ </Card>
+ </Form>
+ </Box>
+ <ContactAside link="show" />
+ </Box>
+ );
+};
diff --git a/src/contacts/ContactInputs.tsx b/src/contacts/ContactInputs.tsx
new file mode 100644
index 00000000..4b7a4c8b
--- /dev/null
+++ b/src/contacts/ContactInputs.tsx
@@ -0,0 +1,42 @@
+import * as React from 'react';
+import {
+ TextInput,
+ ReferenceInput,
+ AutocompleteInput,
+ BooleanInput,
+} from 'react-admin';
+import { Divider, Box } from '@mui/material';
+
+export const ContactInputs = () => (
+ <Box flex="1" mt={-1}>
+ <Box display="flex" width={430}>
+ <TextInput source="first_name" fullWidth />
+ <Spacer />
+ <TextInput source="last_name" fullWidth />
+ </Box>
+ <Box display="flex" width={430}>
+ <TextInput source="title" fullWidth />
+ <Spacer />
+ <ReferenceInput source="company_id" reference="companies">
+ <AutocompleteInput optionText="name" fullWidth />
+ </ReferenceInput>
+ </Box>
+ <Divider />
+ <Box mt={2} width={430}>
+ <TextInput source="email" fullWidth />
+ </Box>
+ <Box display="flex" width={430}>
+ <TextInput source="phone_number1" fullWidth />
+ <Spacer />
+ <TextInput source="phone_number2" fullWidth />
+ </Box>
+ <Divider />
+ <Box mt={2} width={430}>
+ <TextInput source="background" multiline fullWidth />
+ <TextInput source="avatar" fullWidth />
+ <BooleanInput source="has_newsletter" />
+ </Box>
+ </Box>
+);
+
+const Spacer = () => <Box width={20} component="span" />;
diff --git a/src/contacts/ContactList.tsx b/src/contacts/ContactList.tsx
new file mode 100644
index 00000000..4b79b4c9
--- /dev/null
+++ b/src/contacts/ContactList.tsx
@@ -0,0 +1,148 @@
+/* eslint-disable import/no-anonymous-default-export */
+import * as React from "react";
+import {
+ List as RaList,
+ SimpleListLoading,
+ ReferenceField,
+ TextField,
+ useListContext,
+ ExportButton,
+ SortButton,
+ TopToolbar,
+ CreateButton,
+ Pagination,
+ useGetIdentity,
+ BulkActionsToolbar,
+ BulkDeleteButton,
+ RecordContextProvider,
+} from "react-admin";
+import {
+ List,
+ ListItem,
+ ListItemAvatar,
+ ListItemIcon,
+ ListItemSecondaryAction,
+ ListItemText,
+ Checkbox,
+ Typography,
+} from "@mui/material";
+import { Link } from "react-router-dom";
+import { formatDistance } from "date-fns";
+
+import { Avatar } from "./Avatar";
+import { Status } from "../misc/Status";
+import { TagsList } from "./TagsList";
+import { ContactListFilter } from "./ContactListFilter";
+import { Contact } from "../types";
+import { useReferenceManyCount } from "../misc/useReferenceManyCount";
+
+const ContactListContent = () => {
+ const {
+ data: contacts,
+ isLoading,
+ onToggleItem,
+ selectedIds,
+ } = useListContext<Contact>();
+ if (isLoading) {
+ return <SimpleListLoading hasLeftAvatarOrIcon hasSecondaryText />;
+ }
+ const now = Date.now();
+
+ return (
+ <>
+ <BulkActionsToolbar>
+ <BulkDeleteButton />
+ </BulkActionsToolbar>
+ <List>
+ {contacts.map((contact) => (
+ <RecordContextProvider key={contact.id} value={contact}>
+ <ListItem
+ button
+ component={Link}
+ to={`/contacts/${contact.id}/show`}
+ >
+ <ListItemIcon>
+ <Checkbox
+ edge="start"
+ checked={selectedIds.includes(contact.id)}
+ tabIndex={-1}
+ disableRipple
+ onClick={(e) => {
+ e.stopPropagation();
+ onToggleItem(contact.id);
+ }}
+ />
+ </ListItemIcon>
+ <ListItemAvatar>
+ <Avatar />
+ </ListItemAvatar>
+ <ListItemText
+ primary={`${contact.first_name} ${contact.last_name}`}
+ secondary={
+ <>
+ {contact.title} at{" "}
+ <ReferenceField
+ source="company_id"
+ reference="companies"
+ link={false}
+ >
+ <TextField source="name" />
+ </ReferenceField>{" "}
+ <ContactNotes />
+ &nbsp;&nbsp;
+ <TagsList />
+ </>
+ }
+ />
+ <ListItemSecondaryAction>
+ <Typography variant="body2" color="textSecondary">
+ last activity{" "}
+ {formatDistance(new Date(contact.last_seen), now)} ago{" "}
+ <Status status={contact.status} />
+ </Typography>
+ </ListItemSecondaryAction>
+ </ListItem>
+ </RecordContextProvider>
+ ))}
+ </List>
+ </>
+ );
+};
+
+const ContactListActions = () => (
+ <TopToolbar>
+ <SortButton fields={["last_name", "first_name", "last_seen"]} />
+ <ExportButton />
+ <CreateButton
+ variant="contained"
+ label="New Contact"
+ sx={{ marginLeft: 2 }}
+ />
+ </TopToolbar>
+);
+
+export const ContactList = () => {
+ const { identity } = useGetIdentity();
+ return identity ? (
+ <RaList
+ actions={<ContactListActions />}
+ aside={<ContactListFilter />}
+ perPage={25}
+ pagination={<Pagination rowsPerPageOptions={[10, 25, 50, 100]} />}
+ filterDefaultValues={{ sales_id: identity?.id }}
+ sort={{ field: "last_seen", order: "DESC" }}
+ >
+ <ContactListContent />
+ </RaList>
+ ) : null;
+};
+
+const ContactNotes = () => {
+ const nb_notes = useReferenceManyCount({
+ reference: "contactNotes",
+ target: "contact_id",
+ });
+
+ if (!nb_notes) return null;
+ return `- ${nb_notes} notes`;
+};
diff --git a/src/contacts/ContactListFilter.tsx b/src/contacts/ContactListFilter.tsx
new file mode 100644
index 00000000..a271c358
--- /dev/null
+++ b/src/contacts/ContactListFilter.tsx
@@ -0,0 +1,139 @@
+/* eslint-disable import/no-anonymous-default-export */
+import * as React from 'react';
+import {
+ FilterList,
+ FilterLiveSearch,
+ FilterListItem,
+ useGetIdentity,
+ useGetList,
+} from 'react-admin';
+import { Box, Chip } from '@mui/material';
+import AccessTimeIcon from '@mui/icons-material/AccessTime';
+import TrendingUpIcon from '@mui/icons-material/TrendingUp';
+import LocalOfferIcon from '@mui/icons-material/LocalOffer';
+import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount';
+import { endOfYesterday, startOfWeek, startOfMonth, subMonths } from 'date-fns';
+
+import { Status } from '../misc/Status';
+
+export const ContactListFilter = () => {
+ const { identity } = useGetIdentity();
+ const { data } = useGetList('tags', {
+ pagination: { page: 1, perPage: 10 },
+ sort: { field: 'name', order: 'ASC' },
+ });
+ return (
+ <Box width="13em" minWidth="13em" order={-1} mr={2} mt={5}>
+ <FilterLiveSearch
+ hiddenLabel
+ sx={{
+ display: 'block',
+ '& .MuiFilledInput-root': { width: '100%' },
+ }}
+ />
+ <FilterList label="Last seen" icon={<AccessTimeIcon />}>
+ <FilterListItem
+ label="Today"
+ value={{
+ 'last_seen@gte': endOfYesterday().toISOString(),
+ 'last_seen@lte': undefined,
+ }}
+ />
+ <FilterListItem
+ label="This week"
+ value={{
+ 'last_seen@gte': startOfWeek(new Date()).toISOString(),
+ 'last_seen@lte': undefined,
+ }}
+ />
+ <FilterListItem
+ label="Before this week"
+ value={{
+ 'last_seen@gte': undefined,
+ 'last_seen@lte': startOfWeek(new Date()).toISOString(),
+ }}
+ />
+ <FilterListItem
+ label="Before this month"
+ value={{
+ 'last_seen@gte': undefined,
+ 'last_seen@lte': startOfMonth(new Date()).toISOString(),
+ }}
+ />
+ <FilterListItem
+ label="Before last month"
+ value={{
+ 'last_seen@gte': undefined,
+ 'last_seen@lte': subMonths(
+ startOfMonth(new Date()),
+ 1
+ ).toISOString(),
+ }}
+ />
+ </FilterList>
+ <FilterList label="Status" icon={<TrendingUpIcon />}>
+ <FilterListItem
+ label={
+ <>
+ Cold <Status status="cold" />
+ </>
+ }
+ value={{ status: 'cold' }}
+ />
+ <FilterListItem
+ label={
+ <>
+ Warm <Status status="warm" />
+ </>
+ }
+ value={{ status: 'warm' }}
+ />
+ <FilterListItem
+ label={
+ <>
+ Hot <Status status="hot" />
+ </>
+ }
+ value={{ status: 'hot' }}
+ />
+ <FilterListItem
+ label={
+ <>
+ In contract <Status status="in-contract" />
+ </>
+ }
+ value={{ status: 'in-contract' }}
+ />
+ </FilterList>
+ <FilterList label="Tags" icon={<LocalOfferIcon />}>
+ {data &&
+ data.map(record => (
+ <FilterListItem
+ key={record.id}
+ label={
+ <Chip
+ label={record?.name}
+ size="small"
+ style={{
+ backgroundColor: record?.color,
+ border: 0,
+ cursor: 'pointer',
+ }}
+ />
+ }
+ value={{ 'tags@cs': `{${record.id}}` }}
+ />
+ ))}
+ </FilterList>
+ <FilterList
+ label="Account manager"
+ icon={<SupervisorAccountIcon />}
+ >
+ <FilterListItem
+ label="Me"
+ value={{ sales_id: identity && identity.id }}
+ />
+ </FilterList>
+ </Box>
+ );
+};
diff --git a/src/contacts/ContactShow.tsx b/src/contacts/ContactShow.tsx
new file mode 100644
index 00000000..476d82b6
--- /dev/null
+++ b/src/contacts/ContactShow.tsx
@@ -0,0 +1,71 @@
+import * as React from 'react';
+import {
+ ShowBase,
+ TextField,
+ ReferenceField,
+ ReferenceManyField,
+ useShowContext,
+} from 'react-admin';
+import { Box, Card, CardContent, Typography } from '@mui/material';
+
+import { Avatar } from './Avatar';
+import { ContactAside } from './ContactAside';
+import { LogoField } from '../companies/LogoField';
+import { NotesIterator } from '../notes';
+import { Contact } from '../types';
+
+export const ContactShow = () => (
+ <ShowBase>
+ <ContactShowContent />
+ </ShowBase>
+);
+
+const ContactShowContent = () => {
+ const { record, isLoading } = useShowContext<Contact>();
+ if (isLoading || !record) return null;
+ return (
+ <Box mt={2} display="flex">
+ <Box flex="1">
+ <Card>
+ <CardContent>
+ <Box display="flex">
+ <Avatar />
+ <Box ml={2} flex="1">
+ <Typography variant="h5">
+ {record.first_name} {record.last_name}
+ </Typography>
+ <Typography variant="body2">
+ {record.title} at{' '}
+ <ReferenceField
+ source="company_id"
+ reference="companies"
+ link="show"
+ >
+ <TextField source="name" />
+ </ReferenceField>
+ </Typography>
+ </Box>
+ <Box>
+ <ReferenceField
+ source="company_id"
+ reference="companies"
+ link="show"
+ >
+ <LogoField />
+ </ReferenceField>
+ </Box>
+ </Box>
+ <ReferenceManyField
+ target="contact_id"
+ reference="contactNotes"
+ sort={{ field: 'date', order: 'DESC' }}
+ >
+ <NotesIterator showStatus reference="contacts" />
+ </ReferenceManyField>
+ </CardContent>
+ </Card>
+ </Box>
+ <ContactAside />
+ </Box>
+ );
+};
diff --git a/src/contacts/TagsList.tsx b/src/contacts/TagsList.tsx
new file mode 100644
index 00000000..8425bd24
--- /dev/null
+++ b/src/contacts/TagsList.tsx
@@ -0,0 +1,33 @@
+import * as React from 'react';
+import {
+ ReferenceArrayField,
+ SingleFieldList,
+ ChipField,
+ useRecordContext,
+} from 'react-admin';
+
+const ColoredChipField = (props: any) => {
+ const record = useRecordContext();
+ if (!record) return null;
+ return (
+ <ChipField
+ record={record}
+ {...props}
+ style={{ backgroundColor: record.color, border: 0 }}
+ component="span"
+ />
+ );
+};
+
+export const TagsList = () => (
+ <ReferenceArrayField
+ sx={{ display: 'inline-block' }}
+ resource="contacts"
+ source="tags"
+ reference="tags"
+ >
+ <SingleFieldList linkType={false}>
+ <ColoredChipField source="name" variant="outlined" size="small" />
+ </SingleFieldList>
+ </ReferenceArrayField>
+);
diff --git a/src/contacts/TagsListEdit.tsx b/src/contacts/TagsListEdit.tsx
new file mode 100644
index 00000000..67153768
--- /dev/null
+++ b/src/contacts/TagsListEdit.tsx
@@ -0,0 +1,240 @@
+import * as React from 'react';
+import { useState, FormEvent } from 'react';
+import {
+ useGetMany,
+ useCreate,
+ useUpdate,
+ useGetList,
+ Identifier,
+ useRecordContext,
+} from 'react-admin';
+import {
+ Chip,
+ Box,
+ Button,
+ Dialog,
+ DialogTitle,
+ DialogContent,
+ DialogActions,
+ TextField,
+ MenuItem,
+ Menu,
+} from '@mui/material';
+import ControlPointIcon from '@mui/icons-material/ControlPoint';
+import EditIcon from '@mui/icons-material/Edit';
+
+import { colors } from '../tags/colors';
+import { Contact, Tag } from '../types';
+
+export const TagsListEdit = () => {
+ const record = useRecordContext<Contact>();
+ const [open, setOpen] = useState(false);
+ const [newTagName, setNewTagName] = useState('');
+ const [newTagColor, setNewTagColor] = useState(colors[0]);
+ const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);
+ const [disabled, setDisabled] = useState(false);
+
+ const { data: allTags, isLoading: isLoadingAllTags } = useGetList<Tag>(
+ 'tags',
+ {
+ pagination: { page: 1, perPage: 10 },
+ sort: { field: 'name', order: 'ASC' },
+ }
+ );
+ const { data: tags, isLoading: isLoadingRecordTags } = useGetMany<Tag>(
+ 'tags',
+ { ids: record.tags },
+ { enabled: record && record.tags && record.tags.length > 0 }
+ );
+ const [update] = useUpdate<Contact>();
+ const [create] = useCreate<Tag>();
+
+ const unselectedTags =
+ allTags && allTags.filter(tag => !record.tags.includes(tag.id));
+
+ const handleOpen = (event: React.MouseEvent<HTMLDivElement>) => {
+ setAnchorEl(event.currentTarget);
+ };
+
+ const handleClose = () => {
+ setAnchorEl(null);
+ };
+
+ const handleDeleteTag = (id: Identifier) => {
+ const tags = record.tags.filter(tagId => tagId !== id);
+ update('contacts', {
+ id: record.id,
+ data: { tags },
+ previousData: record,
+ });
+ };
+
+ const handleAddTag = (id: Identifier) => {
+ const tags = [...record.tags, id];
+ update('contacts', {
+ id: record.id,
+ data: { tags },
+ previousData: record,
+ });
+ setAnchorEl(null);
+ };
+
+ const handleOpenCreateDialog = () => {
+ setOpen(true);
+ setAnchorEl(null);
+ setDisabled(false);
+ };
+
+ const handleNewTagNameChange = (
+ event: React.ChangeEvent<HTMLInputElement>
+ ) => {
+ setNewTagName(event.target.value);
+ };
+
+ const handleCreateTag = (event: FormEvent<HTMLFormElement>) => {
+ event.preventDefault();
+ setDisabled(true);
+ create(
+ 'tags',
+ { data: { name: newTagName, color: newTagColor } },
+ {
+ onSuccess: tag => {
+ update(
+ 'contacts',
+ {
+ id: record.id,
+ data: { tags: [...record.tags, tag.id] },
+ previousData: record,
+ },
+ {
+ onSuccess: () => {
+ setNewTagName('');
+ setNewTagColor(colors[0]);
+ setOpen(false);
+ },
+ }
+ );
+ },
+ }
+ );
+ };
+
+ if (isLoadingRecordTags || isLoadingAllTags) return null;
+ return (
+ <>
+ {tags?.map(tag => (
+ <Box mt={1} mb={1} key={tag.id}>
+ <Chip
+ size="small"
+ variant="outlined"
+ onDelete={() => handleDeleteTag(tag.id)}
+ label={tag.name}
+ style={{ backgroundColor: tag.color, border: 0 }}
+ />
+ </Box>
+ ))}
+ <Box mt={1}>
+ <Chip
+ icon={<ControlPointIcon />}
+ size="small"
+ variant="outlined"
+ onClick={handleOpen}
+ label="Add tag"
+ color="primary"
+ />
+ </Box>
+ <Menu
+ open={Boolean(anchorEl)}
+ onClose={handleClose}
+ anchorEl={anchorEl}
+ >
+ {unselectedTags?.map(tag => (
+ <MenuItem key={tag.id} onClick={() => handleAddTag(tag.id)}>
+ <Chip
+ size="small"
+ variant="outlined"
+ label={tag.name}
+ style={{
+ backgroundColor: tag.color,
+ border: 0,
+ }}
+ onClick={() => handleAddTag(tag.id)}
+ />
+ </MenuItem>
+ ))}
+ <MenuItem onClick={handleOpenCreateDialog}>
+ <Chip
+ icon={<EditIcon />}
+ size="small"
+ variant="outlined"
+ onClick={handleOpenCreateDialog}
+ color="primary"
+ label="Create new tag"
+ />
+ </MenuItem>
+ </Menu>
+ <Dialog
+ open={open}
+ onClose={() => setOpen(false)}
+ aria-labelledby="form-dialog-title"
+ >
+ <form onSubmit={handleCreateTag}>
+ <DialogTitle id="form-dialog-title">
+ Create a new tag
+ </DialogTitle>
+ <DialogContent>
+ <TextField
+ autoFocus
+ label="Tag name"
+ fullWidth
+ value={newTagName}
+ onChange={handleNewTagNameChange}
+ sx={{ mt: 1 }}
+ />
+ <Box display="flex" flexWrap="wrap" width={230} mt={2}>
+ {colors.map(color => (
+ <RoundButton
+ key={color}
+ color={color}
+ selected={color === newTagColor}
+ handleClick={() => {
+ setNewTagColor(color);
+ }}
+ />
+ ))}
+ </Box>
+ </DialogContent>
+ <DialogActions>
+ <Button onClick={() => setOpen(false)} color="primary">
+ Cancel
+ </Button>
+ <Button
+ type="submit"
+ color="primary"
+ disabled={disabled}
+ >
+ Add tag
+ </Button>
+ </DialogActions>
+ </form>
+ </Dialog>
+ </>
+ );
+};
+
+const RoundButton = ({ color, handleClick, selected }: any) => (
+ <Box
+ component="button"
+ type="button"
+ sx={{
+ bgcolor: color,
+ width: 30,
+ height: 30,
+ borderRadius: 15,
+ border: selected ? '2px solid grey' : 'none',
+ display: 'inline-block',
+ margin: 1,
+ }}
+ onClick={handleClick}
+ />
+);
diff --git a/src/contacts/index.tsx b/src/contacts/index.tsx
new file mode 100644
index 00000000..595a814d
--- /dev/null
+++ b/src/contacts/index.tsx
@@ -0,0 +1,12 @@
+/* eslint-disable import/no-anonymous-default-export */
+import { ContactShow } from './ContactShow';
+import { ContactList } from './ContactList';
+import { ContactEdit } from './ContactEdit';
+import { ContactCreate } from './ContactCreate';
+
+export default {
+ list: ContactList,
+ show: ContactShow,
+ edit: ContactEdit,
+ create: ContactCreate,
+};
diff --git a/src/dashboard/Dashboard.tsx b/src/dashboard/Dashboard.tsx
new file mode 100644
index 00000000..f6a8a302
--- /dev/null
+++ b/src/dashboard/Dashboard.tsx
@@ -0,0 +1,28 @@
+import * as React from 'react';
+import { Grid } from '@mui/material';
+
+import { Welcome } from './Welcome';
+import { DealsChart } from './DealsChart';
+import { HotContacts } from './HotContacts';
+import { LatestNotes } from './LatestNotes';
+import { DealsPipeline } from './DealsPipeline';
+
+export const Dashboard = () => (
+ <Grid container spacing={2} mt={1}>
+ <Grid item xs={12} md={9}>
+ <DealsChart />
+ </Grid>
+ <Grid item xs={12} md={3}>
+ <Welcome />
+ </Grid>
+ <Grid item xs={12} md={6}>
+ <LatestNotes />
+ </Grid>
+ <Grid item xs={12} md={3}>
+ <HotContacts />
+ </Grid>
+ <Grid item xs={12} md={3}>
+ <DealsPipeline />
+ </Grid>
+ </Grid>
+);
diff --git a/src/dashboard/DealsChart.tsx b/src/dashboard/DealsChart.tsx
new file mode 100644
index 00000000..831594c8
--- /dev/null
+++ b/src/dashboard/DealsChart.tsx
@@ -0,0 +1,159 @@
+import * as React from 'react';
+import { useMemo } from 'react';
+import { Link as RouterLink } from 'react-router-dom';
+import { Box, Link } from '@mui/material';
+import AttachMoneyIcon from '@mui/icons-material/AttachMoney';
+import { useGetList } from 'react-admin';
+import { startOfMonth, format } from 'date-fns';
+import { ResponsiveBar } from '@nivo/bar';
+
+import { Deal } from '../types';
+
+const multiplier = {
+ opportunity: 0.2,
+ 'proposal-sent': 0.5,
+ 'in-negociation': 0.8,
+ delayed: 0.3,
+};
+
+export const DealsChart = () => {
+ const { data, isLoading } = useGetList<Deal>('deals', {
+ pagination: { perPage: 100, page: 1 },
+ sort: {
+ field: 'start_at',
+ order: 'ASC',
+ },
+ });
+
+ const months = useMemo(() => {
+ if (!data) return [];
+ const dealsByMonth = data.reduce((acc, deal) => {
+ const month = startOfMonth(
+ deal.start_at ? new Date(deal.start_at) : new Date()
+ ).toISOString();
+ if (!acc[month]) {
+ acc[month] = [];
+ }
+ acc[month].push(deal);
+ return acc;
+ }, {} as any);
+
+ const amountByMonth = Object.keys(dealsByMonth).map(month => {
+ return {
+ date: format(new Date(month), 'MMM'),
+ won: dealsByMonth[month]
+ .filter((deal: Deal) => deal.stage === 'won')
+ .reduce((acc: number, deal: Deal) => {
+ acc += deal.amount;
+ return acc;
+ }, 0),
+ pending: dealsByMonth[month]
+ .filter(
+ (deal: Deal) => !['won', 'lost'].includes(deal.stage)
+ )
+ .reduce((acc: number, deal: Deal) => {
+ // @ts-ignore
+ acc += deal.amount * multiplier[deal.stage];
+ return acc;
+ }, 0),
+ lost: dealsByMonth[month]
+ .filter((deal: Deal) => deal.stage === 'lost')
+ .reduce((acc: number, deal: Deal) => {
+ acc -= deal.amount;
+ return acc;
+ }, 0),
+ };
+ });
+
+ return amountByMonth;
+ }, [data]);
+
+ if (isLoading) return null; // FIXME return skeleton instead
+
+ const range = months.reduce(
+ (acc, month) => {
+ acc.min = Math.min(acc.min, month.lost);
+ acc.max = Math.max(acc.max, month.won + month.pending);
+ return acc;
+ },
+ { min: 0, max: 0 }
+ );
+
+ return (
+ <>
+ <Box display="flex" alignItems="center">
+ <Box ml={2} mr={2} display="flex">
+ <AttachMoneyIcon color="disabled" fontSize="large" />
+ </Box>
+ <Link
+ underline="none"
+ variant="h5"
+ color="textSecondary"
+ component={RouterLink}
+ to="/deals"
+ >
+ Upcoming Deal Revenue
+ </Link>
+ </Box>
+ <Box height={500}>
+ <ResponsiveBar
+ data={months}
+ indexBy="date"
+ keys={['won', 'pending', 'lost']}
+ colors={['#61cdbb', '#97e3d5', '#e25c3b']}
+ margin={{ top: 50, right: 50, bottom: 50, left: 0 }}
+ padding={0.3}
+ valueScale={{
+ type: 'linear',
+ min: range.min * 1.2,
+ max: range.max * 1.2,
+ }}
+ indexScale={{ type: 'band', round: true }}
+ enableGridX={true}
+ enableGridY={false}
+ enableLabel={false}
+ axisTop={{
+ tickSize: 0,
+ tickPadding: 12,
+ }}
+ axisBottom={{
+ legendPosition: 'middle',
+ legendOffset: 50,
+ tickSize: 0,
+ tickPadding: 12,
+ }}
+ axisLeft={null}
+ axisRight={{
+ format: (v: any) => `${Math.abs(v / 1000)}k`,
+ tickValues: 8,
+ }}
+ markers={
+ [
+ {
+ axis: 'y',
+ value: 0,
+ lineStyle: { strokeOpacity: 0 },
+ textStyle: { fill: '#2ebca6' },
+ legend: 'Won',
+ legendPosition: 'top-left',
+ legendOrientation: 'vertical',
+ },
+ {
+ axis: 'y',
+ value: 0,
+ lineStyle: {
+ stroke: '#f47560',
+ strokeWidth: 1,
+ },
+ textStyle: { fill: '#e25c3b' },
+ legend: 'Lost',
+ legendPosition: 'bottom-left',
+ legendOrientation: 'vertical',
+ },
+ ] as any
+ }
+ />
+ </Box>
+ </>
+ );
+};
diff --git a/src/dashboard/DealsPipeline.tsx b/src/dashboard/DealsPipeline.tsx
new file mode 100644
index 00000000..28e9ffaa
--- /dev/null
+++ b/src/dashboard/DealsPipeline.tsx
@@ -0,0 +1,92 @@
+import * as React from 'react';
+import { Link as RouterLink } from 'react-router-dom';
+import { Card, Link, Box } from '@mui/material';
+import MonetizationOnIcon from '@mui/icons-material/MonetizationOn';
+import {
+ useGetList,
+ SimpleList,
+ useGetIdentity,
+ ReferenceField,
+} from 'react-admin';
+
+import { CompanyAvatar } from '../companies/CompanyAvatar';
+import { stages, stageNames } from '../deals/stages';
+import { Deal } from '../types';
+
+export const DealsPipeline = () => {
+ const { identity } = useGetIdentity();
+ const { data, total, isLoading } = useGetList<Deal>(
+ "deals",
+ {
+ pagination: { page: 1, perPage: 10 },
+ sort: { field: "updated_at", order: "DESC" },
+ filter: { "stage@neq": "lost", sales_id: identity?.id },
+ },
+ { enabled: Number.isInteger(identity?.id) }
+ );
+
+ const getOrderedDeals = (data?: Deal[]): Deal[] | undefined => {
+ if (!data) {
+ return;
+ }
+ const deals: Deal[] = [];
+ stages
+ .filter(stage => stage !== 'won')
+ .forEach(stage =>
+ data
+ .filter(deal => deal.stage === stage)
+ .forEach(deal => deals.push(deal))
+ );
+ return deals;
+ };
+
+ return (
+ <>
+ <Box display="flex" alignItems="center" marginBottom="1em">
+ <Box ml={2} mr={2} display="flex">
+ <MonetizationOnIcon color="disabled" fontSize="large" />
+ </Box>
+ <Link
+ underline="none"
+ variant="h5"
+ color="textSecondary"
+ component={RouterLink}
+ to="/deals"
+ >
+ Deals Pipeline
+ </Link>
+ </Box>
+ <Card>
+ <SimpleList<Deal>
+ resource="deals"
+ linkType="show"
+ data={getOrderedDeals(data)}
+ total={total}
+ isLoading={isLoading}
+ primaryText={deal => deal.name}
+ secondaryText={deal =>
+ `${deal.amount.toLocaleString('en-US', {
+ notation: 'compact',
+ style: 'currency',
+ currency: 'USD',
+ currencyDisplay: 'narrowSymbol',
+ minimumSignificantDigits: 3,
+ // @ts-ignore
+ })} , ${stageNames[deal.stage]}`
+ }
+ leftAvatar={deal => (
+ <ReferenceField
+ source="company_id"
+ record={deal}
+ reference="companies"
+ resource="deals"
+ link={false}
+ >
+ <CompanyAvatar size="small" />
+ </ReferenceField>
+ )}
+ />
+ </Card>
+ </>
+ );
+};
diff --git a/src/dashboard/HotContacts.tsx b/src/dashboard/HotContacts.tsx
new file mode 100644
index 00000000..7c1026c9
--- /dev/null
+++ b/src/dashboard/HotContacts.tsx
@@ -0,0 +1,66 @@
+import * as React from 'react';
+import { Link as RouterLink } from 'react-router-dom';
+import { Card, Box, Link } from '@mui/material';
+import ContactsIcon from '@mui/icons-material/Contacts';
+import { useGetList, SimpleList, useGetIdentity } from 'react-admin';
+import { formatDistance } from 'date-fns';
+
+import { Avatar } from '../contacts/Avatar';
+import { Contact } from '../types';
+
+export const HotContacts = () => {
+ const { identity } = useGetIdentity();
+ const {
+ data: contactData,
+ total: contactTotal,
+ isLoading: contactsLoading,
+ } = useGetList<Contact>(
+ 'contacts',
+ {
+ pagination: { page: 1, perPage: 10 },
+ sort: { field: 'last_seen', order: 'DESC' },
+ filter: { status: 'hot', sales_id: identity?.id },
+ },
+ { enabled: Number.isInteger(identity?.id) }
+ );
+ return (
+ <>
+ <Box display="flex" alignItems="center" marginBottom="1em">
+ <Box ml={2} mr={2} display="flex">
+ <ContactsIcon color="disabled" fontSize="large" />
+ </Box>
+ <Link
+ underline="none"
+ variant="h5"
+ color="textSecondary"
+ component={RouterLink}
+ to="/contacts"
+ >
+ Hot contacts
+ </Link>
+ </Box>
+ <Card>
+ <SimpleList<Contact>
+ linkType="show"
+ data={contactData}
+ total={contactTotal}
+ isLoading={contactsLoading}
+ primaryText={contact =>
+ `${contact.first_name} ${contact.last_name}`
+ }
+ resource="contacts"
+ secondaryText={(contact: Contact) =>
+ formatDistance(
+ new Date(contact.last_seen),
+ new Date(),
+ {
+ addSuffix: true,
+ }
+ )
+ }
+ leftAvatar={contact => <Avatar record={contact} />}
+ />
+ </Card>
+ </>
+ );
+};
diff --git a/src/dashboard/LatestNotes.tsx b/src/dashboard/LatestNotes.tsx
new file mode 100644
index 00000000..0c9058d7
--- /dev/null
+++ b/src/dashboard/LatestNotes.tsx
@@ -0,0 +1,140 @@
+import * as React from 'react';
+import { Card, CardContent, Typography, Box } from '@mui/material';
+import NoteIcon from '@mui/icons-material/Note';
+import {
+ useGetList,
+ useGetIdentity,
+ ReferenceField,
+ TextField,
+ FunctionField,
+} from 'react-admin';
+import { formatDistance } from 'date-fns';
+
+import { Contact as ContactType } from '../types';
+
+export const LatestNotes = () => {
+ const { identity } = useGetIdentity();
+ const {
+ data: contactNotesData,
+ isLoading: contactNotesLoading,
+ } = useGetList(
+ 'contactNotes',
+ {
+ pagination: { page: 1, perPage: 5 },
+ sort: { field: 'date', order: 'DESC' },
+ filter: { sales_id: identity?.id },
+ },
+ { enabled: Number.isInteger(identity?.id) }
+ );
+ const { data: dealNotesData, isLoading: dealNotesLoading } = useGetList(
+ 'dealNotes',
+ {
+ pagination: { page: 1, perPage: 5 },
+ sort: { field: 'date', order: 'DESC' },
+ filter: { sales_id: identity?.id },
+ },
+ { enabled: Number.isInteger(identity?.id) }
+ );
+ if (contactNotesLoading || dealNotesLoading) {
+ return null;
+ }
+ // TypeScript guards
+ if (!contactNotesData || !dealNotesData) {
+ return null;
+ }
+
+ const allNotes = ([] as any[])
+ .concat(
+ contactNotesData.map(note => ({
+ ...note,
+ type: 'contactNote',
+ })),
+ dealNotesData.map(note => ({ ...note, type: 'dealNote' }))
+ )
+ .sort((a, b) => new Date(b.date).valueOf() - new Date(a.date).valueOf())
+ .slice(0, 5);
+
+ return (
+ <div>
+ <Box display="flex" alignItems="center" marginBottom="1em">
+ <Box ml={2} mr={2} display="flex">
+ <NoteIcon color="disabled" fontSize="large" />
+ </Box>
+ <Typography variant="h5" color="textSecondary">
+ My Latest Notes
+ </Typography>
+ </Box>
+ <Card>
+ <CardContent>
+ {allNotes.map(note => (
+ <Box
+ id={`${note.type}_${note.id}`}
+ key={`${note.type}_${note.id}`}
+ sx={{ marginBottom: 2 }}
+ >
+ <Typography variant="body2" color="textSecondary">
+ on{' '}
+ {note.type === 'dealNote' ? (
+ <Deal note={note} />
+ ) : (
+ <Contact note={note} />
+ )}
+ , added{' '}
+ {formatDistance(
+ new Date(note.date),
+ new Date(),
+ {
+ addSuffix: true,
+ }
+ )}
+ </Typography>
+ <div>
+ <Typography
+ sx={{
+ display: '-webkit-box',
+ WebkitLineClamp: 3,
+ WebkitBoxOrient: 'vertical',
+ overflow: 'hidden',
+ }}
+ >
+ {note.text}
+ </Typography>
+ </div>
+ </Box>
+ ))}
+ </CardContent>
+ </Card>
+ </div>
+ );
+};
+
+const Deal = ({ note }: any) => (
+ <>
+ Deal{' '}
+ <ReferenceField
+ record={note}
+ source="deal_id"
+ reference="deals"
+ link="show"
+ >
+ <TextField source="name" variant="body2" />
+ </ReferenceField>
+ </>
+);
+
+const Contact = ({ note }: any) => (
+ <>
+ Contact{' '}
+ <ReferenceField
+ record={note}
+ source="contact_id"
+ reference="contacts"
+ link="show"
+ >
+ <FunctionField<ContactType>
+ variant="body2"
+ render={contact => `${contact.first_name} ${contact.last_name}`}
+ />
+ </ReferenceField>
+ </>
+);
diff --git a/src/dashboard/Welcome.tsx b/src/dashboard/Welcome.tsx
new file mode 100644
index 00000000..585ce913
--- /dev/null
+++ b/src/dashboard/Welcome.tsx
@@ -0,0 +1,68 @@
+import * as React from 'react';
+import {
+ Typography,
+ Card,
+ CardContent,
+ CardActions,
+ Button,
+} from '@mui/material';
+import HomeIcon from '@mui/icons-material/Home';
+import CodeIcon from '@mui/icons-material/Code';
+
+export const Welcome = () => (
+ <Card
+ sx={{
+ background: `#c5dedd`,
+ color: 'rgba(0, 0, 0, 0.87)',
+ padding: '1em',
+ marginBottom: '1em',
+ marginTop: '2em',
+ [`& .MuiCardActions-root`]: {
+ p: 2,
+ mt: -2,
+ mb: -1,
+ flexDirection: 'column',
+ '& a': {
+ mb: 1,
+ color: 'rgba(0, 0, 0, 0.87)',
+ backgroundColor: 'white',
+ marginLeft: '0 !important',
+ },
+ },
+ }}
+ >
+ <CardContent>
+ <Typography variant="h5" gutterBottom>
+ CRM demo
+ </Typography>
+ <Typography gutterBottom>
+ This app runs in the browser, and relies on a mock REST API.
+ Feel free to explore and modify the data - it's local to your
+ computer, and will reset each time you reload.
+ </Typography>
+ <Typography gutterBottom>
+ It was built using react-admin, an open-source framework. The
+ code for this demo is also open-source. Reading it is a great
+ way to learn react-admin!
+ </Typography>
+ </CardContent>
+ <CardActions>
+ <Button
+ variant="contained"
+ fullWidth
+ href="https://marmelab.com/react-admin"
+ startIcon={<HomeIcon />}
+ >
+ React-admin site
+ </Button>
+ <Button
+ variant="contained"
+ fullWidth
+ href="https://github.com/marmelab/react-admin/tree/master/examples/crm"
+ startIcon={<CodeIcon />}
+ >
+ Source of this demo
+ </Button>
+ </CardActions>
+ </Card>
+);
diff --git a/src/dataGenerator/companies.ts b/src/dataGenerator/companies.ts
new file mode 100644
index 00000000..67b9845d
--- /dev/null
+++ b/src/dataGenerator/companies.ts
@@ -0,0 +1,54 @@
+import { faker } from "@faker-js/faker";
+
+import { randomDate } from './utils';
+
+import { Db } from './types';
+import { Company } from '../types';
+
+const sectors = [
+ 'Communication Services',
+ 'Consumer Discretionary',
+ 'Consumer Staples',
+ 'Energy',
+ 'Financials',
+ 'Health Care',
+ 'Industrials',
+ 'Information Technology',
+ 'Materials',
+ 'Real Estate',
+ 'Utilities',
+];
+
+const sizes = [1, 10, 50, 250, 500];
+
+const regex = /\W+/;
+
+export const generateCompanies = (db: Db): Company[] => {
+ return Array.from(Array(55).keys()).map(id => {
+ const name = faker.company.name();
+ return {
+ id,
+ name: name,
+ logo: `./logos/${id}.png`,
+ sector: faker.helpers.arrayElement(sectors),
+ size: faker.helpers.arrayElement(sizes) as 1 | 10 | 50 | 250 | 500,
+ linkedIn: `https://www.linkedin.com/company/${name
+ .toLowerCase()
+ .replace(regex, "_")}`,
+ website: faker.internet.url(),
+ phone_number: faker.phone.number(),
+ address: faker.location.streetAddress(),
+ zipcode: faker.location.zipCode(),
+ city: faker.location.city(),
+ stateAbbr: faker.location.state({ abbreviated: true }),
+ nb_contacts: 0,
+ nb_deals: 0,
+ // at least 1/3rd of companies for Jane Doe
+ sales_id:
+ faker.number.int(2) === 0
+ ? 0
+ : faker.helpers.arrayElement(db.sales).id,
+ created_at: randomDate().toISOString(),
+ };
+ });
+};
diff --git a/src/dataGenerator/contactNotes.ts b/src/dataGenerator/contactNotes.ts
new file mode 100644
index 00000000..c37d2179
--- /dev/null
+++ b/src/dataGenerator/contactNotes.ts
@@ -0,0 +1,28 @@
+import { faker } from "@faker-js/faker";
+
+import { Db } from './types';
+import { ContactNote } from '../types';
+import { randomDate } from './utils';
+
+const type = ['Email', 'Call', 'Call', 'Call', 'Call', 'Meeting', 'Reminder'];
+const status = ['cold', 'cold', 'cold', 'warm', 'warm', 'hot', 'in-contract'];
+
+export const generateContactNotes = (db: Db): ContactNote[] => {
+ return Array.from(Array(1200).keys()).map(id => {
+ const contact = faker.helpers.arrayElement(db.contacts);
+ const date = randomDate(new Date(contact.first_seen)).toISOString();
+ contact.nb_notes++;
+ contact.last_seen = date > contact.last_seen ? date : contact.last_seen;
+ return {
+ id,
+ contact_id: contact.id,
+ type: faker.helpers.arrayElement(type),
+ text: faker.lorem.paragraphs(
+ faker.number.int({ min: 1, max: 4 })
+ ),
+ date,
+ sales_id: contact.sales_id,
+ status: faker.helpers.arrayElement(status),
+ };
+ });
+};
diff --git a/src/dataGenerator/contacts.ts b/src/dataGenerator/contacts.ts
new file mode 100644
index 00000000..4ff9a274
--- /dev/null
+++ b/src/dataGenerator/contacts.ts
@@ -0,0 +1,76 @@
+import { faker } from "@faker-js/faker";
+
+import { randomDate, weightedBoolean } from "./utils";
+import { Db } from "./types";
+import { Contact } from "../types";
+
+const genders = ["male", "female"];
+const status = ["cold", "cold", "cold", "warm", "warm", "hot", "in-contract"];
+const maxContacts = {
+ 1: 1,
+ 10: 4,
+ 50: 12,
+ 250: 25,
+ 500: 50,
+};
+
+export const generateContacts = (db: Db): Contact[] => {
+ const nbAvailblePictures = 223;
+ let numberOfContacts = 0;
+
+ return Array.from(Array(500).keys()).map((id) => {
+ const has_avatar =
+ weightedBoolean(25) && numberOfContacts < nbAvailblePictures;
+ const gender = faker.helpers.arrayElement(genders);
+ const first_name = faker.person.firstName(gender as any);
+ const last_name = faker.person.lastName();
+ const email = faker.internet.email({
+ firstName: first_name,
+ lastName: last_name,
+ });
+ const avatar = has_avatar
+ ? "https://marmelab.com/posters/avatar-" +
+ (223 - numberOfContacts) +
+ ".jpeg"
+ : undefined;
+ const title = faker.company.buzzAdjective();
+
+ if (has_avatar) {
+ numberOfContacts++;
+ }
+
+ // choose company with people left to know
+ let company;
+ do {
+ company = faker.helpers.arrayElement(db.companies);
+ } while (company.nb_contacts >= maxContacts[company.size]);
+ company.nb_contacts++;
+
+ const first_seen = randomDate(new Date(company.created_at)).toISOString();
+ const last_seen = first_seen;
+
+ return {
+ id,
+ first_name,
+ last_name,
+ gender,
+ title: title.charAt(0).toUpperCase() + title.substr(1),
+ company_id: company.id,
+ email,
+ phone_number1: faker.phone.number(),
+ phone_number2: faker.phone.number(),
+ background: faker.lorem.sentence(),
+ acquisition: faker.helpers.arrayElement(["inbound", "outbound"]),
+ avatar,
+ first_seen: first_seen,
+ last_seen: last_seen,
+ has_newsletter: weightedBoolean(30),
+ status: faker.helpers.arrayElement(status),
+ tags: faker.helpers
+ .arrayElements(db.tags, faker.helpers.arrayElement([0, 0, 0, 1, 1, 2]))
+ .map((tag) => tag.id), // finalize
+ sales_id: company.sales_id,
+ nb_notes: 0,
+ };
+ });
+};
diff --git a/src/dataGenerator/dealNotes.ts b/src/dataGenerator/dealNotes.ts
new file mode 100644
index 00000000..396ad9a7
--- /dev/null
+++ b/src/dataGenerator/dealNotes.ts
@@ -0,0 +1,23 @@
+import { faker } from "@faker-js/faker";
+
+import { Db } from "./types";
+import { randomDate } from "./utils";
+
+const type = ["Email", "Call", "Call", "Call", "Call", "Meeting", "Reminder"];
+
+export const generateDealNotes = (db: Db) => {
+ return Array.from(Array(300).keys()).map((id) => {
+ const deal = faker.helpers.arrayElement(db.deals);
+ deal.nb_notes++;
+ return {
+ id,
+ deal_id: deal.id,
+ type: faker.helpers.arrayElement(type),
+ text: faker.lorem.paragraphs(faker.number.int({ min: 1, max: 4 })),
+ date: randomDate(
+ new Date(db.companies[deal.company_id as number].created_at)
+ ).toISOString(),
+ sales_id: deal.sales_id,
+ };
+ });
+};
diff --git a/src/dataGenerator/deals.ts b/src/dataGenerator/deals.ts
new file mode 100644
index 00000000..2d68af4c
--- /dev/null
+++ b/src/dataGenerator/deals.ts
@@ -0,0 +1,64 @@
+import { faker } from "@faker-js/faker";
+import { add } from "date-fns";
+
+import { Db } from "./types";
+import { Deal } from "../types";
+import { randomDate } from "./utils";
+
+const type = [
+ "Other",
+ "Copywriting",
+ "Print project",
+ "UI Design",
+ "Website design",
+];
+const stages = [
+ "opportunity",
+ "proposal-sent",
+ "in-negociation",
+ "won",
+ "lost",
+ "delayed",
+];
+//const tags = ["new deal", "upsell", "SAV"];
+
+export const generateDeals = (db: Db): Deal[] => {
+ const deals = Array.from(Array(50).keys()).map((id) => {
+ const company = faker.helpers.arrayElement(db.companies);
+ company.nb_deals++;
+ const contacts = faker.helpers.arrayElements(
+ db.contacts.filter((contact) => contact.company_id === company.id),
+ faker.number.int({ min: 1, max: 3 })
+ );
+ const lowercaseName = faker.lorem.words();
+ const created_at = randomDate(new Date(company.created_at)).toISOString();
+ return {
+ id,
+ name: lowercaseName[0].toUpperCase() + lowercaseName.slice(1),
+ company_id: company.id,
+ contact_ids: contacts.map((contact) => contact.id),
+ type: faker.helpers.arrayElement(type),
+ stage: faker.helpers.arrayElement(stages),
+ description: faker.lorem.paragraphs(faker.number.int({ min: 1, max: 4 })),
+ amount: faker.number.int(1000) * 100,
+ created_at: created_at,
+ updated_at: randomDate(new Date(created_at)).toISOString(),
+ start_at: randomDate(
+ new Date(),
+ add(new Date(), { months: 6 })
+ ).toISOString(),
+ sales_id: company.sales_id,
+ index: 0,
+ nb_notes: 0,
+ };
+ });
+ // compute index based on stage
+ stages.forEach((stage) => {
+ deals
+ .filter((deal) => deal.stage === stage)
+ .forEach((deal, index) => {
+ deals[deal.id].index = index;
+ });
+ });
+ return deals;
+};
diff --git a/src/dataGenerator/finalize.ts b/src/dataGenerator/finalize.ts
new file mode 100644
index 00000000..011b81ca
--- /dev/null
+++ b/src/dataGenerator/finalize.ts
@@ -0,0 +1,10 @@
+import { Db } from './types';
+
+export const finalize = (db: Db) => {
+ // set contact status according to the latest note
+ db.contactNotes
+ .sort((a, b) => new Date(a.date).valueOf() - new Date(b.date).valueOf())
+ .forEach(note => {
+ db.contacts[note.contact_id as number].status = note.status;
+ });
+};
diff --git a/src/dataGenerator/index.ts b/src/dataGenerator/index.ts
new file mode 100644
index 00000000..61933587
--- /dev/null
+++ b/src/dataGenerator/index.ts
@@ -0,0 +1,26 @@
+/* eslint-disable import/no-anonymous-default-export */
+import { generateSales } from './sales';
+import { generateTags } from './tags';
+import { generateCompanies } from './companies';
+import { generateContacts } from './contacts';
+import { generateContactNotes } from './contactNotes';
+import { generateTasks } from './tasks';
+import { generateDeals } from './deals';
+import { generateDealNotes } from './dealNotes';
+import { finalize } from './finalize';
+import { Db } from './types';
+
+export default (): Db => {
+ const db = {} as Db;
+ db.sales = generateSales(db);
+ db.tags = generateTags(db);
+ db.companies = generateCompanies(db);
+ db.contacts = generateContacts(db);
+ db.contactNotes = generateContactNotes(db);
+ db.deals = generateDeals(db);
+ db.dealNotes = generateDealNotes(db);
+ db.tasks = generateTasks(db);
+ finalize(db);
+
+ return db;
+};
diff --git a/src/dataGenerator/sales.ts b/src/dataGenerator/sales.ts
new file mode 100644
index 00000000..c2aa1259
--- /dev/null
+++ b/src/dataGenerator/sales.ts
@@ -0,0 +1,30 @@
+import { faker } from "@faker-js/faker";
+
+import { Db } from "./types";
+
+export const generateSales = (_: Db) => {
+ const randomSales = Array.from(Array(10).keys()).map((id) => {
+ const first_name = faker.person.firstName();
+ const last_name = faker.person.lastName();
+ const email = faker.internet.email({
+ firstName: first_name,
+ lastName: last_name,
+ });
+
+ return {
+ id: id + 1,
+ first_name,
+ last_name,
+ email,
+ };
+ });
+ return [
+ {
+ id: 0,
+ first_name: "Jane",
+ last_name: "Doe",
+ email: "[email protected]",
+ },
+ ...randomSales,
+ ];
+};
diff --git a/src/dataGenerator/tags.ts b/src/dataGenerator/tags.ts
new file mode 100644
index 00000000..fd275acd
--- /dev/null
+++ b/src/dataGenerator/tags.ts
@@ -0,0 +1,25 @@
+import { Db } from './types';
+
+// --champagne-pink: #eddcd2ff;
+// --linen: #fff1e6ff;
+// --pale-pink: #fde2e4ff;
+// --mimi-pink: #fad2e1ff;
+// --powder-blue: #c5deddff;
+// --mint-cream: #dbe7e4ff;
+// --isabelline: #f0efebff;
+// --alice-blue: #d6e2e9ff;
+// --beau-blue: #bcd4e6ff;
+// --pale-cerulean: #99c1deff;
+
+const tags = [
+ { id: 0, name: 'football-fan', color: '#eddcd2' },
+ { id: 1, name: 'holiday-card', color: '#fff1e6' },
+ { id: 2, name: 'influencer', color: '#fde2e4' },
+ { id: 3, name: 'manager', color: '#fad2e1' },
+ { id: 4, name: 'musician', color: '#c5dedd' },
+ { id: 5, name: 'vip', color: '#dbe7e4' },
+];
+
+export const generateTags = (_: Db) => {
+ return [...tags];
+};
diff --git a/src/dataGenerator/tasks.ts b/src/dataGenerator/tasks.ts
new file mode 100644
index 00000000..2db89a44
--- /dev/null
+++ b/src/dataGenerator/tasks.ts
@@ -0,0 +1,46 @@
+import { faker } from "@faker-js/faker";
+
+import { Db } from './types';
+import { randomDate } from './utils';
+
+const type = [
+ 'Email',
+ 'Email',
+ 'Email',
+ 'Email',
+ 'Email',
+ 'Email',
+ 'Call',
+ 'Call',
+ 'Call',
+ 'Call',
+ 'Call',
+ 'Call',
+ 'Call',
+ 'Call',
+ 'Call',
+ 'Call',
+ 'Call',
+ 'Demo',
+ 'Lunch',
+ 'Meeting',
+ 'Follow-up',
+ 'Follow-up',
+ 'Thank you',
+ 'Ship',
+ 'None',
+];
+
+export const generateTasks = (db: Db) => {
+ return Array.from(Array(400).keys()).map(id => {
+ const contact = faker.helpers.arrayElement(db.contacts);
+ return {
+ id,
+ contact_id: contact.id,
+ type: faker.helpers.arrayElement(type),
+ text: faker.lorem.sentence(),
+ due_date: randomDate(new Date(contact.first_seen)),
+ sales_id: contact.sales_id,
+ };
+ });
+};
diff --git a/src/dataGenerator/types.ts b/src/dataGenerator/types.ts
new file mode 100644
index 00000000..32dbfa62
--- /dev/null
+++ b/src/dataGenerator/types.ts
@@ -0,0 +1,13 @@
+import { RaRecord } from 'react-admin';
+import { Company, Contact, ContactNote, Deal, Sale, Tag } from '../types';
+
+export interface Db {
+ companies: Company[];
+ contacts: Contact[];
+ contactNotes: ContactNote[];
+ deals: Deal[];
+ dealNotes: RaRecord[];
+ sales: Sale[];
+ tags: Tag[];
+ tasks: RaRecord[];
+}
diff --git a/src/dataGenerator/utils.ts b/src/dataGenerator/utils.ts
new file mode 100644
index 00000000..e71c6ddc
--- /dev/null
+++ b/src/dataGenerator/utils.ts
@@ -0,0 +1,28 @@
+import { faker } from "@faker-js/faker";
+
+export const weightedArrayElement = (values: any[], weights: any) =>
+ faker.helpers.arrayElement(
+ values.reduce(
+ (acc, value, index) => acc.concat(new Array(weights[index]).fill(value)),
+ []
+ )
+ );
+
+export const weightedBoolean = (likelyhood: number) =>
+ faker.number.int(99) < likelyhood;
+
+export const randomDate = (minDate?: Date, maxDate?: Date) => {
+ const minTs =
+ minDate instanceof Date
+ ? minDate.getTime()
+ : Date.now() - 5 * 365 * 24 * 60 * 60 * 1000; // 5 years
+ const maxTs = maxDate instanceof Date ? maxDate.getTime() : Date.now();
+ const range = maxTs - minTs;
+ const randomRange = faker.number.int({ max: range });
+ // move it more towards today to account for traffic increase
+ const ts = Math.sqrt(randomRange / range) * range;
+ return new Date(minTs + ts);
+};
+
+export const randomFloat = (min: number, max: number) =>
+ parseFloat(faker.number.float({ min, max, precision: 0.01 }).toFixed(2));
diff --git a/src/dataProvider.ts b/src/dataProvider.ts
new file mode 100644
index 00000000..fdb27cb7
--- /dev/null
+++ b/src/dataProvider.ts
@@ -0,0 +1,79 @@
+import { supabaseDataProvider } from "ra-supabase";
+
+import generateData from "./dataGenerator";
+import { supabase } from "./supabase";
+import { GetListParams, withLifecycleCallbacks } from "react-admin";
+
+if (import.meta.env.VITE_SUPABASE_URL === undefined) {
+ throw new Error("Please set the VITE_SUPABASE_URL environment variable");
+}
+if (import.meta.env.VITE_SUPABASE_ANON_KEY === undefined) {
+ throw new Error("Please set the VITE_SUPABASE_ANON_KEY environment variable");
+}
+
+export const dataProvider = withLifecycleCallbacks(
+ supabaseDataProvider({
+ instanceUrl: import.meta.env.VITE_SUPABASE_URL,
+ apiKey: import.meta.env.VITE_SUPABASE_ANON_KEY,
+ supabaseClient: supabase,
+ }),
+ [
+ {
+ resource: "contacts",
+ beforeGetList: async (params) => {
+ return applyFullTextSearch([
+ "first_name",
+ "last_name",
+ "title",
+ "email",
+ "phone_number1",
+ "phone_number2",
+ "background",
+ ])(params);
+ },
+ },
+ {
+ resource: "companies",
+ beforeGetList: async (params) => {
+ return applyFullTextSearch([
+ "name",
+ "phone_number",
+ "website",
+ "zipcode",
+ "city",
+ "stateAbbr",
+ ])(params);
+ },
+ },
+ {
+ resource: "deals",
+ beforeGetList: async (params) => {
+ return applyFullTextSearch([
+ "name",
+ "type",
+ "description",
+ ])(params);
+ },
+ },
+ ]
+);
+
+const applyFullTextSearch = (columns: string[]) => (params: GetListParams) => {
+ if (!params.filter?.q) {
+ return params;
+ }
+ const { q, ...filter } = params.filter;
+ return {
+ ...params,
+ filter: {
+ ...filter,
+ "@or": columns.reduce(
+ (acc, column) => ({
+ ...acc,
+ [`${column}@fts`]: q,
+ }),
+ {}
+ ),
+ },
+ };
+};
diff --git a/src/deals/ContactList.tsx b/src/deals/ContactList.tsx
new file mode 100644
index 00000000..77267475
--- /dev/null
+++ b/src/deals/ContactList.tsx
@@ -0,0 +1,45 @@
+import * as React from 'react';
+import { useListContext } from 'react-admin';
+import { Box, Link } from '@mui/material';
+import { Link as RouterLink } from 'react-router-dom';
+
+export const ContactList = () => {
+ const { data, isLoading } = useListContext();
+
+ if (isLoading) return <div style={{ height: '2em' }} />;
+ return (
+ <Box
+ component="ul"
+ sx={{
+ listStyle: 'none',
+ padding: 0,
+ margin: 0,
+ display: 'inline-block',
+ }}
+ >
+ {data.map(contact => (
+ <Box
+ component="li"
+ key={contact.id}
+ sx={{
+ display: 'inline',
+ '&:after': {
+ content: '", "',
+ },
+ '&:last-child:after': {
+ content: '""',
+ },
+ }}
+ >
+ <Link
+ component={RouterLink}
+ to={`/contacts/${contact.id}/show`}
+ variant="subtitle1"
+ >
+ {contact.first_name} {contact.last_name}
+ </Link>
+ </Box>
+ ))}
+ </Box>
+ );
+};
diff --git a/src/deals/DealCard.tsx b/src/deals/DealCard.tsx
new file mode 100644
index 00000000..311dafa5
--- /dev/null
+++ b/src/deals/DealCard.tsx
@@ -0,0 +1,68 @@
+import * as React from 'react';
+import { ReferenceField, useRedirect } from 'react-admin';
+import { Box, Card, Typography } from '@mui/material';
+import { Draggable } from '@hello-pangea/dnd';
+
+import { LogoField } from '../companies/LogoField';
+import { Deal } from '../types';
+
+export const DealCard = ({ deal, index }: { deal: Deal; index: number }) => {
+ const redirect = useRedirect();
+ if (!deal) return null;
+
+ const handleClick = () => {
+ redirect(`/deals/${deal.id}/show`);
+ };
+
+ return (
+ <Draggable draggableId={String(deal.id)} index={index}>
+ {(provided, snapshot) => (
+ <Box
+ sx={{ marginBottom: 1 }}
+ {...provided.draggableProps}
+ {...provided.dragHandleProps}
+ ref={provided.innerRef}
+ onClick={handleClick}
+ >
+ <Card
+ style={{
+ opacity: snapshot.isDragging ? 0.9 : 1,
+ transform: snapshot.isDragging
+ ? 'rotate(-2deg)'
+ : '',
+ }}
+ elevation={snapshot.isDragging ? 3 : 1}
+ >
+ <Box padding={1} display="flex">
+ <ReferenceField
+ source="company_id"
+ record={deal}
+ reference="companies"
+ >
+ <LogoField size="small" />
+ </ReferenceField>
+ <Box sx={{ marginLeft: 1 }}>
+ <Typography variant="body2" gutterBottom>
+ {deal.name}
+ </Typography>
+ <Typography
+ variant="caption"
+ color="textSecondary"
+ >
+ {deal.amount.toLocaleString('en-US', {
+ notation: 'compact',
+ style: 'currency',
+ currency: 'USD',
+ currencyDisplay: 'narrowSymbol',
+ minimumSignificantDigits: 3,
+ })}
+ , {deal.type}
+ </Typography>
+ </Box>
+ </Box>
+ </Card>
+ </Box>
+ )}
+ </Draggable>
+ );
+};
diff --git a/src/deals/DealColumn.tsx b/src/deals/DealColumn.tsx
new file mode 100644
index 00000000..9f880281
--- /dev/null
+++ b/src/deals/DealColumn.tsx
@@ -0,0 +1,59 @@
+import { Droppable } from '@hello-pangea/dnd';
+import { Box, Typography } from '@mui/material';
+
+import { Deal } from '../types';
+import { DealCard } from './DealCard';
+import { stageNames } from './stages';
+
+export const DealColumn = ({
+ stage,
+ deals,
+}: {
+ stage: string;
+ deals: Deal[];
+}) => (
+ <Box
+ sx={{
+ flex: 1,
+ paddingTop: '8px',
+ paddingBottom: '16px',
+ bgcolor: '#eaeaee',
+ '&:first-child': {
+ paddingLeft: '5px',
+ borderTopLeftRadius: 5,
+ },
+ '&:last-child': {
+ paddingRight: '5px',
+ borderTopRightRadius: 5,
+ },
+ }}
+ >
+ <Typography align="center" variant="subtitle1">
+ {/* @ts-ignore */}
+ {stageNames[stage]}
+ </Typography>
+ <Droppable droppableId={stage}>
+ {(droppableProvided, snapshot) => (
+ <Box
+ ref={droppableProvided.innerRef}
+ {...droppableProvided.droppableProps}
+ className={snapshot.isDraggingOver ? ' isDraggingOver' : ''}
+ sx={{
+ display: 'flex',
+ flexDirection: 'column',
+ borderRadius: 5,
+ padding: '5px',
+ '&.isDraggingOver': {
+ bgcolor: '#dadadf',
+ },
+ }}
+ >
+ {deals.map((deal, index) => (
+ <DealCard key={deal.id} deal={deal} index={index} />
+ ))}
+ {droppableProvided.placeholder}
+ </Box>
+ )}
+ </Droppable>
+ </Box>
+);
diff --git a/src/deals/DealCreate.tsx b/src/deals/DealCreate.tsx
new file mode 100644
index 00000000..b831a8de
--- /dev/null
+++ b/src/deals/DealCreate.tsx
@@ -0,0 +1,95 @@
+import * as React from "react";
+import {
+ Create,
+ SimpleForm,
+ TextInput,
+ SelectInput,
+ NumberInput,
+ ReferenceInput,
+ AutocompleteInput,
+ required,
+ useRedirect,
+ useDataProvider,
+ useGetIdentity,
+} from "react-admin";
+import { Dialog } from "@mui/material";
+
+import { stageChoices } from "./stages";
+import { typeChoices } from "./types";
+import { Deal } from "../types";
+
+const validateRequired = required();
+
+export const DealCreate = ({ open }: { open: boolean }) => {
+ const redirect = useRedirect();
+ const dataProvider = useDataProvider();
+ const { data: identity } = useGetIdentity();
+
+ const handleClose = () => {
+ redirect("/deals");
+ };
+
+ const onSuccess = (deal: Deal) => {
+ redirect("/deals");
+ // increase the index of all deals in the same stage as the new deal
+ dataProvider
+ .getList("deals", {
+ pagination: { page: 1, perPage: 50 },
+ sort: { field: "id", order: "ASC" },
+ filter: { stage: deal.stage },
+ })
+ .then(({ data: deals }) =>
+ Promise.all(
+ deals
+ .filter((oldDeal) => oldDeal.id !== deal.id)
+ .map((oldDeal) =>
+ dataProvider.update("deals", {
+ id: oldDeal.id,
+ data: { index: oldDeal.index + 1 },
+ previousData: oldDeal,
+ })
+ )
+ )
+ );
+ };
+
+ return (
+ <Dialog open={open} onClose={handleClose}>
+ <Create<Deal>
+ resource="deals"
+ mutationOptions={{ onSuccess }}
+ sx={{ width: 500, "& .RaCreate-main": { mt: 0 } }}
+ transform={(data: Deal) => ({
+ ...data,
+ sales_id: identity?.id,
+ })}
+ >
+ <SimpleForm defaultValues={{ index: 0 }}>
+ <TextInput
+ source="name"
+ label="Deal name"
+ fullWidth
+ validate={validateRequired}
+ />
+ <TextInput source="description" multiline rows={3} fullWidth />
+ <ReferenceInput source="company_id" reference="companies">
+ <AutocompleteInput
+ optionText="name"
+ fullWidth
+ validate={validateRequired}
+ />
+ </ReferenceInput>
+ <SelectInput
+ source="stage"
+ choices={stageChoices}
+ fullWidth
+ validate={validateRequired}
+ defaultValue="opportunity"
+ />
+ <SelectInput source="type" choices={typeChoices} fullWidth />
+ <NumberInput source="amount" fullWidth defaultValue={0} />
+ </SimpleForm>
+ </Create>
+ </Dialog>
+ );
+};
diff --git a/src/deals/DealList.tsx b/src/deals/DealList.tsx
new file mode 100644
index 00000000..c67aee1c
--- /dev/null
+++ b/src/deals/DealList.tsx
@@ -0,0 +1,65 @@
+import * as React from 'react';
+import {
+ CreateButton,
+ ExportButton,
+ FilterButton,
+ List,
+ SearchInput,
+ SelectInput,
+ TopToolbar,
+ useGetIdentity,
+} from 'react-admin';
+import { matchPath, useLocation } from 'react-router';
+
+import { DealListContent } from './DealListContent';
+import { DealCreate } from './DealCreate';
+import { DealShow } from './DealShow';
+import { OnlyMineInput } from './OnlyMineInput';
+import { typeChoices } from './types';
+
+const DealList = () => {
+ const { identity } = useGetIdentity();
+ const location = useLocation();
+ const matchCreate = matchPath('/deals/create', location.pathname);
+ const matchShow = matchPath('/deals/:id/show', location.pathname);
+ if (!identity) return null;
+ return (
+ <>
+ <List
+ perPage={100}
+ sort={{ field: 'index', order: 'ASC' }}
+ filters={dealFilters}
+ filterDefaultValues={{ sales_id: identity && identity?.id }}
+ actions={<DealActions />}
+ pagination={false}
+ component="div"
+ >
+ <DealListContent />
+ </List>
+ <DealCreate open={!!matchCreate} />
+ <DealShow open={!!matchShow} id={matchShow?.params.id} />
+ </>
+ );
+};
+
+const dealFilters = [
+ <SearchInput source="q" alwaysOn />,
+ <OnlyMineInput alwaysOn />,
+ <SelectInput source="type" choices={typeChoices} />,
+];
+
+const DealActions = () => {
+ return (
+ <TopToolbar>
+ <FilterButton />
+ <ExportButton />
+ <CreateButton
+ variant="contained"
+ label="New Deal"
+ sx={{ marginLeft: 2 }}
+ />
+ </TopToolbar>
+ );
+};
+
+export default DealList;
diff --git a/src/deals/DealListContent.tsx b/src/deals/DealListContent.tsx
new file mode 100644
index 00000000..6e26f08c
--- /dev/null
+++ b/src/deals/DealListContent.tsx
@@ -0,0 +1,248 @@
+import { DragDropContext, OnDragEndResponder } from '@hello-pangea/dnd';
+import { Box } from '@mui/material';
+import isEqual from 'lodash/isEqual';
+import { useEffect, useState } from 'react';
+import { DataProvider, useDataProvider, useListContext } from 'react-admin';
+
+import { Deal } from '../types';
+import { DealColumn } from './DealColumn';
+import { DealsByStage, getDealsByStage, stages } from './stages';
+
+export const DealListContent = () => {
+ const { data: unorderedDeals, isLoading, refetch } = useListContext<Deal>();
+ const dataProvider = useDataProvider();
+
+ const [dealsByStage, setDealsByStage] = useState<DealsByStage>(
+ getDealsByStage([])
+ );
+
+ useEffect(() => {
+ if (unorderedDeals) {
+ const newDealsByStage = getDealsByStage(unorderedDeals);
+ if (!isEqual(newDealsByStage, dealsByStage)) {
+ setDealsByStage(newDealsByStage);
+ }
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [unorderedDeals]);
+
+ if (isLoading) return null;
+
+ const onDragEnd: OnDragEndResponder = result => {
+ const { destination, source } = result;
+
+ if (!destination) {
+ return;
+ }
+
+ if (
+ destination.droppableId === source.droppableId &&
+ destination.index === source.index
+ ) {
+ return;
+ }
+
+ const sourceStage = source.droppableId;
+ const destinationStage = destination.droppableId;
+ const sourceDeal = dealsByStage[sourceStage][source.index]!;
+ const destinationDeal = dealsByStage[destinationStage][
+ destination.index
+ ] ?? {
+ stage: destinationStage,
+ index: undefined, // undefined if dropped after the last item
+ };
+
+ // compute local state change synchronously
+ setDealsByStage(
+ updateDealStageLocal(
+ sourceDeal,
+ { stage: sourceStage, index: source.index },
+ { stage: destinationStage, index: destination.index },
+ dealsByStage
+ )
+ );
+
+ // persist the changes
+ updateDealStage(sourceDeal, destinationDeal, dataProvider).then(() => {
+ refetch();
+ });
+ };
+
+ return (
+ <DragDropContext onDragEnd={onDragEnd}>
+ <Box display="flex">
+ {stages.map(stage => (
+ <DealColumn
+ stage={stage}
+ deals={dealsByStage[stage]}
+ key={stage}
+ />
+ ))}
+ </Box>
+ </DragDropContext>
+ );
+};
+
+const updateDealStageLocal = (
+ sourceDeal: Deal,
+ source: { stage: string; index: number },
+ destination: {
+ stage: string;
+ index?: number; // undefined if dropped after the last item
+ },
+ dealsByStage: DealsByStage
+) => {
+ if (source.stage === destination.stage) {
+ // moving deal inside the same column
+ const column = dealsByStage[source.stage];
+ column.splice(source.index, 1);
+ column.splice(destination.index ?? column.length + 1, 0, sourceDeal);
+ return {
+ ...dealsByStage,
+ [destination.stage]: column,
+ };
+ } else {
+ // moving deal across columns
+ const sourceColumn = dealsByStage[source.stage];
+ const destinationColumn = dealsByStage[destination.stage];
+ sourceColumn.splice(source.index, 1);
+ destinationColumn.splice(
+ destination.index ?? destinationColumn.length + 1,
+ 0,
+ sourceDeal
+ );
+ return {
+ ...dealsByStage,
+ [source.stage]: sourceColumn,
+ [destination.stage]: destinationColumn,
+ };
+ }
+};
+
+const updateDealStage = async (
+ source: Deal,
+ destination: {
+ stage: string;
+ index?: number; // undefined if dropped after the last item
+ },
+ dataProvider: DataProvider
+) => {
+ if (source.stage === destination.stage) {
+ // moving deal inside the same column
+ // Fetch all the deals in this stage (because the list may be filtered, but we need to update even non-filtered deals)
+ const { data: columnDeals } = await dataProvider.getList('deals', {
+ sort: { field: 'index', order: 'ASC' },
+ pagination: { page: 1, perPage: 100 },
+ filter: { stage: source.stage },
+ });
+ const destinationIndex = destination.index ?? columnDeals.length + 1;
+
+ if (source.index > destinationIndex) {
+ // deal moved up, eg
+ // dest src
+ // <------
+ // [4, 7, 23, 5]
+ await Promise.all([
+ // for all deals between destinationIndex and source.index, increase the index
+ ...columnDeals
+ .filter(
+ deal =>
+ deal.index >= destinationIndex &&
+ deal.index < source.index
+ )
+ .map(deal =>
+ dataProvider.update('deals', {
+ id: deal.id,
+ data: { index: deal.index + 1 },
+ previousData: deal,
+ })
+ ),
+ // for the deal that was moved, update its index
+ dataProvider.update('deals', {
+ id: source.id,
+ data: { index: destinationIndex },
+ previousData: source,
+ }),
+ ]);
+ } else {
+ // deal moved down, e.g
+ // src dest
+ // ------>
+ // [4, 7, 23, 5]
+ await Promise.all([
+ // for all deals between source.index and destinationIndex, decrease the index
+ ...columnDeals
+ .filter(
+ deal =>
+ deal.index <= destinationIndex &&
+ deal.index > source.index
+ )
+ .map(deal =>
+ dataProvider.update('deals', {
+ id: deal.id,
+ data: { index: deal.index - 1 },
+ previousData: deal,
+ })
+ ),
+ // for the deal that was moved, update its index
+ dataProvider.update('deals', {
+ id: source.id,
+ data: { index: destinationIndex },
+ previousData: source,
+ }),
+ ]);
+ }
+ } else {
+ // moving deal across columns
+ // Fetch all the deals in both stages (because the list may be filtered, but we need to update even non-filtered deals)
+ const [
+ { data: sourceDeals },
+ { data: destinationDeals },
+ ] = await Promise.all([
+ dataProvider.getList('deals', {
+ sort: { field: 'index', order: 'ASC' },
+ pagination: { page: 1, perPage: 100 },
+ filter: { stage: source.stage },
+ }),
+ dataProvider.getList('deals', {
+ sort: { field: 'index', order: 'ASC' },
+ pagination: { page: 1, perPage: 100 },
+ filter: { stage: destination.stage },
+ }),
+ ]);
+ const destinationIndex =
+ destination.index ?? destinationDeals.length + 1;
+
+ await Promise.all([
+ // decrease index on the deals after the source index in the source columns
+ ...sourceDeals
+ .filter(deal => deal.index > source.index)
+ .map(deal =>
+ dataProvider.update('deals', {
+ id: deal.id,
+ data: { index: deal.index - 1 },
+ previousData: deal,
+ })
+ ),
+ // increase index on the deals after the destination index in the destination columns
+ ...destinationDeals
+ .filter(deal => deal.index >= destinationIndex)
+ .map(deal =>
+ dataProvider.update('deals', {
+ id: deal.id,
+ data: { index: deal.index + 1 },
+ previousData: deal,
+ })
+ ),
+ // change the dragged deal to take the destination index and column
+ dataProvider.update('deals', {
+ id: source.id,
+ data: {
+ index: destinationIndex,
+ stage: destination.stage,
+ },
+ previousData: source,
+ }),
+ ]);
+ }
+};
diff --git a/src/deals/DealShow.tsx b/src/deals/DealShow.tsx
new file mode 100644
index 00000000..a46c7411
--- /dev/null
+++ b/src/deals/DealShow.tsx
@@ -0,0 +1,170 @@
+import * as React from 'react';
+import {
+ ShowBase,
+ TextField,
+ ReferenceField,
+ ReferenceManyField,
+ ReferenceArrayField,
+ useRecordContext,
+ useRedirect,
+} from 'react-admin';
+import { Box, Dialog, DialogContent, Typography, Divider } from '@mui/material';
+import { format } from 'date-fns';
+
+import { CompanyAvatar } from '../companies/CompanyAvatar';
+import { NotesIterator } from '../notes';
+import { ContactList } from './ContactList';
+import { stageNames } from './stages';
+
+export const DealShow = ({ open, id }: { open: boolean; id?: string }) => {
+ const redirect = useRedirect();
+
+ const handleClose = () => {
+ redirect('list', 'deals');
+ };
+
+ return (
+ <Dialog
+ open={open}
+ onClose={handleClose}
+ fullWidth
+ maxWidth="md"
+ sx={{
+ '.MuiDialog-paper': {
+ position: 'absolute',
+ top: 50,
+ },
+ }}
+ >
+ <DialogContent>
+ {!!id ? (
+ <ShowBase id={id}>
+ <DealShowContent />
+ </ShowBase>
+ ) : null}
+ </DialogContent>
+ </Dialog>
+ );
+};
+
+const DealShowContent = () => {
+ const record = useRecordContext();
+ if (!record) return null;
+ return (
+ <div>
+ <Box display="flex">
+ <Box
+ width={100}
+ display="flex"
+ flexDirection="column"
+ alignItems="center"
+ >
+ <ReferenceField
+ source="company_id"
+ reference="companies"
+ link="show"
+ >
+ <CompanyAvatar />
+ </ReferenceField>
+ <ReferenceField
+ source="company_id"
+ reference="companies"
+ link="show"
+ >
+ <TextField
+ source="name"
+ align="center"
+ component="div"
+ />
+ </ReferenceField>
+ </Box>
+ <Box ml={2} flex="1">
+ <Typography variant="h5">{record.name}</Typography>
+
+ <Box display="flex" mt={2}>
+ <Box display="flex" mr={5} flexDirection="column">
+ <Typography color="textSecondary" variant="body2">
+ Start
+ </Typography>
+ <Typography variant="subtitle1">
+ {format(new Date(record.start_at), 'PP')}
+ </Typography>
+ </Box>
+
+ <Box display="flex" mr={5} flexDirection="column">
+ <Typography color="textSecondary" variant="body2">
+ Budget
+ </Typography>
+ <Typography variant="subtitle1">
+ {record.amount.toLocaleString('en-US', {
+ notation: 'compact',
+ style: 'currency',
+ currency: 'USD',
+ currencyDisplay: 'narrowSymbol',
+ minimumSignificantDigits: 3,
+ })}
+ </Typography>
+ </Box>
+
+ <Box display="flex" mr={5} flexDirection="column">
+ <Typography color="textSecondary" variant="body2">
+ Type
+ </Typography>
+ <Typography variant="subtitle1">
+ {record.type}
+ </Typography>
+ </Box>
+
+ <Box display="flex" mr={5} flexDirection="column">
+ <Typography color="textSecondary" variant="body2">
+ Stage
+ </Typography>
+ <Typography variant="subtitle1">
+ {/* @ts-ignore */}
+ {stageNames[record.stage]}
+ </Typography>
+ </Box>
+ </Box>
+
+ <Box mt={2} mb={2}>
+ <Box
+ display="flex"
+ mr={5}
+ flexDirection="column"
+ minHeight={48}
+ >
+ <Typography color="textSecondary" variant="body2">
+ Contacts
+ </Typography>
+ <ReferenceArrayField
+ source="contact_ids"
+ reference="contacts"
+ >
+ <ContactList />
+ </ReferenceArrayField>
+ </Box>
+ </Box>
+
+ <Box mt={2} mb={2} style={{ whiteSpace: 'pre-line' }}>
+ <Typography color="textSecondary" variant="body2">
+ Description
+ </Typography>
+ <Typography>{record.description}</Typography>
+ </Box>
+
+ <Divider />
+
+ <Box mt={2}>
+ <ReferenceManyField
+ target="deal_id"
+ reference="dealNotes"
+ sort={{ field: 'date', order: 'DESC' }}
+ >
+ <NotesIterator reference="deals" />
+ </ReferenceManyField>
+ </Box>
+ </Box>
+ </Box>
+ </div>
+ );
+};
diff --git a/src/deals/OnlyMineInput.tsx b/src/deals/OnlyMineInput.tsx
new file mode 100644
index 00000000..bc987698
--- /dev/null
+++ b/src/deals/OnlyMineInput.tsx
@@ -0,0 +1,39 @@
+import * as React from 'react';
+import { useListFilterContext, useGetIdentity } from 'react-admin';
+import { Box, Switch, FormControlLabel } from '@mui/material';
+
+export const OnlyMineInput = (_: { alwaysOn: boolean }) => {
+ const {
+ filterValues,
+ displayedFilters,
+ setFilters,
+ } = useListFilterContext();
+ const { identity } = useGetIdentity();
+
+ const handleChange = () => {
+ const newFilterValues = { ...filterValues };
+ if (typeof filterValues.sales_id !== 'undefined') {
+ delete newFilterValues.sales_id;
+ } else {
+ newFilterValues.sales_id = identity && identity?.id;
+ }
+ setFilters(newFilterValues, displayedFilters);
+ };
+ return (
+ <Box sx={{ marginBottom: 1, marginLeft: 1 }}>
+ <FormControlLabel
+ control={
+ <Switch
+ checked={typeof filterValues.sales_id !== 'undefined'}
+ onChange={handleChange}
+ color="primary"
+ name="checkedC"
+ />
+ }
+ label="Only companies I manage"
+ />
+ </Box>
+ );
+};
+
+OnlyMineInput.defaultProps = { source: 'sales_id' };
diff --git a/src/deals/index.ts b/src/deals/index.ts
new file mode 100644
index 00000000..4a13f205
--- /dev/null
+++ b/src/deals/index.ts
@@ -0,0 +1,7 @@
+/* eslint-disable import/no-anonymous-default-export */
+import * as React from 'react';
+const DealList = React.lazy(() => import('./DealList'));
+
+export default {
+ list: DealList,
+};
diff --git a/src/deals/stages.ts b/src/deals/stages.ts
new file mode 100644
index 00000000..077f214d
--- /dev/null
+++ b/src/deals/stages.ts
@@ -0,0 +1,47 @@
+import { Deal } from '../types';
+
+export const stages = [
+ 'opportunity',
+ 'proposal-sent',
+ 'in-negociation',
+ 'won',
+ 'lost',
+ 'delayed',
+];
+
+export const stageNames = {
+ opportunity: 'Opportunity',
+ 'proposal-sent': 'Proposal Sent',
+ 'in-negociation': 'In Negociation',
+ won: 'Won',
+ lost: 'Lost',
+ delayed: 'Delayed',
+};
+
+export const stageChoices = stages.map(type => ({
+ id: type,
+ /* @ts-ignore */
+ name: stageNames[type],
+}));
+
+export type DealsByStage = Record<Deal['stage'], Deal[]>;
+
+export const getDealsByStage = (unorderedDeals: Deal[]) => {
+ const dealsByStage: Record<Deal['stage'], Deal[]> = unorderedDeals.reduce(
+ (acc, deal) => {
+ acc[deal.stage].push(deal);
+ return acc;
+ },
+ stages.reduce(
+ (obj, stage) => ({ ...obj, [stage]: [] }),
+ {} as Record<Deal['stage'], Deal[]>
+ )
+ );
+ // order each column by index
+ stages.forEach(stage => {
+ dealsByStage[stage] = dealsByStage[stage].sort(
+ (recordA: Deal, recordB: Deal) => recordA.index - recordB.index
+ );
+ });
+ return dealsByStage;
+};
diff --git a/src/deals/types.ts b/src/deals/types.ts
new file mode 100644
index 00000000..f001d947
--- /dev/null
+++ b/src/deals/types.ts
@@ -0,0 +1,9 @@
+export const types = [
+ 'Other',
+ 'Copywriting',
+ 'Print project',
+ 'UI Design',
+ 'Website design',
+];
+
+export const typeChoices = types.map(type => ({ id: type, name: type }));
diff --git a/src/index.tsx b/src/index.tsx
new file mode 100644
index 00000000..5740dbf9
--- /dev/null
+++ b/src/index.tsx
@@ -0,0 +1,16 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+import App from './App';
+import reportWebVitals from './reportWebVitals';
+
+ReactDOM.render(
+ <React.StrictMode>
+ <App />
+ </React.StrictMode>,
+ document.getElementById('root')
+);
+
+// If you want to start measuring performance in your app, pass a function
+// to log results (for example: reportWebVitals(console.log))
+// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
+reportWebVitals();
diff --git a/src/logo.svg b/src/logo.svg
new file mode 100644
index 00000000..9dfc1c05
--- /dev/null
+++ b/src/logo.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>
\ No newline at end of file
diff --git a/src/misc/Status.tsx b/src/misc/Status.tsx
new file mode 100644
index 00000000..a63a3574
--- /dev/null
+++ b/src/misc/Status.tsx
@@ -0,0 +1,25 @@
+import * as React from 'react';
+import { Box } from '@mui/material';
+
+const getColorFromStatus = (status: string) =>
+ status === 'cold'
+ ? '#7dbde8'
+ : status === 'warm'
+ ? '#e8cb7d'
+ : status === 'hot'
+ ? '#e88b7d'
+ : status === 'in-contract'
+ ? '#a4e87d'
+ : '#000';
+
+export const Status = ({ status }: { status: string }) => (
+ <Box
+ marginLeft={0.5}
+ width={10}
+ height={10}
+ display="inline-block"
+ borderRadius="5px"
+ bgcolor={getColorFromStatus(status)}
+ component="span"
+ />
+);
diff --git a/src/misc/useReferenceManyCount.ts b/src/misc/useReferenceManyCount.ts
new file mode 100644
index 00000000..d52d66cc
--- /dev/null
+++ b/src/misc/useReferenceManyCount.ts
@@ -0,0 +1,23 @@
+import { RaRecord, useGetManyReference, useRecordContext } from "react-admin";
+
+export const useReferenceManyCount = (props: {
+ record?: RaRecord;
+ reference: string;
+ target: string;
+}) => {
+ const record = useRecordContext(props);
+ const { total } = useGetManyReference(
+ props.reference,
+ {
+ target: props.target,
+ id: record?.id,
+ pagination: { page: 1, perPage: 1 },
+ sort: { field: "id", order: "DESC" },
+ },
+ {
+ enabled: !!record,
+ }
+ );
+
+ return total ?? 0;
+};
diff --git a/src/notes/NewNote.tsx b/src/notes/NewNote.tsx
new file mode 100644
index 00000000..e4dab75a
--- /dev/null
+++ b/src/notes/NewNote.tsx
@@ -0,0 +1,145 @@
+import * as React from 'react';
+import { useState, FormEvent } from 'react';
+import {
+ useRecordContext,
+ useListContext,
+ useCreate,
+ useUpdate,
+ useNotify,
+ useGetIdentity,
+ Identifier,
+ useResourceContext,
+} from 'react-admin';
+import { Box, TextField as TextInput, Button } from '@mui/material';
+
+import { StatusSelector } from './StatusSelector';
+
+export const NewNote = ({
+ showStatus,
+ reference,
+}: {
+ showStatus?: boolean;
+ reference: 'contacts' | 'deals';
+}) => {
+ const resource = useResourceContext();
+ const record = useRecordContext();
+ const { refetch } = useListContext();
+ const [text, setText] = useState('');
+ const [status, setStatus] = useState(record && record.status);
+ const [date, setDate] = useState(getCurrentDate());
+ const [create, { isLoading }] = useCreate();
+ const [update] = useUpdate();
+ const notify = useNotify();
+ const { identity } = useGetIdentity();
+ if (!record || !identity) return null;
+
+ const handleSubmit = (event: FormEvent<HTMLFormElement>) => {
+ event.preventDefault();
+ const data: any = {
+ [foreignKeyMapping[reference]]: record.id,
+ sales_id: identity.id,
+ date,
+ text,
+ };
+ if (showStatus) {
+ data.status = status;
+ }
+ create(
+ resource,
+ { data },
+ {
+ onSuccess: () => {
+ setText('');
+ notify('Note added successfully');
+ refetch();
+ update(reference, {
+ id: ((record && record.id) as unknown) as Identifier,
+ data: {
+ last_seen: date,
+ status,
+ },
+ previousData: record,
+ });
+ },
+ }
+ );
+ return false;
+ };
+ return (
+ <Box mt={4} mb={1}>
+ <form onSubmit={handleSubmit}>
+ <TextInput
+ label="Add a note"
+ variant="filled"
+ size="small"
+ fullWidth
+ multiline
+ value={text}
+ onChange={(event: React.ChangeEvent<HTMLInputElement>) =>
+ setText(event.target.value)
+ }
+ rows={3}
+ />
+ <Box display="flex" justifyContent="space-between" mt={1}>
+ <span>
+ {text ? (
+ <>
+ {showStatus && (
+ <StatusSelector
+ status={status}
+ setStatus={setStatus}
+ sx={{
+ marginRight: '1em',
+ '& .MuiFilledInput-input': {
+ paddingTop: '10px',
+ },
+ width: 150,
+ }}
+ />
+ )}
+ <TextInput
+ type="datetime-local"
+ variant="filled"
+ size="small"
+ value={date}
+ onChange={(
+ event: React.ChangeEvent<
+ HTMLInputElement
+ >
+ ) => {
+ setDate(event.target.value);
+ }}
+ sx={{
+ marginRight: '1em',
+ '& .MuiFilledInput-input': {
+ paddingTop: '10px',
+ },
+ }}
+ />
+ </>
+ ) : null}
+ </span>
+ <Button
+ type="submit"
+ variant="contained"
+ color="primary"
+ disabled={!text || isLoading}
+ >
+ Add this note
+ </Button>
+ </Box>
+ </form>
+ </Box>
+ );
+};
+
+const getCurrentDate = () => {
+ const now = new Date();
+ now.setMinutes(now.getMinutes() - now.getTimezoneOffset());
+ return now.toISOString().slice(0, -1);
+};
+
+const foreignKeyMapping = {
+ contacts: 'contact_id',
+ deals: 'deal_id',
+};
diff --git a/src/notes/Note.tsx b/src/notes/Note.tsx
new file mode 100644
index 00000000..9ecacc17
--- /dev/null
+++ b/src/notes/Note.tsx
@@ -0,0 +1,208 @@
+import * as React from 'react';
+import { useState, FormEvent, ChangeEvent } from 'react';
+import {
+ TextField,
+ ReferenceField,
+ DateField,
+ useResourceContext,
+ useDelete,
+ useUpdate,
+ useNotify,
+ useRecordContext,
+} from 'react-admin';
+import {
+ Box,
+ Typography,
+ Tooltip,
+ IconButton,
+ FilledInput,
+ Button,
+} from '@mui/material';
+import EditIcon from '@mui/icons-material/Edit';
+import TrashIcon from '@mui/icons-material/Delete';
+
+import { Status } from '../misc/Status';
+
+export const Note = ({
+ showStatus,
+ note,
+ reference,
+}: {
+ showStatus?: boolean;
+ note: any;
+ isLast: boolean;
+ reference: string;
+}) => {
+ const [isHover, setHover] = useState(false);
+ const [isEditing, setEditing] = useState(false);
+ const [noteText, setNoteText] = useState(note.text);
+ const resource = useResourceContext();
+ const record = useRecordContext();
+ const notify = useNotify();
+
+ const [update, { isLoading }] = useUpdate();
+
+ const [deleteNote] = useDelete(
+ resource,
+ { id: note.id, previousData: note },
+ {
+ mutationMode: 'undoable',
+ onSuccess: () => {
+ notify('Note deleted', { type: 'info', undoable: true });
+ },
+ }
+ );
+
+ const handleDelete = () => {
+ deleteNote();
+ };
+
+ const handleEnterEditMode = () => {
+ setEditing(true);
+ };
+
+ const handleCancelEdit = () => {
+ setEditing(false);
+ setNoteText(note.text);
+ setHover(false);
+ };
+
+ const handleTextChange = (event: ChangeEvent<HTMLInputElement>) => {
+ setNoteText(event.target.value);
+ };
+
+ const handleNoteUpdate = (event: FormEvent<HTMLFormElement>) => {
+ event.preventDefault();
+ update(
+ resource,
+ { id: note.id, data: { text: noteText }, previousData: note },
+ {
+ onSuccess: () => {
+ setEditing(false);
+ setNoteText(note.text);
+ setHover(false);
+ },
+ }
+ );
+ };
+
+ return (
+ <Box
+ mb={2}
+ onMouseEnter={() => setHover(true)}
+ onMouseLeave={() => setHover(false)}
+ >
+ <Box mb={1} color="text.secondary">
+ <ReferenceField
+ record={note}
+ resource="contactNotes"
+ source="sales_id"
+ reference="sales"
+ >
+ <TextField source="first_name" variant="body1" />
+ </ReferenceField>{' '}
+ <Typography component="span" variant="body1">
+ added a note on{' '}
+ </Typography>
+ <DateField
+ source="date"
+ record={note}
+ variant="body1"
+ showTime
+ locales="en"
+ options={{
+ dateStyle: 'full',
+ timeStyle: 'short',
+ }}
+ />{' '}
+ {showStatus && <Status status={note.status} />}
+ </Box>
+ {isEditing ? (
+ <form onSubmit={handleNoteUpdate}>
+ <FilledInput
+ value={noteText}
+ onChange={handleTextChange}
+ fullWidth
+ multiline
+ sx={{
+ paddingTop: '16px',
+ paddingLeft: '14px',
+ paddingRight: '60px',
+ paddingBottom: '14px',
+ lineHeight: 1.3,
+ }}
+ autoFocus
+ />
+ <Box display="flex" justifyContent="flex-end" mt={1}>
+ <Button
+ sx={{ mr: 1 }}
+ onClick={handleCancelEdit}
+ color="primary"
+ >
+ Cancel
+ </Button>
+ <Button
+ type="submit"
+ color="primary"
+ variant="contained"
+ disabled={isLoading}
+ >
+ Update Note
+ </Button>
+ </Box>
+ </form>
+ ) : (
+ <Box
+ sx={{
+ bgcolor: '#edf3f0',
+ padding: '0 1em',
+ borderRadius: '10px',
+ display: 'flex',
+ alignItems: 'stretch',
+ marginBottom: 1,
+ }}
+ >
+ <Box flex={1}>
+ {note.text
+ .split('\n')
+ .map((paragraph: string, index: number) => (
+ <Box
+ component="p"
+ fontFamily="fontFamily"
+ fontSize="body1.fontSize"
+ lineHeight={1.3}
+ marginBottom={2.4}
+ key={index}
+ >
+ {paragraph}
+ </Box>
+ ))}
+ </Box>
+ <Box
+ sx={{
+ marginLeft: 2,
+ display: 'flex',
+ flexDirection: 'column',
+ justifyContent: 'space-around',
+ visibility: isHover ? 'visible' : 'hidden',
+ }}
+ >
+ <Tooltip title="Edit note">
+ <IconButton
+ size="small"
+ onClick={handleEnterEditMode}
+ >
+ <EditIcon />
+ </IconButton>
+ </Tooltip>
+ <Tooltip title="Delete note">
+ <IconButton size="small" onClick={handleDelete}>
+ <TrashIcon />
+ </IconButton>
+ </Tooltip>
+ </Box>
+ </Box>
+ )}
+ </Box>
+ );
+};
diff --git a/src/notes/NotesIterator.tsx b/src/notes/NotesIterator.tsx
new file mode 100644
index 00000000..73174299
--- /dev/null
+++ b/src/notes/NotesIterator.tsx
@@ -0,0 +1,33 @@
+import * as React from 'react';
+import { Box } from '@mui/material';
+import { useListContext } from 'react-admin';
+
+import { Note } from './Note';
+import { NewNote } from './NewNote';
+
+export const NotesIterator = ({
+ showStatus,
+ reference,
+}: {
+ showStatus?: boolean;
+ reference: 'contacts' | 'deals';
+}) => {
+ const { data, isLoading } = useListContext();
+ if (isLoading) return null;
+ return (
+ <>
+ <NewNote showStatus={showStatus} reference={reference} />
+ <Box mt="0.5em">
+ {data.map((note, index) => (
+ <Note
+ note={note}
+ isLast={index === data.length - 1}
+ showStatus={showStatus}
+ reference={reference}
+ key={index}
+ />
+ ))}
+ </Box>
+ </>
+ );
+};
diff --git a/src/notes/StatusSelector.tsx b/src/notes/StatusSelector.tsx
new file mode 100644
index 00000000..24aff9ba
--- /dev/null
+++ b/src/notes/StatusSelector.tsx
@@ -0,0 +1,32 @@
+import * as React from 'react';
+import { TextField, MenuItem } from '@mui/material';
+
+import { Status } from '../misc/Status';
+
+export const StatusSelector = ({ status, setStatus, sx }: any) => (
+ <TextField
+ select
+ value={status}
+ onChange={(event: React.ChangeEvent<{ value: unknown }>) => {
+ setStatus(event.target.value);
+ }}
+ variant="filled"
+ label={false}
+ margin="none"
+ size="small"
+ sx={sx}
+ >
+ <MenuItem value="cold">
+ Cold <Status status="cold" />
+ </MenuItem>
+ <MenuItem value="warm">
+ Warm <Status status="warm" />
+ </MenuItem>
+ <MenuItem value="hot">
+ Hot <Status status="hot" />
+ </MenuItem>
+ <MenuItem value="in-contract">
+ In Contract <Status status="in-contract" />
+ </MenuItem>
+ </TextField>
+);
diff --git a/src/notes/index.ts b/src/notes/index.ts
new file mode 100644
index 00000000..3cf5802a
--- /dev/null
+++ b/src/notes/index.ts
@@ -0,0 +1,3 @@
+export * from './NewNote';
+export * from './NotesIterator';
+export * from './StatusSelector';
diff --git a/src/reportWebVitals.js b/src/reportWebVitals.js
new file mode 100644
index 00000000..4251e959
--- /dev/null
+++ b/src/reportWebVitals.js
@@ -0,0 +1,15 @@
+const reportWebVitals = onPerfEntry => {
+ if (onPerfEntry && onPerfEntry instanceof Function) {
+ import('web-vitals').then(
+ ({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
+ getCLS(onPerfEntry);
+ getFID(onPerfEntry);
+ getFCP(onPerfEntry);
+ getLCP(onPerfEntry);
+ getTTFB(onPerfEntry);
+ }
+ );
+ }
+};
+
+export default reportWebVitals;
diff --git a/src/setupTests.js b/src/setupTests.js
new file mode 100644
index 00000000..8f2609b7
--- /dev/null
+++ b/src/setupTests.js
@@ -0,0 +1,5 @@
+// jest-dom adds custom jest matchers for asserting on DOM nodes.
+// allows you to do things like:
+// expect(element).toHaveTextContent(/react/i)
+// learn more: https://github.com/testing-library/jest-dom
+import '@testing-library/jest-dom';
diff --git a/src/supabase.ts b/src/supabase.ts
new file mode 100644
index 00000000..550a3fc1
--- /dev/null
+++ b/src/supabase.ts
@@ -0,0 +1,6 @@
+import { createClient } from "@supabase/supabase-js";
+
+export const supabase = createClient(
+ import.meta.env.VITE_SUPABASE_URL,
+ import.meta.env.VITE_SUPABASE_ANON_KEY
+);
diff --git a/src/tags/colors.ts b/src/tags/colors.ts
new file mode 100644
index 00000000..a43ebe66
--- /dev/null
+++ b/src/tags/colors.ts
@@ -0,0 +1,12 @@
+export const colors = [
+ '#eddcd2',
+ '#fff1e6',
+ '#fde2e4',
+ '#fad2e1',
+ '#c5dedd',
+ '#dbe7e4',
+ '#f0efeb',
+ '#d6e2e9',
+ '#bcd4e6',
+ '#99c1de',
+];
diff --git a/src/types.ts b/src/types.ts
new file mode 100644
index 00000000..edc8b825
--- /dev/null
+++ b/src/types.ts
@@ -0,0 +1,73 @@
+import { Identifier, RaRecord } from 'react-admin';
+
+export interface Sale extends RaRecord {
+ first_name: string;
+ last_name: string;
+ email: string;
+}
+
+export interface Company extends RaRecord {
+ name: string;
+ logo: string;
+ sector: string;
+ size: 1 | 10 | 50 | 250 | 500;
+ linkedIn: string;
+ website: string;
+ phone_number: string;
+ address: string;
+ zipcode: string;
+ city: string;
+ stateAbbr: string;
+ nb_contacts: number;
+ nb_deals: number;
+ sales_id: Identifier;
+ created_at: string;
+}
+
+export interface Contact extends RaRecord {
+ first_name: string;
+ last_name: string;
+ title: string;
+ company_id: Identifier;
+ email: string;
+ avatar?: string;
+ first_seen: string;
+ last_seen: string;
+ has_newsletter: Boolean;
+ tags: Identifier[];
+ gender: string;
+ sales_id: Identifier;
+ nb_notes: number;
+ status: string;
+ background: string;
+}
+
+export interface ContactNote extends RaRecord {
+ contact_id: Identifier;
+ type: string;
+ text: string;
+ date: string;
+ sales_id: Identifier;
+ status: string;
+}
+
+export interface Deal extends RaRecord {
+ name: string;
+ company_id: Identifier;
+ contact_ids: Identifier[];
+ type: string;
+ stage: string;
+ description: string;
+ amount: number;
+ created_at: string;
+ updated_at: string;
+ start_at: string;
+ sales_id: Identifier;
+ index: number;
+ nb_notes: number;
+}
+
+export interface Tag extends RaRecord {
+ name: string;
+ color: string;
+}
diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts
new file mode 100644
index 00000000..11f02fe2
--- /dev/null
+++ b/src/vite-env.d.ts
@@ -0,0 +1 @@
+/// <reference types="vite/client" />
diff --git a/supabase/config.toml b/supabase/config.toml
new file mode 100644
index 00000000..1647bb2d
--- /dev/null
+++ b/supabase/config.toml
@@ -0,0 +1,151 @@
+# A string used to distinguish different Supabase projects on the same host. Defaults to the
+# working directory name when running `supabase init`.
+project_id = "react-admin-crm"
+
+[api]
+enabled = true
+# Port to use for the API URL.
+port = 54321
+# Schemas to expose in your API. Tables, views and stored procedures in this schema will get API
+# endpoints. public and storage are always included.
+schemas = ["public", "storage", "graphql_public"]
+# Extra schemas to add to the search_path of every request. public is always included.
+extra_search_path = ["public", "extensions"]
+# The maximum number of rows returns from a view, table, or stored procedure. Limits payload size
+# for accidental or malicious requests.
+max_rows = 1000
+
+[db]
+# Port to use for the local database URL.
+port = 54322
+# Port used by db diff command to initialize the shadow database.
+shadow_port = 54320
+# The database major version to use. This has to be the same as your remote database's. Run `SHOW
+# server_version;` on the remote database to check.
+major_version = 15
+
+[db.pooler]
+enabled = false
+# Port to use for the local connection pooler.
+port = 54329
+# Specifies when a server connection can be reused by other clients.
+# Configure one of the supported pooler modes: `transaction`, `session`.
+pool_mode = "transaction"
+# How many server connections to allow per user/database pair.
+default_pool_size = 20
+# Maximum number of client connections allowed.
+max_client_conn = 100
+
+[realtime]
+enabled = true
+# Bind realtime via either IPv4 or IPv6. (default: IPv6)
+# ip_version = "IPv6"
+# The maximum length in bytes of HTTP request headers. (default: 4096)
+# max_header_length = 4096
+
+[studio]
+enabled = true
+# Port to use for Supabase Studio.
+port = 54323
+# External URL of the API server that frontend connects to.
+api_url = "http://127.0.0.1"
+
+# Email testing server. Emails sent with the local dev setup are not actually sent - rather, they
+# are monitored, and you can view the emails that would have been sent from the web interface.
+[inbucket]
+enabled = true
+# Port to use for the email testing server web interface.
+port = 54324
+# Uncomment to expose additional ports for testing user applications that send emails.
+# smtp_port = 54325
+# pop3_port = 54326
+
+[storage]
+enabled = true
+# The maximum file size allowed (e.g. "5MB", "500KB").
+file_size_limit = "50MiB"
+
+[auth]
+enabled = true
+# The base URL of your website. Used as an allow-list for redirects and for constructing URLs used
+# in emails.
+site_url = "http://127.0.0.1:3000"
+# A list of *exact* URLs that auth providers are permitted to redirect to post authentication.
+additional_redirect_urls = ["https://127.0.0.1:3000"]
+# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week).
+jwt_expiry = 3600
+# If disabled, the refresh token will never expire.
+enable_refresh_token_rotation = true
+# Allows refresh tokens to be reused after expiry, up to the specified interval in seconds.
+# Requires enable_refresh_token_rotation = true.
+refresh_token_reuse_interval = 10
+# Allow/disallow new user signups to your project.
+enable_signup = true
+
+[auth.email]
+# Allow/disallow new user signups via email to your project.
+enable_signup = true
+# If enabled, a user will be required to confirm any email change on both the old, and new email
+# addresses. If disabled, only the new email is required to confirm.
+double_confirm_changes = true
+# If enabled, users need to confirm their email address before signing in.
+enable_confirmations = false
+
+# Uncomment to customize email template
+# [auth.email.template.invite]
+# subject = "You have been invited"
+# content_path = "./supabase/templates/invite.html"
+
+[auth.sms]
+# Allow/disallow new user signups via SMS to your project.
+enable_signup = true
+# If enabled, users need to confirm their phone number before signing in.
+enable_confirmations = false
+# Template for sending OTP to users
+template = "Your code is {{ .Code }} ."
+
+# Use pre-defined map of phone number to OTP for testing.
+[auth.sms.test_otp]
+# 4152127777 = "123456"
+
+# Configure one of the supported SMS providers: `twilio`, `twilio_verify`, `messagebird`, `textlocal`, `vonage`.
+[auth.sms.twilio]
+enabled = false
+account_sid = ""
+message_service_sid = ""
+# DO NOT commit your Twilio auth token to git. Use environment variable substitution instead:
+auth_token = "env(SUPABASE_AUTH_SMS_TWILIO_AUTH_TOKEN)"
+
+# Use an external OAuth provider. The full list of providers are: `apple`, `azure`, `bitbucket`,
+# `discord`, `facebook`, `github`, `gitlab`, `google`, `keycloak`, `linkedin`, `notion`, `twitch`,
+# `twitter`, `slack`, `spotify`, `workos`, `zoom`.
+[auth.external.apple]
+enabled = false
+client_id = ""
+# DO NOT commit your OAuth provider secret to git. Use environment variable substitution instead:
+secret = "env(SUPABASE_AUTH_EXTERNAL_APPLE_SECRET)"
+# Overrides the default auth redirectUrl.
+redirect_uri = ""
+# Overrides the default auth provider URL. Used to support self-hosted gitlab, single-tenant Azure,
+# or any other third-party OIDC providers.
+url = ""
+
+[analytics]
+enabled = false
+port = 54327
+vector_port = 54328
+# Configure one of the supported backends: `postgres`, `bigquery`.
+backend = "postgres"
+
+# Experimental features may be deprecated any time
+[experimental]
+# Configures Postgres storage engine to use OrioleDB (S3)
+orioledb_version = ""
+# Configures S3 bucket URL, eg. <bucket_name>.s3-<region>.amazonaws.com
+s3_host = "env(S3_HOST)"
+# Configures S3 bucket region, eg. us-east-1
+s3_region = "env(S3_REGION)"
+# Configures AWS_ACCESS_KEY_ID for S3 bucket
+s3_access_key = "env(S3_ACCESS_KEY)"
+# Configures AWS_SECRET_ACCESS_KEY for S3 bucket
+s3_secret_key = "env(S3_SECRET_KEY)"
diff --git a/supabase/migrations/20240112161811_sales.sql b/supabase/migrations/20240112161811_sales.sql
new file mode 100644
index 00000000..5a779649
--- /dev/null
+++ b/supabase/migrations/20240112161811_sales.sql
@@ -0,0 +1,63 @@
+create table "public"."sales" (
+ "id" bigint generated by default as identity not null,
+ "first_name" text not null,
+ "last_name" text not null,
+ "email" text not null,
+ "user_id" uuid not null
+);
+
+
+alter table "public"."sales" enable row level security;
+
+CREATE UNIQUE INDEX sales_pkey ON public.sales USING btree (id);
+
+alter table "public"."sales" add constraint "sales_pkey" PRIMARY KEY using index "sales_pkey";
+
+alter table "public"."sales" add constraint "sales_user_id_fkey" FOREIGN KEY (user_id) REFERENCES auth.users(id) not valid;
+
+alter table "public"."sales" validate constraint "sales_user_id_fkey";
+
+grant delete on table "public"."sales" to "anon";
+
+grant insert on table "public"."sales" to "anon";
+
+grant references on table "public"."sales" to "anon";
+
+grant select on table "public"."sales" to "anon";
+
+grant trigger on table "public"."sales" to "anon";
+
+grant truncate on table "public"."sales" to "anon";
+
+grant update on table "public"."sales" to "anon";
+
+grant delete on table "public"."sales" to "authenticated";
+
+grant insert on table "public"."sales" to "authenticated";
+
+grant references on table "public"."sales" to "authenticated";
+
+grant select on table "public"."sales" to "authenticated";
+
+grant trigger on table "public"."sales" to "authenticated";
+
+grant truncate on table "public"."sales" to "authenticated";
+
+grant update on table "public"."sales" to "authenticated";
+
+grant delete on table "public"."sales" to "service_role";
+
+grant insert on table "public"."sales" to "service_role";
+
+grant references on table "public"."sales" to "service_role";
+
+grant select on table "public"."sales" to "service_role";
+
+grant trigger on table "public"."sales" to "service_role";
+
+grant truncate on table "public"."sales" to "service_role";
+
+grant update on table "public"."sales" to "service_role";
+
+
+
diff --git a/supabase/migrations/20240113110303_sales_read_policy.sql b/supabase/migrations/20240113110303_sales_read_policy.sql
new file mode 100644
index 00000000..f3d2268f
--- /dev/null
+++ b/supabase/migrations/20240113110303_sales_read_policy.sql
@@ -0,0 +1,10 @@
+create policy "Enable read access for all users"
+on "public"."sales"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+
+
diff --git a/supabase/migrations/20240113145420_tags.sql b/supabase/migrations/20240113145420_tags.sql
new file mode 100644
index 00000000..f860b0ca
--- /dev/null
+++ b/supabase/migrations/20240113145420_tags.sql
@@ -0,0 +1,65 @@
+create table "public"."tags" (
+ "id" bigint generated by default as identity not null,
+ "name" text not null,
+ "color" text not null
+);
+
+
+alter table "public"."tags" enable row level security;
+
+CREATE UNIQUE INDEX tags_pkey ON public.tags USING btree (id);
+
+alter table "public"."tags" add constraint "tags_pkey" PRIMARY KEY using index "tags_pkey";
+
+grant delete on table "public"."tags" to "anon";
+
+grant insert on table "public"."tags" to "anon";
+
+grant references on table "public"."tags" to "anon";
+
+grant select on table "public"."tags" to "anon";
+
+grant trigger on table "public"."tags" to "anon";
+
+grant truncate on table "public"."tags" to "anon";
+
+grant update on table "public"."tags" to "anon";
+
+grant delete on table "public"."tags" to "authenticated";
+
+grant insert on table "public"."tags" to "authenticated";
+
+grant references on table "public"."tags" to "authenticated";
+
+grant select on table "public"."tags" to "authenticated";
+
+grant trigger on table "public"."tags" to "authenticated";
+
+grant truncate on table "public"."tags" to "authenticated";
+
+grant update on table "public"."tags" to "authenticated";
+
+grant delete on table "public"."tags" to "service_role";
+
+grant insert on table "public"."tags" to "service_role";
+
+grant references on table "public"."tags" to "service_role";
+
+grant select on table "public"."tags" to "service_role";
+
+grant trigger on table "public"."tags" to "service_role";
+
+grant truncate on table "public"."tags" to "service_role";
+
+grant update on table "public"."tags" to "service_role";
+
+create policy "Enable read access for all users"
+on "public"."tags"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+
+
diff --git a/supabase/migrations/20240113145844_companies.sql b/supabase/migrations/20240113145844_companies.sql
new file mode 100644
index 00000000..33967eb9
--- /dev/null
+++ b/supabase/migrations/20240113145844_companies.sql
@@ -0,0 +1,80 @@
+create table "public"."companies" (
+ "id" bigint generated by default as identity not null,
+ "created_at" timestamp with time zone not null default now(),
+ "name" text not null,
+ "sector" text,
+ "size" smallint,
+ "logo" text,
+ "linkedIn" text,
+ "website" text,
+ "phone_number" text,
+ "address" text,
+ "zipcode" text,
+ "city" text,
+ "stateAbbr" text,
+ "sales_id" bigint
+);
+
+
+alter table "public"."companies" enable row level security;
+
+CREATE UNIQUE INDEX companies_pkey ON public.companies USING btree (id);
+
+alter table "public"."companies" add constraint "companies_pkey" PRIMARY KEY using index "companies_pkey";
+
+alter table "public"."companies" add constraint "companies_sales_id_fkey" FOREIGN KEY (sales_id) REFERENCES sales(id) not valid;
+
+alter table "public"."companies" validate constraint "companies_sales_id_fkey";
+
+grant delete on table "public"."companies" to "anon";
+
+grant insert on table "public"."companies" to "anon";
+
+grant references on table "public"."companies" to "anon";
+
+grant select on table "public"."companies" to "anon";
+
+grant trigger on table "public"."companies" to "anon";
+
+grant truncate on table "public"."companies" to "anon";
+
+grant update on table "public"."companies" to "anon";
+
+grant delete on table "public"."companies" to "authenticated";
+
+grant insert on table "public"."companies" to "authenticated";
+
+grant references on table "public"."companies" to "authenticated";
+
+grant select on table "public"."companies" to "authenticated";
+
+grant trigger on table "public"."companies" to "authenticated";
+
+grant truncate on table "public"."companies" to "authenticated";
+
+grant update on table "public"."companies" to "authenticated";
+
+grant delete on table "public"."companies" to "service_role";
+
+grant insert on table "public"."companies" to "service_role";
+
+grant references on table "public"."companies" to "service_role";
+
+grant select on table "public"."companies" to "service_role";
+
+grant trigger on table "public"."companies" to "service_role";
+
+grant truncate on table "public"."companies" to "service_role";
+
+grant update on table "public"."companies" to "service_role";
+
+create policy "Enable read access for all users"
+on "public"."companies"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+
+
diff --git a/supabase/migrations/20240126095956_contacts.sql b/supabase/migrations/20240126095956_contacts.sql
new file mode 100644
index 00000000..7d4e36e9
--- /dev/null
+++ b/supabase/migrations/20240126095956_contacts.sql
@@ -0,0 +1,84 @@
+create table "public"."contacts" (
+ "id" bigint generated by default as identity not null,
+ "first_name" text,
+ "last_name" text,
+ "gender" text,
+ "title" text,
+ "email" text,
+ "phone_number1" text,
+ "phone_number2" text,
+ "background" text,
+ "acquisition" text,
+ "avatar" text,
+ "first_seen" timestamp with time zone,
+ "last_seen" timestamp with time zone,
+ "has_newsletter" boolean,
+ "status" text,
+ "tags" bigint[],
+ "company_id" bigint,
+ "sales_id" bigint
+);
+
+
+alter table "public"."contacts" enable row level security;
+
+CREATE UNIQUE INDEX contacts_pkey ON public.contacts USING btree (id);
+
+alter table "public"."contacts" add constraint "contacts_pkey" PRIMARY KEY using index "contacts_pkey";
+
+alter table "public"."contacts" add constraint "contacts_company_id_fkey" FOREIGN KEY (company_id) REFERENCES companies(id) ON UPDATE CASCADE ON DELETE CASCADE not valid;
+
+alter table "public"."contacts" validate constraint "contacts_company_id_fkey";
+
+alter table "public"."contacts" add constraint "contacts_sales_id_fkey" FOREIGN KEY (sales_id) REFERENCES sales(id) not valid;
+
+alter table "public"."contacts" validate constraint "contacts_sales_id_fkey";
+
+grant delete on table "public"."contacts" to "anon";
+
+grant insert on table "public"."contacts" to "anon";
+
+grant references on table "public"."contacts" to "anon";
+
+grant select on table "public"."contacts" to "anon";
+
+grant trigger on table "public"."contacts" to "anon";
+
+grant truncate on table "public"."contacts" to "anon";
+
+grant update on table "public"."contacts" to "anon";
+
+grant delete on table "public"."contacts" to "authenticated";
+
+grant insert on table "public"."contacts" to "authenticated";
+
+grant references on table "public"."contacts" to "authenticated";
+
+grant select on table "public"."contacts" to "authenticated";
+
+grant trigger on table "public"."contacts" to "authenticated";
+
+grant truncate on table "public"."contacts" to "authenticated";
+
+grant update on table "public"."contacts" to "authenticated";
+
+grant delete on table "public"."contacts" to "service_role";
+
+grant insert on table "public"."contacts" to "service_role";
+
+grant references on table "public"."contacts" to "service_role";
+
+grant select on table "public"."contacts" to "service_role";
+
+grant trigger on table "public"."contacts" to "service_role";
+
+grant truncate on table "public"."contacts" to "service_role";
+
+grant update on table "public"."contacts" to "service_role";
+
+create policy "Enable read access for all users"
+on "public"."contacts"
+as permissive
+for select
+to authenticated
+using (true);
\ No newline at end of file
diff --git a/supabase/migrations/20240126100335_contactNotes.sql b/supabase/migrations/20240126100335_contactNotes.sql
new file mode 100644
index 00000000..c12bf31c
--- /dev/null
+++ b/supabase/migrations/20240126100335_contactNotes.sql
@@ -0,0 +1,78 @@
+create table "public"."contactNotes" (
+ "id" bigint generated by default as identity not null,
+ "contact_id" bigint not null,
+ "type" text,
+ "text" text,
+ "date" timestamp with time zone default now(),
+ "sales_id" bigint,
+ "status" text
+);
+
+
+alter table "public"."contactNotes" enable row level security;
+
+CREATE UNIQUE INDEX "contactNotes_pkey" ON public."contactNotes" USING btree (id);
+
+alter table "public"."contactNotes" add constraint "contactNotes_pkey" PRIMARY KEY using index "contactNotes_pkey";
+
+alter table "public"."contactNotes" add constraint "contactNotes_contact_id_fkey" FOREIGN KEY (contact_id) REFERENCES contacts(id) ON UPDATE CASCADE ON DELETE CASCADE not valid;
+
+alter table "public"."contactNotes" validate constraint "contactNotes_contact_id_fkey";
+
+alter table "public"."contactNotes" add constraint "contactNotes_sales_id_fkey" FOREIGN KEY (sales_id) REFERENCES sales(id) ON UPDATE CASCADE ON DELETE CASCADE not valid;
+
+alter table "public"."contactNotes" validate constraint "contactNotes_sales_id_fkey";
+
+grant delete on table "public"."contactNotes" to "anon";
+
+grant insert on table "public"."contactNotes" to "anon";
+
+grant references on table "public"."contactNotes" to "anon";
+
+grant select on table "public"."contactNotes" to "anon";
+
+grant trigger on table "public"."contactNotes" to "anon";
+
+grant truncate on table "public"."contactNotes" to "anon";
+
+grant update on table "public"."contactNotes" to "anon";
+
+grant delete on table "public"."contactNotes" to "authenticated";
+
+grant insert on table "public"."contactNotes" to "authenticated";
+
+grant references on table "public"."contactNotes" to "authenticated";
+
+grant select on table "public"."contactNotes" to "authenticated";
+
+grant trigger on table "public"."contactNotes" to "authenticated";
+
+grant truncate on table "public"."contactNotes" to "authenticated";
+
+grant update on table "public"."contactNotes" to "authenticated";
+
+grant delete on table "public"."contactNotes" to "service_role";
+
+grant insert on table "public"."contactNotes" to "service_role";
+
+grant references on table "public"."contactNotes" to "service_role";
+
+grant select on table "public"."contactNotes" to "service_role";
+
+grant trigger on table "public"."contactNotes" to "service_role";
+
+grant truncate on table "public"."contactNotes" to "service_role";
+
+grant update on table "public"."contactNotes" to "service_role";
+
+create policy "Enable read access for all users"
+on "public"."contactNotes"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+
+
+
diff --git a/supabase/migrations/20240126101926_deals.sql b/supabase/migrations/20240126101926_deals.sql
new file mode 100644
index 00000000..76c55b6f
--- /dev/null
+++ b/supabase/migrations/20240126101926_deals.sql
@@ -0,0 +1,83 @@
+create table "public"."deals" (
+ "id" bigint generated by default as identity not null,
+ "name" text not null,
+ "company_id" bigint,
+ "contact_ids" bigint[],
+ "type" text,
+ "stage" text not null,
+ "description" text,
+ "amount" bigint,
+ "created_at" timestamp with time zone not null default now(),
+ "updated_at" timestamp with time zone,
+ "start_at" timestamp with time zone,
+ "sales_id" bigint,
+ "index" smallint
+);
+
+
+alter table "public"."deals" enable row level security;
+
+CREATE UNIQUE INDEX deals_pkey ON public.deals USING btree (id);
+
+alter table "public"."deals" add constraint "deals_pkey" PRIMARY KEY using index "deals_pkey";
+
+alter table "public"."deals" add constraint "deals_company_id_fkey" FOREIGN KEY (company_id) REFERENCES companies(id) ON UPDATE CASCADE ON DELETE CASCADE not valid;
+
+alter table "public"."deals" validate constraint "deals_company_id_fkey";
+
+alter table "public"."deals" add constraint "deals_sales_id_fkey" FOREIGN KEY (sales_id) REFERENCES sales(id) not valid;
+
+alter table "public"."deals" validate constraint "deals_sales_id_fkey";
+
+grant delete on table "public"."deals" to "anon";
+
+grant insert on table "public"."deals" to "anon";
+
+grant references on table "public"."deals" to "anon";
+
+grant select on table "public"."deals" to "anon";
+
+grant trigger on table "public"."deals" to "anon";
+
+grant truncate on table "public"."deals" to "anon";
+
+grant update on table "public"."deals" to "anon";
+
+grant delete on table "public"."deals" to "authenticated";
+
+grant insert on table "public"."deals" to "authenticated";
+
+grant references on table "public"."deals" to "authenticated";
+
+grant select on table "public"."deals" to "authenticated";
+
+grant trigger on table "public"."deals" to "authenticated";
+
+grant truncate on table "public"."deals" to "authenticated";
+
+grant update on table "public"."deals" to "authenticated";
+
+grant delete on table "public"."deals" to "service_role";
+
+grant insert on table "public"."deals" to "service_role";
+
+grant references on table "public"."deals" to "service_role";
+
+grant select on table "public"."deals" to "service_role";
+
+grant trigger on table "public"."deals" to "service_role";
+
+grant truncate on table "public"."deals" to "service_role";
+
+grant update on table "public"."deals" to "service_role";
+
+create policy "Enable read access for all users"
+on "public"."deals"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+
+
diff --git a/supabase/migrations/20240126102406_dealNotes.sql b/supabase/migrations/20240126102406_dealNotes.sql
new file mode 100644
index 00000000..ba2d7794
--- /dev/null
+++ b/supabase/migrations/20240126102406_dealNotes.sql
@@ -0,0 +1,69 @@
+create table "public"."dealNotes" (
+ "id" bigint generated by default as identity not null,
+ "deal_id" bigint not null,
+ "type" text,
+ "text" text,
+ "date" timestamp with time zone default now(),
+ "sales_id" bigint,
+ "status" text
+);
+
+
+alter table "public"."dealNotes" enable row level security;
+
+CREATE UNIQUE INDEX "dealNotes_pkey" ON public."dealNotes" USING btree (id);
+
+alter table "public"."dealNotes" add constraint "dealNotes_pkey" PRIMARY KEY using index "dealNotes_pkey";
+
+alter table "public"."dealNotes" add constraint "dealNotes_deal_id_fkey" FOREIGN KEY (deal_id) REFERENCES deals(id) ON UPDATE CASCADE ON DELETE CASCADE not valid;
+
+alter table "public"."dealNotes" validate constraint "dealNotes_deal_id_fkey";
+
+alter table "public"."dealNotes" add constraint "dealNotes_sales_id_fkey" FOREIGN KEY (sales_id) REFERENCES sales(id) not valid;
+
+alter table "public"."dealNotes" validate constraint "dealNotes_sales_id_fkey";
+
+grant delete on table "public"."dealNotes" to "anon";
+
+grant insert on table "public"."dealNotes" to "anon";
+
+grant references on table "public"."dealNotes" to "anon";
+
+grant select on table "public"."dealNotes" to "anon";
+
+grant trigger on table "public"."dealNotes" to "anon";
+
+grant truncate on table "public"."dealNotes" to "anon";
+
+grant update on table "public"."dealNotes" to "anon";
+
+grant delete on table "public"."dealNotes" to "authenticated";
+
+grant insert on table "public"."dealNotes" to "authenticated";
+
+grant references on table "public"."dealNotes" to "authenticated";
+
+grant select on table "public"."dealNotes" to "authenticated";
+
+grant trigger on table "public"."dealNotes" to "authenticated";
+
+grant truncate on table "public"."dealNotes" to "authenticated";
+
+grant update on table "public"."dealNotes" to "authenticated";
+
+grant delete on table "public"."dealNotes" to "service_role";
+
+grant insert on table "public"."dealNotes" to "service_role";
+
+grant references on table "public"."dealNotes" to "service_role";
+
+grant select on table "public"."dealNotes" to "service_role";
+
+grant trigger on table "public"."dealNotes" to "service_role";
+
+grant truncate on table "public"."dealNotes" to "service_role";
+
+grant update on table "public"."dealNotes" to "service_role";
+
+
+
diff --git a/supabase/migrations/20240126103353_tasks.sql b/supabase/migrations/20240126103353_tasks.sql
new file mode 100644
index 00000000..dfcf2792
--- /dev/null
+++ b/supabase/migrations/20240126103353_tasks.sql
@@ -0,0 +1,68 @@
+create table "public"."tasks" (
+ "id" bigint generated by default as identity not null,
+ "contact_id" bigint not null,
+ "sales_id" bigint not null,
+ "type" text,
+ "text" text,
+ "due_date" timestamp with time zone not null
+);
+
+
+alter table "public"."tasks" enable row level security;
+
+CREATE UNIQUE INDEX tasks_pkey ON public.tasks USING btree (id);
+
+alter table "public"."tasks" add constraint "tasks_pkey" PRIMARY KEY using index "tasks_pkey";
+
+alter table "public"."tasks" add constraint "tasks_contact_id_fkey" FOREIGN KEY (contact_id) REFERENCES contacts(id) ON UPDATE CASCADE ON DELETE CASCADE not valid;
+
+alter table "public"."tasks" validate constraint "tasks_contact_id_fkey";
+
+alter table "public"."tasks" add constraint "tasks_sales_id_fkey" FOREIGN KEY (sales_id) REFERENCES sales(id) ON UPDATE CASCADE ON DELETE CASCADE not valid;
+
+alter table "public"."tasks" validate constraint "tasks_sales_id_fkey";
+
+grant delete on table "public"."tasks" to "anon";
+
+grant insert on table "public"."tasks" to "anon";
+
+grant references on table "public"."tasks" to "anon";
+
+grant select on table "public"."tasks" to "anon";
+
+grant trigger on table "public"."tasks" to "anon";
+
+grant truncate on table "public"."tasks" to "anon";
+
+grant update on table "public"."tasks" to "anon";
+
+grant delete on table "public"."tasks" to "authenticated";
+
+grant insert on table "public"."tasks" to "authenticated";
+
+grant references on table "public"."tasks" to "authenticated";
+
+grant select on table "public"."tasks" to "authenticated";
+
+grant trigger on table "public"."tasks" to "authenticated";
+
+grant truncate on table "public"."tasks" to "authenticated";
+
+grant update on table "public"."tasks" to "authenticated";
+
+grant delete on table "public"."tasks" to "service_role";
+
+grant insert on table "public"."tasks" to "service_role";
+
+grant references on table "public"."tasks" to "service_role";
+
+grant select on table "public"."tasks" to "service_role";
+
+grant trigger on table "public"."tasks" to "service_role";
+
+grant truncate on table "public"."tasks" to "service_role";
+
+grant update on table "public"."tasks" to "service_role";
+
+
+
diff --git a/supabase/migrations/20240126140811_policies.sql b/supabase/migrations/20240126140811_policies.sql
new file mode 100644
index 00000000..ac1bc72e
--- /dev/null
+++ b/supabase/migrations/20240126140811_policies.sql
@@ -0,0 +1,169 @@
+drop policy "Enable read access for all users" on "public"."companies";
+
+drop policy "Enable read access for all users" on "public"."contactNotes";
+
+drop policy "Enable read access for all users" on "public"."contacts";
+
+drop policy "Enable read access for all users" on "public"."deals";
+
+drop policy "Enable read access for all users" on "public"."sales";
+
+drop policy "Enable read access for all users" on "public"."tags";
+
+create policy "Enable insert for authenticated users only"
+on "public"."companies"
+as permissive
+for insert
+to authenticated
+with check (true);
+
+
+create policy "Enable read access for authenticated users"
+on "public"."companies"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+create policy "Enable update for authenticated users only"
+on "public"."companies"
+as permissive
+for update
+to authenticated
+using (true)
+with check (true);
+
+
+create policy "Enable insert for authenticated users only"
+on "public"."contactNotes"
+as permissive
+for insert
+to authenticated
+with check (true);
+
+
+create policy "Enable read access for authenticated users"
+on "public"."contactNotes"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+create policy "Enable insert for authenticated users only"
+on "public"."contacts"
+as permissive
+for insert
+to authenticated
+with check (true);
+
+
+create policy "Enable read access for authenticated users"
+on "public"."contacts"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+create policy "Enable update for authenticated users only"
+on "public"."contacts"
+as permissive
+for update
+to authenticated
+using (true)
+with check (true);
+
+
+create policy "Enable insert for authenticated users only"
+on "public"."dealNotes"
+as permissive
+for insert
+to authenticated
+with check (true);
+
+
+create policy "Enable read access for authenticated users"
+on "public"."dealNotes"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+create policy "Enable insert for authenticated users only"
+on "public"."deals"
+as permissive
+for insert
+to authenticated
+with check (true);
+
+
+create policy "Enable read access for authenticated users"
+on "public"."deals"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+create policy "Enable update for authenticated users only"
+on "public"."deals"
+as permissive
+for update
+to authenticated
+using (true)
+with check (true);
+
+
+create policy "Enable insert for authenticated users only"
+on "public"."sales"
+as permissive
+for insert
+to authenticated
+with check (true);
+
+
+create policy "Enable read access for authenticated users"
+on "public"."sales"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+create policy "Enable insert for authenticated users only"
+on "public"."tags"
+as permissive
+for insert
+to authenticated
+with check (true);
+
+
+create policy "Enable read access for authenticated users"
+on "public"."tags"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+create policy "Enable insert for authenticated users only"
+on "public"."tasks"
+as permissive
+for insert
+to authenticated
+with check (true);
+
+
+create policy "Enable read access for authenticated users"
+on "public"."tasks"
+as permissive
+for select
+to authenticated
+using (true);
+
+
+
+
diff --git a/supabase/seed.sql b/supabase/seed.sql
new file mode 100644
index 00000000..e69de29b
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 00000000..53950827
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,27 @@
+{
+ "compilerOptions": {
+ "target": "es5",
+ "lib": [
+ "dom",
+ "dom.iterable",
+ "esnext"
+ ],
+ "allowJs": true,
+ "skipLibCheck": true,
+ "esModuleInterop": true,
+ "allowSyntheticDefaultImports": true,
+ "strict": true,
+ "forceConsistentCasingInFileNames": true,
+ "noFallthroughCasesInSwitch": true,
+ "module": "esnext",
+ "moduleResolution": "node",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "jsx": "react-jsx"
+ },
+ "include": [
+ "src"
+ ],
+ "references": [{ "path": "./tsconfig.node.json" }]
+}
diff --git a/tsconfig.node.json b/tsconfig.node.json
new file mode 100644
index 00000000..f48610d7
--- /dev/null
+++ b/tsconfig.node.json
@@ -0,0 +1,10 @@
+{
+ "compilerOptions": {
+ "composite": true,
+ "module": "ESNext",
+ "moduleResolution": "Node",
+ "allowSyntheticDefaultImports": true
+ },
+ "include": ["vite.config.ts"]
+ }
+
\ No newline at end of file
diff --git a/vite.config.ts b/vite.config.ts
new file mode 100644
index 00000000..f76c9b00
--- /dev/null
+++ b/vite.config.ts
@@ -0,0 +1,27 @@
+import { defineConfig } from "vite";
+import react from "@vitejs/plugin-react";
+import { visualizer } from "rollup-plugin-visualizer";
+
+// https://vitejs.dev/config/
+export default defineConfig({
+ plugins: [
+ react(),
+ visualizer({
+ open: process.env.NODE_ENV !== "CI",
+ filename: "./dist/stats.html",
+ }),
+ ],
+ define: {
+ "process.env": process.env,
+ },
+ base: "./",
+ esbuild: {
+ keepNames: true,
+ },
+ build: {
+ sourcemap: true,
+ },
+ resolve: {
+ preserveSymlinks: true,
+ },
+});