diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000..4d48409
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,9 @@
+JWT_SECRET=
+G_CLIENT=
+G_SECRET=
+SERVER_KEY=
+VITE_REACT_APP_G_CLIENT=
+VITE_REACT_APP_G_SECRET=
+VITE_REACT_APP_X_RAPID_API_KEY=
+VITE_REACT_APP_X_RAPID_API_HOST=
+VITE_REACT_APP_CLIENT_KEY=
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1dcef2d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+node_modules
+.env
\ No newline at end of file
diff --git a/README.md b/README.md
index 13c0ac4..fa12e66 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,6 @@
[](https://classroom.github.com/a/IrWObaQs)
[](https://classroom.github.com/online_ide?assignment_repo_id=12856485&assignment_repo_type=AssignmentRepo)
# Individual Project Phase 2
+
+## Deploy :
+ - https://we-are-99.web.app/
diff --git a/client/.eslintrc.cjs b/client/.eslintrc.cjs
new file mode 100644
index 0000000..4dcb439
--- /dev/null
+++ b/client/.eslintrc.cjs
@@ -0,0 +1,20 @@
+module.exports = {
+ root: true,
+ env: { browser: true, es2020: true },
+ extends: [
+ 'eslint:recommended',
+ 'plugin:react/recommended',
+ 'plugin:react/jsx-runtime',
+ 'plugin:react-hooks/recommended',
+ ],
+ ignorePatterns: ['dist', '.eslintrc.cjs'],
+ parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
+ settings: { react: { version: '18.2' } },
+ plugins: ['react-refresh'],
+ rules: {
+ 'react-refresh/only-export-components': [
+ 'warn',
+ { allowConstantExport: true },
+ ],
+ },
+}
diff --git a/client/.firebase/hosting.ZGlzdA.cache b/client/.firebase/hosting.ZGlzdA.cache
new file mode 100644
index 0000000..ea6407a
--- /dev/null
+++ b/client/.firebase/hosting.ZGlzdA.cache
@@ -0,0 +1,4 @@
+assets/index-0158519f.css,1700195315333,9b66e36b2fee5191fc78dc32f006cd4f570433e1d39092f6cefb04f513951629
+vite.svg,1699352713720,59ec4b6085a0cb1bf712a5e48dd5f35b08e34830d49c2026c18241be04e05d5a
+index.html,1700195315334,739cf739628b1f45b20fded5e35d7449c612068f37a9bb8bc2b2458e79a2ec4a
+assets/index-3465bbe6.js,1700195315357,aff68be306a5ef78d16f5b4414ba19eeebfa0cd4553c703e1bace345f978eff4
diff --git a/client/.firebaserc b/client/.firebaserc
new file mode 100644
index 0000000..0aab662
--- /dev/null
+++ b/client/.firebaserc
@@ -0,0 +1,5 @@
+{
+ "projects": {
+ "default": "we-are-99"
+ }
+}
diff --git a/client/.gitignore b/client/.gitignore
new file mode 100644
index 0000000..a547bf3
--- /dev/null
+++ b/client/.gitignore
@@ -0,0 +1,24 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+lerna-debug.log*
+
+node_modules
+dist
+dist-ssr
+*.local
+
+# Editor directories and files
+.vscode/*
+!.vscode/extensions.json
+.idea
+.DS_Store
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
diff --git a/client/README.md b/client/README.md
new file mode 100644
index 0000000..f768e33
--- /dev/null
+++ b/client/README.md
@@ -0,0 +1,8 @@
+# React + Vite
+
+This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
+
+Currently, two official plugins are available:
+
+- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
+- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
diff --git a/client/firebase.json b/client/firebase.json
new file mode 100644
index 0000000..2c33c29
--- /dev/null
+++ b/client/firebase.json
@@ -0,0 +1,16 @@
+{
+ "hosting": {
+ "public": "dist",
+ "ignore": [
+ "firebase.json",
+ "**/.*",
+ "**/node_modules/**"
+ ],
+ "rewrites": [
+ {
+ "source": "**",
+ "destination": "/index.html"
+ }
+ ]
+ }
+}
diff --git a/client/index.html b/client/index.html
new file mode 100644
index 0000000..be7ec7a
--- /dev/null
+++ b/client/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+ We Are...
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/client/package-lock.json b/client/package-lock.json
new file mode 100644
index 0000000..04299b1
--- /dev/null
+++ b/client/package-lock.json
@@ -0,0 +1,3980 @@
+{
+ "name": "client",
+ "version": "0.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "client",
+ "version": "0.0.0",
+ "dependencies": {
+ "axios": "^1.6.2",
+ "react": "^18.2.0",
+ "react-dom": "^18.2.0",
+ "react-router-dom": "^6.18.0",
+ "sweetalert2": "^11.10.0"
+ },
+ "devDependencies": {
+ "@types/react": "^18.2.15",
+ "@types/react-dom": "^18.2.7",
+ "@vitejs/plugin-react": "^4.0.3",
+ "dotenv": "^16.3.1",
+ "eslint": "^8.45.0",
+ "eslint-plugin-react": "^7.32.2",
+ "eslint-plugin-react-hooks": "^4.6.0",
+ "eslint-plugin-react-refresh": "^0.4.3",
+ "vite": "^4.4.5"
+ }
+ },
+ "node_modules/@aashutoshrathi/word-wrap": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
+ "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "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.22.13",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
+ "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
+ "dev": true,
+ "dependencies": {
+ "@babel/highlight": "^7.22.13",
+ "chalk": "^2.4.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.3.tgz",
+ "integrity": "sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.3.tgz",
+ "integrity": "sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew==",
+ "dev": true,
+ "dependencies": {
+ "@ampproject/remapping": "^2.2.0",
+ "@babel/code-frame": "^7.22.13",
+ "@babel/generator": "^7.23.3",
+ "@babel/helper-compilation-targets": "^7.22.15",
+ "@babel/helper-module-transforms": "^7.23.3",
+ "@babel/helpers": "^7.23.2",
+ "@babel/parser": "^7.23.3",
+ "@babel/template": "^7.22.15",
+ "@babel/traverse": "^7.23.3",
+ "@babel/types": "^7.23.3",
+ "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.3",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.3.tgz",
+ "integrity": "sha512-keeZWAV4LU3tW0qRi19HRpabC/ilM0HRBBzf9/k8FFiG4KVpiv0FIy4hHfLfFQZNhziCTPTmd59zoyv6DNISzg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.23.3",
+ "@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.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz",
+ "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/compat-data": "^7.22.9",
+ "@babel/helper-validator-option": "^7.22.15",
+ "browserslist": "^4.21.9",
+ "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==",
+ "dev": true,
+ "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.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
+ "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz",
+ "integrity": "sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.23.2",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.2.tgz",
+ "integrity": "sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/template": "^7.22.15",
+ "@babel/traverse": "^7.23.2",
+ "@babel/types": "^7.23.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/highlight": {
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
+ "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
+ "dev": true,
+ "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/parser": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.3.tgz",
+ "integrity": "sha512-uVsWNvlVsIninV2prNz/3lHCb+5CJ+e+IUBfbjToAHODtfGYLfCFuY4AU7TskI+dAKk+njsPiBjq1gKTvZOBaw==",
+ "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/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.3",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.3.tgz",
+ "integrity": "sha512-+K0yF1/9yR0oHdE0StHuEj3uTPzwwbrLGfNOndVJVV2TqA5+j3oljJUb4nmB954FLGjNem976+B+eDuLIjesiQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.22.13",
+ "@babel/generator": "^7.23.3",
+ "@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.3",
+ "@babel/types": "^7.23.3",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.3.tgz",
+ "integrity": "sha512-OZnvoH2l8PK5eUvEcUyCt/sXgr/h+UWpVuBbOljwcrAgUl6lpchoQ++PHGyQy1AtYnVA6CEq3y5xeEI10brpXw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.22.5",
+ "@babel/helper-validator-identifier": "^7.22.20",
+ "to-fast-properties": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
+ "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
+ "dev": true,
+ "dependencies": {
+ "eslint-visitor-keys": "^3.3.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ }
+ },
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz",
+ "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==",
+ "dev": true,
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz",
+ "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==",
+ "dev": true,
+ "dependencies": {
+ "ajv": "^6.12.4",
+ "debug": "^4.3.2",
+ "espree": "^9.6.0",
+ "globals": "^13.19.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "minimatch": "^3.1.2",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/globals": {
+ "version": "13.23.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz",
+ "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.20.2"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "8.53.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz",
+ "integrity": "sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@humanwhocodes/config-array": {
+ "version": "0.11.13",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz",
+ "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==",
+ "dev": true,
+ "dependencies": {
+ "@humanwhocodes/object-schema": "^2.0.1",
+ "debug": "^4.1.1",
+ "minimatch": "^3.0.5"
+ },
+ "engines": {
+ "node": ">=10.10.0"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/object-schema": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz",
+ "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==",
+ "dev": true
+ },
+ "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.20",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
+ "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
+ "dev": true,
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "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/@remix-run/router": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.11.0.tgz",
+ "integrity": "sha512-BHdhcWgeiudl91HvVa2wxqZjSHbheSgIiDvxrF1VjFzBzpTtuDPkOdOi3Iqvc08kXtFkLjhbS+ML9aM8mJS+wQ==",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@types/babel__core": {
+ "version": "7.20.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.4.tgz",
+ "integrity": "sha512-mLnSC22IC4vcWiuObSRjrLd9XcBTGf59vUSoq2jkQDJ/QQ8PMI9rSuzE+aEV8karUMbskw07bKYoUJCKTUaygg==",
+ "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.7",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.7.tgz",
+ "integrity": "sha512-6Sfsq+EaaLrw4RmdFWE9Onp63TOUue71AWb4Gpa6JxzgTYtimbM086WnYTy2U67AofR++QKCo08ZP6pwx8YFHQ==",
+ "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.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.4.tgz",
+ "integrity": "sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.20.7"
+ }
+ },
+ "node_modules/@types/prop-types": {
+ "version": "15.7.10",
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.10.tgz",
+ "integrity": "sha512-mxSnDQxPqsZxmeShFH+uwQ4kO4gcJcGahjjMFeLbKE95IAZiiZyiEepGZjtXJ7hN/yfu0bu9xN2ajcU0JcxX6A==",
+ "dev": true
+ },
+ "node_modules/@types/react": {
+ "version": "18.2.37",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.37.tgz",
+ "integrity": "sha512-RGAYMi2bhRgEXT3f4B92WTohopH6bIXw05FuGlmJEnv/omEn190+QYEIYxIAuIBdKgboYYdVved2p1AxZVQnaw==",
+ "dev": true,
+ "dependencies": {
+ "@types/prop-types": "*",
+ "@types/scheduler": "*",
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "18.2.15",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.15.tgz",
+ "integrity": "sha512-HWMdW+7r7MR5+PZqJF6YFNSCtjz1T0dsvo/f1BV6HkV+6erD/nA7wd9NM00KVG83zf2nJ7uATPO9ttdIPvi3gg==",
+ "dev": true,
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/scheduler": {
+ "version": "0.16.6",
+ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.6.tgz",
+ "integrity": "sha512-Vlktnchmkylvc9SnwwwozTv04L/e1NykF5vgoQ0XTmI8DD+wxfjQuHuvHS3p0r2jz2x2ghPs2h1FVeDirIteWA==",
+ "dev": true
+ },
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
+ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==",
+ "dev": true
+ },
+ "node_modules/@vitejs/plugin-react": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.1.1.tgz",
+ "integrity": "sha512-Jie2HERK+uh27e+ORXXwEP5h0Y2lS9T2PRGbfebiHGlwzDO0dEnd2aNtOR/qjBlPb1YgxwAONeblL1xqLikLag==",
+ "dev": true,
+ "dependencies": {
+ "@babel/core": "^7.23.2",
+ "@babel/plugin-transform-react-jsx-self": "^7.22.5",
+ "@babel/plugin-transform-react-jsx-source": "^7.22.5",
+ "@types/babel__core": "^7.20.3",
+ "react-refresh": "^0.14.0"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "vite": "^4.2.0"
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.11.2",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
+ "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
+ "dev": true,
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
+ "dev": true,
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "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": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "is-array-buffer": "^3.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array-includes": {
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz",
+ "integrity": "sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "get-intrinsic": "^1.2.1",
+ "is-string": "^1.0.7"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.flat": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz",
+ "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.flatmap": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz",
+ "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.tosorted": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.2.tgz",
+ "integrity": "sha512-HuQCHOlk1Weat5jzStICBCd83NxiIMwqDg/dHEsoefabn/hJRj5pVdWcPUSpRrwhwxZOsQassMpgN/xRYFBMIg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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/asynciterator.prototype": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/asynciterator.prototype/-/asynciterator.prototype-1.0.0.tgz",
+ "integrity": "sha512-wwHYEIS0Q80f5mosx3L/dfG5t5rjEa9Ft51GTaNt862EnpyGHpgz2RkZvLPp1oF5TnAiTohkEKVEu8pQPJI7Vg==",
+ "dev": true,
+ "dependencies": {
+ "has-symbols": "^1.0.3"
+ }
+ },
+ "node_modules/asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
+ },
+ "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==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/axios": {
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz",
+ "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==",
+ "dependencies": {
+ "follow-redirects": "^1.15.0",
+ "form-data": "^4.0.0",
+ "proxy-from-env": "^1.1.0"
+ }
+ },
+ "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==",
+ "dev": true
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.22.1",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.1.tgz",
+ "integrity": "sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==",
+ "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.30001541",
+ "electron-to-chromium": "^1.4.535",
+ "node-releases": "^2.0.13",
+ "update-browserslist-db": "^1.0.13"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001561",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz",
+ "integrity": "sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw==",
+ "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": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "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==",
+ "dev": true
+ },
+ "node_modules/combined-stream": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "dependencies": {
+ "delayed-stream": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true
+ },
+ "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/cross-spawn": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
+ "dev": true,
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz",
+ "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==",
+ "dev": true
+ },
+ "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/deep-is": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
+ "dev": true
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.2.1",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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/delayed-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/dotenv": {
+ "version": "16.3.1",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz",
+ "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/motdotla/dotenv?sponsor=1"
+ }
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.4.582",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.582.tgz",
+ "integrity": "sha512-89o0MGoocwYbzqUUjc+VNpeOFSOK9nIdC5wY4N+PVUarUK0MtjyTjks75AZS2bW4Kl8MdewdFsWaH0jLy+JNoA==",
+ "dev": true
+ },
+ "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==",
+ "dev": true,
+ "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-iterator-helpers": {
+ "version": "1.0.15",
+ "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.15.tgz",
+ "integrity": "sha512-GhoY8uYqd6iwUl2kgjTm4CZAf6oo5mHK7BPqx3rKgx893YSsy0LGHV6gfqqQvZt/8xM8xeOnfXBCfqclMKkJ5g==",
+ "dev": true,
+ "dependencies": {
+ "asynciterator.prototype": "^1.0.0",
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.22.1",
+ "es-set-tostringtag": "^2.0.1",
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.2.1",
+ "globalthis": "^1.0.3",
+ "has-property-descriptors": "^1.0.0",
+ "has-proto": "^1.0.1",
+ "has-symbols": "^1.0.3",
+ "internal-slot": "^1.0.5",
+ "iterator.prototype": "^1.1.2",
+ "safe-array-concat": "^1.0.1"
+ }
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.2.2",
+ "has-tostringtag": "^1.0.0",
+ "hasown": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-shim-unscopables": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz",
+ "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==",
+ "dev": true,
+ "dependencies": {
+ "hasown": "^2.0.0"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
+ }
+ },
+ "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": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "8.53.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.53.0.tgz",
+ "integrity": "sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.3",
+ "@eslint/js": "8.53.0",
+ "@humanwhocodes/config-array": "^0.11.13",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@nodelib/fs.walk": "^1.2.8",
+ "@ungap/structured-clone": "^1.2.0",
+ "ajv": "^6.12.4",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.2",
+ "debug": "^4.3.2",
+ "doctrine": "^3.0.0",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.3",
+ "espree": "^9.6.1",
+ "esquery": "^1.4.2",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^6.0.1",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "globals": "^13.19.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "is-path-inside": "^3.0.3",
+ "js-yaml": "^4.1.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.4.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.2",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3",
+ "strip-ansi": "^6.0.1",
+ "text-table": "^0.2.0"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-plugin-react": {
+ "version": "7.33.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.33.2.tgz",
+ "integrity": "sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==",
+ "dev": true,
+ "dependencies": {
+ "array-includes": "^3.1.6",
+ "array.prototype.flatmap": "^1.3.1",
+ "array.prototype.tosorted": "^1.1.1",
+ "doctrine": "^2.1.0",
+ "es-iterator-helpers": "^1.0.12",
+ "estraverse": "^5.3.0",
+ "jsx-ast-utils": "^2.4.1 || ^3.0.0",
+ "minimatch": "^3.1.2",
+ "object.entries": "^1.1.6",
+ "object.fromentries": "^2.0.6",
+ "object.hasown": "^1.1.2",
+ "object.values": "^1.1.6",
+ "prop-types": "^15.8.1",
+ "resolve": "^2.0.0-next.4",
+ "semver": "^6.3.1",
+ "string.prototype.matchall": "^4.0.8"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependencies": {
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
+ }
+ },
+ "node_modules/eslint-plugin-react-hooks": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz",
+ "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0"
+ }
+ },
+ "node_modules/eslint-plugin-react-refresh": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.4.tgz",
+ "integrity": "sha512-eD83+65e8YPVg6603Om2iCIwcQJf/y7++MWm4tACtEswFLYMwxwVWAfwN+e19f5Ad/FOyyNg9Dfi5lXhH3Y3rA==",
+ "dev": true,
+ "peerDependencies": {
+ "eslint": ">=7"
+ }
+ },
+ "node_modules/eslint-plugin-react/node_modules/doctrine": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "dev": true,
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
+ "dev": true,
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint/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/eslint/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/eslint/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/eslint/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/eslint/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==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint/node_modules/globals": {
+ "version": "13.23.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz",
+ "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.20.2"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint/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/eslint/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/espree": {
+ "version": "9.6.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
+ "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
+ "dev": true,
+ "dependencies": {
+ "acorn": "^8.9.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^3.4.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
+ "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==",
+ "dev": true,
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "dev": true
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "dev": true
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
+ "dev": true
+ },
+ "node_modules/fastq": {
+ "version": "1.15.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",
+ "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==",
+ "dev": true,
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/file-entry-cache": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
+ "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
+ "dev": true,
+ "dependencies": {
+ "flat-cache": "^3.0.4"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
+ "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
+ "dev": true,
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.3",
+ "rimraf": "^3.0.2"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.2.9",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz",
+ "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==",
+ "dev": true
+ },
+ "node_modules/follow-redirects": {
+ "version": "1.15.3",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz",
+ "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/RubenVerborgh"
+ }
+ ],
+ "engines": {
+ "node": ">=4.0"
+ },
+ "peerDependenciesMeta": {
+ "debug": {
+ "optional": true
+ }
+ }
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "is-callable": "^1.1.3"
+ }
+ },
+ "node_modules/form-data": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "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==",
+ "dev": true
+ },
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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-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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
+ "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.1.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/graphemer": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
+ "dev": true
+ },
+ "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==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ignore": {
+ "version": "5.2.4",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz",
+ "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==",
+ "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==",
+ "dev": true,
+ "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/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "dev": true,
+ "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==",
+ "dev": true
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.2.2",
+ "hasown": "^2.0.0",
+ "side-channel": "^1.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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-async-function": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz",
+ "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==",
+ "dev": true,
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-bigint": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",
+ "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",
+ "dev": true,
+ "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==",
+ "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-callable": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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-finalizationregistry": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz",
+ "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-generator-function": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz",
+ "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==",
+ "dev": true,
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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-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==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-path-inside": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
+ "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "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==",
+ "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-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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "which-typed-array": "^1.1.11"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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/isarray": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
+ "dev": true
+ },
+ "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/iterator.prototype": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz",
+ "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.2.1",
+ "get-intrinsic": "^1.2.1",
+ "has-symbols": "^1.0.3",
+ "reflect.getprototypeof": "^1.0.4",
+ "set-function-name": "^2.0.1"
+ }
+ },
+ "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/js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "dev": true,
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "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-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "dev": true
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true
+ },
+ "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/jsx-ast-utils": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz",
+ "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==",
+ "dev": true,
+ "dependencies": {
+ "array-includes": "^3.1.6",
+ "array.prototype.flat": "^1.3.1",
+ "object.assign": "^4.1.4",
+ "object.values": "^1.1.6"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "dev": true,
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true
+ },
+ "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/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "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/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/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.13",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz",
+ "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==",
+ "dev": true
+ },
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.assign": {
+ "version": "4.1.4",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz",
+ "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.4",
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.fromentries": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.7.tgz",
+ "integrity": "sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==",
+ "dev": true,
+ "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/object.hasown": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.3.tgz",
+ "integrity": "sha512-fFI4VcYpRHvSLXxP7yiZOMAd331cPfd2p7PFDVbgUsYOfCT3tICVqXWngbjr4m49OvsBwUBQ6O2uQoJvy3RexA==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.values": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.7.tgz",
+ "integrity": "sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==",
+ "dev": true,
+ "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/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "dev": true,
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/optionator": {
+ "version": "0.9.3",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
+ "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==",
+ "dev": true,
+ "dependencies": {
+ "@aashutoshrathi/word-wrap": "^1.2.3",
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "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==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "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==",
+ "dev": true
+ },
+ "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/postcss": {
+ "version": "8.4.31",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
+ "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.6",
+ "picocolors": "^1.0.0",
+ "source-map-js": "^1.0.2"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "loose-envify": "^1.4.0",
+ "object-assign": "^4.1.1",
+ "react-is": "^16.13.1"
+ }
+ },
+ "node_modules/proxy-from-env": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "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/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-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-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "dev": 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.18.0",
+ "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.18.0.tgz",
+ "integrity": "sha512-vk2y7Dsy8wI02eRRaRmOs9g2o+aE72YCx5q9VasT1N9v+lrdB79tIqrjMfByHiY5+6aYkH2rUa5X839nwWGPDg==",
+ "dependencies": {
+ "@remix-run/router": "1.11.0"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8"
+ }
+ },
+ "node_modules/react-router-dom": {
+ "version": "6.18.0",
+ "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.18.0.tgz",
+ "integrity": "sha512-Ubrue4+Ercc/BoDkFQfc6og5zRQ4A8YxSO3Knsne+eRbZ+IepAsK249XBH/XaFuOYOYr3L3r13CXTLvYt5JDjw==",
+ "dependencies": {
+ "@remix-run/router": "1.11.0",
+ "react-router": "6.18.0"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8",
+ "react-dom": ">=16.8"
+ }
+ },
+ "node_modules/reflect.getprototypeof": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz",
+ "integrity": "sha512-ECkTw8TmJwW60lOTR+ZkODISW6RQ8+2CL3COqtiJKLd6MmB45hN51HprHFziKLGkAuTGQhBb91V8cy+KHlaCjw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "get-intrinsic": "^1.2.1",
+ "globalthis": "^1.0.3",
+ "which-builtin-type": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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/resolve": {
+ "version": "2.0.0-next.5",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz",
+ "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "3.29.4",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz",
+ "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==",
+ "dev": true,
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=14.18.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "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.0.1",
+ "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.1.tgz",
+ "integrity": "sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.2.1",
+ "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.0",
+ "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz",
+ "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.1.3",
+ "is-regex": "^1.1.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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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/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/string.prototype.matchall": {
+ "version": "4.0.10",
+ "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.10.tgz",
+ "integrity": "sha512-rGXbGmOEosIQi6Qva94HUjgPs9vKW+dkG7Y8Q5O2OYkWL6wFaTRZO8zM4mhP94uX55wgyrXzfS2aGtGzUL7EJQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "get-intrinsic": "^1.2.1",
+ "has-symbols": "^1.0.3",
+ "internal-slot": "^1.0.5",
+ "regexp.prototype.flags": "^1.5.0",
+ "set-function-name": "^2.0.0",
+ "side-channel": "^1.0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "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==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "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==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/sweetalert2": {
+ "version": "11.10.0",
+ "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.10.0.tgz",
+ "integrity": "sha512-LhXo6si7zfI7mvB91Oe5RwgcNYujx0IniD3XE8lcifrZA94G6IMxwDjJyCbjXl+/BivutUZMuD4oAllnnhj/Yg==",
+ "funding": {
+ "type": "individual",
+ "url": "https://github.com/sponsors/limonte"
+ }
+ },
+ "node_modules/text-table": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
+ "dev": true
+ },
+ "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==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/type-fest": {
+ "version": "0.20.2",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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==",
+ "dev": true,
+ "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/unbox-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz",
+ "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==",
+ "dev": true,
+ "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/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/uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/vite": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.0.tgz",
+ "integrity": "sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==",
+ "dev": true,
+ "dependencies": {
+ "esbuild": "^0.18.10",
+ "postcss": "^8.4.27",
+ "rollup": "^3.27.1"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ },
+ "peerDependencies": {
+ "@types/node": ">= 14",
+ "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/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dev": true,
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "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==",
+ "dev": true,
+ "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-builtin-type": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.3.tgz",
+ "integrity": "sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==",
+ "dev": true,
+ "dependencies": {
+ "function.prototype.name": "^1.1.5",
+ "has-tostringtag": "^1.0.0",
+ "is-async-function": "^2.0.0",
+ "is-date-object": "^1.0.5",
+ "is-finalizationregistry": "^1.0.2",
+ "is-generator-function": "^1.0.10",
+ "is-regex": "^1.1.4",
+ "is-weakref": "^1.0.2",
+ "isarray": "^2.0.5",
+ "which-boxed-primitive": "^1.0.2",
+ "which-collection": "^1.0.1",
+ "which-typed-array": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "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==",
+ "dev": true,
+ "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/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
+ "dev": true
+ },
+ "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/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ }
+ }
+}
diff --git a/client/package.json b/client/package.json
new file mode 100644
index 0000000..e1d1888
--- /dev/null
+++ b/client/package.json
@@ -0,0 +1,30 @@
+{
+ "name": "client",
+ "private": true,
+ "version": "0.0.0",
+ "type": "module",
+ "scripts": {
+ "dev": "vite",
+ "build": "vite build",
+ "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "axios": "^1.6.2",
+ "react": "^18.2.0",
+ "react-dom": "^18.2.0",
+ "react-router-dom": "^6.18.0",
+ "sweetalert2": "^11.10.0"
+ },
+ "devDependencies": {
+ "@types/react": "^18.2.15",
+ "@types/react-dom": "^18.2.7",
+ "@vitejs/plugin-react": "^4.0.3",
+ "dotenv": "^16.3.1",
+ "eslint": "^8.45.0",
+ "eslint-plugin-react": "^7.32.2",
+ "eslint-plugin-react-hooks": "^4.6.0",
+ "eslint-plugin-react-refresh": "^0.4.3",
+ "vite": "^4.4.5"
+ }
+}
diff --git a/client/public/vite.svg b/client/public/vite.svg
new file mode 100644
index 0000000..e7b8dfb
--- /dev/null
+++ b/client/public/vite.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/src/App.css b/client/src/App.css
new file mode 100644
index 0000000..ef81676
--- /dev/null
+++ b/client/src/App.css
@@ -0,0 +1,219 @@
+body{
+ font-family: sans-serif;
+ background: radial-gradient(circle, rgba(50,50,50,1) 0%, rgba(38,38,38,1) 60%, rgb(16, 16, 16) 100%);
+}
+
+.formRegister{
+ color: whitesmoke;
+ height: 100vh;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.formRegister .formWrapper{
+ background-color: rgba(0, 0, 0, 0.179);
+ padding: 30px 50px;
+ border-radius: 10px;
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+ align-items: center;
+
+}
+
+
+.formRegister .formWrapper .logoRegister{
+ width: 25vh;
+}
+.formRegister .formWrapper .title{
+ color: rgba(255, 255, 255, 0.866);
+ font-size: 20px;
+ margin-bottom: 10px;
+}
+
+.formRegister .formWrapper form{
+ display: flex;
+ flex-direction: column;
+ gap: 20px;
+}
+
+.formRegister .formWrapper .inputForm{
+ padding: 15px;
+ border: none;
+ width: 300px;
+ height: 10px;
+ border-radius: 5px;
+ &::placeholder{
+ color: rgba(0, 0, 0, 0.426);
+ }
+}
+
+.formRegister .formWrapper .submitButton{
+ background-color: rgb(255, 208, 0);
+ color: rgba(0, 0, 0, 0.866);
+ padding: 10px;
+ font-weight: bold;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+}
+
+.formRegister .formWrapper p{
+ color: rgba(255, 255, 255, 0.866);
+ font-size: 14px;
+ margin-top: 10px;
+}
+
+.formRegister .formWrapper a{
+ color: rgb(255, 208, 0);
+ text-decoration: none;
+}
+
+ /* =================alret=================*/
+
+ .custom-pop-up{
+ background-color: rgba(55, 55, 55, 0.776);
+ color: rgb(231, 231, 231);
+ }
+
+ /* =================navbar=================*/
+
+
+ .submitButton{
+ background-color: rgb(255, 208, 0);
+ color: rgba(0, 0, 0, 0.866);
+ padding: 4px 10px;
+ border: none;
+ border-radius: 3px;
+ cursor: pointer;
+}
+
+.container{
+ background-color: rgb(15, 15, 15);
+ margin-top: 10px;
+ border-radius: 10px;
+}
+
+.list-group-item{
+ background-color: rgb(31, 31, 31);
+ border-color: black;
+ color: white;
+ height: 60px;
+}
+
+/* ======== card ========== */
+.profile-card-2 {
+ width: 35vh;
+ height: 25vh;
+ background-color: #FFF;
+ box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
+ background-position: center;
+ overflow: hidden;
+ position: relative;
+ margin: 10px auto;
+ cursor: pointer;
+ border-radius: 10px;
+}
+
+.profile-card-2 img {
+ transition: all linear 0.25s;
+}
+
+.profile-card-2 .profile-name {
+ position: absolute;
+ left: 10px;
+ bottom: 10px;
+ font-size: 20px;
+ -webkit-text-stroke-width: 1px;
+ -webkit-text-stroke-color: black;
+ color: #FFF;
+ text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
+ font-weight: bold;
+ transition: all linear 0.25s;
+}
+
+.profile-card-2 .profile-icons {
+ position: absolute;
+ bottom: 30px;
+ right: 30px;
+ color: #FFF;
+ transition: all linear 0.25s;
+}
+
+.profile-card-2 .profile-username {
+ position: absolute;
+ bottom: 10px;
+ left: 10px;
+ color: #FFF;
+ font-size: 13px;
+ transition: all linear 0.25s;
+}
+
+.profile-card-2 .profile-icons .fa {
+ margin: 5px;
+}
+
+.profile-card-2:hover img {
+ filter: grayscale(100%);
+}
+
+.profile-card-2:hover .profile-name {
+ bottom: 40px;
+}
+
+.profile-card-2:hover .profile-username {
+ bottom: 20px;
+}
+
+.profile-card-2:hover .profile-icons {
+ right: 40px;
+}
+
+.page-link{
+ background-color: black;
+ color: orange;
+ border-color: rgb(20, 20, 20);
+}
+
+.page-link:hover{
+ background-color: gray;
+ color: orange;
+}
+
+.form-select{
+ background-color: rgb(59, 59, 59);
+ color: white;
+}
+
+.card{
+ background-color: black;
+ border-color: rgb(165, 165, 165);
+ border-radius: 40px;
+ color: white;
+ margin-right: 10px;
+}
+
+.image-profile{
+ width: 5rem;
+ margin-right: 10px;
+ margin-top: 5px;
+}
+
+.image-profile-comment{
+ width: 2rem;
+ margin-right: 10px;
+ margin-top: 5px;
+}
+
+.form-control{
+ background-color: rgb(211, 211, 211);
+ border-color: rgb(41, 41, 41);
+}
+
+/*===============profile=====================*/
+
+.img-thumbnail{
+ width: 100px;
+ border-radius: 99px;
+}
\ No newline at end of file
diff --git a/client/src/App.jsx b/client/src/App.jsx
new file mode 100644
index 0000000..558b5ae
--- /dev/null
+++ b/client/src/App.jsx
@@ -0,0 +1,10 @@
+import './App.css'
+import {RouterProvider} from "react-router-dom"
+import router from './router'
+
+function App() {
+
+ return
+}
+
+export default App
diff --git a/client/src/assets/react.svg b/client/src/assets/react.svg
new file mode 100644
index 0000000..6c87de9
--- /dev/null
+++ b/client/src/assets/react.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/src/components/card.jsx b/client/src/components/card.jsx
new file mode 100644
index 0000000..de7245d
--- /dev/null
+++ b/client/src/components/card.jsx
@@ -0,0 +1,22 @@
+import PropTypes from 'prop-types'
+
+export const Card = ({game}) => {
+ return (
+ <>
+
+ >
+ )
+}
+
+Card.PropTypes = {
+ game: {
+ game_url: PropTypes.string,
+ title: PropTypes.string,
+ thumbnail: PropTypes.string
+ }
+}
\ No newline at end of file
diff --git a/client/src/components/navbar.jsx b/client/src/components/navbar.jsx
new file mode 100644
index 0000000..94a91ff
--- /dev/null
+++ b/client/src/components/navbar.jsx
@@ -0,0 +1,70 @@
+import { Link, useNavigate } from "react-router-dom"
+
+export const Navbar = () => {
+ const navigate = useNavigate()
+
+ const handleLogout = () => {
+ localStorage.removeItem('token')
+ navigate('/login')
+ }
+
+ if (localStorage.getItem('token')) {
+ return (
+
+ )
+ }
+
+ return (
+
+ )
+
+}
\ No newline at end of file
diff --git a/client/src/components/table.jsx b/client/src/components/table.jsx
new file mode 100644
index 0000000..2b5fd54
--- /dev/null
+++ b/client/src/components/table.jsx
@@ -0,0 +1,25 @@
+import PropTypes from 'prop-types'
+import { Link } from 'react-router-dom'
+
+export const Table = ({ post }) => {
+ return (
+ <>
+
+
+ {post.title}
+
{post.description}
+
+ {post.status}
+
+ >
+ )
+}
+
+Table.propTypes = {
+ post: {
+ id: PropTypes.number,
+ title: PropTypes.string,
+ description: PropTypes.string,
+ }
+}
+
diff --git a/client/src/context/homeContext.jsx b/client/src/context/homeContext.jsx
new file mode 100644
index 0000000..6b1e74b
--- /dev/null
+++ b/client/src/context/homeContext.jsx
@@ -0,0 +1,142 @@
+import axios from "axios";
+import { createContext, useEffect, useState } from "react";
+import Swal from 'sweetalert2'
+
+export const homeContext = createContext()
+
+export const HomeContextProvider = ({ children }) => {
+ const [posts, setPosts] = useState([])
+ const [user, setUser] = useState([])
+ const [profile, setProfile] = useState([])
+ const [updrade, setUpdrade] = useState(false)
+
+ const fetchPost = async () => {
+ try {
+ if (localStorage.getItem('token')) {
+ const { data } = await axios({
+ method: 'GET',
+ url: 'http://localhost:3000/posts',
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+ setUser(data.user)
+
+ let random = data.data.sort(() => Math.random() - 0.5)
+ setPosts(random)
+ } else {
+ const { data } = await axios({
+ method: 'GET',
+ url: 'http://localhost:3000/pub/posts'
+ })
+ let random = data.data.sort(() => Math.random() - 0.5)
+ setPosts(random)
+ }
+
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+
+ const getProfile = async () => {
+ try {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/profile/${user.username}`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+
+ setProfile(data)
+ } catch (error) {
+ Swal.fire({
+ text: "you closed the popup without finishing the payment",
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+
+ // const handleOnUpgrade = async () => {
+ // try {
+ // const { data } = await axios({
+ // method: 'GET',
+ // url: `http://localhost:3000/payment/${user.id}`,
+ // headers: {
+ // Authorization: `Bearer ${localStorage.getItem('token')}`
+ // }
+ // })
+
+ // window.snap.pay(data.transaction_token, {
+ // onSuccess: async function () {
+ // /* You may add your own implementation here */
+ // await axios({
+ // method: 'PATCH',
+ // url: `http://localhost:3000/${user.id}`,
+ // headers: {
+ // Authorization: `Bearer ${localStorage.getItem('token')}`
+ // },
+ // data: {
+ // orderId: data.orderId
+ // }
+ // })
+ // },
+ // onClose: function () {
+ // /* You may add your own implementation here */
+ // Swal.fire({
+ // text: "you closed the popup without finishing the payment",
+ // icon: 'warning',
+ // confirmButtonText: "Back",
+ // confirmButtonColor: "red",
+ // customClass: {
+ // popup: 'custom-pop-up'
+ // }
+ // })
+ // }
+ // })
+
+ // setUpdrade(true)
+ // } catch (error) {
+ // Swal.fire({
+ // text: error.response.data.message,
+ // icon: 'warning',
+ // confirmButtonText: "Back",
+ // confirmButtonColor: "red",
+ // customClass: {
+ // popup: 'custom-pop-up'
+ // }
+ // })
+ // }
+ // }
+
+
+ useEffect(() => {
+ fetchPost()
+ }, [updrade])
+
+ useEffect(() => {
+ if (localStorage.getItem('token')) {
+ getProfile()
+ }
+ }, [posts, updrade])
+
+ return (
+
+ {children}
+
+ )
+
+}
diff --git a/client/src/context/postContex.jsx b/client/src/context/postContex.jsx
new file mode 100644
index 0000000..cc9c738
--- /dev/null
+++ b/client/src/context/postContex.jsx
@@ -0,0 +1,99 @@
+import { createContext, useEffect, useState } from "react";
+import Swal from 'sweetalert2'
+import { Navbar } from "../components/navbar";
+import axios from "axios";
+
+export const postContext = createContext()
+
+export const PostContexProvide = ({chindren}) => {
+ const [posts, setPosts] = useState([])
+ const [totalPages, setTotalPages] = useState('')
+ const [totalData, setTotalData] = useState('')
+ const [currnetPage, setCurrentPage] = useState(1)
+ const [loading, setLoading] = useState(true)
+ const [filter, setFilter] = useState('')
+ const [sort, setSort] = useState('')
+ const [search, setSearch] = useState('')
+ const [user, setUser] = useState([])
+
+ const [categoryList, setCategoryList] = useState([])
+
+ const fetchPost = async () => {
+ try {
+ if (localStorage.getItem('token')) {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/posts?category=${filter}&sortBy=${sort}&search=${search}`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+ setPosts(data.data)
+ setUser(data.user)
+ setTotalData(data.totalData)
+ setTotalPages(data.totalPage)
+ } else {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/pub/posts?category=${filter}&sortBy=${sort}&search=${search}`
+ })
+ setPosts(data.data)
+ setTotalData(data.totalData)
+ setTotalPages(data.totalPage)
+ }
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ } finally {
+ setLoading(false)
+ }
+ }
+
+ useEffect(() => {
+ const fetchCategoy = async () => {
+ try {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/categories`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+
+ setCategoryList(data)
+ } catch (error) {
+ console.log(error)
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+ fetchCategoy()
+ fetchPost()
+ }, [filter, sort, search])
+
+ // if (loading) {
+ // return
+ // }
+
+ return (
+
+ {chindren}
+
+ )
+}
\ No newline at end of file
diff --git a/client/src/index.css b/client/src/index.css
new file mode 100644
index 0000000..3afe7e0
--- /dev/null
+++ b/client/src/index.css
@@ -0,0 +1,69 @@
+/* :root {
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
+ line-height: 1.5;
+ font-weight: 400;
+
+ color-scheme: light dark;
+ color: rgba(255, 255, 255, 0.87);
+ background-color: #242424;
+
+ font-synthesis: none;
+ text-rendering: optimizeLegibility;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-text-size-adjust: 100%;
+}
+
+a {
+ font-weight: 500;
+ color: #646cff;
+ text-decoration: inherit;
+}
+a:hover {
+ color: #535bf2;
+}
+
+body {
+ margin: 0;
+ display: flex;
+ place-items: center;
+ min-width: 320px;
+ min-height: 100vh;
+}
+
+h1 {
+ font-size: 3.2em;
+ line-height: 1.1;
+}
+
+button {
+ border-radius: 8px;
+ border: 1px solid transparent;
+ padding: 0.6em 1.2em;
+ font-size: 1em;
+ font-weight: 500;
+ font-family: inherit;
+ background-color: #1a1a1a;
+ cursor: pointer;
+ transition: border-color 0.25s;
+}
+button:hover {
+ border-color: #646cff;
+}
+button:focus,
+button:focus-visible {
+ outline: 4px auto -webkit-focus-ring-color;
+}
+
+@media (prefers-color-scheme: light) {
+ :root {
+ color: #213547;
+ background-color: #ffffff;
+ }
+ a:hover {
+ color: #747bff;
+ }
+ button {
+ background-color: #f9f9f9;
+ }
+} */
diff --git a/client/src/main.jsx b/client/src/main.jsx
new file mode 100644
index 0000000..fce355e
--- /dev/null
+++ b/client/src/main.jsx
@@ -0,0 +1,11 @@
+import React from 'react'
+import ReactDOM from 'react-dom/client'
+import App from './App.jsx'
+import './index.css'
+
+ReactDOM.createRoot(document.getElementById('root')).render(
+
+
+
+ ,
+)
diff --git a/client/src/router/index.jsx b/client/src/router/index.jsx
new file mode 100644
index 0000000..d0bc8f7
--- /dev/null
+++ b/client/src/router/index.jsx
@@ -0,0 +1,46 @@
+import {createBrowserRouter} from "react-router-dom"
+import { Login } from "../views/login"
+import { Register } from "../views/register"
+import { Home } from "../views/home"
+import { GameList } from "../views/gameList"
+import { DetailPost } from "../views/detailPost"
+import { Discusion } from "../views/discusion"
+import { Profile } from "../views/profile"
+import { AddPost } from "../views/add-post"
+import { HomeContextProvider } from "../context/homeContext"
+import { PostContexProvide } from "../context/postContex"
+
+const router = createBrowserRouter([
+ {
+ path: '/login',
+ element:
+ },
+ {
+ path: '/register',
+ element:
+ },
+ {
+ path: '/',
+ element:
+ },
+ {
+ path: '/game-list',
+ element:
+ },
+ {
+ path: '/post/:postId',
+ element:
+ },
+ {
+ path: '/discusion',
+ // element:
+ element:
+ },
+ {
+ path: '/profile/:username',
+ element:
+ },
+
+])
+
+export default router
\ No newline at end of file
diff --git a/client/src/views/add-post.jsx b/client/src/views/add-post.jsx
new file mode 100644
index 0000000..58d2a03
--- /dev/null
+++ b/client/src/views/add-post.jsx
@@ -0,0 +1,10 @@
+import { Navbar } from "../components/navbar"
+
+
+export const AddPost = () => {
+ return (
+ <>
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/client/src/views/detailPost.jsx b/client/src/views/detailPost.jsx
new file mode 100644
index 0000000..e2a0202
--- /dev/null
+++ b/client/src/views/detailPost.jsx
@@ -0,0 +1,157 @@
+import { useNavigate, useParams } from "react-router-dom"
+import { Navbar } from "../components/navbar"
+import { useEffect, useState } from "react"
+import Swal from 'sweetalert2'
+import axios from "axios"
+
+
+export const DetailPost = () => {
+ const { postId } = useParams()
+ const [post, setPost] = useState([])
+ const [comment, setComment] = useState([])
+ const [loading, setLoading] = useState(true)
+ const [idDelete, setIdDelete] = useState('')
+ const navigate = useNavigate()
+
+ const fetchPost = async () => {
+ try {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/post/${postId}`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+ setPost(data)
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ navigate('/')
+ } finally {
+ setLoading(false)
+ }
+ }
+
+ const handleComment = async (e) => {
+ e.preventDefault()
+ try {
+ const { data } = await axios({
+ method: 'POST',
+ url: `http://localhost:3000/post/${postId}/comment`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ },
+ data: {
+ comment
+ }
+ })
+
+ fetchPost()
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+
+ const handleOnDelete = async (id) => {
+ try {
+ const {data} = await axios({
+ method: 'DELETE',
+ url: `http://localhost:3000/post/${postId}/comment/${id}`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ },
+ })
+
+ fetchPost()
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+
+ useEffect(() => {
+ if (!localStorage.getItem('token')) {
+ navigate('/login')
+ }
+ fetchPost()
+ }, [idDelete])
+
+
+ if (loading) {
+ return (
+ <>
+
+ Loading....
+ >
+ )
+ }
+
+ return (
+ <>
+
+
+
+
+
+
+

+ {post.User.Profile.displayName}
+
+
+
+
{post.title}
+
{post.description}
+
+
+
+
Comments :
+ {post.Comments.map(el => (
+
+
+
+

+ {el.User.Profile.displayName}
+
+
![]()
handleOnDelete(el.id)} style={{ cursor: 'pointer' }} width="25" height="25" src="https://img.icons8.com/external-tanah-basah-glyph-tanah-basah/48/FA5252/external-delete-customer-reviews-tanah-basah-glyph-tanah-basah.png" alt="delete" />
+
+
+
+
+ ))}
+
+
+
+
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/client/src/views/discusion.jsx b/client/src/views/discusion.jsx
new file mode 100644
index 0000000..b3e6b4c
--- /dev/null
+++ b/client/src/views/discusion.jsx
@@ -0,0 +1,169 @@
+import { useContext, useEffect, useState } from "react"
+import { Navbar } from "../components/navbar"
+import Swal from 'sweetalert2'
+import axios from "axios"
+import { Table } from "../components/table"
+import { Link } from "react-router-dom"
+import { postContext } from "../context/postContex"
+
+
+export const Discusion = () => {
+ // const {loading, setLoading, categoryList, user,search, setSearch, setSort , setFilter , currnetPage, setCurrentPage, posts, totalData } = useContext(postContext)
+ const [posts, setPosts] = useState([])
+ const [totalPages, setTotalPages] = useState('')
+ const [totalData, setTotalData] = useState('')
+ const [currnetPage, setCurrentPage] = useState(1)
+ const [loading, setLoading] = useState(true)
+ const [filter, setFilter] = useState('')
+ const [sort, setSort] = useState('')
+ const [search, setSearch] = useState('')
+ const [user, setUser] = useState([])
+
+ const [categoryList, setCategoryList] = useState([])
+
+ const fetchPost = async () => {
+ try {
+ if (localStorage.getItem('token')) {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/posts?category=${filter}&sortBy=${sort}&search=${search}`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+ setPosts(data.data)
+ setUser(data.user)
+ setTotalData(data.totalData)
+ setTotalPages(data.totalPage)
+ } else {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/pub/posts?category=${filter}&sortBy=${sort}&search=${search}`
+ })
+ setPosts(data.data)
+ setTotalData(data.totalData)
+ setTotalPages(data.totalPage)
+ }
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ } finally {
+ setLoading(false)
+ }
+ }
+
+ useEffect(() => {
+ const fetchCategoy = async () => {
+ try {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/categories`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+
+ setCategoryList(data)
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+ fetchCategoy()
+ fetchPost()
+ }, [filter, sort, search])
+
+ if (loading) {
+ return
+ }
+
+ const totalPage = Math.ceil(totalData / 10)
+ const totalPageLimit = 5
+ const startPage = Math.max(1, currnetPage - Math.floor(totalPageLimit / 2))
+ const endPage = Math.min(totalPage, startPage + totalPageLimit - 1)
+ const paginationLimit = Array.from({ length: endPage - startPage + 1 }, (_, index) => startPage + index)
+ const start = (currnetPage - 1) * 10
+ const last = start + 10
+ const currentList = posts.slice(start, last)
+
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+ setSearch(e.target.value)} id="search" className="form-control form-control-sm" type="search" placeholder="Search" aria-label="Search">
+
+
+
+
+
+
+
Discusion
+
+
+
+ Add Post
+
+
+
+
+
+
+
+
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/client/src/views/gameList.jsx b/client/src/views/gameList.jsx
new file mode 100644
index 0000000..57dd8c1
--- /dev/null
+++ b/client/src/views/gameList.jsx
@@ -0,0 +1,146 @@
+import { useEffect, useState } from "react"
+import axios from "axios"
+import { Navbar } from "../components/navbar"
+import { Card } from "../components/card"
+import Swal from 'sweetalert2'
+
+export const GameList = () => {
+ const [game, setGame] = useState([])
+ const [loading, setLoading] = useState(true)
+ const [currnetPage, setCurrentPage] = useState(1)
+ const [category, setCategory] = useState('')
+ const perPage = 12
+
+ const fetchGame = async () => {
+ let options
+ if (category) {
+ options = {
+ method: 'GET',
+ url: 'https://free-to-play-games-database.p.rapidapi.com/api/games',
+ headers: {
+ 'X-RapidAPI-Key': import.meta.env.VITE_REACT_APP_X_RAPID_API_KEY,
+ 'X-RapidAPI-Host': import.meta.env.VITE_REACT_APP_X_RAPID_API_HOST
+ },
+ params: {
+ category: `${category}`
+ },
+ };
+ } else {
+ options = {
+ method: 'GET',
+ url: 'https://free-to-play-games-database.p.rapidapi.com/api/games',
+ headers: {
+ 'X-RapidAPI-Key': import.meta.env.VITE_REACT_APP_X_RAPID_API_KEY,
+ 'X-RapidAPI-Host': import.meta.env.VITE_REACT_APP_X_RAPID_API_HOST
+ }
+ };
+ }
+
+ try {
+ const { data } = await axios.request(options)
+ setGame(data)
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ } finally {
+ setLoading(false)
+ }
+ }
+
+ useEffect(() => {
+ fetchGame()
+ }, [category])
+
+ useEffect(() => {
+
+ })
+
+ if (loading) {
+ return (
+ <>
+
+ Loading
+ >
+ )
+ }
+
+ const totalPage = Math.ceil(game.length / perPage)
+ const totalPageLimit = 5
+ const startPage = Math.max(1, currnetPage - Math.floor(totalPageLimit / 2))
+ const endPage = Math.min(totalPage, startPage + totalPageLimit - 1)
+ const paginationLimit = Array.from({ length: endPage - startPage + 1 }, (_, index) => startPage + index)
+ const start = (currnetPage - 1) * perPage
+ const last = start + perPage
+ const currentList = game.slice(start, last)
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Free for Play
+
+
+
+ {currentList.map(el => )}
+
+
+
+
+
+
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/client/src/views/home.jsx b/client/src/views/home.jsx
new file mode 100644
index 0000000..d98c51b
--- /dev/null
+++ b/client/src/views/home.jsx
@@ -0,0 +1,138 @@
+import { useContext, useEffect, useState } from "react"
+import { Navbar } from "../components/navbar"
+import { Table } from "../components/table"
+import { Link } from "react-router-dom"
+import { homeContext } from "../context/homeContext"
+import axios from "axios"
+
+
+export const Home = () => {
+ const {posts, setPosts, profile, setProfile, user, setUser} = useContext(homeContext)
+ const [updrade, setUpdrade] = useState(false)
+
+ const handleOnUpgrade = async () => {
+ try {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/payment/${user.id}`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+
+ window.snap.pay(data.transaction_token, {
+ onSuccess: async function () {
+ /* You may add your own implementation here */
+ await axios({
+ method: 'PATCH',
+ url: `http://localhost:3000/${user.id}`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ },
+ data: {
+ orderId: data.orderId
+ }
+ })
+ },
+ onClose: function () {
+ /* You may add your own implementation here */
+ Swal.fire({
+ text: "you closed the popup without finishing the payment",
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ })
+
+ setUpdrade(true)
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+
+
+ return (
+ <>
+
+
+
+
+
+
+
+
Let's go
+
Discus about anything...
+
+
+
+
+
+

+
+
+
+
{profile.displayName}
+
Status: {profile.status}
+
+
+
+
+
+
+
+
+
+
+

+
+
Overwatch 2
+
Team up with friends regardless of platform and jump into the reimagined PvP experience.
+
+
+
+

+
+
Dota 2
+
A Modern Multiplayer Masterpeace.
+
+
+
+

+
+
Genshin Impact
+
Teach The Weeboo Save the World.
+
+
+
+
+
+
+
+
+
+
+
+
Random Topics
+
+
+
+ {posts.slice(0, 5).map(el =>
)}
+
+
+
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/client/src/views/login.jsx b/client/src/views/login.jsx
new file mode 100644
index 0000000..be06a41
--- /dev/null
+++ b/client/src/views/login.jsx
@@ -0,0 +1,99 @@
+
+import axios from "axios"
+import { useEffect, useState } from "react"
+import { Link, useNavigate } from "react-router-dom"
+import Swal from 'sweetalert2'
+
+
+export const Login = () => {
+ const [email, setEmail] = useState('')
+ const [password, setPasword] = useState('')
+ const navigate = useNavigate()
+
+ const handleLogin = async (e) => {
+ e.preventDefault()
+ try {
+ const { data } = await axios({
+ method: 'POST',
+ url: 'http://localhost:3000/login',
+ data: {
+ email,
+ password
+ }
+ })
+
+ localStorage.setItem('token', data.access_token)
+ navigate('/')
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+
+ async function handleCredentialResponse(response) {
+ try {
+ console.log(response.credential)
+ const {data} = await axios({
+ method: 'POST',
+ url: 'http://localhost:3000/login/google',
+ data: {
+ g_token: response.credential
+ }
+ })
+
+ localStorage.setItem('token', data.access_token)
+ navigate('/')
+ } catch (error) {
+ Swal.fire({
+ text: "you closed the popup without finishing the payment",
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+
+ useEffect(() => {
+ const G_CLIENT = import.meta.env.VITE_REACT_APP_G_CLIENT
+ window.onload = function () {
+ google.accounts.id.initialize({
+ client_id: G_CLIENT,
+ callback: handleCredentialResponse
+ });
+ google.accounts.id.renderButton(
+ document.getElementById("buttonDiv"),
+ { theme: "outline" } // customization attributes
+ );
+ google.accounts.id.prompt(); // also display the One Tap dialog
+ }
+ }, [])
+
+ return (
+ <>
+
+
+

+
Login
+
+
-- or --
+
+
Don't have an account? Register
+
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/client/src/views/profile.jsx b/client/src/views/profile.jsx
new file mode 100644
index 0000000..1c111ce
--- /dev/null
+++ b/client/src/views/profile.jsx
@@ -0,0 +1,168 @@
+import axios from "axios"
+import { Navbar } from "../components/navbar"
+import Swal from 'sweetalert2'
+import { useEffect, useState } from "react"
+import { Link, useParams } from "react-router-dom"
+import { Table } from "../components/table"
+
+
+export const Profile = () => {
+ const { username } = useParams()
+ const [profile, setProfile] = useState([])
+ const [loading, setLoading] = useState(true)
+ const [title, setTitle] = useState('')
+ const [category, setCategory] = useState('')
+ const [description, setDescription] = useState('')
+ const [status, setStatus] = useState('')
+ const [listCategories, setListCategories] = useState([])
+
+ const fetchProfile = async () => {
+ try {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/profile/${username}`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+
+ setProfile(data)
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ } finally {
+ setLoading(false)
+ }
+ }
+
+ const handlePost = async (e) => {
+ e.preventDefault()
+ try {
+ const {data} = await axios({
+ method: 'POST',
+ url: 'http://localhost:3000/post/add',
+ data: {
+ title,
+ description,
+ CategoryId: +category,
+ status
+ },
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+
+ fetchProfile()
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+
+ useEffect(() => {
+ const fetchCategoy = async () => {
+ try {
+ const { data } = await axios({
+ method: 'GET',
+ url: `http://localhost:3000/categories`,
+ headers: {
+ Authorization: `Bearer ${localStorage.getItem('token')}`
+ }
+ })
+
+ setListCategories(data)
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+ fetchCategoy()
+ fetchProfile()
+ }, [])
+
+ if (loading) {
+ return (
+ <>
+
+ >
+ )
+ }
+
+ return (
+ <>
+
+
+
+
+
+
+

+
+
@{profile.displayName}
+
{profile.status}
+
+
+
+
Display Name: {profile.firstName}
+
Contact Info: {profile.User.email}
+
Post: {profile.User.Posts.length}
+
+
+
+
+
+
+
+
+
Post
+
+
+
+ {profile.User.Posts.slice(0, 5).map(el =>
)}
+
+
+
+
+
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/client/src/views/register.jsx b/client/src/views/register.jsx
new file mode 100644
index 0000000..1f4d12a
--- /dev/null
+++ b/client/src/views/register.jsx
@@ -0,0 +1,54 @@
+import { useState } from "react"
+import { Link, useNavigate } from "react-router-dom"
+import axios from 'axios'
+import Swal from 'sweetalert2'
+
+export const Register = () => {
+ const [username, setUsername] = useState('')
+ const [email, setEmail] = useState('')
+ const [password, setPasword] = useState('')
+ const navigate = useNavigate()
+
+ const handleSubmit = async (e) => {
+ e.preventDefault()
+ try {
+ await axios({
+ method: 'POST',
+ url: 'http://localhost:3000/register',
+ data: {
+ username, email, password
+ }
+ })
+
+ navigate('/login')
+ } catch (error) {
+ Swal.fire({
+ text: error.response.data.message,
+ icon: 'warning',
+ confirmButtonText: "Back",
+ confirmButtonColor: "red",
+ customClass: {
+ popup: 'custom-pop-up'
+ }
+ })
+ }
+ }
+
+ return (
+ <>
+
+
+

+
Register
+
+
You do have an account? Login
+
+
+ >
+ )
+}
\ No newline at end of file
diff --git a/client/vite.config.js b/client/vite.config.js
new file mode 100644
index 0000000..5a33944
--- /dev/null
+++ b/client/vite.config.js
@@ -0,0 +1,7 @@
+import { defineConfig } from 'vite'
+import react from '@vitejs/plugin-react'
+
+// https://vitejs.dev/config/
+export default defineConfig({
+ plugins: [react()],
+})
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 0000000..076cadb
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,521 @@
+{
+ "name": "ip-rmt42",
+ "version": "1.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "ip-rmt42",
+ "version": "1.0.0",
+ "license": "ISC",
+ "dependencies": {
+ "vite": "^4.5.0"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
+ "cpu": [
+ "loong64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
+ "cpu": [
+ "mips64el"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
+ "cpu": [
+ "riscv64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
+ "hasInstallScript": true,
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "hasInstallScript": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.7",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
+ "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
+ "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/picocolors": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
+ },
+ "node_modules/postcss": {
+ "version": "8.4.31",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
+ "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.6",
+ "picocolors": "^1.0.0",
+ "source-map-js": "^1.0.2"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "3.29.4",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz",
+ "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==",
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=14.18.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "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==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/vite": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.0.tgz",
+ "integrity": "sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==",
+ "dependencies": {
+ "esbuild": "^0.18.10",
+ "postcss": "^8.4.27",
+ "rollup": "^3.27.1"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ },
+ "peerDependencies": {
+ "@types/node": ">= 14",
+ "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
+ }
+ }
+ }
+ }
+}
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..a061b34
--- /dev/null
+++ b/package.json
@@ -0,0 +1,15 @@
+{
+ "name": "ip-rmt42",
+ "version": "1.0.0",
+ "description": "[](https://classroom.github.com/a/IrWObaQs)\r [](https://classroom.github.com/online_ide?assignment_repo_id=12856485&assignment_repo_type=AssignmentRepo)\r # Individual Project Phase 2",
+ "main": "index.js",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "keywords": [],
+ "author": "",
+ "license": "ISC",
+ "dependencies": {
+ "vite": "^4.5.0"
+ }
+}
diff --git a/server/__test__/add-category.test.js b/server/__test__/add-category.test.js
new file mode 100644
index 0000000..888b732
--- /dev/null
+++ b/server/__test__/add-category.test.js
@@ -0,0 +1,75 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Profile} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+const user2 = {
+ username: "test2",
+ email: "test2@mail.com",
+ password: "password"
+}
+
+const category1 = {
+ name: "test"
+}
+
+const category2 = {
+
+}
+const category3 = {
+ name: ''
+}
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user2)
+ token = signToken({id: user.id })
+})
+
+describe('add-category', () => {
+ test('succes add category', async () => {
+ let {status, body} = await request(app)
+ .post('/category/add')
+ .set('Authorization', `Bearer ${token}`)
+ .send(category1)
+ expect(status).toBe(201)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('id', expect.any(Number))
+ expect(body).toHaveProperty('name', `${category1.name}`)
+ })
+
+ test('Error name required', async () => {
+ const {status, body} = await request(app)
+ .post('/category/add')
+ .set('Authorization', `Bearer ${token}`)
+ .send(category2)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Name is required')
+ })
+
+ test('Error name required no string', async () => {
+ const {status, body} = await request(app)
+ .post('/category/add')
+ .set('Authorization', `Bearer ${token}`)
+ .send(category3)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Name is required')
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Categories', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/__test__/add-comments.test.js b/server/__test__/add-comments.test.js
new file mode 100644
index 0000000..ace904b
--- /dev/null
+++ b/server/__test__/add-comments.test.js
@@ -0,0 +1,104 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Post, Profile, Category} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+
+const user1 = {
+ username: "test1",
+ email: "test1@mail.com",
+ password: "password",
+ status: "Free"
+}
+
+const category1 = {
+ name: "test"
+}
+
+const post1 = {
+ title: "test post",
+ description: "test description",
+ CategoryId: 1,
+ status: 'Free',
+ UserId: 1
+}
+
+const postUpdate = {
+ title: "test post update",
+ description: "test description update",
+}
+
+const comment = {
+ comment: "by 1 kita bang",
+ PostId: 1,
+ UserId:1
+}
+const comment2 = {
+ comment: "by 1 kita bang",
+ PostId: 10,
+ UserId:1
+}
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user1)
+ await Profile.create({ displayName: user.username, firstName: user.username, status: user.status, UserId: user.id })
+ await Category.create(category1)
+ await Post.create(post1)
+ token = signToken({id: user.id })
+})
+
+describe('add-comment', () => {
+ test('Succes add comment', async () => {
+ let {status, body} = await request(app)
+ .post(`/post/1/comment`)
+ .set('Authorization', `Bearer ${token}`)
+ .send(comment)
+ expect(status).toBe(201)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('id', expect.any(Number))
+ })
+ test('eror post not found', async () => {
+ let {status, body} = await request(app)
+ .post(`/post/10/comment`)
+ .set('Authorization', `Bearer ${token}`)
+ .send(comment2)
+ expect(status).toBe(404)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Post not found')
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Comments', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Posts', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Categories', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Profiles', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+})
\ No newline at end of file
diff --git a/server/__test__/add-post.test.js b/server/__test__/add-post.test.js
new file mode 100644
index 0000000..2c7c4df
--- /dev/null
+++ b/server/__test__/add-post.test.js
@@ -0,0 +1,93 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Profile, Category} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+const user1 = {
+ username: "test1",
+ email: "test1@mail.com",
+ password: "password"
+}
+
+const category1 = {
+ name: "test"
+}
+
+const post1 = {
+ title: "test post",
+ description: "test description",
+ CategoryId: 1,
+ status: "Free"
+}
+
+const post2 = {
+ description: "test description",
+ CategoryId: 1,
+ status: "Free"
+}
+
+const post3 = {
+ title: "test post",
+ CategoryId: 1,
+ status: "Free"
+}
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user1)
+ await Category.create(category1)
+ token = signToken({id: user.id })
+})
+
+describe('add-post', () => {
+ test('Succes add new user', async () => {
+ let {status, body} = await request(app)
+ .post('/post/add')
+ .send(post1)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(201)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('id', expect.any(Number))
+ })
+
+ test('Error title required', async () => {
+ const {status, body} = await request(app)
+ .post('/post/add')
+ .send(post2)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Title is required')
+ })
+
+ test('Error description required', async () => {
+ const {status, body} = await request(app)
+ .post('/post/add')
+ .send(post3)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Description is required')
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Posts', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Categories', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/__test__/delete-comment.test.js b/server/__test__/delete-comment.test.js
new file mode 100644
index 0000000..a4d117c
--- /dev/null
+++ b/server/__test__/delete-comment.test.js
@@ -0,0 +1,101 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Post, Profile, Category, Comment} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+
+const user1 = {
+ username: "test1",
+ email: "test1@mail.com",
+ password: "password",
+ status: "Free"
+}
+
+const category1 = {
+ name: "test"
+}
+
+const post1 = {
+ title: "test post",
+ description: "test description",
+ CategoryId: 1,
+ status: 'Free',
+ UserId: 1
+}
+
+const postUpdate = {
+ title: "test post update",
+ description: "test description update",
+}
+
+const comment = {
+ comment: "by 1 kita bang",
+ PostId: 1,
+ UserId:1
+}
+
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user1)
+ await Profile.create({ displayName: user.username, firstName: user.username, status: user.status, UserId: user.id })
+ await Category.create(category1)
+ await Post.create(post1)
+ await Comment.create(comment)
+ token = signToken({id: user.id })
+})
+
+describe('add-comment', () => {
+ test('Succes delete comment', async () => {
+ let {status, body} = await request(app)
+ .delete(`/post/1/comment/1`)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(200)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Delete success')
+ })
+
+ test('Succes delete comment', async () => {
+ let {status, body} = await request(app)
+ .delete(`/post/1/comment/3`)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(404)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Comment not found')
+ })
+
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Comments', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Posts', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Categories', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Profiles', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+})
\ No newline at end of file
diff --git a/server/__test__/detail-post.test.js b/server/__test__/detail-post.test.js
new file mode 100644
index 0000000..633a307
--- /dev/null
+++ b/server/__test__/detail-post.test.js
@@ -0,0 +1,80 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Post, Profile, Category} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+
+const user1 = {
+ username: "test1",
+ email: "test1@mail.com",
+ password: "password",
+ status: "Free"
+}
+
+const category1 = {
+ name: "test"
+}
+
+const post1 = {
+ title: "test post",
+ description: "test description",
+ CategoryId: 1,
+ status: 'Free',
+ UserId: 1
+}
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user1)
+ await Profile.create({ displayName: user.username, firstName: user.username, status: user.status, UserId: user.id })
+ await Category.create(category1)
+ await Post.create(post1)
+ token = signToken({id: user.id })
+})
+
+describe('detail-post', () => {
+ test('Succes get detail post', async () => {
+ let {status, body} = await request(app)
+ .get(`/post/1`)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(200)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('id', expect.any(Number))
+ })
+
+ test('Succes get detail post', async () => {
+ let {status, body} = await request(app)
+ .get(`/post/10`)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(404)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Post not found')
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Posts', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Categories', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Profiles', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/__test__/edit-post.test.js b/server/__test__/edit-post.test.js
new file mode 100644
index 0000000..ad337fb
--- /dev/null
+++ b/server/__test__/edit-post.test.js
@@ -0,0 +1,77 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Post, Profile, Category} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+
+const user1 = {
+ username: "test1",
+ email: "test1@mail.com",
+ password: "password",
+ status: "Free"
+}
+
+const category1 = {
+ name: "test"
+}
+
+const post1 = {
+ title: "test post",
+ description: "test description",
+ CategoryId: 1,
+ status: 'Free',
+ UserId: 1
+}
+
+const postUpdate = {
+ title: "test post update",
+ description: "test description update",
+}
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user1)
+ await Profile.create({ displayName: user.username, firstName: user.username, status: user.status, UserId: user.id })
+ await Category.create(category1)
+ await Post.create(post1)
+ token = signToken({id: user.id })
+})
+
+describe('edit-post', () => {
+ test('Succes edit post', async () => {
+ let {status, body} = await request(app)
+ .put(`/post/1/edit`)
+ .set('Authorization', `Bearer ${token}`)
+ .send(postUpdate)
+ expect(status).toBe(201)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('id', expect.any(Number))
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Posts', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Categories', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Profiles', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/__test__/edit-profile.test.js b/server/__test__/edit-profile.test.js
new file mode 100644
index 0000000..8f92ff6
--- /dev/null
+++ b/server/__test__/edit-profile.test.js
@@ -0,0 +1,95 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Profile} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+
+const user2 = {
+ username: "test2",
+ email: "test2@mail.com",
+ password: "password"
+}
+
+const profile1 = {
+ displayName: "test2test",
+ firstName: "test2",
+ imgUrl: 'image',
+}
+
+const profile2 = {
+ displayName: "test2test",
+ firstName: "",
+ imgUrl: 'image',
+}
+
+const profile3 = {
+ displayName: "",
+ firstName: "asdasd",
+ imgUrl: 'image',
+}
+
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user2)
+ await Profile.create({ displayName: user.username, firstName: user.username, status: user.status, UserId: user.id })
+ token = signToken({id: user.id })
+})
+
+const random = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiaWF0IjoxNjk4ODM3NTI5fQ.uPI6YV-FkQr0NujKVyubKYEWg93Gnz8VbotE5-7IG8Q'
+
+describe('edit-profile', () => {
+ test('Succes edit profile', async () => {
+ let {status, body} = await request(app)
+ .put(`/profile/${user2.username}/edit`)
+ .send(profile1)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(201)
+ expect(body).toBeInstanceOf(Object)
+ })
+
+ test('Succes error firstName require', async () => {
+ let {status, body} = await request(app)
+ .put(`/profile/${user2.username}/edit`)
+ .send(profile2)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'First Name is required')
+ })
+
+ test('Succes error display name require', async () => {
+ let {status, body} = await request(app)
+ .put(`/profile/${user2.username}/edit`)
+ .send(profile3)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Display Name is required')
+ })
+
+ test('Succes error error token', async () => {
+ let {status, body} = await request(app)
+ .put(`/profile/${user2.username}/edit`)
+ .send(profile1)
+ .set('Authorization', `Bearer ${random}`)
+ expect(status).toBe(401)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'You are unauthenticated')
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Profiles', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/__test__/get-category.test.js b/server/__test__/get-category.test.js
new file mode 100644
index 0000000..0a24ca7
--- /dev/null
+++ b/server/__test__/get-category.test.js
@@ -0,0 +1,47 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Category} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+const user2 = {
+ username: "test2",
+ email: "test2@mail.com",
+ password: "password"
+}
+
+const category = {
+ name: "test"
+}
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user2)
+ await Category.create(category)
+ token = signToken({id: user.id })
+})
+
+describe('add-category', () => {
+ test('succes get category', async () => {
+ let {status, body} = await request(app)
+ .get('/categories')
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(200)
+ expect(body).toBeInstanceOf(Object)
+ expect(body[0]).toHaveProperty('id', expect.any(Number))
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Categories', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/__test__/get-post.test.js b/server/__test__/get-post.test.js
new file mode 100644
index 0000000..bfc1754
--- /dev/null
+++ b/server/__test__/get-post.test.js
@@ -0,0 +1,73 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Post, Profile, Category} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+
+const user1 = {
+ username: "test1",
+ email: "test1@mail.com",
+ password: "password",
+ status: "Free"
+}
+
+const category1 = {
+ name: "test"
+}
+
+const post1 = {
+ title: "test post",
+ description: "test description",
+ CategoryId: 1,
+ status: 'Free',
+ UserId: 1
+}
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user1)
+ await Profile.create({ displayName: user.username, firstName: user.username, status: user.status, UserId: user.id })
+ await Category.create(category1)
+ await Post.create(post1)
+ token = signToken({id: user.id })
+})
+
+describe('detail-post', () => {
+ test('Succes get detail post', async () => {
+ let {status, body} = await request(app)
+ .get(`/posts`)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(200)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('totalPage', expect.any(Number))
+ expect(body).toHaveProperty('totalData', expect.any(Number))
+ expect(body).toHaveProperty('data', expect.any(Array))
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Posts', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Categories', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Profiles', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/__test__/get-profile.test.js b/server/__test__/get-profile.test.js
new file mode 100644
index 0000000..ee6ee82
--- /dev/null
+++ b/server/__test__/get-profile.test.js
@@ -0,0 +1,46 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Profile} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+
+const user2 = {
+ username: "test2",
+ email: "test2@mail.com",
+ password: "password"
+}
+
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user2)
+ await Profile.create({ displayName: user.username, firstName: user.username, status: user.status, UserId: user.id })
+ token = signToken({id: user.id })
+})
+
+describe('get-profil', () => {
+ test('Succes add new user', async () => {
+ let {status, body} = await request(app)
+ .get(`/profile/${user2.username}`)
+ .set('Authorization', `Bearer ${token}`)
+ expect(status).toBe(200)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('id', expect.any(Number))
+ expect(body).toHaveProperty('UserId', expect.any(Number))
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Profiles', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/__test__/login.test.js b/server/__test__/login.test.js
new file mode 100644
index 0000000..c9d3179
--- /dev/null
+++ b/server/__test__/login.test.js
@@ -0,0 +1,71 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User} = require('../models')
+const {queryInterface} = sequelize
+
+
+let user1 = {
+ username: 'test1',
+ email: 'test1@mail.com',
+ password: 'password'
+}
+
+let user2 = {
+ username: 'test2',
+ email: 'test2@mail.com',
+ password: 'password'
+}
+
+beforeAll( async () => {
+ await User.create(user1)
+})
+
+describe('login', () => {
+ test('Success Login and Get Token ', async () => {
+ let {status, body} = await request(app)
+ .post('/login')
+ .send(user1)
+ expect(status).toBe(200)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('access_token', expect.any(String))
+ })
+
+ test('Username is required', async () => {
+ const {status, body} = await request(app)
+ .post('/login')
+ .send({
+ password: 'password'
+ })
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Email is required')
+ })
+
+ test('Password is required', async () => {
+ const {status, body} = await request(app)
+ .post('/login')
+ .send({
+ email: 'test1@mail.com'
+ })
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Password is required')
+ })
+
+ test('Invalid email or password', async () => {
+ const {status, body} = await request(app)
+ .post('/login')
+ .send(user2)
+ expect(status).toBe(401)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Invalid username/password')
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/__test__/register.test.js b/server/__test__/register.test.js
new file mode 100644
index 0000000..93c27c0
--- /dev/null
+++ b/server/__test__/register.test.js
@@ -0,0 +1,173 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User} = require('../models')
+const {queryInterface} = sequelize
+
+
+const user1 = {
+ username: "test1",
+ email: "test1@mail.com",
+ password: "password"
+}
+
+const user2 = {
+ username: "test2",
+ email: "test2@mail.com",
+ password: "password"
+}
+
+const user4 = {
+ email: "test1@mail.com",
+ password: "password"
+}
+
+const user5 = {
+ username: "test3",
+ password: "password"
+}
+
+const user6 = {
+ username: "test3",
+ email: "test1@mail.com"
+}
+
+const user3 = {
+ username: "test3",
+ email: "test2@mail.com",
+ password: "password"
+}
+
+const user35 = {
+ username: "test2",
+ email: "test1@mail.com",
+ password: "password"
+}
+
+const user7 = {
+ username: "test3",
+ email: "test1@mail.com",
+ password: "test"
+}
+
+const user8 = {
+ username: "test3",
+ email: "",
+ password: "password"
+}
+
+const user9 = {
+ username: "test3",
+ email: "1@mail.com",
+ password: ""
+}
+const user10 = {
+ username: "test3",
+ email: "test10",
+ password: "password"
+}
+
+beforeAll( async () => {
+ const user = await User.create(user2)
+})
+
+describe('register', () => {
+ test('Succes add new user', async () => {
+ let {status, body} = await request(app)
+ .post('/register')
+ .send(user1)
+ expect(status).toBe(201)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('id', expect.any(Number))
+ expect(body).toHaveProperty('username', 'test1')
+ expect(body).toHaveProperty('email', 'test1@mail.com')
+ })
+
+ test('Error username required', async () => {
+ const {status, body} = await request(app)
+ .post('/register')
+ .send(user4)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Username is required')
+ })
+
+ test('Error email required', async () => {
+ const {status, body} = await request(app)
+ .post('/register')
+ .send(user5)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Email is required')
+ })
+
+ test('Error password required', async () => {
+ const {status, body} = await request(app)
+ .post('/register')
+ .send(user6)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Password is required')
+ })
+
+ test('Error duplicate email', async () => {
+ const {status, body} = await request(app)
+ .post('/register')
+ .send(user3)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Email already exist')
+ })
+
+ test('Error duplicate email', async () => {
+ const {status, body} = await request(app)
+ .post('/register')
+ .send(user35)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Username already exist')
+ })
+
+ test('Error password length', async () => {
+ const {status, body} = await request(app)
+ .post('/register')
+ .send(user7)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Password at least 8 character')
+ })
+
+ test('Error email empty string', async () => {
+ const {status, body} = await request(app)
+ .post('/register')
+ .send(user8)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Email is required')
+ })
+
+ test('Error password empty string', async () => {
+ const {status, body} = await request(app)
+ .post('/register')
+ .send(user9)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Password is required')
+ })
+
+ test('Error email empty string', async () => {
+ const {status, body} = await request(app)
+ .post('/register')
+ .send(user10)
+ expect(status).toBe(400)
+ expect(body).toBeInstanceOf(Object)
+ expect(body).toHaveProperty('message', 'Invalid email format')
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/__test__/upgrade.test.js b/server/__test__/upgrade.test.js
new file mode 100644
index 0000000..76dfe51
--- /dev/null
+++ b/server/__test__/upgrade.test.js
@@ -0,0 +1,46 @@
+const app = require('../app')
+const request = require('supertest')
+const {sequelize, User, Profile} = require('../models')
+const { signToken } = require('../helper/jwt')
+const {queryInterface} = sequelize
+
+const user2 = {
+ username: "test2",
+ email: "test2@mail.com",
+ password: "password"
+}
+
+let token
+beforeAll( async () => {
+ const user = await User.create(user2)
+ await Profile.create({ displayName: user.username, firstName: user.username, status: user.status, UserId: user.id })
+ token = signToken({id: user.id })
+})
+
+const id = 1
+const orderId = 'asjdnasjdh12uh'
+
+describe('upgrade user', () => {
+ test('Succes add new user', async () => {
+ let {status, body} = await request(app)
+ .patch(`/upgrade/${id}`)
+ .set('Authorization', `Bearer ${token}`)
+ .send({orderId})
+ expect(status).toBe(201)
+ expect(body).toBeInstanceOf(Object)
+ })
+})
+
+afterAll( async () => {
+ await queryInterface.bulkDelete('Users', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+
+ await queryInterface.bulkDelete('Profiles', null, {
+ truncate: true,
+ cascade: true,
+ restartIdentity: true
+ })
+})
\ No newline at end of file
diff --git a/server/app.js b/server/app.js
new file mode 100644
index 0000000..ca2ab49
--- /dev/null
+++ b/server/app.js
@@ -0,0 +1,16 @@
+if (process.env.NODE_ENV !== 'production') {
+ require('dotenv').config()
+}
+
+const express = require('express')
+const app = express()
+const router = require('./routes')
+const cors = require('cors')
+
+app.use(cors())
+app.use(express.json())
+app.use(express.urlencoded({ extended: true }))
+
+app.use(router)
+
+module.exports = app
\ No newline at end of file
diff --git a/server/bin/www b/server/bin/www
new file mode 100644
index 0000000..4022c40
--- /dev/null
+++ b/server/bin/www
@@ -0,0 +1,6 @@
+const app = require('../app')
+const port = process.env.PORT || 3000
+
+app.listen(port, () => {
+ console.log(`Lanjut di ${port} bosquu`)
+})
\ No newline at end of file
diff --git a/server/config/config.json b/server/config/config.json
new file mode 100644
index 0000000..09a0422
--- /dev/null
+++ b/server/config/config.json
@@ -0,0 +1,20 @@
+{
+ "development": {
+ "username": "postgres",
+ "password": "postgres",
+ "database": "We_Are",
+ "host": "127.0.0.1",
+ "dialect": "postgres"
+ },
+ "test": {
+ "username": "postgres",
+ "password": "postgres",
+ "database": "We_are_test",
+ "host": "127.0.0.1",
+ "dialect": "postgres",
+ "logging": false
+ },
+ "production": {
+ "use_env_variable": "DATABASE_URL"
+ }
+}
diff --git a/server/controllers/category.js b/server/controllers/category.js
new file mode 100644
index 0000000..8f49381
--- /dev/null
+++ b/server/controllers/category.js
@@ -0,0 +1,25 @@
+const { Category } = require('../models')
+const axios = require('axios')
+
+class CategoryController {
+ static async addCategory(req, res, next) {
+ try {
+ const data = await Category.create(req.body)
+ res.status(201).json(data)
+ } catch (error) {
+ next(error)
+ }
+ }
+
+ static async categories(req, res, next) {
+ try {
+ const data = await Category.findAll()
+ res.status(200).json(data)
+ } catch (error) {
+ next(error)
+ }
+ }
+
+}
+
+module.exports = CategoryController
\ No newline at end of file
diff --git a/server/controllers/comment.js b/server/controllers/comment.js
new file mode 100644
index 0000000..253b870
--- /dev/null
+++ b/server/controllers/comment.js
@@ -0,0 +1,36 @@
+const {Comment, Post} = require('../models')
+
+class CommentController {
+ static async addComment(req, res, next) {
+ try {
+ const {id} = req.user
+ const {postId} = req.params
+ const post = await Post.findByPk(postId)
+ if (!post) {
+ throw {name: 'NotFound', message: 'Post not found'}
+ }
+ const comment = await Comment.create({...req.body, UserId: id, PostId: postId})
+ res.status(201).json(comment)
+ } catch (error) {
+ next(error)
+ }
+ }
+
+ static async destroyComment(req, res, next) {
+ try {
+ const {commentId} = req.params
+ const comment = await Comment.findByPk(commentId)
+ if (!comment) {
+ throw {name: 'NotFound', message: 'Post not found'}
+ }
+
+ await Comment.destroy({where: {id: commentId}})
+ res.status(200).json({message: 'Delete success'})
+ } catch (error) {
+ console.log(error)
+ next(error)
+ }
+ }
+}
+
+module.exports = CommentController
\ No newline at end of file
diff --git a/server/controllers/post.js b/server/controllers/post.js
new file mode 100644
index 0000000..fb9aacc
--- /dev/null
+++ b/server/controllers/post.js
@@ -0,0 +1,120 @@
+const {Post, User, Category, Profile, Comment} = require('../models')
+const { Op } = require("sequelize")
+
+class PostController {
+ static async addPost(req, res, next) {
+ try {
+ const {id} = req.user
+
+ const data = await Post.create({...req.body, UserId: id})
+ res.status(201).json(data)
+ } catch (error) {
+ next(error)
+ }
+ }
+
+ static async posts(req, res, next) {
+ try {
+ let {category, search, sortBy, page} = req.query
+ const user = req.user
+ let cek
+ if (category && search) {
+ cek = {
+ CategoryId: category,
+ title : {
+ [Op.iLike]: `%${search}%`
+ }
+ }
+ } else if (category) {
+ cek = {CategoryId: category}
+ } else if (search) {
+ cek = {
+ title : {
+ [Op.iLike]: `%${search}%`
+ }
+ }
+ }
+
+ if (!page) {
+ page = 1
+ }
+
+ if (!sortBy) {
+ sortBy = 'createdAt'
+ }
+
+ const {count} = await Post.findAndCountAll()
+
+ const totalPage = Math.ceil(count/10)
+ const totalData = count
+
+ const data = await Post.findAll({
+ where: cek,
+ include: [{
+ model: User,
+ include: {model: Profile}
+ }, {
+ model: Category
+ }, {
+ model: Comment,
+ include: {
+ model: User,
+ include: {model: Profile}
+ }
+ }],
+ order: [[`${sortBy}`, `ASC`]],
+ limit: 10,
+ offset: page * 10 - 10
+ })
+ res.status(200).json({totalPage, totalData ,data, user})
+ } catch (error) {
+ console.log(error)
+ next(error)
+ }
+ }
+
+ static async detailPost(req, res, next) {
+ try {
+ const {postId} = req.params
+ const post = await Post.findByPk(postId, {
+ include: [{
+ model: User,
+ include: {model: Profile}
+ }, {
+ model: Category
+ }, {
+ model: Comment,
+ include: {
+ model: User,
+ include: {model: Profile}
+ }
+ }],
+ })
+ if (!post) {
+ throw { name: 'NotFound', message: 'Post not Found' }
+ }
+
+ res.status(200).json(post)
+ } catch (error) {
+ next(error)
+ }
+ }
+
+ static async editPost(req, res, next) {
+ try {
+ const {postId} = req.params
+ const post = await Post.findByPk(postId)
+ if (!post) {
+ throw { name: 'NotFound', message: 'Post not Found' }
+ }
+
+ const newPost = req.body
+ const updated = await post.update(newPost)
+ res.status(201).json(updated)
+ } catch (error) {
+ next(error)
+ }
+ }
+}
+
+module.exports = PostController
\ No newline at end of file
diff --git a/server/controllers/profile.js b/server/controllers/profile.js
new file mode 100644
index 0000000..3064597
--- /dev/null
+++ b/server/controllers/profile.js
@@ -0,0 +1,48 @@
+const {Profile, User, Post} = require('../models')
+
+class ProfileController {
+
+ static async editProfile(req, res, next) {
+ try {
+ const {username} = req.params
+ const profile = req.body
+
+ const {id} = await User.findOne({where: {username}})
+ if (!id) {
+ throw {name: 'NotFound', message: 'User not found'}
+ }
+
+ const data = await Profile.findOne({where: {UserId: id}})
+
+ const updated = await data.update(profile)
+ res.status(201).json(updated)
+ } catch (error) {
+ next(error)
+ }
+ }
+
+ static async getProfile(req, res, next) {
+ try {
+ const {username} = req.params
+ const user = await User.findOne({where: {username: username}})
+ if (!user.id) {
+ throw {name: 'NotFound', message: 'User not found'}
+ }
+
+ const profile = await Profile.findOne({
+ where: {UserId: user.id},
+ include: {
+ model: User,
+ include: {
+ model: Post
+ }
+ }
+ })
+ res.status(200).json(profile)
+ } catch (error) {
+ next(error)
+ }
+ }
+}
+
+module.exports = ProfileController
\ No newline at end of file
diff --git a/server/controllers/user.js b/server/controllers/user.js
new file mode 100644
index 0000000..72c644b
--- /dev/null
+++ b/server/controllers/user.js
@@ -0,0 +1,208 @@
+const { comparePassword } = require('../helper/bcrypt');
+const getProfileImg = require('../helper/dicebear');
+const { signToken } = require('../helper/jwt')
+const { User, Profile } = require('../models')
+const { OAuth2Client } = require('google-auth-library');
+const client = new OAuth2Client();
+const midtransClient = require('midtrans-client');
+const nodemailer = require('nodemailer')
+
+class UserController {
+ static async login(req, res, next) {
+ try {
+ const { email, password } = req.body
+ if (!email) {
+ throw { name: 'BadRequest', message: 'Email is required' }
+ }
+ if (!password) {
+ throw { name: 'BadRequest', message: 'Password is required' }
+ }
+
+ const user = await User.findOne({ where: { email } })
+ if (!user) {
+ throw { name: 'Unauthorized', message: 'Invalid username/password' }
+ }
+
+ if (user.role !== 'GM') {
+ const isValid = comparePassword(password, user.password)
+ if (!isValid) {
+ throw { name: 'Unauthorized', message: 'Invalid username/password' }
+ }
+ } else {
+ if (user.password !== password) {
+ throw { name: 'Unauthorized', message: 'Invalid username/password' }
+ }
+ }
+
+ const access_token = signToken({ id: user.id })
+ res.status(200).json({ access_token })
+ } catch (error) {
+ next(error)
+ }
+ }
+
+ static async loginOAuth(req, res, next) {
+ try {
+ const ticket = await client.verifyIdToken({
+ idToken: req.body.g_token,
+ audience: process.env.G_CLIENT,
+ });
+ console.log(req.body, '<<< user')
+ const payload = ticket.getPayload();
+
+ let user = await User.findOne({ where: { email: payload.email } })
+ if (!user) {
+ user = await User.create({
+ username: payload.email,
+ email: payload.email,
+ password: String(Math.random)
+ })
+
+ if(user) {
+ const transporter = nodemailer.createTransport({
+ service: "gmail",
+ auth: {
+ user: "luluswahyu99.lw@gmail.com",
+ pass: "rilb xeqp jwat cyll"
+ }
+ })
+
+ const mailOptions = {
+ from: "rahasiailahi1998@mail.com",
+ to: user.email,
+ subject: 'confirmation',
+ text: "Your register is success"
+ }
+
+ transporter.sendMail(mailOptions, (error, info) => {
+ if(error) {
+ console.log(error)
+ res.status(400).json({message: 'wrong email'})
+ } else {
+ console.log("email sent")
+ res.status(200).json({message: 'Email success to send'})
+ }
+ })
+ }
+ const style = 'adventurer'
+ const seed = Date.now().toString()
+
+ const img = await getProfileImg(style, seed)
+ await Profile.create({ imgUrl: img, displayName: user.username, firstName: user.username, status: user.status, UserId: user.id })
+ }
+
+ // console.log(user, '<<< user')
+ const access_token = signToken({ id: user.id })
+ res.status(200).json({ access_token })
+ } catch (error) {
+ next(error)
+ }
+ }
+
+ static async register(req, res, next) {
+ try {
+ const style = 'adventurer'
+ const seed = Date.now().toString()
+
+ const img = await getProfileImg(style, seed)
+ const user = await User.create({ ...req.body, status: 'Free' })
+ if(user) {
+ const transporter = nodemailer.createTransport({
+ service: "gmail",
+ auth: {
+ user: "luluswahyu99.lw@gmail.com",
+ pass: "rilb xeqp jwat cyll"
+ }
+ })
+
+ const mailOptions = {
+ from: "rahasiailahi1998@mail.com",
+ to: user.email,
+ Text: "Your account is acctive"
+ }
+
+ transporter.sendMail(mailOptions, (error, info) => {
+ if(error) {
+ console.log(error)
+ res.status(400).json({message: 'wrong email'})
+ } else {
+ console.log("email sent")
+ res.status(200).json({message: 'Email success to send'})
+ }
+ })
+ }
+
+ await Profile.create({ imgUrl: img, displayName: user.username, firstName: user.username, status: user.status, UserId: user.id })
+ res.status(201).json(user)
+ } catch (error) {
+ next(error)
+ }
+ }
+
+ static async upgradeUser(req, res, next) {
+ try {
+ const { userId } = req.params
+ const { orderId } = req.body
+ const user = await User.findByPk(userId)
+ const profile = await Profile.findOne({ where: { UserId: user.id } })
+
+ if (!user) {
+ throw { name: 'NotFound', message: 'User not found' }
+ }
+
+ if (!orderId) {
+ throw { name: 'Forbidden', message: 'Order not complete' }
+ }
+
+ await profile.update({ status: 'Immortal' })
+ const updateUser = await user.update({ status: 'Immortal' })
+
+ res.status(201).json({ updateUser })
+ } catch (error) {
+ console.log(error)
+ next(error)
+ }
+ }
+
+ static async payment(req, res, next) {
+ try {
+ const { userId } = req.params
+ const user = await User.findByPk(userId)
+ const profile = await Profile.findOne({ where: { UserId: user.id } })
+
+ const snap = new midtransClient.Snap({
+ isProduction: false,
+ serverKey: process.env.SERVER_KEY
+ });
+
+ const orderId = `trx-ua-${new Date().getTime()}`
+
+ const parameter = {
+ "transaction_details": {
+ "order_id": orderId,
+ "gross_amount": 10000
+ },
+ "credit_card": {
+ "secure": true
+ },
+ "customer_details": {
+ "first_name": profile.firstName,
+ "last_name": profile.lastName,
+ "email": user.email
+ }
+ }
+
+ const { token } = await snap.createTransaction(parameter)
+
+ if (!user) {
+ throw { name: 'NotFound', message: 'User not found' }
+ }
+
+ res.status(201).json({ transaction_token: token, orderId })
+ } catch (error) {
+
+ }
+ }
+}
+
+module.exports = UserController
\ No newline at end of file
diff --git a/server/coverage/clover.xml b/server/coverage/clover.xml
new file mode 100644
index 0000000..462ab3c
--- /dev/null
+++ b/server/coverage/clover.xml
@@ -0,0 +1,447 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/server/coverage/coverage-final.json b/server/coverage/coverage-final.json
new file mode 100644
index 0000000..9fbe20a
--- /dev/null
+++ b/server/coverage/coverage-final.json
@@ -0,0 +1,20 @@
+{"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\app.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\app.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},"1":{"start":{"line":2,"column":4},"end":{"line":2,"column":30}},"2":{"start":{"line":5,"column":16},"end":{"line":5,"column":34}},"3":{"start":{"line":6,"column":12},"end":{"line":6,"column":21}},"4":{"start":{"line":7,"column":15},"end":{"line":7,"column":34}},"5":{"start":{"line":8,"column":13},"end":{"line":8,"column":28}},"6":{"start":{"line":10,"column":0},"end":{"line":10,"column":15}},"7":{"start":{"line":11,"column":0},"end":{"line":11,"column":23}},"8":{"start":{"line":12,"column":0},"end":{"line":12,"column":47}},"9":{"start":{"line":14,"column":0},"end":{"line":14,"column":15}},"10":{"start":{"line":16,"column":0},"end":{"line":16,"column":20}}},"fnMap":{},"branchMap":{"0":{"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},"type":"if","locations":[{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},{"start":{},"end":{}}],"line":1}},"s":{"0":13,"1":13,"2":13,"3":13,"4":13,"5":13,"6":13,"7":13,"8":13,"9":13,"10":13},"f":{},"b":{"0":[13,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"bc736eb97649c26ed1eaf0d73d5e34043d01ff5c"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\controllers\\category.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\controllers\\category.js","statementMap":{"0":{"start":{"line":1,"column":21},"end":{"line":1,"column":41}},"1":{"start":{"line":2,"column":14},"end":{"line":2,"column":30}},"2":{"start":{"line":6,"column":8},"end":{"line":11,"column":9}},"3":{"start":{"line":7,"column":25},"end":{"line":7,"column":56}},"4":{"start":{"line":8,"column":12},"end":{"line":8,"column":38}},"5":{"start":{"line":10,"column":12},"end":{"line":10,"column":23}},"6":{"start":{"line":15,"column":8},"end":{"line":20,"column":9}},"7":{"start":{"line":16,"column":25},"end":{"line":16,"column":49}},"8":{"start":{"line":17,"column":12},"end":{"line":17,"column":38}},"9":{"start":{"line":19,"column":12},"end":{"line":19,"column":23}},"10":{"start":{"line":25,"column":0},"end":{"line":25,"column":35}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":4},"end":{"line":5,"column":5}},"loc":{"start":{"line":5,"column":45},"end":{"line":12,"column":5}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":14,"column":4},"end":{"line":14,"column":5}},"loc":{"start":{"line":14,"column":44},"end":{"line":21,"column":5}},"line":14}},"branchMap":{},"s":{"0":13,"1":13,"2":3,"3":3,"4":1,"5":2,"6":1,"7":1,"8":1,"9":0,"10":13},"f":{"0":3,"1":1},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"a372971cfb507f51e79e272d4b9a97c376843d83"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\controllers\\comment.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\controllers\\comment.js","statementMap":{"0":{"start":{"line":1,"column":24},"end":{"line":1,"column":44}},"1":{"start":{"line":5,"column":8},"end":{"line":16,"column":9}},"2":{"start":{"line":6,"column":25},"end":{"line":6,"column":33}},"3":{"start":{"line":7,"column":29},"end":{"line":7,"column":39}},"4":{"start":{"line":8,"column":25},"end":{"line":8,"column":52}},"5":{"start":{"line":9,"column":12},"end":{"line":11,"column":13}},"6":{"start":{"line":10,"column":16},"end":{"line":10,"column":67}},"7":{"start":{"line":12,"column":28},"end":{"line":12,"column":91}},"8":{"start":{"line":13,"column":12},"end":{"line":13,"column":41}},"9":{"start":{"line":15,"column":12},"end":{"line":15,"column":23}},"10":{"start":{"line":20,"column":8},"end":{"line":32,"column":9}},"11":{"start":{"line":21,"column":32},"end":{"line":21,"column":42}},"12":{"start":{"line":22,"column":28},"end":{"line":22,"column":61}},"13":{"start":{"line":23,"column":12},"end":{"line":25,"column":13}},"14":{"start":{"line":24,"column":16},"end":{"line":24,"column":67}},"15":{"start":{"line":27,"column":12},"end":{"line":27,"column":59}},"16":{"start":{"line":28,"column":12},"end":{"line":28,"column":61}},"17":{"start":{"line":30,"column":12},"end":{"line":30,"column":30}},"18":{"start":{"line":31,"column":12},"end":{"line":31,"column":23}},"19":{"start":{"line":36,"column":0},"end":{"line":36,"column":34}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":4},"end":{"line":4,"column":5}},"loc":{"start":{"line":4,"column":44},"end":{"line":17,"column":5}},"line":4},"1":{"name":"(anonymous_1)","decl":{"start":{"line":19,"column":4},"end":{"line":19,"column":5}},"loc":{"start":{"line":19,"column":48},"end":{"line":33,"column":5}},"line":19}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":12},"end":{"line":11,"column":13}},"type":"if","locations":[{"start":{"line":9,"column":12},"end":{"line":11,"column":13}},{"start":{},"end":{}}],"line":9},"1":{"loc":{"start":{"line":23,"column":12},"end":{"line":25,"column":13}},"type":"if","locations":[{"start":{"line":23,"column":12},"end":{"line":25,"column":13}},{"start":{},"end":{}}],"line":23}},"s":{"0":13,"1":2,"2":2,"3":2,"4":2,"5":2,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":0,"15":1,"16":1,"17":0,"18":0,"19":13},"f":{"0":2,"1":1},"b":{"0":[1,1],"1":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"290a9f20eb40748cfd5698ac7209431a437ad518"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\controllers\\post.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\controllers\\post.js","statementMap":{"0":{"start":{"line":1,"column":49},"end":{"line":1,"column":69}},"1":{"start":{"line":2,"column":15},"end":{"line":2,"column":35}},"2":{"start":{"line":6,"column":8},"end":{"line":13,"column":9}},"3":{"start":{"line":7,"column":25},"end":{"line":7,"column":33}},"4":{"start":{"line":9,"column":25},"end":{"line":9,"column":69}},"5":{"start":{"line":10,"column":12},"end":{"line":10,"column":38}},"6":{"start":{"line":12,"column":12},"end":{"line":12,"column":23}},"7":{"start":{"line":17,"column":8},"end":{"line":73,"column":9}},"8":{"start":{"line":18,"column":51},"end":{"line":18,"column":60}},"9":{"start":{"line":19,"column":25},"end":{"line":19,"column":33}},"10":{"start":{"line":21,"column":12},"end":{"line":36,"column":13}},"11":{"start":{"line":22,"column":16},"end":{"line":27,"column":17}},"12":{"start":{"line":28,"column":19},"end":{"line":36,"column":13}},"13":{"start":{"line":29,"column":16},"end":{"line":29,"column":44}},"14":{"start":{"line":30,"column":19},"end":{"line":36,"column":13}},"15":{"start":{"line":31,"column":16},"end":{"line":35,"column":17}},"16":{"start":{"line":38,"column":12},"end":{"line":40,"column":13}},"17":{"start":{"line":39,"column":16},"end":{"line":39,"column":24}},"18":{"start":{"line":42,"column":12},"end":{"line":44,"column":13}},"19":{"start":{"line":43,"column":16},"end":{"line":43,"column":36}},"20":{"start":{"line":46,"column":28},"end":{"line":46,"column":56}},"21":{"start":{"line":48,"column":30},"end":{"line":48,"column":49}},"22":{"start":{"line":49,"column":30},"end":{"line":49,"column":35}},"23":{"start":{"line":51,"column":25},"end":{"line":68,"column":14}},"24":{"start":{"line":69,"column":12},"end":{"line":69,"column":68}},"25":{"start":{"line":71,"column":12},"end":{"line":71,"column":30}},"26":{"start":{"line":72,"column":12},"end":{"line":72,"column":23}},"27":{"start":{"line":77,"column":8},"end":{"line":100,"column":9}},"28":{"start":{"line":78,"column":29},"end":{"line":78,"column":39}},"29":{"start":{"line":79,"column":25},"end":{"line":92,"column":14}},"30":{"start":{"line":93,"column":12},"end":{"line":95,"column":13}},"31":{"start":{"line":94,"column":16},"end":{"line":94,"column":69}},"32":{"start":{"line":97,"column":12},"end":{"line":97,"column":38}},"33":{"start":{"line":99,"column":12},"end":{"line":99,"column":23}},"34":{"start":{"line":104,"column":8},"end":{"line":116,"column":9}},"35":{"start":{"line":105,"column":29},"end":{"line":105,"column":39}},"36":{"start":{"line":106,"column":25},"end":{"line":106,"column":52}},"37":{"start":{"line":107,"column":12},"end":{"line":109,"column":13}},"38":{"start":{"line":108,"column":16},"end":{"line":108,"column":69}},"39":{"start":{"line":111,"column":28},"end":{"line":111,"column":36}},"40":{"start":{"line":112,"column":28},"end":{"line":112,"column":54}},"41":{"start":{"line":113,"column":12},"end":{"line":113,"column":41}},"42":{"start":{"line":115,"column":12},"end":{"line":115,"column":23}},"43":{"start":{"line":120,"column":0},"end":{"line":120,"column":31}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":4},"end":{"line":5,"column":5}},"loc":{"start":{"line":5,"column":41},"end":{"line":14,"column":5}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":16,"column":4},"end":{"line":16,"column":5}},"loc":{"start":{"line":16,"column":39},"end":{"line":74,"column":5}},"line":16},"2":{"name":"(anonymous_2)","decl":{"start":{"line":76,"column":4},"end":{"line":76,"column":5}},"loc":{"start":{"line":76,"column":44},"end":{"line":101,"column":5}},"line":76},"3":{"name":"(anonymous_3)","decl":{"start":{"line":103,"column":4},"end":{"line":103,"column":5}},"loc":{"start":{"line":103,"column":42},"end":{"line":117,"column":5}},"line":103}},"branchMap":{"0":{"loc":{"start":{"line":21,"column":12},"end":{"line":36,"column":13}},"type":"if","locations":[{"start":{"line":21,"column":12},"end":{"line":36,"column":13}},{"start":{"line":28,"column":19},"end":{"line":36,"column":13}}],"line":21},"1":{"loc":{"start":{"line":21,"column":16},"end":{"line":21,"column":34}},"type":"binary-expr","locations":[{"start":{"line":21,"column":16},"end":{"line":21,"column":24}},{"start":{"line":21,"column":28},"end":{"line":21,"column":34}}],"line":21},"2":{"loc":{"start":{"line":28,"column":19},"end":{"line":36,"column":13}},"type":"if","locations":[{"start":{"line":28,"column":19},"end":{"line":36,"column":13}},{"start":{"line":30,"column":19},"end":{"line":36,"column":13}}],"line":28},"3":{"loc":{"start":{"line":30,"column":19},"end":{"line":36,"column":13}},"type":"if","locations":[{"start":{"line":30,"column":19},"end":{"line":36,"column":13}},{"start":{},"end":{}}],"line":30},"4":{"loc":{"start":{"line":38,"column":12},"end":{"line":40,"column":13}},"type":"if","locations":[{"start":{"line":38,"column":12},"end":{"line":40,"column":13}},{"start":{},"end":{}}],"line":38},"5":{"loc":{"start":{"line":42,"column":12},"end":{"line":44,"column":13}},"type":"if","locations":[{"start":{"line":42,"column":12},"end":{"line":44,"column":13}},{"start":{},"end":{}}],"line":42},"6":{"loc":{"start":{"line":93,"column":12},"end":{"line":95,"column":13}},"type":"if","locations":[{"start":{"line":93,"column":12},"end":{"line":95,"column":13}},{"start":{},"end":{}}],"line":93},"7":{"loc":{"start":{"line":107,"column":12},"end":{"line":109,"column":13}},"type":"if","locations":[{"start":{"line":107,"column":12},"end":{"line":109,"column":13}},{"start":{},"end":{}}],"line":107}},"s":{"0":13,"1":13,"2":3,"3":3,"4":3,"5":1,"6":2,"7":1,"8":1,"9":1,"10":1,"11":0,"12":1,"13":0,"14":1,"15":0,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":0,"26":0,"27":1,"28":1,"29":1,"30":1,"31":0,"32":1,"33":0,"34":1,"35":1,"36":1,"37":1,"38":0,"39":1,"40":1,"41":1,"42":0,"43":13},"f":{"0":3,"1":1,"2":1,"3":1},"b":{"0":[0,1],"1":[1,0],"2":[0,1],"3":[0,1],"4":[1,0],"5":[1,0],"6":[0,1],"7":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"ae4932e543b55c88abb304cbb29599ffdd91adff"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\controllers\\profile.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\controllers\\profile.js","statementMap":{"0":{"start":{"line":1,"column":30},"end":{"line":1,"column":50}},"1":{"start":{"line":6,"column":8},"end":{"line":21,"column":9}},"2":{"start":{"line":7,"column":31},"end":{"line":7,"column":41}},"3":{"start":{"line":8,"column":28},"end":{"line":8,"column":36}},"4":{"start":{"line":10,"column":25},"end":{"line":10,"column":64}},"5":{"start":{"line":11,"column":12},"end":{"line":13,"column":13}},"6":{"start":{"line":12,"column":16},"end":{"line":12,"column":67}},"7":{"start":{"line":15,"column":25},"end":{"line":15,"column":69}},"8":{"start":{"line":17,"column":28},"end":{"line":17,"column":54}},"9":{"start":{"line":18,"column":12},"end":{"line":18,"column":41}},"10":{"start":{"line":20,"column":12},"end":{"line":20,"column":23}},"11":{"start":{"line":25,"column":8},"end":{"line":44,"column":9}},"12":{"start":{"line":26,"column":31},"end":{"line":26,"column":41}},"13":{"start":{"line":27,"column":25},"end":{"line":27,"column":74}},"14":{"start":{"line":28,"column":12},"end":{"line":30,"column":13}},"15":{"start":{"line":29,"column":16},"end":{"line":29,"column":67}},"16":{"start":{"line":32,"column":28},"end":{"line":40,"column":14}},"17":{"start":{"line":41,"column":12},"end":{"line":41,"column":41}},"18":{"start":{"line":43,"column":12},"end":{"line":43,"column":23}},"19":{"start":{"line":48,"column":0},"end":{"line":48,"column":34}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":4},"end":{"line":5,"column":5}},"loc":{"start":{"line":5,"column":45},"end":{"line":22,"column":5}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":24,"column":4},"end":{"line":24,"column":5}},"loc":{"start":{"line":24,"column":44},"end":{"line":45,"column":5}},"line":24}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":12},"end":{"line":13,"column":13}},"type":"if","locations":[{"start":{"line":11,"column":12},"end":{"line":13,"column":13}},{"start":{},"end":{}}],"line":11},"1":{"loc":{"start":{"line":28,"column":12},"end":{"line":30,"column":13}},"type":"if","locations":[{"start":{"line":28,"column":12},"end":{"line":30,"column":13}},{"start":{},"end":{}}],"line":28}},"s":{"0":13,"1":3,"2":3,"3":3,"4":3,"5":3,"6":0,"7":3,"8":3,"9":1,"10":2,"11":1,"12":1,"13":1,"14":1,"15":0,"16":1,"17":1,"18":0,"19":13},"f":{"0":3,"1":1},"b":{"0":[0,3],"1":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"4cb1df92f9f22f89dfd36c751ac13ac386b34268"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\controllers\\user.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\controllers\\user.js","statementMap":{"0":{"start":{"line":1,"column":28},"end":{"line":1,"column":55}},"1":{"start":{"line":2,"column":22},"end":{"line":2,"column":51}},"2":{"start":{"line":3,"column":22},"end":{"line":3,"column":46}},"3":{"start":{"line":4,"column":26},"end":{"line":4,"column":46}},"4":{"start":{"line":5,"column":25},"end":{"line":5,"column":55}},"5":{"start":{"line":6,"column":15},"end":{"line":6,"column":33}},"6":{"start":{"line":7,"column":23},"end":{"line":7,"column":49}},"7":{"start":{"line":11,"column":8},"end":{"line":40,"column":9}},"8":{"start":{"line":12,"column":40},"end":{"line":12,"column":48}},"9":{"start":{"line":13,"column":12},"end":{"line":15,"column":13}},"10":{"start":{"line":14,"column":16},"end":{"line":14,"column":74}},"11":{"start":{"line":16,"column":12},"end":{"line":18,"column":13}},"12":{"start":{"line":17,"column":16},"end":{"line":17,"column":77}},"13":{"start":{"line":20,"column":25},"end":{"line":20,"column":65}},"14":{"start":{"line":21,"column":12},"end":{"line":23,"column":13}},"15":{"start":{"line":22,"column":16},"end":{"line":22,"column":84}},"16":{"start":{"line":25,"column":12},"end":{"line":34,"column":13}},"17":{"start":{"line":26,"column":32},"end":{"line":26,"column":72}},"18":{"start":{"line":27,"column":16},"end":{"line":29,"column":17}},"19":{"start":{"line":28,"column":20},"end":{"line":28,"column":88}},"20":{"start":{"line":31,"column":16},"end":{"line":33,"column":17}},"21":{"start":{"line":32,"column":20},"end":{"line":32,"column":88}},"22":{"start":{"line":36,"column":33},"end":{"line":36,"column":59}},"23":{"start":{"line":37,"column":12},"end":{"line":37,"column":50}},"24":{"start":{"line":39,"column":12},"end":{"line":39,"column":23}},"25":{"start":{"line":44,"column":8},"end":{"line":71,"column":9}},"26":{"start":{"line":45,"column":27},"end":{"line":48,"column":14}},"27":{"start":{"line":49,"column":12},"end":{"line":49,"column":45}},"28":{"start":{"line":50,"column":28},"end":{"line":50,"column":47}},"29":{"start":{"line":52,"column":23},"end":{"line":52,"column":78}},"30":{"start":{"line":53,"column":12},"end":{"line":64,"column":13}},"31":{"start":{"line":54,"column":16},"end":{"line":58,"column":18}},"32":{"start":{"line":59,"column":30},"end":{"line":59,"column":42}},"33":{"start":{"line":60,"column":29},"end":{"line":60,"column":50}},"34":{"start":{"line":62,"column":28},"end":{"line":62,"column":60}},"35":{"start":{"line":63,"column":16},"end":{"line":63,"column":145}},"36":{"start":{"line":67,"column":33},"end":{"line":67,"column":59}},"37":{"start":{"line":68,"column":12},"end":{"line":68,"column":50}},"38":{"start":{"line":70,"column":12},"end":{"line":70,"column":23}},"39":{"start":{"line":75,"column":8},"end":{"line":85,"column":9}},"40":{"start":{"line":76,"column":26},"end":{"line":76,"column":38}},"41":{"start":{"line":77,"column":25},"end":{"line":77,"column":46}},"42":{"start":{"line":79,"column":24},"end":{"line":79,"column":56}},"43":{"start":{"line":80,"column":25},"end":{"line":80,"column":75}},"44":{"start":{"line":81,"column":12},"end":{"line":81,"column":141}},"45":{"start":{"line":82,"column":12},"end":{"line":82,"column":38}},"46":{"start":{"line":84,"column":12},"end":{"line":84,"column":23}},"47":{"start":{"line":89,"column":8},"end":{"line":110,"column":9}},"48":{"start":{"line":90,"column":31},"end":{"line":90,"column":41}},"49":{"start":{"line":91,"column":32},"end":{"line":91,"column":40}},"50":{"start":{"line":92,"column":25},"end":{"line":92,"column":52}},"51":{"start":{"line":93,"column":28},"end":{"line":93,"column":81}},"52":{"start":{"line":95,"column":12},"end":{"line":97,"column":13}},"53":{"start":{"line":96,"column":16},"end":{"line":96,"column":69}},"54":{"start":{"line":99,"column":12},"end":{"line":101,"column":13}},"55":{"start":{"line":100,"column":16},"end":{"line":100,"column":74}},"56":{"start":{"line":103,"column":12},"end":{"line":103,"column":56}},"57":{"start":{"line":104,"column":31},"end":{"line":104,"column":72}},"58":{"start":{"line":106,"column":12},"end":{"line":106,"column":48}},"59":{"start":{"line":108,"column":12},"end":{"line":108,"column":30}},"60":{"start":{"line":109,"column":12},"end":{"line":109,"column":23}},"61":{"start":{"line":114,"column":8},"end":{"line":150,"column":9}},"62":{"start":{"line":115,"column":31},"end":{"line":115,"column":41}},"63":{"start":{"line":116,"column":25},"end":{"line":116,"column":52}},"64":{"start":{"line":117,"column":28},"end":{"line":117,"column":81}},"65":{"start":{"line":119,"column":25},"end":{"line":122,"column":14}},"66":{"start":{"line":124,"column":28},"end":{"line":124,"column":60}},"67":{"start":{"line":126,"column":30},"end":{"line":139,"column":13}},"68":{"start":{"line":141,"column":30},"end":{"line":141,"column":69}},"69":{"start":{"line":143,"column":12},"end":{"line":145,"column":13}},"70":{"start":{"line":144,"column":16},"end":{"line":144,"column":69}},"71":{"start":{"line":147,"column":12},"end":{"line":147,"column":71}},"72":{"start":{"line":154,"column":0},"end":{"line":154,"column":31}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":10,"column":4},"end":{"line":10,"column":5}},"loc":{"start":{"line":10,"column":39},"end":{"line":41,"column":5}},"line":10},"1":{"name":"(anonymous_1)","decl":{"start":{"line":43,"column":4},"end":{"line":43,"column":5}},"loc":{"start":{"line":43,"column":44},"end":{"line":72,"column":5}},"line":43},"2":{"name":"(anonymous_2)","decl":{"start":{"line":74,"column":4},"end":{"line":74,"column":5}},"loc":{"start":{"line":74,"column":42},"end":{"line":86,"column":5}},"line":74},"3":{"name":"(anonymous_3)","decl":{"start":{"line":88,"column":4},"end":{"line":88,"column":5}},"loc":{"start":{"line":88,"column":45},"end":{"line":111,"column":5}},"line":88},"4":{"name":"(anonymous_4)","decl":{"start":{"line":113,"column":4},"end":{"line":113,"column":5}},"loc":{"start":{"line":113,"column":41},"end":{"line":151,"column":5}},"line":113}},"branchMap":{"0":{"loc":{"start":{"line":13,"column":12},"end":{"line":15,"column":13}},"type":"if","locations":[{"start":{"line":13,"column":12},"end":{"line":15,"column":13}},{"start":{},"end":{}}],"line":13},"1":{"loc":{"start":{"line":16,"column":12},"end":{"line":18,"column":13}},"type":"if","locations":[{"start":{"line":16,"column":12},"end":{"line":18,"column":13}},{"start":{},"end":{}}],"line":16},"2":{"loc":{"start":{"line":21,"column":12},"end":{"line":23,"column":13}},"type":"if","locations":[{"start":{"line":21,"column":12},"end":{"line":23,"column":13}},{"start":{},"end":{}}],"line":21},"3":{"loc":{"start":{"line":25,"column":12},"end":{"line":34,"column":13}},"type":"if","locations":[{"start":{"line":25,"column":12},"end":{"line":34,"column":13}},{"start":{"line":30,"column":19},"end":{"line":34,"column":13}}],"line":25},"4":{"loc":{"start":{"line":27,"column":16},"end":{"line":29,"column":17}},"type":"if","locations":[{"start":{"line":27,"column":16},"end":{"line":29,"column":17}},{"start":{},"end":{}}],"line":27},"5":{"loc":{"start":{"line":31,"column":16},"end":{"line":33,"column":17}},"type":"if","locations":[{"start":{"line":31,"column":16},"end":{"line":33,"column":17}},{"start":{},"end":{}}],"line":31},"6":{"loc":{"start":{"line":53,"column":12},"end":{"line":64,"column":13}},"type":"if","locations":[{"start":{"line":53,"column":12},"end":{"line":64,"column":13}},{"start":{},"end":{}}],"line":53},"7":{"loc":{"start":{"line":95,"column":12},"end":{"line":97,"column":13}},"type":"if","locations":[{"start":{"line":95,"column":12},"end":{"line":97,"column":13}},{"start":{},"end":{}}],"line":95},"8":{"loc":{"start":{"line":99,"column":12},"end":{"line":101,"column":13}},"type":"if","locations":[{"start":{"line":99,"column":12},"end":{"line":101,"column":13}},{"start":{},"end":{}}],"line":99},"9":{"loc":{"start":{"line":143,"column":12},"end":{"line":145,"column":13}},"type":"if","locations":[{"start":{"line":143,"column":12},"end":{"line":145,"column":13}},{"start":{},"end":{}}],"line":143}},"s":{"0":13,"1":13,"2":13,"3":13,"4":13,"5":13,"6":13,"7":4,"8":4,"9":4,"10":1,"11":3,"12":1,"13":2,"14":2,"15":1,"16":1,"17":1,"18":1,"19":0,"20":0,"21":0,"22":1,"23":1,"24":3,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":10,"40":10,"41":10,"42":10,"43":10,"44":1,"45":1,"46":9,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":0,"54":1,"55":0,"56":1,"57":1,"58":1,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":13},"f":{"0":4,"1":0,"2":10,"3":1,"4":0},"b":{"0":[1,3],"1":[1,2],"2":[1,1],"3":[1,0],"4":[0,1],"5":[0,0],"6":[0,0],"7":[0,1],"8":[0,1],"9":[0,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"4ca350c1c1a19db3825cd866bdd88617ecd687d4"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\helper\\bcrypt.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\helper\\bcrypt.js","statementMap":{"0":{"start":{"line":1,"column":15},"end":{"line":1,"column":32}},"1":{"start":{"line":3,"column":21},"end":{"line":6,"column":1}},"2":{"start":{"line":4,"column":17},"end":{"line":4,"column":39}},"3":{"start":{"line":5,"column":4},"end":{"line":5,"column":42}},"4":{"start":{"line":8,"column":24},"end":{"line":10,"column":1}},"5":{"start":{"line":9,"column":4},"end":{"line":9,"column":53}},"6":{"start":{"line":12,"column":0},"end":{"line":12,"column":48}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":3,"column":21},"end":{"line":3,"column":22}},"loc":{"start":{"line":3,"column":35},"end":{"line":6,"column":1}},"line":3},"1":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":24},"end":{"line":8,"column":25}},"loc":{"start":{"line":8,"column":52},"end":{"line":10,"column":1}},"line":8}},"branchMap":{},"s":{"0":13,"1":13,"2":16,"3":16,"4":13,"5":1,"6":13},"f":{"0":16,"1":1},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"865a7109a4788b9d7a2b4081856417b48499c933"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\helper\\dicebear.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\helper\\dicebear.js","statementMap":{"0":{"start":{"line":1,"column":14},"end":{"line":1,"column":35}},"1":{"start":{"line":5,"column":4},"end":{"line":12,"column":5}},"2":{"start":{"line":6,"column":25},"end":{"line":6,"column":94}},"3":{"start":{"line":7,"column":8},"end":{"line":9,"column":9}},"4":{"start":{"line":8,"column":12},"end":{"line":8,"column":31}},"5":{"start":{"line":11,"column":8},"end":{"line":11,"column":38}},"6":{"start":{"line":15,"column":0},"end":{"line":15,"column":30}}},"fnMap":{"0":{"name":"getProfileImg","decl":{"start":{"line":4,"column":15},"end":{"line":4,"column":28}},"loc":{"start":{"line":4,"column":42},"end":{"line":13,"column":1}},"line":4}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":8},"end":{"line":9,"column":9}},"type":"if","locations":[{"start":{"line":7,"column":8},"end":{"line":9,"column":9}},{"start":{},"end":{}}],"line":7}},"s":{"0":13,"1":10,"2":10,"3":10,"4":10,"5":0,"6":13},"f":{"0":10},"b":{"0":[10,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"0470f848302ef71ce60a016e331d3a010edc887e"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\helper\\jwt.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\helper\\jwt.js","statementMap":{"0":{"start":{"line":1,"column":12},"end":{"line":1,"column":35}},"1":{"start":{"line":3,"column":19},"end":{"line":3,"column":41}},"2":{"start":{"line":5,"column":18},"end":{"line":7,"column":1}},"3":{"start":{"line":6,"column":4},"end":{"line":6,"column":40}},"4":{"start":{"line":9,"column":20},"end":{"line":11,"column":1}},"5":{"start":{"line":10,"column":4},"end":{"line":10,"column":40}},"6":{"start":{"line":13,"column":0},"end":{"line":13,"column":41}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":18},"end":{"line":5,"column":19}},"loc":{"start":{"line":5,"column":31},"end":{"line":7,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":9,"column":20},"end":{"line":9,"column":21}},"loc":{"start":{"line":9,"column":31},"end":{"line":11,"column":1}},"line":9}},"branchMap":{},"s":{"0":13,"1":13,"2":13,"3":12,"4":13,"5":21,"6":13},"f":{"0":12,"1":21},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"471c81139fe2ad83deca25bf4a38fc080ecdfc85"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\middlewares\\authentication.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\middlewares\\authentication.js","statementMap":{"0":{"start":{"line":1,"column":24},"end":{"line":1,"column":48}},"1":{"start":{"line":2,"column":17},"end":{"line":2,"column":37}},"2":{"start":{"line":5,"column":4},"end":{"line":28,"column":5}},"3":{"start":{"line":6,"column":8},"end":{"line":8,"column":9}},"4":{"start":{"line":7,"column":12},"end":{"line":7,"column":45}},"5":{"start":{"line":10,"column":29},"end":{"line":10,"column":68}},"6":{"start":{"line":11,"column":23},"end":{"line":11,"column":48}},"7":{"start":{"line":12,"column":21},"end":{"line":12,"column":44}},"8":{"start":{"line":13,"column":8},"end":{"line":15,"column":9}},"9":{"start":{"line":14,"column":12},"end":{"line":14,"column":45}},"10":{"start":{"line":17,"column":8},"end":{"line":23,"column":9}},"11":{"start":{"line":25,"column":8},"end":{"line":25,"column":14}},"12":{"start":{"line":27,"column":8},"end":{"line":27,"column":19}},"13":{"start":{"line":31,"column":0},"end":{"line":31,"column":31}}},"fnMap":{"0":{"name":"authentication","decl":{"start":{"line":4,"column":15},"end":{"line":4,"column":29}},"loc":{"start":{"line":4,"column":46},"end":{"line":29,"column":1}},"line":4}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":8},"end":{"line":8,"column":9}},"type":"if","locations":[{"start":{"line":6,"column":8},"end":{"line":8,"column":9}},{"start":{},"end":{}}],"line":6},"1":{"loc":{"start":{"line":13,"column":8},"end":{"line":15,"column":9}},"type":"if","locations":[{"start":{"line":13,"column":8},"end":{"line":15,"column":9}},{"start":{},"end":{}}],"line":13}},"s":{"0":13,"1":13,"2":21,"3":21,"4":0,"5":21,"6":21,"7":21,"8":21,"9":1,"10":20,"11":20,"12":1,"13":13},"f":{"0":21},"b":{"0":[0,21],"1":[1,20]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"57f5573840d288524ba4759a5cb97780be985d24"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\middlewares\\authorization.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\middlewares\\authorization.js","statementMap":{"0":{"start":{"line":1,"column":41},"end":{"line":1,"column":61}},"1":{"start":{"line":4,"column":4},"end":{"line":14,"column":5}},"2":{"start":{"line":5,"column":23},"end":{"line":5,"column":31}},"3":{"start":{"line":6,"column":24},"end":{"line":6,"column":72}},"4":{"start":{"line":7,"column":8},"end":{"line":9,"column":9}},"5":{"start":{"line":8,"column":12},"end":{"line":8,"column":74}},"6":{"start":{"line":11,"column":8},"end":{"line":11,"column":14}},"7":{"start":{"line":13,"column":8},"end":{"line":13,"column":19}},"8":{"start":{"line":18,"column":4},"end":{"line":33,"column":5}},"9":{"start":{"line":19,"column":23},"end":{"line":19,"column":31}},"10":{"start":{"line":20,"column":27},"end":{"line":20,"column":37}},"11":{"start":{"line":21,"column":21},"end":{"line":21,"column":48}},"12":{"start":{"line":22,"column":8},"end":{"line":24,"column":9}},"13":{"start":{"line":23,"column":12},"end":{"line":23,"column":65}},"14":{"start":{"line":26,"column":8},"end":{"line":28,"column":9}},"15":{"start":{"line":27,"column":12},"end":{"line":27,"column":74}},"16":{"start":{"line":30,"column":8},"end":{"line":30,"column":14}},"17":{"start":{"line":32,"column":8},"end":{"line":32,"column":19}},"18":{"start":{"line":38,"column":4},"end":{"line":71,"column":5}},"19":{"start":{"line":39,"column":8},"end":{"line":41,"column":9}},"20":{"start":{"line":40,"column":12},"end":{"line":40,"column":63}},"21":{"start":{"line":43,"column":23},"end":{"line":43,"column":31}},"22":{"start":{"line":44,"column":27},"end":{"line":44,"column":37}},"23":{"start":{"line":45,"column":21},"end":{"line":45,"column":48}},"24":{"start":{"line":46,"column":8},"end":{"line":48,"column":9}},"25":{"start":{"line":47,"column":12},"end":{"line":47,"column":65}},"26":{"start":{"line":50,"column":21},"end":{"line":50,"column":44}},"27":{"start":{"line":52,"column":8},"end":{"line":54,"column":9}},"28":{"start":{"line":53,"column":12},"end":{"line":53,"column":65}},"29":{"start":{"line":56,"column":8},"end":{"line":58,"column":9}},"30":{"start":{"line":57,"column":12},"end":{"line":57,"column":25}},"31":{"start":{"line":60,"column":8},"end":{"line":62,"column":9}},"32":{"start":{"line":61,"column":12},"end":{"line":61,"column":25}},"33":{"start":{"line":64,"column":8},"end":{"line":66,"column":9}},"34":{"start":{"line":65,"column":12},"end":{"line":65,"column":74}},"35":{"start":{"line":68,"column":8},"end":{"line":68,"column":14}},"36":{"start":{"line":70,"column":8},"end":{"line":70,"column":19}},"37":{"start":{"line":75,"column":4},"end":{"line":91,"column":5}},"38":{"start":{"line":76,"column":23},"end":{"line":76,"column":31}},"39":{"start":{"line":77,"column":30},"end":{"line":77,"column":40}},"40":{"start":{"line":79,"column":24},"end":{"line":79,"column":57}},"41":{"start":{"line":80,"column":8},"end":{"line":82,"column":9}},"42":{"start":{"line":81,"column":12},"end":{"line":81,"column":68}},"43":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"44":{"start":{"line":85,"column":12},"end":{"line":85,"column":74}},"45":{"start":{"line":88,"column":8},"end":{"line":88,"column":14}},"46":{"start":{"line":90,"column":8},"end":{"line":90,"column":19}},"47":{"start":{"line":94,"column":0},"end":{"line":94,"column":103}}},"fnMap":{"0":{"name":"profileAuthorization","decl":{"start":{"line":3,"column":15},"end":{"line":3,"column":35}},"loc":{"start":{"line":3,"column":52},"end":{"line":15,"column":1}},"line":3},"1":{"name":"postAuthorization","decl":{"start":{"line":17,"column":15},"end":{"line":17,"column":32}},"loc":{"start":{"line":17,"column":49},"end":{"line":35,"column":1}},"line":17},"2":{"name":"statusAuthorization","decl":{"start":{"line":37,"column":15},"end":{"line":37,"column":34}},"loc":{"start":{"line":37,"column":51},"end":{"line":72,"column":1}},"line":37},"3":{"name":"commentAuthorization","decl":{"start":{"line":74,"column":15},"end":{"line":74,"column":35}},"loc":{"start":{"line":74,"column":52},"end":{"line":92,"column":1}},"line":74}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":8},"end":{"line":9,"column":9}},"type":"if","locations":[{"start":{"line":7,"column":8},"end":{"line":9,"column":9}},{"start":{},"end":{}}],"line":7},"1":{"loc":{"start":{"line":22,"column":8},"end":{"line":24,"column":9}},"type":"if","locations":[{"start":{"line":22,"column":8},"end":{"line":24,"column":9}},{"start":{},"end":{}}],"line":22},"2":{"loc":{"start":{"line":26,"column":8},"end":{"line":28,"column":9}},"type":"if","locations":[{"start":{"line":26,"column":8},"end":{"line":28,"column":9}},{"start":{},"end":{}}],"line":26},"3":{"loc":{"start":{"line":39,"column":8},"end":{"line":41,"column":9}},"type":"if","locations":[{"start":{"line":39,"column":8},"end":{"line":41,"column":9}},{"start":{},"end":{}}],"line":39},"4":{"loc":{"start":{"line":46,"column":8},"end":{"line":48,"column":9}},"type":"if","locations":[{"start":{"line":46,"column":8},"end":{"line":48,"column":9}},{"start":{},"end":{}}],"line":46},"5":{"loc":{"start":{"line":52,"column":8},"end":{"line":54,"column":9}},"type":"if","locations":[{"start":{"line":52,"column":8},"end":{"line":54,"column":9}},{"start":{},"end":{}}],"line":52},"6":{"loc":{"start":{"line":56,"column":8},"end":{"line":58,"column":9}},"type":"if","locations":[{"start":{"line":56,"column":8},"end":{"line":58,"column":9}},{"start":{},"end":{}}],"line":56},"7":{"loc":{"start":{"line":60,"column":8},"end":{"line":62,"column":9}},"type":"if","locations":[{"start":{"line":60,"column":8},"end":{"line":62,"column":9}},{"start":{},"end":{}}],"line":60},"8":{"loc":{"start":{"line":64,"column":8},"end":{"line":66,"column":9}},"type":"if","locations":[{"start":{"line":64,"column":8},"end":{"line":66,"column":9}},{"start":{},"end":{}}],"line":64},"9":{"loc":{"start":{"line":80,"column":8},"end":{"line":82,"column":9}},"type":"if","locations":[{"start":{"line":80,"column":8},"end":{"line":82,"column":9}},{"start":{},"end":{}}],"line":80},"10":{"loc":{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},"type":"if","locations":[{"start":{"line":84,"column":8},"end":{"line":86,"column":9}},{"start":{},"end":{}}],"line":84}},"s":{"0":13,"1":3,"2":3,"3":3,"4":3,"5":0,"6":3,"7":0,"8":1,"9":1,"10":1,"11":1,"12":1,"13":0,"14":1,"15":0,"16":1,"17":0,"18":2,"19":2,"20":0,"21":2,"22":2,"23":2,"24":2,"25":1,"26":1,"27":1,"28":0,"29":1,"30":0,"31":1,"32":1,"33":0,"34":0,"35":0,"36":1,"37":2,"38":2,"39":2,"40":2,"41":2,"42":1,"43":1,"44":0,"45":1,"46":1,"47":13},"f":{"0":3,"1":1,"2":2,"3":2},"b":{"0":[0,3],"1":[0,1],"2":[0,1],"3":[0,2],"4":[1,1],"5":[0,1],"6":[0,1],"7":[1,0],"8":[0,0],"9":[1,1],"10":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"514263aad20be965a5944ac4ea7d3ff2f6f0c622"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\middlewares\\errorHandler.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\middlewares\\errorHandler.js","statementMap":{"0":{"start":{"line":3,"column":4},"end":{"line":35,"column":5}},"1":{"start":{"line":5,"column":12},"end":{"line":5,"column":58}},"2":{"start":{"line":6,"column":12},"end":{"line":6,"column":18}},"3":{"start":{"line":8,"column":12},"end":{"line":8,"column":58}},"4":{"start":{"line":9,"column":12},"end":{"line":9,"column":18}},"5":{"start":{"line":11,"column":12},"end":{"line":11,"column":58}},"6":{"start":{"line":12,"column":12},"end":{"line":12,"column":18}},"7":{"start":{"line":14,"column":12},"end":{"line":14,"column":58}},"8":{"start":{"line":15,"column":12},"end":{"line":15,"column":18}},"9":{"start":{"line":18,"column":12},"end":{"line":24,"column":13}},"10":{"start":{"line":19,"column":16},"end":{"line":19,"column":70}},"11":{"start":{"line":20,"column":19},"end":{"line":24,"column":13}},"12":{"start":{"line":21,"column":16},"end":{"line":21,"column":73}},"13":{"start":{"line":23,"column":16},"end":{"line":23,"column":72}},"14":{"start":{"line":25,"column":12},"end":{"line":25,"column":18}},"15":{"start":{"line":27,"column":12},"end":{"line":27,"column":70}},"16":{"start":{"line":28,"column":12},"end":{"line":28,"column":18}},"17":{"start":{"line":30,"column":12},"end":{"line":30,"column":58}},"18":{"start":{"line":31,"column":12},"end":{"line":31,"column":18}},"19":{"start":{"line":33,"column":12},"end":{"line":33,"column":68}},"20":{"start":{"line":34,"column":12},"end":{"line":34,"column":18}},"21":{"start":{"line":38,"column":0},"end":{"line":38,"column":29}}},"fnMap":{"0":{"name":"errorHandler","decl":{"start":{"line":2,"column":9},"end":{"line":2,"column":21}},"loc":{"start":{"line":2,"column":45},"end":{"line":36,"column":1}},"line":2}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":4},"end":{"line":35,"column":5}},"type":"switch","locations":[{"start":{"line":4,"column":8},"end":{"line":6,"column":18}},{"start":{"line":7,"column":8},"end":{"line":9,"column":18}},{"start":{"line":10,"column":8},"end":{"line":12,"column":18}},{"start":{"line":13,"column":8},"end":{"line":15,"column":18}},{"start":{"line":16,"column":8},"end":{"line":16,"column":40}},{"start":{"line":17,"column":8},"end":{"line":25,"column":18}},{"start":{"line":26,"column":8},"end":{"line":28,"column":18}},{"start":{"line":29,"column":8},"end":{"line":31,"column":18}},{"start":{"line":32,"column":8},"end":{"line":34,"column":18}}],"line":3},"1":{"loc":{"start":{"line":18,"column":12},"end":{"line":24,"column":13}},"type":"if","locations":[{"start":{"line":18,"column":12},"end":{"line":24,"column":13}},{"start":{"line":20,"column":19},"end":{"line":24,"column":13}}],"line":18},"2":{"loc":{"start":{"line":20,"column":19},"end":{"line":24,"column":13}},"type":"if","locations":[{"start":{"line":20,"column":19},"end":{"line":24,"column":13}},{"start":{"line":22,"column":19},"end":{"line":24,"column":13}}],"line":20}},"s":{"0":22,"1":2,"2":2,"3":1,"4":1,"5":3,"6":3,"7":0,"8":0,"9":15,"10":1,"11":14,"12":1,"13":13,"14":15,"15":1,"16":1,"17":0,"18":0,"19":0,"20":0,"21":13},"f":{"0":22},"b":{"0":[2,1,3,0,13,15,1,0,0],"1":[1,14],"2":[1,13]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"506a60e95c03f4940257f850e6fa36c3b7c24e51"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\category.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\category.js","statementMap":{"0":{"start":{"line":4,"column":4},"end":{"line":4,"column":24}},"1":{"start":{"line":5,"column":0},"end":{"line":35,"column":2}},"2":{"start":{"line":14,"column":6},"end":{"line":14,"column":63}},"3":{"start":{"line":17,"column":2},"end":{"line":33,"column":5}},"4":{"start":{"line":34,"column":2},"end":{"line":34,"column":18}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":17},"end":{"line":5,"column":18}},"loc":{"start":{"line":5,"column":43},"end":{"line":35,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":4},"end":{"line":12,"column":5}},"loc":{"start":{"line":12,"column":29},"end":{"line":15,"column":5}},"line":12}},"branchMap":{},"s":{"0":13,"1":13,"2":13,"3":13,"4":13},"f":{"0":13,"1":13},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"af731360013989313cbca3217edaa2bede9d9a6a"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\comment.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\comment.js","statementMap":{"0":{"start":{"line":4,"column":4},"end":{"line":4,"column":24}},"1":{"start":{"line":5,"column":0},"end":{"line":27,"column":2}},"2":{"start":{"line":14,"column":6},"end":{"line":14,"column":60}},"3":{"start":{"line":15,"column":6},"end":{"line":15,"column":60}},"4":{"start":{"line":18,"column":2},"end":{"line":25,"column":5}},"5":{"start":{"line":26,"column":2},"end":{"line":26,"column":17}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":17},"end":{"line":5,"column":18}},"loc":{"start":{"line":5,"column":43},"end":{"line":27,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":4},"end":{"line":12,"column":5}},"loc":{"start":{"line":12,"column":29},"end":{"line":16,"column":5}},"line":12}},"branchMap":{},"s":{"0":13,"1":13,"2":13,"3":13,"4":13,"5":13},"f":{"0":13,"1":13},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"5c9c0a253a2ffab801e3427b610a35e2b66cfe06"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\index.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\index.js","statementMap":{"0":{"start":{"line":3,"column":11},"end":{"line":3,"column":24}},"1":{"start":{"line":4,"column":13},"end":{"line":4,"column":28}},"2":{"start":{"line":5,"column":18},"end":{"line":5,"column":38}},"3":{"start":{"line":6,"column":16},"end":{"line":6,"column":34}},"4":{"start":{"line":7,"column":17},"end":{"line":7,"column":42}},"5":{"start":{"line":8,"column":12},"end":{"line":8,"column":49}},"6":{"start":{"line":9,"column":15},"end":{"line":9,"column":65}},"7":{"start":{"line":10,"column":11},"end":{"line":10,"column":13}},"8":{"start":{"line":13,"column":0},"end":{"line":17,"column":1}},"9":{"start":{"line":14,"column":2},"end":{"line":14,"column":74}},"10":{"start":{"line":16,"column":2},"end":{"line":16,"column":87}},"11":{"start":{"line":19,"column":0},"end":{"line":32,"column":5}},"12":{"start":{"line":22,"column":4},"end":{"line":27,"column":6}},"13":{"start":{"line":30,"column":18},"end":{"line":30,"column":85}},"14":{"start":{"line":31,"column":4},"end":{"line":31,"column":27}},"15":{"start":{"line":34,"column":0},"end":{"line":38,"column":3}},"16":{"start":{"line":35,"column":2},"end":{"line":37,"column":3}},"17":{"start":{"line":36,"column":4},"end":{"line":36,"column":32}},"18":{"start":{"line":40,"column":0},"end":{"line":40,"column":25}},"19":{"start":{"line":41,"column":0},"end":{"line":41,"column":25}},"20":{"start":{"line":43,"column":0},"end":{"line":43,"column":20}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":21,"column":10},"end":{"line":21,"column":11}},"loc":{"start":{"line":21,"column":18},"end":{"line":28,"column":3}},"line":21},"1":{"name":"(anonymous_1)","decl":{"start":{"line":29,"column":11},"end":{"line":29,"column":12}},"loc":{"start":{"line":29,"column":19},"end":{"line":32,"column":3}},"line":29},"2":{"name":"(anonymous_2)","decl":{"start":{"line":34,"column":24},"end":{"line":34,"column":25}},"loc":{"start":{"line":34,"column":37},"end":{"line":38,"column":1}},"line":34}},"branchMap":{"0":{"loc":{"start":{"line":8,"column":12},"end":{"line":8,"column":49}},"type":"binary-expr","locations":[{"start":{"line":8,"column":12},"end":{"line":8,"column":32}},{"start":{"line":8,"column":36},"end":{"line":8,"column":49}}],"line":8},"1":{"loc":{"start":{"line":13,"column":0},"end":{"line":17,"column":1}},"type":"if","locations":[{"start":{"line":13,"column":0},"end":{"line":17,"column":1}},{"start":{"line":15,"column":7},"end":{"line":17,"column":1}}],"line":13},"2":{"loc":{"start":{"line":23,"column":6},"end":{"line":26,"column":37}},"type":"binary-expr","locations":[{"start":{"line":23,"column":6},"end":{"line":23,"column":29}},{"start":{"line":24,"column":6},"end":{"line":24,"column":23}},{"start":{"line":25,"column":6},"end":{"line":25,"column":30}},{"start":{"line":26,"column":6},"end":{"line":26,"column":37}}],"line":23},"3":{"loc":{"start":{"line":35,"column":2},"end":{"line":37,"column":3}},"type":"if","locations":[{"start":{"line":35,"column":2},"end":{"line":37,"column":3}},{"start":{},"end":{}}],"line":35}},"s":{"0":13,"1":13,"2":13,"3":13,"4":13,"5":13,"6":13,"7":13,"8":13,"9":0,"10":13,"11":13,"12":78,"13":65,"14":65,"15":13,"16":65,"17":65,"18":13,"19":13,"20":13},"f":{"0":78,"1":65,"2":65},"b":{"0":[13,0],"1":[0,13],"2":[78,78,65,65],"3":[65,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"74f2b633393b7c76b189ad669a615dc0ffc5cafd"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\post.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\post.js","statementMap":{"0":{"start":{"line":4,"column":4},"end":{"line":4,"column":24}},"1":{"start":{"line":5,"column":0},"end":{"line":63,"column":2}},"2":{"start":{"line":14,"column":6},"end":{"line":14,"column":57}},"3":{"start":{"line":15,"column":6},"end":{"line":15,"column":65}},"4":{"start":{"line":16,"column":6},"end":{"line":16,"column":58}},"5":{"start":{"line":19,"column":2},"end":{"line":61,"column":5}},"6":{"start":{"line":62,"column":2},"end":{"line":62,"column":14}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":17},"end":{"line":5,"column":18}},"loc":{"start":{"line":5,"column":43},"end":{"line":63,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":4},"end":{"line":12,"column":5}},"loc":{"start":{"line":12,"column":29},"end":{"line":17,"column":5}},"line":12}},"branchMap":{},"s":{"0":13,"1":13,"2":13,"3":13,"4":13,"5":13,"6":13},"f":{"0":13,"1":13},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"f5565bfd31d0f4f959b82a9c2f0b0cdf077ad57e"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\profile.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\profile.js","statementMap":{"0":{"start":{"line":4,"column":4},"end":{"line":4,"column":24}},"1":{"start":{"line":5,"column":0},"end":{"line":51,"column":2}},"2":{"start":{"line":14,"column":6},"end":{"line":14,"column":36}},"3":{"start":{"line":17,"column":2},"end":{"line":49,"column":5}},"4":{"start":{"line":50,"column":2},"end":{"line":50,"column":17}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":17},"end":{"line":5,"column":18}},"loc":{"start":{"line":5,"column":43},"end":{"line":51,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":4},"end":{"line":12,"column":5}},"loc":{"start":{"line":12,"column":29},"end":{"line":15,"column":5}},"line":12}},"branchMap":{},"s":{"0":13,"1":13,"2":13,"3":13,"4":13},"f":{"0":13,"1":13},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"82601e5074246add9dade744cd8986dff8efff60"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\user.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\models\\user.js","statementMap":{"0":{"start":{"line":4,"column":4},"end":{"line":4,"column":24}},"1":{"start":{"line":5,"column":25},"end":{"line":5,"column":52}},"2":{"start":{"line":6,"column":0},"end":{"line":77,"column":2}},"3":{"start":{"line":15,"column":6},"end":{"line":15,"column":33}},"4":{"start":{"line":16,"column":6},"end":{"line":16,"column":55}},"5":{"start":{"line":17,"column":6},"end":{"line":17,"column":58}},"6":{"start":{"line":20,"column":2},"end":{"line":71,"column":5}},"7":{"start":{"line":73,"column":2},"end":{"line":75,"column":4}},"8":{"start":{"line":74,"column":4},"end":{"line":74,"column":55}},"9":{"start":{"line":76,"column":2},"end":{"line":76,"column":14}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":17},"end":{"line":6,"column":18}},"loc":{"start":{"line":6,"column":43},"end":{"line":77,"column":1}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":13,"column":4},"end":{"line":13,"column":5}},"loc":{"start":{"line":13,"column":29},"end":{"line":18,"column":5}},"line":13},"2":{"name":"(anonymous_2)","decl":{"start":{"line":73,"column":20},"end":{"line":73,"column":21}},"loc":{"start":{"line":73,"column":32},"end":{"line":75,"column":3}},"line":73}},"branchMap":{},"s":{"0":13,"1":13,"2":13,"3":13,"4":13,"5":13,"6":13,"7":13,"8":16,"9":13},"f":{"0":13,"1":13,"2":16},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"b8d9e58b7798dc9ddb4844d4ef6182a0798b2c4a"}
+,"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\routes\\index.js": {"path":"D:\\Hacktiv8\\Phase2\\IP-RMT42\\server\\routes\\index.js","statementMap":{"0":{"start":{"line":1,"column":27},"end":{"line":1,"column":61}},"1":{"start":{"line":2,"column":26},"end":{"line":2,"column":59}},"2":{"start":{"line":3,"column":23},"end":{"line":3,"column":53}},"3":{"start":{"line":4,"column":26},"end":{"line":4,"column":59}},"4":{"start":{"line":5,"column":23},"end":{"line":5,"column":53}},"5":{"start":{"line":6,"column":21},"end":{"line":6,"column":59}},"6":{"start":{"line":7,"column":23},"end":{"line":7,"column":63}},"7":{"start":{"line":8,"column":95},"end":{"line":8,"column":134}},"8":{"start":{"line":10,"column":15},"end":{"line":10,"column":42}},"9":{"start":{"line":12,"column":0},"end":{"line":12,"column":43}},"10":{"start":{"line":13,"column":0},"end":{"line":13,"column":49}},"11":{"start":{"line":14,"column":0},"end":{"line":14,"column":55}},"12":{"start":{"line":15,"column":0},"end":{"line":15,"column":46}},"13":{"start":{"line":17,"column":0},"end":{"line":17,"column":26}},"14":{"start":{"line":19,"column":0},"end":{"line":19,"column":60}},"15":{"start":{"line":20,"column":0},"end":{"line":20,"column":54}},"16":{"start":{"line":21,"column":0},"end":{"line":21,"column":62}},"17":{"start":{"line":22,"column":0},"end":{"line":22,"column":90}},"18":{"start":{"line":24,"column":0},"end":{"line":24,"column":60}},"19":{"start":{"line":25,"column":0},"end":{"line":25,"column":56}},"20":{"start":{"line":27,"column":0},"end":{"line":27,"column":42}},"21":{"start":{"line":28,"column":0},"end":{"line":28,"column":75}},"22":{"start":{"line":29,"column":0},"end":{"line":29,"column":48}},"23":{"start":{"line":30,"column":0},"end":{"line":30,"column":75}},"24":{"start":{"line":32,"column":0},"end":{"line":32,"column":66}},"25":{"start":{"line":33,"column":0},"end":{"line":33,"column":105}},"26":{"start":{"line":35,"column":0},"end":{"line":35,"column":24}},"27":{"start":{"line":37,"column":0},"end":{"line":37,"column":23}}},"fnMap":{},"branchMap":{},"s":{"0":13,"1":13,"2":13,"3":13,"4":13,"5":13,"6":13,"7":13,"8":13,"9":13,"10":13,"11":13,"12":13,"13":13,"14":13,"15":13,"16":13,"17":13,"18":13,"19":13,"20":13,"21":13,"22":13,"23":13,"24":13,"25":13,"26":13,"27":13},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"1ace3000271a6ed678207c9bdfc3bbde24671baa"}
+}
diff --git a/server/coverage/lcov-report/base.css b/server/coverage/lcov-report/base.css
new file mode 100644
index 0000000..f418035
--- /dev/null
+++ b/server/coverage/lcov-report/base.css
@@ -0,0 +1,224 @@
+body, html {
+ margin:0; padding: 0;
+ height: 100%;
+}
+body {
+ font-family: Helvetica Neue, Helvetica, Arial;
+ font-size: 14px;
+ color:#333;
+}
+.small { font-size: 12px; }
+*, *:after, *:before {
+ -webkit-box-sizing:border-box;
+ -moz-box-sizing:border-box;
+ box-sizing:border-box;
+ }
+h1 { font-size: 20px; margin: 0;}
+h2 { font-size: 14px; }
+pre {
+ font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ margin: 0;
+ padding: 0;
+ -moz-tab-size: 2;
+ -o-tab-size: 2;
+ tab-size: 2;
+}
+a { color:#0074D9; text-decoration:none; }
+a:hover { text-decoration:underline; }
+.strong { font-weight: bold; }
+.space-top1 { padding: 10px 0 0 0; }
+.pad2y { padding: 20px 0; }
+.pad1y { padding: 10px 0; }
+.pad2x { padding: 0 20px; }
+.pad2 { padding: 20px; }
+.pad1 { padding: 10px; }
+.space-left2 { padding-left:55px; }
+.space-right2 { padding-right:20px; }
+.center { text-align:center; }
+.clearfix { display:block; }
+.clearfix:after {
+ content:'';
+ display:block;
+ height:0;
+ clear:both;
+ visibility:hidden;
+ }
+.fl { float: left; }
+@media only screen and (max-width:640px) {
+ .col3 { width:100%; max-width:100%; }
+ .hide-mobile { display:none!important; }
+}
+
+.quiet {
+ color: #7f7f7f;
+ color: rgba(0,0,0,0.5);
+}
+.quiet a { opacity: 0.7; }
+
+.fraction {
+ font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
+ font-size: 10px;
+ color: #555;
+ background: #E8E8E8;
+ padding: 4px 5px;
+ border-radius: 3px;
+ vertical-align: middle;
+}
+
+div.path a:link, div.path a:visited { color: #333; }
+table.coverage {
+ border-collapse: collapse;
+ margin: 10px 0 0 0;
+ padding: 0;
+}
+
+table.coverage td {
+ margin: 0;
+ padding: 0;
+ vertical-align: top;
+}
+table.coverage td.line-count {
+ text-align: right;
+ padding: 0 5px 0 20px;
+}
+table.coverage td.line-coverage {
+ text-align: right;
+ padding-right: 10px;
+ min-width:20px;
+}
+
+table.coverage td span.cline-any {
+ display: inline-block;
+ padding: 0 5px;
+ width: 100%;
+}
+.missing-if-branch {
+ display: inline-block;
+ margin-right: 5px;
+ border-radius: 3px;
+ position: relative;
+ padding: 0 4px;
+ background: #333;
+ color: yellow;
+}
+
+.skip-if-branch {
+ display: none;
+ margin-right: 10px;
+ position: relative;
+ padding: 0 4px;
+ background: #ccc;
+ color: white;
+}
+.missing-if-branch .typ, .skip-if-branch .typ {
+ color: inherit !important;
+}
+.coverage-summary {
+ border-collapse: collapse;
+ width: 100%;
+}
+.coverage-summary tr { border-bottom: 1px solid #bbb; }
+.keyline-all { border: 1px solid #ddd; }
+.coverage-summary td, .coverage-summary th { padding: 10px; }
+.coverage-summary tbody { border: 1px solid #bbb; }
+.coverage-summary td { border-right: 1px solid #bbb; }
+.coverage-summary td:last-child { border-right: none; }
+.coverage-summary th {
+ text-align: left;
+ font-weight: normal;
+ white-space: nowrap;
+}
+.coverage-summary th.file { border-right: none !important; }
+.coverage-summary th.pct { }
+.coverage-summary th.pic,
+.coverage-summary th.abs,
+.coverage-summary td.pct,
+.coverage-summary td.abs { text-align: right; }
+.coverage-summary td.file { white-space: nowrap; }
+.coverage-summary td.pic { min-width: 120px !important; }
+.coverage-summary tfoot td { }
+
+.coverage-summary .sorter {
+ height: 10px;
+ width: 7px;
+ display: inline-block;
+ margin-left: 0.5em;
+ background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
+}
+.coverage-summary .sorted .sorter {
+ background-position: 0 -20px;
+}
+.coverage-summary .sorted-desc .sorter {
+ background-position: 0 -10px;
+}
+.status-line { height: 10px; }
+/* yellow */
+.cbranch-no { background: yellow !important; color: #111; }
+/* dark red */
+.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
+.low .chart { border:1px solid #C21F39 }
+.highlighted,
+.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
+ background: #C21F39 !important;
+}
+/* medium red */
+.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
+/* light red */
+.low, .cline-no { background:#FCE1E5 }
+/* light green */
+.high, .cline-yes { background:rgb(230,245,208) }
+/* medium green */
+.cstat-yes { background:rgb(161,215,106) }
+/* dark green */
+.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
+.high .chart { border:1px solid rgb(77,146,33) }
+/* dark yellow (gold) */
+.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
+.medium .chart { border:1px solid #f9cd0b; }
+/* light yellow */
+.medium { background: #fff4c2; }
+
+.cstat-skip { background: #ddd; color: #111; }
+.fstat-skip { background: #ddd; color: #111 !important; }
+.cbranch-skip { background: #ddd !important; color: #111; }
+
+span.cline-neutral { background: #eaeaea; }
+
+.coverage-summary td.empty {
+ opacity: .5;
+ padding-top: 4px;
+ padding-bottom: 4px;
+ line-height: 1;
+ color: #888;
+}
+
+.cover-fill, .cover-empty {
+ display:inline-block;
+ height: 12px;
+}
+.chart {
+ line-height: 0;
+}
+.cover-empty {
+ background: white;
+}
+.cover-full {
+ border-right: none !important;
+}
+pre.prettyprint {
+ border: none !important;
+ padding: 0 !important;
+ margin: 0 !important;
+}
+.com { color: #999 !important; }
+.ignore-none { color: #999; font-weight: normal; }
+
+.wrapper {
+ min-height: 100%;
+ height: auto !important;
+ height: 100%;
+ margin: 0 auto -48px;
+}
+.footer, .push {
+ height: 48px;
+}
diff --git a/server/coverage/lcov-report/block-navigation.js b/server/coverage/lcov-report/block-navigation.js
new file mode 100644
index 0000000..cc12130
--- /dev/null
+++ b/server/coverage/lcov-report/block-navigation.js
@@ -0,0 +1,87 @@
+/* eslint-disable */
+var jumpToCode = (function init() {
+ // Classes of code we would like to highlight in the file view
+ var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
+
+ // Elements to highlight in the file listing view
+ var fileListingElements = ['td.pct.low'];
+
+ // We don't want to select elements that are direct descendants of another match
+ var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
+
+ // Selecter that finds elements on the page to which we can jump
+ var selector =
+ fileListingElements.join(', ') +
+ ', ' +
+ notSelector +
+ missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
+
+ // The NodeList of matching elements
+ var missingCoverageElements = document.querySelectorAll(selector);
+
+ var currentIndex;
+
+ function toggleClass(index) {
+ missingCoverageElements
+ .item(currentIndex)
+ .classList.remove('highlighted');
+ missingCoverageElements.item(index).classList.add('highlighted');
+ }
+
+ function makeCurrent(index) {
+ toggleClass(index);
+ currentIndex = index;
+ missingCoverageElements.item(index).scrollIntoView({
+ behavior: 'smooth',
+ block: 'center',
+ inline: 'center'
+ });
+ }
+
+ function goToPrevious() {
+ var nextIndex = 0;
+ if (typeof currentIndex !== 'number' || currentIndex === 0) {
+ nextIndex = missingCoverageElements.length - 1;
+ } else if (missingCoverageElements.length > 1) {
+ nextIndex = currentIndex - 1;
+ }
+
+ makeCurrent(nextIndex);
+ }
+
+ function goToNext() {
+ var nextIndex = 0;
+
+ if (
+ typeof currentIndex === 'number' &&
+ currentIndex < missingCoverageElements.length - 1
+ ) {
+ nextIndex = currentIndex + 1;
+ }
+
+ makeCurrent(nextIndex);
+ }
+
+ return function jump(event) {
+ if (
+ document.getElementById('fileSearch') === document.activeElement &&
+ document.activeElement != null
+ ) {
+ // if we're currently focused on the search input, we don't want to navigate
+ return;
+ }
+
+ switch (event.which) {
+ case 78: // n
+ case 74: // j
+ goToNext();
+ break;
+ case 66: // b
+ case 75: // k
+ case 80: // p
+ goToPrevious();
+ break;
+ }
+ };
+})();
+window.addEventListener('keydown', jumpToCode);
diff --git a/server/coverage/lcov-report/favicon.png b/server/coverage/lcov-report/favicon.png
new file mode 100644
index 0000000..c1525b8
Binary files /dev/null and b/server/coverage/lcov-report/favicon.png differ
diff --git a/server/coverage/lcov-report/index.html b/server/coverage/lcov-report/index.html
new file mode 100644
index 0000000..a5308cd
--- /dev/null
+++ b/server/coverage/lcov-report/index.html
@@ -0,0 +1,191 @@
+
+
+
+
+
+ Code coverage report for All files
+
+
+
+
+
+
+
+
+
+
+
+
All files
+
+
+
+ 81.14%
+ Statements
+ 297/366
+
+
+
+
+ 58.76%
+ Branches
+ 57/97
+
+
+
+
+ 95%
+ Functions
+ 38/40
+
+
+
+
+ 81.14%
+ Lines
+ 297/366
+
+
+
+
+
+ Press n or j to go to the next uncovered block, b, p or k for the previous block.
+
+
+
+ Filter:
+
+
+
+
+
+
+
+
+
+ | File |
+ |
+ Statements |
+ |
+ Branches |
+ |
+ Functions |
+ |
+ Lines |
+ |
+
+
+
+ | server |
+
+
+ |
+ 100% |
+ 11/11 |
+ 50% |
+ 1/2 |
+ 100% |
+ 0/0 |
+ 100% |
+ 11/11 |
+
+
+
+ | server/controllers |
+
+
+ |
+ 71.42% |
+ 120/168 |
+ 52.27% |
+ 23/44 |
+ 86.66% |
+ 13/15 |
+ 71.42% |
+ 120/168 |
+
+
+
+ | server/helper |
+
+
+ |
+ 95.23% |
+ 20/21 |
+ 50% |
+ 1/2 |
+ 100% |
+ 5/5 |
+ 95.23% |
+ 20/21 |
+
+
+
+ | server/middlewares |
+
+
+ |
+ 77.38% |
+ 65/84 |
+ 64.1% |
+ 25/39 |
+ 100% |
+ 6/6 |
+ 77.38% |
+ 65/84 |
+
+
+
+ | server/models |
+
+
+ |
+ 98.14% |
+ 53/54 |
+ 70% |
+ 7/10 |
+ 100% |
+ 14/14 |
+ 98.14% |
+ 53/54 |
+
+
+
+ | server/routes |
+
+
+ |
+ 100% |
+ 28/28 |
+ 100% |
+ 0/0 |
+ 100% |
+ 0/0 |
+ 100% |
+ 28/28 |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/coverage/lcov-report/prettify.css b/server/coverage/lcov-report/prettify.css
new file mode 100644
index 0000000..b317a7c
--- /dev/null
+++ b/server/coverage/lcov-report/prettify.css
@@ -0,0 +1 @@
+.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
diff --git a/server/coverage/lcov-report/prettify.js b/server/coverage/lcov-report/prettify.js
new file mode 100644
index 0000000..b322523
--- /dev/null
+++ b/server/coverage/lcov-report/prettify.js
@@ -0,0 +1,2 @@
+/* eslint-disable */
+window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^
+
+
+
+