├── .env.example
├── .eslintrc.json
├── .gitignore
├── .npmrc
├── .nvmrc
├── .prettierrc
├── README.md
├── README_ko.md
├── components
    ├── layout.tsx
    └── ui
    │   ├── LoadingDots.tsx
    │   ├── TextArea.tsx
    │   └── accordion.tsx
├── config
    └── chroma.ts
├── declarations
    └── pdf-parse.d.ts
├── docs
    └── .keep
├── faiss-store
    └── .keep
├── next.config.js
├── package-lock.json
├── package.json
├── pages
    ├── _app.tsx
    ├── _document.tsx
    ├── api
    │   └── chat.ts
    └── index.tsx
├── postcss.config.cjs
├── public
    ├── bot-image.png
    ├── favicon.ico
    └── usericon.png
├── scripts
    └── ingest-data.ts
├── styles
    ├── Home.module.css
    ├── base.css
    ├── chrome-bug.css
    └── loading-dots.module.css
├── tailwind.config.cjs
├── tsconfig.json
├── types
    └── chat.ts
├── utils
    ├── cn.ts
    ├── customPDFLoader.ts
    └── makechain.ts
└── visual-guide
    └── gpt-langchain-pdf.png
/.env.example:
--------------------------------------------------------------------------------
1 | OPENAI_API_KEY=
2 | OPENAI_CHAT_MODEL=gpt-3.5-turbo
3 | ANSWER_LANGUAGE=en-US
4 | 
--------------------------------------------------------------------------------
/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 |   "extends": "next/core-web-vitals"
3 | }
4 | 
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
 2 | 
 3 | # dependencies
 4 | /node_modules
 5 | /.pnp
 6 | .pnp.js
 7 | 
 8 | # testing
 9 | /coverage
