diff --git a/.gitattributes b/.gitattributes index 1ef325f1b111266a6b26e0196871bd78baa8c2f3..dfe0770424b2a19faf507a501ebfc23be8f54e7b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,59 +1,2 @@ -*.7z filter=lfs diff=lfs merge=lfs -text -*.arrow filter=lfs diff=lfs merge=lfs -text -*.bin filter=lfs diff=lfs merge=lfs -text -*.bz2 filter=lfs diff=lfs merge=lfs -text -*.ckpt filter=lfs diff=lfs merge=lfs -text -*.ftz filter=lfs diff=lfs merge=lfs -text -*.gz filter=lfs diff=lfs merge=lfs -text -*.h5 filter=lfs diff=lfs merge=lfs -text -*.joblib filter=lfs diff=lfs merge=lfs -text -*.lfs.* filter=lfs diff=lfs merge=lfs -text -*.lz4 filter=lfs diff=lfs merge=lfs -text -*.mds filter=lfs diff=lfs merge=lfs -text -*.mlmodel filter=lfs diff=lfs merge=lfs -text -*.model filter=lfs diff=lfs merge=lfs -text -*.msgpack filter=lfs diff=lfs merge=lfs -text -*.npy filter=lfs diff=lfs merge=lfs -text -*.npz filter=lfs diff=lfs merge=lfs -text -*.onnx filter=lfs diff=lfs merge=lfs -text -*.ot filter=lfs diff=lfs merge=lfs -text -*.parquet filter=lfs diff=lfs merge=lfs -text -*.pb filter=lfs diff=lfs merge=lfs -text -*.pickle filter=lfs diff=lfs merge=lfs -text -*.pkl filter=lfs diff=lfs merge=lfs -text -*.pt filter=lfs diff=lfs merge=lfs -text -*.pth filter=lfs diff=lfs merge=lfs -text -*.rar filter=lfs diff=lfs merge=lfs -text -*.safetensors filter=lfs diff=lfs merge=lfs -text -saved_model/**/* filter=lfs diff=lfs merge=lfs -text -*.tar.* filter=lfs diff=lfs merge=lfs -text -*.tar filter=lfs diff=lfs merge=lfs -text -*.tflite filter=lfs diff=lfs merge=lfs -text -*.tgz filter=lfs diff=lfs merge=lfs -text -*.wasm filter=lfs diff=lfs merge=lfs -text -*.xz filter=lfs diff=lfs merge=lfs -text -*.zip filter=lfs diff=lfs merge=lfs -text -*.zst filter=lfs diff=lfs merge=lfs -text -*tfevents* filter=lfs diff=lfs merge=lfs -text -# Audio files - uncompressed -*.pcm filter=lfs diff=lfs merge=lfs -text -*.sam filter=lfs diff=lfs merge=lfs -text -*.raw filter=lfs diff=lfs merge=lfs -text -# Audio files - compressed -*.aac filter=lfs diff=lfs merge=lfs -text -*.flac filter=lfs diff=lfs merge=lfs -text -*.mp3 filter=lfs diff=lfs merge=lfs -text -*.ogg filter=lfs diff=lfs merge=lfs -text -*.wav filter=lfs diff=lfs merge=lfs -text -# Image files - uncompressed -*.bmp filter=lfs diff=lfs merge=lfs -text -*.gif filter=lfs diff=lfs merge=lfs -text -*.png filter=lfs diff=lfs merge=lfs -text -*.tiff filter=lfs diff=lfs merge=lfs -text -# Image files - compressed -*.jpg filter=lfs diff=lfs merge=lfs -text -*.jpeg filter=lfs diff=lfs merge=lfs -text -*.webp filter=lfs diff=lfs merge=lfs -text -# Video files - compressed -*.mp4 filter=lfs diff=lfs merge=lfs -text -*.webm filter=lfs diff=lfs merge=lfs -text +# Auto detect text files and perform LF normalization +* text=auto diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..c6bba591381216b569cdcb512d98b53c53fd167d --- /dev/null +++ b/.gitignore @@ -0,0 +1,130 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp +.cache + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* diff --git a/api/server.js b/api/server.js new file mode 100644 index 0000000000000000000000000000000000000000..251f33d76b3a22c927731614accf98e7b1da366c --- /dev/null +++ b/api/server.js @@ -0,0 +1,33 @@ +import dotenv from "dotenv"; +import express from "express"; +import cors from "cors"; +import path from "path"; +import fs from "fs"; +import { fileURLToPath } from "url"; +import { dirname } from "path"; +import { createApiRoutes } from "../src/routes/apiRoutes.js"; + +dotenv.config(); + +const app = express(); +const PORT = process.env.PORT || 7860; +const allowedOrigins = process.env.ALLOWED_ORIGINS?.split(","); + +app.use( + cors({ + origin: allowedOrigins || "*", + methods: ["GET"], + }) +); + +const jsonResponse = (res, data, status = 200) => + res.status(status).json({ success: true, results: data }); + +const jsonError = (res, message = "Internal server error", status = 500) => + res.status(status).json({ success: false, message }); + +createApiRoutes(app, jsonResponse, jsonError); + +app.listen(PORT, () => { + console.info(`Listening at ${PORT}`); +}); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000000000000000000000000000000000000..76b1fc5a86f1cb5bd0be0be49fb2038c0d68e9e7 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,2479 @@ +{ + "name": "anime-api", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "anime-api", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "axios": "^1.6.7", + "cheerio": "^1.0.0-rc.12", + "compression": "^1.7.5", + "cors": "^2.8.5", + "crypto-js": "^4.2.0", + "dotenv": "^16.4.5", + "express": "^4.21.2", + "express-rate-limit": "^7.5.0", + "image-pixels": "^2.2.2", + "memory-cache": "^0.2.0", + "redis": "^4.7.0" + }, + "devDependencies": { + "nodemon": "^3.1.4" + } + }, + "node_modules/@redis/bloom": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@redis/bloom/-/bloom-1.2.0.tgz", + "integrity": "sha512-HG2DFjYKbpNmVXsa0keLHp/3leGJz1mjh09f2RLGGLQZzSHpkmZWuwJbAvo3QcRY8p80m5+ZdXZdYOSBLlp7Cg==", + "peerDependencies": { + "@redis/client": "^1.0.0" + } + }, + "node_modules/@redis/client": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@redis/client/-/client-1.6.0.tgz", + "integrity": "sha512-aR0uffYI700OEEH4gYnitAnv3vzVGXCFvYfdpu/CJKvk4pHfLPEy/JSZyrpQ+15WhXe1yJRXLtfQ84s4mEXnPg==", + "dependencies": { + "cluster-key-slot": "1.1.2", + "generic-pool": "3.9.0", + "yallist": "4.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@redis/graph": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@redis/graph/-/graph-1.1.1.tgz", + "integrity": "sha512-FEMTcTHZozZciLRl6GiiIB4zGm5z5F3F6a6FZCyrfxdKOhFlGkiAqlexWMBzCi4DcRoyiOsuLfW+cjlGWyExOw==", + "peerDependencies": { + "@redis/client": "^1.0.0" + } + }, + "node_modules/@redis/json": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@redis/json/-/json-1.0.7.tgz", + "integrity": "sha512-6UyXfjVaTBTJtKNG4/9Z8PSpKE6XgSyEb8iwaqDcy+uKrd/DGYHTWkUdnQDyzm727V7p21WUMhsqz5oy65kPcQ==", + "peerDependencies": { + "@redis/client": "^1.0.0" + } + }, + "node_modules/@redis/search": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@redis/search/-/search-1.2.0.tgz", + "integrity": "sha512-tYoDBbtqOVigEDMAcTGsRlMycIIjwMCgD8eR2t0NANeQmgK/lvxNAvYyb6bZDD4frHRhIHkJu2TBRvB0ERkOmw==", + "peerDependencies": { + "@redis/client": "^1.0.0" + } + }, + "node_modules/@redis/time-series": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@redis/time-series/-/time-series-1.1.0.tgz", + "integrity": "sha512-c1Q99M5ljsIuc4YdaCwfUEXsofakb9c8+Zse2qxTadu8TalLXuAESzLvFAvNVbkmSlvlzIQOLpBCmWI9wTOt+g==", + "peerDependencies": { + "@redis/client": "^1.0.0" + } + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "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/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" + }, + "node_modules/arraybuffer-to-string": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/arraybuffer-to-string/-/arraybuffer-to-string-1.0.2.tgz", + "integrity": "sha512-WbIYlLVmvIAyUBdQRRuyGOJRriOQy9OAsWcyURmsRQp9+g647hdMSS2VFKXbJLVw0daUu06hqwLXm9etVrXI9A==" + }, + "node_modules/asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==", + "engines": { + "node": ">=0.8" + } + }, + "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/atob-lite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz", + "integrity": "sha512-LEeSAWeh2Gfa2FtlQE1shxQ8zi5F9GHarrGKz08TMdODD5T4eH6BMsvtnhbWZ+XQn+Gb6om/917ucvRu7l7ukw==" + }, + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==", + "engines": { + "node": "*" + } + }, + "node_modules/aws4": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.13.2.tgz", + "integrity": "sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==" + }, + "node_modules/axios": { + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", + "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", + "dependencies": { + "follow-redirects": "^1.15.6", + "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/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/bmp-js": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.1.0.tgz", + "integrity": "sha512-vHdS19CnY3hwiNdkaqk93DvjVLfbEcI8mys4UjuWrlX1haDmroo8o4xCzh4wD6DGV6HxRCyauwhHRqMTfERtjw==" + }, + "node_modules/body-parser": { + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.13.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/body-parser/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==" + }, + "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/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/buffer-to-uint8array": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/buffer-to-uint8array/-/buffer-to-uint8array-1.1.0.tgz", + "integrity": "sha512-JVTSbtA6YuOGdu5NL0ffizsBwuwbTXfV7OC91FhazMz9UKP/KlDS+Z7wuiSRClbnTQz52fJgVXI9YDXQRVl2sQ==" + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", + "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz", + "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" + }, + "node_modules/cheerio": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0.tgz", + "integrity": "sha512-quS9HgjQpdaXOvsZz82Oz7uxtXiy6UIsIQcpBj7HRw2M63Skasm9qlDocAM7jNuaxdhpPU7c4kJN+gA5MCu4ww==", + "dependencies": { + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.1.0", + "encoding-sniffer": "^0.2.0", + "htmlparser2": "^9.1.0", + "parse5": "^7.1.2", + "parse5-htmlparser2-tree-adapter": "^7.0.0", + "parse5-parser-stream": "^7.1.2", + "undici": "^6.19.5", + "whatwg-mimetype": "^4.0.0" + }, + "engines": { + "node": ">=18.17" + }, + "funding": { + "url": "https://github.com/cheeriojs/cheerio?sponsor=1" + } + }, + "node_modules/cheerio-select": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz", + "integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==", + "dependencies": { + "boolbase": "^1.0.0", + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/clamp": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/clamp/-/clamp-1.0.1.tgz", + "integrity": "sha512-kgMuFyE78OC6Dyu3Dy7vcx4uy97EIbVxJB/B0eJ3bUNAkwdNcxYzgKltnyADiYwsR7SEqkkUPsEUT//OVS6XMA==" + }, + "node_modules/clip-pixels": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/clip-pixels/-/clip-pixels-1.0.1.tgz", + "integrity": "sha512-nJ22fZvCwkJfMppkOEE7GciLX08rDnVzEJ+U46kBFZtwNzH2V4tNxMWa9Tc365WspCxy1c3NtGJ5EeT4SgjmCA==" + }, + "node_modules/cluster-key-slot": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", + "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", + "engines": { + "node": ">=0.10.0" + } + }, + "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/compressible": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/compression": { + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.5.tgz", + "integrity": "sha512-bQJ0YRck5ak3LgtnpKkiabX5pNF7tMUh1BSy2ZBOTh0Dim0BUu6aPPwByIns6/A5Prh8PufSPerMDUklpzes2Q==", + "dependencies": { + "bytes": "3.1.2", + "compressible": "~2.0.18", + "debug": "2.6.9", + "negotiator": "~0.6.4", + "on-headers": "~1.0.2", + "safe-buffer": "5.2.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/compression/node_modules/negotiator": { + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", + "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/compute-dims": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/compute-dims/-/compute-dims-1.1.0.tgz", + "integrity": "sha512-YHMiIKjH/8Eom8zATk3g8/lH3HxGCZcVQyEfEoVrfWI7od/WRpTgRGShnei3jArYSx77mQqPxZNokjGHCdLfxg==", + "dependencies": { + "utils-copy": "^1.0.0", + "validate.io-array": "^1.0.6", + "validate.io-matrix-like": "^1.0.2", + "validate.io-ndarray-like": "^1.0.0", + "validate.io-positive-integer": "^1.0.0" + } + }, + "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/const-max-uint32": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/const-max-uint32/-/const-max-uint32-1.0.2.tgz", + "integrity": "sha512-T8/9bffg5RThuejasJWrwqxs3Q0fsJvyl7/33IB6svroD8JC93E7X60AuuOnDE8RlP6Jlb5FxmlrVDpl9KiU2Q==" + }, + "node_modules/const-pinf-float64": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/const-pinf-float64/-/const-pinf-float64-1.0.0.tgz", + "integrity": "sha512-wfs+V4HdSN7C3CWJWR7hVa24yTPn3mDJthwhRIObZBh6UjTjkUMUrCP3UrNGozB/HjTpcScnGXtQUNa+yjsIJQ==" + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" + }, + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==" + }, + "node_modules/cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/crypto-js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" + }, + "node_modules/css-select": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", + "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "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/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] + }, + "node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domutils": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/dotenv": { + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", + "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dtype": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dtype/-/dtype-2.0.0.tgz", + "integrity": "sha512-s2YVcLKdFGS0hpFqJaTwscsyt0E8nNFdmo73Ocd81xNPj4URI4rj6D60A+vFMIw7BXWlb4yRkEwfBqcZzPGiZg==", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/encoding-sniffer": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.0.tgz", + "integrity": "sha512-ju7Wq1kg04I3HtiYIOrUrdfdDvkyO9s5XM8QAj/bN61Yo/Vb4vgJxy5vi4Yxk01gWHbrofpPtpxM8bKger9jhg==", + "dependencies": { + "iconv-lite": "^0.6.3", + "whatwg-encoding": "^3.1.1" + }, + "funding": { + "url": "https://github.com/fb55/encoding-sniffer?sponsor=1" + } + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.3", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.7.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.3.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.12", + "proxy-addr": "~2.0.7", + "qs": "6.13.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.19.0", + "serve-static": "1.16.2", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express-rate-limit": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.5.0.tgz", + "integrity": "sha512-eB5zbQh5h+VenMPM3fh+nw1YExi5nMr6HUCR62ELSP11huvxm/Uir1H1QEyTkk5QX6A58pX6NmaTMceKZ0Eodg==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/express-rate-limit" + }, + "peerDependencies": { + "express": "^4.11 || 5 || ^5.0.0-beta.1" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==", + "engines": [ + "node >=0.6.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==" + }, + "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==" + }, + "node_modules/file-type": { + "version": "10.11.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-10.11.0.tgz", + "integrity": "sha512-uzk64HRpUZyTGZtVuvrjP0FYxzQrBf4rojot6J65YMEbwBLB0CWm0CLojVpwpmFmxcE/lkvYICgfcGozbBq6rw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/flatten-vertex-data": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/flatten-vertex-data/-/flatten-vertex-data-1.0.2.tgz", + "integrity": "sha512-BvCBFK2NZqerFTdMDgqfHBwxYWnxeCkwONsw6PvBMcUXqo8U/KDWwmXhqx1x2kLIg7DqIsJfOaJFOmlua3Lxuw==", + "dependencies": { + "dtype": "^2.0.0" + } + }, + "node_modules/flip-pixels": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/flip-pixels/-/flip-pixels-1.0.2.tgz", + "integrity": "sha512-oXbJGbjDnfJRWPC7Va38EFhd+A8JWE5/hCiKcK8qjCdbLj9DTpsq6MEudwpRTH+V4qq+Jw7d3pUgQdSr3x3mTA==" + }, + "node_modules/follow-redirects": { + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==", + "engines": { + "node": "*" + } + }, + "node_modules/form-data": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", + "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/generic-pool": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/generic-pool/-/generic-pool-3.9.0.tgz", + "integrity": "sha512-hymDOu5B53XvN4QT9dBmZxPX4CWhBPPLguTZ9MMFeFa/Kg0xWVfylOVNlJji/E7yTZWFd/q9GO5TxDLq156D7g==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.7.tgz", + "integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "function-bind": "^1.1.2", + "get-proto": "^1.0.0", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==", + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "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-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/htmlparser2": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.1.0.tgz", + "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.1.0", + "entities": "^4.5.0" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ignore-by-default": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", + "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", + "dev": true + }, + "node_modules/image-decode": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/image-decode/-/image-decode-1.2.2.tgz", + "integrity": "sha512-WJSWrPNmEnWVYGkY22bA6206MKYjfGl01fdlwIp6ovdnPL2qGJyC3wQj8QqYbdblchzwgglFg8Jcb/1f6fhaTQ==", + "dependencies": { + "bmp-js": "^0.1.0", + "buffer-to-uint8array": "^1.1.0", + "image-type": "^3.0.0", + "jpeg-js": "^0.3.4", + "omggif": "^1.0.9", + "pngjs": "^3.3.3", + "to-array-buffer": "^3.0.0", + "utif": "^2.0.1" + } + }, + "node_modules/image-pixels": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/image-pixels/-/image-pixels-2.2.2.tgz", + "integrity": "sha512-jcHECwLUEUBMQLqpZF0Bs0ac/jvZXs/97JwD6J39rP98vgTyvvNKhUjYaWf+BSKKPYXfenctOQV95sDC7Z/aZQ==", + "dependencies": { + "arr-flatten": "^1.1.0", + "arraybuffer-to-string": "^1.0.2", + "clip-pixels": "^1.0.1", + "flip-pixels": "^1.0.1", + "image-decode": "^1.1.0", + "image-type": "^3.0.0", + "is-base64": "^0.1.0", + "is-blob": "^2.0.0", + "is-browser": "^2.1.0", + "is-buffer": "^2.0.3", + "is-float-array": "^1.0.0", + "is-plain-obj": "^1.1.0", + "is-promise": "^2.1.0", + "is-relative": "^1.0.0", + "is-url": "^1.2.4", + "object-assign": "^4.1.1", + "parse-rect": "^1.2.0", + "primitive-pool": "^1.1.0", + "pxls": "^2.3.2", + "request": "^2.88.0", + "to-array-buffer": "^3.1.1", + "to-uint8": "^1.4.0", + "weak-map": "^1.0.5" + } + }, + "node_modules/image-type": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/image-type/-/image-type-3.1.0.tgz", + "integrity": "sha512-edYRXKQ3WD2yHXFGUbwoJVn5v7j1A6Z505uZUYIfzCwOOhPGLYSc3VOucF9fqbsaUbgb37DdjOU+WV4uo7ZooQ==", + "dependencies": { + "file-type": "^10.9.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-base64": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-base64/-/is-base64-0.1.0.tgz", + "integrity": "sha512-WRRyllsGXJM7ZN7gPTCCQ/6wNPTRDwiWdPK66l5sJzcU/oOzcIcRRf0Rux8bkpox/1yjt0F6VJRsQOIG2qz5sg==" + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-blob": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-blob/-/is-blob-2.1.0.tgz", + "integrity": "sha512-SZ/fTft5eUhQM6oF/ZaASFDEdbFVe89Imltn9uZr03wdKMcWNVYSMjQPFtg05QuNkt5l5c135ElvXEQG0rk4tw==", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-browser": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-browser/-/is-browser-2.1.0.tgz", + "integrity": "sha512-F5rTJxDQ2sW81fcfOR1GnCXT6sVJC104fCyfj+mjpwNEwaPYSn5fte5jiHmBg3DHsIoL/l8Kvw5VN5SsTRcRFQ==" + }, + "node_modules/is-buffer": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "engines": { + "node": ">=4" + } + }, + "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-float-array": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-float-array/-/is-float-array-1.0.0.tgz", + "integrity": "sha512-4ew1Sx6B6kEAl3T3NOM0yB94J3NZnBdNt4paw0e8nY73yHHTeTEhyQ3Lj7EQEnv5LD+GxNTaT4L46jcKjjpLiQ==" + }, + "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-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + }, + "node_modules/is-relative": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", + "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", + "dependencies": { + "is-unc-path": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" + }, + "node_modules/is-unc-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", + "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", + "dependencies": { + "unc-path-regex": "^0.1.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-url": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", + "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==" + }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==" + }, + "node_modules/jpeg-js": { + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.3.7.tgz", + "integrity": "sha512-9IXdWudL61npZjvLuVe/ktHiA41iE8qFyLB+4VDTblEsWBzeg8WQTlktdUK4CdncUqtUgUg0bbOmTE2bKBKaBQ==" + }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==" + }, + "node_modules/json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + }, + "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==" + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==" + }, + "node_modules/jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/memory-cache": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/memory-cache/-/memory-cache-0.2.0.tgz", + "integrity": "sha512-OcjA+jzjOYzKmKS6IQVALHLVz+rNTMPoJvCztFaZxwG14wtAW7VRZjwTQu06vKCYOxh4jVnik7ya0SXTB0W+xA==" + }, + "node_modules/merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "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.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/nodemon": { + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.9.tgz", + "integrity": "sha512-hdr1oIb2p6ZSxu3PB2JWWYS7ZQ0qvaZsc3hK8DR8f02kRzc8rjYmxAIvdz+aYC+8F2IjNaB7HMcSDg8nQpJxyg==", + "dev": true, + "dependencies": { + "chokidar": "^3.5.2", + "debug": "^4", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.1.2", + "pstree.remy": "^1.1.8", + "semver": "^7.5.3", + "simple-update-notifier": "^2.0.0", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" + } + }, + "node_modules/nodemon/node_modules/debug": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "dev": true, + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/nodemon/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "engines": { + "node": "*" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz", + "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/omggif": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/omggif/-/omggif-1.0.10.tgz", + "integrity": "sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw==" + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/on-headers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "node_modules/parse-rect": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/parse-rect/-/parse-rect-1.2.0.tgz", + "integrity": "sha512-4QZ6KYbnE6RTwg9E0HpLchUM9EZt6DnDxajFZZDSV4p/12ZJEvPO702DZpGvRYEPo00yKDys7jASi+/w7aO8LA==", + "dependencies": { + "pick-by-alias": "^1.2.0" + } + }, + "node_modules/parse5": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.1.tgz", + "integrity": "sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==", + "dependencies": { + "entities": "^4.5.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-htmlparser2-tree-adapter": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz", + "integrity": "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==", + "dependencies": { + "domhandler": "^5.0.3", + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-parser-stream": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz", + "integrity": "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==", + "dependencies": { + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==" + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==" + }, + "node_modules/pick-by-alias": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pick-by-alias/-/pick-by-alias-1.2.0.tgz", + "integrity": "sha512-ESj2+eBxhGrcA1azgHs7lARG5+5iLakc/6nlfbpjcLl00HuuUOIuORhYXN4D1HfvMSKuVtFQjAlnwi1JHEeDIw==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pngjs": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz", + "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/primitive-pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/primitive-pool/-/primitive-pool-1.1.0.tgz", + "integrity": "sha512-pl4l1R9OWWb4XmUpeX30yGz8ukZ25EiLhwlP2KqOqCb8NkwJt8qUeuCQEsk8CiAS7msICbPD18csu8jcIX7GNg==" + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "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/psl": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz", + "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==", + "dependencies": { + "punycode": "^2.3.1" + }, + "funding": { + "url": "https://github.com/sponsors/lupomontero" + } + }, + "node_modules/pstree.remy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", + "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", + "dev": true + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/pxls": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/pxls/-/pxls-2.3.2.tgz", + "integrity": "sha512-pQkwgbLqWPcuES5iEmGa10OlCf5xG0blkIF3dg7PpRZShbTYcvAdfFfGL03SMrkaSUaa/V0UpN9HWg40O2AIIw==", + "dependencies": { + "arr-flatten": "^1.1.0", + "compute-dims": "^1.1.0", + "flip-pixels": "^1.0.2", + "is-browser": "^2.1.0", + "is-buffer": "^2.0.3", + "to-uint8": "^1.4.1" + } + }, + "node_modules/qs": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "dependencies": { + "side-channel": "^1.0.6" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/raw-body/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/redis": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/redis/-/redis-4.7.0.tgz", + "integrity": "sha512-zvmkHEAdGMn+hMRXuMBtu4Vo5P6rHQjLoHftu+lBqq8ZTA3RCVC/WzD790bkKKiNFp7d5/9PcSD19fJyyRvOdQ==", + "workspaces": [ + "./packages/*" + ], + "dependencies": { + "@redis/bloom": "1.2.0", + "@redis/client": "1.6.0", + "@redis/graph": "1.1.1", + "@redis/json": "1.0.7", + "@redis/search": "1.2.0", + "@redis/time-series": "1.1.0" + } + }, + "node_modules/regex-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/regex-regex/-/regex-regex-1.0.0.tgz", + "integrity": "sha512-FPbEhFTLpxKNgHKay3zMfkHzFK2ebViAlyvsz5euO4kwekH0T6fAL4Sdo2CgQ7Y1tGB5HqQm8SBq7pW5GegvVA==" + }, + "node_modules/request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/request/node_modules/qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "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/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/semver": { + "version": "7.7.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz", + "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serve-static": { + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.19.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/simple-update-notifier": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", + "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", + "dev": true, + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/sshpk": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.18.0.tgz", + "integrity": "sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/string-to-arraybuffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-to-arraybuffer/-/string-to-arraybuffer-1.0.2.tgz", + "integrity": "sha512-DaGZidzi93dwjQen5I2osxR9ERS/R7B1PFyufNMnzhj+fmlDQAc1DSDIJVJhgI8Oq221efIMbABUBdPHDRt43Q==", + "dependencies": { + "atob-lite": "^2.0.0", + "is-base64": "^0.1.0" + } + }, + "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/to-array-buffer": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/to-array-buffer/-/to-array-buffer-3.2.0.tgz", + "integrity": "sha512-zN33mwi0gpL+7xW1ITLfJ48CEj6ZQW0ZAP0MU+2W3kEY0PAIncyuxmD4OqkUVhPAbTP7amq9j/iwvZKYS+lzSQ==", + "dependencies": { + "flatten-vertex-data": "^1.0.2", + "is-blob": "^2.0.1", + "string-to-arraybuffer": "^1.0.0" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/to-uint8": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/to-uint8/-/to-uint8-1.4.1.tgz", + "integrity": "sha512-o+ochsMlTZyucbww8It401FC2Rx+OP2RpDeYbA6h+y9HgedDl1UjdsJ9CmzKEG7AFP9es5PmJ4eDWeeeXihESg==", + "dependencies": { + "arr-flatten": "^1.1.0", + "clamp": "^1.0.1", + "is-base64": "^0.1.0", + "is-float-array": "^1.0.0", + "to-array-buffer": "^3.0.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/touch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz", + "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==", + "dev": true, + "bin": { + "nodetouch": "bin/nodetouch.js" + } + }, + "node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==" + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/type-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/type-name/-/type-name-2.0.2.tgz", + "integrity": "sha512-kkgkuqR/jKdKO5oh/I2SMu2dGbLXoJq0zkdgbxaqYK+hr9S9edwVVGf+tMUFTx2gH9TN2+Zu9JZ/Njonb3cjhA==" + }, + "node_modules/unc-path-regex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", + "integrity": "sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/undefsafe": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", + "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", + "dev": true + }, + "node_modules/undici": { + "version": "6.21.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.1.tgz", + "integrity": "sha512-q/1rj5D0/zayJB2FraXdaWxbhWiNKDvu8naDT2dl1yTlvJp4BLtOcp2a5BvgGNQpYYJzau7tf1WgKv3b+7mqpQ==", + "engines": { + "node": ">=18.17" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/utif": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/utif/-/utif-2.0.1.tgz", + "integrity": "sha512-Z/S1fNKCicQTf375lIP9G8Sa1H/phcysstNrrSdZKj1f9g58J4NMgb5IgiEZN9/nLMPDwF0W7hdOe9Qq2IYoLg==", + "dependencies": { + "pako": "^1.0.5" + } + }, + "node_modules/utils-copy": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/utils-copy/-/utils-copy-1.1.1.tgz", + "integrity": "sha512-+NhJVV+PcxjdpkMrVTqXhQHPldlFGca5XR9YnGyNn7kQ0fMi+DqNLzdnhJ4TJ1HNy/HzB7c+FPg3y+4icY99ZA==", + "dependencies": { + "const-pinf-float64": "^1.0.0", + "object-keys": "^1.0.9", + "type-name": "^2.0.0", + "utils-copy-error": "^1.0.0", + "utils-indexof": "^1.0.0", + "utils-regex-from-string": "^1.0.0", + "validate.io-array": "^1.0.3", + "validate.io-buffer": "^1.0.1", + "validate.io-nonnegative-integer": "^1.0.0" + } + }, + "node_modules/utils-copy-error": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-copy-error/-/utils-copy-error-1.0.1.tgz", + "integrity": "sha512-RbJcGPZ6Ru2HQk9SWkvbdWNPX58pt4MO5uXsOQRu4LEGWB3LglkRrmnE/Ph1qWg6ywQ0qj95wTz1OeqQ2l8DCA==", + "dependencies": { + "object-keys": "^1.0.9", + "utils-copy": "^1.1.0" + } + }, + "node_modules/utils-indexof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/utils-indexof/-/utils-indexof-1.0.0.tgz", + "integrity": "sha512-76QBfRJpn4A0P5uTO1x00x+Yog36w2Pab0n+aT9UfUvVa4l+e8k3p7YwNpDvfQ6+aKGZdxZpxcNotNS4YjFcyg==", + "dependencies": { + "validate.io-array-like": "^1.0.1", + "validate.io-integer-primitive": "^1.0.0" + } + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/utils-regex-from-string": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/utils-regex-from-string/-/utils-regex-from-string-1.0.0.tgz", + "integrity": "sha512-xKfdmEF19iUu9TKxFiohQUlQTuqYdV80/CxHiudVI37iEV/OA4HHlXZoc4qvuO1B74EcBVpErBreRO/dpdLeYA==", + "dependencies": { + "regex-regex": "^1.0.0", + "validate.io-string-primitive": "^1.0.0" + } + }, + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/validate.io-array": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/validate.io-array/-/validate.io-array-1.0.6.tgz", + "integrity": "sha512-DeOy7CnPEziggrOO5CZhVKJw6S3Yi7e9e65R1Nl/RTN1vTQKnzjfvks0/8kQ40FP/dsjRAOd4hxmJ7uLa6vxkg==" + }, + "node_modules/validate.io-array-like": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/validate.io-array-like/-/validate.io-array-like-1.0.2.tgz", + "integrity": "sha512-rGLiN0cvY9OWzQcWP+RtqZR/MK9RUz3gKDTCcRLtEQ/BvlanMF5PyqtVIN+CgrIBCv/ypfme9v7r4yMJPYpbNA==", + "dependencies": { + "const-max-uint32": "^1.0.2", + "validate.io-integer-primitive": "^1.0.0" + } + }, + "node_modules/validate.io-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/validate.io-buffer/-/validate.io-buffer-1.0.2.tgz", + "integrity": "sha512-6Tad+/QYOxWEXsesKYak1mHOzGdPYS4QeHFImWn7ECi4GR0x3vh7+6+1yoLKNXiklKuTFOxHLG3kZy9tPX0GvQ==" + }, + "node_modules/validate.io-integer": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/validate.io-integer/-/validate.io-integer-1.0.5.tgz", + "integrity": "sha512-22izsYSLojN/P6bppBqhgUDjCkr5RY2jd+N2a3DCAUey8ydvrZ/OkGvFPR7qfOpwR2LC5p4Ngzxz36g5Vgr/hQ==", + "dependencies": { + "validate.io-number": "^1.0.3" + } + }, + "node_modules/validate.io-integer-primitive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/validate.io-integer-primitive/-/validate.io-integer-primitive-1.0.0.tgz", + "integrity": "sha512-4ARGKA4FImVWJgrgttLYsYJmDGwxlhLfDCdq09gyVgohLKKRUfD3VAo1L2vTRCLt6hDhDtFKdZiuYUTWyBggwg==", + "dependencies": { + "validate.io-number-primitive": "^1.0.0" + } + }, + "node_modules/validate.io-matrix-like": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/validate.io-matrix-like/-/validate.io-matrix-like-1.0.2.tgz", + "integrity": "sha512-86mqLUIkZCRAOVKZvpCB7sDCw1dKBjBkY+C6WO/wLo/jQx0sOqQZz3LLtDw0DCfuAKxRuhSmIpX3nzr0nWrbdw==" + }, + "node_modules/validate.io-ndarray-like": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/validate.io-ndarray-like/-/validate.io-ndarray-like-1.0.0.tgz", + "integrity": "sha512-OV85AosxraPFSXJwzv/d7Cu5/dLiyLtsHmxtHTJcHW1N0uscd0eJ2df1Zk+HdID0eUctUllW/1YuQPUJFv1pTA==" + }, + "node_modules/validate.io-nonnegative-integer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/validate.io-nonnegative-integer/-/validate.io-nonnegative-integer-1.0.0.tgz", + "integrity": "sha512-uOMekPwcl84yg8NR7zgIZCZ9pHCtd9CK1Ri51N+ZJLTe1HyLbmdFdy7ZmfkiHkMvB1pOxeQmd1/LBjKhUD1L3A==", + "dependencies": { + "validate.io-integer": "^1.0.5" + } + }, + "node_modules/validate.io-number": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/validate.io-number/-/validate.io-number-1.0.3.tgz", + "integrity": "sha512-kRAyotcbNaSYoDnXvb4MHg/0a1egJdLwS6oJ38TJY7aw9n93Fl/3blIXdyYvPOp55CNxywooG/3BcrwNrBpcSg==" + }, + "node_modules/validate.io-number-primitive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/validate.io-number-primitive/-/validate.io-number-primitive-1.0.0.tgz", + "integrity": "sha512-8rlCe7N0TRTd50dwk4WNoMXNbX/4+RdtqE3TO6Bk0GJvAgbQlfL5DGr/Pl9ZLbWR6CutMjE2cu+yOoCnFWk+Qw==" + }, + "node_modules/validate.io-positive-integer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/validate.io-positive-integer/-/validate.io-positive-integer-1.0.0.tgz", + "integrity": "sha512-eg4LSdyqjICNUZWRilcQ5l+YayRlu6yi+GQsWw1bCmtG9yayOPmLa1fPymEHPPhbvWPAv3w0LLbCsf03pBHZkg==", + "dependencies": { + "validate.io-integer": "^1.0.5" + } + }, + "node_modules/validate.io-string-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/validate.io-string-primitive/-/validate.io-string-primitive-1.0.1.tgz", + "integrity": "sha512-TORbkLMdOFkEbPtfdx76FSVQGSAzyUEMxI+pBq5pfFm1ZzIesP+XiGc6eIK75aKu7RA7a8EcqUv5OrY5wfog5w==" + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==", + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "node_modules/weak-map": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.8.tgz", + "integrity": "sha512-lNR9aAefbGPpHO7AEnY0hCFjz1eTkWCXYvkTRrTHs9qv8zJp+SkVYpzfLIFXQQiG3tVvbNFQgVg2bQS8YGgxyw==" + }, + "node_modules/whatwg-encoding": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz", + "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==", + "dependencies": { + "iconv-lite": "0.6.3" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/whatwg-mimetype": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", + "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==", + "engines": { + "node": ">=18" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000000000000000000000000000000000000..5a64a04ffd906f2fe8f2bbef9a79128599fcab92 --- /dev/null +++ b/package.json @@ -0,0 +1,34 @@ +{ + "name": "anime-api", + "version": "1.0.0", + "description": "A restful api to provide all information about anime", + "main": "./api/server.js", + "scripts": { + "start": "node ./api/server.js", + "dev": "nodemon server.js", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "Sayan Das", + "license": "MIT", + "dependencies": { + "axios": "^1.6.7", + "cheerio": "^1.0.0-rc.12", + "compression": "^1.7.5", + "cors": "^2.8.5", + "crypto-js": "^4.2.0", + "dotenv": "^16.4.5", + "express": "^4.21.2", + "express-rate-limit": "^7.5.0", + "image-pixels": "^2.2.2", + "memory-cache": "^0.2.0", + "redis": "^4.7.0" + }, + "type": "module", + "devDependencies": { + "nodemon": "^3.1.4" + }, + "repository": { + "type": "git", + "url": "https://github.com/itzzzme/anime-api.git" + } +} diff --git a/src/configs/dataUrl.js b/src/configs/dataUrl.js new file mode 100644 index 0000000000000000000000000000000000000000..35baa8a46e016939f6e80c4791f508ba4110d3a1 --- /dev/null +++ b/src/configs/dataUrl.js @@ -0,0 +1,2 @@ +export const dataURL = + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAgAElEQVR4Xu3dCXwU9d3H8f8e2ZwkJCEQrgCCoKBVQURRq6Lg8aCVVut9tdbbVq21XvWq52O973rX+65YRRQPFAERARHkvnNAgJA72WR388wsmXQYNgEs6WN+v09er5iYY3e+79+G7/5nZnd9hjcEEEAAAQQQ6PACvg6fgAA7LNB0nmna4V8S8Au+vxtu7wLmSAQEEEgswD9wCm8ZFLrCoRMZAQTEC1Do4ke8dUAKXeHQiYwAAuIFKHTxI6bQHQF2uSu8sRMZAUUCFLqiYTtRWaErHDqREUBAvACFLn7ErNBZoSu8kRMZAYUCFLrCobNCVzh0IiOA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HQLUOi65096BBBAAAEhAhS6kEESAwEEEEBAtwCFrnv+pEcAAQQQECJAoQsZJDEQQAABBHQLUOi65096BBBAAAEhAhS6kEESAwEEEEBAtwCFrnv+pEcAAQQQECJAoQsZJDEQQAABBHQLUOi65096BBBAAAEhAhS6kEESAwEEEEBAtwCFrnv+pEcAAQQQECJAoQsZJDEQQAABBHQLUOi65096BBBAAAEhAhS6kEESAwEEEEBAtwCFrnv+pEcAAQQQECJAoQsZJDEQQAABBHQLUOi65096BBBAAAEhAhS6kEESAwEEEEBAtwCFrnv+pEcAAQQQECJAoQsZJDEQQAABBHQLUOi65096BBBAAAEhAhS6kEESAwEEEEBAt8D/ATY93seMmImHAAAAAElFTkSuQmCC"; diff --git a/src/configs/header.config.js b/src/configs/header.config.js new file mode 100644 index 0000000000000000000000000000000000000000..d76a08b9ef4b1752f1e0e04465550fd388d60e80 --- /dev/null +++ b/src/configs/header.config.js @@ -0,0 +1,4 @@ +export const DEFAULT_HEADERS = { + "User-Agent": + "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36", +}; diff --git a/src/configs/player_v1.config.js b/src/configs/player_v1.config.js new file mode 100644 index 0000000000000000000000000000000000000000..98086d2575dbba534ac9be7e2ead82a43db770fc --- /dev/null +++ b/src/configs/player_v1.config.js @@ -0,0 +1,2 @@ +export const PLAYER_SCRIPT_URL = + "https://megacloud.tv/js/player/a/e1-player.min.js"; diff --git a/src/configs/player_v2.config.js b/src/configs/player_v2.config.js new file mode 100644 index 0000000000000000000000000000000000000000..798bf35cd38ce9d92b16dd790e80ee15b4f7448e --- /dev/null +++ b/src/configs/player_v2.config.js @@ -0,0 +1,2 @@ +export const PLAYER_SCRIPT_URL = + "https://rapid-cloud.co/js/player/prod/e6-player-v2.min.js"; diff --git a/src/controllers/animeInfo.controller.js b/src/controllers/animeInfo.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..1921339cbc1803d42c686d027ae051f2ff3f8aab --- /dev/null +++ b/src/controllers/animeInfo.controller.js @@ -0,0 +1,27 @@ +import extractAnimeInfo from "../extractors/animeInfo.extractor.js"; +import extractSeasons from "../extractors/seasons.extractor.js"; +import { getCachedData, setCachedData } from "../helper/cache.helper.js"; + +export const getAnimeInfo = async (req, res) => { + const { id } = req.query; + const cacheKey = `animeInfo_${id}`; + + try { + const cachedResponse = await getCachedData(cacheKey); + if (cachedResponse && Object.keys(cachedResponse).length > 0) { + return cachedResponse; + } + const [seasons, data] = await Promise.all([ + extractSeasons(id), + extractAnimeInfo(id), + ]); + const responseData = { data: data, seasons: seasons }; + setCachedData(cacheKey, responseData).catch((err) => { + console.error("Failed to set cache:", err); + }); + return responseData; + } catch (e) { + console.error(e); + return res.status(500).json({ error: "An error occurred" }); + } +}; diff --git a/src/controllers/category.controller.js b/src/controllers/category.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..7512c7507b3dde8022303995067c4f7e4f63a4c9 --- /dev/null +++ b/src/controllers/category.controller.js @@ -0,0 +1,29 @@ +import { extractor } from "../extractors/category.extractor.js"; +import { getCachedData, setCachedData } from "../helper/cache.helper.js"; + +export const getCategory = async (req, res, routeType) => { + if (routeType === "genre/martial-arts") { + routeType = "genre/marial-arts"; + } + const requestedPage = parseInt(req.query.page) || 1; + const cacheKey = `${routeType.replace(/\//g, "_")}_page_${requestedPage}`; + try { + const cachedResponse = await getCachedData(cacheKey); + if (cachedResponse && Object.keys(cachedResponse).length > 0) + return cachedResponse; + const { data, totalPages } = await extractor(routeType, requestedPage); + if (requestedPage > totalPages) { + const error = new Error("Requested page exceeds total available pages."); + error.status = 404; + throw error; + } + const responseData = { totalPages: totalPages, data: data }; + setCachedData(cacheKey, responseData).catch((err) => { + console.error("Failed to set cache:", err); + }); + return responseData; + } catch (e) { + console.error(e); + return e; + } +}; diff --git a/src/controllers/episodeList.controller.js b/src/controllers/episodeList.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..71eb60b65a65795e04edc1b9b17d1bb85f67d710 --- /dev/null +++ b/src/controllers/episodeList.controller.js @@ -0,0 +1,21 @@ +import extractEpisodesList from "../extractors/episodeList.extractor.js"; +import { getCachedData, setCachedData } from "../helper/cache.helper.js"; + +export const getEpisodes = async (req,res) => { + const { id } = req.params; + const cacheKey = `episodes_${id}`; + try { + const cachedResponse = await getCachedData(cacheKey); + if (cachedResponse && Object.keys(cachedResponse).length > 0) { + return cachedResponse; + } + const data = await extractEpisodesList(encodeURIComponent(id)); + setCachedData(cacheKey, data).catch((err) => { + console.error("Failed to set cache:", err); + }); + return data; + } catch (e) { + console.error("Error fetching episodes:", e); + return e; + } +}; diff --git a/src/controllers/homeInfo.controller.js b/src/controllers/homeInfo.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..f6e874e9a2020809920257950dd21b7291362e68 --- /dev/null +++ b/src/controllers/homeInfo.controller.js @@ -0,0 +1,68 @@ +import getSpotlights from "../extractors/spotlight.extractor.js"; +import getTrending from "../extractors/trending.extractor.js"; +import extractPage from "../helper/extractPages.helper.js"; +import extractTopTen from "../extractors/topten.extractor.js"; +import { routeTypes } from "../routes/category.route.js"; +import extractSchedule from "../extractors/schedule.extractor.js"; +import { getCachedData, setCachedData } from "../helper/cache.helper.js"; + +const genres = routeTypes + .slice(0, 41) + .map((genre) => genre.replace("genre/", "")); + +export const getHomeInfo = async (req,res) => { + const cacheKey = "homeInfo"; + try { + const cachedResponse = await getCachedData(cacheKey); + if (cachedResponse && Object.keys(cachedResponse).length > 0) { + return cachedResponse; + } + const [ + spotlights, + trending, + topTen, + schedule, + topAiring, + mostPopular, + mostFavorite, + latestCompleted, + latestEpisode, + topUpcoming, + recentlyAdded, + ] = await Promise.all([ + getSpotlights(), + getTrending(), + extractTopTen(), + extractSchedule(new Date().toISOString().split("T")[0]), + extractPage(1, "top-airing"), + extractPage(1, "most-popular"), + extractPage(1, "most-favorite"), + extractPage(1, "completed"), + extractPage(1, "recently-updated"), + extractPage(1, "top-upcoming"), + extractPage(1, "recently-added"), + ]); + const responseData = { + spotlights, + trending, + topTen, + today: { schedule }, + topAiring: topAiring[0], + mostPopular: mostPopular[0], + mostFavorite: mostFavorite[0], + latestCompleted: latestCompleted[0], + latestEpisode: latestEpisode[0], + topUpcoming: topUpcoming[0], + recentlyAdded: recentlyAdded[0], + genres, + }; + + setCachedData(cacheKey, responseData).catch((err) => { + console.error("Failed to set cache:", err); + }); + return responseData; + } catch (fetchError) { + console.error("Error fetching fresh data:", fetchError); + return fetchError; + } +}; diff --git a/src/controllers/maintenance.controller.js b/src/controllers/maintenance.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..1a78e3f3dfefc3d6a44fa6e0aaea13263dd56dbd --- /dev/null +++ b/src/controllers/maintenance.controller.js @@ -0,0 +1,21 @@ +import { join, dirname } from "path"; +import fs from "fs"; +import { fileURLToPath } from "url"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); + +export const handleMaintenance = (req, res) => { + const filePath = join( + dirname(dirname(__dirname)), + "public", + "maintenance.html" + ); + fs.readFile(filePath, "utf8", (err, data) => { + if (err) { + console.error(err); + return res.status(500).send("Internal Server Error"); + } + res.status(404).send(data); + }); +}; diff --git a/src/controllers/nextEpisodeSchedule.controller.js b/src/controllers/nextEpisodeSchedule.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..c00f9433ed50d0fec968a3b4237412b4d422abf2 --- /dev/null +++ b/src/controllers/nextEpisodeSchedule.controller.js @@ -0,0 +1,12 @@ +import extractNextEpisodeSchedule from "../extractors/getNextEpisodeSchedule.extractor.js"; + +export const getNextEpisodeSchedule = async (req) => { + const { id } = req.params; + try { + const nextEpisodeSchedule = await extractNextEpisodeSchedule(id); + return { nextEpisodeSchedule: nextEpisodeSchedule }; + } catch (e) { + console.error(e); + return e; + } +}; diff --git a/src/controllers/producer.controller.js b/src/controllers/producer.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..082dcc34bb62b8d50b13d583954dc50346983e04 --- /dev/null +++ b/src/controllers/producer.controller.js @@ -0,0 +1,32 @@ +import { getCachedData, setCachedData } from "../helper/cache.helper.js"; +import extractPage from "../helper/extractPages.helper.js"; + +export const getProducer = async (req) => { + const { id } = req.params; + const routeType = `producer/${id}`; + const requestedPage = parseInt(req.query.page) || 1; + const cacheKey = `${routeType.replace(/\//g, "_")}_page_${requestedPage}`; + try { + const cachedResponse = await getCachedData(cacheKey); + if (cachedResponse && Object.keys(cachedResponse).length > 0) { + return cachedResponse; + } + const [data, totalPages] = await extractPage(requestedPage, routeType); + if (requestedPage > totalPages) { + const error = new Error("Requested page exceeds total available pages."); + error.status = 404; + throw error; + } + const responseData = { totalPages: totalPages, data: data }; + setCachedData(cacheKey, responseData).catch((err) => { + console.error("Failed to set cache:", err); + }); + return { data, totalPages }; + } catch (e) { + console.error(e); + if (e.status === 404) { + throw e; + } + throw new Error("An error occurred while processing your request."); + } +}; diff --git a/src/controllers/qtip.controller.js b/src/controllers/qtip.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..3ef3434af8743f8cf65646362c36df6ce63ea03b --- /dev/null +++ b/src/controllers/qtip.controller.js @@ -0,0 +1,12 @@ +import extractQtip from "../extractors/qtip.extractor.js"; + +export const getQtip = async (req) => { + try { + const { id } = req.params; + const data = await extractQtip(id); + return data; + } catch (e) { + console.error(e); + return e; + } +}; diff --git a/src/controllers/random.controller.js b/src/controllers/random.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..236fb8cb57ac3f199e41acdc82e887ab80883cd3 --- /dev/null +++ b/src/controllers/random.controller.js @@ -0,0 +1,11 @@ +import extractRandom from "../extractors/random.extractor.js"; + +export const getRandom = async (req,res) => { + try { + const data = await extractRandom(); + return data; + } catch (error) { + console.error("Error getting random anime:", error.message); + return e; + } +}; diff --git a/src/controllers/randomId.controller.js b/src/controllers/randomId.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..004fd29d8cd8532e18258545966fe59e19513289 --- /dev/null +++ b/src/controllers/randomId.controller.js @@ -0,0 +1,11 @@ +import extractRandomId from "../extractors/randomId.extractor.js"; + +export const getRandomId = async (req,res) => { + try { + const data = await extractRandomId(); + return data; + } catch (error) { + console.error("Error getting random anime ID:", error.message); + return e; + } +}; diff --git a/src/controllers/schedule.controller.js b/src/controllers/schedule.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..e78c1f497fd32801d128c57aeced29aa681af5a9 --- /dev/null +++ b/src/controllers/schedule.controller.js @@ -0,0 +1,12 @@ +import extractSchedule from "../extractors/schedule.extractor.js"; + +export const getSchedule = async (req) => { + const date = req.query.date; + try { + const data = await extractSchedule(encodeURIComponent(date)); + return data; + } catch (e) { + console.error(e); + return e; + } +}; diff --git a/src/controllers/search.controller.js b/src/controllers/search.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..f956e8fca0b3fb6776f9d84760f5e784f841381d --- /dev/null +++ b/src/controllers/search.controller.js @@ -0,0 +1,25 @@ +import extractSearchResults from "../extractors/search.extractor.js"; + +export const search = async (req) => { + try { + let { keyword } = req.query; + let page = parseInt(req.query.page) || 1; + + const [totalPage, data] = await extractSearchResults( + encodeURIComponent(keyword), + page + ); + if (page > totalPage) { + const error = new Error("Requested page exceeds total available pages."); + error.status = 404; + throw error; + } + return { data, totalPage }; + } catch (e) { + console.error(e); + if (e.status === 404) { + throw e; + } + throw new Error("An error occurred while processing your request."); + } +}; diff --git a/src/controllers/servers.controller.js b/src/controllers/servers.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..445c1bb701cfd3969072eccf68adb8e19cf235fd --- /dev/null +++ b/src/controllers/servers.controller.js @@ -0,0 +1,12 @@ +import { extractServers } from "../extractors/streamInfo.extractor.js"; + +export const getServers = async (req) => { + try { + const { ep } = req.query; + const servers = await extractServers(ep); + return servers; + } catch (e) { + console.error(e); + return e; + } +}; diff --git a/src/controllers/streamInfo.controller.js b/src/controllers/streamInfo.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..5471f2775f69b94aa8aab1ee2242b25799301b52 --- /dev/null +++ b/src/controllers/streamInfo.controller.js @@ -0,0 +1,17 @@ +import { extractStreamingInfo } from "../extractors/streamInfo.extractor.js"; + +export const getStreamInfo = async (req) => { + try { + const input = req.query.id; + const server = req.query.server; + const type = req.query.type; + const match = input.match(/ep=(\d+)/); + if (!match) throw new Error("Invalid URL format"); + const finalId = match[1]; + const streamingInfo = await extractStreamingInfo(finalId, server, type); + return streamingInfo; + } catch (e) { + console.error(e); + return e; + } +}; diff --git a/src/controllers/suggestion.controller.js b/src/controllers/suggestion.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..831415aebd4210b1f11a97528752d89656ad1121 --- /dev/null +++ b/src/controllers/suggestion.controller.js @@ -0,0 +1,12 @@ +import getSuggestion from "../extractors/suggestion.extractor.js"; + +export const getSuggestions = async (req) => { + const { keyword } = req.query; + try { + const data = await getSuggestion(encodeURIComponent(keyword)); + return data; + } catch (e) { + console.error(e); + return e; + } +}; diff --git a/src/controllers/topten.controller.js b/src/controllers/topten.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..e5d62a4e26cded2a433e1601f3bc0a06471825de --- /dev/null +++ b/src/controllers/topten.controller.js @@ -0,0 +1,22 @@ +import extractTopTen from "../extractors/topten.extractor.js"; +import { getCachedData, setCachedData } from "../helper/cache.helper.js"; + +export const getTopTen = async (req,res) => { + const cacheKey = "topTen"; + try { + const cachedResponse = await getCachedData(cacheKey); + if (cachedResponse && Object.keys(cachedResponse).length > 0) { + return cachedResponse; + } + const topTen = await extractTopTen(); + await setCachedData(cacheKey, topTen).catch((err) => { + console.error("Failed to set cache:", err); + }); + return topTen; + } catch (e) { + console.error(e); + return c + .status(500) + .json({ success: false, error: "Internal Server Error" }); + } +}; diff --git a/src/controllers/voiceactor.controller.js b/src/controllers/voiceactor.controller.js new file mode 100644 index 0000000000000000000000000000000000000000..bb2e44cdd682d398dd595d5618847bfc388c8062 --- /dev/null +++ b/src/controllers/voiceactor.controller.js @@ -0,0 +1,16 @@ +import extractVoiceActor from "../extractors/voiceactor.extractor.js"; + +export const getVoiceActors = async (req, res) => { + const requestedPage = parseInt(req.query.page) || 1; + const id = req.params.id; + try { + const { totalPages, charactersVoiceActors: data } = await extractVoiceActor( + id, + requestedPage + ); + return { currentPage: requestedPage, totalPages, data }; + } catch (e) { + console.error(e); + return e; + } +}; diff --git a/src/extractors/animeInfo.extractor.js b/src/extractors/animeInfo.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..612b72361fcf4d264691c8f430c120e5b60125c7 --- /dev/null +++ b/src/extractors/animeInfo.extractor.js @@ -0,0 +1,150 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import formatTitle from "../helper/formatTitle.helper.js"; +import { v1_base_url } from "../utils/base_v1.js"; +import extractRecommendedData from "./recommend.extractor.js"; +import extractRelatedData from "./related.extractor.js"; + +const baseUrl = v1_base_url; + +async function extractAnimeInfo(id) { + try { + const [resp, characterData] = await Promise.all([ + axios.get(`https://${baseUrl}/${id}`), + axios.get( + `https://${baseUrl}/ajax/character/list/${id.split("-").pop()}` + ), + ]); + const $1 = cheerio.load(characterData.data.html); + const $ = cheerio.load(resp.data); + const data_id = id.split("-").pop(); + const titleElement = $("#ani_detail .film-name"); + const showType = $("#ani_detail .prebreadcrumb ol li") + .eq(1) + .find("a") + .text() + .trim(); + const posterElement = $("#ani_detail .film-poster"); + const tvInfoElement = $("#ani_detail .film-stats"); + const tvInfo = {}; + tvInfoElement.find(".tick-item, span.item").each((_, element) => { + const el = $(element); + const text = el.text().trim(); + if (el.hasClass("tick-quality")) tvInfo.quality = text; + else if (el.hasClass("tick-sub")) tvInfo.sub = text; + else if (el.hasClass("tick-dub")) tvInfo.dub = text; + else if (el.hasClass("tick-pg")) tvInfo.rating = text; + else if (el.is("span.item")) { + if (!tvInfo.showType) tvInfo.showType = text; + else if (!tvInfo.duration) tvInfo.duration = text; + } + }); + + const element = $( + "#ani_detail > .ani_detail-stage > .container > .anis-content > .anisc-info-wrap > .anisc-info > .item" + ); + const overviewElement = $("#ani_detail .film-description .text"); + + const title = titleElement.text().trim(); + const japanese_title = titleElement.attr("data-jname"); + const poster = posterElement.find("img").attr("src"); + + const animeInfo = {}; + element.each((_, el) => { + const key = $(el).find(".item-head").text().trim().replace(":", ""); + const value = + key === "Genres" || key === "Producers" + ? $(el) + .find("a") + .map((_, a) => $(a).text().split(" ").join("-").trim()) + .get() + : $(el).find(".name").text().split(" ").join("-").trim(); + animeInfo[key] = value; + }); + + const season_id = formatTitle(title, data_id); + animeInfo["Overview"] = overviewElement.text().trim(); + animeInfo["tvInfo"] = tvInfo; + + let adultContent = false; + const tickRateText = $(".tick-rate", posterElement).text().trim(); + if (tickRateText.includes("18+")) { + adultContent = true; + } + + const [recommended_data, related_data] = await Promise.all([ + extractRecommendedData($), + extractRelatedData($), + ]); + + const charactersVoiceActors = $1(".bac-list-wrap .bac-item") + .map((index, el) => { + const character = { + id: + $1(el) + .find(".per-info.ltr .pi-avatar") + .attr("href") + ?.split("/")[2] || "", + poster: + $1(el).find(".per-info.ltr .pi-avatar img").attr("data-src") || "", + name: $1(el).find(".per-info.ltr .pi-detail a").text(), + cast: $1(el).find(".per-info.ltr .pi-detail .pi-cast").text(), + }; + + let voiceActors = []; + const rtlVoiceActors = $1(el).find(".per-info.rtl"); + const xxVoiceActors = $1(el).find( + ".per-info.per-info-xx .pix-list .pi-avatar" + ); + if (rtlVoiceActors.length > 0) { + voiceActors = rtlVoiceActors + .map((_, actorEl) => ({ + id: $1(actorEl).find("a").attr("href")?.split("/").pop() || "", + poster: $1(actorEl).find("img").attr("data-src") || "", + name: + $1(actorEl).find(".pi-detail .pi-name a").text().trim() || "", + })) + .get(); + } else if (xxVoiceActors.length > 0) { + voiceActors = xxVoiceActors + .map((_, actorEl) => ({ + id: $1(actorEl).attr("href")?.split("/").pop() || "", + poster: $1(actorEl).find("img").attr("data-src") || "", + name: $1(actorEl).attr("title") || "", + })) + .get(); + } + if (voiceActors.length === 0) { + voiceActors = $1(el) + .find(".per-info.per-info-xx .pix-list .pi-avatar") + .map((_, actorEl) => ({ + id: $1(actorEl).attr("href")?.split("/")[2] || "", + poster: $1(actorEl).find("img").attr("data-src") || "", + name: $1(actorEl).attr("title") || "", + })) + .get(); + } + + return { character, voiceActors }; + }) + .get(); + + return { + adultContent, + data_id, + id: season_id, + title, + japanese_title, + poster, + showType, + animeInfo, + charactersVoiceActors, + recommended_data, + related_data, + }; + } catch (e) { + console.error("Error extracting anime info:", e); + } +} + +export default extractAnimeInfo; diff --git a/src/extractors/category.extractor.js b/src/extractors/category.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..50de53af62044c3621b84728204a9fe8b288a676 --- /dev/null +++ b/src/extractors/category.extractor.js @@ -0,0 +1,16 @@ +import axios from "axios"; +import countPages from "../helper/countPages.helper.js"; +import extractPage from "../helper/extractPages.helper.js"; + +export async function extractor(path, page) { + try { + const [data, totalPages] = await extractPage(page, path); + return { data, totalPages }; + } catch (error) { + console.error( + `Error extracting data for ${path} from page ${page}:`, + error.message + ); + throw error; + } +} diff --git a/src/extractors/episodeList.extractor.js b/src/extractors/episodeList.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..3490a1a4e66b5664f8e6a36fa573116d2c27cff1 --- /dev/null +++ b/src/extractors/episodeList.extractor.js @@ -0,0 +1,41 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import { v1_base_url } from "../utils/base_v1.js"; + +const baseUrl = v1_base_url; + +async function extractEpisodesList(id) { + try { + const showId = id.split("-").pop(); + const response = await axios.get( + `https://${baseUrl}/ajax/v2/episode/list/${showId}`, + { + headers: { + "X-Requested-With": "XMLHttpRequest", + Referer: `${baseUrl}/watch/${id}`, + }, + } + ); + if (!response.data.html) return []; + const $ = cheerio.load(response.data.html); + const res = { + totalEpisodes: 0, + episodes: [], + }; + res.totalEpisodes = Number($(".detail-infor-content .ss-list a").length); + $(".detail-infor-content .ss-list a").each((_, el) => { + res.episodes.push({ + episode_no: Number($(el).attr("data-number")), + id: $(el)?.attr("href")?.split("/")?.pop() || null, + title: $(el)?.attr("title")?.trim() || null, + japanese_title: $(el).find(".ep-name").attr("data-jname"), + filler: $(el).hasClass("ssl-item-filler"), + }); + }); + return res; + } catch (error) { + console.error(error); + return []; + } +} +export default extractEpisodesList; diff --git a/src/extractors/getNextEpisodeSchedule.extractor.js b/src/extractors/getNextEpisodeSchedule.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..393605b947ab917e6829d5a73197d32fc2f21610 --- /dev/null +++ b/src/extractors/getNextEpisodeSchedule.extractor.js @@ -0,0 +1,18 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import { v1_base_url } from "../utils/base_v1.js"; + +const baseUrl = v1_base_url; + +export default async function extractNextEpisodeSchedule(id) { + try { + const { data } = await axios.get(`https://${baseUrl}/watch/${id}`); + const $ = cheerio.load(data); + const nextEpisodeSchedule = $( + ".schedule-alert > .alert.small > span:last" + ).attr("data-value"); + return nextEpisodeSchedule; + } catch (error) { + console.error(error); + } +} diff --git a/src/extractors/qtip.extractor.js b/src/extractors/qtip.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..83bce1dd9381077c9c03f81637a82d412238a514 --- /dev/null +++ b/src/extractors/qtip.extractor.js @@ -0,0 +1,66 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import { v1_base_url } from "../utils/base_v1.js"; + +const baseUrl = v1_base_url; + +export default async function extractQtip(id) { + try { + const { data } = await axios.get( + `https://${baseUrl}/ajax/movie/qtip/${id}`, + { + headers: { + "x-requested-with": "XMLHttpRequest", + }, + } + ); + const $ = cheerio.load(data); + + const title = $(".pre-qtip-title").text(); + const rating = $(".pqd-li i.fas.fa-star").parent().text().trim(); + const quality = $(".tick-item.tick-quality").text(); + const subCount = $(".tick-item.tick-sub").text().trim(); + const dubCount = $(".tick-item.tick-dub").text().trim(); + const episodeCount = $(".tick-item.tick-eps").text().trim(); + const type = $(".badge.badge-quality").text(); + const description = $(".pre-qtip-description").text().trim(); + const japaneseTitle = $(".pre-qtip-line:contains('Japanese:') .stick-text") + .text() + .trim(); + const airedDate = $(".pre-qtip-line:contains('Aired:') .stick-text") + .text() + .trim(); + const status = $(".pre-qtip-line:contains('Status:') .stick-text") + .text() + .trim(); + const Synonyms = $(".pre-qtip-line:contains('Synonyms:') .stick-text") + .text() + .trim(); + const genres = []; + $(".pre-qtip-line:contains('Genres:') a").each((i, elem) => { + genres.push($(elem).text().trim()); + }); + const watchLink = $(".pre-qtip-button a.btn.btn-play").attr("href"); + + const extractedData = { + title, + rating, + quality, + subCount, + dubCount, + episodeCount, + type, + description, + japaneseTitle, + Synonyms, + airedDate, + status, + genres, + watchLink, + }; + return extractedData; + } catch (error) { + console.error("Error extracting data:", error); + return error; + } +} diff --git a/src/extractors/random.extractor.js b/src/extractors/random.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..219641cb340084931a89874bd55457f9d7fc0f3b --- /dev/null +++ b/src/extractors/random.extractor.js @@ -0,0 +1,18 @@ +import axios from "axios"; +import baseUrl from "../utils/baseUrl.js"; +import extractAnimeInfo from "./animeInfo.extractor.js"; +import { DEFAULT_HEADERS } from "../configs/header.config.js"; + +const axiosInstance = axios.create({ headers: DEFAULT_HEADERS }); + +export default async function extractRandom() { + try { + const resp = await axiosInstance.get(`${baseUrl}/random`); + const redirectedUrl = resp.request.res.responseUrl; + const id = redirectedUrl.split("/").pop(); + const animeInfo = await extractAnimeInfo(id); + return animeInfo; + } catch (error) { + console.error("Error extracting random anime info:", error); + } +} diff --git a/src/extractors/randomId.extractor.js b/src/extractors/randomId.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..c405fd2b7571b0a4946415a4b2922dec9a4a5311 --- /dev/null +++ b/src/extractors/randomId.extractor.js @@ -0,0 +1,16 @@ +import axios from "axios"; +import baseUrl from "../utils/baseUrl.js"; +import { DEFAULT_HEADERS } from "../configs/header.config.js"; + +const axiosInstance = axios.create({ headers: DEFAULT_HEADERS }); + +export default async function extractRandomId() { + try { + const resp = await axiosInstance.get(`${baseUrl}/random`); + const redirectedUrl = resp.request.res.responseUrl; + const id = redirectedUrl.split("/").pop(); + return id; + } catch (error) { + console.error("Error extracting random anime info:", error); + } +} diff --git a/src/extractors/recommend.extractor.js b/src/extractors/recommend.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..124cc920584500d91bae072c9ab37e8816fac714 --- /dev/null +++ b/src/extractors/recommend.extractor.js @@ -0,0 +1,65 @@ +export default async function extractRecommendedData($) { + const recommendedElements = $( + "#main-content .block_area_category .tab-content .block_area-content .film_list-wrap .flw-item" + ); + return await Promise.all( + recommendedElements + .map(async (index, element) => { + const id = $(element) + .find(".film-detail .film-name a") + .attr("href") + .split("/") + .pop(); + const data_id = $(element).find(".film-poster a").attr("data-id"); + const title = $(element) + .find(".film-detail .film-name a") + .text() + .trim(); + const japanese_title = $(element) + .find(".film-detail .film-name a") + .attr("data-jname") + .trim(); + const poster = $(element).find(".film-poster img").attr("data-src"); + const $fdiItems = $(".film-detail .fd-infor .fdi-item", element); + const showType = $fdiItems + .filter((_, item) => { + const text = $(item).text().trim().toLowerCase(); + return ["tv", "ona", "movie", "ova", "special"].some((type) => + text.includes(type) + ); + }) + .first(); + + const tvInfo = { + showType: showType ? showType.text().trim() : "Unknown", + duration: $(".film-detail .fd-infor .fdi-duration", element) + .text() + .trim(), + }; + + ["sub", "dub", "eps"].forEach((property) => { + const value = $(`.tick .tick-${property}`, element).text().trim(); + if (value) { + tvInfo[property] = value; + } + }); + let adultContent = false; + const tickRateText = $(".film-poster>.tick-rate", element) + .text() + .trim(); + if (tickRateText.includes("18+")) { + adultContent = true; + } + return { + data_id, + id, + title, + japanese_title, + poster, + tvInfo, + adultContent, + }; + }) + .get() + ); +} diff --git a/src/extractors/related.extractor.js b/src/extractors/related.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..94e43072b8fe1c0e3adedb871d591e01fe81becc --- /dev/null +++ b/src/extractors/related.extractor.js @@ -0,0 +1,69 @@ +export default async function extractRelatedData($) { + const relatedElements = $( + "#main-sidebar .block_area_sidebar .block_area-content .cbox-list .cbox-content .anif-block-ul .ulclear li" + ); + return await Promise.all( + relatedElements + .map(async (index, element) => { + const id = $(element) + .find(".film-detail .film-name a") + .attr("href") + .split("/") + .pop(); + const data_id = $(element).find(".film-poster").attr("data-id"); + const title = $(element) + .find(".film-detail .film-name a") + .text() + .trim(); + const japanese_title = $(element) + .find(".film-detail .film-name a") + .attr("data-jname") + .trim(); + const poster = $(element).find(".film-poster img").attr("data-src"); + const $fdiItems = $(".film-detail>.fd-infor>.tick", element); + const showType = $fdiItems + .filter((_, item) => { + const text = $(item).text().trim().toLowerCase(); + return ["tv", "ona", "movie", "ova", "special"].some((type) => + text.includes(type) + ); + }) + .first() + .text() + .trim() + .split(/\s+/) + .find((word) => + ["tv", "ona", "movie", "ova", "special"].includes( + word.toLowerCase() + ) + ); + const tvInfo = { + showType: showType ? showType : "Unknown", + }; + + ["sub", "dub", "eps"].forEach((property) => { + const value = $(`.tick .tick-${property}`, element).text().trim(); + if (value) { + tvInfo[property] = value; + } + }); + let adultContent = false; + const tickRateText = $(".film-poster>.tick-rate", element) + .text() + .trim(); + if (tickRateText.includes("18+")) { + adultContent = true; + } + return { + data_id, + id, + title, + japanese_title, + poster, + tvInfo, + adultContent, + }; + }) + .get() + ); +} diff --git a/src/extractors/schedule.extractor.js b/src/extractors/schedule.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..61c89ac20e9ee9615ebdc19688550f0f4c933dde --- /dev/null +++ b/src/extractors/schedule.extractor.js @@ -0,0 +1,47 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import { v1_base_url } from "../utils/base_v1.js"; + +export default async function extractSchedule(date) { + try { + const resp = await axios.get( + `https://${v1_base_url}/ajax/schedule/list?tzOffset=-330&date=${date}` + ); + const $ = cheerio.load(resp.data.html); + const results = []; + $("li").each((i, element) => { + const id = $(element) + ?.find("a") + .attr("href") + .split("?")[0] + .replace("/", ""); + const data_id = id?.split("-").pop(); + const title = $(element).find(".film-name").text().trim(); + const japanese_title = $(element) + .find(".film-name") + .attr("data-jname") + .trim(); + const releaseDate = date; + const time = $(element).find(".time").text().trim(); + const episode_no = $(element) + ?.find(".btn-play") + .text() + .trim() + .split(" ") + .pop(); + results.push({ + id, + data_id, + title, + japanese_title, + releaseDate, + time, + episode_no, + }); + }); + return results; + } catch (error) { + console.log(error.message); + return []; + } +} \ No newline at end of file diff --git a/src/extractors/search.extractor.js b/src/extractors/search.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..c9381328d25b6e4aa07f88233aed253dac068df1 --- /dev/null +++ b/src/extractors/search.extractor.js @@ -0,0 +1,111 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import { DEFAULT_HEADERS } from "../configs/header.config.js"; +import baseUrl from "../utils/baseUrl.js"; + +async function extractSearchResults(search, page) { + try { + const resp = await axios.get( + `${baseUrl}/search?keyword=${search}&page=${page}`, + { + headers: { + Accept: + "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", + "Accept-Encoding": "gzip, deflate, br", + "User-Agent": DEFAULT_HEADERS, + }, + } + ); + + const $ = cheerio.load(resp.data); + const elements = "#main-content .film_list-wrap .flw-item"; + + const totalPage = + Number( + $('.pre-pagination nav .pagination > .page-item a[title="Last"]') + ?.attr("href") + ?.split("=") + .pop() ?? + $('.pre-pagination nav .pagination > .page-item a[title="Next"]') + ?.attr("href") + ?.split("=") + .pop() ?? + $(".pre-pagination nav .pagination > .page-item.active a") + ?.text() + ?.trim() + ) || 1; + + const result = []; + $(elements).each((_, el) => { + const id = + $(el) + .find(".film-detail .film-name .dynamic-name") + ?.attr("href") + ?.slice(1) + .split("?ref=search")[0] || null; + result.push({ + id: id, + title: $(el) + .find(".film-detail .film-name .dynamic-name") + ?.text() + ?.trim(), + japanese_title: + $(el) + .find(".film-detail .film-name .dynamic-name") + ?.attr("data-jname") + ?.trim() || null, + poster: + $(el) + .find(".film-poster .film-poster-img") + ?.attr("data-src") + ?.trim() || null, + duration: $(el) + .find(".film-detail .fd-infor .fdi-item.fdi-duration") + ?.text() + ?.trim(), + tvInfo: { + showType: + $(el) + .find(".film-detail .fd-infor .fdi-item:nth-of-type(1)") + .text() + .trim() || "Unknown", + rating: $(el).find(".film-poster .tick-rate")?.text()?.trim() || null, + sub: + Number( + $(el) + .find(".film-poster .tick-sub") + ?.text() + ?.trim() + .split(" ") + .pop() + ) || null, + dub: + Number( + $(el) + .find(".film-poster .tick-dub") + ?.text() + ?.trim() + .split(" ") + .pop() + ) || null, + eps: + Number( + $(el) + .find(".film-poster .tick-eps") + ?.text() + ?.trim() + .split(" ") + .pop() + ) || null, + }, + }); + }); + + return [parseInt(totalPage, 10), result.length > 0 ? result : []]; + } catch (e) { + console.error(e); + return e; + } +} + +export default extractSearchResults; diff --git a/src/extractors/seasons.extractor.js b/src/extractors/seasons.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..315e30d65e63c15e03d531ccca26ea3f369e8573 --- /dev/null +++ b/src/extractors/seasons.extractor.js @@ -0,0 +1,31 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import formatTitle from "../helper/formatTitle.helper.js"; +import baseUrl from "../utils/baseUrl.js"; + +async function extractSeasons(id) { + try { + const resp = await axios.get(`${baseUrl}/watch/${id}`); + const $ = cheerio.load(resp.data); + const seasons = $(".anis-watch>.other-season>.inner>.os-list>a") + .map((index, element) => { + const data_number = index; + const data_id = parseInt($(element).attr("href").split("-").pop()); + const season = $(element).find(".title").text().trim(); + const seasonPoster=$(element).find(".season-poster").attr("style").match(/url\((.*?)\)/)[1]; + const title = $(element).attr("title").trim(); + const id = formatTitle(title, data_id); + const season_poster = $(element) + .find(".season-poster") + .attr("style") + .match(/url\((.*?)\)/)[1]; + return { id, data_number, data_id, season, title, season_poster }; + }) + .get(); + return seasons; + } catch (e) { + console.log(e); + } +} + +export default extractSeasons; diff --git a/src/extractors/spotlight.extractor.js b/src/extractors/spotlight.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..44751b06a40260f6fe1cbc101c9065ac0b53f5b3 --- /dev/null +++ b/src/extractors/spotlight.extractor.js @@ -0,0 +1,103 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import baseUrl from "../utils/baseUrl.js"; + +async function extractSpotlights() { + try { + const resp = await axios.get(`${baseUrl}/home`); + const $ = cheerio.load(resp.data); + + const slideElements = $( + "div.deslide-wrap > div.container > div#slider > div.swiper-wrapper > div.swiper-slide" + ); + + const promises = slideElements + .map(async (ind, ele) => { + const poster = $(ele) + .find( + "div.deslide-item > div.deslide-cover > div.deslide-cover-img > img.film-poster-img" + ) + .attr("data-src"); + const title = $(ele) + .find( + "div.deslide-item > div.deslide-item-content > div.desi-head-title" + ) + .text() + .trim(); + const japanese_title = $(ele) + .find( + "div.deslide-item > div.deslide-item-content > div.desi-head-title" + ) + .attr("data-jname") + .trim(); + const description = $(ele) + .find( + "div.deslide-item > div.deslide-item-content > div.desi-description" + ) + .text() + .trim(); + const id = $(ele) + .find( + ".deslide-item > .deslide-item-content > .desi-buttons > a:eq(0)" + ) + .attr("href") + .split("/") + .pop(); + const data_id = $(ele) + .find( + ".deslide-item > .deslide-item-content > .desi-buttons > a:eq(0)" + ) + .attr("href") + .split("/") + .pop() + .split("-") + .pop(); + const tvInfoMapping = { + 0: "showType", + 1: "duration", + 2: "releaseDate", + 3: "quality", + 4: "episodeInfo", + }; + + const tvInfo = {}; + + await Promise.all( + $(ele) + .find("div.sc-detail > div.scd-item") + .map(async (index, element) => { + const key = tvInfoMapping[index]; + let value = $(element).text().trim().replace(/\n/g, ""); + + const tickContainer = $(element).find(".tick"); + + if (tickContainer.length > 0) { + value = { + sub: tickContainer.find(".tick-sub").text().trim(), + dub: tickContainer.find(".tick-dub").text().trim(), + }; + } + tvInfo[key] = value; + }) + ); + return { + id, + data_id, + poster, + title, + japanese_title, + description, + tvInfo, + }; + }) + .get(); + + const serverData = await Promise.all(promises); + return JSON.parse(JSON.stringify(serverData, null, 2)); + } catch (error) { + console.error("Error fetching data:", error.message); + return error; + } +} + +export default extractSpotlights; diff --git a/src/extractors/streamInfo.extractor.js b/src/extractors/streamInfo.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..5dadc236dc3b2de6f78f5bdaaa8b69e51680a41f --- /dev/null +++ b/src/extractors/streamInfo.extractor.js @@ -0,0 +1,64 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import baseUrl from "../utils/baseUrl.js"; +import decryptMegacloud from "../parsers/decryptors/megacloud.decryptor.js"; + +export async function extractServers(id) { + try { + const resp = await axios.get( + `${baseUrl}/ajax/v2/episode/servers?episodeId=${id}` + ); + const $ = cheerio.load(resp.data.html); + const serverData = []; + $(".server-item").each((index, element) => { + const data_id = $(element).attr("data-id"); + const server_id = $(element).attr("data-server-id"); + const type = $(element).attr("data-type"); + const serverName = $(element).find("a").text().trim(); + serverData.push({ + type, + data_id, + server_id, + serverName, + }); + }); + console.log(serverData); + return serverData; + } catch (error) { + console.log(error); + return []; + } +} + +async function extractStreamingInfo(id, name, type) { + try { + const servers = await extractServers(id.split("?ep=").pop()); + let requestedServer = servers.filter( + (server) => + server.serverName.toLowerCase() === name.toLowerCase() && + server.type.toLowerCase() === type.toLowerCase() + ); + if (requestedServer.length === 0) { + requestedServer = servers.filter( + (server) => + server.serverName.toLowerCase() === name.toLowerCase() && + server.type.toLowerCase() === "raw" + ); + } + if (requestedServer.length === 0) { + throw new Error( + `No matching server found for name: ${name}, type: ${type}` + ); + } + const streamingLink = await decryptMegacloud( + requestedServer[0].data_id, + name, + type + ); + return { streamingLink, servers }; + } catch (error) { + console.error("An error occurred:", error); + return { streamingLink: [], servers: [] }; + } +} +export { extractStreamingInfo }; diff --git a/src/extractors/subtitle.extractor.js b/src/extractors/subtitle.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..f49b5d76a9cfa20d156006b7e6e05d4684c869fd --- /dev/null +++ b/src/extractors/subtitle.extractor.js @@ -0,0 +1,20 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import baseUrl from "../utils/baseUrl.js"; +import { provider } from "../utils/provider.js"; + +export async function extractSubtitle(id) { + // console.log(id); + const resp = await axios.get(`${baseUrl}/ajax/v2/episode/sources/?id=${id}`); + // console.log(resp.data.link.split('/').pop().replace(/\?k=\d?/g, "")); + const source = await axios.get( + `${provider}/embed-2/ajax/e-1/getSources?id=${resp.data.link + .split("/") + .pop() + .replace(/\?k=\d?/g, "")}` + ); + const subtitles = source.data.tracks; + const intro = source.data.intro; + const outro = source.data.outro; + return { subtitles, intro, outro }; +} diff --git a/src/extractors/suggestion.extractor.js b/src/extractors/suggestion.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..82d2830a695277adcc83737345e839b4695013d7 --- /dev/null +++ b/src/extractors/suggestion.extractor.js @@ -0,0 +1,50 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import { v1_base_url } from "../utils/base_v1.js"; + +async function getSuggestions(keyword) { + try { + const resp = await axios.get( + `https://${v1_base_url}/ajax/search/suggest?keyword=${keyword}` + ); + const $ = cheerio.load(resp.data.html); + const results = []; + $(".nav-item") + .not(".nav-bottom") + .each((i, element) => { + const id = $(element).attr("href").split("?")[0].replace("/", ""); + const data_id = id.split("-").pop(); + const imgData = $(element).find(".film-poster-img").attr("data-src"); + const title = $(element).find(".film-name").text().trim(); + const japanese_title = $(element).find(".film-name").attr("data-jname").trim(); + const releaseDate = $(element) + .find(".film-infor span") + .first() + .text() + .trim(); + const filmInforHtml = $(element).find(".film-infor").html(); + const showTypeMatch = /<\/i>([^<]+)<\/i>/; + const showType = showTypeMatch.exec(filmInforHtml)?.[1]?.trim() || ""; + const duration = $(element) + .find(".film-infor span") + .last() + .text() + .trim(); + results.push({ + id, + data_id, + imgData, + title, + japanese_title, + releaseDate, + showType, + duration, + }); + }); + return results; + } catch (error) { + console.log(error.message); + } +} + +export default getSuggestions; \ No newline at end of file diff --git a/src/extractors/topten.extractor.js b/src/extractors/topten.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..3b4acbed4880e918b5f09a153a8571ac03129e5e --- /dev/null +++ b/src/extractors/topten.extractor.js @@ -0,0 +1,55 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import baseUrl from "../utils/baseUrl.js"; + +// Set Axios defaults +axios.defaults.baseURL = baseUrl; + +async function extractTopTen() { + try { + const resp = await axios.get("/home"); + const $ = cheerio.load(resp.data); + + const labels = ["today", "week", "month"]; + const result = {}; + + // Loop through eq(0), eq(1), eq(2) for today, week, and month respectively + labels.forEach((label, idx) => { + const data = $( + `#main-sidebar .block_area-realtime .block_area-content ul:eq(${idx})>li` + ) + .map((index, element) => { + const number = $(".film-number>span", element).text().trim(); + const title = $(".film-detail>.film-name>a", element).text().trim(); + const poster = $(".film-poster>img", element).attr("data-src"); + const japanese_title = $(".film-detail>.film-name>a", element) + .attr("data-jname") + .trim(); + const data_id = $(".film-poster", element).attr("data-id"); + const id = $(".film-detail>.film-name>a", element) + .attr("href") + .split("/") + .pop(); + const tvInfo = ["sub", "dub", "eps"].reduce((info, property) => { + const value = $(`.tick .tick-${property}`, element).text().trim(); + if (value) { + info[property] = value; + } + return info; + }, {}); + + return { id, data_id, number, title, japanese_title, poster, tvInfo }; + }) + .get(); + + result[label] = data; + }); + + return result; + } catch (error) { + console.error("Error fetching data:", error); + throw error; + } +} + +export default extractTopTen; diff --git a/src/extractors/trending.extractor.js b/src/extractors/trending.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..5018b078b9dd6862c1814ae15e6129c7156cd308 --- /dev/null +++ b/src/extractors/trending.extractor.js @@ -0,0 +1,35 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import baseUrl from "../utils/baseUrl.js"; + +async function fetchAnimeDetails(element) { + const data_id = element.attr("data-id"); + const number = element.find(".number > span").text(); + const poster = element.find("img").attr("data-src"); + const title = element.find(".film-title").text().trim(); + const japanese_title = element.find(".film-title").attr("data-jname").trim(); + const id = element.find("a").attr("href").split("/").pop(); + return { id, data_id, number, poster, title, japanese_title }; +} + +async function extractTrending() { + try { + const resp = await axios.get(`${baseUrl}/home`); + const $ = cheerio.load(resp.data); + + const trendingElements = $("#anime-trending #trending-home .swiper-slide"); + const elementPromises = trendingElements + .map((index, element) => { + return fetchAnimeDetails($(element)); + }) + .get(); + + const trendingData = await Promise.all(elementPromises); + return JSON.parse(JSON.stringify(trendingData)); + } catch (error) { + console.error("Error fetching data:", error.message); + return error; + } +} + +export default extractTrending; diff --git a/src/extractors/voiceactor.extractor.js b/src/extractors/voiceactor.extractor.js new file mode 100644 index 0000000000000000000000000000000000000000..536378ccb3059eecb98e08961ae2a92106beaab2 --- /dev/null +++ b/src/extractors/voiceactor.extractor.js @@ -0,0 +1,77 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import baseUrl from "../utils/baseUrl.js"; +import { parse } from "dotenv"; + +export default async function extractVoiceActor(id, page) { + try { + const resp = await axios.get( + `${baseUrl}/ajax/character/list/${id.split("-").pop()}?page=${page}` + ); + const $ = cheerio.load(resp.data.html); + let totalPages = 1; + const paginationList = $(".pre-pagination nav ul"); + if (paginationList.length) { + const lastPageLink = paginationList.find("li").last().find("a"); + const pageNumber = + lastPageLink.attr("data-url")?.match(/page=(\d+)/)?.[1] || + lastPageLink.text().trim(); + totalPages = parseInt(pageNumber) || totalPages; + } + const charactersVoiceActors = $(".bac-list-wrap .bac-item") + .map((index, el) => { + const character = { + id: + $(el) + .find(".per-info.ltr .pi-avatar") + .attr("href") + ?.split("/")[2] || "", + poster: + $(el).find(".per-info.ltr .pi-avatar img").attr("data-src") || "", + name: $(el).find(".per-info.ltr .pi-detail a").text(), + cast: $(el).find(".per-info.ltr .pi-detail .pi-cast").text(), + }; + + let voiceActors = []; + const rtlVoiceActors = $(el).find(".per-info.rtl"); + const xxVoiceActors = $(el).find( + ".per-info.per-info-xx .pix-list .pi-avatar" + ); + if (rtlVoiceActors.length > 0) { + voiceActors = rtlVoiceActors + .map((_, actorEl) => ({ + id: $(actorEl).find("a").attr("href")?.split("/").pop() || "", + poster: $(actorEl).find("img").attr("data-src") || "", + name: + $(actorEl).find(".pi-detail .pi-name a").text().trim() || "", + })) + .get(); + } else if (xxVoiceActors.length > 0) { + voiceActors = xxVoiceActors + .map((_, actorEl) => ({ + id: $(actorEl).attr("href")?.split("/").pop() || "", + poster: $(actorEl).find("img").attr("data-src") || "", + name: $(actorEl).attr("title") || "", + })) + .get(); + } + if (voiceActors.length === 0) { + voiceActors = $(el) + .find(".per-info.per-info-xx .pix-list .pi-avatar") + .map((_, actorEl) => ({ + id: $(actorEl).attr("href")?.split("/")[2] || "", + poster: $(actorEl).find("img").attr("data-src") || "", + name: $(actorEl).attr("title") || "", + })) + .get(); + } + + return { character, voiceActors }; + }) + .get(); + return { totalPages, charactersVoiceActors }; + } catch (error) { + console.error("Error in extractVoiceActor:", error); + throw new Error("Could not extract voice actors"); + } +} diff --git a/src/helper/cache.helper.js b/src/helper/cache.helper.js new file mode 100644 index 0000000000000000000000000000000000000000..3260fdaa0e29e07f0c1452326760313c81dc15f1 --- /dev/null +++ b/src/helper/cache.helper.js @@ -0,0 +1,34 @@ +import axios from "axios"; +import dotenv from "dotenv"; + +dotenv.config(); + +const CACHE_SERVER_URL = process.env.CACHE_URL || null; + +export const getCachedData = async (key) => { + try { + if (!CACHE_SERVER_URL) { + console.log(CACHE_SERVER_URL); + return; + } + const response = await axios.get(`${CACHE_SERVER_URL}/${key}`); + return response.data; + } catch (error) { + if (error.response && error.response.status === 404) { + return null; + } + throw error; + } +}; + +export const setCachedData = async (key, value) => { + try { + if (!CACHE_SERVER_URL) { + return; + } + await axios.post(CACHE_SERVER_URL, { key, value }); + } catch (error) { + console.error("Error setting cache data:", error); + throw error; + } +}; diff --git a/src/helper/countPages.helper.js b/src/helper/countPages.helper.js new file mode 100644 index 0000000000000000000000000000000000000000..23a75fd075db49f6bd500ec5e85adea7d71cb66f --- /dev/null +++ b/src/helper/countPages.helper.js @@ -0,0 +1,24 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import { DEFAULT_HEADERS } from "../configs/header.config.js"; + +const axiosInstance = axios.create({ headers: DEFAULT_HEADERS }); + +async function countPages(url) { + try { + const { data } = await axiosInstance.get(url); + const $ = cheerio.load(data); + const lastPageHref = $( + ".tab-content .pagination .page-item:last-child a" + ).attr("href"); + const lastPageNumber = lastPageHref + ? parseInt(lastPageHref.split("=").pop()) + : 1; + return lastPageNumber; + } catch (error) { + console.error("Error counting pages:", error.message); + throw error; + } +} + +export default countPages; diff --git a/src/helper/extractPages.helper.js b/src/helper/extractPages.helper.js new file mode 100644 index 0000000000000000000000000000000000000000..2e17c7c04820a9308bb92a119f386934f0b90cfb --- /dev/null +++ b/src/helper/extractPages.helper.js @@ -0,0 +1,92 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import baseUrl from "../utils/baseUrl.js"; +import { DEFAULT_HEADERS } from "../configs/header.config.js"; + +const axiosInstance = axios.create({ headers: DEFAULT_HEADERS }); + +async function extractPage(page, params) { + try { + const resp = await axiosInstance.get(`${baseUrl}/${params}?page=${page}`); + const $ = cheerio.load(resp.data); + const totalPages = + Number( + $('.pre-pagination nav .pagination > .page-item a[title="Last"]') + ?.attr("href") + ?.split("=") + .pop() ?? + $('.pre-pagination nav .pagination > .page-item a[title="Next"]') + ?.attr("href") + ?.split("=") + .pop() ?? + $(".pre-pagination nav .pagination > .page-item.active a") + ?.text() + ?.trim() + ) || 1; + + const contentSelector = params.includes("az-list") + ? ".tab-content" + : "#main-content"; + const data = await Promise.all( + $(`${contentSelector} .film_list-wrap .flw-item`).map( + async (index, element) => { + const $fdiItems = $(".film-detail .fd-infor .fdi-item", element); + const showType = $fdiItems + .filter((_, item) => { + const text = $(item).text().trim().toLowerCase(); + return ["tv", "ona", "movie", "ova", "special"].some((type) => + text.includes(type) + ); + }) + .first(); + const poster = $(".film-poster>img", element).attr("data-src"); + const title = $(".film-detail .film-name", element).text(); + const japanese_title = $(".film-detail>.film-name>a", element).attr( + "data-jname" + ); + const description = $(".film-detail .description", element) + .text() + .trim(); + const data_id = $(".film-poster>a", element).attr("data-id"); + const id = $(".film-poster>a", element).attr("href").split("/").pop(); + const tvInfo = { + showType: showType ? showType.text().trim() : "Unknown", + duration: $(".film-detail .fd-infor .fdi-duration", element) + .text() + .trim(), + }; + let adultContent = false; + const tickRateText = $(".film-poster>.tick-rate", element) + .text() + .trim(); + if (tickRateText.includes("18+")) { + adultContent = true; + } + + ["sub", "dub", "eps"].forEach((property) => { + const value = $(`.tick .tick-${property}`, element).text().trim(); + if (value) { + tvInfo[property] = value; + } + }); + return { + id, + data_id, + poster, + title, + japanese_title, + description, + tvInfo, + adultContent, + }; + } + ) + ); + return [data, parseInt(totalPages, 10)]; + } catch (error) { + console.error(`Error extracting data from page ${page}:`, error.message); + throw error; + } +} + +export default extractPage; diff --git a/src/helper/fetchScript.helper.js b/src/helper/fetchScript.helper.js new file mode 100644 index 0000000000000000000000000000000000000000..b6c407e923464736fd0d383db7a639445527ebf1 --- /dev/null +++ b/src/helper/fetchScript.helper.js @@ -0,0 +1,8 @@ +import axios from "axios"; + +async function fetchScript(url) { + const response = await axios.get(url); + return response.data; +} + +export default fetchScript; diff --git a/src/helper/formatTitle.helper.js b/src/helper/formatTitle.helper.js new file mode 100644 index 0000000000000000000000000000000000000000..723b296e083ecd7060253e395617dde96ce025fb --- /dev/null +++ b/src/helper/formatTitle.helper.js @@ -0,0 +1,9 @@ +function formatTitle(title, data_id) { + let formattedTitle = title.replace(/[^\w\s]/g, ""); + formattedTitle = formattedTitle.toLowerCase(); + formattedTitle = formattedTitle.replace(/\s+/g, "-"); + formattedTitle = `${formattedTitle}-${data_id}`; + return formattedTitle; +} + +export default formatTitle; diff --git a/src/helper/getKey.helper.js b/src/helper/getKey.helper.js new file mode 100644 index 0000000000000000000000000000000000000000..c1d890029569199e89501c92fbf8f9963879ef6f --- /dev/null +++ b/src/helper/getKey.helper.js @@ -0,0 +1,34 @@ +class ErrorLoadingException extends Error { + constructor(message) { + super(message); + this.name = "ErrorLoadingException"; + } +} + +function matchingKey(value, script) { + const regex = new RegExp(`,${value}=((?:0x)?([0-9a-fA-F]+))`); + const match = script.match(regex); + if (match) { + return match[2]; + } else { + throw new ErrorLoadingException("Failed to match the key"); + } +} + +function getKeys(script) { + const regex = + /case\s*0x[0-9a-f]+:(?![^;]*=partKey)\s*\w+\s*=\s*(\w+)\s*,\s*\w+\s*=\s*(\w+);/g; + const matches = script.matchAll(regex); + + return Array.from(matches, (match) => { + const matchKey1 = matchingKey(match[1], script); + const matchKey2 = matchingKey(match[2], script); + try { + return [parseInt(matchKey1, 16), parseInt(matchKey2, 16)]; + } catch (e) { + return []; + } + }).filter((pair) => pair.length > 0); +} + +export default getKeys; diff --git a/src/parsers/decryptors/decodedpng.js b/src/parsers/decryptors/decodedpng.js new file mode 100644 index 0000000000000000000000000000000000000000..5e783d920996cd6f78e21ff9a87ffda2c93cf2f4 --- /dev/null +++ b/src/parsers/decryptors/decodedpng.js @@ -0,0 +1,844 @@ +export const data = new Uint8ClampedArray([ + 246, 246, 246, 255, 226, 234, 236, 255, 113, 170, 187, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 0, + 255, 255, 1, 61, 139, 163, 192, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 130, 180, 196, 254, 242, 243, 244, 254, 246, 246, + 246, 254, 243, 244, 245, 254, 105, 165, 184, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, + 164, 255, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, + 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, + 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 132, 181, + 196, 254, 243, 245, 245, 254, 188, 212, 220, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 255, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, + 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 139, + 164, 254, 63, 142, 165, 254, 217, 230, 233, 254, 132, 181, 196, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 255, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 255, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 177, 206, 216, 254, 119, 174, + 190, 255, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 164, 198, + 210, 255, 119, 174, 190, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, 164, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, 164, 254, 60, 140, + 164, 255, 60, 140, 165, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, + 165, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, + 165, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, 164, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, 164, 254, 60, 140, + 164, 254, 60, 140, 165, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, + 165, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, + 165, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, + 164, 254, 60, 140, 164, 254, 60, 140, 165, 254, 60, 140, 164, 254, 60, 140, + 164, 254, 60, 140, 165, 254, 60, 140, 164, 254, 60, 140, 164, 254, 60, 140, + 164, 255, 163, 198, 210, 254, 119, 174, 190, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 255, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 255, 60, 139, 164, 254, 163, 198, 210, 254, 119, 174, 190, 254, 60, 139, + 164, 254, 60, 140, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, + 164, 255, 60, 140, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 139, 164, 254, 60, 140, + 164, 255, 60, 139, 164, 254, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, + 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, + 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, + 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, + 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, + 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, + 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 174, + 190, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 131, 180, + 195, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, + 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, + 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, + 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, + 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, + 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, + 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, + 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, + 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, 239, 240, 255, 233, + 239, 240, 255, 233, 239, 240, 255, 218, 230, 234, 255, 143, 187, 200, 255, 66, + 143, 167, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, + 140, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, + 140, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, + 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 173, 190, 255, 60, + 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 139, 185, 199, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 223, 233, 236, + 255, 136, 183, 197, 255, 69, 145, 168, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 140, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, + 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, 184, 199, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 242, 243, 244, 255, 219, 231, 235, 255, 217, 229, 233, 255, + 217, 229, 233, 255, 217, 229, 233, 255, 217, 229, 233, 255, 217, 229, 233, + 255, 217, 229, 233, 255, 217, 229, 233, 255, 217, 229, 233, 255, 217, 229, + 233, 255, 217, 229, 233, 255, 217, 229, 233, 255, 217, 229, 233, 255, 217, + 229, 233, 255, 217, 229, 233, 255, 97, 160, 180, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 139, 185, 199, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 173, 190, + 255, 60, 140, 164, 255, 60, 140, 165, 255, 60, 140, 164, 255, 139, 185, 199, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, + 174, 190, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, + 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, + 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 163, 198, + 210, 255, 119, 174, 190, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, + 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 102, 164, 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, + 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, 140, 164, 255, 60, 140, 164, + 255, 60, 139, 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 102, 164, 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 140, 164, 255, 163, 198, 210, 255, 119, 173, 190, 255, 60, 139, 164, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 140, 164, 255, 60, 139, 164, + 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, 184, 199, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 139, 185, 199, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 173, 190, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, 185, 199, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 163, 198, 210, 255, 119, + 174, 190, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, + 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 241, 243, 244, 255, 227, 235, 238, 255, 243, 245, 245, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 230, 237, 239, 255, 239, 242, 243, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 233, 239, 241, 255, 235, 239, 241, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 239, 242, 243, 255, 230, 236, 239, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, + 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 163, 198, + 210, 255, 119, 174, 190, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, + 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 216, 230, 233, 255, 94, 160, 179, 255, 66, 143, 166, 255, 99, 161, 182, + 255, 221, 232, 236, 255, 246, 246, 246, 255, 245, 245, 245, 255, 127, 178, + 194, 255, 68, 144, 168, 255, 79, 150, 173, 255, 187, 213, 220, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 154, 193, 205, 255, 73, 147, 170, 255, 72, 146, 169, + 255, 156, 194, 206, 255, 246, 246, 246, 255, 246, 246, 246, 255, 208, 223, + 229, 255, 85, 154, 176, 255, 65, 143, 166, 255, 112, 169, 187, 255, 236, 240, + 242, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 163, 198, 210, + 255, 119, 174, 190, 255, 60, 140, 164, 255, 60, 140, 165, 255, 60, 140, 164, + 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 137, 184, 197, 255, 60, 140, 165, 255, 60, 140, 164, 255, 60, 140, 164, 255, + 88, 156, 177, 255, 210, 226, 230, 255, 133, 181, 196, 255, 60, 140, 164, 255, + 60, 140, 165, 255, 60, 140, 164, 255, 85, 154, 175, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 239, + 242, 243, 255, 64, 143, 166, 255, 60, 140, 165, 255, 60, 140, 164, 255, 60, + 140, 164, 255, 146, 189, 202, 255, 203, 221, 227, 255, 70, 145, 168, 255, 60, + 140, 164, 255, 60, 140, 165, 255, 60, 140, 164, 255, 165, 200, 210, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 140, 164, + 255, 60, 140, 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 173, 190, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, 185, 199, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 137, 183, 198, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 67, + 144, 167, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 86, 154, 175, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 237, 241, 242, 255, 64, 142, 166, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, + 255, 64, 141, 166, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 164, 200, 211, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 102, 163, 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 139, 184, 199, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 218, 230, 234, 255, 83, 153, 174, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 67, 144, 167, 255, 174, 206, 215, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 153, 193, 205, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 101, 163, 182, 255, + 226, 235, 238, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, + 164, 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 163, + 198, 210, 255, 119, 174, 190, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, + 139, 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 213, 227, 231, 255, 85, 154, 175, 255, 60, 140, + 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, + 164, 255, 64, 142, 165, 255, 178, 208, 216, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 242, 243, 244, 255, 148, 189, 203, 255, 60, 139, 164, + 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 140, 164, 255, 97, 160, 180, 255, 231, 238, 240, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, + 173, 190, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, + 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 244, 245, 245, 255, 112, 169, 187, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 67, 143, + 167, 255, 229, 236, 239, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 200, 220, 226, 255, 61, 141, 165, 255, 60, 139, + 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 140, 186, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 163, 198, 210, 255, 119, 174, 190, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, 185, 199, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 235, 240, 242, 255, + 133, 181, 196, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, + 86, 155, 176, 255, 221, 232, 236, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 203, + 221, 227, 255, 70, 145, 168, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 150, 191, 204, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 60, 139, 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, 140, + 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 139, 185, 199, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 165, 199, 210, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, + 115, 171, 188, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 245, 245, 245, 255, 83, 153, 174, 255, 60, + 140, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 61, + 141, 165, 255, 192, 215, 222, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 102, 164, 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, + 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, 140, 164, 255, 60, 140, + 165, 255, 60, 140, 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 131, 181, 196, 255, 60, 140, 165, 255, 60, 140, 164, 255, + 60, 140, 164, 255, 67, 143, 168, 255, 140, 185, 200, 255, 83, 153, 174, 255, + 60, 140, 164, 255, 60, 140, 165, 255, 60, 140, 164, 255, 79, 151, 173, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 231, 238, 240, 255, 60, 140, 164, 255, 60, 140, 165, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 89, 156, 177, 255, 124, 176, 192, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 140, 165, 255, 60, 140, 164, 255, 158, + 195, 207, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, + 183, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 163, 198, + 210, 255, 119, 173, 190, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 181, 208, 217, 255, 68, 144, 167, 255, 60, 139, 164, 255, 64, 141, 166, + 255, 174, 205, 214, 255, 245, 246, 246, 255, 209, 224, 229, 255, 81, 151, 173, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 129, 179, 194, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 245, 246, 246, 255, 104, 165, 184, 255, 60, 139, 164, 255, 60, 139, 164, 255, + 96, 160, 180, 255, 231, 237, 239, 255, 242, 244, 244, 255, 140, 185, 200, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 68, 144, 168, 255, 205, 222, 228, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 163, 183, 255, 60, 139, + 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 163, 198, 210, 255, 119, 174, + 190, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, 185, + 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 192, 215, 222, 255, 155, 194, 206, 255, 194, 216, 223, 255, 245, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 220, 231, 235, 255, 160, + 197, 208, 255, 177, 207, 215, 255, 238, 242, 242, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 227, 236, 237, 255, 169, 202, 212, 255, 169, 202, 212, 255, + 226, 234, 237, 255, 246, 246, 246, 255, 246, 246, 246, 255, 242, 244, 244, + 255, 183, 210, 219, 255, 155, 194, 206, 255, 205, 222, 228, 255, 245, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 163, 198, 210, + 255, 119, 174, 190, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, + 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 102, 164, 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, + 163, 198, 210, 255, 119, 173, 190, 255, 60, 139, 164, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 102, 164, 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 60, 139, 164, 255, 139, 184, 199, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 102, 164, 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, 140, 164, 255, + 60, 140, 164, 255, 60, 139, 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 215, 229, 233, 255, 222, 233, 236, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 223, 233, 236, 255, 213, 227, 232, 255, 245, 245, 245, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, 140, + 164, 255, 60, 140, 165, 255, 60, 140, 164, 255, 139, 185, 199, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 242, 244, 244, 255, 111, 169, 186, 255, 60, 140, 165, 255, 64, 142, + 166, 255, 132, 181, 196, 255, 216, 229, 233, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 222, 233, 236, 255, 164, 199, 210, 255, 97, 161, 180, 255, 73, + 147, 170, 255, 106, 166, 184, 255, 178, 207, 216, 255, 235, 239, 242, 255, + 246, 246, 246, 255, 241, 243, 244, 255, 201, 221, 226, 255, 117, 172, 189, + 255, 61, 141, 165, 255, 61, 140, 164, 255, 138, 185, 198, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 140, 164, 255, 60, 140, 164, + 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 173, 190, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, 185, 199, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 196, 217, 224, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 74, 147, 171, 255, 132, 181, 195, 255, 150, 191, 204, + 255, 77, 149, 172, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 95, 160, 180, 255, 158, 196, 207, + 255, 120, 173, 191, 255, 61, 140, 165, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 63, 141, 165, 255, 230, 237, 239, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 102, 163, 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 202, 221, 226, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 67, 144, 167, 255, 236, 241, 242, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, + 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 163, 198, 210, + 255, 119, 174, 190, 255, 60, 140, 164, 255, 60, 140, 165, 255, 60, 140, 164, + 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 136, 183, + 198, 255, 64, 142, 166, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 140, + 165, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 140, + 165, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 140, 165, 255, 60, 140, + 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 140, 165, 255, 60, 140, + 164, 255, 60, 140, 164, 255, 60, 140, 165, 255, 71, 145, 168, 255, 153, 192, + 205, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 140, + 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 173, + 190, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, 185, + 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 206, + 224, 229, 255, 118, 172, 190, 255, 64, 141, 165, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 95, + 160, 180, 255, 143, 187, 200, 255, 87, 155, 176, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 63, + 141, 165, 255, 134, 181, 196, 255, 225, 235, 237, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 102, 163, 183, 255, 60, 139, 164, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, + 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, 184, 199, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 212, 227, 231, 255, 129, 179, 194, 255, 89, 157, 177, + 255, 85, 154, 175, 255, 111, 169, 187, 255, 183, 210, 219, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 243, 245, 245, 255, 172, 203, 213, 255, 106, 165, + 184, 255, 83, 153, 174, 255, 93, 159, 179, 255, 142, 187, 201, 255, 221, 231, + 235, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 163, 198, 210, 255, 119, 174, 190, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 139, 185, 199, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 244, 245, 246, + 255, 244, 245, 245, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 243, 244, 245, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, 139, 164, + 255, 60, 139, 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, 174, 190, + 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 139, 185, 199, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 164, 183, 255, 60, + 140, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 163, 198, 210, 255, 119, + 174, 190, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 139, + 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 102, 163, + 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 163, 198, + 210, 255, 119, 174, 190, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, + 164, 255, 139, 185, 199, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, + 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, + 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, + 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, 255, 246, 246, 246, + 255, 102, 164, 183, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, + 255, 163, 198, 210, 255, 129, 180, 195, 255, 60, 140, 164, 255, 60, 140, 165, + 255, 60, 140, 164, 255, 93, 158, 178, 255, 158, 196, 207, 255, 159, 197, 207, + 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, + 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, + 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, + 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, + 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, + 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, + 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, + 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, + 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, + 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, + 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, + 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, + 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, + 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 159, 197, 207, 255, 156, + 194, 207, 255, 69, 144, 168, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, + 140, 164, 255, 169, 202, 212, 255, 176, 206, 215, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 203, 221, 227, 255, 234, 239, 240, 255, 84, + 153, 175, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 107, 167, 185, 255, 241, 243, 244, 255, 246, + 246, 246, 255, 203, 221, 227, 255, 85, 154, 176, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, + 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, + 140, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, + 139, 164, 255, 60, 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, + 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, + 139, 164, 255, 60, 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, + 140, 164, 255, 60, 140, 164, 255, 60, 139, 164, 255, 60, 139, 164, 255, 60, + 140, 164, 255, 60, 139, 164, 255, 92, 157, 179, 255, 222, 232, 236, 255, 246, + 246, 246, 255, +]); diff --git a/src/parsers/decryptors/decryptAllServers.decryptor.js b/src/parsers/decryptors/decryptAllServers.decryptor.js new file mode 100644 index 0000000000000000000000000000000000000000..f1e6ab3a4f43c1013c3109f5f11be1eeed614a8f --- /dev/null +++ b/src/parsers/decryptors/decryptAllServers.decryptor.js @@ -0,0 +1,22 @@ +// this is kept as backup in case megacloud's architecture rollback to it's previous architecture + + +// import decryptMegacloud from "./megacloud.decryptor.js"; + +// export async function decryptAllServers(data) { +// const promises = data.map(async (server) => { +// try { +// if ( +// server.type === "sub" || +// server.type === "dub" || +// server.type === "raw" +// ) { +// return await decryptMegacloud(server.id, server.name, server.type); +// } +// } catch (error) { +// console.error(`Error decrypting server ${server.id}:`, error); +// return null; +// } +// }); +// return Promise.all(promises); +// } diff --git a/src/parsers/decryptors/decrypt_v1.decryptor.js b/src/parsers/decryptors/decrypt_v1.decryptor.js new file mode 100644 index 0000000000000000000000000000000000000000..341b4869e1f32deae73ec8c82a61febd3ee6ca6c --- /dev/null +++ b/src/parsers/decryptors/decrypt_v1.decryptor.js @@ -0,0 +1,60 @@ +// this is kept as backup in case megacloud's architecture rollback to it's previous architecture + + +// import axios from "axios"; +// import CryptoJS from "crypto-js"; +// import { v1_base_url } from "../../utils/base_v1.js"; +// import fetchScript from "../../helper/fetchScript.helper.js"; +// import getKeys from "../../helper/getKey.helper.js"; +// import { PLAYER_SCRIPT_URL } from "../../configs/player_v1.config.js"; +// import { extractURL } from "./megacloud.decryptor.js"; + +// export async function decryptSources_v1(id, name, type) { +// try { +// const [{ data: sourcesData }, decryptKey_v1] = await Promise.all([ +// axios.get(`https://${v1_base_url}/ajax/v2/episode/sources?id=${id}`), +// getKeys(await fetchScript(PLAYER_SCRIPT_URL)), +// ]); +// const ajaxResp = sourcesData.link; +// const [_, sourceId] = /\/([^\/\?]+)\?/.exec(ajaxResp) || []; +// const source = await extractURL(sourceId); +// const sourcesArray = source.sources.split(""); +// let extractedKey = ""; +// let currentIndex = 0; + +// for (const index of decryptKey_v1) { +// const start = index[0] + currentIndex; +// const end = start + index[1]; + +// for (let i = start; i < end; i++) { +// extractedKey += sourcesArray[i]; +// sourcesArray[i] = ""; +// } +// currentIndex += index[1]; +// } +// const decrypted = CryptoJS.AES.decrypt( +// sourcesArray.join(""), +// extractedKey +// ).toString(CryptoJS.enc.Utf8); +// const decryptedSources = JSON.parse(decrypted); +// source.sources = null; +// source.sources = { +// file: decryptedSources[0].file, +// type: "hls", +// }; +// if (source.hasOwnProperty("server")) { +// delete source.server; +// } +// return { +// id: id, +// type: type, +// link: source.sources, +// tracks: source.tracks, +// intro: source.intro, +// outro: source.outro, +// server: name, +// }; +// } catch (error) { +// console.error("Error during decryption:", error); +// } +// } diff --git a/src/parsers/decryptors/decrypt_v2.decryptor.js b/src/parsers/decryptors/decrypt_v2.decryptor.js new file mode 100644 index 0000000000000000000000000000000000000000..1e347aa42a8fc499251490906ea97173a245cf88 --- /dev/null +++ b/src/parsers/decryptors/decrypt_v2.decryptor.js @@ -0,0 +1,68 @@ +// this is kept as backup in case megacloud's architecture rollback to it's previous architecture + + +// import axios from "axios"; +// import CryptoJS from "crypto-js"; +// import { v2_base_url } from "../../utils/base_v2.js"; +// import fetchScript from "../../helper/fetchScript.helper.js"; +// import getKeys from "../../helper/getKey.helper.js"; +// import { PLAYER_SCRIPT_URL } from "../../configs/player_v2.config.js"; + +// async function decryptSources_v2(id, name, type) { +// try { +// const [{ data: sourcesData }, decryptKey_v2] = await Promise.all([ +// axios.get(`https://${v2_base_url}/ajax/episode/sources?id=${id}`), +// getKeys(await fetchScript(PLAYER_SCRIPT_URL)), +// ]); +// const ajaxResp = sourcesData.link; +// const [hostname] = /^(https?:\/\/(?:www\.)?[^\/\?]+)/.exec(ajaxResp) || []; +// const [_, sourceId] = /\/([^\/\?]+)\?/.exec(ajaxResp) || []; +// const { data: source } = await axios.get( +// `${hostname}/ajax/embed-6-v2/getSources?id=${sourceId}` +// ); + +// if (source.encrypted === true) { +// const sourcesArray = source.sources.split(""); +// let extractedKey = ""; +// let currentIndex = 0; + +// for (const index of decryptKey_v2) { +// const start = index[0] + currentIndex; +// const end = start + index[1]; + +// for (let i = start; i < end; i++) { +// extractedKey += sourcesArray[i]; +// sourcesArray[i] = ""; +// } +// currentIndex += index[1]; +// } + +// const decrypted = CryptoJS.AES.decrypt( +// sourcesArray.join(""), +// extractedKey +// ).toString(CryptoJS.enc.Utf8); +// const decryptedSources = JSON.parse(decrypted); +// source.sources = null; +// source.sources = { +// file: decryptedSources[0].file, +// type: "hls", +// }; +// } +// if (source.hasOwnProperty("server")) { +// delete source.server; +// } +// return { +// id: id, +// type: type, +// link: source.sources, +// tracks: source.tracks, +// intro: source.intro, +// outro: source.outro, +// server: name, +// }; +// } catch (error) { +// console.error("Error during decryption:", error); +// } +// } + +// export { decryptSources_v2 }; diff --git a/src/parsers/decryptors/megacloud.decryptor.js b/src/parsers/decryptors/megacloud.decryptor.js new file mode 100644 index 0000000000000000000000000000000000000000..1a22f369f9288b6d4d75be48a8df08135e44a6c5 --- /dev/null +++ b/src/parsers/decryptors/megacloud.decryptor.js @@ -0,0 +1,806 @@ +//inspired from https://github.com/drblgn/rabbit_wasm + +import util from "util"; +import pixels from "image-pixels"; +import cryptoJs from "crypto-js"; +import axios from "axios"; +const user_agent = + "Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0"; +import { webcrypto } from "crypto"; +const crypto = webcrypto; +import { dataURL } from "../../configs/dataUrl.js"; +import baseUrl from "../../utils/baseUrl.js"; + +let wasm; +let arr = new Array(128).fill(void 0); +const dateNow = Date.now(); +let content; +let referrer = ""; + +function isDetached(buffer) { + if (buffer.byteLength === 0) { + const formatted = util.format(buffer); + return formatted.includes("detached"); + } + return false; +} + +const meta = { + content: content, +}; + +const image_data = { + height: 50, + width: 65, + data: new Uint8ClampedArray(), +}; + +const canvas = { + baseUrl: "", + width: 0, + height: 0, + style: { + style: { + display: "inline", + }, + }, + context2d: {}, +}; + +const fake_window = { + localStorage: { + setItem: function (item, value) { + fake_window.localStorage[item] = value; + }, + }, + navigator: { + webdriver: false, + userAgent: user_agent, + }, + length: 0, + document: { + cookie: "", + }, + origin: "", + location: { + href: "", + origin: "", + }, + performance: { + timeOrigin: dateNow, + }, + xrax: "", + c: false, + G: "", + z: function (a) { + return [ + (4278190080 & a) >> 24, + (16711680 & a) >> 16, + (65280 & a) >> 8, + 255 & a, + ]; + }, + crypto: crypto, + msCrypto: crypto, + browser_version: 1676800512, +}; + +const nodeList = { + image: { + src: "", + height: 50, + width: 65, + complete: true, + }, + context2d: {}, + length: 1, +}; + +function get(index) { + return arr[index]; +} + +arr.push(void 0, null, true, false); + +let size = 0; +let memoryBuff; + +function getMemBuff() { + return (memoryBuff = + null !== memoryBuff && 0 !== memoryBuff.byteLength + ? memoryBuff + : new Uint8Array(wasm.memory.buffer)); +} + +const encoder = new TextEncoder(); +const encode = function (text, array) { + return encoder.encodeInto(text, array); +}; + +function parse(text, func, func2) { + if (void 0 === func2) { + var encoded = encoder.encode(text); + const parsedIndex = func(encoded.length, 1) >>> 0; + return ( + getMemBuff() + .subarray(parsedIndex, parsedIndex + encoded.length) + .set(encoded), + (size = encoded.length), + parsedIndex + ); + } + let len = text.length; + let parsedLen = func(len, 1) >>> 0; + var new_arr = getMemBuff(); + let i = 0; + for (; i < len; i++) { + var char = text.charCodeAt(i); + if (127 < char) { + break; + } + new_arr[parsedLen + i] = char; + } + return ( + i !== len && + (0 !== i && (text = text.slice(i)), + (parsedLen = func2(parsedLen, len, (len = i + 3 * text.length), 1) >>> 0), + (encoded = getMemBuff().subarray(parsedLen + i, parsedLen + len)), + (i += encode(text, encoded).written), + (parsedLen = func2(parsedLen, len, i, 1) >>> 0)), + (size = i), + parsedLen + ); +} + +let dataView; + +function isNull(test) { + return null == test; +} + +function getDataView() { + return (dataView = + dataView === null || + isDetached(dataView.buffer) || + dataView.buffer !== wasm.memory.buffer + ? new DataView(wasm.memory.buffer) + : dataView); +} + +let pointer = arr.length; + +function shift(QP) { + QP < 132 || ((arr[QP] = pointer), (pointer = QP)); +} + +function shiftGet(QP) { + var Qn = get(QP); + return shift(QP), Qn; +} + +const decoder = new TextDecoder("utf-8", { + fatal: true, + ignoreBOM: true, +}); + +function decodeSub(index, offset) { + return ( + (index >>>= 0), decoder.decode(getMemBuff().subarray(index, index + offset)) + ); +} + +function addToStack(item) { + pointer === arr.length && arr.push(arr.length + 1); + var Qn = pointer; + return (pointer = arr[Qn]), (arr[Qn] = item), Qn; +} + +function args(QP, Qn, QT, func) { + const Qx = { + a: QP, + b: Qn, + cnt: 1, + dtor: QT, + }; + return ( + (QP = (...Qw) => { + Qx.cnt++; + try { + return func(Qx.a, Qx.b, ...Qw); + } finally { + 0 == --Qx.cnt && + (wasm.__wbindgen_export_2.get(Qx.dtor)(Qx.a, Qx.b), (Qx.a = 0)); + } + }), + ((QP.original = Qx), QP) + ); +} + +function export3(QP, Qn) { + return shiftGet(wasm.__wbindgen_export_3(QP, Qn)); +} + +function export4(Qy, QO, QX) { + wasm.__wbindgen_export_4(Qy, QO, addToStack(QX)); +} + +function export5(QP, Qn) { + wasm.__wbindgen_export_5(QP, Qn); +} + +function applyToWindow(func, args) { + try { + return func.apply(fake_window, args); + } catch (error) { + wasm.__wbindgen_export_6(addToStack(error)); + } +} + +function Qj(QP, Qn) { + return ( + (Qn = Qn(+QP.length, 1) >>> 0), + (getMemBuff().set(QP, Qn), (size = QP.length), Qn) + ); +} + +async function QN(QP, Qn) { + let QT, Qt; + return "function" == typeof Response && QP instanceof Response + ? ((QT = await QP.arrayBuffer()), + (Qt = await WebAssembly.instantiate(QT, Qn)), + Object.assign(Qt, { bytes: QT })) + : (Qt = await WebAssembly.instantiate(QP, Qn)) instanceof + WebAssembly.Instance + ? { + instance: Qt, + module: QP, + } + : Qt; +} + +function initWasm() { + const wasmObj = { + wbg: { + __wbindgen_is_function: function (index) { + return typeof get(index) == "function"; + }, + __wbindgen_is_string: function (index) { + return typeof get(index) == "string"; + }, + __wbindgen_is_object: function (index) { + let object = get(index); + return typeof object == "object" && object !== null; + }, + __wbindgen_number_get: function (offset, index) { + let number = get(index); + getDataView().setFloat64(offset + 8, isNull(number) ? 0 : number, true); + getDataView().setInt32(offset, isNull(number) ? 0 : 1, true); + }, + __wbindgen_string_get: function (offset, index) { + let str = get(index); + let val = parse( + str, + wasm.__wbindgen_export_0, + wasm.__wbindgen_export_1 + ); + getDataView().setInt32(offset + 4, size, true); + getDataView().setInt32(offset, val, true); + }, + __wbindgen_object_drop_ref: function (index) { + shiftGet(index); + }, + __wbindgen_cb_drop: function (index) { + let org = shiftGet(index).original; + return 1 == org.cnt-- && !(org.a = 0); + }, + __wbindgen_string_new: function (index, offset) { + return addToStack(decodeSub(index, offset)); + }, + __wbindgen_is_null: function (index) { + return null === get(index); + }, + __wbindgen_is_undefined: function (index) { + return void 0 === get(index); + }, + __wbindgen_boolean_get: function (index) { + let bool = get(index); + return "boolean" == typeof bool ? (bool ? 1 : 0) : 2; + }, + __wbg_instanceof_CanvasRenderingContext2d_4ec30ddd3f29f8f9: function () { + return true; + }, + __wbg_subarray_adc418253d76e2f1: function (index, num1, num2) { + return addToStack(get(index).subarray(num1 >>> 0, num2 >>> 0)); + }, + __wbg_randomFillSync_5c9c955aa56b6049: function () {}, + __wbg_getRandomValues_3aa56aa6edec874c: function () { + return applyToWindow(function (index1, index2) { + get(index1).getRandomValues(get(index2)); + }, arguments); + }, + __wbg_msCrypto_eb05e62b530a1508: function (index) { + return addToStack(get(index).msCrypto); + }, + __wbg_toString_6eb7c1f755c00453: function (index) { + let fakestr = "[object Storage]"; + return addToStack(fakestr); + }, + __wbg_toString_139023ab33acec36: function (index) { + return addToStack(get(index).toString()); + }, + __wbg_require_cca90b1a94a0255b: function () { + return applyToWindow(function () { + return addToStack(module.require); + }, arguments); + }, + __wbg_crypto_1d1f22824a6a080c: function (index) { + return addToStack(get(index).crypto); + }, + __wbg_process_4a72847cc503995b: function (index) { + return addToStack(get(index).process); + }, + __wbg_versions_f686565e586dd935: function (index) { + return addToStack(get(index).versions); + }, + __wbg_node_104a2ff8d6ea03a2: function (index) { + return addToStack(get(index).node); + }, + __wbg_localStorage_3d538af21ea07fcc: function () { + return applyToWindow(function (index) { + let data = fake_window.localStorage; + if (isNull(data)) { + return 0; + } else { + return addToStack(data); + } + }, arguments); + }, + __wbg_setfillStyle_59f426135f52910f: function () {}, + __wbg_setshadowBlur_229c56539d02f401: function () {}, + __wbg_setshadowColor_340d5290cdc4ae9d: function () {}, + __wbg_setfont_16d6e31e06a420a5: function () {}, + __wbg_settextBaseline_c3266d3bd4a6695c: function () {}, + __wbg_drawImage_cb13768a1bdc04bd: function () {}, + __wbg_getImageData_66269d289f37d3c7: function () { + return applyToWindow(function () { + return addToStack(image_data); + }, arguments); + }, + __wbg_rect_2fa1df87ef638738: function () {}, + __wbg_fillRect_4dd28e628381d240: function () {}, + __wbg_fillText_07e5da9e41652f20: function () {}, + __wbg_setProperty_5144ddce66bbde41: function () {}, + __wbg_createElement_03cf347ddad1c8c0: function () { + return applyToWindow(function (index, decodeIndex, decodeIndexOffset) { + return addToStack(canvas); + }, arguments); + }, + __wbg_querySelector_118a0639aa1f51cd: function () { + return applyToWindow(function (index, decodeIndex, decodeOffset) { + return addToStack(meta); + }, arguments); + }, + __wbg_querySelectorAll_50c79cd4f7573825: function () { + return applyToWindow(function () { + return addToStack(nodeList); + }, arguments); + }, + __wbg_getAttribute_706ae88bd37410fa: function ( + offset, + index, + decodeIndex, + decodeOffset + ) { + let attr = meta.content; + let todo = isNull(attr) + ? 0 + : parse(attr, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1); + getDataView().setInt32(offset + 4, size, true); + getDataView().setInt32(offset, todo, true); + }, + __wbg_target_6795373f170fd786: function (index) { + let target = get(index).target; + return isNull(target) ? 0 : addToStack(target); + }, + __wbg_addEventListener_f984e99465a6a7f4: function () {}, + __wbg_instanceof_HtmlCanvasElement_1e81f71f630e46bc: function () { + return true; + }, + __wbg_setwidth_233645b297bb3318: function (index, set) { + get(index).width = set >>> 0; + }, + __wbg_setheight_fcb491cf54e3527c: function (index, set) { + get(index).height = set >>> 0; + }, + __wbg_getContext_dfc91ab0837db1d1: function () { + return applyToWindow(function (index) { + return addToStack(get(index).context2d); + }, arguments); + }, + __wbg_toDataURL_97b108dd1a4b7454: function () { + return applyToWindow(function (offset, index) { + let _dataUrl = parse( + dataURL, + wasm.__wbindgen_export_0, + wasm.__wbindgen_export_1 + ); + getDataView().setInt32(offset + 4, size, true); + getDataView().setInt32(offset, _dataUrl, true); + }, arguments); + }, + __wbg_instanceof_HtmlDocument_1100f8a983ca79f9: function () { + return true; + }, + __wbg_style_ca229e3326b3c3fb: function (index) { + addToStack(get(index).style); + }, + __wbg_instanceof_HtmlImageElement_9c82d4e3651a8533: function () { + return true; + }, + __wbg_src_87a0e38af6229364: function (offset, index) { + let _src = parse( + get(index).src, + wasm.__wbindgen_export_0, + wasm.__wbindgen_export_1 + ); + getDataView().setInt32(offset + 4, size, true); + getDataView().setInt32(offset, _src, true); + }, + __wbg_width_e1a38bdd483e1283: function (index) { + return get(index).width; + }, + __wbg_height_e4cc2294187313c9: function (index) { + return get(index).height; + }, + __wbg_complete_1162c2697406af11: function (index) { + return get(index).complete; + }, + __wbg_data_d34dc554f90b8652: function (offset, index) { + var _data = Qj(get(index).data, wasm.__wbindgen_export_0); + getDataView().setInt32(offset + 4, size, true); + getDataView().setInt32(offset, _data, true); + }, + __wbg_origin_305402044aa148ce: function () { + return applyToWindow(function (offset, index) { + let _origin = parse( + get(index).origin, + wasm.__wbindgen_export_0, + wasm.__wbindgen_export_1 + ); + getDataView().setInt32(offset + 4, size, true); + getDataView().setInt32(offset, _origin, true); + }, arguments); + }, + __wbg_length_8a9352f7b7360c37: function (index) { + return get(index).length; + }, + __wbg_get_c30ae0782d86747f: function (index) { + let _image = get(index).image; + return isNull(_image) ? 0 : addToStack(_image); + }, + __wbg_timeOrigin_f462952854d802ec: function (index) { + return get(index).timeOrigin; + }, + __wbg_instanceof_Window_cee7a886d55e7df5: function () { + return true; + }, + __wbg_document_eb7fd66bde3ee213: function (index) { + let _document = get(index).document; + return isNull(_document) ? 0 : addToStack(_document); + }, + __wbg_location_b17760ac7977a47a: function (index) { + return addToStack(get(index).location); + }, + __wbg_performance_4ca1873776fdb3d2: function (index) { + let _performance = get(index).performance; + return isNull(_performance) ? 0 : addToStack(_performance); + }, + __wbg_origin_e1f8acdeb3a39a2b: function (offset, index) { + let _origin = parse( + get(index).origin, + wasm.__wbindgen_export_0, + wasm.__wbindgen_export_1 + ); + getDataView().setInt32(offset + 4, size, true); + getDataView().setInt32(offset, _origin, true); + }, + __wbg_get_8986951b1ee310e0: function (index, decode1, decode2) { + let data = get(index)[decodeSub(decode1, decode2)]; + return isNull(data) ? 0 : addToStack(data); + }, + __wbg_setTimeout_6ed7182ebad5d297: function () { + return applyToWindow(function () { + return 7; + }, arguments); + }, + __wbg_self_05040bd9523805b9: function () { + return applyToWindow(function () { + return addToStack(fake_window); + }, arguments); + }, + __wbg_window_adc720039f2cb14f: function () { + return applyToWindow(function () { + return addToStack(fake_window); + }, arguments); + }, + __wbg_globalThis_622105db80c1457d: function () { + return applyToWindow(function () { + return addToStack(fake_window); + }, arguments); + }, + __wbg_global_f56b013ed9bcf359: function () { + return applyToWindow(function () { + return addToStack(fake_window); + }, arguments); + }, + __wbg_newnoargs_cfecb3965268594c: function (index, offset) { + return addToStack(new Function(decodeSub(index, offset))); + }, + __wbindgen_object_clone_ref: function (index) { + return addToStack(get(index)); + }, + __wbg_eval_c824e170787ad184: function () { + return applyToWindow(function (index, offset) { + let fake_str = "fake_" + decodeSub(index, offset); + let ev = eval(fake_str); + return addToStack(ev); + }, arguments); + }, + __wbg_call_3f093dd26d5569f8: function () { + return applyToWindow(function (index, index2) { + return addToStack(get(index).call(get(index2))); + }, arguments); + }, + __wbg_call_67f2111acd2dfdb6: function () { + return applyToWindow(function (index, index2, index3) { + return addToStack(get(index).call(get(index2), get(index3))); + }, arguments); + }, + __wbg_set_961700853a212a39: function () { + return applyToWindow(function (index, index2, index3) { + return Reflect.set(get(index), get(index2), get(index3)); + }, arguments); + }, + __wbg_buffer_b914fb8b50ebbc3e: function (index) { + return addToStack(get(index).buffer); + }, + __wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e: function ( + index, + val, + val2 + ) { + return addToStack(new Uint8Array(get(index), val >>> 0, val2 >>> 0)); + }, + __wbg_newwithlength_0d03cef43b68a530: function (length) { + return addToStack(new Uint8Array(length >>> 0)); + }, + __wbg_new_b1f2d6842d615181: function (index) { + return addToStack(new Uint8Array(get(index))); + }, + __wbg_buffer_67e624f5a0ab2319: function (index) { + return addToStack(get(index).buffer); + }, + __wbg_length_21c4b0ae73cba59d: function (index) { + return get(index).length; + }, + __wbg_set_7d988c98e6ced92d: function (index, index2, val) { + get(index).set(get(index2), val >>> 0); + }, + __wbindgen_debug_string: function () {}, + __wbindgen_throw: function (index, offset) { + throw new Error(decodeSub(index, offset)); + }, + __wbindgen_memory: function () { + return addToStack(wasm.memory); + }, + __wbindgen_closure_wrapper117: function (Qn, QT) { + return addToStack(args(Qn, QT, 2, export3)); + }, + __wbindgen_closure_wrapper119: function (Qn, QT) { + return addToStack(args(Qn, QT, 2, export4)); + }, + __wbindgen_closure_wrapper121: function (Qn, QT) { + return addToStack(args(Qn, QT, 2, export5)); + }, + __wbindgen_closure_wrapper123: function (Qn, QT) { + let test = addToStack(args(Qn, QT, 9, export4)); + return test; + }, + }, + }; + return wasmObj; +} + +function assignWasm(resp) { + wasm = resp.exports; + (dataView = null), (memoryBuff = null), wasm; +} + +function QZ(QP) { + let Qn; + return ( + (Qn = initWasm()), + QP instanceof WebAssembly.Module || (QP = new WebAssembly.Module(QP)), + assignWasm(new WebAssembly.Instance(QP, Qn)) + ); +} + +async function loadWasm(url) { + let mod, buffer; + return ( + (mod = initWasm()), + ({ + instance: url, + module: mod, + bytes: buffer, + } = ((url = fetch(url)), void 0, await QN(await url, mod))), + assignWasm(url), + buffer + ); +} + +const grootLoader = { + groot: function () { + wasm.groot(); + }, +}; + +let wasmLoader = Object.assign(loadWasm, { initSync: QZ }, grootLoader); + +const V = async (url) => { + let Q0 = await wasmLoader(url); + fake_window.bytes = Q0; + try { + wasmLoader.groot(); + } catch (error) { + console.error("error: ", error); + } + fake_window.jwt_plugin(Q0); + return fake_window.navigate(); +}; + +const getMeta = async (url) => { + let resp = await fetch(url, { + headers: { + UserAgent: user_agent, + Referrer: referrer, + }, + }); + let txt = await resp.text(); + let regx = /name="j_crt" content="[A-Za-z0-9]*/g; + let match = txt.match(regx)[0]; + let content = match.slice(match.lastIndexOf('"') + 1); + meta.content = content + "=="; +}; + +const i = (a, P) => { + try { + for (let Q0 = 0; Q0 < a.length; Q0++) { + a[Q0] = a[Q0] ^ P[Q0 % P.length]; + } + } catch (Q1) { + return null; + } +}; + +const M = (a, P) => { + try { + var Q0 = cryptoJs.AES.decrypt(a, P); + return JSON.parse(Q0.toString(cryptoJs.enc.Utf8)); + } catch (Q1) { + var Q0 = cryptoJs.AES.decrypt(a, P); + } + return []; +}; + +function z(a) { + return [ + (a & 4278190080) >> 24, + (a & 16711680) >> 16, + (a & 65280) >> 8, + a & 255, + ]; +} + +const decryptSource = async (embed_url) => { + referrer = embed_url.includes("mega") ? baseUrl : new URL(embed_url).origin; + let regx = /([A-Z])\w+/; + let xrax = embed_url.split("/").pop().split("?").shift(); + regx = /https:\/\/[a-zA-Z0-9.]*/; + let base_url = embed_url.match(regx)[0]; + nodeList.image.src = base_url + "/images/image.png?v=0.0.9"; + let data = new Uint8ClampedArray((await pixels(nodeList.image.src)).data); + image_data.data = data; + let test = embed_url.split("/"); + + let browser_version = 1676800512; + canvas.baseUrl = base_url; + fake_window.origin = base_url; + fake_window.location.origin = base_url; + fake_window.location.href = embed_url; + fake_window.xrax = xrax; + fake_window.G = xrax; + + await getMeta(embed_url); + + let Q5 = await V(base_url + "/images/loading.png?v=0.0.9"); + + let getSourcesUrl = ""; + + if (base_url.includes("mega")) { + getSourcesUrl = + base_url + + "/" + + test[3] + + "/ajax/" + + test[4] + + "/getSources?id=" + + fake_window.pid + + "&v=" + + fake_window.localStorage.kversion + + "&h=" + + fake_window.localStorage.kid + + "&b=" + + browser_version; + } else { + getSourcesUrl = + base_url + + "/ajax/" + + test[3] + + "/" + + test[4] + + "/getSources?id=" + + fake_window.pid + + "&v=" + + fake_window.localStorage.kversion + + "&h=" + + fake_window.localStorage.kid + + "&b=" + + browser_version; + } + + let { data: resp } = await axios.get(getSourcesUrl, { + headers: { + "User-Agent": user_agent, + Referrer: embed_url + "&autoPlay=1&oa=0&asi=1", + "Accept-Language": "en,bn;q=0.9,en-US;q=0.8", + "sec-ch-ua": + '"Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"', + "sec-ch-ua-mobile": "?1", + "sec-ch-ua-platform": '"Android"', + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Site": "same-origin", + "X-Requested-With": "XMLHttpRequest", + "Sec-Fetch-Mode": "cors", + }, + }); + + let Q3 = fake_window.localStorage.kversion; + let Q1 = z(Q3); + Q5 = new Uint8Array(Q5); + let Q8 = resp.t != 0 ? (i(Q5, Q1), Q5) : ((Q8 = resp.k), i(Q8, Q1), Q8); + let str = btoa(String.fromCharCode.apply(null, new Uint8Array(Q8))); + var decryptedSource = M(resp.sources, str); + resp.sources = decryptedSource; + return resp; +}; + +export default async function decryptMegacloud(id, name, type) { + try { + const { data: sourcesData } = await axios.get( + `${baseUrl}/ajax/v2/episode/sources?id=${id}` + ); + const source = await decryptSource(sourcesData.link); + return { + id: id, + type: type, + link: source.sources[0], + tracks: source.tracks, + intro: source.intro, + outro: source.outro, + server: name, + }; + } catch (error) { + console.error("Error during decryption:", error); + } +} diff --git a/src/parsers/idFetch_v1.parser.js b/src/parsers/idFetch_v1.parser.js new file mode 100644 index 0000000000000000000000000000000000000000..c90e56b535eda29eca8770c03279dcce56951b20 --- /dev/null +++ b/src/parsers/idFetch_v1.parser.js @@ -0,0 +1,29 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import { v1_base_url } from "../utils/base_v1.js"; + +export async function fetchServerData_v1(id) { + try { + const { data } = await axios.get( + `https://${v1_base_url}/ajax/v2/episode/servers?episodeId=${id}` + ); + const $ = cheerio.load(data.html); + + const serverData = $("div.ps_-block > div.ps__-list > div.server-item") + .filter((_, ele) => { + const name = $(ele).find("a.btn").text(); + return name === "HD-1" || name === "HD-2"; + }) + .map((_, ele) => ({ + name: $(ele).find("a.btn").text(), + id: $(ele).attr("data-id"), + type: $(ele).attr("data-type"), + })) + .get(); + + return serverData; + } catch (error) { + console.error("Error fetching server data:", error); + return []; + } +} diff --git a/src/parsers/idFetch_v2.parser.js b/src/parsers/idFetch_v2.parser.js new file mode 100644 index 0000000000000000000000000000000000000000..9cdc2e5eba93df73594dcb6d5e24b2666226881e --- /dev/null +++ b/src/parsers/idFetch_v2.parser.js @@ -0,0 +1,29 @@ +import axios from "axios"; +import * as cheerio from "cheerio"; +import { v2_base_url } from "../utils/base_v2.js"; + +export async function fetchServerData_v2(id) { + try { + const { data } = await axios.get( + `https://${v2_base_url}/ajax/episode/servers?episodeId=${id}` + ); + const $ = cheerio.load(data.html); + + const serverData = $("div.ps_-block > div.ps__-list > div.server-item") + .filter((_, ele) => { + const name = $(ele).find("a.btn").text().trim(); + return name === "Vidcloud"; + }) + .map((_, ele) => ({ + name: $(ele).find("a.btn").text().trim(), + id: $(ele).attr("data-id"), + type: $(ele).attr("data-type"), + })) + .get(); + + return serverData; + } catch (error) { + console.error("Error fetching server data:", error); + return []; + } +} diff --git a/src/routes/apiRoutes.js b/src/routes/apiRoutes.js new file mode 100644 index 0000000000000000000000000000000000000000..c8693f0db8605786fd5f32a240269e666ab70740 --- /dev/null +++ b/src/routes/apiRoutes.js @@ -0,0 +1,66 @@ +import * as homeInfoController from "../controllers/homeInfo.controller.js"; +import * as categoryController from "../controllers/category.controller.js"; +import * as topTenController from "../controllers/topten.controller.js"; +import * as animeInfoController from "../controllers/animeInfo.controller.js"; +import * as streamController from "../controllers/streamInfo.controller.js"; +import * as searchController from "../controllers/search.controller.js"; +import * as episodeListController from "../controllers/episodeList.controller.js"; +import * as suggestionsController from "../controllers/suggestion.controller.js"; +import * as scheduleController from "../controllers/schedule.controller.js"; +import * as serversController from "../controllers/servers.controller.js"; +import * as randomController from "../controllers/random.controller.js"; +import * as qtipController from "../controllers/qtip.controller.js"; +import * as randomIdController from "../controllers/randomId.controller.js"; +import * as producerController from "../controllers/producer.controller.js"; +import * as characterListController from "../controllers/voiceactor.controller.js"; +import * as nextEpisodeScheduleController from "../controllers/nextEpisodeSchedule.controller.js"; +import { routeTypes } from "./category.route.js"; + +export const createApiRoutes = (app, jsonResponse, jsonError) => { + const createRoute = (path, controllerMethod) => { + app.get(path, async (req, res) => { + try { + const data = await controllerMethod(req, res); + return jsonResponse(res, data); + } catch (err) { + return jsonError(res); + } + }); + }; + + ["/api", "/api/"].forEach((route) => { + app.get(route, (req, res) => + homeInfoController + .getHomeInfo(req, res) + .then((data) => jsonResponse(res, data)) + .catch((err) => jsonError(res)) + ); + }); + + routeTypes.forEach((routeType) => + createRoute(`/api/${routeType}`, (req, res) => + categoryController.getCategory(req, res, routeType) + ) + ); + + createRoute("/api/top-ten", topTenController.getTopTen); + createRoute("/api/info", animeInfoController.getAnimeInfo); + createRoute("/api/episodes/:id", episodeListController.getEpisodes); + createRoute("/api/servers/:id", serversController.getServers); + createRoute("/api/stream", streamController.getStreamInfo); + createRoute("/api/search", searchController.search); + createRoute("/api/search/suggest", suggestionsController.getSuggestions); + createRoute("/api/schedule", scheduleController.getSchedule); + createRoute( + "/api/schedule/:id", + nextEpisodeScheduleController.getNextEpisodeSchedule + ); + createRoute("/api/random", randomController.getRandom); + createRoute("/api/random/id", randomIdController.getRandomId); + createRoute("/api/qtip/:id", qtipController.getQtip); + createRoute("/api/producer/:id", producerController.getProducer); + createRoute( + "/api/character/list/:id", + characterListController.getVoiceActors + ); +}; \ No newline at end of file diff --git a/src/routes/category.route.js b/src/routes/category.route.js new file mode 100644 index 0000000000000000000000000000000000000000..173841bc6f8d409c1d08f4a98f1ff1bd6c541bd4 --- /dev/null +++ b/src/routes/category.route.js @@ -0,0 +1,86 @@ +export const routeTypes = [ + "genre/action", + "genre/adventure", + "genre/cars", + "genre/comedy", + "genre/dementia", + "genre/demons", + "genre/drama", + "genre/ecchi", + "genre/fantasy", + "genre/game", + "genre/harem", + "genre/historical", + "genre/horror", + "genre/isekai", + "genre/josei", + "genre/kids", + "genre/magic", + "genre/martial-arts", + "genre/mecha", + "genre/military", + "genre/music", + "genre/mystery", + "genre/parody", + "genre/police", + "genre/psychological", + "genre/romance", + "genre/samurai", + "genre/school", + "genre/sci-fi", + "genre/seinen", + "genre/shoujo", + "genre/shoujo-ai", + "genre/shounen", + "genre/shounen-ai", + "genre/slice-of-life", + "genre/space", + "genre/sports", + "genre/super-power", + "genre/supernatural", + "genre/thriller", + "genre/vampire", + "top-airing", + "most-popular", + "most-favorite", + "completed", + "recently-updated", + "recently-added", + "top-upcoming", + "subbed-anime", + "dubbed-anime", + "movie", + "special", + "ova", + "ona", + "tv", + "az-list", + "az-list/other", + "az-list/0-9", + "az-list/a", + "az-list/b", + "az-list/c", + "az-list/d", + "az-list/e", + "az-list/f", + "az-list/g", + "az-list/h", + "az-list/i", + "az-list/j", + "az-list/k", + "az-list/l", + "az-list/m", + "az-list/n", + "az-list/o", + "az-list/p", + "az-list/q", + "az-list/r", + "az-list/s", + "az-list/t", + "az-list/u", + "az-list/v", + "az-list/w", + "az-list/x", + "az-list/y", + "az-list/z", +]; diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js new file mode 100644 index 0000000000000000000000000000000000000000..ed646ebae743417db0f31c137202470eb91b02c0 --- /dev/null +++ b/src/utils/baseUrl.js @@ -0,0 +1,2 @@ +const baseUrl = "https://hianime.to"; +export default baseUrl; diff --git a/src/utils/base_v1.js b/src/utils/base_v1.js new file mode 100644 index 0000000000000000000000000000000000000000..7a37641e7212a1f233e2c131037dd40faf727f66 --- /dev/null +++ b/src/utils/base_v1.js @@ -0,0 +1 @@ +export const v1_base_url = "hianime.to"; diff --git a/src/utils/base_v2.js b/src/utils/base_v2.js new file mode 100644 index 0000000000000000000000000000000000000000..891b96b3fdb9a9f3eeecdd63831768c553f4f869 --- /dev/null +++ b/src/utils/base_v2.js @@ -0,0 +1 @@ +export const v2_base_url = "kaido.to"; diff --git a/src/utils/base_v3.js b/src/utils/base_v3.js new file mode 100644 index 0000000000000000000000000000000000000000..583383d4e7b735442facd9fa6ecac8b7cc255fc6 --- /dev/null +++ b/src/utils/base_v3.js @@ -0,0 +1 @@ +export const v3_base_url = "aniwatchtv.to"; diff --git a/src/utils/base_v4.js b/src/utils/base_v4.js new file mode 100644 index 0000000000000000000000000000000000000000..9a485be28664b7d9ca9a3ab5dfdc82bc9ca56b36 --- /dev/null +++ b/src/utils/base_v4.js @@ -0,0 +1 @@ +export const v4_base_url = "9animetv.to"; \ No newline at end of file diff --git a/src/utils/provider.js b/src/utils/provider.js new file mode 100644 index 0000000000000000000000000000000000000000..7dafe2abbec1c67b5119687a2471390b40f1cec5 --- /dev/null +++ b/src/utils/provider.js @@ -0,0 +1 @@ +export const provider = "https://megacloud.tv";