10 | 
11 | # next.js
12 | /.next/
13 | /out/
14 | 
15 | # production
16 | /build
17 | 
18 | # misc
19 | .DS_Store
20 | *.pem
21 | 
22 | # debug
23 | npm-debug.log*
24 | yarn-debug.log*
25 | yarn-error.log*
26 | .pnpm-debug.log*
27 | 
28 | # local env files
29 | .env*.local
30 | .env
31 | 
32 | # vercel
33 | .vercel
34 | 
35 | # typescript
36 | *.tsbuildinfo
37 | next-env.d.ts
38 | 
39 | #Notion_db
40 | /Notion_DB
41 | 
42 | #docs and store
43 | /docs/
44 | /faiss-store/
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | engine-strict=true
--------------------------------------------------------------------------------
/.nvmrc:
--------------------------------------------------------------------------------
1 | 18
2 | 
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 |   "trailingComma": "all",
3 |   "singleQuote": true,
4 |   "printWidth": 80,
5 |   "tabWidth": 2
6 | }
7 | 
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
 1 | # Create a ChatGPT Chatbot for Your CSV, TXT, PDF Files
 2 | 
 3 | [English](README.md) | [한국어](README_ko.md)
 4 | 
 5 | Use the new GPT-4 api to build a chatGPT chatbot for multiple Large PDF, CSV, TET files.
 6 | 
 7 | Tech stack used includes LangChain, Faiss, Typescript, Openai, and Next.js. LangChain is a framework that makes it easier to build scalable AI/LLM apps and chatbots. Faiss is a vectorstore for storing embeddings and your PDF in text to later retrieve similar docs.
 8 | 
 9 | [Tutorial video](https://www.youtube.com/watch?v=ih9PBGVVOO4)
10 | 
11 | [Join the discord if you have questions](https://discord.gg/E4Mc77qwjm)
12 | 
13 | The visual guide of this repo and tutorial is in the `visual guide` folder.
14 | 
15 | **If you run into errors, please review the troubleshooting section further down this page.**
16 | 
17 | Prelude: Please make sure you have already downloaded node on your system and the version is 18 or greater.
18 | 
19 | ## Development
20 | 
21 | 1. Install [Docker Desktop](https://www.docker.com/products/docker-desktop/) for your platform.
22 | 
23 | 2. Clone the repo or download the ZIP
24 | 
25 | ```
26 | git clone [github https url]
27 | ```
28 | 
29 | 3. Install packages
30 | 
31 | First run `npm install yarn -g` to install yarn globally (if you haven't already).
32 | 
33 | Then run:
34 | 
35 | ```
36 | yarn install
37 | ```
38 | 
39 | After installation, you should now see a `node_modules` folder.
40 | 
41 | 4. Set up your `.env` file
42 | 
43 | - Copy `.env.example` into `.env`
44 |   Your `.env` file should look like this:
45 | 
46 | ```
47 | OPENAI_API_KEY=
48 | OPENAI_CHAT_MODEL=
49 | ANSWER_LANGUAGE=
50 | ```
51 | 
52 | - Visit [openai](https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key) to retrieve API keys and insert into your `.env` file.
53 | - If you want to use gpt-4, write gpt-4 in OPENAI_CHAT_MODEL. (default: gpt-3.5-turbo)
54 | - For ANSWER_LANGUAGE, enter the language you want ChatGPT to answer in. (default: English)
55 | 
56 | 5. In `utils/makechain.ts` chain change the `QA_PROMPT` for your own usecase. Change `modelName` in `new OpenAI` to `gpt-4`, if you have access to `gpt-4` api. Please verify outside this repo that you have access to `gpt-4` api, otherwise the application will not work.
57 | 
58 | ## Convert your PDF, CSV, TXT files to embeddings
59 | 
60 | **This repo can load multiple PDF files**
61 | 
62 | 1. Inside `docs` folder, add your pdf, csv, txt files or folders that contain files.
63 | 
64 | 2. Run the script `npm run ingest` to 'ingest' and embed your docs. If you run into errors troubleshoot below.
65 | 
66 | 3. Verify that the docstore.json and faiss.index files are successfully created in the `faiss-store` folder.
67 | 
68 | ## Run the app
69 | 
70 | Once you've verified that the embeddings and content have been successfully added to your faiss store, you can run the app `npm run dev` to launch the local dev environment, and then type a question in the chat interface.
71 | 
72 | ## Troubleshooting
73 | 
74 | In general, keep an eye out in the `issues` and `discussions` section of this repo for solutions.
75 | 
76 | **General errors**
77 | 
78 | - Make sure you're running the latest Node version. Run `node -v`
79 | - Try a different PDF or convert your PDF to text first. It's possible your PDF is corrupted, scanned, or requires OCR to convert to text.
80 | - `Console.log` the `env` variables and make sure they are exposed.
81 | - Make sure you're using the same versions of LangChain and Faiss as this repo.
82 | - Check that you've created an `.env` file that contains your valid (and working) API keys, environment and index name.
83 | - If you change `modelName` in `OpenAI`, make sure you have access to the api for the appropriate model.
84 | - Make sure you have enough OpenAI credits and a valid card on your billings account.
85 | - Check that you don't have multiple OPENAPI keys in your global environment. If you do, the local `env` file from the project will be overwritten by systems `env` variable.
86 | - Try to hard code your API keys into the `process.env` variables if there are still issues.
87 | 
88 | ## Credit
89 | 
90 | Frontend of this repo is inspired by [langchain-chat-nextjs](https://github.com/zahidkhawaja/langchain-chat-nextjs)
91 | 
--------------------------------------------------------------------------------
/README_ko.md:
--------------------------------------------------------------------------------
  1 | # CSV, TXT, PDF 파일을 위한 ChatGPT 챗봇 만들기
  2 | 
  3 | [English](README.md) | [한국어](README_ko.md)
  4 | 
  5 | OpenAI API를 사용하여 PDF, CSV, TET 파일에 대한 ChatGPT 챗봇을 구축할 수 있습니다.
  6 | 
  7 | 사용되는 기술 스택에는 LangChain, Faiss, Typescript, Openai 및 Next.js가 포함됩니다. LangChain은 확장 가능한 AI/LLM 앱과 챗봇을 쉽게 구축할 수 있는 프레임워크입니다. Faiss는 임베딩과 PDF를 텍스트에 저장하여 나중에 유사한 문서를 검색할 수 있는 벡터 저장소입니다.
  8 | 
  9 | [튜토리얼 동영상](https://www.youtube.com/watch?v=ih9PBGVVOO4)
 10 | 
 11 | [질문이 있는 경우 디스코드에 참여](https://discord.gg/E4Mc77qwjm)
 12 | 
 13 | 이 리포지토리와 튜토리얼의 비주얼 가이드는 `visual guide` 폴더에 있습니다.
 14 | 
 15 | **오류가 발생하면 이 페이지 아래쪽의 문제 해결 섹션을 참조하세요.**
 16 | 
 17 | 준비사항: 시스템에 [Node.JS](https://nodejs.org/ko)가 이미 다운로드되어 있고 Node.JS 버전이 18 이상인지 확인하세요.
 18 | 
 19 | ## 개발
 20 | 
 21 | 1. 리포지토리를 복제하거나,
 22 | 
 23 | ```
 24 | git clone https://github.com/anpigon/gpt4-pdf-chatbot-langchain-faiss.git
 25 | ```
 26 | 
 27 | 2. 또는 ZIP 파일을 다운로드 합니다.
 28 | 
 29 |  30 | 
 31 | 
 32 | 3. 패키지 설치
 33 | 
 34 | 다음 명령을 실행합니다:
 35 | 
 36 | ```
 37 | npm install
 38 | ```
 39 | 
 40 | 설치가 완료되면 이제 `node_modules` 폴더가 표시됩니다.
 41 | 
 42 | 4. `.env` 파일 설정
 43 | 
 44 | - `.env.example`를 `.env`에 복사합니다.
 45 |   `.env` 파일은 다음과 같아야 합니다:
 46 | 
 47 | ```
 48 | OPENAI_API_KEY=
 49 | OPENAI_CHAT_MODEL=
 50 | ANSWER_LANGUAGE=
 51 | ```
 52 | 
 53 | - `OPENAI_API_KEY`: API 키를 [openai](https://platform.openai.com/account/api-keys)에서 발급받고, 이를 .env 파일에 입력합니다.
 54 | - `OPENAI_CHAT_MODEL`: `gpt-4` 또는 `gpt-3.5-turbo`를 입력합니다. 
 55 | - `ANSWER_LANGUAGE`: ChatGPT가 응답할 언어를 입력합니다. 한국어로 응답을 받고 싶으면 **ko-KR**을 입력합니다.
 56 | 
 57 | 5. `utils/makechain.ts` 파일에서 자신의 입맛에 맞게 `QA_PROMPT` 프롬프트를 변경할 수 있습니다. 
 58 | 
 59 | ## PDF, CSV, TXT 파일을 임베딩으로 변환하세요.
 60 | 
 61 | **이 리포지토리는 여러 PDF, CSV, TXT 파일들을 로드할 수 있습니다**.
 62 | 
 63 | 1. `docs` 폴더에 PDF, CSV, TXT 파일 또는 파일이 들어있는 폴더를 추가합니다.
 64 | 
 65 | 2. `npm run ingest` 명령을 실행하여 문서를 'ingest'하고 문서를 임베드합니다. 오류가 발생하면 아래에서 문제를 해결하세요.
 66 | 
 67 | 3. `faiss-store` 폴더에 docstore.json 및 faiss.index 파일이 성공적으로 생성되었는지 확인합니다.
 68 | 
 69 | 4. ***주의***: `npm run ingest` 명령을 실행하면 기존 임베딩이 삭제되고 새로 생성됩니다.
 70 | 
 71 | ## 앱 실행하기
 72 | 
 73 | 임베딩과 콘텐츠가 faiss 스토어에 성공적으로 추가되었는지 확인한 후, `npm run dev` 명령을 실행하여 로컬 개발 환경을 시작합니다. 그런 다음, 채팅 인터페이스에 질문을 입력할 수 있습니다.
 74 | 
 75 | ## 문제 해결
 76 | 
 77 | 일반적으로 이 리포지토리의 `issues` 및 `discussions` 섹션에서 해결책을 찾아보세요.
 78 | 
 79 | **General errors**
 80 | 
 81 | - 최신 노드 버전을 실행하고 있는지 확인하세요. `node -v`를 실행하세요.
 82 | - 다른 PDF를 시도하거나 먼저 PDF를 텍스트로 변환하세요. PDF가 손상되었거나 스캔되었거나 텍스트로 변환하기 위해 OCR이 필요할 수 있습니다.
 83 | - `Console.log` 에서 `env` 변수를 확인하고 해당 변수가 노출되어 있는지 확인하세요.
 84 | - 이 리포지토리와 동일한 버전의 LangChain 및 Faiss를 사용하고 있는지 확인하세요.
 85 | - 유효한(그리고 작동하는) OpenAI API Key, 환경 및 인덱스 이름이 포함된 `.env` 파일을 생성했는지 확인합니다.
 86 | - `modelName` 을 변경하는 경우, 해당 모델의 API에 대한 액세스 권한이 있는지 확인하세요.
 87 | - 청구 계정에 충분한 OpenAI 크레딧과 유효한 카드가 있는지 확인하세요.
 88 | - 글로벌 환경에 여러 개의 OPENAPI 키가 없는지 확인하세요. 여러 개가 있는 경우 프로젝트의 로컬 `env` 파일을 시스템 `env` 변수로 덮어쓰게 됩니다.
 89 | - 여전히 문제가 있는 경우 API 키를 `process.env` 변수에 하드 코딩해 보세요.
 90 | 
 91 | ##### (추가) faiss에서 libomp 관련 오류가 발생할 경우, 다음과 같은 방법을 시도해 볼 수 있습니다.
 92 | "faiss-node"에서 "libomp" 관련 오류를 해결하려면 시스템에 "libomp" 라이브러리를 설치해 볼 수 있습니다. 이 라이브러리는 Faiss에 필요하며 우분투에서 다음 명령을 사용하여 설치할 수 있습니다:
 93 | 
 94 | ```sh
 95 | sudo apt-get install libomp-dev
 96 | ```
 97 | 
 98 | macOS에서는 Homebrew를 사용하여 설치할 수 있습니다:
 99 | ```sh
100 | brew install libomp
101 | ```
102 | 
103 | 윈도우에서는 다음 명령을 사용하여 설치할 수 있습니다:
104 | ```sh
105 | conda install libpython m2w64-toolchain -c msys2
106 | conda install faiss-cpu -c pytorch
107 | ```
108 | 
109 | 라이브러리를 설치한 후 코드를 다시 실행하여 오류가 지속되는지 확인합니다.
110 | 
111 | 
112 | ## 크레딧
113 | 이 리포지토리의 프론트엔드는 [langchain-chat-nextjs](https://github.com/zahidkhawaja/langchain-chat-nextjs)에서 영감을 얻었습니다.
114 | 
--------------------------------------------------------------------------------
/components/layout.tsx:
--------------------------------------------------------------------------------
 1 | interface LayoutProps {
 2 |   children?: React.ReactNode;
 3 | }
 4 | 
 5 | export default function Layout({ children }: LayoutProps) {
 6 |   return (
 7 |
 30 | 
 31 | 
 32 | 3. 패키지 설치
 33 | 
 34 | 다음 명령을 실행합니다:
 35 | 
 36 | ```
 37 | npm install
 38 | ```
 39 | 
 40 | 설치가 완료되면 이제 `node_modules` 폴더가 표시됩니다.
 41 | 
 42 | 4. `.env` 파일 설정
 43 | 
 44 | - `.env.example`를 `.env`에 복사합니다.
 45 |   `.env` 파일은 다음과 같아야 합니다:
 46 | 
 47 | ```
 48 | OPENAI_API_KEY=
 49 | OPENAI_CHAT_MODEL=
 50 | ANSWER_LANGUAGE=
 51 | ```
 52 | 
 53 | - `OPENAI_API_KEY`: API 키를 [openai](https://platform.openai.com/account/api-keys)에서 발급받고, 이를 .env 파일에 입력합니다.
 54 | - `OPENAI_CHAT_MODEL`: `gpt-4` 또는 `gpt-3.5-turbo`를 입력합니다. 
 55 | - `ANSWER_LANGUAGE`: ChatGPT가 응답할 언어를 입력합니다. 한국어로 응답을 받고 싶으면 **ko-KR**을 입력합니다.
 56 | 
 57 | 5. `utils/makechain.ts` 파일에서 자신의 입맛에 맞게 `QA_PROMPT` 프롬프트를 변경할 수 있습니다. 
 58 | 
 59 | ## PDF, CSV, TXT 파일을 임베딩으로 변환하세요.
 60 | 
 61 | **이 리포지토리는 여러 PDF, CSV, TXT 파일들을 로드할 수 있습니다**.
 62 | 
 63 | 1. `docs` 폴더에 PDF, CSV, TXT 파일 또는 파일이 들어있는 폴더를 추가합니다.
 64 | 
 65 | 2. `npm run ingest` 명령을 실행하여 문서를 'ingest'하고 문서를 임베드합니다. 오류가 발생하면 아래에서 문제를 해결하세요.
 66 | 
 67 | 3. `faiss-store` 폴더에 docstore.json 및 faiss.index 파일이 성공적으로 생성되었는지 확인합니다.
 68 | 
 69 | 4. ***주의***: `npm run ingest` 명령을 실행하면 기존 임베딩이 삭제되고 새로 생성됩니다.
 70 | 
 71 | ## 앱 실행하기
 72 | 
 73 | 임베딩과 콘텐츠가 faiss 스토어에 성공적으로 추가되었는지 확인한 후, `npm run dev` 명령을 실행하여 로컬 개발 환경을 시작합니다. 그런 다음, 채팅 인터페이스에 질문을 입력할 수 있습니다.
 74 | 
 75 | ## 문제 해결
 76 | 
 77 | 일반적으로 이 리포지토리의 `issues` 및 `discussions` 섹션에서 해결책을 찾아보세요.
 78 | 
 79 | **General errors**
 80 | 
 81 | - 최신 노드 버전을 실행하고 있는지 확인하세요. `node -v`를 실행하세요.
 82 | - 다른 PDF를 시도하거나 먼저 PDF를 텍스트로 변환하세요. PDF가 손상되었거나 스캔되었거나 텍스트로 변환하기 위해 OCR이 필요할 수 있습니다.
 83 | - `Console.log` 에서 `env` 변수를 확인하고 해당 변수가 노출되어 있는지 확인하세요.
 84 | - 이 리포지토리와 동일한 버전의 LangChain 및 Faiss를 사용하고 있는지 확인하세요.
 85 | - 유효한(그리고 작동하는) OpenAI API Key, 환경 및 인덱스 이름이 포함된 `.env` 파일을 생성했는지 확인합니다.
 86 | - `modelName` 을 변경하는 경우, 해당 모델의 API에 대한 액세스 권한이 있는지 확인하세요.
 87 | - 청구 계정에 충분한 OpenAI 크레딧과 유효한 카드가 있는지 확인하세요.
 88 | - 글로벌 환경에 여러 개의 OPENAPI 키가 없는지 확인하세요. 여러 개가 있는 경우 프로젝트의 로컬 `env` 파일을 시스템 `env` 변수로 덮어쓰게 됩니다.
 89 | - 여전히 문제가 있는 경우 API 키를 `process.env` 변수에 하드 코딩해 보세요.
 90 | 
 91 | ##### (추가) faiss에서 libomp 관련 오류가 발생할 경우, 다음과 같은 방법을 시도해 볼 수 있습니다.
 92 | "faiss-node"에서 "libomp" 관련 오류를 해결하려면 시스템에 "libomp" 라이브러리를 설치해 볼 수 있습니다. 이 라이브러리는 Faiss에 필요하며 우분투에서 다음 명령을 사용하여 설치할 수 있습니다:
 93 | 
 94 | ```sh
 95 | sudo apt-get install libomp-dev
 96 | ```
 97 | 
 98 | macOS에서는 Homebrew를 사용하여 설치할 수 있습니다:
 99 | ```sh
100 | brew install libomp
101 | ```
102 | 
103 | 윈도우에서는 다음 명령을 사용하여 설치할 수 있습니다:
104 | ```sh
105 | conda install libpython m2w64-toolchain -c msys2
106 | conda install faiss-cpu -c pytorch
107 | ```
108 | 
109 | 라이브러리를 설치한 후 코드를 다시 실행하여 오류가 지속되는지 확인합니다.
110 | 
111 | 
112 | ## 크레딧
113 | 이 리포지토리의 프론트엔드는 [langchain-chat-nextjs](https://github.com/zahidkhawaja/langchain-chat-nextjs)에서 영감을 얻었습니다.
114 | 
--------------------------------------------------------------------------------
/components/layout.tsx:
--------------------------------------------------------------------------------
 1 | interface LayoutProps {
 2 |   children?: React.ReactNode;
 3 | }
 4 | 
 5 | export default function Layout({ children }: LayoutProps) {
 6 |   return (
 7 |     
 8 |       
17 |       
18 |         
19 |           {children}
20 |         
21 |       
22 |     
{children}
57 |   
58 | ));
59 | AccordionContent.displayName = AccordionPrimitive.Content.displayName;
60 | 
61 | export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
62 | 
--------------------------------------------------------------------------------
/config/chroma.ts:
--------------------------------------------------------------------------------
 1 | /**
 2 |  * Change the namespace to the namespace on Pinecone you'd like to store your embeddings.
 3 |  */
 4 | 
 5 | if (!process.env.COLLECTION_NAME) {
 6 |   throw new Error('Missing collection name in .env file');
 7 | }
 8 | 
 9 | const COLLECTION_NAME = process.env.COLLECTION_NAME ?? '';
10 | 
11 | export { COLLECTION_NAME }
--------------------------------------------------------------------------------
/declarations/pdf-parse.d.ts:
--------------------------------------------------------------------------------
1 | declare module 'pdf-parse/lib/pdf-parse.js' {
2 |   import pdf from 'pdf-parse';
3 | 
4 |   export default pdf;
5 | }
6 | 
--------------------------------------------------------------------------------
/docs/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/anpigon/gpt4-pdf-chatbot-langchain-faiss/8294ffe186924b1d9050bd4fb3600433f92b882b/docs/.keep
--------------------------------------------------------------------------------
/faiss-store/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/anpigon/gpt4-pdf-chatbot-langchain-faiss/8294ffe186924b1d9050bd4fb3600433f92b882b/faiss-store/.keep
--------------------------------------------------------------------------------
/next.config.js:
--------------------------------------------------------------------------------
 1 | /** @type {import('next').NextConfig} */
 2 | const nextConfig = {
 3 |   reactStrictMode: true,
 4 |   swcMinify: true,
 5 |   webpack(config) {
 6 |     config.experiments = { ...config.experiments, topLevelAwait: true };
 7 |     return config;
 8 |   },
 9 | };
10 | 
11 | export default nextConfig;
12 | 
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
   1 | {
   2 |   "name": "gpt4-langchain-pdf-chatbot",
   3 |   "version": "0.1.0",
   4 |   "lockfileVersion": 3,
   5 |   "requires": true,
   6 |   "packages": {
   7 |     "": {
   8 |       "name": "gpt4-langchain-pdf-chatbot",
   9 |       "version": "0.1.0",
  10 |       "license": "MIT",
  11 |       "dependencies": {
  12 |         "@microsoft/fetch-event-source": "^2.0.1",
  13 |         "@radix-ui/react-accordion": "^1.1.1",
  14 |         "clsx": "^1.2.1",
  15 |         "d3-dsv": "2",
  16 |         "dotenv": "^16.0.3",
  17 |         "faiss-node": "^0.2.0",
  18 |         "langchain": "0.0.84",
  19 |         "lucide-react": "^0.125.0",
  20 |         "next": "13.2.3",
  21 |         "pdf-parse": "1.1.1",
  22 |         "pickleparser": "^0.1.0",
  23 |         "react": "18.2.0",
  24 |         "react-dom": "18.2.0",
  25 |         "react-markdown": "^8.0.5",
  26 |         "tailwind-merge": "^1.10.0"
  27 |       },
  28 |       "devDependencies": {
  29 |         "@types/node": "^18.14.6",
  30 |         "@types/react": "^18.0.28",
  31 |         "@types/react-dom": "^18.0.11",
  32 |         "@typescript-eslint/parser": "^5.54.0",
  33 |         "autoprefixer": "^10.4.13",
  34 |         "eslint": "8.35.0",
  35 |         "eslint-config-next": "13.2.3",
  36 |         "postcss": "^8.4.21",
  37 |         "prettier": "^2.8.4",
  38 |         "tailwindcss": "^3.2.7",
  39 |         "tsx": "^3.12.3",
  40 |         "typescript": "^4.9.5"
  41 |       },
  42 |       "engines": {
  43 |         "node": ">=18"
  44 |       }
  45 |     },
  46 |     "node_modules/@anthropic-ai/sdk": {
  47 |       "version": "0.4.3",
  48 |       "license": "MIT",
  49 |       "dependencies": {
  50 |         "@fortaine/fetch-event-source": "^3.0.6",
  51 |         "cross-fetch": "^3.1.5"
  52 |       }
  53 |     },
  54 |     "node_modules/@babel/runtime": {
  55 |       "version": "7.21.0",
  56 |       "license": "MIT",
  57 |       "dependencies": {
  58 |         "regenerator-runtime": "^0.13.11"
  59 |       },
  60 |       "engines": {
  61 |         "node": ">=6.9.0"
  62 |       }
  63 |     },
  64 |     "node_modules/@esbuild-kit/cjs-loader": {
  65 |       "version": "2.4.2",
  66 |       "dev": true,
  67 |       "license": "MIT",
  68 |       "dependencies": {
  69 |         "@esbuild-kit/core-utils": "^3.0.0",
  70 |         "get-tsconfig": "^4.4.0"
  71 |       }
  72 |     },
  73 |     "node_modules/@esbuild-kit/core-utils": {
  74 |       "version": "3.1.0",
  75 |       "dev": true,
  76 |       "license": "MIT",
  77 |       "dependencies": {
  78 |         "esbuild": "~0.17.6",
  79 |         "source-map-support": "^0.5.21"
  80 |       }
  81 |     },
  82 |     "node_modules/@esbuild-kit/esm-loader": {
  83 |       "version": "2.5.5",
  84 |       "dev": true,
  85 |       "license": "MIT",
  86 |       "dependencies": {
  87 |         "@esbuild-kit/core-utils": "^3.0.0",
  88 |         "get-tsconfig": "^4.4.0"
  89 |       }
  90 |     },
  91 |     "node_modules/@esbuild/darwin-x64": {
  92 |       "version": "0.17.16",
  93 |       "cpu": [
  94 |         "x64"
  95 |       ],
  96 |       "dev": true,
  97 |       "license": "MIT",
  98 |       "optional": true,
  99 |       "os": [
 100 |         "darwin"
 101 |       ],
 102 |       "engines": {
 103 |         "node": ">=12"
 104 |       }
 105 |     },
 106 |     "node_modules/@eslint/eslintrc": {
 107 |       "version": "2.0.2",
 108 |       "dev": true,
 109 |       "license": "MIT",
 110 |       "dependencies": {
 111 |         "ajv": "^6.12.4",
 112 |         "debug": "^4.3.2",
 113 |         "espree": "^9.5.1",
 114 |         "globals": "^13.19.0",
 115 |         "ignore": "^5.2.0",
 116 |         "import-fresh": "^3.2.1",
 117 |         "js-yaml": "^4.1.0",
 118 |         "minimatch": "^3.1.2",
 119 |         "strip-json-comments": "^3.1.1"
 120 |       },
 121 |       "engines": {
 122 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 123 |       },
 124 |       "funding": {
 125 |         "url": "https://opencollective.com/eslint"
 126 |       }
 127 |     },
 128 |     "node_modules/@eslint/js": {
 129 |       "version": "8.35.0",
 130 |       "dev": true,
 131 |       "license": "MIT",
 132 |       "engines": {
 133 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 134 |       }
 135 |     },
 136 |     "node_modules/@fortaine/fetch-event-source": {
 137 |       "version": "3.0.6",
 138 |       "license": "MIT",
 139 |       "engines": {
 140 |         "node": ">=16.15"
 141 |       }
 142 |     },
 143 |     "node_modules/@humanwhocodes/config-array": {
 144 |       "version": "0.11.8",
 145 |       "dev": true,
 146 |       "license": "Apache-2.0",
 147 |       "dependencies": {
 148 |         "@humanwhocodes/object-schema": "^1.2.1",
 149 |         "debug": "^4.1.1",
 150 |         "minimatch": "^3.0.5"
 151 |       },
 152 |       "engines": {
 153 |         "node": ">=10.10.0"
 154 |       }
 155 |     },
 156 |     "node_modules/@humanwhocodes/module-importer": {
 157 |       "version": "1.0.1",
 158 |       "dev": true,
 159 |       "license": "Apache-2.0",
 160 |       "engines": {
 161 |         "node": ">=12.22"
 162 |       },
 163 |       "funding": {
 164 |         "type": "github",
 165 |         "url": "https://github.com/sponsors/nzakas"
 166 |       }
 167 |     },
 168 |     "node_modules/@humanwhocodes/object-schema": {
 169 |       "version": "1.2.1",
 170 |       "dev": true,
 171 |       "license": "BSD-3-Clause"
 172 |     },
 173 |     "node_modules/@jridgewell/gen-mapping": {
 174 |       "version": "0.3.3",
 175 |       "dev": true,
 176 |       "license": "MIT",
 177 |       "dependencies": {
 178 |         "@jridgewell/set-array": "^1.0.1",
 179 |         "@jridgewell/sourcemap-codec": "^1.4.10",
 180 |         "@jridgewell/trace-mapping": "^0.3.9"
 181 |       },
 182 |       "engines": {
 183 |         "node": ">=6.0.0"
 184 |       }
 185 |     },
 186 |     "node_modules/@jridgewell/resolve-uri": {
 187 |       "version": "3.1.0",
 188 |       "dev": true,
 189 |       "license": "MIT",
 190 |       "engines": {
 191 |         "node": ">=6.0.0"
 192 |       }
 193 |     },
 194 |     "node_modules/@jridgewell/set-array": {
 195 |       "version": "1.1.2",
 196 |       "dev": true,
 197 |       "license": "MIT",
 198 |       "engines": {
 199 |         "node": ">=6.0.0"
 200 |       }
 201 |     },
 202 |     "node_modules/@jridgewell/sourcemap-codec": {
 203 |       "version": "1.4.15",
 204 |       "dev": true,
 205 |       "license": "MIT"
 206 |     },
 207 |     "node_modules/@jridgewell/trace-mapping": {
 208 |       "version": "0.3.18",
 209 |       "dev": true,
 210 |       "license": "MIT",
 211 |       "dependencies": {
 212 |         "@jridgewell/resolve-uri": "3.1.0",
 213 |         "@jridgewell/sourcemap-codec": "1.4.14"
 214 |       }
 215 |     },
 216 |     "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": {
 217 |       "version": "1.4.14",
 218 |       "dev": true,
 219 |       "license": "MIT"
 220 |     },
 221 |     "node_modules/@microsoft/fetch-event-source": {
 222 |       "version": "2.0.1",
 223 |       "license": "MIT"
 224 |     },
 225 |     "node_modules/@next/env": {
 226 |       "version": "13.2.3",
 227 |       "license": "MIT"
 228 |     },
 229 |     "node_modules/@next/eslint-plugin-next": {
 230 |       "version": "13.2.3",
 231 |       "dev": true,
 232 |       "license": "MIT",
 233 |       "dependencies": {
 234 |         "glob": "7.1.7"
 235 |       }
 236 |     },
 237 |     "node_modules/@next/eslint-plugin-next/node_modules/glob": {
 238 |       "version": "7.1.7",
 239 |       "dev": true,
 240 |       "license": "ISC",
 241 |       "dependencies": {
 242 |         "fs.realpath": "^1.0.0",
 243 |         "inflight": "^1.0.4",
 244 |         "inherits": "2",
 245 |         "minimatch": "^3.0.4",
 246 |         "once": "^1.3.0",
 247 |         "path-is-absolute": "^1.0.0"
 248 |       },
 249 |       "engines": {
 250 |         "node": "*"
 251 |       },
 252 |       "funding": {
 253 |         "url": "https://github.com/sponsors/isaacs"
 254 |       }
 255 |     },
 256 |     "node_modules/@next/swc-android-arm-eabi": {
 257 |       "version": "13.2.3",
 258 |       "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.2.3.tgz",
 259 |       "integrity": "sha512-mykdVaAXX/gm+eFO2kPeVjnOCKwanJ9mV2U0lsUGLrEdMUifPUjiXKc6qFAIs08PvmTMOLMNnUxqhGsJlWGKSw==",
 260 |       "cpu": [
 261 |         "arm"
 262 |       ],
 263 |       "optional": true,
 264 |       "os": [
 265 |         "android"
 266 |       ],
 267 |       "engines": {
 268 |         "node": ">= 10"
 269 |       }
 270 |     },
 271 |     "node_modules/@next/swc-android-arm64": {
 272 |       "version": "13.2.3",
 273 |       "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.2.3.tgz",
 274 |       "integrity": "sha512-8XwHPpA12gdIFtope+n9xCtJZM3U4gH4vVTpUwJ2w1kfxFmCpwQ4xmeGSkR67uOg80yRMuF0h9V1ueo05sws5w==",
 275 |       "cpu": [
 276 |         "arm64"
 277 |       ],
 278 |       "optional": true,
 279 |       "os": [
 280 |         "android"
 281 |       ],
 282 |       "engines": {
 283 |         "node": ">= 10"
 284 |       }
 285 |     },
 286 |     "node_modules/@next/swc-darwin-arm64": {
 287 |       "version": "13.2.3",
 288 |       "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.2.3.tgz",
 289 |       "integrity": "sha512-TXOubiFdLpMfMtaRu1K5d1I9ipKbW5iS2BNbu8zJhoqrhk3Kp7aRKTxqFfWrbliAHhWVE/3fQZUYZOWSXVQi1w==",
 290 |       "cpu": [
 291 |         "arm64"
 292 |       ],
 293 |       "optional": true,
 294 |       "os": [
 295 |         "darwin"
 296 |       ],
 297 |       "engines": {
 298 |         "node": ">= 10"
 299 |       }
 300 |     },
 301 |     "node_modules/@next/swc-darwin-x64": {
 302 |       "version": "13.2.3",
 303 |       "cpu": [
 304 |         "x64"
 305 |       ],
 306 |       "license": "MIT",
 307 |       "optional": true,
 308 |       "os": [
 309 |         "darwin"
 310 |       ],
 311 |       "engines": {
 312 |         "node": ">= 10"
 313 |       }
 314 |     },
 315 |     "node_modules/@next/swc-freebsd-x64": {
 316 |       "version": "13.2.3",
 317 |       "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.2.3.tgz",
 318 |       "integrity": "sha512-rK6GpmMt/mU6MPuav0/M7hJ/3t8HbKPCELw/Uqhi4732xoq2hJ2zbo2FkYs56y6w0KiXrIp4IOwNB9K8L/q62g==",
 319 |       "cpu": [
 320 |         "x64"
 321 |       ],
 322 |       "optional": true,
 323 |       "os": [
 324 |         "freebsd"
 325 |       ],
 326 |       "engines": {
 327 |         "node": ">= 10"
 328 |       }
 329 |     },
 330 |     "node_modules/@next/swc-linux-arm-gnueabihf": {
 331 |       "version": "13.2.3",
 332 |       "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.2.3.tgz",
 333 |       "integrity": "sha512-yeiCp/Odt1UJ4KUE89XkeaaboIDiVFqKP4esvoLKGJ0fcqJXMofj4ad3tuQxAMs3F+qqrz9MclqhAHkex1aPZA==",
 334 |       "cpu": [
 335 |         "arm"
 336 |       ],
 337 |       "optional": true,
 338 |       "os": [
 339 |         "linux"
 340 |       ],
 341 |       "engines": {
 342 |         "node": ">= 10"
 343 |       }
 344 |     },
 345 |     "node_modules/@next/swc-linux-arm64-gnu": {
 346 |       "version": "13.2.3",
 347 |       "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.2.3.tgz",
 348 |       "integrity": "sha512-/miIopDOUsuNlvjBjTipvoyjjaxgkOuvlz+cIbbPcm1eFvzX2ltSfgMgty15GuOiR8Hub4FeTSiq3g2dmCkzGA==",
 349 |       "cpu": [
 350 |         "arm64"
 351 |       ],
 352 |       "optional": true,
 353 |       "os": [
 354 |         "linux"
 355 |       ],
 356 |       "engines": {
 357 |         "node": ">= 10"
 358 |       }
 359 |     },
 360 |     "node_modules/@next/swc-linux-arm64-musl": {
 361 |       "version": "13.2.3",
 362 |       "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.2.3.tgz",
 363 |       "integrity": "sha512-sujxFDhMMDjqhruup8LLGV/y+nCPi6nm5DlFoThMJFvaaKr/imhkXuk8uCTq4YJDbtRxnjydFv2y8laBSJVC2g==",
 364 |       "cpu": [
 365 |         "arm64"
 366 |       ],
 367 |       "optional": true,
 368 |       "os": [
 369 |         "linux"
 370 |       ],
 371 |       "engines": {
 372 |         "node": ">= 10"
 373 |       }
 374 |     },
 375 |     "node_modules/@next/swc-linux-x64-gnu": {
 376 |       "version": "13.2.3",
 377 |       "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.2.3.tgz",
 378 |       "integrity": "sha512-w5MyxPknVvC9LVnMenAYMXMx4KxPwXuJRMQFvY71uXg68n7cvcas85U5zkdrbmuZ+JvsO5SIG8k36/6X3nUhmQ==",
 379 |       "cpu": [
 380 |         "x64"
 381 |       ],
 382 |       "optional": true,
 383 |       "os": [
 384 |         "linux"
 385 |       ],
 386 |       "engines": {
 387 |         "node": ">= 10"
 388 |       }
 389 |     },
 390 |     "node_modules/@next/swc-linux-x64-musl": {
 391 |       "version": "13.2.3",
 392 |       "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.2.3.tgz",
 393 |       "integrity": "sha512-CTeelh8OzSOVqpzMFMFnVRJIFAFQoTsI9RmVJWW/92S4xfECGcOzgsX37CZ8K982WHRzKU7exeh7vYdG/Eh4CA==",
 394 |       "cpu": [
 395 |         "x64"
 396 |       ],
 397 |       "optional": true,
 398 |       "os": [
 399 |         "linux"
 400 |       ],
 401 |       "engines": {
 402 |         "node": ">= 10"
 403 |       }
 404 |     },
 405 |     "node_modules/@next/swc-win32-arm64-msvc": {
 406 |       "version": "13.2.3",
 407 |       "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.2.3.tgz",
 408 |       "integrity": "sha512-7N1KBQP5mo4xf52cFCHgMjzbc9jizIlkTepe9tMa2WFvEIlKDfdt38QYcr9mbtny17yuaIw02FXOVEytGzqdOQ==",
 409 |       "cpu": [
 410 |         "arm64"
 411 |       ],
 412 |       "optional": true,
 413 |       "os": [
 414 |         "win32"
 415 |       ],
 416 |       "engines": {
 417 |         "node": ">= 10"
 418 |       }
 419 |     },
 420 |     "node_modules/@next/swc-win32-ia32-msvc": {
 421 |       "version": "13.2.3",
 422 |       "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.2.3.tgz",
 423 |       "integrity": "sha512-LzWD5pTSipUXTEMRjtxES/NBYktuZdo7xExJqGDMnZU8WOI+v9mQzsmQgZS/q02eIv78JOCSemqVVKZBGCgUvA==",
 424 |       "cpu": [
 425 |         "ia32"
 426 |       ],
 427 |       "optional": true,
 428 |       "os": [
 429 |         "win32"
 430 |       ],
 431 |       "engines": {
 432 |         "node": ">= 10"
 433 |       }
 434 |     },
 435 |     "node_modules/@next/swc-win32-x64-msvc": {
 436 |       "version": "13.2.3",
 437 |       "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.2.3.tgz",
 438 |       "integrity": "sha512-aLG2MaFs4y7IwaMTosz2r4mVbqRyCnMoFqOcmfTi7/mAS+G4IMH0vJp4oLdbshqiVoiVuKrAfqtXj55/m7Qu1Q==",
 439 |       "cpu": [
 440 |         "x64"
 441 |       ],
 442 |       "optional": true,
 443 |       "os": [
 444 |         "win32"
 445 |       ],
 446 |       "engines": {
 447 |         "node": ">= 10"
 448 |       }
 449 |     },
 450 |     "node_modules/@nodelib/fs.scandir": {
 451 |       "version": "2.1.5",
 452 |       "dev": true,
 453 |       "license": "MIT",
 454 |       "dependencies": {
 455 |         "@nodelib/fs.stat": "2.0.5",
 456 |         "run-parallel": "^1.1.9"
 457 |       },
 458 |       "engines": {
 459 |         "node": ">= 8"
 460 |       }
 461 |     },
 462 |     "node_modules/@nodelib/fs.stat": {
 463 |       "version": "2.0.5",
 464 |       "dev": true,
 465 |       "license": "MIT",
 466 |       "engines": {
 467 |         "node": ">= 8"
 468 |       }
 469 |     },
 470 |     "node_modules/@nodelib/fs.walk": {
 471 |       "version": "1.2.8",
 472 |       "dev": true,
 473 |       "license": "MIT",
 474 |       "dependencies": {
 475 |         "@nodelib/fs.scandir": "2.1.5",
 476 |         "fastq": "^1.6.0"
 477 |       },
 478 |       "engines": {
 479 |         "node": ">= 8"
 480 |       }
 481 |     },
 482 |     "node_modules/@pkgr/utils": {
 483 |       "version": "2.3.1",
 484 |       "dev": true,
 485 |       "license": "MIT",
 486 |       "dependencies": {
 487 |         "cross-spawn": "^7.0.3",
 488 |         "is-glob": "^4.0.3",
 489 |         "open": "^8.4.0",
 490 |         "picocolors": "^1.0.0",
 491 |         "tiny-glob": "^0.2.9",
 492 |         "tslib": "^2.4.0"
 493 |       },
 494 |       "engines": {
 495 |         "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
 496 |       },
 497 |       "funding": {
 498 |         "url": "https://opencollective.com/unts"
 499 |       }
 500 |     },
 501 |     "node_modules/@radix-ui/primitive": {
 502 |       "version": "1.0.0",
 503 |       "license": "MIT",
 504 |       "dependencies": {
 505 |         "@babel/runtime": "^7.13.10"
 506 |       }
 507 |     },
 508 |     "node_modules/@radix-ui/react-accordion": {
 509 |       "version": "1.1.1",
 510 |       "license": "MIT",
 511 |       "dependencies": {
 512 |         "@babel/runtime": "^7.13.10",
 513 |         "@radix-ui/primitive": "1.0.0",
 514 |         "@radix-ui/react-collapsible": "1.0.2",
 515 |         "@radix-ui/react-collection": "1.0.2",
 516 |         "@radix-ui/react-compose-refs": "1.0.0",
 517 |         "@radix-ui/react-context": "1.0.0",
 518 |         "@radix-ui/react-direction": "1.0.0",
 519 |         "@radix-ui/react-id": "1.0.0",
 520 |         "@radix-ui/react-primitive": "1.0.2",
 521 |         "@radix-ui/react-use-controllable-state": "1.0.0"
 522 |       },
 523 |       "peerDependencies": {
 524 |         "react": "^16.8 || ^17.0 || ^18.0",
 525 |         "react-dom": "^16.8 || ^17.0 || ^18.0"
 526 |       }
 527 |     },
 528 |     "node_modules/@radix-ui/react-collapsible": {
 529 |       "version": "1.0.2",
 530 |       "license": "MIT",
 531 |       "dependencies": {
 532 |         "@babel/runtime": "^7.13.10",
 533 |         "@radix-ui/primitive": "1.0.0",
 534 |         "@radix-ui/react-compose-refs": "1.0.0",
 535 |         "@radix-ui/react-context": "1.0.0",
 536 |         "@radix-ui/react-id": "1.0.0",
 537 |         "@radix-ui/react-presence": "1.0.0",
 538 |         "@radix-ui/react-primitive": "1.0.2",
 539 |         "@radix-ui/react-use-controllable-state": "1.0.0",
 540 |         "@radix-ui/react-use-layout-effect": "1.0.0"
 541 |       },
 542 |       "peerDependencies": {
 543 |         "react": "^16.8 || ^17.0 || ^18.0",
 544 |         "react-dom": "^16.8 || ^17.0 || ^18.0"
 545 |       }
 546 |     },
 547 |     "node_modules/@radix-ui/react-collection": {
 548 |       "version": "1.0.2",
 549 |       "license": "MIT",
 550 |       "dependencies": {
 551 |         "@babel/runtime": "^7.13.10",
 552 |         "@radix-ui/react-compose-refs": "1.0.0",
 553 |         "@radix-ui/react-context": "1.0.0",
 554 |         "@radix-ui/react-primitive": "1.0.2",
 555 |         "@radix-ui/react-slot": "1.0.1"
 556 |       },
 557 |       "peerDependencies": {
 558 |         "react": "^16.8 || ^17.0 || ^18.0",
 559 |         "react-dom": "^16.8 || ^17.0 || ^18.0"
 560 |       }
 561 |     },
 562 |     "node_modules/@radix-ui/react-compose-refs": {
 563 |       "version": "1.0.0",
 564 |       "license": "MIT",
 565 |       "dependencies": {
 566 |         "@babel/runtime": "^7.13.10"
 567 |       },
 568 |       "peerDependencies": {
 569 |         "react": "^16.8 || ^17.0 || ^18.0"
 570 |       }
 571 |     },
 572 |     "node_modules/@radix-ui/react-context": {
 573 |       "version": "1.0.0",
 574 |       "license": "MIT",
 575 |       "dependencies": {
 576 |         "@babel/runtime": "^7.13.10"
 577 |       },
 578 |       "peerDependencies": {
 579 |         "react": "^16.8 || ^17.0 || ^18.0"
 580 |       }
 581 |     },
 582 |     "node_modules/@radix-ui/react-direction": {
 583 |       "version": "1.0.0",
 584 |       "license": "MIT",
 585 |       "dependencies": {
 586 |         "@babel/runtime": "^7.13.10"
 587 |       },
 588 |       "peerDependencies": {
 589 |         "react": "^16.8 || ^17.0 || ^18.0"
 590 |       }
 591 |     },
 592 |     "node_modules/@radix-ui/react-id": {
 593 |       "version": "1.0.0",
 594 |       "license": "MIT",
 595 |       "dependencies": {
 596 |         "@babel/runtime": "^7.13.10",
 597 |         "@radix-ui/react-use-layout-effect": "1.0.0"
 598 |       },
 599 |       "peerDependencies": {
 600 |         "react": "^16.8 || ^17.0 || ^18.0"
 601 |       }
 602 |     },
 603 |     "node_modules/@radix-ui/react-presence": {
 604 |       "version": "1.0.0",
 605 |       "license": "MIT",
 606 |       "dependencies": {
 607 |         "@babel/runtime": "^7.13.10",
 608 |         "@radix-ui/react-compose-refs": "1.0.0",
 609 |         "@radix-ui/react-use-layout-effect": "1.0.0"
 610 |       },
 611 |       "peerDependencies": {
 612 |         "react": "^16.8 || ^17.0 || ^18.0",
 613 |         "react-dom": "^16.8 || ^17.0 || ^18.0"
 614 |       }
 615 |     },
 616 |     "node_modules/@radix-ui/react-primitive": {
 617 |       "version": "1.0.2",
 618 |       "license": "MIT",
 619 |       "dependencies": {
 620 |         "@babel/runtime": "^7.13.10",
 621 |         "@radix-ui/react-slot": "1.0.1"
 622 |       },
 623 |       "peerDependencies": {
 624 |         "react": "^16.8 || ^17.0 || ^18.0",
 625 |         "react-dom": "^16.8 || ^17.0 || ^18.0"
 626 |       }
 627 |     },
 628 |     "node_modules/@radix-ui/react-slot": {
 629 |       "version": "1.0.1",
 630 |       "license": "MIT",
 631 |       "dependencies": {
 632 |         "@babel/runtime": "^7.13.10",
 633 |         "@radix-ui/react-compose-refs": "1.0.0"
 634 |       },
 635 |       "peerDependencies": {
 636 |         "react": "^16.8 || ^17.0 || ^18.0"
 637 |       }
 638 |     },
 639 |     "node_modules/@radix-ui/react-use-callback-ref": {
 640 |       "version": "1.0.0",
 641 |       "license": "MIT",
 642 |       "dependencies": {
 643 |         "@babel/runtime": "^7.13.10"
 644 |       },
 645 |       "peerDependencies": {
 646 |         "react": "^16.8 || ^17.0 || ^18.0"
 647 |       }
 648 |     },
 649 |     "node_modules/@radix-ui/react-use-controllable-state": {
 650 |       "version": "1.0.0",
 651 |       "license": "MIT",
 652 |       "dependencies": {
 653 |         "@babel/runtime": "^7.13.10",
 654 |         "@radix-ui/react-use-callback-ref": "1.0.0"
 655 |       },
 656 |       "peerDependencies": {
 657 |         "react": "^16.8 || ^17.0 || ^18.0"
 658 |       }
 659 |     },
 660 |     "node_modules/@radix-ui/react-use-layout-effect": {
 661 |       "version": "1.0.0",
 662 |       "license": "MIT",
 663 |       "dependencies": {
 664 |         "@babel/runtime": "^7.13.10"
 665 |       },
 666 |       "peerDependencies": {
 667 |         "react": "^16.8 || ^17.0 || ^18.0"
 668 |       }
 669 |     },
 670 |     "node_modules/@rushstack/eslint-patch": {
 671 |       "version": "1.2.0",
 672 |       "dev": true,
 673 |       "license": "MIT"
 674 |     },
 675 |     "node_modules/@swc/helpers": {
 676 |       "version": "0.4.14",
 677 |       "license": "MIT",
 678 |       "dependencies": {
 679 |         "tslib": "^2.4.0"
 680 |       }
 681 |     },
 682 |     "node_modules/@types/debug": {
 683 |       "version": "4.1.7",
 684 |       "license": "MIT",
 685 |       "dependencies": {
 686 |         "@types/ms": "*"
 687 |       }
 688 |     },
 689 |     "node_modules/@types/hast": {
 690 |       "version": "2.3.4",
 691 |       "license": "MIT",
 692 |       "dependencies": {
 693 |         "@types/unist": "*"
 694 |       }
 695 |     },
 696 |     "node_modules/@types/json5": {
 697 |       "version": "0.0.29",
 698 |       "dev": true,
 699 |       "license": "MIT"
 700 |     },
 701 |     "node_modules/@types/mdast": {
 702 |       "version": "3.0.11",
 703 |       "license": "MIT",
 704 |       "dependencies": {
 705 |         "@types/unist": "*"
 706 |       }
 707 |     },
 708 |     "node_modules/@types/ms": {
 709 |       "version": "0.7.31",
 710 |       "license": "MIT"
 711 |     },
 712 |     "node_modules/@types/node": {
 713 |       "version": "18.15.11",
 714 |       "dev": true,
 715 |       "license": "MIT"
 716 |     },
 717 |     "node_modules/@types/prop-types": {
 718 |       "version": "15.7.5",
 719 |       "license": "MIT"
 720 |     },
 721 |     "node_modules/@types/react": {
 722 |       "version": "18.0.35",
 723 |       "license": "MIT",
 724 |       "dependencies": {
 725 |         "@types/prop-types": "*",
 726 |         "@types/scheduler": "*",
 727 |         "csstype": "^3.0.2"
 728 |       }
 729 |     },
 730 |     "node_modules/@types/react-dom": {
 731 |       "version": "18.0.11",
 732 |       "dev": true,
 733 |       "license": "MIT",
 734 |       "dependencies": {
 735 |         "@types/react": "*"
 736 |       }
 737 |     },
 738 |     "node_modules/@types/retry": {
 739 |       "version": "0.12.0",
 740 |       "license": "MIT"
 741 |     },
 742 |     "node_modules/@types/scheduler": {
 743 |       "version": "0.16.3",
 744 |       "license": "MIT"
 745 |     },
 746 |     "node_modules/@types/unist": {
 747 |       "version": "2.0.6",
 748 |       "license": "MIT"
 749 |     },
 750 |     "node_modules/@typescript-eslint/parser": {
 751 |       "version": "5.58.0",
 752 |       "dev": true,
 753 |       "license": "BSD-2-Clause",
 754 |       "dependencies": {
 755 |         "@typescript-eslint/scope-manager": "5.58.0",
 756 |         "@typescript-eslint/types": "5.58.0",
 757 |         "@typescript-eslint/typescript-estree": "5.58.0",
 758 |         "debug": "^4.3.4"
 759 |       },
 760 |       "engines": {
 761 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 762 |       },
 763 |       "funding": {
 764 |         "type": "opencollective",
 765 |         "url": "https://opencollective.com/typescript-eslint"
 766 |       },
 767 |       "peerDependencies": {
 768 |         "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
 769 |       },
 770 |       "peerDependenciesMeta": {
 771 |         "typescript": {
 772 |           "optional": true
 773 |         }
 774 |       }
 775 |     },
 776 |     "node_modules/@typescript-eslint/scope-manager": {
 777 |       "version": "5.58.0",
 778 |       "dev": true,
 779 |       "license": "MIT",
 780 |       "dependencies": {
 781 |         "@typescript-eslint/types": "5.58.0",
 782 |         "@typescript-eslint/visitor-keys": "5.58.0"
 783 |       },
 784 |       "engines": {
 785 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 786 |       },
 787 |       "funding": {
 788 |         "type": "opencollective",
 789 |         "url": "https://opencollective.com/typescript-eslint"
 790 |       }
 791 |     },
 792 |     "node_modules/@typescript-eslint/types": {
 793 |       "version": "5.58.0",
 794 |       "dev": true,
 795 |       "license": "MIT",
 796 |       "engines": {
 797 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 798 |       },
 799 |       "funding": {
 800 |         "type": "opencollective",
 801 |         "url": "https://opencollective.com/typescript-eslint"
 802 |       }
 803 |     },
 804 |     "node_modules/@typescript-eslint/typescript-estree": {
 805 |       "version": "5.58.0",
 806 |       "dev": true,
 807 |       "license": "BSD-2-Clause",
 808 |       "dependencies": {
 809 |         "@typescript-eslint/types": "5.58.0",
 810 |         "@typescript-eslint/visitor-keys": "5.58.0",
 811 |         "debug": "^4.3.4",
 812 |         "globby": "^11.1.0",
 813 |         "is-glob": "^4.0.3",
 814 |         "semver": "^7.3.7",
 815 |         "tsutils": "^3.21.0"
 816 |       },
 817 |       "engines": {
 818 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 819 |       },
 820 |       "funding": {
 821 |         "type": "opencollective",
 822 |         "url": "https://opencollective.com/typescript-eslint"
 823 |       },
 824 |       "peerDependenciesMeta": {
 825 |         "typescript": {
 826 |           "optional": true
 827 |         }
 828 |       }
 829 |     },
 830 |     "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
 831 |       "version": "7.4.0",
 832 |       "dev": true,
 833 |       "license": "ISC",
 834 |       "dependencies": {
 835 |         "lru-cache": "^6.0.0"
 836 |       },
 837 |       "bin": {
 838 |         "semver": "bin/semver.js"
 839 |       },
 840 |       "engines": {
 841 |         "node": ">=10"
 842 |       }
 843 |     },
 844 |     "node_modules/@typescript-eslint/visitor-keys": {
 845 |       "version": "5.58.0",
 846 |       "dev": true,
 847 |       "license": "MIT",
 848 |       "dependencies": {
 849 |         "@typescript-eslint/types": "5.58.0",
 850 |         "eslint-visitor-keys": "^3.3.0"
 851 |       },
 852 |       "engines": {
 853 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
 854 |       },
 855 |       "funding": {
 856 |         "type": "opencollective",
 857 |         "url": "https://opencollective.com/typescript-eslint"
 858 |       }
 859 |     },
 860 |     "node_modules/acorn": {
 861 |       "version": "8.8.2",
 862 |       "dev": true,
 863 |       "license": "MIT",
 864 |       "bin": {
 865 |         "acorn": "bin/acorn"
 866 |       },
 867 |       "engines": {
 868 |         "node": ">=0.4.0"
 869 |       }
 870 |     },
 871 |     "node_modules/acorn-jsx": {
 872 |       "version": "5.3.2",
 873 |       "dev": true,
 874 |       "license": "MIT",
 875 |       "peerDependencies": {
 876 |         "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
 877 |       }
 878 |     },
 879 |     "node_modules/ajv": {
 880 |       "version": "6.12.6",
 881 |       "dev": true,
 882 |       "license": "MIT",
 883 |       "dependencies": {
 884 |         "fast-deep-equal": "^3.1.1",
 885 |         "fast-json-stable-stringify": "^2.0.0",
 886 |         "json-schema-traverse": "^0.4.1",
 887 |         "uri-js": "^4.2.2"
 888 |       },
 889 |       "funding": {
 890 |         "type": "github",
 891 |         "url": "https://github.com/sponsors/epoberezkin"
 892 |       }
 893 |     },
 894 |     "node_modules/ansi-regex": {
 895 |       "version": "5.0.1",
 896 |       "dev": true,
 897 |       "license": "MIT",
 898 |       "engines": {
 899 |         "node": ">=8"
 900 |       }
 901 |     },
 902 |     "node_modules/ansi-styles": {
 903 |       "version": "5.2.0",
 904 |       "license": "MIT",
 905 |       "engines": {
 906 |         "node": ">=10"
 907 |       },
 908 |       "funding": {
 909 |         "url": "https://github.com/chalk/ansi-styles?sponsor=1"
 910 |       }
 911 |     },
 912 |     "node_modules/any-promise": {
 913 |       "version": "1.3.0",
 914 |       "dev": true,
 915 |       "license": "MIT"
 916 |     },
 917 |     "node_modules/anymatch": {
 918 |       "version": "3.1.3",
 919 |       "dev": true,
 920 |       "license": "ISC",
 921 |       "dependencies": {
 922 |         "normalize-path": "^3.0.0",
 923 |         "picomatch": "^2.0.4"
 924 |       },
 925 |       "engines": {
 926 |         "node": ">= 8"
 927 |       }
 928 |     },
 929 |     "node_modules/arg": {
 930 |       "version": "5.0.2",
 931 |       "dev": true,
 932 |       "license": "MIT"
 933 |     },
 934 |     "node_modules/argparse": {
 935 |       "version": "2.0.1",
 936 |       "dev": true,
 937 |       "license": "Python-2.0"
 938 |     },
 939 |     "node_modules/aria-query": {
 940 |       "version": "5.1.3",
 941 |       "dev": true,
 942 |       "license": "Apache-2.0",
 943 |       "dependencies": {
 944 |         "deep-equal": "^2.0.5"
 945 |       }
 946 |     },
 947 |     "node_modules/array-buffer-byte-length": {
 948 |       "version": "1.0.0",
 949 |       "dev": true,
 950 |       "license": "MIT",
 951 |       "dependencies": {
 952 |         "call-bind": "^1.0.2",
 953 |         "is-array-buffer": "^3.0.1"
 954 |       },
 955 |       "funding": {
 956 |         "url": "https://github.com/sponsors/ljharb"
 957 |       }
 958 |     },
 959 |     "node_modules/array-includes": {
 960 |       "version": "3.1.6",
 961 |       "dev": true,
 962 |       "license": "MIT",
 963 |       "dependencies": {
 964 |         "call-bind": "^1.0.2",
 965 |         "define-properties": "^1.1.4",
 966 |         "es-abstract": "^1.20.4",
 967 |         "get-intrinsic": "^1.1.3",
 968 |         "is-string": "^1.0.7"
 969 |       },
 970 |       "engines": {
 971 |         "node": ">= 0.4"
 972 |       },
 973 |       "funding": {
 974 |         "url": "https://github.com/sponsors/ljharb"
 975 |       }
 976 |     },
 977 |     "node_modules/array-union": {
 978 |       "version": "2.1.0",
 979 |       "dev": true,
 980 |       "license": "MIT",
 981 |       "engines": {
 982 |         "node": ">=8"
 983 |       }
 984 |     },
 985 |     "node_modules/array.prototype.flat": {
 986 |       "version": "1.3.1",
 987 |       "dev": true,
 988 |       "license": "MIT",
 989 |       "dependencies": {
 990 |         "call-bind": "^1.0.2",
 991 |         "define-properties": "^1.1.4",
 992 |         "es-abstract": "^1.20.4",
 993 |         "es-shim-unscopables": "^1.0.0"
 994 |       },
 995 |       "engines": {
 996 |         "node": ">= 0.4"
 997 |       },
 998 |       "funding": {
 999 |         "url": "https://github.com/sponsors/ljharb"
1000 |       }
1001 |     },
1002 |     "node_modules/array.prototype.flatmap": {
1003 |       "version": "1.3.1",
1004 |       "dev": true,
1005 |       "license": "MIT",
1006 |       "dependencies": {
1007 |         "call-bind": "^1.0.2",
1008 |         "define-properties": "^1.1.4",
1009 |         "es-abstract": "^1.20.4",
1010 |         "es-shim-unscopables": "^1.0.0"
1011 |       },
1012 |       "engines": {
1013 |         "node": ">= 0.4"
1014 |       },
1015 |       "funding": {
1016 |         "url": "https://github.com/sponsors/ljharb"
1017 |       }
1018 |     },
1019 |     "node_modules/array.prototype.tosorted": {
1020 |       "version": "1.1.1",
1021 |       "dev": true,
1022 |       "license": "MIT",
1023 |       "dependencies": {
1024 |         "call-bind": "^1.0.2",
1025 |         "define-properties": "^1.1.4",
1026 |         "es-abstract": "^1.20.4",
1027 |         "es-shim-unscopables": "^1.0.0",
1028 |         "get-intrinsic": "^1.1.3"
1029 |       }
1030 |     },
1031 |     "node_modules/ast-types-flow": {
1032 |       "version": "0.0.7",
1033 |       "dev": true,
1034 |       "license": "ISC"
1035 |     },
1036 |     "node_modules/asynckit": {
1037 |       "version": "0.4.0",
1038 |       "license": "MIT"
1039 |     },
1040 |     "node_modules/autoprefixer": {
1041 |       "version": "10.4.14",
1042 |       "dev": true,
1043 |       "funding": [
1044 |         {
1045 |           "type": "opencollective",
1046 |           "url": "https://opencollective.com/postcss/"
1047 |         },
1048 |         {
1049 |           "type": "tidelift",
1050 |           "url": "https://tidelift.com/funding/github/npm/autoprefixer"
1051 |         }
1052 |       ],
1053 |       "license": "MIT",
1054 |       "dependencies": {
1055 |         "browserslist": "^4.21.5",
1056 |         "caniuse-lite": "^1.0.30001464",
1057 |         "fraction.js": "^4.2.0",
1058 |         "normalize-range": "^0.1.2",
1059 |         "picocolors": "^1.0.0",
1060 |         "postcss-value-parser": "^4.2.0"
1061 |       },
1062 |       "bin": {
1063 |         "autoprefixer": "bin/autoprefixer"
1064 |       },
1065 |       "engines": {
1066 |         "node": "^10 || ^12 || >=14"
1067 |       },
1068 |       "peerDependencies": {
1069 |         "postcss": "^8.1.0"
1070 |       }
1071 |     },
1072 |     "node_modules/available-typed-arrays": {
1073 |       "version": "1.0.5",
1074 |       "dev": true,
1075 |       "license": "MIT",
1076 |       "engines": {
1077 |         "node": ">= 0.4"
1078 |       },
1079 |       "funding": {
1080 |         "url": "https://github.com/sponsors/ljharb"
1081 |       }
1082 |     },
1083 |     "node_modules/axe-core": {
1084 |       "version": "4.6.3",
1085 |       "dev": true,
1086 |       "license": "MPL-2.0",
1087 |       "engines": {
1088 |         "node": ">=4"
1089 |       }
1090 |     },
1091 |     "node_modules/axios": {
1092 |       "version": "0.26.1",
1093 |       "license": "MIT",
1094 |       "dependencies": {
1095 |         "follow-redirects": "^1.14.8"
1096 |       }
1097 |     },
1098 |     "node_modules/axobject-query": {
1099 |       "version": "3.1.1",
1100 |       "dev": true,
1101 |       "license": "Apache-2.0",
1102 |       "dependencies": {
1103 |         "deep-equal": "^2.0.5"
1104 |       }
1105 |     },
1106 |     "node_modules/bail": {
1107 |       "version": "2.0.2",
1108 |       "license": "MIT",
1109 |       "funding": {
1110 |         "type": "github",
1111 |         "url": "https://github.com/sponsors/wooorm"
1112 |       }
1113 |     },
1114 |     "node_modules/balanced-match": {
1115 |       "version": "1.0.2",
1116 |       "dev": true,
1117 |       "license": "MIT"
1118 |     },
1119 |     "node_modules/base64-js": {
1120 |       "version": "1.5.1",
1121 |       "funding": [
1122 |         {
1123 |           "type": "github",
1124 |           "url": "https://github.com/sponsors/feross"
1125 |         },
1126 |         {
1127 |           "type": "patreon",
1128 |           "url": "https://www.patreon.com/feross"
1129 |         },
1130 |         {
1131 |           "type": "consulting",
1132 |           "url": "https://feross.org/support"
1133 |         }
1134 |       ],
1135 |       "license": "MIT"
1136 |     },
1137 |     "node_modules/binary-extensions": {
1138 |       "version": "2.2.0",
1139 |       "license": "MIT",
1140 |       "engines": {
1141 |         "node": ">=8"
1142 |       }
1143 |     },
1144 |     "node_modules/binary-search": {
1145 |       "version": "1.3.6",
1146 |       "license": "CC0-1.0"
1147 |     },
1148 |     "node_modules/bindings": {
1149 |       "version": "1.5.0",
1150 |       "license": "MIT",
1151 |       "dependencies": {
1152 |         "file-uri-to-path": "1.0.0"
1153 |       }
1154 |     },
1155 |     "node_modules/bl": {
1156 |       "version": "4.1.0",
1157 |       "license": "MIT",
1158 |       "dependencies": {
1159 |         "buffer": "^5.5.0",
1160 |         "inherits": "^2.0.4",
1161 |         "readable-stream": "^3.4.0"
1162 |       }
1163 |     },
1164 |     "node_modules/brace-expansion": {
1165 |       "version": "1.1.11",
1166 |       "dev": true,
1167 |       "license": "MIT",
1168 |       "dependencies": {
1169 |         "balanced-match": "^1.0.0",
1170 |         "concat-map": "0.0.1"
1171 |       }
1172 |     },
1173 |     "node_modules/braces": {
1174 |       "version": "3.0.2",
1175 |       "dev": true,
1176 |       "license": "MIT",
1177 |       "dependencies": {
1178 |         "fill-range": "^7.0.1"
1179 |       },
1180 |       "engines": {
1181 |         "node": ">=8"
1182 |       }
1183 |     },
1184 |     "node_modules/browserslist": {
1185 |       "version": "4.21.5",
1186 |       "dev": true,
1187 |       "funding": [
1188 |         {
1189 |           "type": "opencollective",
1190 |           "url": "https://opencollective.com/browserslist"
1191 |         },
1192 |         {
1193 |           "type": "tidelift",
1194 |           "url": "https://tidelift.com/funding/github/npm/browserslist"
1195 |         }
1196 |       ],
1197 |       "license": "MIT",
1198 |       "dependencies": {
1199 |         "caniuse-lite": "^1.0.30001449",
1200 |         "electron-to-chromium": "^1.4.284",
1201 |         "node-releases": "^2.0.8",
1202 |         "update-browserslist-db": "^1.0.10"
1203 |       },
1204 |       "bin": {
1205 |         "browserslist": "cli.js"
1206 |       },
1207 |       "engines": {
1208 |         "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
1209 |       }
1210 |     },
1211 |     "node_modules/buffer": {
1212 |       "version": "5.7.1",
1213 |       "funding": [
1214 |         {
1215 |           "type": "github",
1216 |           "url": "https://github.com/sponsors/feross"
1217 |         },
1218 |         {
1219 |           "type": "patreon",
1220 |           "url": "https://www.patreon.com/feross"
1221 |         },
1222 |         {
1223 |           "type": "consulting",
1224 |           "url": "https://feross.org/support"
1225 |         }
1226 |       ],
1227 |       "license": "MIT",
1228 |       "dependencies": {
1229 |         "base64-js": "^1.3.1",
1230 |         "ieee754": "^1.1.13"
1231 |       }
1232 |     },
1233 |     "node_modules/buffer-from": {
1234 |       "version": "1.1.2",
1235 |       "dev": true,
1236 |       "license": "MIT"
1237 |     },
1238 |     "node_modules/call-bind": {
1239 |       "version": "1.0.2",
1240 |       "dev": true,
1241 |       "license": "MIT",
1242 |       "dependencies": {
1243 |         "function-bind": "^1.1.1",
1244 |         "get-intrinsic": "^1.0.2"
1245 |       },
1246 |       "funding": {
1247 |         "url": "https://github.com/sponsors/ljharb"
1248 |       }
1249 |     },
1250 |     "node_modules/callsites": {
1251 |       "version": "3.1.0",
1252 |       "dev": true,
1253 |       "license": "MIT",
1254 |       "engines": {
1255 |         "node": ">=6"
1256 |       }
1257 |     },
1258 |     "node_modules/camelcase-css": {
1259 |       "version": "2.0.1",
1260 |       "dev": true,
1261 |       "license": "MIT",
1262 |       "engines": {
1263 |         "node": ">= 6"
1264 |       }
1265 |     },
1266 |     "node_modules/caniuse-lite": {
1267 |       "version": "1.0.30001478",
1268 |       "funding": [
1269 |         {
1270 |           "type": "opencollective",
1271 |           "url": "https://opencollective.com/browserslist"
1272 |         },
1273 |         {
1274 |           "type": "tidelift",
1275 |           "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
1276 |         },
1277 |         {
1278 |           "type": "github",
1279 |           "url": "https://github.com/sponsors/ai"
1280 |         }
1281 |       ],
1282 |       "license": "CC-BY-4.0"
1283 |     },
1284 |     "node_modules/chalk": {
1285 |       "version": "4.1.2",
1286 |       "dev": true,
1287 |       "license": "MIT",
1288 |       "dependencies": {
1289 |         "ansi-styles": "^4.1.0",
1290 |         "supports-color": "^7.1.0"
1291 |       },
1292 |       "engines": {
1293 |         "node": ">=10"
1294 |       },
1295 |       "funding": {
1296 |         "url": "https://github.com/chalk/chalk?sponsor=1"
1297 |       }
1298 |     },
1299 |     "node_modules/chalk/node_modules/ansi-styles": {
1300 |       "version": "4.3.0",
1301 |       "dev": true,
1302 |       "license": "MIT",
1303 |       "dependencies": {
1304 |         "color-convert": "^2.0.1"
1305 |       },
1306 |       "engines": {
1307 |         "node": ">=8"
1308 |       },
1309 |       "funding": {
1310 |         "url": "https://github.com/chalk/ansi-styles?sponsor=1"
1311 |       }
1312 |     },
1313 |     "node_modules/character-entities": {
1314 |       "version": "2.0.2",
1315 |       "license": "MIT",
1316 |       "funding": {
1317 |         "type": "github",
1318 |         "url": "https://github.com/sponsors/wooorm"
1319 |       }
1320 |     },
1321 |     "node_modules/chokidar": {
1322 |       "version": "3.5.3",
1323 |       "dev": true,
1324 |       "funding": [
1325 |         {
1326 |           "type": "individual",
1327 |           "url": "https://paulmillr.com/funding/"
1328 |         }
1329 |       ],
1330 |       "license": "MIT",
1331 |       "dependencies": {
1332 |         "anymatch": "~3.1.2",
1333 |         "braces": "~3.0.2",
1334 |         "glob-parent": "~5.1.2",
1335 |         "is-binary-path": "~2.1.0",
1336 |         "is-glob": "~4.0.1",
1337 |         "normalize-path": "~3.0.0",
1338 |         "readdirp": "~3.6.0"
1339 |       },
1340 |       "engines": {
1341 |         "node": ">= 8.10.0"
1342 |       },
1343 |       "optionalDependencies": {
1344 |         "fsevents": "~2.3.2"
1345 |       }
1346 |     },
1347 |     "node_modules/chownr": {
1348 |       "version": "1.1.4",
1349 |       "license": "ISC"
1350 |     },
1351 |     "node_modules/chromadb": {
1352 |       "version": "1.5.0",
1353 |       "license": "Apache-2.0",
1354 |       "optional": true,
1355 |       "peer": true
1356 |     },
1357 |     "node_modules/client-only": {
1358 |       "version": "0.0.1",
1359 |       "license": "MIT"
1360 |     },
1361 |     "node_modules/clsx": {
1362 |       "version": "1.2.1",
1363 |       "license": "MIT",
1364 |       "engines": {
1365 |         "node": ">=6"
1366 |       }
1367 |     },
1368 |     "node_modules/color-convert": {
1369 |       "version": "2.0.1",
1370 |       "dev": true,
1371 |       "license": "MIT",
1372 |       "dependencies": {
1373 |         "color-name": "~1.1.4"
1374 |       },
1375 |       "engines": {
1376 |         "node": ">=7.0.0"
1377 |       }
1378 |     },
1379 |     "node_modules/color-name": {
1380 |       "version": "1.1.4",
1381 |       "dev": true,
1382 |       "license": "MIT"
1383 |     },
1384 |     "node_modules/combined-stream": {
1385 |       "version": "1.0.8",
1386 |       "license": "MIT",
1387 |       "dependencies": {
1388 |         "delayed-stream": "~1.0.0"
1389 |       },
1390 |       "engines": {
1391 |         "node": ">= 0.8"
1392 |       }
1393 |     },
1394 |     "node_modules/comma-separated-tokens": {
1395 |       "version": "2.0.3",
1396 |       "license": "MIT",
1397 |       "funding": {
1398 |         "type": "github",
1399 |         "url": "https://github.com/sponsors/wooorm"
1400 |       }
1401 |     },
1402 |     "node_modules/commander": {
1403 |       "version": "2.20.3",
1404 |       "license": "MIT"
1405 |     },
1406 |     "node_modules/concat-map": {
1407 |       "version": "0.0.1",
1408 |       "dev": true,
1409 |       "license": "MIT"
1410 |     },
1411 |     "node_modules/cross-fetch": {
1412 |       "version": "3.1.5",
1413 |       "license": "MIT",
1414 |       "dependencies": {
1415 |         "node-fetch": "2.6.7"
1416 |       }
1417 |     },
1418 |     "node_modules/cross-spawn": {
1419 |       "version": "7.0.3",
1420 |       "dev": true,
1421 |       "license": "MIT",
1422 |       "dependencies": {
1423 |         "path-key": "^3.1.0",
1424 |         "shebang-command": "^2.0.0",
1425 |         "which": "^2.0.1"
1426 |       },
1427 |       "engines": {
1428 |         "node": ">= 8"
1429 |       }
1430 |     },
1431 |     "node_modules/cssesc": {
1432 |       "version": "3.0.0",
1433 |       "dev": true,
1434 |       "license": "MIT",
1435 |       "bin": {
1436 |         "cssesc": "bin/cssesc"
1437 |       },
1438 |       "engines": {
1439 |         "node": ">=4"
1440 |       }
1441 |     },
1442 |     "node_modules/csstype": {
1443 |       "version": "3.1.2",
1444 |       "license": "MIT"
1445 |     },
1446 |     "node_modules/d3-dsv": {
1447 |       "version": "2.0.0",
1448 |       "license": "BSD-3-Clause",
1449 |       "dependencies": {
1450 |         "commander": "2",
1451 |         "iconv-lite": "0.4",
1452 |         "rw": "1"
1453 |       },
1454 |       "bin": {
1455 |         "csv2json": "bin/dsv2json",
1456 |         "csv2tsv": "bin/dsv2dsv",
1457 |         "dsv2dsv": "bin/dsv2dsv",
1458 |         "dsv2json": "bin/dsv2json",
1459 |         "json2csv": "bin/json2dsv",
1460 |         "json2dsv": "bin/json2dsv",
1461 |         "json2tsv": "bin/json2dsv",
1462 |         "tsv2csv": "bin/dsv2dsv",
1463 |         "tsv2json": "bin/dsv2json"
1464 |       }
1465 |     },
1466 |     "node_modules/damerau-levenshtein": {
1467 |       "version": "1.0.8",
1468 |       "dev": true,
1469 |       "license": "BSD-2-Clause"
1470 |     },
1471 |     "node_modules/debug": {
1472 |       "version": "4.3.4",
1473 |       "license": "MIT",
1474 |       "dependencies": {
1475 |         "ms": "2.1.2"
1476 |       },
1477 |       "engines": {
1478 |         "node": ">=6.0"
1479 |       },
1480 |       "peerDependenciesMeta": {
1481 |         "supports-color": {
1482 |           "optional": true
1483 |         }
1484 |       }
1485 |     },
1486 |     "node_modules/decode-named-character-reference": {
1487 |       "version": "1.0.2",
1488 |       "license": "MIT",
1489 |       "dependencies": {
1490 |         "character-entities": "^2.0.0"
1491 |       },
1492 |       "funding": {
1493 |         "type": "github",
1494 |         "url": "https://github.com/sponsors/wooorm"
1495 |       }
1496 |     },
1497 |     "node_modules/decompress-response": {
1498 |       "version": "6.0.0",
1499 |       "license": "MIT",
1500 |       "dependencies": {
1501 |         "mimic-response": "^3.1.0"
1502 |       },
1503 |       "engines": {
1504 |         "node": ">=10"
1505 |       },
1506 |       "funding": {
1507 |         "url": "https://github.com/sponsors/sindresorhus"
1508 |       }
1509 |     },
1510 |     "node_modules/deep-equal": {
1511 |       "version": "2.2.0",
1512 |       "dev": true,
1513 |       "license": "MIT",
1514 |       "dependencies": {
1515 |         "call-bind": "^1.0.2",
1516 |         "es-get-iterator": "^1.1.2",
1517 |         "get-intrinsic": "^1.1.3",
1518 |         "is-arguments": "^1.1.1",
1519 |         "is-array-buffer": "^3.0.1",
1520 |         "is-date-object": "^1.0.5",
1521 |         "is-regex": "^1.1.4",
1522 |         "is-shared-array-buffer": "^1.0.2",
1523 |         "isarray": "^2.0.5",
1524 |         "object-is": "^1.1.5",
1525 |         "object-keys": "^1.1.1",
1526 |         "object.assign": "^4.1.4",
1527 |         "regexp.prototype.flags": "^1.4.3",
1528 |         "side-channel": "^1.0.4",
1529 |         "which-boxed-primitive": "^1.0.2",
1530 |         "which-collection": "^1.0.1",
1531 |         "which-typed-array": "^1.1.9"
1532 |       },
1533 |       "funding": {
1534 |         "url": "https://github.com/sponsors/ljharb"
1535 |       }
1536 |     },
1537 |     "node_modules/deep-extend": {
1538 |       "version": "0.6.0",
1539 |       "license": "MIT",
1540 |       "engines": {
1541 |         "node": ">=4.0.0"
1542 |       }
1543 |     },
1544 |     "node_modules/deep-is": {
1545 |       "version": "0.1.4",
1546 |       "dev": true,
1547 |       "license": "MIT"
1548 |     },
1549 |     "node_modules/define-lazy-prop": {
1550 |       "version": "2.0.0",
1551 |       "dev": true,
1552 |       "license": "MIT",
1553 |       "engines": {
1554 |         "node": ">=8"
1555 |       }
1556 |     },
1557 |     "node_modules/define-properties": {
1558 |       "version": "1.2.0",
1559 |       "dev": true,
1560 |       "license": "MIT",
1561 |       "dependencies": {
1562 |         "has-property-descriptors": "^1.0.0",
1563 |         "object-keys": "^1.1.1"
1564 |       },
1565 |       "engines": {
1566 |         "node": ">= 0.4"
1567 |       },
1568 |       "funding": {
1569 |         "url": "https://github.com/sponsors/ljharb"
1570 |       }
1571 |     },
1572 |     "node_modules/delayed-stream": {
1573 |       "version": "1.0.0",
1574 |       "license": "MIT",
1575 |       "engines": {
1576 |         "node": ">=0.4.0"
1577 |       }
1578 |     },
1579 |     "node_modules/dequal": {
1580 |       "version": "2.0.3",
1581 |       "license": "MIT",
1582 |       "engines": {
1583 |         "node": ">=6"
1584 |       }
1585 |     },
1586 |     "node_modules/detect-libc": {
1587 |       "version": "2.0.1",
1588 |       "license": "Apache-2.0",
1589 |       "engines": {
1590 |         "node": ">=8"
1591 |       }
1592 |     },
1593 |     "node_modules/didyoumean": {
1594 |       "version": "1.2.2",
1595 |       "dev": true,
1596 |       "license": "Apache-2.0"
1597 |     },
1598 |     "node_modules/diff": {
1599 |       "version": "5.1.0",
1600 |       "license": "BSD-3-Clause",
1601 |       "engines": {
1602 |         "node": ">=0.3.1"
1603 |       }
1604 |     },
1605 |     "node_modules/dir-glob": {
1606 |       "version": "3.0.1",
1607 |       "dev": true,
1608 |       "license": "MIT",
1609 |       "dependencies": {
1610 |         "path-type": "^4.0.0"
1611 |       },
1612 |       "engines": {
1613 |         "node": ">=8"
1614 |       }
1615 |     },
1616 |     "node_modules/dlv": {
1617 |       "version": "1.1.3",
1618 |       "dev": true,
1619 |       "license": "MIT"
1620 |     },
1621 |     "node_modules/doctrine": {
1622 |       "version": "2.1.0",
1623 |       "dev": true,
1624 |       "license": "Apache-2.0",
1625 |       "dependencies": {
1626 |         "esutils": "^2.0.2"
1627 |       },
1628 |       "engines": {
1629 |         "node": ">=0.10.0"
1630 |       }
1631 |     },
1632 |     "node_modules/dotenv": {
1633 |       "version": "16.0.3",
1634 |       "license": "BSD-2-Clause",
1635 |       "engines": {
1636 |         "node": ">=12"
1637 |       }
1638 |     },
1639 |     "node_modules/electron-to-chromium": {
1640 |       "version": "1.4.361",
1641 |       "dev": true,
1642 |       "license": "ISC"
1643 |     },
1644 |     "node_modules/emoji-regex": {
1645 |       "version": "9.2.2",
1646 |       "dev": true,
1647 |       "license": "MIT"
1648 |     },
1649 |     "node_modules/end-of-stream": {
1650 |       "version": "1.4.4",
1651 |       "license": "MIT",
1652 |       "dependencies": {
1653 |         "once": "^1.4.0"
1654 |       }
1655 |     },
1656 |     "node_modules/enhanced-resolve": {
1657 |       "version": "5.12.0",
1658 |       "dev": true,
1659 |       "license": "MIT",
1660 |       "dependencies": {
1661 |         "graceful-fs": "^4.2.4",
1662 |         "tapable": "^2.2.0"
1663 |       },
1664 |       "engines": {
1665 |         "node": ">=10.13.0"
1666 |       }
1667 |     },
1668 |     "node_modules/es-abstract": {
1669 |       "version": "1.21.2",
1670 |       "dev": true,
1671 |       "license": "MIT",
1672 |       "dependencies": {
1673 |         "array-buffer-byte-length": "^1.0.0",
1674 |         "available-typed-arrays": "^1.0.5",
1675 |         "call-bind": "^1.0.2",
1676 |         "es-set-tostringtag": "^2.0.1",
1677 |         "es-to-primitive": "^1.2.1",
1678 |         "function.prototype.name": "^1.1.5",
1679 |         "get-intrinsic": "^1.2.0",
1680 |         "get-symbol-description": "^1.0.0",
1681 |         "globalthis": "^1.0.3",
1682 |         "gopd": "^1.0.1",
1683 |         "has": "^1.0.3",
1684 |         "has-property-descriptors": "^1.0.0",
1685 |         "has-proto": "^1.0.1",
1686 |         "has-symbols": "^1.0.3",
1687 |         "internal-slot": "^1.0.5",
1688 |         "is-array-buffer": "^3.0.2",
1689 |         "is-callable": "^1.2.7",
1690 |         "is-negative-zero": "^2.0.2",
1691 |         "is-regex": "^1.1.4",
1692 |         "is-shared-array-buffer": "^1.0.2",
1693 |         "is-string": "^1.0.7",
1694 |         "is-typed-array": "^1.1.10",
1695 |         "is-weakref": "^1.0.2",
1696 |         "object-inspect": "^1.12.3",
1697 |         "object-keys": "^1.1.1",
1698 |         "object.assign": "^4.1.4",
1699 |         "regexp.prototype.flags": "^1.4.3",
1700 |         "safe-regex-test": "^1.0.0",
1701 |         "string.prototype.trim": "^1.2.7",
1702 |         "string.prototype.trimend": "^1.0.6",
1703 |         "string.prototype.trimstart": "^1.0.6",
1704 |         "typed-array-length": "^1.0.4",
1705 |         "unbox-primitive": "^1.0.2",
1706 |         "which-typed-array": "^1.1.9"
1707 |       },
1708 |       "engines": {
1709 |         "node": ">= 0.4"
1710 |       },
1711 |       "funding": {
1712 |         "url": "https://github.com/sponsors/ljharb"
1713 |       }
1714 |     },
1715 |     "node_modules/es-get-iterator": {
1716 |       "version": "1.1.3",
1717 |       "dev": true,
1718 |       "license": "MIT",
1719 |       "dependencies": {
1720 |         "call-bind": "^1.0.2",
1721 |         "get-intrinsic": "^1.1.3",
1722 |         "has-symbols": "^1.0.3",
1723 |         "is-arguments": "^1.1.1",
1724 |         "is-map": "^2.0.2",
1725 |         "is-set": "^2.0.2",
1726 |         "is-string": "^1.0.7",
1727 |         "isarray": "^2.0.5",
1728 |         "stop-iteration-iterator": "^1.0.0"
1729 |       },
1730 |       "funding": {
1731 |         "url": "https://github.com/sponsors/ljharb"
1732 |       }
1733 |     },
1734 |     "node_modules/es-set-tostringtag": {
1735 |       "version": "2.0.1",
1736 |       "dev": true,
1737 |       "license": "MIT",
1738 |       "dependencies": {
1739 |         "get-intrinsic": "^1.1.3",
1740 |         "has": "^1.0.3",
1741 |         "has-tostringtag": "^1.0.0"
1742 |       },
1743 |       "engines": {
1744 |         "node": ">= 0.4"
1745 |       }
1746 |     },
1747 |     "node_modules/es-shim-unscopables": {
1748 |       "version": "1.0.0",
1749 |       "dev": true,
1750 |       "license": "MIT",
1751 |       "dependencies": {
1752 |         "has": "^1.0.3"
1753 |       }
1754 |     },
1755 |     "node_modules/es-to-primitive": {
1756 |       "version": "1.2.1",
1757 |       "dev": true,
1758 |       "license": "MIT",
1759 |       "dependencies": {
1760 |         "is-callable": "^1.1.4",
1761 |         "is-date-object": "^1.0.1",
1762 |         "is-symbol": "^1.0.2"
1763 |       },
1764 |       "engines": {
1765 |         "node": ">= 0.4"
1766 |       },
1767 |       "funding": {
1768 |         "url": "https://github.com/sponsors/ljharb"
1769 |       }
1770 |     },
1771 |     "node_modules/esbuild": {
1772 |       "version": "0.17.16",
1773 |       "dev": true,
1774 |       "hasInstallScript": true,
1775 |       "license": "MIT",
1776 |       "bin": {
1777 |         "esbuild": "bin/esbuild"
1778 |       },
1779 |       "engines": {
1780 |         "node": ">=12"
1781 |       },
1782 |       "optionalDependencies": {
1783 |         "@esbuild/android-arm": "0.17.16",
1784 |         "@esbuild/android-arm64": "0.17.16",
1785 |         "@esbuild/android-x64": "0.17.16",
1786 |         "@esbuild/darwin-arm64": "0.17.16",
1787 |         "@esbuild/darwin-x64": "0.17.16",
1788 |         "@esbuild/freebsd-arm64": "0.17.16",
1789 |         "@esbuild/freebsd-x64": "0.17.16",
1790 |         "@esbuild/linux-arm": "0.17.16",
1791 |         "@esbuild/linux-arm64": "0.17.16",
1792 |         "@esbuild/linux-ia32": "0.17.16",
1793 |         "@esbuild/linux-loong64": "0.17.16",
1794 |         "@esbuild/linux-mips64el": "0.17.16",
1795 |         "@esbuild/linux-ppc64": "0.17.16",
1796 |         "@esbuild/linux-riscv64": "0.17.16",
1797 |         "@esbuild/linux-s390x": "0.17.16",
1798 |         "@esbuild/linux-x64": "0.17.16",
1799 |         "@esbuild/netbsd-x64": "0.17.16",
1800 |         "@esbuild/openbsd-x64": "0.17.16",
1801 |         "@esbuild/sunos-x64": "0.17.16",
1802 |         "@esbuild/win32-arm64": "0.17.16",
1803 |         "@esbuild/win32-ia32": "0.17.16",
1804 |         "@esbuild/win32-x64": "0.17.16"
1805 |       }
1806 |     },
1807 |     "node_modules/escalade": {
1808 |       "version": "3.1.1",
1809 |       "dev": true,
1810 |       "license": "MIT",
1811 |       "engines": {
1812 |         "node": ">=6"
1813 |       }
1814 |     },
1815 |     "node_modules/escape-string-regexp": {
1816 |       "version": "4.0.0",
1817 |       "dev": true,
1818 |       "license": "MIT",
1819 |       "engines": {
1820 |         "node": ">=10"
1821 |       },
1822 |       "funding": {
1823 |         "url": "https://github.com/sponsors/sindresorhus"
1824 |       }
1825 |     },
1826 |     "node_modules/eslint": {
1827 |       "version": "8.35.0",
1828 |       "dev": true,
1829 |       "license": "MIT",
1830 |       "dependencies": {
1831 |         "@eslint/eslintrc": "^2.0.0",
1832 |         "@eslint/js": "8.35.0",
1833 |         "@humanwhocodes/config-array": "^0.11.8",
1834 |         "@humanwhocodes/module-importer": "^1.0.1",
1835 |         "@nodelib/fs.walk": "^1.2.8",
1836 |         "ajv": "^6.10.0",
1837 |         "chalk": "^4.0.0",
1838 |         "cross-spawn": "^7.0.2",
1839 |         "debug": "^4.3.2",
1840 |         "doctrine": "^3.0.0",
1841 |         "escape-string-regexp": "^4.0.0",
1842 |         "eslint-scope": "^7.1.1",
1843 |         "eslint-utils": "^3.0.0",
1844 |         "eslint-visitor-keys": "^3.3.0",
1845 |         "espree": "^9.4.0",
1846 |         "esquery": "^1.4.2",
1847 |         "esutils": "^2.0.2",
1848 |         "fast-deep-equal": "^3.1.3",
1849 |         "file-entry-cache": "^6.0.1",
1850 |         "find-up": "^5.0.0",
1851 |         "glob-parent": "^6.0.2",
1852 |         "globals": "^13.19.0",
1853 |         "grapheme-splitter": "^1.0.4",
1854 |         "ignore": "^5.2.0",
1855 |         "import-fresh": "^3.0.0",
1856 |         "imurmurhash": "^0.1.4",
1857 |         "is-glob": "^4.0.0",
1858 |         "is-path-inside": "^3.0.3",
1859 |         "js-sdsl": "^4.1.4",
1860 |         "js-yaml": "^4.1.0",
1861 |         "json-stable-stringify-without-jsonify": "^1.0.1",
1862 |         "levn": "^0.4.1",
1863 |         "lodash.merge": "^4.6.2",
1864 |         "minimatch": "^3.1.2",
1865 |         "natural-compare": "^1.4.0",
1866 |         "optionator": "^0.9.1",
1867 |         "regexpp": "^3.2.0",
1868 |         "strip-ansi": "^6.0.1",
1869 |         "strip-json-comments": "^3.1.0",
1870 |         "text-table": "^0.2.0"
1871 |       },
1872 |       "bin": {
1873 |         "eslint": "bin/eslint.js"
1874 |       },
1875 |       "engines": {
1876 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1877 |       },
1878 |       "funding": {
1879 |         "url": "https://opencollective.com/eslint"
1880 |       }
1881 |     },
1882 |     "node_modules/eslint-config-next": {
1883 |       "version": "13.2.3",
1884 |       "dev": true,
1885 |       "license": "MIT",
1886 |       "dependencies": {
1887 |         "@next/eslint-plugin-next": "13.2.3",
1888 |         "@rushstack/eslint-patch": "^1.1.3",
1889 |         "@typescript-eslint/parser": "^5.42.0",
1890 |         "eslint-import-resolver-node": "^0.3.6",
1891 |         "eslint-import-resolver-typescript": "^3.5.2",
1892 |         "eslint-plugin-import": "^2.26.0",
1893 |         "eslint-plugin-jsx-a11y": "^6.5.1",
1894 |         "eslint-plugin-react": "^7.31.7",
1895 |         "eslint-plugin-react-hooks": "^4.5.0"
1896 |       },
1897 |       "peerDependencies": {
1898 |         "eslint": "^7.23.0 || ^8.0.0",
1899 |         "typescript": ">=3.3.1"
1900 |       },
1901 |       "peerDependenciesMeta": {
1902 |         "typescript": {
1903 |           "optional": true
1904 |         }
1905 |       }
1906 |     },
1907 |     "node_modules/eslint-import-resolver-node": {
1908 |       "version": "0.3.7",
1909 |       "dev": true,
1910 |       "license": "MIT",
1911 |       "dependencies": {
1912 |         "debug": "^3.2.7",
1913 |         "is-core-module": "^2.11.0",
1914 |         "resolve": "^1.22.1"
1915 |       }
1916 |     },
1917 |     "node_modules/eslint-import-resolver-node/node_modules/debug": {
1918 |       "version": "3.2.7",
1919 |       "dev": true,
1920 |       "license": "MIT",
1921 |       "dependencies": {
1922 |         "ms": "^2.1.1"
1923 |       }
1924 |     },
1925 |     "node_modules/eslint-import-resolver-node/node_modules/ms": {
1926 |       "version": "2.1.3",
1927 |       "dev": true,
1928 |       "license": "MIT"
1929 |     },
1930 |     "node_modules/eslint-import-resolver-typescript": {
1931 |       "version": "3.5.5",
1932 |       "dev": true,
1933 |       "license": "ISC",
1934 |       "dependencies": {
1935 |         "debug": "^4.3.4",
1936 |         "enhanced-resolve": "^5.12.0",
1937 |         "eslint-module-utils": "^2.7.4",
1938 |         "get-tsconfig": "^4.5.0",
1939 |         "globby": "^13.1.3",
1940 |         "is-core-module": "^2.11.0",
1941 |         "is-glob": "^4.0.3",
1942 |         "synckit": "^0.8.5"
1943 |       },
1944 |       "engines": {
1945 |         "node": "^14.18.0 || >=16.0.0"
1946 |       },
1947 |       "funding": {
1948 |         "url": "https://opencollective.com/unts/projects/eslint-import-resolver-ts"
1949 |       },
1950 |       "peerDependencies": {
1951 |         "eslint": "*",
1952 |         "eslint-plugin-import": "*"
1953 |       }
1954 |     },
1955 |     "node_modules/eslint-import-resolver-typescript/node_modules/globby": {
1956 |       "version": "13.1.4",
1957 |       "dev": true,
1958 |       "license": "MIT",
1959 |       "dependencies": {
1960 |         "dir-glob": "^3.0.1",
1961 |         "fast-glob": "^3.2.11",
1962 |         "ignore": "^5.2.0",
1963 |         "merge2": "^1.4.1",
1964 |         "slash": "^4.0.0"
1965 |       },
1966 |       "engines": {
1967 |         "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
1968 |       },
1969 |       "funding": {
1970 |         "url": "https://github.com/sponsors/sindresorhus"
1971 |       }
1972 |     },
1973 |     "node_modules/eslint-import-resolver-typescript/node_modules/slash": {
1974 |       "version": "4.0.0",
1975 |       "dev": true,
1976 |       "license": "MIT",
1977 |       "engines": {
1978 |         "node": ">=12"
1979 |       },
1980 |       "funding": {
1981 |         "url": "https://github.com/sponsors/sindresorhus"
1982 |       }
1983 |     },
1984 |     "node_modules/eslint-module-utils": {
1985 |       "version": "2.7.4",
1986 |       "dev": true,
1987 |       "license": "MIT",
1988 |       "dependencies": {
1989 |         "debug": "^3.2.7"
1990 |       },
1991 |       "engines": {
1992 |         "node": ">=4"
1993 |       },
1994 |       "peerDependenciesMeta": {
1995 |         "eslint": {
1996 |           "optional": true
1997 |         }
1998 |       }
1999 |     },
2000 |     "node_modules/eslint-module-utils/node_modules/debug": {
2001 |       "version": "3.2.7",
2002 |       "dev": true,
2003 |       "license": "MIT",
2004 |       "dependencies": {
2005 |         "ms": "^2.1.1"
2006 |       }
2007 |     },
2008 |     "node_modules/eslint-module-utils/node_modules/ms": {
2009 |       "version": "2.1.3",
2010 |       "dev": true,
2011 |       "license": "MIT"
2012 |     },
2013 |     "node_modules/eslint-plugin-import": {
2014 |       "version": "2.27.5",
2015 |       "dev": true,
2016 |       "license": "MIT",
2017 |       "dependencies": {
2018 |         "array-includes": "^3.1.6",
2019 |         "array.prototype.flat": "^1.3.1",
2020 |         "array.prototype.flatmap": "^1.3.1",
2021 |         "debug": "^3.2.7",
2022 |         "doctrine": "^2.1.0",
2023 |         "eslint-import-resolver-node": "^0.3.7",
2024 |         "eslint-module-utils": "^2.7.4",
2025 |         "has": "^1.0.3",
2026 |         "is-core-module": "^2.11.0",
2027 |         "is-glob": "^4.0.3",
2028 |         "minimatch": "^3.1.2",
2029 |         "object.values": "^1.1.6",
2030 |         "resolve": "^1.22.1",
2031 |         "semver": "^6.3.0",
2032 |         "tsconfig-paths": "^3.14.1"
2033 |       },
2034 |       "engines": {
2035 |         "node": ">=4"
2036 |       },
2037 |       "peerDependencies": {
2038 |         "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8"
2039 |       }
2040 |     },
2041 |     "node_modules/eslint-plugin-import/node_modules/debug": {
2042 |       "version": "3.2.7",
2043 |       "dev": true,
2044 |       "license": "MIT",
2045 |       "dependencies": {
2046 |         "ms": "^2.1.1"
2047 |       }
2048 |     },
2049 |     "node_modules/eslint-plugin-import/node_modules/ms": {
2050 |       "version": "2.1.3",
2051 |       "dev": true,
2052 |       "license": "MIT"
2053 |     },
2054 |     "node_modules/eslint-plugin-jsx-a11y": {
2055 |       "version": "6.7.1",
2056 |       "dev": true,
2057 |       "license": "MIT",
2058 |       "dependencies": {
2059 |         "@babel/runtime": "^7.20.7",
2060 |         "aria-query": "^5.1.3",
2061 |         "array-includes": "^3.1.6",
2062 |         "array.prototype.flatmap": "^1.3.1",
2063 |         "ast-types-flow": "^0.0.7",
2064 |         "axe-core": "^4.6.2",
2065 |         "axobject-query": "^3.1.1",
2066 |         "damerau-levenshtein": "^1.0.8",
2067 |         "emoji-regex": "^9.2.2",
2068 |         "has": "^1.0.3",
2069 |         "jsx-ast-utils": "^3.3.3",
2070 |         "language-tags": "=1.0.5",
2071 |         "minimatch": "^3.1.2",
2072 |         "object.entries": "^1.1.6",
2073 |         "object.fromentries": "^2.0.6",
2074 |         "semver": "^6.3.0"
2075 |       },
2076 |       "engines": {
2077 |         "node": ">=4.0"
2078 |       },
2079 |       "peerDependencies": {
2080 |         "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
2081 |       }
2082 |     },
2083 |     "node_modules/eslint-plugin-react": {
2084 |       "version": "7.32.2",
2085 |       "dev": true,
2086 |       "license": "MIT",
2087 |       "dependencies": {
2088 |         "array-includes": "^3.1.6",
2089 |         "array.prototype.flatmap": "^1.3.1",
2090 |         "array.prototype.tosorted": "^1.1.1",
2091 |         "doctrine": "^2.1.0",
2092 |         "estraverse": "^5.3.0",
2093 |         "jsx-ast-utils": "^2.4.1 || ^3.0.0",
2094 |         "minimatch": "^3.1.2",
2095 |         "object.entries": "^1.1.6",
2096 |         "object.fromentries": "^2.0.6",
2097 |         "object.hasown": "^1.1.2",
2098 |         "object.values": "^1.1.6",
2099 |         "prop-types": "^15.8.1",
2100 |         "resolve": "^2.0.0-next.4",
2101 |         "semver": "^6.3.0",
2102 |         "string.prototype.matchall": "^4.0.8"
2103 |       },
2104 |       "engines": {
2105 |         "node": ">=4"
2106 |       },
2107 |       "peerDependencies": {
2108 |         "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
2109 |       }
2110 |     },
2111 |     "node_modules/eslint-plugin-react-hooks": {
2112 |       "version": "4.6.0",
2113 |       "dev": true,
2114 |       "license": "MIT",
2115 |       "engines": {
2116 |         "node": ">=10"
2117 |       },
2118 |       "peerDependencies": {
2119 |         "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0"
2120 |       }
2121 |     },
2122 |     "node_modules/eslint-plugin-react/node_modules/resolve": {
2123 |       "version": "2.0.0-next.4",
2124 |       "dev": true,
2125 |       "license": "MIT",
2126 |       "dependencies": {
2127 |         "is-core-module": "^2.9.0",
2128 |         "path-parse": "^1.0.7",
2129 |         "supports-preserve-symlinks-flag": "^1.0.0"
2130 |       },
2131 |       "bin": {
2132 |         "resolve": "bin/resolve"
2133 |       },
2134 |       "funding": {
2135 |         "url": "https://github.com/sponsors/ljharb"
2136 |       }
2137 |     },
2138 |     "node_modules/eslint-scope": {
2139 |       "version": "7.1.1",
2140 |       "dev": true,
2141 |       "license": "BSD-2-Clause",
2142 |       "dependencies": {
2143 |         "esrecurse": "^4.3.0",
2144 |         "estraverse": "^5.2.0"
2145 |       },
2146 |       "engines": {
2147 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
2148 |       }
2149 |     },
2150 |     "node_modules/eslint-utils": {
2151 |       "version": "3.0.0",
2152 |       "dev": true,
2153 |       "license": "MIT",
2154 |       "dependencies": {
2155 |         "eslint-visitor-keys": "^2.0.0"
2156 |       },
2157 |       "engines": {
2158 |         "node": "^10.0.0 || ^12.0.0 || >= 14.0.0"
2159 |       },
2160 |       "funding": {
2161 |         "url": "https://github.com/sponsors/mysticatea"
2162 |       },
2163 |       "peerDependencies": {
2164 |         "eslint": ">=5"
2165 |       }
2166 |     },
2167 |     "node_modules/eslint-utils/node_modules/eslint-visitor-keys": {
2168 |       "version": "2.1.0",
2169 |       "dev": true,
2170 |       "license": "Apache-2.0",
2171 |       "engines": {
2172 |         "node": ">=10"
2173 |       }
2174 |     },
2175 |     "node_modules/eslint-visitor-keys": {
2176 |       "version": "3.4.0",
2177 |       "dev": true,
2178 |       "license": "Apache-2.0",
2179 |       "engines": {
2180 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
2181 |       },
2182 |       "funding": {
2183 |         "url": "https://opencollective.com/eslint"
2184 |       }
2185 |     },
2186 |     "node_modules/eslint/node_modules/doctrine": {
2187 |       "version": "3.0.0",
2188 |       "dev": true,
2189 |       "license": "Apache-2.0",
2190 |       "dependencies": {
2191 |         "esutils": "^2.0.2"
2192 |       },
2193 |       "engines": {
2194 |         "node": ">=6.0.0"
2195 |       }
2196 |     },
2197 |     "node_modules/eslint/node_modules/glob-parent": {
2198 |       "version": "6.0.2",
2199 |       "dev": true,
2200 |       "license": "ISC",
2201 |       "dependencies": {
2202 |         "is-glob": "^4.0.3"
2203 |       },
2204 |       "engines": {
2205 |         "node": ">=10.13.0"
2206 |       }
2207 |     },
2208 |     "node_modules/espree": {
2209 |       "version": "9.5.1",
2210 |       "dev": true,
2211 |       "license": "BSD-2-Clause",
2212 |       "dependencies": {
2213 |         "acorn": "^8.8.0",
2214 |         "acorn-jsx": "^5.3.2",
2215 |         "eslint-visitor-keys": "^3.4.0"
2216 |       },
2217 |       "engines": {
2218 |         "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
2219 |       },
2220 |       "funding": {
2221 |         "url": "https://opencollective.com/eslint"
2222 |       }
2223 |     },
2224 |     "node_modules/esquery": {
2225 |       "version": "1.5.0",
2226 |       "dev": true,
2227 |       "license": "BSD-3-Clause",
2228 |       "dependencies": {
2229 |         "estraverse": "^5.1.0"
2230 |       },
2231 |       "engines": {
2232 |         "node": ">=0.10"
2233 |       }
2234 |     },
2235 |     "node_modules/esrecurse": {
2236 |       "version": "4.3.0",
2237 |       "dev": true,
2238 |       "license": "BSD-2-Clause",
2239 |       "dependencies": {
2240 |         "estraverse": "^5.2.0"
2241 |       },
2242 |       "engines": {
2243 |         "node": ">=4.0"
2244 |       }
2245 |     },
2246 |     "node_modules/estraverse": {
2247 |       "version": "5.3.0",
2248 |       "dev": true,
2249 |       "license": "BSD-2-Clause",
2250 |       "engines": {
2251 |         "node": ">=4.0"
2252 |       }
2253 |     },
2254 |     "node_modules/esutils": {
2255 |       "version": "2.0.3",
2256 |       "dev": true,
2257 |       "license": "BSD-2-Clause",
2258 |       "engines": {
2259 |         "node": ">=0.10.0"
2260 |       }
2261 |     },
2262 |     "node_modules/eventemitter3": {
2263 |       "version": "4.0.7",
2264 |       "license": "MIT"
2265 |     },
2266 |     "node_modules/expand-template": {
2267 |       "version": "2.0.3",
2268 |       "license": "(MIT OR WTFPL)",
2269 |       "engines": {
2270 |         "node": ">=6"
2271 |       }
2272 |     },
2273 |     "node_modules/expr-eval": {
2274 |       "version": "2.0.2",
2275 |       "license": "MIT"
2276 |     },
2277 |     "node_modules/extend": {
2278 |       "version": "3.0.2",
2279 |       "license": "MIT"
2280 |     },
2281 |     "node_modules/faiss-node": {
2282 |       "version": "0.2.0",
2283 |       "hasInstallScript": true,
2284 |       "license": "MIT",
2285 |       "dependencies": {
2286 |         "bindings": "^1.5.0",
2287 |         "node-addon-api": "^6.0.0",
2288 |         "prebuild-install": "^7.1.1"
2289 |       },
2290 |       "engines": {
2291 |         "node": ">= 14.0.0"
2292 |       }
2293 |     },
2294 |     "node_modules/fast-deep-equal": {
2295 |       "version": "3.1.3",
2296 |       "dev": true,
2297 |       "license": "MIT"
2298 |     },
2299 |     "node_modules/fast-glob": {
2300 |       "version": "3.2.12",
2301 |       "dev": true,
2302 |       "license": "MIT",
2303 |       "dependencies": {
2304 |         "@nodelib/fs.stat": "^2.0.2",
2305 |         "@nodelib/fs.walk": "^1.2.3",
2306 |         "glob-parent": "^5.1.2",
2307 |         "merge2": "^1.3.0",
2308 |         "micromatch": "^4.0.4"
2309 |       },
2310 |       "engines": {
2311 |         "node": ">=8.6.0"
2312 |       }
2313 |     },
2314 |     "node_modules/fast-json-stable-stringify": {
2315 |       "version": "2.1.0",
2316 |       "dev": true,
2317 |       "license": "MIT"
2318 |     },
2319 |     "node_modules/fast-levenshtein": {
2320 |       "version": "2.0.6",
2321 |       "dev": true,
2322 |       "license": "MIT"
2323 |     },
2324 |     "node_modules/fastq": {
2325 |       "version": "1.15.0",
2326 |       "dev": true,
2327 |       "license": "ISC",
2328 |       "dependencies": {
2329 |         "reusify": "^1.0.4"
2330 |       }
2331 |     },
2332 |     "node_modules/file-entry-cache": {
2333 |       "version": "6.0.1",
2334 |       "dev": true,
2335 |       "license": "MIT",
2336 |       "dependencies": {
2337 |         "flat-cache": "^3.0.4"
2338 |       },
2339 |       "engines": {
2340 |         "node": "^10.12.0 || >=12.0.0"
2341 |       }
2342 |     },
2343 |     "node_modules/file-uri-to-path": {
2344 |       "version": "1.0.0",
2345 |       "license": "MIT"
2346 |     },
2347 |     "node_modules/fill-range": {
2348 |       "version": "7.0.1",
2349 |       "dev": true,
2350 |       "license": "MIT",
2351 |       "dependencies": {
2352 |         "to-regex-range": "^5.0.1"
2353 |       },
2354 |       "engines": {
2355 |         "node": ">=8"
2356 |       }
2357 |     },
2358 |     "node_modules/find-up": {
2359 |       "version": "5.0.0",
2360 |       "dev": true,
2361 |       "license": "MIT",
2362 |       "dependencies": {
2363 |         "locate-path": "^6.0.0",
2364 |         "path-exists": "^4.0.0"
2365 |       },
2366 |       "engines": {
2367 |         "node": ">=10"
2368 |       },
2369 |       "funding": {
2370 |         "url": "https://github.com/sponsors/sindresorhus"
2371 |       }
2372 |     },
2373 |     "node_modules/flat": {
2374 |       "version": "5.0.2",
2375 |       "license": "BSD-3-Clause",
2376 |       "bin": {
2377 |         "flat": "cli.js"
2378 |       }
2379 |     },
2380 |     "node_modules/flat-cache": {
2381 |       "version": "3.0.4",
2382 |       "dev": true,
2383 |       "license": "MIT",
2384 |       "dependencies": {
2385 |         "flatted": "^3.1.0",
2386 |         "rimraf": "^3.0.2"
2387 |       },
2388 |       "engines": {
2389 |         "node": "^10.12.0 || >=12.0.0"
2390 |       }
2391 |     },
2392 |     "node_modules/flatted": {
2393 |       "version": "3.2.7",
2394 |       "dev": true,
2395 |       "license": "ISC"
2396 |     },
2397 |     "node_modules/follow-redirects": {
2398 |       "version": "1.15.2",
2399 |       "funding": [
2400 |         {
2401 |           "type": "individual",
2402 |           "url": "https://github.com/sponsors/RubenVerborgh"
2403 |         }
2404 |       ],
2405 |       "license": "MIT",
2406 |       "engines": {
2407 |         "node": ">=4.0"
2408 |       },
2409 |       "peerDependenciesMeta": {
2410 |         "debug": {
2411 |           "optional": true
2412 |         }
2413 |       }
2414 |     },
2415 |     "node_modules/for-each": {
2416 |       "version": "0.3.3",
2417 |       "dev": true,
2418 |       "license": "MIT",
2419 |       "dependencies": {
2420 |         "is-callable": "^1.1.3"
2421 |       }
2422 |     },
2423 |     "node_modules/form-data": {
2424 |       "version": "4.0.0",
2425 |       "license": "MIT",
2426 |       "dependencies": {
2427 |         "asynckit": "^0.4.0",
2428 |         "combined-stream": "^1.0.8",
2429 |         "mime-types": "^2.1.12"
2430 |       },
2431 |       "engines": {
2432 |         "node": ">= 6"
2433 |       }
2434 |     },
2435 |     "node_modules/fraction.js": {
2436 |       "version": "4.2.0",
2437 |       "dev": true,
2438 |       "license": "MIT",
2439 |       "engines": {
2440 |         "node": "*"
2441 |       },
2442 |       "funding": {
2443 |         "type": "patreon",
2444 |         "url": "https://www.patreon.com/infusion"
2445 |       }
2446 |     },
2447 |     "node_modules/fs-constants": {
2448 |       "version": "1.0.0",
2449 |       "license": "MIT"
2450 |     },
2451 |     "node_modules/fs.realpath": {
2452 |       "version": "1.0.0",
2453 |       "dev": true,
2454 |       "license": "ISC"
2455 |     },
2456 |     "node_modules/fsevents": {
2457 |       "version": "2.3.2",
2458 |       "dev": true,
2459 |       "license": "MIT",
2460 |       "optional": true,
2461 |       "os": [
2462 |         "darwin"
2463 |       ],
2464 |       "engines": {
2465 |         "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
2466 |       }
2467 |     },
2468 |     "node_modules/function-bind": {
2469 |       "version": "1.1.1",
2470 |       "dev": true,
2471 |       "license": "MIT"
2472 |     },
2473 |     "node_modules/function.prototype.name": {
2474 |       "version": "1.1.5",
2475 |       "dev": true,
2476 |       "license": "MIT",
2477 |       "dependencies": {
2478 |         "call-bind": "^1.0.2",
2479 |         "define-properties": "^1.1.3",
2480 |         "es-abstract": "^1.19.0",
2481 |         "functions-have-names": "^1.2.2"
2482 |       },
2483 |       "engines": {
2484 |         "node": ">= 0.4"
2485 |       },
2486 |       "funding": {
2487 |         "url": "https://github.com/sponsors/ljharb"
2488 |       }
2489 |     },
2490 |     "node_modules/functions-have-names": {
2491 |       "version": "1.2.3",
2492 |       "dev": true,
2493 |       "license": "MIT",
2494 |       "funding": {
2495 |         "url": "https://github.com/sponsors/ljharb"
2496 |       }
2497 |     },
2498 |     "node_modules/get-intrinsic": {
2499 |       "version": "1.2.0",
2500 |       "dev": true,
2501 |       "license": "MIT",
2502 |       "dependencies": {
2503 |         "function-bind": "^1.1.1",
2504 |         "has": "^1.0.3",
2505 |         "has-symbols": "^1.0.3"
2506 |       },
2507 |       "funding": {
2508 |         "url": "https://github.com/sponsors/ljharb"
2509 |       }
2510 |     },
2511 |     "node_modules/get-symbol-description": {
2512 |       "version": "1.0.0",
2513 |       "dev": true,
2514 |       "license": "MIT",
2515 |       "dependencies": {
2516 |         "call-bind": "^1.0.2",
2517 |         "get-intrinsic": "^1.1.1"
2518 |       },
2519 |       "engines": {
2520 |         "node": ">= 0.4"
2521 |       },
2522 |       "funding": {
2523 |         "url": "https://github.com/sponsors/ljharb"
2524 |       }
2525 |     },
2526 |     "node_modules/get-tsconfig": {
2527 |       "version": "4.5.0",
2528 |       "dev": true,
2529 |       "license": "MIT",
2530 |       "funding": {
2531 |         "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
2532 |       }
2533 |     },
2534 |     "node_modules/github-from-package": {
2535 |       "version": "0.0.0",
2536 |       "license": "MIT"
2537 |     },
2538 |     "node_modules/glob": {
2539 |       "version": "7.1.6",
2540 |       "dev": true,
2541 |       "license": "ISC",
2542 |       "dependencies": {
2543 |         "fs.realpath": "^1.0.0",
2544 |         "inflight": "^1.0.4",
2545 |         "inherits": "2",
2546 |         "minimatch": "^3.0.4",
2547 |         "once": "^1.3.0",
2548 |         "path-is-absolute": "^1.0.0"
2549 |       },
2550 |       "engines": {
2551 |         "node": "*"
2552 |       },
2553 |       "funding": {
2554 |         "url": "https://github.com/sponsors/isaacs"
2555 |       }
2556 |     },
2557 |     "node_modules/glob-parent": {
2558 |       "version": "5.1.2",
2559 |       "dev": true,
2560 |       "license": "ISC",
2561 |       "dependencies": {
2562 |         "is-glob": "^4.0.1"
2563 |       },
2564 |       "engines": {
2565 |         "node": ">= 6"
2566 |       }
2567 |     },
2568 |     "node_modules/globals": {
2569 |       "version": "13.20.0",
2570 |       "dev": true,
2571 |       "license": "MIT",
2572 |       "dependencies": {
2573 |         "type-fest": "^0.20.2"
2574 |       },
2575 |       "engines": {
2576 |         "node": ">=8"
2577 |       },
2578 |       "funding": {
2579 |         "url": "https://github.com/sponsors/sindresorhus"
2580 |       }
2581 |     },
2582 |     "node_modules/globalthis": {
2583 |       "version": "1.0.3",
2584 |       "dev": true,
2585 |       "license": "MIT",
2586 |       "dependencies": {
2587 |         "define-properties": "^1.1.3"
2588 |       },
2589 |       "engines": {
2590 |         "node": ">= 0.4"
2591 |       },
2592 |       "funding": {
2593 |         "url": "https://github.com/sponsors/ljharb"
2594 |       }
2595 |     },
2596 |     "node_modules/globalyzer": {
2597 |       "version": "0.1.0",
2598 |       "dev": true,
2599 |       "license": "MIT"
2600 |     },
2601 |     "node_modules/globby": {
2602 |       "version": "11.1.0",
2603 |       "dev": true,
2604 |       "license": "MIT",
2605 |       "dependencies": {
2606 |         "array-union": "^2.1.0",
2607 |         "dir-glob": "^3.0.1",
2608 |         "fast-glob": "^3.2.9",
2609 |         "ignore": "^5.2.0",
2610 |         "merge2": "^1.4.1",
2611 |         "slash": "^3.0.0"
2612 |       },
2613 |       "engines": {
2614 |         "node": ">=10"
2615 |       },
2616 |       "funding": {
2617 |         "url": "https://github.com/sponsors/sindresorhus"
2618 |       }
2619 |     },
2620 |     "node_modules/globrex": {
2621 |       "version": "0.1.2",
2622 |       "dev": true,
2623 |       "license": "MIT"
2624 |     },
2625 |     "node_modules/gopd": {
2626 |       "version": "1.0.1",
2627 |       "dev": true,
2628 |       "license": "MIT",
2629 |       "dependencies": {
2630 |         "get-intrinsic": "^1.1.3"
2631 |       },
2632 |       "funding": {
2633 |         "url": "https://github.com/sponsors/ljharb"
2634 |       }
2635 |     },
2636 |     "node_modules/graceful-fs": {
2637 |       "version": "4.2.11",
2638 |       "dev": true,
2639 |       "license": "ISC"
2640 |     },
2641 |     "node_modules/grapheme-splitter": {
2642 |       "version": "1.0.4",
2643 |       "dev": true,
2644 |       "license": "MIT"
2645 |     },
2646 |     "node_modules/has": {
2647 |       "version": "1.0.3",
2648 |       "dev": true,
2649 |       "license": "MIT",
2650 |       "dependencies": {
2651 |         "function-bind": "^1.1.1"
2652 |       },
2653 |       "engines": {
2654 |         "node": ">= 0.4.0"
2655 |       }
2656 |     },
2657 |     "node_modules/has-bigints": {
2658 |       "version": "1.0.2",
2659 |       "dev": true,
2660 |       "license": "MIT",
2661 |       "funding": {
2662 |         "url": "https://github.com/sponsors/ljharb"
2663 |       }
2664 |     },
2665 |     "node_modules/has-flag": {
2666 |       "version": "4.0.0",
2667 |       "dev": true,
2668 |       "license": "MIT",
2669 |       "engines": {
2670 |         "node": ">=8"
2671 |       }
2672 |     },
2673 |     "node_modules/has-property-descriptors": {
2674 |       "version": "1.0.0",
2675 |       "dev": true,
2676 |       "license": "MIT",
2677 |       "dependencies": {
2678 |         "get-intrinsic": "^1.1.1"
2679 |       },
2680 |       "funding": {
2681 |         "url": "https://github.com/sponsors/ljharb"
2682 |       }
2683 |     },
2684 |     "node_modules/has-proto": {
2685 |       "version": "1.0.1",
2686 |       "dev": true,
2687 |       "license": "MIT",
2688 |       "engines": {
2689 |         "node": ">= 0.4"
2690 |       },
2691 |       "funding": {
2692 |         "url": "https://github.com/sponsors/ljharb"
2693 |       }
2694 |     },
2695 |     "node_modules/has-symbols": {
2696 |       "version": "1.0.3",
2697 |       "dev": true,
2698 |       "license": "MIT",
2699 |       "engines": {
2700 |         "node": ">= 0.4"
2701 |       },
2702 |       "funding": {
2703 |         "url": "https://github.com/sponsors/ljharb"
2704 |       }
2705 |     },
2706 |     "node_modules/has-tostringtag": {
2707 |       "version": "1.0.0",
2708 |       "dev": true,
2709 |       "license": "MIT",
2710 |       "dependencies": {
2711 |         "has-symbols": "^1.0.2"
2712 |       },
2713 |       "engines": {
2714 |         "node": ">= 0.4"
2715 |       },
2716 |       "funding": {
2717 |         "url": "https://github.com/sponsors/ljharb"
2718 |       }
2719 |     },
2720 |     "node_modules/hast-util-whitespace": {
2721 |       "version": "2.0.1",
2722 |       "license": "MIT",
2723 |       "funding": {
2724 |         "type": "opencollective",
2725 |         "url": "https://opencollective.com/unified"
2726 |       }
2727 |     },
2728 |     "node_modules/iconv-lite": {
2729 |       "version": "0.4.24",
2730 |       "license": "MIT",
2731 |       "dependencies": {
2732 |         "safer-buffer": ">= 2.1.2 < 3"
2733 |       },
2734 |       "engines": {
2735 |         "node": ">=0.10.0"
2736 |       }
2737 |     },
2738 |     "node_modules/ieee754": {
2739 |       "version": "1.2.1",
2740 |       "funding": [
2741 |         {
2742 |           "type": "github",
2743 |           "url": "https://github.com/sponsors/feross"
2744 |         },
2745 |         {
2746 |           "type": "patreon",
2747 |           "url": "https://www.patreon.com/feross"
2748 |         },
2749 |         {
2750 |           "type": "consulting",
2751 |           "url": "https://feross.org/support"
2752 |         }
2753 |       ],
2754 |       "license": "BSD-3-Clause"
2755 |     },
2756 |     "node_modules/ignore": {
2757 |       "version": "5.2.4",
2758 |       "devOptional": true,
2759 |       "license": "MIT",
2760 |       "engines": {
2761 |         "node": ">= 4"
2762 |       }
2763 |     },
2764 |     "node_modules/import-fresh": {
2765 |       "version": "3.3.0",
2766 |       "dev": true,
2767 |       "license": "MIT",
2768 |       "dependencies": {
2769 |         "parent-module": "^1.0.0",
2770 |         "resolve-from": "^4.0.0"
2771 |       },
2772 |       "engines": {
2773 |         "node": ">=6"
2774 |       },
2775 |       "funding": {
2776 |         "url": "https://github.com/sponsors/sindresorhus"
2777 |       }
2778 |     },
2779 |     "node_modules/imurmurhash": {
2780 |       "version": "0.1.4",
2781 |       "dev": true,
2782 |       "license": "MIT",
2783 |       "engines": {
2784 |         "node": ">=0.8.19"
2785 |       }
2786 |     },
2787 |     "node_modules/inflight": {
2788 |       "version": "1.0.6",
2789 |       "dev": true,
2790 |       "license": "ISC",
2791 |       "dependencies": {
2792 |         "once": "^1.3.0",
2793 |         "wrappy": "1"
2794 |       }
2795 |     },
2796 |     "node_modules/inherits": {
2797 |       "version": "2.0.4",
2798 |       "license": "ISC"
2799 |     },
2800 |     "node_modules/ini": {
2801 |       "version": "1.3.8",
2802 |       "license": "ISC"
2803 |     },
2804 |     "node_modules/inline-style-parser": {
2805 |       "version": "0.1.1",
2806 |       "license": "MIT"
2807 |     },
2808 |     "node_modules/internal-slot": {
2809 |       "version": "1.0.5",
2810 |       "dev": true,
2811 |       "license": "MIT",
2812 |       "dependencies": {
2813 |         "get-intrinsic": "^1.2.0",
2814 |         "has": "^1.0.3",
2815 |         "side-channel": "^1.0.4"
2816 |       },
2817 |       "engines": {
2818 |         "node": ">= 0.4"
2819 |       }
2820 |     },
2821 |     "node_modules/is-any-array": {
2822 |       "version": "2.0.0",
2823 |       "license": "MIT"
2824 |     },
2825 |     "node_modules/is-arguments": {
2826 |       "version": "1.1.1",
2827 |       "dev": true,
2828 |       "license": "MIT",
2829 |       "dependencies": {
2830 |         "call-bind": "^1.0.2",
2831 |         "has-tostringtag": "^1.0.0"
2832 |       },
2833 |       "engines": {
2834 |         "node": ">= 0.4"
2835 |       },
2836 |       "funding": {
2837 |         "url": "https://github.com/sponsors/ljharb"
2838 |       }
2839 |     },
2840 |     "node_modules/is-array-buffer": {
2841 |       "version": "3.0.2",
2842 |       "dev": true,
2843 |       "license": "MIT",
2844 |       "dependencies": {
2845 |         "call-bind": "^1.0.2",
2846 |         "get-intrinsic": "^1.2.0",
2847 |         "is-typed-array": "^1.1.10"
2848 |       },
2849 |       "funding": {
2850 |         "url": "https://github.com/sponsors/ljharb"
2851 |       }
2852 |     },
2853 |     "node_modules/is-bigint": {
2854 |       "version": "1.0.4",
2855 |       "dev": true,
2856 |       "license": "MIT",
2857 |       "dependencies": {
2858 |         "has-bigints": "^1.0.1"
2859 |       },
2860 |       "funding": {
2861 |         "url": "https://github.com/sponsors/ljharb"
2862 |       }
2863 |     },
2864 |     "node_modules/is-binary-path": {
2865 |       "version": "2.1.0",
2866 |       "dev": true,
2867 |       "license": "MIT",
2868 |       "dependencies": {
2869 |         "binary-extensions": "^2.0.0"
2870 |       },
2871 |       "engines": {
2872 |         "node": ">=8"
2873 |       }
2874 |     },
2875 |     "node_modules/is-boolean-object": {
2876 |       "version": "1.1.2",
2877 |       "dev": true,
2878 |       "license": "MIT",
2879 |       "dependencies": {
2880 |         "call-bind": "^1.0.2",
2881 |         "has-tostringtag": "^1.0.0"
2882 |       },
2883 |       "engines": {
2884 |         "node": ">= 0.4"
2885 |       },
2886 |       "funding": {
2887 |         "url": "https://github.com/sponsors/ljharb"
2888 |       }
2889 |     },
2890 |     "node_modules/is-buffer": {
2891 |       "version": "2.0.5",
2892 |       "funding": [
2893 |         {
2894 |           "type": "github",
2895 |           "url": "https://github.com/sponsors/feross"
2896 |         },
2897 |         {
2898 |           "type": "patreon",
2899 |           "url": "https://www.patreon.com/feross"
2900 |         },
2901 |         {
2902 |           "type": "consulting",
2903 |           "url": "https://feross.org/support"
2904 |         }
2905 |       ],
2906 |       "license": "MIT",
2907 |       "engines": {
2908 |         "node": ">=4"
2909 |       }
2910 |     },
2911 |     "node_modules/is-callable": {
2912 |       "version": "1.2.7",
2913 |       "dev": true,
2914 |       "license": "MIT",
2915 |       "engines": {
2916 |         "node": ">= 0.4"
2917 |       },
2918 |       "funding": {
2919 |         "url": "https://github.com/sponsors/ljharb"
2920 |       }
2921 |     },
2922 |     "node_modules/is-core-module": {
2923 |       "version": "2.12.0",
2924 |       "dev": true,
2925 |       "license": "MIT",
2926 |       "dependencies": {
2927 |         "has": "^1.0.3"
2928 |       },
2929 |       "funding": {
2930 |         "url": "https://github.com/sponsors/ljharb"
2931 |       }
2932 |     },
2933 |     "node_modules/is-date-object": {
2934 |       "version": "1.0.5",
2935 |       "dev": true,
2936 |       "license": "MIT",
2937 |       "dependencies": {
2938 |         "has-tostringtag": "^1.0.0"
2939 |       },
2940 |       "engines": {
2941 |         "node": ">= 0.4"
2942 |       },
2943 |       "funding": {
2944 |         "url": "https://github.com/sponsors/ljharb"
2945 |       }
2946 |     },
2947 |     "node_modules/is-docker": {
2948 |       "version": "2.2.1",
2949 |       "dev": true,
2950 |       "license": "MIT",
2951 |       "bin": {
2952 |         "is-docker": "cli.js"
2953 |       },
2954 |       "engines": {
2955 |         "node": ">=8"
2956 |       },
2957 |       "funding": {
2958 |         "url": "https://github.com/sponsors/sindresorhus"
2959 |       }
2960 |     },
2961 |     "node_modules/is-extglob": {
2962 |       "version": "2.1.1",
2963 |       "dev": true,
2964 |       "license": "MIT",
2965 |       "engines": {
2966 |         "node": ">=0.10.0"
2967 |       }
2968 |     },
2969 |     "node_modules/is-glob": {
2970 |       "version": "4.0.3",
2971 |       "dev": true,
2972 |       "license": "MIT",
2973 |       "dependencies": {
2974 |         "is-extglob": "^2.1.1"
2975 |       },
2976 |       "engines": {
2977 |         "node": ">=0.10.0"
2978 |       }
2979 |     },
2980 |     "node_modules/is-map": {
2981 |       "version": "2.0.2",
2982 |       "dev": true,
2983 |       "license": "MIT",
2984 |       "funding": {
2985 |         "url": "https://github.com/sponsors/ljharb"
2986 |       }
2987 |     },
2988 |     "node_modules/is-negative-zero": {
2989 |       "version": "2.0.2",
2990 |       "dev": true,
2991 |       "license": "MIT",
2992 |       "engines": {
2993 |         "node": ">= 0.4"
2994 |       },
2995 |       "funding": {
2996 |         "url": "https://github.com/sponsors/ljharb"
2997 |       }
2998 |     },
2999 |     "node_modules/is-number": {
3000 |       "version": "7.0.0",
3001 |       "dev": true,
3002 |       "license": "MIT",
3003 |       "engines": {
3004 |         "node": ">=0.12.0"
3005 |       }
3006 |     },
3007 |     "node_modules/is-number-object": {
3008 |       "version": "1.0.7",
3009 |       "dev": true,
3010 |       "license": "MIT",
3011 |       "dependencies": {
3012 |         "has-tostringtag": "^1.0.0"
3013 |       },
3014 |       "engines": {
3015 |         "node": ">= 0.4"
3016 |       },
3017 |       "funding": {
3018 |         "url": "https://github.com/sponsors/ljharb"
3019 |       }
3020 |     },
3021 |     "node_modules/is-path-inside": {
3022 |       "version": "3.0.3",
3023 |       "dev": true,
3024 |       "license": "MIT",
3025 |       "engines": {
3026 |         "node": ">=8"
3027 |       }
3028 |     },
3029 |     "node_modules/is-plain-obj": {
3030 |       "version": "4.1.0",
3031 |       "license": "MIT",
3032 |       "engines": {
3033 |         "node": ">=12"
3034 |       },
3035 |       "funding": {
3036 |         "url": "https://github.com/sponsors/sindresorhus"
3037 |       }
3038 |     },
3039 |     "node_modules/is-regex": {
3040 |       "version": "1.1.4",
3041 |       "dev": true,
3042 |       "license": "MIT",
3043 |       "dependencies": {
3044 |         "call-bind": "^1.0.2",
3045 |         "has-tostringtag": "^1.0.0"
3046 |       },
3047 |       "engines": {
3048 |         "node": ">= 0.4"
3049 |       },
3050 |       "funding": {
3051 |         "url": "https://github.com/sponsors/ljharb"
3052 |       }
3053 |     },
3054 |     "node_modules/is-set": {
3055 |       "version": "2.0.2",
3056 |       "dev": true,
3057 |       "license": "MIT",
3058 |       "funding": {
3059 |         "url": "https://github.com/sponsors/ljharb"
3060 |       }
3061 |     },
3062 |     "node_modules/is-shared-array-buffer": {
3063 |       "version": "1.0.2",
3064 |       "dev": true,
3065 |       "license": "MIT",
3066 |       "dependencies": {
3067 |         "call-bind": "^1.0.2"
3068 |       },
3069 |       "funding": {
3070 |         "url": "https://github.com/sponsors/ljharb"
3071 |       }
3072 |     },
3073 |     "node_modules/is-string": {
3074 |       "version": "1.0.7",
3075 |       "dev": true,
3076 |       "license": "MIT",
3077 |       "dependencies": {
3078 |         "has-tostringtag": "^1.0.0"
3079 |       },
3080 |       "engines": {
3081 |         "node": ">= 0.4"
3082 |       },
3083 |       "funding": {
3084 |         "url": "https://github.com/sponsors/ljharb"
3085 |       }
3086 |     },
3087 |     "node_modules/is-symbol": {
3088 |       "version": "1.0.4",
3089 |       "dev": true,
3090 |       "license": "MIT",
3091 |       "dependencies": {
3092 |         "has-symbols": "^1.0.2"
3093 |       },
3094 |       "engines": {
3095 |         "node": ">= 0.4"
3096 |       },
3097 |       "funding": {
3098 |         "url": "https://github.com/sponsors/ljharb"
3099 |       }
3100 |     },
3101 |     "node_modules/is-typed-array": {
3102 |       "version": "1.1.10",
3103 |       "dev": true,
3104 |       "license": "MIT",
3105 |       "dependencies": {
3106 |         "available-typed-arrays": "^1.0.5",
3107 |         "call-bind": "^1.0.2",
3108 |         "for-each": "^0.3.3",
3109 |         "gopd": "^1.0.1",
3110 |         "has-tostringtag": "^1.0.0"
3111 |       },
3112 |       "engines": {
3113 |         "node": ">= 0.4"
3114 |       },
3115 |       "funding": {
3116 |         "url": "https://github.com/sponsors/ljharb"
3117 |       }
3118 |     },
3119 |     "node_modules/is-weakmap": {
3120 |       "version": "2.0.1",
3121 |       "dev": true,
3122 |       "license": "MIT",
3123 |       "funding": {
3124 |         "url": "https://github.com/sponsors/ljharb"
3125 |       }
3126 |     },
3127 |     "node_modules/is-weakref": {
3128 |       "version": "1.0.2",
3129 |       "dev": true,
3130 |       "license": "MIT",
3131 |       "dependencies": {
3132 |         "call-bind": "^1.0.2"
3133 |       },
3134 |       "funding": {
3135 |         "url": "https://github.com/sponsors/ljharb"
3136 |       }
3137 |     },
3138 |     "node_modules/is-weakset": {
3139 |       "version": "2.0.2",
3140 |       "dev": true,
3141 |       "license": "MIT",
3142 |       "dependencies": {
3143 |         "call-bind": "^1.0.2",
3144 |         "get-intrinsic": "^1.1.1"
3145 |       },
3146 |       "funding": {
3147 |         "url": "https://github.com/sponsors/ljharb"
3148 |       }
3149 |     },
3150 |     "node_modules/is-wsl": {
3151 |       "version": "2.2.0",
3152 |       "dev": true,
3153 |       "license": "MIT",
3154 |       "dependencies": {
3155 |         "is-docker": "^2.0.0"
3156 |       },
3157 |       "engines": {
3158 |         "node": ">=8"
3159 |       }
3160 |     },
3161 |     "node_modules/isarray": {
3162 |       "version": "2.0.5",
3163 |       "dev": true,
3164 |       "license": "MIT"
3165 |     },
3166 |     "node_modules/isexe": {
3167 |       "version": "2.0.0",
3168 |       "dev": true,
3169 |       "license": "ISC"
3170 |     },
3171 |     "node_modules/jiti": {
3172 |       "version": "1.18.2",
3173 |       "dev": true,
3174 |       "license": "MIT",
3175 |       "bin": {
3176 |         "jiti": "bin/jiti.js"
3177 |       }
3178 |     },
3179 |     "node_modules/js-sdsl": {
3180 |       "version": "4.4.0",
3181 |       "dev": true,
3182 |       "license": "MIT",
3183 |       "funding": {
3184 |         "type": "opencollective",
3185 |         "url": "https://opencollective.com/js-sdsl"
3186 |       }
3187 |     },
3188 |     "node_modules/js-tiktoken": {
3189 |       "version": "1.0.6",
3190 |       "license": "MIT",
3191 |       "dependencies": {
3192 |         "base64-js": "^1.5.1"
3193 |       }
3194 |     },
3195 |     "node_modules/js-tokens": {
3196 |       "version": "4.0.0",
3197 |       "license": "MIT"
3198 |     },
3199 |     "node_modules/js-yaml": {
3200 |       "version": "4.1.0",
3201 |       "dev": true,
3202 |       "license": "MIT",
3203 |       "dependencies": {
3204 |         "argparse": "^2.0.1"
3205 |       },
3206 |       "bin": {
3207 |         "js-yaml": "bin/js-yaml.js"
3208 |       }
3209 |     },
3210 |     "node_modules/json-schema-traverse": {
3211 |       "version": "0.4.1",
3212 |       "dev": true,
3213 |       "license": "MIT"
3214 |     },
3215 |     "node_modules/json-stable-stringify-without-jsonify": {
3216 |       "version": "1.0.1",
3217 |       "dev": true,
3218 |       "license": "MIT"
3219 |     },
3220 |     "node_modules/json5": {
3221 |       "version": "1.0.2",
3222 |       "dev": true,
3223 |       "license": "MIT",
3224 |       "dependencies": {
3225 |         "minimist": "^1.2.0"
3226 |       },
3227 |       "bin": {
3228 |         "json5": "lib/cli.js"
3229 |       }
3230 |     },
3231 |     "node_modules/jsonpointer": {
3232 |       "version": "5.0.1",
3233 |       "license": "MIT",
3234 |       "engines": {
3235 |         "node": ">=0.10.0"
3236 |       }
3237 |     },
3238 |     "node_modules/jsx-ast-utils": {
3239 |       "version": "3.3.3",
3240 |       "dev": true,
3241 |       "license": "MIT",
3242 |       "dependencies": {
3243 |         "array-includes": "^3.1.5",
3244 |         "object.assign": "^4.1.3"
3245 |       },
3246 |       "engines": {
3247 |         "node": ">=4.0"
3248 |       }
3249 |     },
3250 |     "node_modules/kleur": {
3251 |       "version": "4.1.5",
3252 |       "license": "MIT",
3253 |       "engines": {
3254 |         "node": ">=6"
3255 |       }
3256 |     },
3257 |     "node_modules/langchain": {
3258 |       "version": "0.0.84",
3259 |       "license": "MIT",
3260 |       "dependencies": {
3261 |         "@anthropic-ai/sdk": "^0.4.3",
3262 |         "ansi-styles": "^5.0.0",
3263 |         "binary-extensions": "^2.2.0",
3264 |         "expr-eval": "^2.0.2",
3265 |         "flat": "^5.0.2",
3266 |         "js-tiktoken": "^1.0.6",
3267 |         "jsonpointer": "^5.0.1",
3268 |         "ml-distance": "^4.0.0",
3269 |         "object-hash": "^3.0.0",
3270 |         "openai": "^3.2.0",
3271 |         "p-queue": "^6.6.2",
3272 |         "p-retry": "4",
3273 |         "uuid": "^9.0.0",
3274 |         "yaml": "^2.2.1",
3275 |         "zod": "^3.21.4",
3276 |         "zod-to-json-schema": "^3.20.4"
3277 |       },
3278 |       "engines": {
3279 |         "node": ">=18"
3280 |       },
3281 |       "peerDependencies": {
3282 |         "@aws-sdk/client-dynamodb": "^3.310.0",
3283 |         "@aws-sdk/client-lambda": "^3.310.0",
3284 |         "@aws-sdk/client-s3": "^3.310.0",
3285 |         "@aws-sdk/client-sagemaker-runtime": "^3.310.0",
3286 |         "@clickhouse/client": "^0.0.14",
3287 |         "@getmetal/metal-sdk": "*",
3288 |         "@huggingface/inference": "^1.5.1",
3289 |         "@opensearch-project/opensearch": "*",
3290 |         "@pinecone-database/pinecone": "*",
3291 |         "@qdrant/js-client-rest": "^1.2.0",
3292 |         "@supabase/supabase-js": "^2.10.0",
3293 |         "@tensorflow-models/universal-sentence-encoder": "*",
3294 |         "@tensorflow/tfjs-converter": "*",
3295 |         "@tensorflow/tfjs-core": "*",
3296 |         "@tigrisdata/vector": "^1.1.0",
3297 |         "@upstash/redis": "^1.20.6",
3298 |         "@zilliz/milvus2-sdk-node": ">=2.2.7",
3299 |         "apify-client": "^2.7.1",
3300 |         "axios": "*",
3301 |         "cheerio": "^1.0.0-rc.12",
3302 |         "chromadb": "^1.4.2",
3303 |         "cohere-ai": "^5.0.2",
3304 |         "d3-dsv": "^2.0.0",
3305 |         "epub2": "^3.0.1",
3306 |         "faiss-node": "^0.2.0",
3307 |         "google-auth-library": "^8.8.0",
3308 |         "hnswlib-node": "^1.4.2",
3309 |         "html-to-text": "^9.0.5",
3310 |         "ignore": "^5.2.0",
3311 |         "mammoth": "*",
3312 |         "meriyah": "*",
3313 |         "mongodb": "^5.2.0",
3314 |         "pdf-parse": "1.1.1",
3315 |         "pickleparser": "^0.1.0",
3316 |         "playwright": "^1.32.1",
3317 |         "puppeteer": "^19.7.2",
3318 |         "redis": "^4.6.4",
3319 |         "replicate": "^0.9.0",
3320 |         "srt-parser-2": "^1.2.2",
3321 |         "typeorm": "^0.3.12",
3322 |         "weaviate-ts-client": "^1.0.0"
3323 |       },
3324 |       "peerDependenciesMeta": {
3325 |         "@aws-sdk/client-dynamodb": {
3326 |           "optional": true
3327 |         },
3328 |         "@aws-sdk/client-lambda": {
3329 |           "optional": true
3330 |         },
3331 |         "@aws-sdk/client-s3": {
3332 |           "optional": true
3333 |         },
3334 |         "@aws-sdk/client-sagemaker-runtime": {
3335 |           "optional": true
3336 |         },
3337 |         "@clickhouse/client": {
3338 |           "optional": true
3339 |         },
3340 |         "@getmetal/metal-sdk": {
3341 |           "optional": true
3342 |         },
3343 |         "@huggingface/inference": {
3344 |           "optional": true
3345 |         },
3346 |         "@opensearch-project/opensearch": {
3347 |           "optional": true
3348 |         },
3349 |         "@pinecone-database/pinecone": {
3350 |           "optional": true
3351 |         },
3352 |         "@qdrant/js-client-rest": {
3353 |           "optional": true
3354 |         },
3355 |         "@supabase/supabase-js": {
3356 |           "optional": true
3357 |         },
3358 |         "@tensorflow-models/universal-sentence-encoder": {
3359 |           "optional": true
3360 |         },
3361 |         "@tensorflow/tfjs-converter": {
3362 |           "optional": true
3363 |         },
3364 |         "@tensorflow/tfjs-core": {
3365 |           "optional": true
3366 |         },
3367 |         "@tigrisdata/vector": {
3368 |           "optional": true
3369 |         },
3370 |         "@upstash/redis": {
3371 |           "optional": true
3372 |         },
3373 |         "@zilliz/milvus2-sdk-node": {
3374 |           "optional": true
3375 |         },
3376 |         "apify-client": {
3377 |           "optional": true
3378 |         },
3379 |         "axios": {
3380 |           "optional": true
3381 |         },
3382 |         "cheerio": {
3383 |           "optional": true
3384 |         },
3385 |         "chromadb": {
3386 |           "optional": true
3387 |         },
3388 |         "cohere-ai": {
3389 |           "optional": true
3390 |         },
3391 |         "d3-dsv": {
3392 |           "optional": true
3393 |         },
3394 |         "epub2": {
3395 |           "optional": true
3396 |         },
3397 |         "faiss-node": {
3398 |           "optional": true
3399 |         },
3400 |         "google-auth-library": {
3401 |           "optional": true
3402 |         },
3403 |         "hnswlib-node": {
3404 |           "optional": true
3405 |         },
3406 |         "html-to-text": {
3407 |           "optional": true
3408 |         },
3409 |         "ignore": {
3410 |           "optional": true
3411 |         },
3412 |         "mammoth": {
3413 |           "optional": true
3414 |         },
3415 |         "meriyah": {
3416 |           "optional": true
3417 |         },
3418 |         "mongodb": {
3419 |           "optional": true
3420 |         },
3421 |         "pdf-parse": {
3422 |           "optional": true
3423 |         },
3424 |         "pickleparser": {
3425 |           "optional": true
3426 |         },
3427 |         "playwright": {
3428 |           "optional": true
3429 |         },
3430 |         "puppeteer": {
3431 |           "optional": true
3432 |         },
3433 |         "redis": {
3434 |           "optional": true
3435 |         },
3436 |         "replicate": {
3437 |           "optional": true
3438 |         },
3439 |         "srt-parser-2": {
3440 |           "optional": true
3441 |         },
3442 |         "typeorm": {
3443 |           "optional": true
3444 |         },
3445 |         "weaviate-ts-client": {
3446 |           "optional": true
3447 |         }
3448 |       }
3449 |     },
3450 |     "node_modules/language-subtag-registry": {
3451 |       "version": "0.3.22",
3452 |       "dev": true,
3453 |       "license": "CC0-1.0"
3454 |     },
3455 |     "node_modules/language-tags": {
3456 |       "version": "1.0.5",
3457 |       "dev": true,
3458 |       "license": "MIT",
3459 |       "dependencies": {
3460 |         "language-subtag-registry": "~0.3.2"
3461 |       }
3462 |     },
3463 |     "node_modules/levn": {
3464 |       "version": "0.4.1",
3465 |       "dev": true,
3466 |       "license": "MIT",
3467 |       "dependencies": {
3468 |         "prelude-ls": "^1.2.1",
3469 |         "type-check": "~0.4.0"
3470 |       },
3471 |       "engines": {
3472 |         "node": ">= 0.8.0"
3473 |       }
3474 |     },
3475 |     "node_modules/lilconfig": {
3476 |       "version": "2.1.0",
3477 |       "dev": true,
3478 |       "license": "MIT",
3479 |       "engines": {
3480 |         "node": ">=10"
3481 |       }
3482 |     },
3483 |     "node_modules/lines-and-columns": {
3484 |       "version": "1.2.4",
3485 |       "dev": true,
3486 |       "license": "MIT"
3487 |     },
3488 |     "node_modules/locate-path": {
3489 |       "version": "6.0.0",
3490 |       "dev": true,
3491 |       "license": "MIT",
3492 |       "dependencies": {
3493 |         "p-locate": "^5.0.0"
3494 |       },
3495 |       "engines": {
3496 |         "node": ">=10"
3497 |       },
3498 |       "funding": {
3499 |         "url": "https://github.com/sponsors/sindresorhus"
3500 |       }
3501 |     },
3502 |     "node_modules/lodash.merge": {
3503 |       "version": "4.6.2",
3504 |       "dev": true,
3505 |       "license": "MIT"
3506 |     },
3507 |     "node_modules/loose-envify": {
3508 |       "version": "1.4.0",
3509 |       "license": "MIT",
3510 |       "dependencies": {
3511 |         "js-tokens": "^3.0.0 || ^4.0.0"
3512 |       },
3513 |       "bin": {
3514 |         "loose-envify": "cli.js"
3515 |       }
3516 |     },
3517 |     "node_modules/lru-cache": {
3518 |       "version": "6.0.0",
3519 |       "license": "ISC",
3520 |       "dependencies": {
3521 |         "yallist": "^4.0.0"
3522 |       },
3523 |       "engines": {
3524 |         "node": ">=10"
3525 |       }
3526 |     },
3527 |     "node_modules/lucide-react": {
3528 |       "version": "0.125.0",
3529 |       "license": "ISC",
3530 |       "peerDependencies": {
3531 |         "react": "^16.5.1 || ^17.0.0 || ^18.0.0"
3532 |       }
3533 |     },
3534 |     "node_modules/mdast-util-definitions": {
3535 |       "version": "5.1.2",
3536 |       "license": "MIT",
3537 |       "dependencies": {
3538 |         "@types/mdast": "^3.0.0",
3539 |         "@types/unist": "^2.0.0",
3540 |         "unist-util-visit": "^4.0.0"
3541 |       },
3542 |       "funding": {
3543 |         "type": "opencollective",
3544 |         "url": "https://opencollective.com/unified"
3545 |       }
3546 |     },
3547 |     "node_modules/mdast-util-from-markdown": {
3548 |       "version": "1.3.0",
3549 |       "license": "MIT",
3550 |       "dependencies": {
3551 |         "@types/mdast": "^3.0.0",
3552 |         "@types/unist": "^2.0.0",
3553 |         "decode-named-character-reference": "^1.0.0",
3554 |         "mdast-util-to-string": "^3.1.0",
3555 |         "micromark": "^3.0.0",
3556 |         "micromark-util-decode-numeric-character-reference": "^1.0.0",
3557 |         "micromark-util-decode-string": "^1.0.0",
3558 |         "micromark-util-normalize-identifier": "^1.0.0",
3559 |         "micromark-util-symbol": "^1.0.0",
3560 |         "micromark-util-types": "^1.0.0",
3561 |         "unist-util-stringify-position": "^3.0.0",
3562 |         "uvu": "^0.5.0"
3563 |       },
3564 |       "funding": {
3565 |         "type": "opencollective",
3566 |         "url": "https://opencollective.com/unified"
3567 |       }
3568 |     },
3569 |     "node_modules/mdast-util-to-hast": {
3570 |       "version": "12.3.0",
3571 |       "license": "MIT",
3572 |       "dependencies": {
3573 |         "@types/hast": "^2.0.0",
3574 |         "@types/mdast": "^3.0.0",
3575 |         "mdast-util-definitions": "^5.0.0",
3576 |         "micromark-util-sanitize-uri": "^1.1.0",
3577 |         "trim-lines": "^3.0.0",
3578 |         "unist-util-generated": "^2.0.0",
3579 |         "unist-util-position": "^4.0.0",
3580 |         "unist-util-visit": "^4.0.0"
3581 |       },
3582 |       "funding": {
3583 |         "type": "opencollective",
3584 |         "url": "https://opencollective.com/unified"
3585 |       }
3586 |     },
3587 |     "node_modules/mdast-util-to-string": {
3588 |       "version": "3.2.0",
3589 |       "license": "MIT",
3590 |       "dependencies": {
3591 |         "@types/mdast": "^3.0.0"
3592 |       },
3593 |       "funding": {
3594 |         "type": "opencollective",
3595 |         "url": "https://opencollective.com/unified"
3596 |       }
3597 |     },
3598 |     "node_modules/merge2": {
3599 |       "version": "1.4.1",
3600 |       "dev": true,
3601 |       "license": "MIT",
3602 |       "engines": {
3603 |         "node": ">= 8"
3604 |       }
3605 |     },
3606 |     "node_modules/micromark": {
3607 |       "version": "3.1.0",
3608 |       "funding": [
3609 |         {
3610 |           "type": "GitHub Sponsors",
3611 |           "url": "https://github.com/sponsors/unifiedjs"
3612 |         },
3613 |         {
3614 |           "type": "OpenCollective",
3615 |           "url": "https://opencollective.com/unified"
3616 |         }
3617 |       ],
3618 |       "license": "MIT",
3619 |       "dependencies": {
3620 |         "@types/debug": "^4.0.0",
3621 |         "debug": "^4.0.0",
3622 |         "decode-named-character-reference": "^1.0.0",
3623 |         "micromark-core-commonmark": "^1.0.1",
3624 |         "micromark-factory-space": "^1.0.0",
3625 |         "micromark-util-character": "^1.0.0",
3626 |         "micromark-util-chunked": "^1.0.0",
3627 |         "micromark-util-combine-extensions": "^1.0.0",
3628 |         "micromark-util-decode-numeric-character-reference": "^1.0.0",
3629 |         "micromark-util-encode": "^1.0.0",
3630 |         "micromark-util-normalize-identifier": "^1.0.0",
3631 |         "micromark-util-resolve-all": "^1.0.0",
3632 |         "micromark-util-sanitize-uri": "^1.0.0",
3633 |         "micromark-util-subtokenize": "^1.0.0",
3634 |         "micromark-util-symbol": "^1.0.0",
3635 |         "micromark-util-types": "^1.0.1",
3636 |         "uvu": "^0.5.0"
3637 |       }
3638 |     },
3639 |     "node_modules/micromark-core-commonmark": {
3640 |       "version": "1.0.6",
3641 |       "funding": [
3642 |         {
3643 |           "type": "GitHub Sponsors",
3644 |           "url": "https://github.com/sponsors/unifiedjs"
3645 |         },
3646 |         {
3647 |           "type": "OpenCollective",
3648 |           "url": "https://opencollective.com/unified"
3649 |         }
3650 |       ],
3651 |       "license": "MIT",
3652 |       "dependencies": {
3653 |         "decode-named-character-reference": "^1.0.0",
3654 |         "micromark-factory-destination": "^1.0.0",
3655 |         "micromark-factory-label": "^1.0.0",
3656 |         "micromark-factory-space": "^1.0.0",
3657 |         "micromark-factory-title": "^1.0.0",
3658 |         "micromark-factory-whitespace": "^1.0.0",
3659 |         "micromark-util-character": "^1.0.0",
3660 |         "micromark-util-chunked": "^1.0.0",
3661 |         "micromark-util-classify-character": "^1.0.0",
3662 |         "micromark-util-html-tag-name": "^1.0.0",
3663 |         "micromark-util-normalize-identifier": "^1.0.0",
3664 |         "micromark-util-resolve-all": "^1.0.0",
3665 |         "micromark-util-subtokenize": "^1.0.0",
3666 |         "micromark-util-symbol": "^1.0.0",
3667 |         "micromark-util-types": "^1.0.1",
3668 |         "uvu": "^0.5.0"
3669 |       }
3670 |     },
3671 |     "node_modules/micromark-factory-destination": {
3672 |       "version": "1.0.0",
3673 |       "funding": [
3674 |         {
3675 |           "type": "GitHub Sponsors",
3676 |           "url": "https://github.com/sponsors/unifiedjs"
3677 |         },
3678 |         {
3679 |           "type": "OpenCollective",
3680 |           "url": "https://opencollective.com/unified"
3681 |         }
3682 |       ],
3683 |       "license": "MIT",
3684 |       "dependencies": {
3685 |         "micromark-util-character": "^1.0.0",
3686 |         "micromark-util-symbol": "^1.0.0",
3687 |         "micromark-util-types": "^1.0.0"
3688 |       }
3689 |     },
3690 |     "node_modules/micromark-factory-label": {
3691 |       "version": "1.0.2",
3692 |       "funding": [
3693 |         {
3694 |           "type": "GitHub Sponsors",
3695 |           "url": "https://github.com/sponsors/unifiedjs"
3696 |         },
3697 |         {
3698 |           "type": "OpenCollective",
3699 |           "url": "https://opencollective.com/unified"
3700 |         }
3701 |       ],
3702 |       "license": "MIT",
3703 |       "dependencies": {
3704 |         "micromark-util-character": "^1.0.0",
3705 |         "micromark-util-symbol": "^1.0.0",
3706 |         "micromark-util-types": "^1.0.0",
3707 |         "uvu": "^0.5.0"
3708 |       }
3709 |     },
3710 |     "node_modules/micromark-factory-space": {
3711 |       "version": "1.0.0",
3712 |       "funding": [
3713 |         {
3714 |           "type": "GitHub Sponsors",
3715 |           "url": "https://github.com/sponsors/unifiedjs"
3716 |         },
3717 |         {
3718 |           "type": "OpenCollective",
3719 |           "url": "https://opencollective.com/unified"
3720 |         }
3721 |       ],
3722 |       "license": "MIT",
3723 |       "dependencies": {
3724 |         "micromark-util-character": "^1.0.0",
3725 |         "micromark-util-types": "^1.0.0"
3726 |       }
3727 |     },
3728 |     "node_modules/micromark-factory-title": {
3729 |       "version": "1.0.2",
3730 |       "funding": [
3731 |         {
3732 |           "type": "GitHub Sponsors",
3733 |           "url": "https://github.com/sponsors/unifiedjs"
3734 |         },
3735 |         {
3736 |           "type": "OpenCollective",
3737 |           "url": "https://opencollective.com/unified"
3738 |         }
3739 |       ],
3740 |       "license": "MIT",
3741 |       "dependencies": {
3742 |         "micromark-factory-space": "^1.0.0",
3743 |         "micromark-util-character": "^1.0.0",
3744 |         "micromark-util-symbol": "^1.0.0",
3745 |         "micromark-util-types": "^1.0.0",
3746 |         "uvu": "^0.5.0"
3747 |       }
3748 |     },
3749 |     "node_modules/micromark-factory-whitespace": {
3750 |       "version": "1.0.0",
3751 |       "funding": [
3752 |         {
3753 |           "type": "GitHub Sponsors",
3754 |           "url": "https://github.com/sponsors/unifiedjs"
3755 |         },
3756 |         {
3757 |           "type": "OpenCollective",
3758 |           "url": "https://opencollective.com/unified"
3759 |         }
3760 |       ],
3761 |       "license": "MIT",
3762 |       "dependencies": {
3763 |         "micromark-factory-space": "^1.0.0",
3764 |         "micromark-util-character": "^1.0.0",
3765 |         "micromark-util-symbol": "^1.0.0",
3766 |         "micromark-util-types": "^1.0.0"
3767 |       }
3768 |     },
3769 |     "node_modules/micromark-util-character": {
3770 |       "version": "1.1.0",
3771 |       "funding": [
3772 |         {
3773 |           "type": "GitHub Sponsors",
3774 |           "url": "https://github.com/sponsors/unifiedjs"
3775 |         },
3776 |         {
3777 |           "type": "OpenCollective",
3778 |           "url": "https://opencollective.com/unified"
3779 |         }
3780 |       ],
3781 |       "license": "MIT",
3782 |       "dependencies": {
3783 |         "micromark-util-symbol": "^1.0.0",
3784 |         "micromark-util-types": "^1.0.0"
3785 |       }
3786 |     },
3787 |     "node_modules/micromark-util-chunked": {
3788 |       "version": "1.0.0",
3789 |       "funding": [
3790 |         {
3791 |           "type": "GitHub Sponsors",
3792 |           "url": "https://github.com/sponsors/unifiedjs"
3793 |         },
3794 |         {
3795 |           "type": "OpenCollective",
3796 |           "url": "https://opencollective.com/unified"
3797 |         }
3798 |       ],
3799 |       "license": "MIT",
3800 |       "dependencies": {
3801 |         "micromark-util-symbol": "^1.0.0"
3802 |       }
3803 |     },
3804 |     "node_modules/micromark-util-classify-character": {
3805 |       "version": "1.0.0",
3806 |       "funding": [
3807 |         {
3808 |           "type": "GitHub Sponsors",
3809 |           "url": "https://github.com/sponsors/unifiedjs"
3810 |         },
3811 |         {
3812 |           "type": "OpenCollective",
3813 |           "url": "https://opencollective.com/unified"
3814 |         }
3815 |       ],
3816 |       "license": "MIT",
3817 |       "dependencies": {
3818 |         "micromark-util-character": "^1.0.0",
3819 |         "micromark-util-symbol": "^1.0.0",
3820 |         "micromark-util-types": "^1.0.0"
3821 |       }
3822 |     },
3823 |     "node_modules/micromark-util-combine-extensions": {
3824 |       "version": "1.0.0",
3825 |       "funding": [
3826 |         {
3827 |           "type": "GitHub Sponsors",
3828 |           "url": "https://github.com/sponsors/unifiedjs"
3829 |         },
3830 |         {
3831 |           "type": "OpenCollective",
3832 |           "url": "https://opencollective.com/unified"
3833 |         }
3834 |       ],
3835 |       "license": "MIT",
3836 |       "dependencies": {
3837 |         "micromark-util-chunked": "^1.0.0",
3838 |         "micromark-util-types": "^1.0.0"
3839 |       }
3840 |     },
3841 |     "node_modules/micromark-util-decode-numeric-character-reference": {
3842 |       "version": "1.0.0",
3843 |       "funding": [
3844 |         {
3845 |           "type": "GitHub Sponsors",
3846 |           "url": "https://github.com/sponsors/unifiedjs"
3847 |         },
3848 |         {
3849 |           "type": "OpenCollective",
3850 |           "url": "https://opencollective.com/unified"
3851 |         }
3852 |       ],
3853 |       "license": "MIT",
3854 |       "dependencies": {
3855 |         "micromark-util-symbol": "^1.0.0"
3856 |       }
3857 |     },
3858 |     "node_modules/micromark-util-decode-string": {
3859 |       "version": "1.0.2",
3860 |       "funding": [
3861 |         {
3862 |           "type": "GitHub Sponsors",
3863 |           "url": "https://github.com/sponsors/unifiedjs"
3864 |         },
3865 |         {
3866 |           "type": "OpenCollective",
3867 |           "url": "https://opencollective.com/unified"
3868 |         }
3869 |       ],
3870 |       "license": "MIT",
3871 |       "dependencies": {
3872 |         "decode-named-character-reference": "^1.0.0",
3873 |         "micromark-util-character": "^1.0.0",
3874 |         "micromark-util-decode-numeric-character-reference": "^1.0.0",
3875 |         "micromark-util-symbol": "^1.0.0"
3876 |       }
3877 |     },
3878 |     "node_modules/micromark-util-encode": {
3879 |       "version": "1.0.1",
3880 |       "funding": [
3881 |         {
3882 |           "type": "GitHub Sponsors",
3883 |           "url": "https://github.com/sponsors/unifiedjs"
3884 |         },
3885 |         {
3886 |           "type": "OpenCollective",
3887 |           "url": "https://opencollective.com/unified"
3888 |         }
3889 |       ],
3890 |       "license": "MIT"
3891 |     },
3892 |     "node_modules/micromark-util-html-tag-name": {
3893 |       "version": "1.1.0",
3894 |       "funding": [
3895 |         {
3896 |           "type": "GitHub Sponsors",
3897 |           "url": "https://github.com/sponsors/unifiedjs"
3898 |         },
3899 |         {
3900 |           "type": "OpenCollective",
3901 |           "url": "https://opencollective.com/unified"
3902 |         }
3903 |       ],
3904 |       "license": "MIT"
3905 |     },
3906 |     "node_modules/micromark-util-normalize-identifier": {
3907 |       "version": "1.0.0",
3908 |       "funding": [
3909 |         {
3910 |           "type": "GitHub Sponsors",
3911 |           "url": "https://github.com/sponsors/unifiedjs"
3912 |         },
3913 |         {
3914 |           "type": "OpenCollective",
3915 |           "url": "https://opencollective.com/unified"
3916 |         }
3917 |       ],
3918 |       "license": "MIT",
3919 |       "dependencies": {
3920 |         "micromark-util-symbol": "^1.0.0"
3921 |       }
3922 |     },
3923 |     "node_modules/micromark-util-resolve-all": {
3924 |       "version": "1.0.0",
3925 |       "funding": [
3926 |         {
3927 |           "type": "GitHub Sponsors",
3928 |           "url": "https://github.com/sponsors/unifiedjs"
3929 |         },
3930 |         {
3931 |           "type": "OpenCollective",
3932 |           "url": "https://opencollective.com/unified"
3933 |         }
3934 |       ],
3935 |       "license": "MIT",
3936 |       "dependencies": {
3937 |         "micromark-util-types": "^1.0.0"
3938 |       }
3939 |     },
3940 |     "node_modules/micromark-util-sanitize-uri": {
3941 |       "version": "1.1.0",
3942 |       "funding": [
3943 |         {
3944 |           "type": "GitHub Sponsors",
3945 |           "url": "https://github.com/sponsors/unifiedjs"
3946 |         },
3947 |         {
3948 |           "type": "OpenCollective",
3949 |           "url": "https://opencollective.com/unified"
3950 |         }
3951 |       ],
3952 |       "license": "MIT",
3953 |       "dependencies": {
3954 |         "micromark-util-character": "^1.0.0",
3955 |         "micromark-util-encode": "^1.0.0",
3956 |         "micromark-util-symbol": "^1.0.0"
3957 |       }
3958 |     },
3959 |     "node_modules/micromark-util-subtokenize": {
3960 |       "version": "1.0.2",
3961 |       "funding": [
3962 |         {
3963 |           "type": "GitHub Sponsors",
3964 |           "url": "https://github.com/sponsors/unifiedjs"
3965 |         },
3966 |         {
3967 |           "type": "OpenCollective",
3968 |           "url": "https://opencollective.com/unified"
3969 |         }
3970 |       ],
3971 |       "license": "MIT",
3972 |       "dependencies": {
3973 |         "micromark-util-chunked": "^1.0.0",
3974 |         "micromark-util-symbol": "^1.0.0",
3975 |         "micromark-util-types": "^1.0.0",
3976 |         "uvu": "^0.5.0"
3977 |       }
3978 |     },
3979 |     "node_modules/micromark-util-symbol": {
3980 |       "version": "1.0.1",
3981 |       "funding": [
3982 |         {
3983 |           "type": "GitHub Sponsors",
3984 |           "url": "https://github.com/sponsors/unifiedjs"
3985 |         },
3986 |         {
3987 |           "type": "OpenCollective",
3988 |           "url": "https://opencollective.com/unified"
3989 |         }
3990 |       ],
3991 |       "license": "MIT"
3992 |     },
3993 |     "node_modules/micromark-util-types": {
3994 |       "version": "1.0.2",
3995 |       "funding": [
3996 |         {
3997 |           "type": "GitHub Sponsors",
3998 |           "url": "https://github.com/sponsors/unifiedjs"
3999 |         },
4000 |         {
4001 |           "type": "OpenCollective",
4002 |           "url": "https://opencollective.com/unified"
4003 |         }
4004 |       ],
4005 |       "license": "MIT"
4006 |     },
4007 |     "node_modules/micromatch": {
4008 |       "version": "4.0.5",
4009 |       "dev": true,
4010 |       "license": "MIT",
4011 |       "dependencies": {
4012 |         "braces": "^3.0.2",
4013 |         "picomatch": "^2.3.1"
4014 |       },
4015 |       "engines": {
4016 |         "node": ">=8.6"
4017 |       }
4018 |     },
4019 |     "node_modules/mime-db": {
4020 |       "version": "1.52.0",
4021 |       "license": "MIT",
4022 |       "engines": {
4023 |         "node": ">= 0.6"
4024 |       }
4025 |     },
4026 |     "node_modules/mime-types": {
4027 |       "version": "2.1.35",
4028 |       "license": "MIT",
4029 |       "dependencies": {
4030 |         "mime-db": "1.52.0"
4031 |       },
4032 |       "engines": {
4033 |         "node": ">= 0.6"
4034 |       }
4035 |     },
4036 |     "node_modules/mimic-response": {
4037 |       "version": "3.1.0",
4038 |       "license": "MIT",
4039 |       "engines": {
4040 |         "node": ">=10"
4041 |       },
4042 |       "funding": {
4043 |         "url": "https://github.com/sponsors/sindresorhus"
4044 |       }
4045 |     },
4046 |     "node_modules/minimatch": {
4047 |       "version": "3.1.2",
4048 |       "dev": true,
4049 |       "license": "ISC",
4050 |       "dependencies": {
4051 |         "brace-expansion": "^1.1.7"
4052 |       },
4053 |       "engines": {
4054 |         "node": "*"
4055 |       }
4056 |     },
4057 |     "node_modules/minimist": {
4058 |       "version": "1.2.8",
4059 |       "license": "MIT",
4060 |       "funding": {
4061 |         "url": "https://github.com/sponsors/ljharb"
4062 |       }
4063 |     },
4064 |     "node_modules/mkdirp-classic": {
4065 |       "version": "0.5.3",
4066 |       "license": "MIT"
4067 |     },
4068 |     "node_modules/ml-array-mean": {
4069 |       "version": "1.1.6",
4070 |       "license": "MIT",
4071 |       "dependencies": {
4072 |         "ml-array-sum": "^1.1.6"
4073 |       }
4074 |     },
4075 |     "node_modules/ml-array-sum": {
4076 |       "version": "1.1.6",
4077 |       "license": "MIT",
4078 |       "dependencies": {
4079 |         "is-any-array": "^2.0.0"
4080 |       }
4081 |     },
4082 |     "node_modules/ml-distance": {
4083 |       "version": "4.0.0",
4084 |       "license": "MIT",
4085 |       "dependencies": {
4086 |         "ml-array-mean": "^1.1.6",
4087 |         "ml-distance-euclidean": "^2.0.0",
4088 |         "ml-tree-similarity": "^1.0.0"
4089 |       }
4090 |     },
4091 |     "node_modules/ml-distance-euclidean": {
4092 |       "version": "2.0.0",
4093 |       "license": "MIT"
4094 |     },
4095 |     "node_modules/ml-tree-similarity": {
4096 |       "version": "1.0.0",
4097 |       "license": "MIT",
4098 |       "dependencies": {
4099 |         "binary-search": "^1.3.5",
4100 |         "num-sort": "^2.0.0"
4101 |       }
4102 |     },
4103 |     "node_modules/mri": {
4104 |       "version": "1.2.0",
4105 |       "license": "MIT",
4106 |       "engines": {
4107 |         "node": ">=4"
4108 |       }
4109 |     },
4110 |     "node_modules/ms": {
4111 |       "version": "2.1.2",
4112 |       "license": "MIT"
4113 |     },
4114 |     "node_modules/mz": {
4115 |       "version": "2.7.0",
4116 |       "dev": true,
4117 |       "license": "MIT",
4118 |       "dependencies": {
4119 |         "any-promise": "^1.0.0",
4120 |         "object-assign": "^4.0.1",
4121 |         "thenify-all": "^1.0.0"
4122 |       }
4123 |     },
4124 |     "node_modules/nanoid": {
4125 |       "version": "3.3.6",
4126 |       "funding": [
4127 |         {
4128 |           "type": "github",
4129 |           "url": "https://github.com/sponsors/ai"
4130 |         }
4131 |       ],
4132 |       "license": "MIT",
4133 |       "bin": {
4134 |         "nanoid": "bin/nanoid.cjs"
4135 |       },
4136 |       "engines": {
4137 |         "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
4138 |       }
4139 |     },
4140 |     "node_modules/napi-build-utils": {
4141 |       "version": "1.0.2",
4142 |       "license": "MIT"
4143 |     },
4144 |     "node_modules/natural-compare": {
4145 |       "version": "1.4.0",
4146 |       "dev": true,
4147 |       "license": "MIT"
4148 |     },
4149 |     "node_modules/next": {
4150 |       "version": "13.2.3",
4151 |       "license": "MIT",
4152 |       "dependencies": {
4153 |         "@next/env": "13.2.3",
4154 |         "@swc/helpers": "0.4.14",
4155 |         "caniuse-lite": "^1.0.30001406",
4156 |         "postcss": "8.4.14",
4157 |         "styled-jsx": "5.1.1"
4158 |       },
4159 |       "bin": {
4160 |         "next": "dist/bin/next"
4161 |       },
4162 |       "engines": {
4163 |         "node": ">=14.6.0"
4164 |       },
4165 |       "optionalDependencies": {
4166 |         "@next/swc-android-arm-eabi": "13.2.3",
4167 |         "@next/swc-android-arm64": "13.2.3",
4168 |         "@next/swc-darwin-arm64": "13.2.3",
4169 |         "@next/swc-darwin-x64": "13.2.3",
4170 |         "@next/swc-freebsd-x64": "13.2.3",
4171 |         "@next/swc-linux-arm-gnueabihf": "13.2.3",
4172 |         "@next/swc-linux-arm64-gnu": "13.2.3",
4173 |         "@next/swc-linux-arm64-musl": "13.2.3",
4174 |         "@next/swc-linux-x64-gnu": "13.2.3",
4175 |         "@next/swc-linux-x64-musl": "13.2.3",
4176 |         "@next/swc-win32-arm64-msvc": "13.2.3",
4177 |         "@next/swc-win32-ia32-msvc": "13.2.3",
4178 |         "@next/swc-win32-x64-msvc": "13.2.3"
4179 |       },
4180 |       "peerDependencies": {
4181 |         "@opentelemetry/api": "^1.4.0",
4182 |         "fibers": ">= 3.1.0",
4183 |         "node-sass": "^6.0.0 || ^7.0.0",
4184 |         "react": "^18.2.0",
4185 |         "react-dom": "^18.2.0",
4186 |         "sass": "^1.3.0"
4187 |       },
4188 |       "peerDependenciesMeta": {
4189 |         "@opentelemetry/api": {
4190 |           "optional": true
4191 |         },
4192 |         "fibers": {
4193 |           "optional": true
4194 |         },
4195 |         "node-sass": {
4196 |           "optional": true
4197 |         },
4198 |         "sass": {
4199 |           "optional": true
4200 |         }
4201 |       }
4202 |     },
4203 |     "node_modules/next/node_modules/postcss": {
4204 |       "version": "8.4.14",
4205 |       "funding": [
4206 |         {
4207 |           "type": "opencollective",
4208 |           "url": "https://opencollective.com/postcss/"
4209 |         },
4210 |         {
4211 |           "type": "tidelift",
4212 |           "url": "https://tidelift.com/funding/github/npm/postcss"
4213 |         }
4214 |       ],
4215 |       "license": "MIT",
4216 |       "dependencies": {
4217 |         "nanoid": "^3.3.4",
4218 |         "picocolors": "^1.0.0",
4219 |         "source-map-js": "^1.0.2"
4220 |       },
4221 |       "engines": {
4222 |         "node": "^10 || ^12 || >=14"
4223 |       }
4224 |     },
4225 |     "node_modules/node-abi": {
4226 |       "version": "3.40.0",
4227 |       "license": "MIT",
4228 |       "dependencies": {
4229 |         "semver": "^7.3.5"
4230 |       },
4231 |       "engines": {
4232 |         "node": ">=10"
4233 |       }
4234 |     },
4235 |     "node_modules/node-abi/node_modules/semver": {
4236 |       "version": "7.5.1",
4237 |       "license": "ISC",
4238 |       "dependencies": {
4239 |         "lru-cache": "^6.0.0"
4240 |       },
4241 |       "bin": {
4242 |         "semver": "bin/semver.js"
4243 |       },
4244 |       "engines": {
4245 |         "node": ">=10"
4246 |       }
4247 |     },
4248 |     "node_modules/node-addon-api": {
4249 |       "version": "6.1.0",
4250 |       "license": "MIT"
4251 |     },
4252 |     "node_modules/node-ensure": {
4253 |       "version": "0.0.0",
4254 |       "license": "MIT"
4255 |     },
4256 |     "node_modules/node-fetch": {
4257 |       "version": "2.6.7",
4258 |       "license": "MIT",
4259 |       "dependencies": {
4260 |         "whatwg-url": "^5.0.0"
4261 |       },
4262 |       "engines": {
4263 |         "node": "4.x || >=6.0.0"
4264 |       },
4265 |       "peerDependencies": {
4266 |         "encoding": "^0.1.0"
4267 |       },
4268 |       "peerDependenciesMeta": {
4269 |         "encoding": {
4270 |           "optional": true
4271 |         }
4272 |       }
4273 |     },
4274 |     "node_modules/node-releases": {
4275 |       "version": "2.0.10",
4276 |       "dev": true,
4277 |       "license": "MIT"
4278 |     },
4279 |     "node_modules/normalize-path": {
4280 |       "version": "3.0.0",
4281 |       "dev": true,
4282 |       "license": "MIT",
4283 |       "engines": {
4284 |         "node": ">=0.10.0"
4285 |       }
4286 |     },
4287 |     "node_modules/normalize-range": {
4288 |       "version": "0.1.2",
4289 |       "dev": true,
4290 |       "license": "MIT",
4291 |       "engines": {
4292 |         "node": ">=0.10.0"
4293 |       }
4294 |     },
4295 |     "node_modules/num-sort": {
4296 |       "version": "2.1.0",
4297 |       "license": "MIT",
4298 |       "engines": {
4299 |         "node": ">=8"
4300 |       },
4301 |       "funding": {
4302 |         "url": "https://github.com/sponsors/sindresorhus"
4303 |       }
4304 |     },
4305 |     "node_modules/object-assign": {
4306 |       "version": "4.1.1",
4307 |       "license": "MIT",
4308 |       "engines": {
4309 |         "node": ">=0.10.0"
4310 |       }
4311 |     },
4312 |     "node_modules/object-hash": {
4313 |       "version": "3.0.0",
4314 |       "license": "MIT",
4315 |       "engines": {
4316 |         "node": ">= 6"
4317 |       }
4318 |     },
4319 |     "node_modules/object-inspect": {
4320 |       "version": "1.12.3",
4321 |       "dev": true,
4322 |       "license": "MIT",
4323 |       "funding": {
4324 |         "url": "https://github.com/sponsors/ljharb"
4325 |       }
4326 |     },
4327 |     "node_modules/object-is": {
4328 |       "version": "1.1.5",
4329 |       "dev": true,
4330 |       "license": "MIT",
4331 |       "dependencies": {
4332 |         "call-bind": "^1.0.2",
4333 |         "define-properties": "^1.1.3"
4334 |       },
4335 |       "engines": {
4336 |         "node": ">= 0.4"
4337 |       },
4338 |       "funding": {
4339 |         "url": "https://github.com/sponsors/ljharb"
4340 |       }
4341 |     },
4342 |     "node_modules/object-keys": {
4343 |       "version": "1.1.1",
4344 |       "dev": true,
4345 |       "license": "MIT",
4346 |       "engines": {
4347 |         "node": ">= 0.4"
4348 |       }
4349 |     },
4350 |     "node_modules/object.assign": {
4351 |       "version": "4.1.4",
4352 |       "dev": true,
4353 |       "license": "MIT",
4354 |       "dependencies": {
4355 |         "call-bind": "^1.0.2",
4356 |         "define-properties": "^1.1.4",
4357 |         "has-symbols": "^1.0.3",
4358 |         "object-keys": "^1.1.1"
4359 |       },
4360 |       "engines": {
4361 |         "node": ">= 0.4"
4362 |       },
4363 |       "funding": {
4364 |         "url": "https://github.com/sponsors/ljharb"
4365 |       }
4366 |     },
4367 |     "node_modules/object.entries": {
4368 |       "version": "1.1.6",
4369 |       "dev": true,
4370 |       "license": "MIT",
4371 |       "dependencies": {
4372 |         "call-bind": "^1.0.2",
4373 |         "define-properties": "^1.1.4",
4374 |         "es-abstract": "^1.20.4"
4375 |       },
4376 |       "engines": {
4377 |         "node": ">= 0.4"
4378 |       }
4379 |     },
4380 |     "node_modules/object.fromentries": {
4381 |       "version": "2.0.6",
4382 |       "dev": true,
4383 |       "license": "MIT",
4384 |       "dependencies": {
4385 |         "call-bind": "^1.0.2",
4386 |         "define-properties": "^1.1.4",
4387 |         "es-abstract": "^1.20.4"
4388 |       },
4389 |       "engines": {
4390 |         "node": ">= 0.4"
4391 |       },
4392 |       "funding": {
4393 |         "url": "https://github.com/sponsors/ljharb"
4394 |       }
4395 |     },
4396 |     "node_modules/object.hasown": {
4397 |       "version": "1.1.2",
4398 |       "dev": true,
4399 |       "license": "MIT",
4400 |       "dependencies": {
4401 |         "define-properties": "^1.1.4",
4402 |         "es-abstract": "^1.20.4"
4403 |       },
4404 |       "funding": {
4405 |         "url": "https://github.com/sponsors/ljharb"
4406 |       }
4407 |     },
4408 |     "node_modules/object.values": {
4409 |       "version": "1.1.6",
4410 |       "dev": true,
4411 |       "license": "MIT",
4412 |       "dependencies": {
4413 |         "call-bind": "^1.0.2",
4414 |         "define-properties": "^1.1.4",
4415 |         "es-abstract": "^1.20.4"
4416 |       },
4417 |       "engines": {
4418 |         "node": ">= 0.4"
4419 |       },
4420 |       "funding": {
4421 |         "url": "https://github.com/sponsors/ljharb"
4422 |       }
4423 |     },
4424 |     "node_modules/once": {
4425 |       "version": "1.4.0",
4426 |       "license": "ISC",
4427 |       "dependencies": {
4428 |         "wrappy": "1"
4429 |       }
4430 |     },
4431 |     "node_modules/open": {
4432 |       "version": "8.4.2",
4433 |       "dev": true,
4434 |       "license": "MIT",
4435 |       "dependencies": {
4436 |         "define-lazy-prop": "^2.0.0",
4437 |         "is-docker": "^2.1.1",
4438 |         "is-wsl": "^2.2.0"
4439 |       },
4440 |       "engines": {
4441 |         "node": ">=12"
4442 |       },
4443 |       "funding": {
4444 |         "url": "https://github.com/sponsors/sindresorhus"
4445 |       }
4446 |     },
4447 |     "node_modules/openai": {
4448 |       "version": "3.2.1",
4449 |       "license": "MIT",
4450 |       "dependencies": {
4451 |         "axios": "^0.26.0",
4452 |         "form-data": "^4.0.0"
4453 |       }
4454 |     },
4455 |     "node_modules/optionator": {
4456 |       "version": "0.9.1",
4457 |       "dev": true,
4458 |       "license": "MIT",
4459 |       "dependencies": {
4460 |         "deep-is": "^0.1.3",
4461 |         "fast-levenshtein": "^2.0.6",
4462 |         "levn": "^0.4.1",
4463 |         "prelude-ls": "^1.2.1",
4464 |         "type-check": "^0.4.0",
4465 |         "word-wrap": "^1.2.3"
4466 |       },
4467 |       "engines": {
4468 |         "node": ">= 0.8.0"
4469 |       }
4470 |     },
4471 |     "node_modules/p-finally": {
4472 |       "version": "1.0.0",
4473 |       "license": "MIT",
4474 |       "engines": {
4475 |         "node": ">=4"
4476 |       }
4477 |     },
4478 |     "node_modules/p-limit": {
4479 |       "version": "3.1.0",
4480 |       "dev": true,
4481 |       "license": "MIT",
4482 |       "dependencies": {
4483 |         "yocto-queue": "^0.1.0"
4484 |       },
4485 |       "engines": {
4486 |         "node": ">=10"
4487 |       },
4488 |       "funding": {
4489 |         "url": "https://github.com/sponsors/sindresorhus"
4490 |       }
4491 |     },
4492 |     "node_modules/p-locate": {
4493 |       "version": "5.0.0",
4494 |       "dev": true,
4495 |       "license": "MIT",
4496 |       "dependencies": {
4497 |         "p-limit": "^3.0.2"
4498 |       },
4499 |       "engines": {
4500 |         "node": ">=10"
4501 |       },
4502 |       "funding": {
4503 |         "url": "https://github.com/sponsors/sindresorhus"
4504 |       }
4505 |     },
4506 |     "node_modules/p-queue": {
4507 |       "version": "6.6.2",
4508 |       "license": "MIT",
4509 |       "dependencies": {
4510 |         "eventemitter3": "^4.0.4",
4511 |         "p-timeout": "^3.2.0"
4512 |       },
4513 |       "engines": {
4514 |         "node": ">=8"
4515 |       },
4516 |       "funding": {
4517 |         "url": "https://github.com/sponsors/sindresorhus"
4518 |       }
4519 |     },
4520 |     "node_modules/p-retry": {
4521 |       "version": "4.6.2",
4522 |       "license": "MIT",
4523 |       "dependencies": {
4524 |         "@types/retry": "0.12.0",
4525 |         "retry": "^0.13.1"
4526 |       },
4527 |       "engines": {
4528 |         "node": ">=8"
4529 |       }
4530 |     },
4531 |     "node_modules/p-timeout": {
4532 |       "version": "3.2.0",
4533 |       "license": "MIT",
4534 |       "dependencies": {
4535 |         "p-finally": "^1.0.0"
4536 |       },
4537 |       "engines": {
4538 |         "node": ">=8"
4539 |       }
4540 |     },
4541 |     "node_modules/parent-module": {
4542 |       "version": "1.0.1",
4543 |       "dev": true,
4544 |       "license": "MIT",
4545 |       "dependencies": {
4546 |         "callsites": "^3.0.0"
4547 |       },
4548 |       "engines": {
4549 |         "node": ">=6"
4550 |       }
4551 |     },
4552 |     "node_modules/path-exists": {
4553 |       "version": "4.0.0",
4554 |       "dev": true,
4555 |       "license": "MIT",
4556 |       "engines": {
4557 |         "node": ">=8"
4558 |       }
4559 |     },
4560 |     "node_modules/path-is-absolute": {
4561 |       "version": "1.0.1",
4562 |       "dev": true,
4563 |       "license": "MIT",
4564 |       "engines": {
4565 |         "node": ">=0.10.0"
4566 |       }
4567 |     },
4568 |     "node_modules/path-key": {
4569 |       "version": "3.1.1",
4570 |       "dev": true,
4571 |       "license": "MIT",
4572 |       "engines": {
4573 |         "node": ">=8"
4574 |       }
4575 |     },
4576 |     "node_modules/path-parse": {
4577 |       "version": "1.0.7",
4578 |       "dev": true,
4579 |       "license": "MIT"
4580 |     },
4581 |     "node_modules/path-type": {
4582 |       "version": "4.0.0",
4583 |       "dev": true,
4584 |       "license": "MIT",
4585 |       "engines": {
4586 |         "node": ">=8"
4587 |       }
4588 |     },
4589 |     "node_modules/pdf-parse": {
4590 |       "version": "1.1.1",
4591 |       "license": "MIT",
4592 |       "dependencies": {
4593 |         "debug": "^3.1.0",
4594 |         "node-ensure": "^0.0.0"
4595 |       },
4596 |       "engines": {
4597 |         "node": ">=6.8.1"
4598 |       }
4599 |     },
4600 |     "node_modules/pdf-parse/node_modules/debug": {
4601 |       "version": "3.2.7",
4602 |       "license": "MIT",
4603 |       "dependencies": {
4604 |         "ms": "^2.1.1"
4605 |       }
4606 |     },
4607 |     "node_modules/pdf-parse/node_modules/ms": {
4608 |       "version": "2.1.3",
4609 |       "license": "MIT"
4610 |     },
4611 |     "node_modules/pickleparser": {
4612 |       "version": "0.1.0",
4613 |       "license": "MIT",
4614 |       "bin": {
4615 |         "pickleparser": "bin/pickletojson.js",
4616 |         "pickletojson": "bin/pickletojson.js"
4617 |       }
4618 |     },
4619 |     "node_modules/picocolors": {
4620 |       "version": "1.0.0",
4621 |       "license": "ISC"
4622 |     },
4623 |     "node_modules/picomatch": {
4624 |       "version": "2.3.1",
4625 |       "dev": true,
4626 |       "license": "MIT",
4627 |       "engines": {
4628 |         "node": ">=8.6"
4629 |       },
4630 |       "funding": {
4631 |         "url": "https://github.com/sponsors/jonschlinkert"
4632 |       }
4633 |     },
4634 |     "node_modules/pify": {
4635 |       "version": "2.3.0",
4636 |       "dev": true,
4637 |       "license": "MIT",
4638 |       "engines": {
4639 |         "node": ">=0.10.0"
4640 |       }
4641 |     },
4642 |     "node_modules/pirates": {
4643 |       "version": "4.0.5",
4644 |       "dev": true,
4645 |       "license": "MIT",
4646 |       "engines": {
4647 |         "node": ">= 6"
4648 |       }
4649 |     },
4650 |     "node_modules/postcss": {
4651 |       "version": "8.4.21",
4652 |       "dev": true,
4653 |       "funding": [
4654 |         {
4655 |           "type": "opencollective",
4656 |           "url": "https://opencollective.com/postcss/"
4657 |         },
4658 |         {
4659 |           "type": "tidelift",
4660 |           "url": "https://tidelift.com/funding/github/npm/postcss"
4661 |         }
4662 |       ],
4663 |       "license": "MIT",
4664 |       "dependencies": {
4665 |         "nanoid": "^3.3.4",
4666 |         "picocolors": "^1.0.0",
4667 |         "source-map-js": "^1.0.2"
4668 |       },
4669 |       "engines": {
4670 |         "node": "^10 || ^12 || >=14"
4671 |       }
4672 |     },
4673 |     "node_modules/postcss-import": {
4674 |       "version": "14.1.0",
4675 |       "dev": true,
4676 |       "license": "MIT",
4677 |       "dependencies": {
4678 |         "postcss-value-parser": "^4.0.0",
4679 |         "read-cache": "^1.0.0",
4680 |         "resolve": "^1.1.7"
4681 |       },
4682 |       "engines": {
4683 |         "node": ">=10.0.0"
4684 |       },
4685 |       "peerDependencies": {
4686 |         "postcss": "^8.0.0"
4687 |       }
4688 |     },
4689 |     "node_modules/postcss-js": {
4690 |       "version": "4.0.1",
4691 |       "dev": true,
4692 |       "license": "MIT",
4693 |       "dependencies": {
4694 |         "camelcase-css": "^2.0.1"
4695 |       },
4696 |       "engines": {
4697 |         "node": "^12 || ^14 || >= 16"
4698 |       },
4699 |       "funding": {
4700 |         "type": "opencollective",
4701 |         "url": "https://opencollective.com/postcss/"
4702 |       },
4703 |       "peerDependencies": {
4704 |         "postcss": "^8.4.21"
4705 |       }
4706 |     },
4707 |     "node_modules/postcss-load-config": {
4708 |       "version": "3.1.4",
4709 |       "dev": true,
4710 |       "license": "MIT",
4711 |       "dependencies": {
4712 |         "lilconfig": "^2.0.5",
4713 |         "yaml": "^1.10.2"
4714 |       },
4715 |       "engines": {
4716 |         "node": ">= 10"
4717 |       },
4718 |       "funding": {
4719 |         "type": "opencollective",
4720 |         "url": "https://opencollective.com/postcss/"
4721 |       },
4722 |       "peerDependencies": {
4723 |         "postcss": ">=8.0.9",
4724 |         "ts-node": ">=9.0.0"
4725 |       },
4726 |       "peerDependenciesMeta": {
4727 |         "postcss": {
4728 |           "optional": true
4729 |         },
4730 |         "ts-node": {
4731 |           "optional": true
4732 |         }
4733 |       }
4734 |     },
4735 |     "node_modules/postcss-load-config/node_modules/yaml": {
4736 |       "version": "1.10.2",
4737 |       "dev": true,
4738 |       "license": "ISC",
4739 |       "engines": {
4740 |         "node": ">= 6"
4741 |       }
4742 |     },
4743 |     "node_modules/postcss-nested": {
4744 |       "version": "6.0.0",
4745 |       "dev": true,
4746 |       "license": "MIT",
4747 |       "dependencies": {
4748 |         "postcss-selector-parser": "^6.0.10"
4749 |       },
4750 |       "engines": {
4751 |         "node": ">=12.0"
4752 |       },
4753 |       "funding": {
4754 |         "type": "opencollective",
4755 |         "url": "https://opencollective.com/postcss/"
4756 |       },
4757 |       "peerDependencies": {
4758 |         "postcss": "^8.2.14"
4759 |       }
4760 |     },
4761 |     "node_modules/postcss-selector-parser": {
4762 |       "version": "6.0.11",
4763 |       "dev": true,
4764 |       "license": "MIT",
4765 |       "dependencies": {
4766 |         "cssesc": "^3.0.0",
4767 |         "util-deprecate": "^1.0.2"
4768 |       },
4769 |       "engines": {
4770 |         "node": ">=4"
4771 |       }
4772 |     },
4773 |     "node_modules/postcss-value-parser": {
4774 |       "version": "4.2.0",
4775 |       "dev": true,
4776 |       "license": "MIT"
4777 |     },
4778 |     "node_modules/prebuild-install": {
4779 |       "version": "7.1.1",
4780 |       "license": "MIT",
4781 |       "dependencies": {
4782 |         "detect-libc": "^2.0.0",
4783 |         "expand-template": "^2.0.3",
4784 |         "github-from-package": "0.0.0",
4785 |         "minimist": "^1.2.3",
4786 |         "mkdirp-classic": "^0.5.3",
4787 |         "napi-build-utils": "^1.0.1",
4788 |         "node-abi": "^3.3.0",
4789 |         "pump": "^3.0.0",
4790 |         "rc": "^1.2.7",
4791 |         "simple-get": "^4.0.0",
4792 |         "tar-fs": "^2.0.0",
4793 |         "tunnel-agent": "^0.6.0"
4794 |       },
4795 |       "bin": {
4796 |         "prebuild-install": "bin.js"
4797 |       },
4798 |       "engines": {
4799 |         "node": ">=10"
4800 |       }
4801 |     },
4802 |     "node_modules/prelude-ls": {
4803 |       "version": "1.2.1",
4804 |       "dev": true,
4805 |       "license": "MIT",
4806 |       "engines": {
4807 |         "node": ">= 0.8.0"
4808 |       }
4809 |     },
4810 |     "node_modules/prettier": {
4811 |       "version": "2.8.7",
4812 |       "dev": true,
4813 |       "license": "MIT",
4814 |       "bin": {
4815 |         "prettier": "bin-prettier.js"
4816 |       },
4817 |       "engines": {
4818 |         "node": ">=10.13.0"
4819 |       },
4820 |       "funding": {
4821 |         "url": "https://github.com/prettier/prettier?sponsor=1"
4822 |       }
4823 |     },
4824 |     "node_modules/prop-types": {
4825 |       "version": "15.8.1",
4826 |       "license": "MIT",
4827 |       "dependencies": {
4828 |         "loose-envify": "^1.4.0",
4829 |         "object-assign": "^4.1.1",
4830 |         "react-is": "^16.13.1"
4831 |       }
4832 |     },
4833 |     "node_modules/prop-types/node_modules/react-is": {
4834 |       "version": "16.13.1",
4835 |       "license": "MIT"
4836 |     },
4837 |     "node_modules/property-information": {
4838 |       "version": "6.2.0",
4839 |       "license": "MIT",
4840 |       "funding": {
4841 |         "type": "github",
4842 |         "url": "https://github.com/sponsors/wooorm"
4843 |       }
4844 |     },
4845 |     "node_modules/pump": {
4846 |       "version": "3.0.0",
4847 |       "license": "MIT",
4848 |       "dependencies": {
4849 |         "end-of-stream": "^1.1.0",
4850 |         "once": "^1.3.1"
4851 |       }
4852 |     },
4853 |     "node_modules/punycode": {
4854 |       "version": "2.3.0",
4855 |       "dev": true,
4856 |       "license": "MIT",
4857 |       "engines": {
4858 |         "node": ">=6"
4859 |       }
4860 |     },
4861 |     "node_modules/queue-microtask": {
4862 |       "version": "1.2.3",
4863 |       "dev": true,
4864 |       "funding": [
4865 |         {
4866 |           "type": "github",
4867 |           "url": "https://github.com/sponsors/feross"
4868 |         },
4869 |         {
4870 |           "type": "patreon",
4871 |           "url": "https://www.patreon.com/feross"
4872 |         },
4873 |         {
4874 |           "type": "consulting",
4875 |           "url": "https://feross.org/support"
4876 |         }
4877 |       ],
4878 |       "license": "MIT"
4879 |     },
4880 |     "node_modules/quick-lru": {
4881 |       "version": "5.1.1",
4882 |       "dev": true,
4883 |       "license": "MIT",
4884 |       "engines": {
4885 |         "node": ">=10"
4886 |       },
4887 |       "funding": {
4888 |         "url": "https://github.com/sponsors/sindresorhus"
4889 |       }
4890 |     },
4891 |     "node_modules/rc": {
4892 |       "version": "1.2.8",
4893 |       "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
4894 |       "dependencies": {
4895 |         "deep-extend": "^0.6.0",
4896 |         "ini": "~1.3.0",
4897 |         "minimist": "^1.2.0",
4898 |         "strip-json-comments": "~2.0.1"
4899 |       },
4900 |       "bin": {
4901 |         "rc": "cli.js"
4902 |       }
4903 |     },
4904 |     "node_modules/rc/node_modules/strip-json-comments": {
4905 |       "version": "2.0.1",
4906 |       "license": "MIT",
4907 |       "engines": {
4908 |         "node": ">=0.10.0"
4909 |       }
4910 |     },
4911 |     "node_modules/react": {
4912 |       "version": "18.2.0",
4913 |       "license": "MIT",
4914 |       "dependencies": {
4915 |         "loose-envify": "^1.1.0"
4916 |       },
4917 |       "engines": {
4918 |         "node": ">=0.10.0"
4919 |       }
4920 |     },
4921 |     "node_modules/react-dom": {
4922 |       "version": "18.2.0",
4923 |       "license": "MIT",
4924 |       "dependencies": {
4925 |         "loose-envify": "^1.1.0",
4926 |         "scheduler": "^0.23.0"
4927 |       },
4928 |       "peerDependencies": {
4929 |         "react": "^18.2.0"
4930 |       }
4931 |     },
4932 |     "node_modules/react-is": {
4933 |       "version": "18.2.0",
4934 |       "license": "MIT"
4935 |     },
4936 |     "node_modules/react-markdown": {
4937 |       "version": "8.0.7",
4938 |       "license": "MIT",
4939 |       "dependencies": {
4940 |         "@types/hast": "^2.0.0",
4941 |         "@types/prop-types": "^15.0.0",
4942 |         "@types/unist": "^2.0.0",
4943 |         "comma-separated-tokens": "^2.0.0",
4944 |         "hast-util-whitespace": "^2.0.0",
4945 |         "prop-types": "^15.0.0",
4946 |         "property-information": "^6.0.0",
4947 |         "react-is": "^18.0.0",
4948 |         "remark-parse": "^10.0.0",
4949 |         "remark-rehype": "^10.0.0",
4950 |         "space-separated-tokens": "^2.0.0",
4951 |         "style-to-object": "^0.4.0",
4952 |         "unified": "^10.0.0",
4953 |         "unist-util-visit": "^4.0.0",
4954 |         "vfile": "^5.0.0"
4955 |       },
4956 |       "funding": {
4957 |         "type": "opencollective",
4958 |         "url": "https://opencollective.com/unified"
4959 |       },
4960 |       "peerDependencies": {
4961 |         "@types/react": ">=16",
4962 |         "react": ">=16"
4963 |       }
4964 |     },
4965 |     "node_modules/read-cache": {
4966 |       "version": "1.0.0",
4967 |       "dev": true,
4968 |       "license": "MIT",
4969 |       "dependencies": {
4970 |         "pify": "^2.3.0"
4971 |       }
4972 |     },
4973 |     "node_modules/readable-stream": {
4974 |       "version": "3.6.2",
4975 |       "license": "MIT",
4976 |       "dependencies": {
4977 |         "inherits": "^2.0.3",
4978 |         "string_decoder": "^1.1.1",
4979 |         "util-deprecate": "^1.0.1"
4980 |       },
4981 |       "engines": {
4982 |         "node": ">= 6"
4983 |       }
4984 |     },
4985 |     "node_modules/readdirp": {
4986 |       "version": "3.6.0",
4987 |       "dev": true,
4988 |       "license": "MIT",
4989 |       "dependencies": {
4990 |         "picomatch": "^2.2.1"
4991 |       },
4992 |       "engines": {
4993 |         "node": ">=8.10.0"
4994 |       }
4995 |     },
4996 |     "node_modules/regenerator-runtime": {
4997 |       "version": "0.13.11",
4998 |       "license": "MIT"
4999 |     },
5000 |     "node_modules/regexp.prototype.flags": {
5001 |       "version": "1.4.3",
5002 |       "dev": true,
5003 |       "license": "MIT",
5004 |       "dependencies": {
5005 |         "call-bind": "^1.0.2",
5006 |         "define-properties": "^1.1.3",
5007 |         "functions-have-names": "^1.2.2"
5008 |       },
5009 |       "engines": {
5010 |         "node": ">= 0.4"
5011 |       },
5012 |       "funding": {
5013 |         "url": "https://github.com/sponsors/ljharb"
5014 |       }
5015 |     },
5016 |     "node_modules/regexpp": {
5017 |       "version": "3.2.0",
5018 |       "dev": true,
5019 |       "license": "MIT",
5020 |       "engines": {
5021 |         "node": ">=8"
5022 |       },
5023 |       "funding": {
5024 |         "url": "https://github.com/sponsors/mysticatea"
5025 |       }
5026 |     },
5027 |     "node_modules/remark-parse": {
5028 |       "version": "10.0.1",
5029 |       "license": "MIT",
5030 |       "dependencies": {
5031 |         "@types/mdast": "^3.0.0",
5032 |         "mdast-util-from-markdown": "^1.0.0",
5033 |         "unified": "^10.0.0"
5034 |       },
5035 |       "funding": {
5036 |         "type": "opencollective",
5037 |         "url": "https://opencollective.com/unified"
5038 |       }
5039 |     },
5040 |     "node_modules/remark-rehype": {
5041 |       "version": "10.1.0",
5042 |       "license": "MIT",
5043 |       "dependencies": {
5044 |         "@types/hast": "^2.0.0",
5045 |         "@types/mdast": "^3.0.0",
5046 |         "mdast-util-to-hast": "^12.1.0",
5047 |         "unified": "^10.0.0"
5048 |       },
5049 |       "funding": {
5050 |         "type": "opencollective",
5051 |         "url": "https://opencollective.com/unified"
5052 |       }
5053 |     },
5054 |     "node_modules/resolve": {
5055 |       "version": "1.22.2",
5056 |       "dev": true,
5057 |       "license": "MIT",
5058 |       "dependencies": {
5059 |         "is-core-module": "^2.11.0",
5060 |         "path-parse": "^1.0.7",
5061 |         "supports-preserve-symlinks-flag": "^1.0.0"
5062 |       },
5063 |       "bin": {
5064 |         "resolve": "bin/resolve"
5065 |       },
5066 |       "funding": {
5067 |         "url": "https://github.com/sponsors/ljharb"
5068 |       }
5069 |     },
5070 |     "node_modules/resolve-from": {
5071 |       "version": "4.0.0",
5072 |       "dev": true,
5073 |       "license": "MIT",
5074 |       "engines": {
5075 |         "node": ">=4"
5076 |       }
5077 |     },
5078 |     "node_modules/retry": {
5079 |       "version": "0.13.1",
5080 |       "license": "MIT",
5081 |       "engines": {
5082 |         "node": ">= 4"
5083 |       }
5084 |     },
5085 |     "node_modules/reusify": {
5086 |       "version": "1.0.4",
5087 |       "dev": true,
5088 |       "license": "MIT",
5089 |       "engines": {
5090 |         "iojs": ">=1.0.0",
5091 |         "node": ">=0.10.0"
5092 |       }
5093 |     },
5094 |     "node_modules/rimraf": {
5095 |       "version": "3.0.2",
5096 |       "dev": true,
5097 |       "license": "ISC",
5098 |       "dependencies": {
5099 |         "glob": "^7.1.3"
5100 |       },
5101 |       "bin": {
5102 |         "rimraf": "bin.js"
5103 |       },
5104 |       "funding": {
5105 |         "url": "https://github.com/sponsors/isaacs"
5106 |       }
5107 |     },
5108 |     "node_modules/rimraf/node_modules/glob": {
5109 |       "version": "7.2.3",
5110 |       "dev": true,
5111 |       "license": "ISC",
5112 |       "dependencies": {
5113 |         "fs.realpath": "^1.0.0",
5114 |         "inflight": "^1.0.4",
5115 |         "inherits": "2",
5116 |         "minimatch": "^3.1.1",
5117 |         "once": "^1.3.0",
5118 |         "path-is-absolute": "^1.0.0"
5119 |       },
5120 |       "engines": {
5121 |         "node": "*"
5122 |       },
5123 |       "funding": {
5124 |         "url": "https://github.com/sponsors/isaacs"
5125 |       }
5126 |     },
5127 |     "node_modules/run-parallel": {
5128 |       "version": "1.2.0",
5129 |       "dev": true,
5130 |       "funding": [
5131 |         {
5132 |           "type": "github",
5133 |           "url": "https://github.com/sponsors/feross"
5134 |         },
5135 |         {
5136 |           "type": "patreon",
5137 |           "url": "https://www.patreon.com/feross"
5138 |         },
5139 |         {
5140 |           "type": "consulting",
5141 |           "url": "https://feross.org/support"
5142 |         }
5143 |       ],
5144 |       "license": "MIT",
5145 |       "dependencies": {
5146 |         "queue-microtask": "^1.2.2"
5147 |       }
5148 |     },
5149 |     "node_modules/rw": {
5150 |       "version": "1.3.3",
5151 |       "license": "BSD-3-Clause"
5152 |     },
5153 |     "node_modules/sade": {
5154 |       "version": "1.8.1",
5155 |       "license": "MIT",
5156 |       "dependencies": {
5157 |         "mri": "^1.1.0"
5158 |       },
5159 |       "engines": {
5160 |         "node": ">=6"
5161 |       }
5162 |     },
5163 |     "node_modules/safe-buffer": {
5164 |       "version": "5.2.1",
5165 |       "funding": [
5166 |         {
5167 |           "type": "github",
5168 |           "url": "https://github.com/sponsors/feross"
5169 |         },
5170 |         {
5171 |           "type": "patreon",
5172 |           "url": "https://www.patreon.com/feross"
5173 |         },
5174 |         {
5175 |           "type": "consulting",
5176 |           "url": "https://feross.org/support"
5177 |         }
5178 |       ],
5179 |       "license": "MIT"
5180 |     },
5181 |     "node_modules/safe-regex-test": {
5182 |       "version": "1.0.0",
5183 |       "dev": true,
5184 |       "license": "MIT",
5185 |       "dependencies": {
5186 |         "call-bind": "^1.0.2",
5187 |         "get-intrinsic": "^1.1.3",
5188 |         "is-regex": "^1.1.4"
5189 |       },
5190 |       "funding": {
5191 |         "url": "https://github.com/sponsors/ljharb"
5192 |       }
5193 |     },
5194 |     "node_modules/safer-buffer": {
5195 |       "version": "2.1.2",
5196 |       "license": "MIT"
5197 |     },
5198 |     "node_modules/scheduler": {
5199 |       "version": "0.23.0",
5200 |       "license": "MIT",
5201 |       "dependencies": {
5202 |         "loose-envify": "^1.1.0"
5203 |       }
5204 |     },
5205 |     "node_modules/semver": {
5206 |       "version": "6.3.0",
5207 |       "dev": true,
5208 |       "license": "ISC",
5209 |       "bin": {
5210 |         "semver": "bin/semver.js"
5211 |       }
5212 |     },
5213 |     "node_modules/shebang-command": {
5214 |       "version": "2.0.0",
5215 |       "dev": true,
5216 |       "license": "MIT",
5217 |       "dependencies": {
5218 |         "shebang-regex": "^3.0.0"
5219 |       },
5220 |       "engines": {
5221 |         "node": ">=8"
5222 |       }
5223 |     },
5224 |     "node_modules/shebang-regex": {
5225 |       "version": "3.0.0",
5226 |       "dev": true,
5227 |       "license": "MIT",
5228 |       "engines": {
5229 |         "node": ">=8"
5230 |       }
5231 |     },
5232 |     "node_modules/side-channel": {
5233 |       "version": "1.0.4",
5234 |       "dev": true,
5235 |       "license": "MIT",
5236 |       "dependencies": {
5237 |         "call-bind": "^1.0.0",
5238 |         "get-intrinsic": "^1.0.2",
5239 |         "object-inspect": "^1.9.0"
5240 |       },
5241 |       "funding": {
5242 |         "url": "https://github.com/sponsors/ljharb"
5243 |       }
5244 |     },
5245 |     "node_modules/simple-concat": {
5246 |       "version": "1.0.1",
5247 |       "funding": [
5248 |         {
5249 |           "type": "github",
5250 |           "url": "https://github.com/sponsors/feross"
5251 |         },
5252 |         {
5253 |           "type": "patreon",
5254 |           "url": "https://www.patreon.com/feross"
5255 |         },
5256 |         {
5257 |           "type": "consulting",
5258 |           "url": "https://feross.org/support"
5259 |         }
5260 |       ],
5261 |       "license": "MIT"
5262 |     },
5263 |     "node_modules/simple-get": {
5264 |       "version": "4.0.1",
5265 |       "funding": [
5266 |         {
5267 |           "type": "github",
5268 |           "url": "https://github.com/sponsors/feross"
5269 |         },
5270 |         {
5271 |           "type": "patreon",
5272 |           "url": "https://www.patreon.com/feross"
5273 |         },
5274 |         {
5275 |           "type": "consulting",
5276 |           "url": "https://feross.org/support"
5277 |         }
5278 |       ],
5279 |       "license": "MIT",
5280 |       "dependencies": {
5281 |         "decompress-response": "^6.0.0",
5282 |         "once": "^1.3.1",
5283 |         "simple-concat": "^1.0.0"
5284 |       }
5285 |     },
5286 |     "node_modules/slash": {
5287 |       "version": "3.0.0",
5288 |       "dev": true,
5289 |       "license": "MIT",
5290 |       "engines": {
5291 |         "node": ">=8"
5292 |       }
5293 |     },
5294 |     "node_modules/source-map": {
5295 |       "version": "0.6.1",
5296 |       "dev": true,
5297 |       "license": "BSD-3-Clause",
5298 |       "engines": {
5299 |         "node": ">=0.10.0"
5300 |       }
5301 |     },
5302 |     "node_modules/source-map-js": {
5303 |       "version": "1.0.2",
5304 |       "license": "BSD-3-Clause",
5305 |       "engines": {
5306 |         "node": ">=0.10.0"
5307 |       }
5308 |     },
5309 |     "node_modules/source-map-support": {
5310 |       "version": "0.5.21",
5311 |       "dev": true,
5312 |       "license": "MIT",
5313 |       "dependencies": {
5314 |         "buffer-from": "^1.0.0",
5315 |         "source-map": "^0.6.0"
5316 |       }
5317 |     },
5318 |     "node_modules/space-separated-tokens": {
5319 |       "version": "2.0.2",
5320 |       "license": "MIT",
5321 |       "funding": {
5322 |         "type": "github",
5323 |         "url": "https://github.com/sponsors/wooorm"
5324 |       }
5325 |     },
5326 |     "node_modules/stop-iteration-iterator": {
5327 |       "version": "1.0.0",
5328 |       "dev": true,
5329 |       "license": "MIT",
5330 |       "dependencies": {
5331 |         "internal-slot": "^1.0.4"
5332 |       },
5333 |       "engines": {
5334 |         "node": ">= 0.4"
5335 |       }
5336 |     },
5337 |     "node_modules/string_decoder": {
5338 |       "version": "1.3.0",
5339 |       "license": "MIT",
5340 |       "dependencies": {
5341 |         "safe-buffer": "~5.2.0"
5342 |       }
5343 |     },
5344 |     "node_modules/string.prototype.matchall": {
5345 |       "version": "4.0.8",
5346 |       "dev": true,
5347 |       "license": "MIT",
5348 |       "dependencies": {
5349 |         "call-bind": "^1.0.2",
5350 |         "define-properties": "^1.1.4",
5351 |         "es-abstract": "^1.20.4",
5352 |         "get-intrinsic": "^1.1.3",
5353 |         "has-symbols": "^1.0.3",
5354 |         "internal-slot": "^1.0.3",
5355 |         "regexp.prototype.flags": "^1.4.3",
5356 |         "side-channel": "^1.0.4"
5357 |       },
5358 |       "funding": {
5359 |         "url": "https://github.com/sponsors/ljharb"
5360 |       }
5361 |     },
5362 |     "node_modules/string.prototype.trim": {
5363 |       "version": "1.2.7",
5364 |       "dev": true,
5365 |       "license": "MIT",
5366 |       "dependencies": {
5367 |         "call-bind": "^1.0.2",
5368 |         "define-properties": "^1.1.4",
5369 |         "es-abstract": "^1.20.4"
5370 |       },
5371 |       "engines": {
5372 |         "node": ">= 0.4"
5373 |       },
5374 |       "funding": {
5375 |         "url": "https://github.com/sponsors/ljharb"
5376 |       }
5377 |     },
5378 |     "node_modules/string.prototype.trimend": {
5379 |       "version": "1.0.6",
5380 |       "dev": true,
5381 |       "license": "MIT",
5382 |       "dependencies": {
5383 |         "call-bind": "^1.0.2",
5384 |         "define-properties": "^1.1.4",
5385 |         "es-abstract": "^1.20.4"
5386 |       },
5387 |       "funding": {
5388 |         "url": "https://github.com/sponsors/ljharb"
5389 |       }
5390 |     },
5391 |     "node_modules/string.prototype.trimstart": {
5392 |       "version": "1.0.6",
5393 |       "dev": true,
5394 |       "license": "MIT",
5395 |       "dependencies": {
5396 |         "call-bind": "^1.0.2",
5397 |         "define-properties": "^1.1.4",
5398 |         "es-abstract": "^1.20.4"
5399 |       },
5400 |       "funding": {
5401 |         "url": "https://github.com/sponsors/ljharb"
5402 |       }
5403 |     },
5404 |     "node_modules/strip-ansi": {
5405 |       "version": "6.0.1",
5406 |       "dev": true,
5407 |       "license": "MIT",
5408 |       "dependencies": {
5409 |         "ansi-regex": "^5.0.1"
5410 |       },
5411 |       "engines": {
5412 |         "node": ">=8"
5413 |       }
5414 |     },
5415 |     "node_modules/strip-bom": {
5416 |       "version": "3.0.0",
5417 |       "dev": true,
5418 |       "license": "MIT",
5419 |       "engines": {
5420 |         "node": ">=4"
5421 |       }
5422 |     },
5423 |     "node_modules/strip-json-comments": {
5424 |       "version": "3.1.1",
5425 |       "dev": true,
5426 |       "license": "MIT",
5427 |       "engines": {
5428 |         "node": ">=8"
5429 |       },
5430 |       "funding": {
5431 |         "url": "https://github.com/sponsors/sindresorhus"
5432 |       }
5433 |     },
5434 |     "node_modules/style-to-object": {
5435 |       "version": "0.4.1",
5436 |       "license": "MIT",
5437 |       "dependencies": {
5438 |         "inline-style-parser": "0.1.1"
5439 |       }
5440 |     },
5441 |     "node_modules/styled-jsx": {
5442 |       "version": "5.1.1",
5443 |       "license": "MIT",
5444 |       "dependencies": {
5445 |         "client-only": "0.0.1"
5446 |       },
5447 |       "engines": {
5448 |         "node": ">= 12.0.0"
5449 |       },
5450 |       "peerDependencies": {
5451 |         "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0"
5452 |       },
5453 |       "peerDependenciesMeta": {
5454 |         "@babel/core": {
5455 |           "optional": true
5456 |         },
5457 |         "babel-plugin-macros": {
5458 |           "optional": true
5459 |         }
5460 |       }
5461 |     },
5462 |     "node_modules/sucrase": {
5463 |       "version": "3.32.0",
5464 |       "dev": true,
5465 |       "license": "MIT",
5466 |       "dependencies": {
5467 |         "@jridgewell/gen-mapping": "^0.3.2",
5468 |         "commander": "^4.0.0",
5469 |         "glob": "7.1.6",
5470 |         "lines-and-columns": "^1.1.6",
5471 |         "mz": "^2.7.0",
5472 |         "pirates": "^4.0.1",
5473 |         "ts-interface-checker": "^0.1.9"
5474 |       },
5475 |       "bin": {
5476 |         "sucrase": "bin/sucrase",
5477 |         "sucrase-node": "bin/sucrase-node"
5478 |       },
5479 |       "engines": {
5480 |         "node": ">=8"
5481 |       }
5482 |     },
5483 |     "node_modules/sucrase/node_modules/commander": {
5484 |       "version": "4.1.1",
5485 |       "dev": true,
5486 |       "license": "MIT",
5487 |       "engines": {
5488 |         "node": ">= 6"
5489 |       }
5490 |     },
5491 |     "node_modules/supports-color": {
5492 |       "version": "7.2.0",
5493 |       "dev": true,
5494 |       "license": "MIT",
5495 |       "dependencies": {
5496 |         "has-flag": "^4.0.0"
5497 |       },
5498 |       "engines": {
5499 |         "node": ">=8"
5500 |       }
5501 |     },
5502 |     "node_modules/supports-preserve-symlinks-flag": {
5503 |       "version": "1.0.0",
5504 |       "dev": true,
5505 |       "license": "MIT",
5506 |       "engines": {
5507 |         "node": ">= 0.4"
5508 |       },
5509 |       "funding": {
5510 |         "url": "https://github.com/sponsors/ljharb"
5511 |       }
5512 |     },
5513 |     "node_modules/synckit": {
5514 |       "version": "0.8.5",
5515 |       "dev": true,
5516 |       "license": "MIT",
5517 |       "dependencies": {
5518 |         "@pkgr/utils": "^2.3.1",
5519 |         "tslib": "^2.5.0"
5520 |       },
5521 |       "engines": {
5522 |         "node": "^14.18.0 || >=16.0.0"
5523 |       },
5524 |       "funding": {
5525 |         "url": "https://opencollective.com/unts"
5526 |       }
5527 |     },
5528 |     "node_modules/tailwind-merge": {
5529 |       "version": "1.12.0",
5530 |       "license": "MIT",
5531 |       "funding": {
5532 |         "type": "github",
5533 |         "url": "https://github.com/sponsors/dcastil"
5534 |       }
5535 |     },
5536 |     "node_modules/tailwindcss": {
5537 |       "version": "3.3.1",
5538 |       "dev": true,
5539 |       "license": "MIT",
5540 |       "dependencies": {
5541 |         "arg": "^5.0.2",
5542 |         "chokidar": "^3.5.3",
5543 |         "color-name": "^1.1.4",
5544 |         "didyoumean": "^1.2.2",
5545 |         "dlv": "^1.1.3",
5546 |         "fast-glob": "^3.2.12",
5547 |         "glob-parent": "^6.0.2",
5548 |         "is-glob": "^4.0.3",
5549 |         "jiti": "^1.17.2",
5550 |         "lilconfig": "^2.0.6",
5551 |         "micromatch": "^4.0.5",
5552 |         "normalize-path": "^3.0.0",
5553 |         "object-hash": "^3.0.0",
5554 |         "picocolors": "^1.0.0",
5555 |         "postcss": "^8.0.9",
5556 |         "postcss-import": "^14.1.0",
5557 |         "postcss-js": "^4.0.0",
5558 |         "postcss-load-config": "^3.1.4",
5559 |         "postcss-nested": "6.0.0",
5560 |         "postcss-selector-parser": "^6.0.11",
5561 |         "postcss-value-parser": "^4.2.0",
5562 |         "quick-lru": "^5.1.1",
5563 |         "resolve": "^1.22.1",
5564 |         "sucrase": "^3.29.0"
5565 |       },
5566 |       "bin": {
5567 |         "tailwind": "lib/cli.js",
5568 |         "tailwindcss": "lib/cli.js"
5569 |       },
5570 |       "engines": {
5571 |         "node": ">=12.13.0"
5572 |       },
5573 |       "peerDependencies": {
5574 |         "postcss": "^8.0.9"
5575 |       }
5576 |     },
5577 |     "node_modules/tailwindcss/node_modules/glob-parent": {
5578 |       "version": "6.0.2",
5579 |       "dev": true,
5580 |       "license": "ISC",
5581 |       "dependencies": {
5582 |         "is-glob": "^4.0.3"
5583 |       },
5584 |       "engines": {
5585 |         "node": ">=10.13.0"
5586 |       }
5587 |     },
5588 |     "node_modules/tapable": {
5589 |       "version": "2.2.1",
5590 |       "dev": true,
5591 |       "license": "MIT",
5592 |       "engines": {
5593 |         "node": ">=6"
5594 |       }
5595 |     },
5596 |     "node_modules/tar-fs": {
5597 |       "version": "2.1.1",
5598 |       "license": "MIT",
5599 |       "dependencies": {
5600 |         "chownr": "^1.1.1",
5601 |         "mkdirp-classic": "^0.5.2",
5602 |         "pump": "^3.0.0",
5603 |         "tar-stream": "^2.1.4"
5604 |       }
5605 |     },
5606 |     "node_modules/tar-stream": {
5607 |       "version": "2.2.0",
5608 |       "license": "MIT",
5609 |       "dependencies": {
5610 |         "bl": "^4.0.3",
5611 |         "end-of-stream": "^1.4.1",
5612 |         "fs-constants": "^1.0.0",
5613 |         "inherits": "^2.0.3",
5614 |         "readable-stream": "^3.1.1"
5615 |       },
5616 |       "engines": {
5617 |         "node": ">=6"
5618 |       }
5619 |     },
5620 |     "node_modules/text-table": {
5621 |       "version": "0.2.0",
5622 |       "dev": true,
5623 |       "license": "MIT"
5624 |     },
5625 |     "node_modules/thenify": {
5626 |       "version": "3.3.1",
5627 |       "dev": true,
5628 |       "license": "MIT",
5629 |       "dependencies": {
5630 |         "any-promise": "^1.0.0"
5631 |       }
5632 |     },
5633 |     "node_modules/thenify-all": {
5634 |       "version": "1.6.0",
5635 |       "dev": true,
5636 |       "license": "MIT",
5637 |       "dependencies": {
5638 |         "thenify": ">= 3.1.0 < 4"
5639 |       },
5640 |       "engines": {
5641 |         "node": ">=0.8"
5642 |       }
5643 |     },
5644 |     "node_modules/tiny-glob": {
5645 |       "version": "0.2.9",
5646 |       "dev": true,
5647 |       "license": "MIT",
5648 |       "dependencies": {
5649 |         "globalyzer": "0.1.0",
5650 |         "globrex": "^0.1.2"
5651 |       }
5652 |     },
5653 |     "node_modules/to-regex-range": {
5654 |       "version": "5.0.1",
5655 |       "dev": true,
5656 |       "license": "MIT",
5657 |       "dependencies": {
5658 |         "is-number": "^7.0.0"
5659 |       },
5660 |       "engines": {
5661 |         "node": ">=8.0"
5662 |       }
5663 |     },
5664 |     "node_modules/tr46": {
5665 |       "version": "0.0.3",
5666 |       "license": "MIT"
5667 |     },
5668 |     "node_modules/trim-lines": {
5669 |       "version": "3.0.1",
5670 |       "license": "MIT",
5671 |       "funding": {
5672 |         "type": "github",
5673 |         "url": "https://github.com/sponsors/wooorm"
5674 |       }
5675 |     },
5676 |     "node_modules/trough": {
5677 |       "version": "2.1.0",
5678 |       "license": "MIT",
5679 |       "funding": {
5680 |         "type": "github",
5681 |         "url": "https://github.com/sponsors/wooorm"
5682 |       }
5683 |     },
5684 |     "node_modules/ts-interface-checker": {
5685 |       "version": "0.1.13",
5686 |       "dev": true,
5687 |       "license": "Apache-2.0"
5688 |     },
5689 |     "node_modules/tsconfig-paths": {
5690 |       "version": "3.14.2",
5691 |       "dev": true,
5692 |       "license": "MIT",
5693 |       "dependencies": {
5694 |         "@types/json5": "^0.0.29",
5695 |         "json5": "^1.0.2",
5696 |         "minimist": "^1.2.6",
5697 |         "strip-bom": "^3.0.0"
5698 |       }
5699 |     },
5700 |     "node_modules/tslib": {
5701 |       "version": "2.5.0",
5702 |       "license": "0BSD"
5703 |     },
5704 |     "node_modules/tsutils": {
5705 |       "version": "3.21.0",
5706 |       "dev": true,
5707 |       "license": "MIT",
5708 |       "dependencies": {
5709 |         "tslib": "^1.8.1"
5710 |       },
5711 |       "engines": {
5712 |         "node": ">= 6"
5713 |       },
5714 |       "peerDependencies": {
5715 |         "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta"
5716 |       }
5717 |     },
5718 |     "node_modules/tsutils/node_modules/tslib": {
5719 |       "version": "1.14.1",
5720 |       "dev": true,
5721 |       "license": "0BSD"
5722 |     },
5723 |     "node_modules/tsx": {
5724 |       "version": "3.12.6",
5725 |       "dev": true,
5726 |       "license": "MIT",
5727 |       "dependencies": {
5728 |         "@esbuild-kit/cjs-loader": "^2.4.2",
5729 |         "@esbuild-kit/core-utils": "^3.0.0",
5730 |         "@esbuild-kit/esm-loader": "^2.5.5"
5731 |       },
5732 |       "bin": {
5733 |         "tsx": "dist/cli.js"
5734 |       },
5735 |       "optionalDependencies": {
5736 |         "fsevents": "~2.3.2"
5737 |       }
5738 |     },
5739 |     "node_modules/tunnel-agent": {
5740 |       "version": "0.6.0",
5741 |       "license": "Apache-2.0",
5742 |       "dependencies": {
5743 |         "safe-buffer": "^5.0.1"
5744 |       },
5745 |       "engines": {
5746 |         "node": "*"
5747 |       }
5748 |     },
5749 |     "node_modules/type-check": {
5750 |       "version": "0.4.0",
5751 |       "dev": true,
5752 |       "license": "MIT",
5753 |       "dependencies": {
5754 |         "prelude-ls": "^1.2.1"
5755 |       },
5756 |       "engines": {
5757 |         "node": ">= 0.8.0"
5758 |       }
5759 |     },
5760 |     "node_modules/type-fest": {
5761 |       "version": "0.20.2",
5762 |       "dev": true,
5763 |       "license": "(MIT OR CC0-1.0)",
5764 |       "engines": {
5765 |         "node": ">=10"
5766 |       },
5767 |       "funding": {
5768 |         "url": "https://github.com/sponsors/sindresorhus"
5769 |       }
5770 |     },
5771 |     "node_modules/typed-array-length": {
5772 |       "version": "1.0.4",
5773 |       "dev": true,
5774 |       "license": "MIT",
5775 |       "dependencies": {
5776 |         "call-bind": "^1.0.2",
5777 |         "for-each": "^0.3.3",
5778 |         "is-typed-array": "^1.1.9"
5779 |       },
5780 |       "funding": {
5781 |         "url": "https://github.com/sponsors/ljharb"
5782 |       }
5783 |     },
5784 |     "node_modules/typescript": {
5785 |       "version": "4.9.5",
5786 |       "dev": true,
5787 |       "license": "Apache-2.0",
5788 |       "bin": {
5789 |         "tsc": "bin/tsc",
5790 |         "tsserver": "bin/tsserver"
5791 |       },
5792 |       "engines": {
5793 |         "node": ">=4.2.0"
5794 |       }
5795 |     },
5796 |     "node_modules/unbox-primitive": {
5797 |       "version": "1.0.2",
5798 |       "dev": true,
5799 |       "license": "MIT",
5800 |       "dependencies": {
5801 |         "call-bind": "^1.0.2",
5802 |         "has-bigints": "^1.0.2",
5803 |         "has-symbols": "^1.0.3",
5804 |         "which-boxed-primitive": "^1.0.2"
5805 |       },
5806 |       "funding": {
5807 |         "url": "https://github.com/sponsors/ljharb"
5808 |       }
5809 |     },
5810 |     "node_modules/unified": {
5811 |       "version": "10.1.2",
5812 |       "license": "MIT",
5813 |       "dependencies": {
5814 |         "@types/unist": "^2.0.0",
5815 |         "bail": "^2.0.0",
5816 |         "extend": "^3.0.0",
5817 |         "is-buffer": "^2.0.0",
5818 |         "is-plain-obj": "^4.0.0",
5819 |         "trough": "^2.0.0",
5820 |         "vfile": "^5.0.0"
5821 |       },
5822 |       "funding": {
5823 |         "type": "opencollective",
5824 |         "url": "https://opencollective.com/unified"
5825 |       }
5826 |     },
5827 |     "node_modules/unist-util-generated": {
5828 |       "version": "2.0.1",
5829 |       "license": "MIT",
5830 |       "funding": {
5831 |         "type": "opencollective",
5832 |         "url": "https://opencollective.com/unified"
5833 |       }
5834 |     },
5835 |     "node_modules/unist-util-is": {
5836 |       "version": "5.2.1",
5837 |       "license": "MIT",
5838 |       "dependencies": {
5839 |         "@types/unist": "^2.0.0"
5840 |       },
5841 |       "funding": {
5842 |         "type": "opencollective",
5843 |         "url": "https://opencollective.com/unified"
5844 |       }
5845 |     },
5846 |     "node_modules/unist-util-position": {
5847 |       "version": "4.0.4",
5848 |       "license": "MIT",
5849 |       "dependencies": {
5850 |         "@types/unist": "^2.0.0"
5851 |       },
5852 |       "funding": {
5853 |         "type": "opencollective",
5854 |         "url": "https://opencollective.com/unified"
5855 |       }
5856 |     },
5857 |     "node_modules/unist-util-stringify-position": {
5858 |       "version": "3.0.3",
5859 |       "license": "MIT",
5860 |       "dependencies": {
5861 |         "@types/unist": "^2.0.0"
5862 |       },
5863 |       "funding": {
5864 |         "type": "opencollective",
5865 |         "url": "https://opencollective.com/unified"
5866 |       }
5867 |     },
5868 |     "node_modules/unist-util-visit": {
5869 |       "version": "4.1.2",
5870 |       "license": "MIT",
5871 |       "dependencies": {
5872 |         "@types/unist": "^2.0.0",
5873 |         "unist-util-is": "^5.0.0",
5874 |         "unist-util-visit-parents": "^5.1.1"
5875 |       },
5876 |       "funding": {
5877 |         "type": "opencollective",
5878 |         "url": "https://opencollective.com/unified"
5879 |       }
5880 |     },
5881 |     "node_modules/unist-util-visit-parents": {
5882 |       "version": "5.1.3",
5883 |       "license": "MIT",
5884 |       "dependencies": {
5885 |         "@types/unist": "^2.0.0",
5886 |         "unist-util-is": "^5.0.0"
5887 |       },
5888 |       "funding": {
5889 |         "type": "opencollective",
5890 |         "url": "https://opencollective.com/unified"
5891 |       }
5892 |     },
5893 |     "node_modules/update-browserslist-db": {
5894 |       "version": "1.0.10",
5895 |       "dev": true,
5896 |       "funding": [
5897 |         {
5898 |           "type": "opencollective",
5899 |           "url": "https://opencollective.com/browserslist"
5900 |         },
5901 |         {
5902 |           "type": "tidelift",
5903 |           "url": "https://tidelift.com/funding/github/npm/browserslist"
5904 |         }
5905 |       ],
5906 |       "license": "MIT",
5907 |       "dependencies": {
5908 |         "escalade": "^3.1.1",
5909 |         "picocolors": "^1.0.0"
5910 |       },
5911 |       "bin": {
5912 |         "browserslist-lint": "cli.js"
5913 |       },
5914 |       "peerDependencies": {
5915 |         "browserslist": ">= 4.21.0"
5916 |       }
5917 |     },
5918 |     "node_modules/uri-js": {
5919 |       "version": "4.4.1",
5920 |       "dev": true,
5921 |       "license": "BSD-2-Clause",
5922 |       "dependencies": {
5923 |         "punycode": "^2.1.0"
5924 |       }
5925 |     },
5926 |     "node_modules/util-deprecate": {
5927 |       "version": "1.0.2",
5928 |       "license": "MIT"
5929 |     },
5930 |     "node_modules/uuid": {
5931 |       "version": "9.0.0",
5932 |       "license": "MIT",
5933 |       "bin": {
5934 |         "uuid": "dist/bin/uuid"
5935 |       }
5936 |     },
5937 |     "node_modules/uvu": {
5938 |       "version": "0.5.6",
5939 |       "license": "MIT",
5940 |       "dependencies": {
5941 |         "dequal": "^2.0.0",
5942 |         "diff": "^5.0.0",
5943 |         "kleur": "^4.0.3",
5944 |         "sade": "^1.7.3"
5945 |       },
5946 |       "bin": {
5947 |         "uvu": "bin.js"
5948 |       },
5949 |       "engines": {
5950 |         "node": ">=8"
5951 |       }
5952 |     },
5953 |     "node_modules/vfile": {
5954 |       "version": "5.3.7",
5955 |       "license": "MIT",
5956 |       "dependencies": {
5957 |         "@types/unist": "^2.0.0",
5958 |         "is-buffer": "^2.0.0",
5959 |         "unist-util-stringify-position": "^3.0.0",
5960 |         "vfile-message": "^3.0.0"
5961 |       },
5962 |       "funding": {
5963 |         "type": "opencollective",
5964 |         "url": "https://opencollective.com/unified"
5965 |       }
5966 |     },
5967 |     "node_modules/vfile-message": {
5968 |       "version": "3.1.4",
5969 |       "license": "MIT",
5970 |       "dependencies": {
5971 |         "@types/unist": "^2.0.0",
5972 |         "unist-util-stringify-position": "^3.0.0"
5973 |       },
5974 |       "funding": {
5975 |         "type": "opencollective",
5976 |         "url": "https://opencollective.com/unified"
5977 |       }
5978 |     },
5979 |     "node_modules/webidl-conversions": {
5980 |       "version": "3.0.1",
5981 |       "license": "BSD-2-Clause"
5982 |     },
5983 |     "node_modules/whatwg-url": {
5984 |       "version": "5.0.0",
5985 |       "license": "MIT",
5986 |       "dependencies": {
5987 |         "tr46": "~0.0.3",
5988 |         "webidl-conversions": "^3.0.0"
5989 |       }
5990 |     },
5991 |     "node_modules/which": {
5992 |       "version": "2.0.2",
5993 |       "dev": true,
5994 |       "license": "ISC",
5995 |       "dependencies": {
5996 |         "isexe": "^2.0.0"
5997 |       },
5998 |       "bin": {
5999 |         "node-which": "bin/node-which"
6000 |       },
6001 |       "engines": {
6002 |         "node": ">= 8"
6003 |       }
6004 |     },
6005 |     "node_modules/which-boxed-primitive": {
6006 |       "version": "1.0.2",
6007 |       "dev": true,
6008 |       "license": "MIT",
6009 |       "dependencies": {
6010 |         "is-bigint": "^1.0.1",
6011 |         "is-boolean-object": "^1.1.0",
6012 |         "is-number-object": "^1.0.4",
6013 |         "is-string": "^1.0.5",
6014 |         "is-symbol": "^1.0.3"
6015 |       },
6016 |       "funding": {
6017 |         "url": "https://github.com/sponsors/ljharb"
6018 |       }
6019 |     },
6020 |     "node_modules/which-collection": {
6021 |       "version": "1.0.1",
6022 |       "dev": true,
6023 |       "license": "MIT",
6024 |       "dependencies": {
6025 |         "is-map": "^2.0.1",
6026 |         "is-set": "^2.0.1",
6027 |         "is-weakmap": "^2.0.1",
6028 |         "is-weakset": "^2.0.1"
6029 |       },
6030 |       "funding": {
6031 |         "url": "https://github.com/sponsors/ljharb"
6032 |       }
6033 |     },
6034 |     "node_modules/which-typed-array": {
6035 |       "version": "1.1.9",
6036 |       "dev": true,
6037 |       "license": "MIT",
6038 |       "dependencies": {
6039 |         "available-typed-arrays": "^1.0.5",
6040 |         "call-bind": "^1.0.2",
6041 |         "for-each": "^0.3.3",
6042 |         "gopd": "^1.0.1",
6043 |         "has-tostringtag": "^1.0.0",
6044 |         "is-typed-array": "^1.1.10"
6045 |       },
6046 |       "engines": {
6047 |         "node": ">= 0.4"
6048 |       },
6049 |       "funding": {
6050 |         "url": "https://github.com/sponsors/ljharb"
6051 |       }
6052 |     },
6053 |     "node_modules/word-wrap": {
6054 |       "version": "1.2.3",
6055 |       "dev": true,
6056 |       "license": "MIT",
6057 |       "engines": {
6058 |         "node": ">=0.10.0"
6059 |       }
6060 |     },
6061 |     "node_modules/wrappy": {
6062 |       "version": "1.0.2",
6063 |       "license": "ISC"
6064 |     },
6065 |     "node_modules/yallist": {
6066 |       "version": "4.0.0",
6067 |       "license": "ISC"
6068 |     },
6069 |     "node_modules/yaml": {
6070 |       "version": "2.2.1",
6071 |       "license": "ISC",
6072 |       "engines": {
6073 |         "node": ">= 14"
6074 |       }
6075 |     },
6076 |     "node_modules/yocto-queue": {
6077 |       "version": "0.1.0",
6078 |       "dev": true,
6079 |       "license": "MIT",
6080 |       "engines": {
6081 |         "node": ">=10"
6082 |       },
6083 |       "funding": {
6084 |         "url": "https://github.com/sponsors/sindresorhus"
6085 |       }
6086 |     },
6087 |     "node_modules/zod": {
6088 |       "version": "3.21.4",
6089 |       "license": "MIT",
6090 |       "funding": {
6091 |         "url": "https://github.com/sponsors/colinhacks"
6092 |       }
6093 |     },
6094 |     "node_modules/zod-to-json-schema": {
6095 |       "version": "3.21.1",
6096 |       "license": "ISC",
6097 |       "peerDependencies": {
6098 |         "zod": "^3.21.4"
6099 |       }
6100 |     }
6101 |   }
6102 | }
6103 | 
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
 1 | {
 2 |   "name": "gpt4-langchain-pdf-chatbot",
 3 |   "version": "0.1.0",
 4 |   "private": true,
 5 |   "license": "MIT",
 6 |   "author": "Mayooear",
 7 |   "type": "module",
 8 |   "scripts": {
 9 |     "dev": "next dev",
10 |     "build": "next build",
11 |     "start": "next start",
12 |     "type-check": "tsc --noEmit",
13 |     "lint": "eslint --ignore-path .gitignore \"**/*.+(ts|js|tsx)\"",
14 |     "format": "prettier --ignore-path .gitignore \"**/*.+(ts|js|tsx)\" --write",
15 |     "ingest": "tsx -r dotenv/config scripts/ingest-data.ts"
16 |   },
17 |   "dependencies": {
18 |     "@microsoft/fetch-event-source": "^2.0.1",
19 |     "@radix-ui/react-accordion": "^1.1.1",
20 |     "clsx": "^1.2.1",
21 |     "d3-dsv": "2",
22 |     "dotenv": "^16.0.3",
23 |     "faiss-node": "^0.2.0",
24 |     "langchain": "0.0.84",
25 |     "lucide-react": "^0.125.0",
26 |     "next": "13.2.3",
27 |     "pdf-parse": "1.1.1",
28 |     "pickleparser": "^0.1.0",
29 |     "react": "18.2.0",
30 |     "react-dom": "18.2.0",
31 |     "react-markdown": "^8.0.5",
32 |     "tailwind-merge": "^1.10.0"
33 |   },
34 |   "devDependencies": {
35 |     "@types/node": "^18.14.6",
36 |     "@types/react": "^18.0.28",
37 |     "@types/react-dom": "^18.0.11",
38 |     "@typescript-eslint/parser": "^5.54.0",
39 |     "autoprefixer": "^10.4.13",
40 |     "eslint": "8.35.0",
41 |     "eslint-config-next": "13.2.3",
42 |     "postcss": "^8.4.21",
43 |     "prettier": "^2.8.4",
44 |     "tailwindcss": "^3.2.7",
45 |     "tsx": "^3.12.3",
46 |     "typescript": "^4.9.5"
47 |   },
48 |   "engines": {
49 |     "node": ">=18"
50 |   },
51 |   "keywords": [
52 |     "starter",
53 |     "gpt4",
54 |     "chroma",
55 |     "typescript",
56 |     "nextjs",
57 |     "langchain",
58 |     "law",
59 |     "legal",
60 |     "pdf",
61 |     "openai"
62 |   ]
63 | }
64 | 
--------------------------------------------------------------------------------
/pages/_app.tsx:
--------------------------------------------------------------------------------
 1 | import '@/styles/base.css';
 2 | import type { AppProps } from 'next/app';
 3 | import { Inter } from 'next/font/google';
 4 | 
 5 | const inter = Inter({
 6 |   variable: '--font-inter',
 7 |   subsets: ['latin'],
 8 | });
 9 | 
10 | function MyApp({ Component, pageProps }: AppProps) {
11 |   return (
12 |     <>
13 |       
14 |         
15 |       
16 |     >
17 |   );
18 | }
19 | 
20 | export default MyApp;
21 | 
--------------------------------------------------------------------------------
/pages/_document.tsx:
--------------------------------------------------------------------------------
 1 | import { Html, Head, Main, NextScript } from "next/document";
 2 | 
 3 | export default function Document() {
 4 |   return (
 5 |     
 6 |       
 7 |       
 8 |         
 9 |         
10 |       
11 |     
12 |   );
13 | }
14 | 
--------------------------------------------------------------------------------
/pages/api/chat.ts:
--------------------------------------------------------------------------------
 1 | import type { NextApiRequest, NextApiResponse } from 'next';
 2 | import { OpenAIEmbeddings } from 'langchain/embeddings/openai';
 3 | import { Chroma } from 'langchain/vectorstores/chroma';
 4 | import { makeChain } from '@/utils/makechain';
 5 | import { COLLECTION_NAME } from '@/config/chroma';
 6 | import { FaissStore } from 'langchain/vectorstores/faiss';
 7 | 
 8 | // Save the vector store to a directory
 9 | const directory = 'faiss-store';
10 | 
11 | export default async function handler(
12 |   req: NextApiRequest,
13 |   res: NextApiResponse,
14 | ) {
15 |   const { question, history } = req.body;
16 | 
17 |   console.log('question', question);
18 | 
19 |   //only accept post requests
20 |   if (req.method !== 'POST') {
21 |     res.status(405).json({ error: 'Method not allowed' });
22 |     return;
23 |   }
24 | 
25 |   if (!question) {
26 |     return res.status(400).json({ message: 'No question in the request' });
27 |   }
28 |   // OpenAI recommends replacing newlines with spaces for best results
29 |   const sanitizedQuestion = question.trim().replaceAll('\n', ' ');
30 | 
31 |   try {
32 | 
33 |     /* create vectorstore*/
34 |     /* const vectorStore = await Chroma.fromExistingCollection(
35 |       new OpenAIEmbeddings({}),
36 |       {
37 |         collectionName: COLLECTION_NAME,
38 |        },
39 |     ); */
40 |     const vectorStore = await FaissStore.load(
41 |       directory,
42 |       new OpenAIEmbeddings({}),
43 |     );
44 | 
45 |     //create chain
46 |     const chain = makeChain(vectorStore);
47 |     //Ask a question using chat history
48 |     const response = await chain.call({
49 |       question: sanitizedQuestion,
50 |       chat_history: history || [],
51 |     });
52 | 
53 |     console.log('response', response);
54 |     res.status(200).json(response);
55 |   } catch (error: any) {
56 |     console.log('error', error);
57 |     res.status(500).json({ error: error.message || 'Something went wrong' });
58 |   }
59 | }
60 | 
--------------------------------------------------------------------------------
/pages/index.tsx:
--------------------------------------------------------------------------------
  1 | import { useRef, useState, useEffect, Fragment } from 'react';
  2 | import Layout from '@/components/layout';
  3 | import styles from '@/styles/Home.module.css';
  4 | import { Message } from '@/types/chat';
  5 | import Image from 'next/image';
  6 | import ReactMarkdown from 'react-markdown';
  7 | import LoadingDots from '@/components/ui/LoadingDots';
  8 | import { Document } from 'langchain/document';
  9 | import {
 10 |   Accordion,
 11 |   AccordionContent,
 12 |   AccordionItem,
 13 |   AccordionTrigger,
 14 | } from '@/components/ui/accordion';
 15 | 
 16 | const BotAvatar: React.FC = () => {
 17 |   return (
 18 |     
 26 |   );
 27 | };
 28 | 
 29 | const UserAvatar: React.FC = () => {
 30 |   return (
 31 |     
 39 |   );
 40 | };
 41 | 
 42 | export default function Home() {
 43 |   const [query, setQuery] = useState('');
 44 |   const [loading, setLoading] = useState(false);
 45 |   const [error, setError] = useState(null);
 46 |   const [messageState, setMessageState] = useState<{
 47 |     messages: Message[];
 48 |     pending?: string;
 49 |     history: [string, string][];
 50 |     pendingSourceDocs?: Document[];
 51 |   }>({
 52 |     messages: [
 53 |       {
 54 |         message: 'Hi, what would you like to learn about this document?',
 55 |         type: 'apiMessage',
 56 |       },
 57 |     ],
 58 |     history: [],
 59 |   });
 60 | 
 61 |   const { messages, history } = messageState;
 62 | 
 63 |   const messageListRef = useRef(null);
 64 |   const textAreaRef = useRef(null);
 65 | 
 66 |   useEffect(() => {
 67 |     textAreaRef.current?.focus();
 68 |   }, []);
 69 | 
 70 |   //handle form submission
 71 |   async function handleSubmit(e: any) {
 72 |     e.preventDefault();
 73 | 
 74 |     setError(null);
 75 | 
 76 |     if (!query) {
 77 |       alert('Please input a question');
 78 |       return;
 79 |     }
 80 | 
 81 |     const question = query.trim();
 82 | 
 83 |     setMessageState((state) => ({
 84 |       ...state,
 85 |       messages: [
 86 |         ...state.messages,
 87 |         {
 88 |           type: 'userMessage',
 89 |           message: question,
 90 |         },
 91 |       ],
 92 |     }));
 93 | 
 94 |     setLoading(true);
 95 |     setQuery('');
 96 | 
 97 |     try {
 98 |       const response = await fetch('/api/chat', {
 99 |         method: 'POST',
100 |         headers: {
101 |           'Content-Type': 'application/json',
102 |         },
103 |         body: JSON.stringify({
104 |           question,
105 |           history,
106 |         }),
107 |       });
108 |       const data = await response.json();
109 |       console.log('data', data);
110 | 
111 |       if (data.error) {
112 |         setError(data.error);
113 |       } else {
114 |         setMessageState((state) => ({
115 |           ...state,
116 |           messages: [
117 |             ...state.messages,
118 |             {
119 |               type: 'apiMessage',
120 |               message: data.text,
121 |               sourceDocs: data.sourceDocuments,
122 |             },
123 |           ],
124 |           history: [...state.history, [question, data.text]],
125 |         }));
126 |       }
127 |       console.log('messageState', messageState);
128 | 
129 |       setLoading(false);
130 | 
131 |       //scroll to bottom
132 |       messageListRef.current?.scrollTo(0, messageListRef.current.scrollHeight);
133 |     } catch (error) {
134 |       setLoading(false);
135 |       setError('An error occurred while fetching the data. Please try again.');
136 |       console.log('error', error);
137 |     }
138 |   }
139 | 
140 |   //prevent empty submissions
141 |   const handleEnter = (e: any) => {
142 |     if (e.key === 'Enter' && query) {
143 |       handleSubmit(e);
144 |     } else if (e.key == 'Enter') {
145 |       e.preventDefault();
146 |     }
147 |   };
148 | 
149 |   return (
150 |     
151 |       
152 |         
153 |           Chat With Your Docs
154 |         
155 |         
156 |           
157 |             
158 |               {messages.map((message, index) => {
159 |                 let className;
160 |                 if (message.type === 'apiMessage') {
161 |                   className = styles.apimessage;
162 |                 } else {
163 |                   // The latest message sent by the user will be animated while waiting for a response
164 |                   className =
165 |                     loading && index === messages.length - 1
166 |                       ? styles.usermessagewaiting
167 |                       : styles.usermessage;
168 |                 }
169 |                 return (
170 |                   
171 |                     
172 |                       {message.type === 'apiMessage' ? (
173 |                         
174 |                       ) : (
175 |                         
176 |                       )}
177 |                       
178 |                         
179 |                           {message.message}
180 |                         
181 |                       
182 |                     
185 |                         
190 |                           {message.sourceDocs.map((doc, index) => (
191 |                             
192 |                               
193 |                                 
194 |                                   Source {index + 1}
195 |                                 
196 |                                 
197 |                                   
198 |                                     {doc.pageContent}
199 |                                   
200 |                                   
201 |                                     Source: {doc.metadata.source}
202 |                                   
203 |                                 
204 |                               
205 |                             
208 |                       
211 |                 );
212 |               })}
213 |             
214 |           
265 |