diff --git a/README.md b/README.md index 7c2f06f..c4537f6 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

Tranga-Website

- Automatic MangaFunctions and Metadata downloader + Automatic Manga and Metadata downloader

This is the Website for Tranga (API) diff --git a/Website/App.tsx b/Website/App.tsx index a0ecb8e..608aa83 100644 --- a/Website/App.tsx +++ b/Website/App.tsx @@ -4,9 +4,10 @@ import Search from "./modules/Search"; import Header from "./modules/Header"; import MonitorJobsList from "./modules/MonitorJobsList"; import './styles/index.css' -import IFrontendSettings, {LoadFrontendSettings} from "./modules/interfaces/IFrontendSettings"; import {useCookies} from "react-cookie"; import Loader from "./modules/Loader"; +import IFrontendSettings from "./modules/types/IFrontendSettings"; +import {LoadFrontendSettings} from "./modules/api/FrontendSettings"; export default function App(){ const [, setCookie] = useCookies(['apiUri', 'jobInterval']); diff --git a/Website/modules/interfaces/IAuthor.tsx b/Website/modules/Elements/Author.tsx similarity index 64% rename from Website/modules/interfaces/IAuthor.tsx rename to Website/modules/Elements/Author.tsx index 67c2c6d..3f96e44 100644 --- a/Website/modules/interfaces/IAuthor.tsx +++ b/Website/modules/Elements/Author.tsx @@ -1,18 +1,14 @@ import React, {ReactElement, useEffect} from "react"; import {getData} from "../../App"; +import IAuthor from "../types/IAuthor"; -export default interface IAuthor { - authorId: string; - authorName: string; -} - -export function AuthorElement({apiUri, authorId} : {apiUri: string, authorId: string | null}) : ReactElement{ +export default function AuthorElement({apiUri, authorId} : {apiUri: string, authorId: string | null}) : ReactElement{ let [author, setAuthor] = React.useState(null); useEffect(()=> { if(authorId === null) return; - getData(`${apiUri}/v2/Query/Author/${authorId}`) + getData(`${apiUri}/v2/Query/AuthorTag/${authorId}`) .then((json) => { let ret = json as IAuthor; setAuthor(ret); diff --git a/Website/modules/interfaces/IChapter.tsx b/Website/modules/Elements/Chapter.tsx similarity index 64% rename from Website/modules/interfaces/IChapter.tsx rename to Website/modules/Elements/Chapter.tsx index ad0a23b..72b13a6 100644 --- a/Website/modules/interfaces/IChapter.tsx +++ b/Website/modules/Elements/Chapter.tsx @@ -1,20 +1,10 @@ import React, {ReactElement, ReactEventHandler, useEffect, useState} from "react"; -import MangaFunctions from "../MangaFunctions"; -import IManga from "./IManga"; -import ChapterFunctions from "../ChapterFunctions"; +import Manga from "../api/Manga"; +import Chapter from "../api/Chapter"; +import IChapter from "../types/IChapter"; +import IManga from "../types/IManga"; -export default interface IChapter{ - chapterId: string; - volumeNumber: number; - chapterNumber: string; - url: string; - title: string | undefined; - archiveFileName: string; - downloaded: boolean; - parentMangaId: string; -} - -export function ChapterItem({apiUri, chapterId} : {apiUri: string, chapterId: string}) : ReactElement { +export default function ChapterItem({apiUri, chapterId} : {apiUri: string, chapterId: string}) : ReactElement { const setCoverItem : ReactEventHandler = (e) => { setMangaCoverHtmlImageItem(e.currentTarget); } @@ -24,25 +14,25 @@ export function ChapterItem({apiUri, chapterId} : {apiUri: string, chapterId: st let [mangaCoverUrl, setMangaCoverUrl] = useState("../../media/blahaj.png"); let [mangaCoverHtmlImageItem, setMangaCoverHtmlImageItem] = useState(null); useEffect(() => { - ChapterFunctions.GetChapterFromId(apiUri, chapterId).then(setChapter); + Chapter.GetChapterFromId(apiUri, chapterId).then(setChapter); }, []); useEffect(() => { if(chapter === null) manga = null; else - MangaFunctions.GetMangaById(apiUri, chapter.parentMangaId).then(setManga); + Manga.GetMangaById(apiUri, chapter.parentMangaId).then(setManga); }, [chapter]); useEffect(() => { if(chapter != null && mangaCoverHtmlImageItem != null) - setMangaCoverUrl(MangaFunctions.GetMangaCoverImageUrl(apiUri, chapter.parentMangaId, mangaCoverHtmlImageItem)); + setMangaCoverUrl(Manga.GetMangaCoverImageUrl(apiUri, chapter.parentMangaId, mangaCoverHtmlImageItem)); }, [chapter, mangaCoverHtmlImageItem]); let [clicked, setClicked] = useState(false); return (

setClicked(!clicked)}> - MangaFunctions Cover -

{manga ? manga.name : "MangaFunctions-Name"}

-

{chapter ? chapter.title : "ChapterFunctions-Title"}

+ Manga Cover +

{manga ? manga.name : "Manga-Name"}

+

{chapter ? chapter.title : "Chapter-Title"}

Vol.{chapter ? chapter.volumeNumber : "VolNum"}

Ch.{chapter ? chapter.chapterNumber : "ChNum"}

Vol.{chapter ? chapter.volumeNumber : "VolNum"} Ch.{chapter ? chapter.chapterNumber : "ChNum"}

diff --git a/Website/modules/interfaces/records/IGotifyRecord.tsx b/Website/modules/Elements/Gotify.tsx similarity index 83% rename from Website/modules/interfaces/records/IGotifyRecord.tsx rename to Website/modules/Elements/Gotify.tsx index 9f5f86b..b2ec89e 100644 --- a/Website/modules/interfaces/records/IGotifyRecord.tsx +++ b/Website/modules/Elements/Gotify.tsx @@ -1,24 +1,8 @@ import {ReactElement, useState} from "react"; -import NotificationConnectorFunctions from "../../NotificationConnectorFunctions"; -import Loader from "../../Loader"; -import "../../../styles/notificationConnector.css"; -import {isValidUri} from "../../../App"; - -export default interface IGotifyRecord { - endpoint: string; - appToken: string; - priority: number; -} - -function Validate(record: IGotifyRecord) : boolean { - if(!isValidUri(record.endpoint)) - return false; - if(record.appToken.length < 1) - return false; - if(record.priority < 1 || record.priority > 5) - return false; - return true; -} +import NotificationConnector from "../api/NotificationConnector"; +import Loader from "../Loader"; +import IGotifyRecord from "../types/records/IGotifyRecord"; +import {isValidUri} from "../../App"; export function GotifyItem ({apiUri} : {apiUri: string}) : ReactElement{ const [record, setRecord] = useState({ @@ -42,10 +26,20 @@ export function GotifyItem ({apiUri} : {apiUri: string}) : ReactElement{ if(record === null || Validate(record) === false) return; setLoading(true); - NotificationConnectorFunctions.CreateGotify(apiUri, record) + NotificationConnector.CreateGotify(apiUri, record) .finally(() => setLoading(false)); }}>Add
; +} + +function Validate(record: IGotifyRecord) : boolean { + if(!isValidUri(record.endpoint)) + return false; + if(record.appToken.length < 1) + return false; + if(record.priority < 1 || record.priority > 5) + return false; + return true; } \ No newline at end of file diff --git a/Website/modules/interfaces/ILink.tsx b/Website/modules/Elements/Link.tsx similarity index 71% rename from Website/modules/interfaces/ILink.tsx rename to Website/modules/Elements/Link.tsx index 605fe39..2c2fce6 100644 --- a/Website/modules/interfaces/ILink.tsx +++ b/Website/modules/Elements/Link.tsx @@ -1,13 +1,8 @@ import React, {ReactElement, useEffect} from "react"; import {getData} from "../../App"; +import ILink from "../types/ILink"; -export default interface ILink { - linkId: string; - linkProvider: string; - linkUrl: string; -} - -export function LinkElement({apiUri, linkId} : {apiUri: string, linkId: string | null}) : ReactElement{ +export default function LinkElement({apiUri, linkId} : {apiUri: string, linkId: string | null}) : ReactElement{ let [link, setLink] = React.useState(null); useEffect(()=> { diff --git a/Website/modules/interfaces/ILocalLibrary.tsx b/Website/modules/Elements/LocalLibrary.tsx similarity index 76% rename from Website/modules/interfaces/ILocalLibrary.tsx rename to Website/modules/Elements/LocalLibrary.tsx index 8381be7..3940652 100644 --- a/Website/modules/interfaces/ILocalLibrary.tsx +++ b/Website/modules/Elements/LocalLibrary.tsx @@ -1,16 +1,11 @@ import {ReactElement, useState} from "react"; -import INewLibraryRecord, {Validate} from "./records/INewLibraryRecord"; +import INewLibraryRecord, {Validate} from "../types/records/INewLibraryRecord"; import Loader from "../Loader"; -import LocalLibraryFunctions from "../LocalLibraryFunctions"; +import LocalLibrary from "../api/LocalLibrary"; import "../../styles/localLibrary.css"; +import ILocalLibrary from "../types/ILocalLibrary"; -export default interface ILocalLibrary { - localLibraryId: string; - basePath: string; - libraryName: string; -} - -export function LocalLibraryItem({apiUri, library} : {apiUri: string, library: ILocalLibrary | null}) : ReactElement { +export default function LocalLibraryItem({apiUri, library} : {apiUri: string, library: ILocalLibrary | null}) : ReactElement { const [loading, setLoading] = useState(false); const [record, setRecord] = useState({ path: library?.basePath ?? "", @@ -29,14 +24,14 @@ export function LocalLibraryItem({apiUri, library} : {apiUri: string, library: I if(record === null || Validate(record) === false) return; setLoading(true); - LocalLibraryFunctions.UpdateLibrary(apiUri, library.localLibraryId, record) + LocalLibrary.UpdateLibrary(apiUri, library.localLibraryId, record) .finally(() => setLoading(false)); }}>Edit : } diff --git a/Website/modules/interfaces/records/ILunaseaRecord.tsx b/Website/modules/Elements/Lunasea.tsx similarity index 80% rename from Website/modules/interfaces/records/ILunaseaRecord.tsx rename to Website/modules/Elements/Lunasea.tsx index 8bc2272..b6b6b65 100644 --- a/Website/modules/interfaces/records/ILunaseaRecord.tsx +++ b/Website/modules/Elements/Lunasea.tsx @@ -1,16 +1,7 @@ import {ReactElement, useState} from "react"; -import NotificationConnectorFunctions from "../../NotificationConnectorFunctions"; -import Loader from "../../Loader"; -import "../../../styles/notificationConnector.css"; - -export default interface ILunaseaRecord { - id: string; -} - -const regex = new RegExp("(?:device|user)\/[0-9a-zA-Z\-]+"); -function Validate(record: ILunaseaRecord) : boolean { - return regex.test(record.id); -} +import NotificationConnector from "../api/NotificationConnector"; +import Loader from "../Loader"; +import ILunaseaRecord from "../types/records/ILunaseaRecord"; export function LunaseaItem ({apiUri} : {apiUri: string}) : ReactElement{ const [record, setRecord] = useState({ @@ -27,10 +18,15 @@ export function LunaseaItem ({apiUri} : {apiUri: string}) : ReactElement{ if(record === null || Validate(record) === false) return; setLoading(true); - NotificationConnectorFunctions.CreateLunasea(apiUri, record) + NotificationConnector.CreateLunasea(apiUri, record) .finally(() => setLoading(false)); }}>Add ; +} + +const regex = new RegExp("(?:device|user)\/[0-9a-zA-Z\-]+"); +function Validate(record: ILunaseaRecord) : boolean { + return regex.test(record.id); } \ No newline at end of file diff --git a/Website/modules/interfaces/IManga.tsx b/Website/modules/Elements/Manga.tsx similarity index 75% rename from Website/modules/interfaces/IManga.tsx rename to Website/modules/Elements/Manga.tsx index a69ad78..19e9a74 100644 --- a/Website/modules/interfaces/IManga.tsx +++ b/Website/modules/Elements/Manga.tsx @@ -1,43 +1,18 @@ -import MangaFunctions from "../MangaFunctions"; +import Manga from "../api/Manga"; import React, {Children, ReactElement, ReactEventHandler, useEffect, useState} from "react"; import Icon from '@mdi/react'; import { mdiTagTextOutline, mdiAccountEdit, mdiLinkVariant } from '@mdi/js'; import MarkdownPreview from '@uiw/react-markdown-preview'; -import {AuthorElement} from "./IAuthor"; -import {LinkElement} from "./ILink"; -import IChapter from "./IChapter"; import Loader from "../Loader"; +import IManga from "../types/IManga"; +import IChapter from "../types/IChapter"; +import AuthorElement from "./Author"; +import LinkElement from "./Link"; -export default interface IManga{ - mangaId: string; - idOnConnectorSite: string; - name: string; - description: string; - websiteUrl: string; - year: number; - originalLanguage: string; - releaseStatus: MangaReleaseStatus; - folderName: string; - ignoreChapterBefore: number; - mangaConnectorId: string; - authorIds: string[]; - tags: string[]; - linkIds: string[]; - altTitleIds: string[]; -} - -export enum MangaReleaseStatus { - Continuing = "Continuing", - Completed = "Completed", - OnHiatus = "OnHiatus", - Cancelled = "Cancelled", - Unreleased = "Unreleased", -} - -export function MangaItem({apiUri, mangaId, children} : {apiUri: string, mangaId: string, children?: (string | ReactElement)[]}) : ReactElement { +export default function MangaItem({apiUri, mangaId, children} : {apiUri: string, mangaId: string, children?: (string | ReactElement)[]}) : ReactElement { const LoadMangaCover : ReactEventHandler = (e) => { - if(e.currentTarget.src != MangaFunctions.GetMangaCoverImageUrl(apiUri, mangaId, e.currentTarget)) - e.currentTarget.src = MangaFunctions.GetMangaCoverImageUrl(apiUri, mangaId, e.currentTarget); + if(e.currentTarget.src != Manga.GetMangaCoverImageUrl(apiUri, mangaId, e.currentTarget)) + e.currentTarget.src = Manga.GetMangaCoverImageUrl(apiUri, mangaId, e.currentTarget); } let [manga, setManga] = useState(null); @@ -48,14 +23,14 @@ export function MangaItem({apiUri, mangaId, children} : {apiUri: string, mangaId let [settingThreshold, setSettingThreshold] = useState(false); const invalidTargets = ["input", "textarea", "button", "select", "a"]; useEffect(() => { - MangaFunctions.GetMangaById(apiUri, mangaId).then(setManga); - MangaFunctions.GetLatestChapterDownloaded(apiUri, mangaId) + Manga.GetMangaById(apiUri, mangaId).then(setManga); + Manga.GetLatestChapterDownloaded(apiUri, mangaId) .then(setLatestChapterDownloaded) .finally(() => { if(latestChapterDownloaded && latestChapterAvailable) setLoadingChapterStats(false); }); - MangaFunctions.GetLatestChapterAvailable(apiUri, mangaId) + Manga.GetLatestChapterAvailable(apiUri, mangaId) .then(setLatestChapterAvailable) .finally(() => { if(latestChapterDownloaded && latestChapterAvailable) @@ -69,7 +44,7 @@ export function MangaItem({apiUri, mangaId, children} : {apiUri: string, mangaId if(invalidTargets.find(x => x == target.localName) === undefined ) setClicked(!clicked) }}> - MangaFunctions Cover + Manga Cover
{manga ? manga.mangaConnectorId : "Connector"}
{manga ? manga.name : "Name"}
@@ -81,7 +56,7 @@ export function MangaItem({apiUri, mangaId, children} : {apiUri: string, mangaId ) : -
+
} @@ -113,7 +88,7 @@ export function MangaItem({apiUri, mangaId, children} : {apiUri: string, mangaId Start at Chapter { setSettingThreshold(true); - MangaFunctions.SetIgnoreThreshold(apiUri, mangaId, e.currentTarget.valueAsNumber).finally(()=>setSettingThreshold(false)); + Manga.SetIgnoreThreshold(apiUri, mangaId, e.currentTarget.valueAsNumber).finally(()=>setSettingThreshold(false)); }} /> out of {latestChapterAvailable ? latestChapterAvailable.chapterNumber : } diff --git a/Website/modules/interfaces/IMangaAltTitle.tsx b/Website/modules/Elements/MangaAltTitle.tsx similarity index 67% rename from Website/modules/interfaces/IMangaAltTitle.tsx rename to Website/modules/Elements/MangaAltTitle.tsx index 776456c..bc3a74f 100644 --- a/Website/modules/interfaces/IMangaAltTitle.tsx +++ b/Website/modules/Elements/MangaAltTitle.tsx @@ -1,14 +1,8 @@ import React, {ReactElement, useEffect} from "react"; import {getData} from "../../App"; -import IAuthor from "./IAuthor"; +import IMangaAltTitle from "../types/IMangaAltTitle"; -export default interface IMangaAltTitle { - altTitleId: string; - language: string; - title: string; -} - -export function AltTitleElement({apiUri, altTitleId} : {apiUri: string, altTitleId: string | null}) : ReactElement{ +export default function AltTitleElement({apiUri, altTitleId} : {apiUri: string, altTitleId: string | null}) : ReactElement{ let [altTitle, setAltTitle] = React.useState(null); useEffect(()=> { diff --git a/Website/modules/interfaces/INotificationConnector.tsx b/Website/modules/Elements/NotificationConnector.tsx similarity index 88% rename from Website/modules/interfaces/INotificationConnector.tsx rename to Website/modules/Elements/NotificationConnector.tsx index bad1794..1bb53ce 100644 --- a/Website/modules/interfaces/INotificationConnector.tsx +++ b/Website/modules/Elements/NotificationConnector.tsx @@ -1,21 +1,14 @@ import {ReactElement, ReactEventHandler, useState} from "react"; import "../../styles/notificationConnector.css"; import Loader from "../Loader"; -import NotificationConnectorFunctions from "../NotificationConnectorFunctions"; -import {LunaseaItem} from "./records/ILunaseaRecord"; -import {GotifyItem} from "./records/IGotifyRecord"; -import {NtfyItem} from "./records/INtfyRecord"; -import {PushoverItem} from "./records/IPushoverRecord"; +import NotificationConnector from "../api/NotificationConnector"; +import INotificationConnector from "../types/INotificationConnector"; +import {GotifyItem} from "./Gotify"; +import {NtfyItem} from "./Ntfy"; +import {LunaseaItem} from "./Lunasea"; +import {PushoverItem} from "./Pushover"; -export default interface INotificationConnector { - name: string; - url: string; - headers: Record[]; - httpMethod: string; - body: string; -} - -export function NotificationConnectorItem({apiUri, notificationConnector} : {apiUri: string, notificationConnector: INotificationConnector | null}) : ReactElement { +export default function NotificationConnectorItem({apiUri, notificationConnector} : {apiUri: string, notificationConnector: INotificationConnector | null}) : ReactElement { if(notificationConnector != null) return @@ -93,7 +86,7 @@ function DefaultItem({apiUri, notificationConnector}:{apiUri: string, notificati <> diff --git a/Website/modules/interfaces/records/INtfyRecord.tsx b/Website/modules/Elements/Ntfy.tsx similarity index 71% rename from Website/modules/interfaces/records/INtfyRecord.tsx rename to Website/modules/Elements/Ntfy.tsx index bbf68c3..b669db9 100644 --- a/Website/modules/interfaces/records/INtfyRecord.tsx +++ b/Website/modules/Elements/Ntfy.tsx @@ -1,30 +1,8 @@ +import {isValidUri} from "../../App"; import {ReactElement, useState} from "react"; -import NotificationConnectorFunctions from "../../NotificationConnectorFunctions"; -import Loader from "../../Loader"; -import "../../../styles/notificationConnector.css"; -import {isValidUri} from "../../../App"; - -export default interface INtfyRecord { - endpoint: string; - username: string; - password: string; - topic: string; - priority: number; -} - -function Validate(record: INtfyRecord) : boolean { - if(!isValidUri(record.endpoint)) - return false; - if(record.username.length < 1) - return false; - if(record.password.length < 1) - return false; - if(record.topic.length < 1) - return false; - if(record.priority < 1 || record.priority > 5) - return false; - return true; -} +import NotificationConnector from "../api/NotificationConnector"; +import Loader from "../Loader"; +import INtfyRecord from "../types/records/INtfyRecord"; export function NtfyItem ({apiUri} : {apiUri: string}) : ReactElement{ const [info, setInfo] = useState({ @@ -49,14 +27,28 @@ export function NtfyItem ({apiUri} : {apiUri: string}) : ReactElement{ setInfo({...info, priority: e.currentTarget.valueAsNumber})} />
<> - - - + + + ; +} + +function Validate(record: INtfyRecord) : boolean { + if(!isValidUri(record.endpoint)) + return false; + if(record.username.length < 1) + return false; + if(record.password.length < 1) + return false; + if(record.topic.length < 1) + return false; + if(record.priority < 1 || record.priority > 5) + return false; + return true; } \ No newline at end of file diff --git a/Website/modules/interfaces/records/IPushoverRecord.tsx b/Website/modules/Elements/Pushover.tsx similarity index 79% rename from Website/modules/interfaces/records/IPushoverRecord.tsx rename to Website/modules/Elements/Pushover.tsx index 32816b9..90e3186 100644 --- a/Website/modules/interfaces/records/IPushoverRecord.tsx +++ b/Website/modules/Elements/Pushover.tsx @@ -1,21 +1,7 @@ import {ReactElement, useState} from "react"; -import NotificationConnectorFunctions from "../../NotificationConnectorFunctions"; -import Loader from "../../Loader"; -import "../../../styles/notificationConnector.css"; -import {isValidUri} from "../../../App"; - -export default interface IPushoverRecord { - apptoken: string; - user: string; -} - -function Validate(record: IPushoverRecord) : boolean { - if(record.apptoken.length < 1) - return false; - if(record.user.length < 1) - return false; - return true; -} +import NotificationConnector from "../api/NotificationConnector"; +import Loader from "../Loader"; +import IPushoverRecord from "../types/records/IPushoverRecord"; export function PushoverItem ({apiUri} : {apiUri: string}) : ReactElement{ const [info, setInfo] = useState({ @@ -34,10 +20,18 @@ export function PushoverItem ({apiUri} : {apiUri: string}) : ReactElement{ if(info === null || Validate(info) === false) return; setLoading(true); - NotificationConnectorFunctions.CreatePushover(apiUri, info) + NotificationConnector.CreatePushover(apiUri, info) .finally(() => setLoading(false)); }}>Add ; +} + +function Validate(record: IPushoverRecord) : boolean { + if(record.apptoken.length < 1) + return false; + if(record.user.length < 1) + return false; + return true; } \ No newline at end of file diff --git a/Website/modules/Footer.tsx b/Website/modules/Footer.tsx index 594e8ec..0482e91 100644 --- a/Website/modules/Footer.tsx +++ b/Website/modules/Footer.tsx @@ -1,10 +1,10 @@ import React, {useEffect} from 'react'; import '../styles/footer.css'; -import JobFunctions from './JobFunctions'; +import Job from './api/Job'; import Icon from '@mdi/react'; import {mdiCounter, mdiEyeCheck, mdiRun, mdiTrayFull} from '@mdi/js'; import QueuePopUp from "./QueuePopUp"; -import {JobState, JobType} from "./interfaces/Jobs/IJob"; +import {JobState, JobType} from "./types/Jobs/IJob"; export default function Footer({connectedToBackend, apiUri, checkConnectedInterval} : {connectedToBackend: boolean, apiUri: string, checkConnectedInterval: number}) { const [MonitoringJobsCount, setMonitoringJobsCount] = React.useState(0); @@ -14,10 +14,10 @@ export default function Footer({connectedToBackend, apiUri, checkConnectedInterv const [countUpdateInterval, setCountUpdateInterval] = React.useState(undefined); function UpdateBackendState(){ - JobFunctions.GetJobsWithType(apiUri, JobType.DownloadAvailableChaptersJob).then((jobs) => setMonitoringJobsCount(jobs.length)); - JobFunctions.GetAllJobs(apiUri).then((jobs) => setAllJobsCount(jobs.length)); - JobFunctions.GetJobsInState(apiUri, JobState.Running).then((jobs) => setRunningJobsCount(jobs.length)); - JobFunctions.GetJobsInState(apiUri, JobState.Waiting).then((jobs) => setWaitingJobs(jobs.length)); + Job.GetJobsWithType(apiUri, JobType.DownloadAvailableChaptersJob).then((jobs) => setMonitoringJobsCount(jobs.length)); + Job.GetAllJobs(apiUri).then((jobs) => setAllJobsCount(jobs.length)); + Job.GetJobsInState(apiUri, JobState.Running).then((jobs) => setRunningJobsCount(jobs.length)); + Job.GetJobsInState(apiUri, JobState.Waiting).then((jobs) => setWaitingJobs(jobs.length)); } useEffect(() => { diff --git a/Website/modules/Header.tsx b/Website/modules/Header.tsx index a35c047..cf38964 100644 --- a/Website/modules/Header.tsx +++ b/Website/modules/Header.tsx @@ -1,7 +1,7 @@ import React from 'react'; import '../styles/header.css' -import IFrontendSettings from "./interfaces/IFrontendSettings"; import Settings from "./Settings"; +import IFrontendSettings from "./types/IFrontendSettings"; export default function Header({backendConnected, apiUri, settings, setFrontendSettings} : {backendConnected: boolean, apiUri: string, settings: IFrontendSettings, setFrontendSettings: (settings: IFrontendSettings) => void}){ return ( diff --git a/Website/modules/MonitorJobsList.tsx b/Website/modules/MonitorJobsList.tsx index 18310d3..cb4a89a 100644 --- a/Website/modules/MonitorJobsList.tsx +++ b/Website/modules/MonitorJobsList.tsx @@ -1,11 +1,11 @@ import React, {ReactElement, useEffect, useState} from 'react'; -import JobFunctions from './JobFunctions'; +import Job from './api/Job'; import '../styles/monitorMangaList.css'; -import {JobType} from "./interfaces/Jobs/IJob"; +import {JobType} from "./types/Jobs/IJob"; import '../styles/mangaCover.css' -import IDownloadAvailableChaptersJob from "./interfaces/Jobs/IDownloadAvailableChaptersJob"; -import {MangaItem} from "./interfaces/IManga"; -import MangaFunctions from "./MangaFunctions"; +import IDownloadAvailableChaptersJob from "./types/Jobs/IDownloadAvailableChaptersJob"; +import Manga from "./api/Manga"; +import MangaItem from "./Elements/Manga"; export default function MonitorJobsList({onStartSearch, connectedToBackend, apiUri, checkConnectedInterval} : {onStartSearch() : void, connectedToBackend: boolean, apiUri: string, checkConnectedInterval: number}) { const [MonitoringJobs, setMonitoringJobs] = useState([]); @@ -29,7 +29,7 @@ export default function MonitorJobsList({onStartSearch, connectedToBackend, apiU if(!connectedToBackend) return; //console.debug("Updating MonitoringJobsList"); - JobFunctions.GetJobsWithType(apiUri, JobType.DownloadAvailableChaptersJob) + Job.GetJobsWithType(apiUri, JobType.DownloadAvailableChaptersJob) .then((jobs) => jobs as IDownloadAvailableChaptersJob[]) .then((jobs) => { if(jobs.length != MonitoringJobs.length || @@ -57,7 +57,7 @@ export default function MonitorJobsList({onStartSearch, connectedToBackend, apiU <> )} diff --git a/Website/modules/QueuePopUp.tsx b/Website/modules/QueuePopUp.tsx index ba0063c..8d2b327 100644 --- a/Website/modules/QueuePopUp.tsx +++ b/Website/modules/QueuePopUp.tsx @@ -1,10 +1,10 @@ import React, {ReactElement, useEffect, useState} from 'react'; -import IJob, {JobState, JobType} from "./interfaces/Jobs/IJob"; +import IJob, {JobState, JobType} from "./types/Jobs/IJob"; import '../styles/queuePopUp.css'; import '../styles/popup.css'; -import JobFunctions from "./JobFunctions"; -import IDownloadSingleChapterJob from "./interfaces/Jobs/IDownloadSingleChapterJob"; -import {ChapterItem} from "./interfaces/IChapter"; +import Job from "./api/Job"; +import IDownloadSingleChapterJob from "./types/Jobs/IDownloadSingleChapterJob"; +import ChapterItem from "./Elements/Chapter"; export default function QueuePopUp({connectedToBackend, children, apiUri, checkConnectedInterval} : {connectedToBackend: boolean, children: ReactElement[], apiUri: string, checkConnectedInterval: number}) { @@ -28,13 +28,13 @@ export default function QueuePopUp({connectedToBackend, children, apiUri, checkC }, [connectedToBackend, showQueuePopup]); function UpdateMonitoringJobsList(){ - JobFunctions.GetJobsInState(apiUri, JobState.Waiting) + Job.GetJobsInState(apiUri, JobState.Waiting) .then((jobs: IJob[]) => { //console.log(jobs); return jobs; }) .then(setWaitingJobs); - JobFunctions.GetJobsInState(apiUri, JobState.Running) + Job.GetJobsInState(apiUri, JobState.Running) .then((jobs: IJob[]) => { //console.log(jobs); return jobs; diff --git a/Website/modules/Search.tsx b/Website/modules/Search.tsx index 6b461be..32b0a13 100644 --- a/Website/modules/Search.tsx +++ b/Website/modules/Search.tsx @@ -1,14 +1,15 @@ import React, {ChangeEventHandler, EventHandler, useEffect, useState} from 'react'; -import {MangaConnectorFunctions} from "./MangaConnectorFunctions"; -import IMangaConnector from "./interfaces/IMangaConnector"; +import {MangaConnector} from "./api/MangaConnector"; +import IMangaConnector from "./types/IMangaConnector"; import {isValidUri} from "../App"; -import IManga, {MangaItem} from "./interfaces/IManga"; import '../styles/search.css'; -import SearchFunctions from "./SearchFunctions"; -import JobFunctions from "./JobFunctions"; -import ILocalLibrary from "./interfaces/ILocalLibrary"; -import LocalLibraryFunctions from "./LocalLibraryFunctions"; +import Job from "./api/Job"; +import LocalLibrary from "./api/LocalLibrary"; import Loader from "./Loader"; +import IManga from "./types/IManga"; +import SearchFunctions from "./api/Search"; +import ILocalLibrary from "./types/ILocalLibrary"; +import MangaItem from "./Elements/Manga"; export default function Search({apiUri, jobInterval, closeSearch} : {apiUri: string, jobInterval: Date, closeSearch(): void}) { let [loading, setLoading] = useState(true); @@ -21,7 +22,7 @@ export default function Search({apiUri, jobInterval, closeSearch} : {apiUri: str const pattern = /https:\/\/([a-z0-9.]+\.[a-z0-9]{2,})(?:\/.*)?/i useEffect(() => { - MangaConnectorFunctions.GetAllConnectors(apiUri).then((connectors)=> { + MangaConnector.GetAllConnectors(apiUri).then((connectors)=> { return connectors.filter(c => c.enabled); }).then(setConnectors).then(() => setLoading(false)); }, []); @@ -99,7 +100,7 @@ export default function Search({apiUri, jobInterval, closeSearch} : {apiUri: str let [selectedLibrary, setSelectedLibrary] = useState(null); let [libraries, setLibraries] = useState(null); useEffect(() => { - LocalLibraryFunctions.GetLibraries(apiUri).then(setLibraries); + LocalLibrary.GetLibraries(apiUri).then(setLibraries); }, []); useEffect(() => { if(libraries === null || libraries.length < 1) @@ -147,7 +148,7 @@ export default function Search({apiUri, jobInterval, closeSearch} : {apiUri: str : libraries.map(library => )} }) diff --git a/Website/modules/Settings.tsx b/Website/modules/Settings.tsx index e10df8a..f67bc4f 100644 --- a/Website/modules/Settings.tsx +++ b/Website/modules/Settings.tsx @@ -1,18 +1,20 @@ -import IFrontendSettings from "./interfaces/IFrontendSettings"; import '../styles/settings.css'; import '../styles/react-toggle.css'; import React, {useEffect, useRef, useState} from "react"; -import INotificationConnector, {NotificationConnectorItem} from "./interfaces/INotificationConnector"; -import NotificationConnectorFunctions from "./NotificationConnectorFunctions"; -import ILocalLibrary, {LocalLibraryItem} from "./interfaces/ILocalLibrary"; -import LocalLibraryFunctions from "./LocalLibraryFunctions"; -import IBackendSettings from "./interfaces/IBackendSettings"; -import BackendSettings from "./BackendSettingsFunctions"; +import NotificationConnector from "./api/NotificationConnector"; +import IBackendSettings from "./types/IBackendSettings"; +import BackendSettings from "./api/BackendSettings"; import Toggle from "react-toggle"; import Loader from "./Loader"; -import {RequestType} from "./interfaces/IRequestLimits"; -import IMangaConnector from "./interfaces/IMangaConnector"; -import {MangaConnectorFunctions} from "./MangaConnectorFunctions"; +import IMangaConnector from "./types/IMangaConnector"; +import {MangaConnector} from "./api/MangaConnector"; +import IFrontendSettings from "./types/IFrontendSettings"; +import INotificationConnector from "./types/INotificationConnector"; +import ILocalLibrary from "./types/ILocalLibrary"; +import LocalLibrary from "./api/LocalLibrary"; +import {RequestLimitType} from "./types/EnumRequestLimitType"; +import NotificationConnectorItem from "./Elements/NotificationConnector"; +import LocalLibraryItem from "./Elements/LocalLibrary"; export default function Settings({ backendConnected, apiUri, frontendSettings, setFrontendSettings } : { backendConnected: boolean, @@ -31,10 +33,10 @@ export default function Settings({ backendConnected, apiUri, frontendSettings, s useEffect(() => { if(!backendConnected) return; - NotificationConnectorFunctions.GetNotificationConnectors(apiUri).then(setNotificationConnectors); - LocalLibraryFunctions.GetLibraries(apiUri).then(setLocalLibraries); + NotificationConnector.GetNotificationConnectors(apiUri).then(setNotificationConnectors); + LocalLibrary.GetLibraries(apiUri).then(setLocalLibraries); BackendSettings.GetSettings(apiUri).then(setBackendSettings); - MangaConnectorFunctions.GetAllConnectors(apiUri).then(setMangaConnectors); + MangaConnector.GetAllConnectors(apiUri).then(setMangaConnectors); }, [backendConnected, showSettings]); const dateToStr = (x: Date) => { @@ -44,7 +46,7 @@ export default function Settings({ backendConnected, apiUri, frontendSettings, s return ret; } - const ChangeRequestLimit = (requestType: RequestType, limit: number) => { + const ChangeRequestLimit = (requestType: RequestLimitType, limit: number) => { if(backendSettings === null) return; setLoadingBackend(true); @@ -150,22 +152,22 @@ export default function Settings({ backendConnected, apiUri, frontendSettings, s

Request Limits:

ChangeRequestLimit(RequestType.Default, e.currentTarget.valueAsNumber)} /> + onChange={(e) => ChangeRequestLimit(RequestLimitType.Default, e.currentTarget.valueAsNumber)} /> ChangeRequestLimit(RequestType.MangaInfo, e.currentTarget.valueAsNumber)} /> + onChange={(e) => ChangeRequestLimit(RequestLimitType.MangaInfo, e.currentTarget.valueAsNumber)} /> ChangeRequestLimit(RequestType.MangaDexFeed, e.currentTarget.valueAsNumber)} /> + onChange={(e) => ChangeRequestLimit(RequestLimitType.MangaDexFeed, e.currentTarget.valueAsNumber)} /> ChangeRequestLimit(RequestType.MangaDexImage, e.currentTarget.valueAsNumber)} /> + onChange={(e) => ChangeRequestLimit(RequestLimitType.MangaDexImage, e.currentTarget.valueAsNumber)} /> ChangeRequestLimit(RequestType.MangaImage, e.currentTarget.valueAsNumber)} /> + onChange={(e) => ChangeRequestLimit(RequestLimitType.MangaImage, e.currentTarget.valueAsNumber)} /> ChangeRequestLimit(RequestType.MangaCover, e.currentTarget.valueAsNumber)} /> + onChange={(e) => ChangeRequestLimit(RequestLimitType.MangaCover, e.currentTarget.valueAsNumber)} />
{mangaConnectors.map(mc => { @@ -173,7 +175,7 @@ export default function Settings({ backendConnected, apiUri, frontendSettings, s
{mc.name} { - MangaConnectorFunctions.SetConnectorEnabled(apiUri, mc.name, e.currentTarget.checked); + MangaConnector.SetConnectorEnabled(apiUri, mc.name, e.currentTarget.checked); }} />
); })} diff --git a/Website/modules/BackendSettingsFunctions.tsx b/Website/modules/api/BackendSettings.tsx similarity index 90% rename from Website/modules/BackendSettingsFunctions.tsx rename to Website/modules/api/BackendSettings.tsx index 26a860b..46d1fdf 100644 --- a/Website/modules/BackendSettingsFunctions.tsx +++ b/Website/modules/api/BackendSettings.tsx @@ -1,6 +1,7 @@ -import {deleteData, getData, patchData} from "../App"; -import IRequestLimits, {RequestType} from "./interfaces/IRequestLimits"; -import IBackendSettings from "./interfaces/IBackendSettings"; +import {deleteData, getData, patchData} from "../../App"; +import IRequestLimits from "../types/IRequestLimits"; +import IBackendSettings from "../types/IBackendSettings"; +import {RequestLimitType} from "../types/EnumRequestLimitType"; export default class BackendSettings { static async GetSettings(apiUri: string) : Promise { @@ -27,11 +28,11 @@ export default class BackendSettings { return deleteData(`${apiUri}/v2/Settings/RequestLimits`); } - static async UpdateRequestLimit(apiUri: string, requestType: RequestType, value: number) { + static async UpdateRequestLimit(apiUri: string, requestType: RequestLimitType, value: number) { return patchData(`${apiUri}/v2/Settings/RequestLimits/${requestType}`, value); } - static async ResetRequestLimit(apiUri: string, requestType: RequestType) { + static async ResetRequestLimit(apiUri: string, requestType: RequestLimitType) { return deleteData(`${apiUri}/v2/Settings/RequestLimits/${requestType}`); } diff --git a/Website/modules/ChapterFunctions.tsx b/Website/modules/api/Chapter.tsx similarity index 73% rename from Website/modules/ChapterFunctions.tsx rename to Website/modules/api/Chapter.tsx index 9329497..d631c8d 100644 --- a/Website/modules/ChapterFunctions.tsx +++ b/Website/modules/api/Chapter.tsx @@ -1,7 +1,7 @@ -import {getData} from "../App"; -import IChapter from "./interfaces/IChapter"; +import {getData} from "../../App"; +import IChapter from "../types/IChapter"; -export default class ChapterFunctions { +export default class Chapter { static async GetChapterFromId(apiUri: string, chapterId: string): Promise { if(chapterId === undefined || chapterId === null) { @@ -10,7 +10,7 @@ export default class ChapterFunctions { } return getData(`${apiUri}/v2/Query/Chapter/${chapterId}`) .then((json) => { - //console.info("Got all MangaFunctions"); + //console.info("Got all Manga"); const ret = json as IChapter; //console.debug(ret); return (ret); diff --git a/Website/modules/interfaces/IFrontendSettings.tsx b/Website/modules/api/FrontendSettings.tsx similarity index 84% rename from Website/modules/interfaces/IFrontendSettings.tsx rename to Website/modules/api/FrontendSettings.tsx index f0c67d1..4d9079a 100644 --- a/Website/modules/interfaces/IFrontendSettings.tsx +++ b/Website/modules/api/FrontendSettings.tsx @@ -1,9 +1,5 @@ import {Cookies} from "react-cookie"; - -export default interface IFrontendSettings { - jobInterval: Date; - apiUri: string; -} +import IFrontendSettings from "../types/IFrontendSettings"; export function LoadFrontendSettings(): IFrontendSettings { const cookies = new Cookies(); diff --git a/Website/modules/JobFunctions.tsx b/Website/modules/api/Job.tsx similarity index 89% rename from Website/modules/JobFunctions.tsx rename to Website/modules/api/Job.tsx index 7f1aecc..deadc64 100644 --- a/Website/modules/JobFunctions.tsx +++ b/Website/modules/api/Job.tsx @@ -1,9 +1,9 @@ -import {deleteData, getData, patchData, postData, putData} from '../App'; -import IJob, {JobState, JobType} from "./interfaces/Jobs/IJob"; -import IModifyJobRecord from "./interfaces/records/IModifyJobRecord"; -import IDownloadAvailableJobsRecord from "./interfaces/records/IDownloadAvailableJobsRecord"; +import {deleteData, getData, patchData, postData, putData} from '../../App'; +import IJob, {JobState, JobType} from "../types/Jobs/IJob"; +import IModifyJobRecord from "../types/records/IModifyJobRecord"; +import IDownloadAvailableJobsRecord from "../types/records/IDownloadAvailableJobsRecord"; -export default class JobFunctions +export default class Job { static IntervalStringFromDate(date: Date) : string { let x = new Date(date); @@ -82,10 +82,10 @@ export default class JobFunctions console.error(`JobId was not provided`); return Promise.reject(); } - //console.info(`Getting JobFunctions ${jobId}`); + //console.info(`Getting Job ${jobId}`); return getData(`${apiUri}/v2/Job/${jobId}`) .then((json) => { - //console.info(`Got JobFunctions ${jobId}`); + //console.info(`Got Job ${jobId}`); const ret = json as IJob; //console.debug(ret); return (ret); @@ -111,7 +111,7 @@ export default class JobFunctions } return patchData(`${apiUri}/v2/Job/${jobId}`, modifyData) .then((json) => { - //console.info(`Got JobFunctions ${jobId}`); + //console.info(`Got Job ${jobId}`); const ret = json as IJob; //console.debug(ret); return (ret); @@ -129,7 +129,7 @@ export default class JobFunctions } return putData(`${apiUri}/v2/Job/DownloadAvailableChaptersJob/${mangaId}`, data) .then((json) => { - //console.info(`Got JobFunctions ${jobId}`); + //console.info(`Got Job ${jobId}`); const ret = json as string[]; //console.debug(ret); return (ret); @@ -143,7 +143,7 @@ export default class JobFunctions } return putData(`${apiUri}/v2/Job/DownloadSingleChapterJob/${chapterId}`, {}) .then((json) => { - //console.info(`Got JobFunctions ${jobId}`); + //console.info(`Got Job ${jobId}`); const ret = json as string[]; //console.debug(ret); return (ret); @@ -157,7 +157,7 @@ export default class JobFunctions } return putData(`${apiUri}/v2/Job/UpdateFilesJob/${mangaId}`, {}) .then((json) => { - //console.info(`Got JobFunctions ${jobId}`); + //console.info(`Got Job ${jobId}`); const ret = json as string[]; //console.debug(ret); return (ret); @@ -167,7 +167,7 @@ export default class JobFunctions static async CreateUpdateAllFilesJob(apiUri: string): Promise { return putData(`${apiUri}/v2/Job/UpdateAllFilesJob`, {}) .then((json) => { - //console.info(`Got JobFunctions ${jobId}`); + //console.info(`Got Job ${jobId}`); const ret = json as string[]; //console.debug(ret); return (ret); @@ -181,7 +181,7 @@ export default class JobFunctions } return putData(`${apiUri}/v2/Job/UpdateMetadataJob/${mangaId}`, {}) .then((json) => { - //console.info(`Got JobFunctions ${jobId}`); + //console.info(`Got Job ${jobId}`); const ret = json as string[]; //console.debug(ret); return (ret); @@ -191,7 +191,7 @@ export default class JobFunctions static async CreateUpdateAllMetadataJob(apiUri: string): Promise { return putData(`${apiUri}/v2/Job/UpdateAllMetadataJob`, {}) .then((json) => { - //console.info(`Got JobFunctions ${jobId}`); + //console.info(`Got Job ${jobId}`); const ret = json as string[]; //console.debug(ret); return (ret); diff --git a/Website/modules/LocalLibraryFunctions.tsx b/Website/modules/api/LocalLibrary.tsx similarity index 89% rename from Website/modules/LocalLibraryFunctions.tsx rename to Website/modules/api/LocalLibrary.tsx index 7fc3669..d96b83b 100644 --- a/Website/modules/LocalLibraryFunctions.tsx +++ b/Website/modules/api/LocalLibrary.tsx @@ -1,8 +1,8 @@ -import ILocalLibrary from "./interfaces/ILocalLibrary"; -import {deleteData, getData, patchData, putData} from "../App"; -import INewLibraryRecord from "./interfaces/records/INewLibraryRecord"; +import {deleteData, getData, patchData, putData} from "../../App"; +import INewLibraryRecord from "../types/records/INewLibraryRecord"; +import ILocalLibrary from "../types/ILocalLibrary"; -export default class LocalLibraryFunctions +export default class LocalLibrary { static async GetLibraries(apiUri: string): Promise { return getData(`${apiUri}/v2/LocalLibraries`) diff --git a/Website/modules/MangaFunctions.tsx b/Website/modules/api/Manga.tsx similarity index 86% rename from Website/modules/MangaFunctions.tsx rename to Website/modules/api/Manga.tsx index 55231c3..5110e7b 100644 --- a/Website/modules/MangaFunctions.tsx +++ b/Website/modules/api/Manga.tsx @@ -1,14 +1,14 @@ -import IManga from './interfaces/IManga'; -import {deleteData, getData, patchData, postData} from '../App'; -import IChapter from "./interfaces/IChapter"; +import {deleteData, getData, patchData, postData} from '../../App'; +import IManga from "../types/IManga"; +import IChapter from "../types/IChapter"; -export default class MangaFunctions +export default class Manga { static async GetAllManga(apiUri: string): Promise { - //console.info("Getting all MangaFunctions"); + //console.info("Getting all Manga"); return getData(`${apiUri}/v2/Manga`) .then((json) => { - //console.info("Got all MangaFunctions"); + //console.info("Got all Manga"); const ret = json as IManga[]; //console.debug(ret); return (ret); @@ -23,7 +23,7 @@ export default class MangaFunctions //console.debug(`Getting Mangas ${internalIds.join(",")}`); return await postData(`${apiUri}/v2/Manga/WithIds`, mangaIds) .then((json) => { - //console.debug(`Got MangaFunctions ${internalIds.join(",")}`); + //console.debug(`Got Manga ${internalIds.join(",")}`); const ret = json as IManga[]; //console.debug(ret); return (ret); @@ -35,10 +35,10 @@ export default class MangaFunctions console.error(`mangaId was not provided`); return Promise.reject(); } - //console.info(`Getting MangaFunctions ${internalId}`); + //console.info(`Getting Manga ${internalId}`); return await getData(`${apiUri}/v2/Manga/${mangaId}`) .then((json) => { - //console.info(`Got MangaFunctions ${internalId}`); + //console.info(`Got Manga ${internalId}`); const ret = json as IManga; //console.debug(ret); return (ret); @@ -54,7 +54,7 @@ export default class MangaFunctions } static GetMangaCoverImageUrl(apiUri: string, mangaId: string, ref: HTMLImageElement | undefined): string { - //console.debug(`Getting MangaFunctions Cover-Url ${internalId}`); + //console.debug(`Getting Manga Cover-Url ${internalId}`); if(ref == null || ref == undefined) return `${apiUri}/v2/Manga/${mangaId}/Cover?width=64&height=64`; return `${apiUri}/v2/Manga/${mangaId}/Cover?width=${ref.clientWidth}&height=${ref.clientHeight}`; @@ -67,7 +67,7 @@ export default class MangaFunctions } return getData(`${apiUri}/v2/Manga/${mangaId}/Chapters`) .then((json) => { - //console.info(`Got MangaFunctions ${internalId}`); + //console.info(`Got Manga ${internalId}`); const ret = json as IChapter[]; //console.debug(ret); return (ret); @@ -81,7 +81,7 @@ export default class MangaFunctions } return getData(`${apiUri}/v2/Manga/${mangaId}/Chapters/Downloaded`) .then((json) => { - //console.info(`Got MangaFunctions ${internalId}`); + //console.info(`Got Manga ${internalId}`); const ret = json as IChapter[]; //console.debug(ret); return (ret); @@ -95,7 +95,7 @@ export default class MangaFunctions } return getData(`${apiUri}/v2/Manga/${mangaId}/Chapters/NotDownloaded`) .then((json) => { - //console.info(`Got MangaFunctions ${internalId}`); + //console.info(`Got Manga ${internalId}`); const ret = json as IChapter[]; //console.debug(ret); return (ret); @@ -109,7 +109,7 @@ export default class MangaFunctions } return getData(`${apiUri}/v2/Manga/${mangaId}/Chapter/LatestAvailable`) .then((json) => { - //console.info(`Got MangaFunctions ${internalId}`); + //console.info(`Got Manga ${internalId}`); const ret = json as IChapter; //console.debug(ret); return (ret); @@ -123,7 +123,7 @@ export default class MangaFunctions } return getData(`${apiUri}/v2/Manga/${mangaId}/Chapter/LatestDownloaded`) .then((json) => { - //console.info(`Got MangaFunctions ${internalId}`); + //console.info(`Got Manga ${internalId}`); const ret = json as IChapter; //console.debug(ret); return (ret); diff --git a/Website/modules/MangaConnectorFunctions.tsx b/Website/modules/api/MangaConnector.tsx similarity index 92% rename from Website/modules/MangaConnectorFunctions.tsx rename to Website/modules/api/MangaConnector.tsx index 566a091..b58c825 100644 --- a/Website/modules/MangaConnectorFunctions.tsx +++ b/Website/modules/api/MangaConnector.tsx @@ -1,7 +1,7 @@ -import IMangaConnector from './interfaces/IMangaConnector'; -import {getData, patchData} from '../App'; +import IMangaConnector from '../types/IMangaConnector'; +import {getData, patchData} from '../../App'; -export class MangaConnectorFunctions +export class MangaConnector { static async GetAllConnectors(apiUri: string): Promise { //console.info("Getting all MangaConnectors"); diff --git a/Website/modules/NotificationConnectorFunctions.tsx b/Website/modules/api/NotificationConnector.tsx similarity index 91% rename from Website/modules/NotificationConnectorFunctions.tsx rename to Website/modules/api/NotificationConnector.tsx index 9d0a49b..d303845 100644 --- a/Website/modules/NotificationConnectorFunctions.tsx +++ b/Website/modules/api/NotificationConnector.tsx @@ -1,11 +1,11 @@ -import INotificationConnector from "./interfaces/INotificationConnector"; -import {deleteData, getData, putData} from "../App"; -import IGotifyRecord from "./interfaces/records/IGotifyRecord"; -import INtfyRecord from "./interfaces/records/INtfyRecord"; -import ILunaseaRecord from "./interfaces/records/ILunaseaRecord"; -import IPushoverRecord from "./interfaces/records/IPushoverRecord"; +import {deleteData, getData, putData} from "../../App"; +import IGotifyRecord from "../types/records/IGotifyRecord"; +import INtfyRecord from "../types/records/INtfyRecord"; +import ILunaseaRecord from "../types/records/ILunaseaRecord"; +import IPushoverRecord from "../types/records/IPushoverRecord"; +import INotificationConnector from "../types/INotificationConnector"; -export default class NotificationConnectorFunctions { +export default class NotificationConnector { static async GetNotificationConnectors(apiUri: string) : Promise { //console.info("Getting Notification Connectors"); diff --git a/Website/modules/SearchFunctions.tsx b/Website/modules/api/Search.tsx similarity index 95% rename from Website/modules/SearchFunctions.tsx rename to Website/modules/api/Search.tsx index 2ef8589..1a5979b 100644 --- a/Website/modules/SearchFunctions.tsx +++ b/Website/modules/api/Search.tsx @@ -1,5 +1,5 @@ -import IManga from "./interfaces/IManga"; -import {postData} from "../App"; +import {postData} from "../../App"; +import IManga from "../types/IManga"; export default class SearchFunctions { diff --git a/Website/modules/interfaces/IRequestLimits.ts b/Website/modules/interfaces/IRequestLimits.ts deleted file mode 100644 index 30d0d41..0000000 --- a/Website/modules/interfaces/IRequestLimits.ts +++ /dev/null @@ -1,17 +0,0 @@ -export default interface IRequestLimits { - Default: number; - MangaDexFeed: number; - MangaImage: number; - MangaCover: number; - MangaDexImage: number; - MangaInfo: number; -} - -export enum RequestType { - Default = "Default", - MangaDexFeed = "MangaDexFeed", - MangaImage = "MangaImage", - MangaCover = "MangaCover", - MangaDexImage = "MangaDexImage", - MangaInfo = "MangaInfo" -} \ No newline at end of file diff --git a/Website/modules/types/EnumLibraryType.ts b/Website/modules/types/EnumLibraryType.ts new file mode 100644 index 0000000..5665b04 --- /dev/null +++ b/Website/modules/types/EnumLibraryType.ts @@ -0,0 +1,4 @@ +export enum LibraryType { + Komga = "Komga", + Kavita = "Kavita" +} \ No newline at end of file diff --git a/Website/modules/types/EnumMangaReleaseStatus.ts b/Website/modules/types/EnumMangaReleaseStatus.ts new file mode 100644 index 0000000..aa3c310 --- /dev/null +++ b/Website/modules/types/EnumMangaReleaseStatus.ts @@ -0,0 +1,7 @@ +export enum MangaReleaseStatus { + Continuing = "Continuing", + Completed = "Completed", + OnHiatus = "OnHiatus", + Cancelled = "Cancelled", + Unreleased = "Unreleased", +} \ No newline at end of file diff --git a/Website/modules/types/EnumRequestLimitType.ts b/Website/modules/types/EnumRequestLimitType.ts new file mode 100644 index 0000000..c742b5f --- /dev/null +++ b/Website/modules/types/EnumRequestLimitType.ts @@ -0,0 +1,8 @@ +export enum RequestLimitType { + Default = "Default", + MangaDexFeed = "MangaDexFeed", + MangaImage = "MangaImage", + MangaCover = "MangaCover", + MangaDexImage = "MangaDexImage", + MangaInfo = "MangaInfo" +} \ No newline at end of file diff --git a/Website/modules/types/IAuthor.ts b/Website/modules/types/IAuthor.ts new file mode 100644 index 0000000..2b54e17 --- /dev/null +++ b/Website/modules/types/IAuthor.ts @@ -0,0 +1,4 @@ +export default interface IAuthor { + authorId: string; + authorName: string; +} \ No newline at end of file diff --git a/Website/modules/interfaces/IBackendSettings.tsx b/Website/modules/types/IBackendSettings.ts similarity index 100% rename from Website/modules/interfaces/IBackendSettings.tsx rename to Website/modules/types/IBackendSettings.ts diff --git a/Website/modules/types/IChapter.ts b/Website/modules/types/IChapter.ts new file mode 100644 index 0000000..e255ff6 --- /dev/null +++ b/Website/modules/types/IChapter.ts @@ -0,0 +1,10 @@ +export default interface IChapter{ + chapterId: string; + volumeNumber: number; + chapterNumber: string; + url: string; + title: string | undefined; + archiveFileName: string; + downloaded: boolean; + parentMangaId: string; +} \ No newline at end of file diff --git a/Website/modules/types/IFrontendSettings.ts b/Website/modules/types/IFrontendSettings.ts new file mode 100644 index 0000000..2c1c7c5 --- /dev/null +++ b/Website/modules/types/IFrontendSettings.ts @@ -0,0 +1,4 @@ +export default interface IFrontendSettings { + jobInterval: Date; + apiUri: string; +} \ No newline at end of file diff --git a/Website/modules/interfaces/ILibraryConnector.ts b/Website/modules/types/ILibraryConnector.ts similarity index 67% rename from Website/modules/interfaces/ILibraryConnector.ts rename to Website/modules/types/ILibraryConnector.ts index a477475..7e2322e 100644 --- a/Website/modules/interfaces/ILibraryConnector.ts +++ b/Website/modules/types/ILibraryConnector.ts @@ -1,11 +1,8 @@ +import {LibraryType} from "./EnumLibraryType"; + export default interface ILibraryConnector { libraryConnectorId: string; libraryType: LibraryType; baseUrl: string; auth: string; -} - -export enum LibraryType { - Komga = "Komga", - Kavita = "Kavita" } \ No newline at end of file diff --git a/Website/modules/types/ILink.ts b/Website/modules/types/ILink.ts new file mode 100644 index 0000000..9a26546 --- /dev/null +++ b/Website/modules/types/ILink.ts @@ -0,0 +1,5 @@ +export default interface ILink { + linkId: string; + linkProvider: string; + linkUrl: string; +} \ No newline at end of file diff --git a/Website/modules/types/ILocalLibrary.ts b/Website/modules/types/ILocalLibrary.ts new file mode 100644 index 0000000..11f2bbc --- /dev/null +++ b/Website/modules/types/ILocalLibrary.ts @@ -0,0 +1,5 @@ +export default interface ILocalLibrary { + localLibraryId: string; + basePath: string; + libraryName: string; +} \ No newline at end of file diff --git a/Website/modules/types/IManga.ts b/Website/modules/types/IManga.ts new file mode 100644 index 0000000..9640408 --- /dev/null +++ b/Website/modules/types/IManga.ts @@ -0,0 +1,19 @@ +import {MangaReleaseStatus} from "./EnumMangaReleaseStatus"; + +export default interface IManga{ + mangaId: string; + idOnConnectorSite: string; + name: string; + description: string; + websiteUrl: string; + year: number; + originalLanguage: string; + releaseStatus: MangaReleaseStatus; + folderName: string; + ignoreChapterBefore: number; + mangaConnectorId: string; + authorIds: string[]; + tags: string[]; + linkIds: string[]; + altTitleIds: string[]; +} \ No newline at end of file diff --git a/Website/modules/types/IMangaAltTitle.ts b/Website/modules/types/IMangaAltTitle.ts new file mode 100644 index 0000000..2526df4 --- /dev/null +++ b/Website/modules/types/IMangaAltTitle.ts @@ -0,0 +1,5 @@ +export default interface IMangaAltTitle { + altTitleId: string; + language: string; + title: string; +} \ No newline at end of file diff --git a/Website/modules/interfaces/IMangaConnector.ts b/Website/modules/types/IMangaConnector.ts similarity index 100% rename from Website/modules/interfaces/IMangaConnector.ts rename to Website/modules/types/IMangaConnector.ts diff --git a/Website/modules/types/INotificationConnector.ts b/Website/modules/types/INotificationConnector.ts new file mode 100644 index 0000000..8d2b765 --- /dev/null +++ b/Website/modules/types/INotificationConnector.ts @@ -0,0 +1,7 @@ +export default interface INotificationConnector { + name: string; + url: string; + headers: Record[]; + httpMethod: string; + body: string; +} \ No newline at end of file diff --git a/Website/modules/types/IRequestLimits.ts b/Website/modules/types/IRequestLimits.ts new file mode 100644 index 0000000..54a00ec --- /dev/null +++ b/Website/modules/types/IRequestLimits.ts @@ -0,0 +1,8 @@ +export default interface IRequestLimits { + Default: number; + MangaDexFeed: number; + MangaImage: number; + MangaCover: number; + MangaDexImage: number; + MangaInfo: number; +} \ No newline at end of file diff --git a/Website/modules/interfaces/Jobs/IDownloadAvailableChaptersJob.ts b/Website/modules/types/Jobs/IDownloadAvailableChaptersJob.ts similarity index 100% rename from Website/modules/interfaces/Jobs/IDownloadAvailableChaptersJob.ts rename to Website/modules/types/Jobs/IDownloadAvailableChaptersJob.ts diff --git a/Website/modules/interfaces/Jobs/IDownloadMangaCoverJob.ts b/Website/modules/types/Jobs/IDownloadMangaCoverJob.ts similarity index 100% rename from Website/modules/interfaces/Jobs/IDownloadMangaCoverJob.ts rename to Website/modules/types/Jobs/IDownloadMangaCoverJob.ts diff --git a/Website/modules/interfaces/Jobs/IDownloadSingleChapterJob.ts b/Website/modules/types/Jobs/IDownloadSingleChapterJob.ts similarity index 100% rename from Website/modules/interfaces/Jobs/IDownloadSingleChapterJob.ts rename to Website/modules/types/Jobs/IDownloadSingleChapterJob.ts diff --git a/Website/modules/interfaces/Jobs/IJob.ts b/Website/modules/types/Jobs/IJob.ts similarity index 100% rename from Website/modules/interfaces/Jobs/IJob.ts rename to Website/modules/types/Jobs/IJob.ts diff --git a/Website/modules/interfaces/Jobs/IMoveFileOrFolderJob.ts b/Website/modules/types/Jobs/IMoveFileOrFolderJob.ts similarity index 100% rename from Website/modules/interfaces/Jobs/IMoveFileOrFolderJob.ts rename to Website/modules/types/Jobs/IMoveFileOrFolderJob.ts diff --git a/Website/modules/interfaces/Jobs/IMoveMangaLibraryJob.ts b/Website/modules/types/Jobs/IMoveMangaLibraryJob.ts similarity index 100% rename from Website/modules/interfaces/Jobs/IMoveMangaLibraryJob.ts rename to Website/modules/types/Jobs/IMoveMangaLibraryJob.ts diff --git a/Website/modules/interfaces/Jobs/IRetrieveChaptersJob.ts b/Website/modules/types/Jobs/IRetrieveChaptersJob.ts similarity index 100% rename from Website/modules/interfaces/Jobs/IRetrieveChaptersJob.ts rename to Website/modules/types/Jobs/IRetrieveChaptersJob.ts diff --git a/Website/modules/interfaces/Jobs/IUpdateFilesDownloadedJob.ts b/Website/modules/types/Jobs/IUpdateFilesDownloadedJob.ts similarity index 100% rename from Website/modules/interfaces/Jobs/IUpdateFilesDownloadedJob.ts rename to Website/modules/types/Jobs/IUpdateFilesDownloadedJob.ts diff --git a/Website/modules/interfaces/Jobs/IUpdateMetadataJob.ts b/Website/modules/types/Jobs/IUpdateMetadataJob.ts similarity index 100% rename from Website/modules/interfaces/Jobs/IUpdateMetadataJob.ts rename to Website/modules/types/Jobs/IUpdateMetadataJob.ts diff --git a/Website/modules/interfaces/records/IDownloadAvailableJobsRecord.ts b/Website/modules/types/records/IDownloadAvailableJobsRecord.ts similarity index 100% rename from Website/modules/interfaces/records/IDownloadAvailableJobsRecord.ts rename to Website/modules/types/records/IDownloadAvailableJobsRecord.ts diff --git a/Website/modules/types/records/IGotifyRecord.ts b/Website/modules/types/records/IGotifyRecord.ts new file mode 100644 index 0000000..ab8b256 --- /dev/null +++ b/Website/modules/types/records/IGotifyRecord.ts @@ -0,0 +1,8 @@ +import "../../../styles/notificationConnector.css"; +import {isValidUri} from "../../../App"; + +export default interface IGotifyRecord { + endpoint: string; + appToken: string; + priority: number; +} \ No newline at end of file diff --git a/Website/modules/types/records/ILunaseaRecord.ts b/Website/modules/types/records/ILunaseaRecord.ts new file mode 100644 index 0000000..6a441f4 --- /dev/null +++ b/Website/modules/types/records/ILunaseaRecord.ts @@ -0,0 +1,8 @@ +import {ReactElement, useState} from "react"; +import NotificationConnector from "../../api/NotificationConnector"; +import Loader from "../../Loader"; +import "../../../styles/notificationConnector.css"; + +export default interface ILunaseaRecord { + id: string; +} \ No newline at end of file diff --git a/Website/modules/interfaces/records/IModifyJobRecord.ts b/Website/modules/types/records/IModifyJobRecord.ts similarity index 100% rename from Website/modules/interfaces/records/IModifyJobRecord.ts rename to Website/modules/types/records/IModifyJobRecord.ts diff --git a/Website/modules/interfaces/records/INewLibraryRecord.ts b/Website/modules/types/records/INewLibraryRecord.ts similarity index 100% rename from Website/modules/interfaces/records/INewLibraryRecord.ts rename to Website/modules/types/records/INewLibraryRecord.ts diff --git a/Website/modules/types/records/INtfyRecord.ts b/Website/modules/types/records/INtfyRecord.ts new file mode 100644 index 0000000..6470347 --- /dev/null +++ b/Website/modules/types/records/INtfyRecord.ts @@ -0,0 +1,9 @@ +import "../../../styles/notificationConnector.css"; + +export default interface INtfyRecord { + endpoint: string; + username: string; + password: string; + topic: string; + priority: number; +} \ No newline at end of file diff --git a/Website/modules/types/records/IPushoverRecord.tsx b/Website/modules/types/records/IPushoverRecord.tsx new file mode 100644 index 0000000..bdca0b7 --- /dev/null +++ b/Website/modules/types/records/IPushoverRecord.tsx @@ -0,0 +1,6 @@ +import "../../../styles/notificationConnector.css"; + +export default interface IPushoverRecord { + apptoken: string; + user: string; +} \ No newline at end of file diff --git a/tranga-website/.gitignore b/tranga-website/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/tranga-website/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/tranga-website/README.md b/tranga-website/README.md new file mode 100644 index 0000000..40ede56 --- /dev/null +++ b/tranga-website/README.md @@ -0,0 +1,54 @@ +# React + TypeScript + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh + +## Expanding the ESLint configuration + +If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules: + +```js +export default tseslint.config({ + extends: [ + // Remove ...tseslint.configs.recommended and replace with this + ...tseslint.configs.recommendedTypeChecked, + // Alternatively, use this for stricter rules + ...tseslint.configs.strictTypeChecked, + // Optionally, add this for stylistic rules + ...tseslint.configs.stylisticTypeChecked, + ], + languageOptions: { + // other options... + parserOptions: { + project: ['./tsconfig.node.json', './tsconfig.app.json'], + tsconfigRootDir: import.meta.dirname, + }, + }, +}) +``` + +You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules: + +```js +// eslint.config.js +import reactX from 'eslint-plugin-react-x' +import reactDom from 'eslint-plugin-react-dom' + +export default tseslint.config({ + plugins: { + // Add the react-x and react-dom plugins + 'react-x': reactX, + 'react-dom': reactDom, + }, + rules: { + // other rules... + // Enable its recommended typescript rules + ...reactX.configs['recommended-typescript'].rules, + ...reactDom.configs.recommended.rules, + }, +}) +``` diff --git a/tranga-website/eslint.config.js b/tranga-website/eslint.config.js new file mode 100644 index 0000000..092408a --- /dev/null +++ b/tranga-website/eslint.config.js @@ -0,0 +1,28 @@ +import js from '@eslint/js' +import globals from 'globals' +import reactHooks from 'eslint-plugin-react-hooks' +import reactRefresh from 'eslint-plugin-react-refresh' +import tseslint from 'typescript-eslint' + +export default tseslint.config( + { ignores: ['dist'] }, + { + extends: [js.configs.recommended, ...tseslint.configs.recommended], + files: ['**/*.{ts,tsx}'], + languageOptions: { + ecmaVersion: 2020, + globals: globals.browser, + }, + plugins: { + 'react-hooks': reactHooks, + 'react-refresh': reactRefresh, + }, + rules: { + ...reactHooks.configs.recommended.rules, + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + }, + }, +) diff --git a/tranga-website/index.html b/tranga-website/index.html new file mode 100644 index 0000000..e4b78ea --- /dev/null +++ b/tranga-website/index.html @@ -0,0 +1,13 @@ + + + + + + + Vite + React + TS + + +
+ + + diff --git a/tranga-website/package-lock.json b/tranga-website/package-lock.json new file mode 100644 index 0000000..47c817d --- /dev/null +++ b/tranga-website/package-lock.json @@ -0,0 +1,4225 @@ +{ + "name": "tranga-website", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "tranga-website", + "version": "0.0.0", + "dependencies": { + "@emotion/react": "^11.14.0", + "@emotion/styled": "^11.14.0", + "@fontsource/inter": "^5.2.5", + "@mui/icons-material": "^7.0.1", + "@mui/joy": "^5.0.0-beta.52", + "react": "^19.0.0", + "react-dom": "^19.0.0" + }, + "devDependencies": { + "@eslint/js": "^9.21.0", + "@types/react": "^19.0.10", + "@types/react-dom": "^19.0.4", + "@vitejs/plugin-react": "^4.3.4", + "eslint": "^9.21.0", + "eslint-plugin-react-hooks": "^5.1.0", + "eslint-plugin-react-refresh": "^0.4.19", + "globals": "^15.15.0", + "typescript": "~5.7.2", + "typescript-eslint": "^8.24.1", + "vite": "^6.2.0" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.8.tgz", + "integrity": "sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.26.10", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.10.tgz", + "integrity": "sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.10", + "@babel/helper-compilation-targets": "^7.26.5", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.10", + "@babel/parser": "^7.26.10", + "@babel/template": "^7.26.9", + "@babel/traverse": "^7.26.10", + "@babel/types": "^7.26.10", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.27.0.tgz", + "integrity": "sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.27.0", + "@babel/types": "^7.27.0", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.0.tgz", + "integrity": "sha512-LVk7fbXml0H2xH34dFzKQ7TDZ2G4/rVTOrq9V+icbbadjbVxxeFeDsNHv2SrZeWoA+6ZiTyWYWtScEIW07EAcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.26.8", + "@babel/helper-validator-option": "^7.25.9", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", + "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", + "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.26.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz", + "integrity": "sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", + "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", + "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.0.tgz", + "integrity": "sha512-U5eyP/CTFPuNE3qk+WZMxFkp/4zUzdceQlfzf7DdGdhp+Fezd7HD+i8Y24ZuTMKX3wQBld449jijbGq6OdGNQg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.27.0", + "@babel/types": "^7.27.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.0.tgz", + "integrity": "sha512-iaepho73/2Pz7w2eMS0Q5f83+0RKI7i4xmiYeBmDzfRVbQtTOG7Ts0S4HzJVsTMGI9keU8rNfuZr8DKfSt7Yyg==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.27.0" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.25.9.tgz", + "integrity": "sha512-y8quW6p0WHkEhmErnfe58r7x0A70uKphQm8Sp8cV7tjNQwK56sNVK0M73LK3WuYmsuyrftut4xAkjjgU0twaMg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.25.9.tgz", + "integrity": "sha512-+iqjT8xmXhhYv4/uiYd8FNQsraMFZIfxVSqxxVSZP0WbbSAWvBXAul0m/zu+7Vv4O/3WtApy9pmaTMiumEZgfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.0.tgz", + "integrity": "sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.0.tgz", + "integrity": "sha512-2ncevenBqXI6qRMukPlXwHKHchC7RyMuu4xv5JBXRfOGVcTy1mXCD12qrp7Jsoxll1EV3+9sE4GugBVRjT2jFA==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "@babel/parser": "^7.27.0", + "@babel/types": "^7.27.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.0.tgz", + "integrity": "sha512-19lYZFzYVQkkHkl4Cy4WrAVcqBkgvV2YM2TU3xG6DIwO7O3ecbDPfW3yM3bjAGcqcQHi+CCtjMR3dIEHxsd6bA==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.27.0", + "@babel/parser": "^7.27.0", + "@babel/template": "^7.27.0", + "@babel/types": "^7.27.0", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/types": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.0.tgz", + "integrity": "sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@emotion/babel-plugin": { + "version": "11.13.5", + "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz", + "integrity": "sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/runtime": "^7.18.3", + "@emotion/hash": "^0.9.2", + "@emotion/memoize": "^0.9.0", + "@emotion/serialize": "^1.3.3", + "babel-plugin-macros": "^3.1.0", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^4.0.0", + "find-root": "^1.1.0", + "source-map": "^0.5.7", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "license": "MIT" + }, + "node_modules/@emotion/cache": { + "version": "11.14.0", + "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.14.0.tgz", + "integrity": "sha512-L/B1lc/TViYk4DcpGxtAVbx0ZyiKM5ktoIyafGkH6zg/tj+mA+NE//aPYKG0k8kCHSHVJrpLpcAlOBEXQ3SavA==", + "license": "MIT", + "dependencies": { + "@emotion/memoize": "^0.9.0", + "@emotion/sheet": "^1.4.0", + "@emotion/utils": "^1.4.2", + "@emotion/weak-memoize": "^0.4.0", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/hash": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz", + "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==", + "license": "MIT" + }, + "node_modules/@emotion/is-prop-valid": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.3.1.tgz", + "integrity": "sha512-/ACwoqx7XQi9knQs/G0qKvv5teDMhD7bXYns9N/wM8ah8iNb8jZ2uNO0YOgiq2o2poIvVtJS2YALasQuMSQ7Kw==", + "license": "MIT", + "dependencies": { + "@emotion/memoize": "^0.9.0" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz", + "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==", + "license": "MIT" + }, + "node_modules/@emotion/react": { + "version": "11.14.0", + "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.14.0.tgz", + "integrity": "sha512-O000MLDBDdk/EohJPFUqvnp4qnHeYkVP5B0xEG0D/L7cOKP9kefu2DXn8dj74cQfsEzUqh+sr1RzFqiL1o+PpA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.13.5", + "@emotion/cache": "^11.14.0", + "@emotion/serialize": "^1.3.3", + "@emotion/use-insertion-effect-with-fallbacks": "^1.2.0", + "@emotion/utils": "^1.4.2", + "@emotion/weak-memoize": "^0.4.0", + "hoist-non-react-statics": "^3.3.1" + }, + "peerDependencies": { + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/serialize": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.3.3.tgz", + "integrity": "sha512-EISGqt7sSNWHGI76hC7x1CksiXPahbxEOrC5RjmFRJTqLyEK9/9hZvBbiYn70dw4wuwMKiEMCUlR6ZXTSWQqxA==", + "license": "MIT", + "dependencies": { + "@emotion/hash": "^0.9.2", + "@emotion/memoize": "^0.9.0", + "@emotion/unitless": "^0.10.0", + "@emotion/utils": "^1.4.2", + "csstype": "^3.0.2" + } + }, + "node_modules/@emotion/sheet": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.4.0.tgz", + "integrity": "sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==", + "license": "MIT" + }, + "node_modules/@emotion/styled": { + "version": "11.14.0", + "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.14.0.tgz", + "integrity": "sha512-XxfOnXFffatap2IyCeJyNov3kiDQWoR08gPUQxvbL7fxKryGBKUZUkG6Hz48DZwVrJSVh9sJboyV1Ds4OW6SgA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.13.5", + "@emotion/is-prop-valid": "^1.3.0", + "@emotion/serialize": "^1.3.3", + "@emotion/use-insertion-effect-with-fallbacks": "^1.2.0", + "@emotion/utils": "^1.4.2" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0-rc.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/unitless": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.10.0.tgz", + "integrity": "sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==", + "license": "MIT" + }, + "node_modules/@emotion/use-insertion-effect-with-fallbacks": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.2.0.tgz", + "integrity": "sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg==", + "license": "MIT", + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/@emotion/utils": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.4.2.tgz", + "integrity": "sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==", + "license": "MIT" + }, + "node_modules/@emotion/weak-memoize": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.4.0.tgz", + "integrity": "sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==", + "license": "MIT" + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.2.tgz", + "integrity": "sha512-wCIboOL2yXZym2cgm6mlA742s9QeJ8DjGVaL39dLN4rRwrOgOyYSnOaFPhKZGLb2ngj4EyfAFjsNJwPXZvseag==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.2.tgz", + "integrity": "sha512-NQhH7jFstVY5x8CKbcfa166GoV0EFkaPkCKBQkdPJFvo5u+nGXLEH/ooniLb3QI8Fk58YAx7nsPLozUWfCBOJA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.2.tgz", + "integrity": "sha512-5ZAX5xOmTligeBaeNEPnPaeEuah53Id2tX4c2CVP3JaROTH+j4fnfHCkr1PjXMd78hMst+TlkfKcW/DlTq0i4w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.2.tgz", + "integrity": "sha512-Ffcx+nnma8Sge4jzddPHCZVRvIfQ0kMsUsCMcJRHkGJ1cDmhe4SsrYIjLUKn1xpHZybmOqCWwB0zQvsjdEHtkg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.2.tgz", + "integrity": "sha512-MpM6LUVTXAzOvN4KbjzU/q5smzryuoNjlriAIx+06RpecwCkL9JpenNzpKd2YMzLJFOdPqBpuub6eVRP5IgiSA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.2.tgz", + "integrity": "sha512-5eRPrTX7wFyuWe8FqEFPG2cU0+butQQVNcT4sVipqjLYQjjh8a8+vUTfgBKM88ObB85ahsnTwF7PSIt6PG+QkA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.2.tgz", + "integrity": "sha512-mLwm4vXKiQ2UTSX4+ImyiPdiHjiZhIaE9QvC7sw0tZ6HoNMjYAqQpGyui5VRIi5sGd+uWq940gdCbY3VLvsO1w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.2.tgz", + "integrity": "sha512-6qyyn6TjayJSwGpm8J9QYYGQcRgc90nmfdUb0O7pp1s4lTY+9D0H9O02v5JqGApUyiHOtkz6+1hZNvNtEhbwRQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.2.tgz", + "integrity": "sha512-UHBRgJcmjJv5oeQF8EpTRZs/1knq6loLxTsjc3nxO9eXAPDLcWW55flrMVc97qFPbmZP31ta1AZVUKQzKTzb0g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.2.tgz", + "integrity": "sha512-gq/sjLsOyMT19I8obBISvhoYiZIAaGF8JpeXu1u8yPv8BE5HlWYobmlsfijFIZ9hIVGYkbdFhEqC0NvM4kNO0g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.2.tgz", + "integrity": "sha512-bBYCv9obgW2cBP+2ZWfjYTU+f5cxRoGGQ5SeDbYdFCAZpYWrfjjfYwvUpP8MlKbP0nwZ5gyOU/0aUzZ5HWPuvQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.2.tgz", + "integrity": "sha512-SHNGiKtvnU2dBlM5D8CXRFdd+6etgZ9dXfaPCeJtz+37PIUlixvlIhI23L5khKXs3DIzAn9V8v+qb1TRKrgT5w==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.2.tgz", + "integrity": "sha512-hDDRlzE6rPeoj+5fsADqdUZl1OzqDYow4TB4Y/3PlKBD0ph1e6uPHzIQcv2Z65u2K0kpeByIyAjCmjn1hJgG0Q==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.2.tgz", + "integrity": "sha512-tsHu2RRSWzipmUi9UBDEzc0nLc4HtpZEI5Ba+Omms5456x5WaNuiG3u7xh5AO6sipnJ9r4cRWQB2tUjPyIkc6g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.2.tgz", + "integrity": "sha512-k4LtpgV7NJQOml/10uPU0s4SAXGnowi5qBSjaLWMojNCUICNu7TshqHLAEbkBdAszL5TabfvQ48kK84hyFzjnw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.2.tgz", + "integrity": "sha512-GRa4IshOdvKY7M/rDpRR3gkiTNp34M0eLTaC1a08gNrh4u488aPhuZOCpkF6+2wl3zAN7L7XIpOFBhnaE3/Q8Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.2.tgz", + "integrity": "sha512-QInHERlqpTTZ4FRB0fROQWXcYRD64lAoiegezDunLpalZMjcUcld3YzZmVJ2H/Cp0wJRZ8Xtjtj0cEHhYc/uUg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.2.tgz", + "integrity": "sha512-talAIBoY5M8vHc6EeI2WW9d/CkiO9MQJ0IOWX8hrLhxGbro/vBXJvaQXefW2cP0z0nQVTdQ/eNyGFV1GSKrxfw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.2.tgz", + "integrity": "sha512-voZT9Z+tpOxrvfKFyfDYPc4DO4rk06qamv1a/fkuzHpiVBMOhpjK+vBmWM8J1eiB3OLSMFYNaOaBNLXGChf5tg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.2.tgz", + "integrity": "sha512-dcXYOC6NXOqcykeDlwId9kB6OkPUxOEqU+rkrYVqJbK2hagWOMrsTGsMr8+rW02M+d5Op5NNlgMmjzecaRf7Tg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.2.tgz", + "integrity": "sha512-t/TkWwahkH0Tsgoq1Ju7QfgGhArkGLkF1uYz8nQS/PPFlXbP5YgRpqQR3ARRiC2iXoLTWFxc6DJMSK10dVXluw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.2.tgz", + "integrity": "sha512-cfZH1co2+imVdWCjd+D1gf9NjkchVhhdpgb1q5y6Hcv9TP6Zi9ZG/beI3ig8TvwT9lH9dlxLq5MQBBgwuj4xvA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.2.tgz", + "integrity": "sha512-7Loyjh+D/Nx/sOTzV8vfbB3GJuHdOQyrOryFdZvPHLf42Tk9ivBU5Aedi7iyX+x6rbn2Mh68T4qq1SDqJBQO5Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.2.tgz", + "integrity": "sha512-WRJgsz9un0nqZJ4MfhabxaD9Ft8KioqU3JMinOTvobbX6MOSUigSBlogP8QB3uxpJDsFS6yN+3FDBdqE5lg9kg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.2.tgz", + "integrity": "sha512-kM3HKb16VIXZyIeVrM1ygYmZBKybX8N4p754bw390wGO3Tf2j4L2/WYL+4suWujpgf6GBYs3jv7TyUivdd05JA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.5.1.tgz", + "integrity": "sha512-soEIOALTfTK6EjmKMMoLugwaP0rzkad90iIWd1hMO9ARkSAyjfMfkRRhLvD5qH7vvM0Cg72pieUfR6yh6XxC4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.2.tgz", + "integrity": "sha512-GNKqxfHG2ySmJOBSHg7LxeUx4xpuCoFjacmlCoYWEbaPXLwvfIjixRI12xCQZeULksQb23uiA8F40w5TojpV7w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.6", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.2.0.tgz", + "integrity": "sha512-yJLLmLexii32mGrhW29qvU3QBVTu0GUmEf/J4XsBtVhp4JkIUFN/BjWqTF63yRvGApIDpZm5fa97LtYtINmfeQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.12.0.tgz", + "integrity": "sha512-cmrR6pytBuSMTaBweKoGMwu3EiHiEC+DoyupPmlZ0HxBJBtIxwe+j/E4XPIKNx+Q74c8lXKPwYawBf5glsTkHg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz", + "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "9.23.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.23.0.tgz", + "integrity": "sha512-35MJ8vCPU0ZMxo7zfev2pypqTwWTofFZO6m4KAtdoFhRpLJUpHTZZ+KB3C7Hb1d7bULYwO4lJXGCi5Se+8OMbw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz", + "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.7.tgz", + "integrity": "sha512-JubJ5B2pJ4k4yGxaNLdbjrnk9d/iDz6/q8wOilpIowd6PJPgaxCuHBnBszq7Ce2TyMrywm5r4PnKm6V3iiZF+g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.12.0", + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@floating-ui/core": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz", + "integrity": "sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.9" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.6.13", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz", + "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.6.0", + "@floating-ui/utils": "^0.2.9" + } + }, + "node_modules/@floating-ui/react-dom": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.2.tgz", + "integrity": "sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz", + "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==", + "license": "MIT" + }, + "node_modules/@fontsource/inter": { + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/@fontsource/inter/-/inter-5.2.5.tgz", + "integrity": "sha512-kbsPKj0S4p44JdYRFiW78Td8Ge2sBVxi/PIBwmih+RpSXUdvS9nbs1HIiuUSPtRMi14CqLEZ/fbk7dj7vni1Sg==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.2.tgz", + "integrity": "sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@mui/base": { + "version": "5.0.0-beta.40-1", + "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.40-1.tgz", + "integrity": "sha512-agKXuNNy0bHUmeU7pNmoZwNFr7Hiyhojkb9+2PVyDG5+6RafYuyMgbrav8CndsB7KUc/U51JAw9vKNDLYBzaUA==", + "deprecated": "This package has been replaced by @base-ui-components/react", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@floating-ui/react-dom": "^2.0.8", + "@mui/types": "~7.2.15", + "@mui/utils": "^5.17.1", + "@popperjs/core": "^2.11.8", + "clsx": "^2.1.0", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/core-downloads-tracker": { + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.17.1.tgz", + "integrity": "sha512-OcZj+cs6EfUD39IoPBOgN61zf1XFVY+imsGoBDwXeSq2UHJZE3N59zzBOVjclck91Ne3e9gudONOeILvHCIhUA==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + } + }, + "node_modules/@mui/icons-material": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-7.0.1.tgz", + "integrity": "sha512-x8Em7LISFQ6s/KeZj6ZKwJHq2WttRNe9KJLWFa72eQx7B53s/TzMKOEjGKB/YyhOx+bqqSv1pMvK373M4Xf07A==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.26.10" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@mui/material": "^7.0.1", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/joy": { + "version": "5.0.0-beta.52", + "resolved": "https://registry.npmjs.org/@mui/joy/-/joy-5.0.0-beta.52.tgz", + "integrity": "sha512-e8jQanA5M1f/X52mJrw0UIW8Er7EAHuLuigmGFw7yIsAgIluhIP4rZ7JcbVrUi6z5Gk0weC9QWUUtjLejAbO8g==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@mui/base": "5.0.0-beta.40-1", + "@mui/core-downloads-tracker": "^5.17.1", + "@mui/system": "^5.17.1", + "@mui/types": "~7.2.15", + "@mui/utils": "^5.17.1", + "clsx": "^2.1.0", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@mui/material/-/material-7.0.1.tgz", + "integrity": "sha512-tQwjIIsn/UUSCHoCIQVkANuLua67h7Ro9M9gIHoGWaFbJFuF6cSO4Oda2olDVqIs4SWG+PaDChuu6SngxsaoyQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.26.10", + "@mui/core-downloads-tracker": "^7.0.1", + "@mui/system": "^7.0.1", + "@mui/types": "^7.4.0", + "@mui/utils": "^7.0.1", + "@popperjs/core": "^2.11.8", + "@types/react-transition-group": "^4.4.12", + "clsx": "^2.1.1", + "csstype": "^3.1.3", + "prop-types": "^15.8.1", + "react-is": "^19.0.0", + "react-transition-group": "^4.4.5" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@mui/material-pigment-css": "^7.0.1", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@mui/material-pigment-css": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/@mui/core-downloads-tracker": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-7.0.1.tgz", + "integrity": "sha512-T5DNVnSD9pMbj4Jk/Uphz+yvj9dfpl2+EqsOuJtG12HxEihNG5pd3qzX5yM1Id4dDwKRvM3dPVcxyzavTFhJeA==", + "license": "MIT", + "peer": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + } + }, + "node_modules/@mui/material/node_modules/@mui/private-theming": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-7.0.1.tgz", + "integrity": "sha512-1kQ7REYjjzDukuMfTbAjm3pLEhD7gUMC2bWhg9VD6f6sHzyokKzX0XHzlr3IdzNWBjPytGkzHpPIRQrUOoPLCQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.26.10", + "@mui/utils": "^7.0.1", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/@mui/styled-engine": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-7.0.1.tgz", + "integrity": "sha512-BeGe4xZmF7tESKhmctYrL54Kl25kGHPKVdZYM5qj5Xz76WM/poY+d8EmAqUesT6k2rbJWPp2gtOAXXinNCGunQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.26.10", + "@emotion/cache": "^11.13.5", + "@emotion/serialize": "^1.3.3", + "@emotion/sheet": "^1.4.0", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.4.1", + "@emotion/styled": "^11.3.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/@mui/system": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@mui/system/-/system-7.0.1.tgz", + "integrity": "sha512-pK+puz0hRPHEKGlcPd80mKYD3jpyi0uVIwWffox1WZgPTQMw2dCKLcD+9ndMDJADnrKzmKlpoH756PPFh2UvWA==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.26.10", + "@mui/private-theming": "^7.0.1", + "@mui/styled-engine": "^7.0.1", + "@mui/types": "^7.4.0", + "@mui/utils": "^7.0.1", + "clsx": "^2.1.1", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/@mui/types": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.4.0.tgz", + "integrity": "sha512-TxJ4ezEeedWHBjOmLtxI203a9DII9l4k83RXmz1PYSAmnyEcK2PglTNmJGxswC/wM5cdl9ap2h8lnXvt2swAGQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.26.10" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/@mui/utils": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-7.0.1.tgz", + "integrity": "sha512-SJKrrebNpmK9rJCnVL29nGPhPXQYtBZmb7Dsp0f58uIUhQfAKcBXHE4Kjs06SX4CwqeCuwEVgcHY+MgAO6XQ/g==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.26.10", + "@mui/types": "^7.4.0", + "@types/prop-types": "^15.7.14", + "clsx": "^2.1.1", + "prop-types": "^15.8.1", + "react-is": "^19.0.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/private-theming": { + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.17.1.tgz", + "integrity": "sha512-XMxU0NTYcKqdsG8LRmSoxERPXwMbp16sIXPcLVgLGII/bVNagX0xaheWAwFv8+zDK7tI3ajllkuD3GZZE++ICQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@mui/utils": "^5.17.1", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/styled-engine": { + "version": "5.16.14", + "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.16.14.tgz", + "integrity": "sha512-UAiMPZABZ7p8mUW4akDV6O7N3+4DatStpXMZwPlt+H/dA0lt67qawN021MNND+4QTpjaiMYxbhKZeQcyWCbuKw==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@emotion/cache": "^11.13.5", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.4.1", + "@emotion/styled": "^11.3.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + } + } + }, + "node_modules/@mui/system": { + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.17.1.tgz", + "integrity": "sha512-aJrmGfQpyF0U4D4xYwA6ueVtQcEMebET43CUmKMP7e7iFh3sMIF3sBR0l8Urb4pqx1CBjHAaWgB0ojpND4Q3Jg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@mui/private-theming": "^5.17.1", + "@mui/styled-engine": "^5.16.14", + "@mui/types": "~7.2.15", + "@mui/utils": "^5.17.1", + "clsx": "^2.1.0", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/types": { + "version": "7.2.24", + "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.24.tgz", + "integrity": "sha512-3c8tRt/CbWZ+pEg7QpSwbdxOk36EfmhbKf6AGZsD1EcLDLTSZoxxJ86FVtcjxvjuhdyBiWKSTGZFaXCnidO2kw==", + "license": "MIT", + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/utils": { + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.17.1.tgz", + "integrity": "sha512-jEZ8FTqInt2WzxDV8bhImWBqeQRD99c/id/fq83H0ER9tFl+sfZlaAoCdznGvbSQQ9ividMxqSV2c7cC1vBcQg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@mui/types": "~7.2.15", + "@types/prop-types": "^15.7.12", + "clsx": "^2.1.1", + "prop-types": "^15.8.1", + "react-is": "^19.0.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.38.0.tgz", + "integrity": "sha512-ldomqc4/jDZu/xpYU+aRxo3V4mGCV9HeTgUBANI3oIQMOL+SsxB+S2lxMpkFp5UamSS3XuTMQVbsS24R4J4Qjg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.38.0.tgz", + "integrity": "sha512-VUsgcy4GhhT7rokwzYQP+aV9XnSLkkhlEJ0St8pbasuWO/vwphhZQxYEKUP3ayeCYLhk6gEtacRpYP/cj3GjyQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.38.0.tgz", + "integrity": "sha512-buA17AYXlW9Rn091sWMq1xGUvWQFOH4N1rqUxGJtEQzhChxWjldGCCup7r/wUnaI6Au8sKXpoh0xg58a7cgcpg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.38.0.tgz", + "integrity": "sha512-Mgcmc78AjunP1SKXl624vVBOF2bzwNWFPMP4fpOu05vS0amnLcX8gHIge7q/lDAHy3T2HeR0TqrriZDQS2Woeg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.38.0.tgz", + "integrity": "sha512-zzJACgjLbQTsscxWqvrEQAEh28hqhebpRz5q/uUd1T7VTwUNZ4VIXQt5hE7ncs0GrF+s7d3S4on4TiXUY8KoQA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.38.0.tgz", + "integrity": "sha512-hCY/KAeYMCyDpEE4pTETam0XZS4/5GXzlLgpi5f0IaPExw9kuB+PDTOTLuPtM10TlRG0U9OSmXJ+Wq9J39LvAg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.38.0.tgz", + "integrity": "sha512-mimPH43mHl4JdOTD7bUMFhBdrg6f9HzMTOEnzRmXbOZqjijCw8LA5z8uL6LCjxSa67H2xiLFvvO67PT05PRKGg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.38.0.tgz", + "integrity": "sha512-tPiJtiOoNuIH8XGG8sWoMMkAMm98PUwlriOFCCbZGc9WCax+GLeVRhmaxjJtz6WxrPKACgrwoZ5ia/uapq3ZVg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.38.0.tgz", + "integrity": "sha512-wZco59rIVuB0tjQS0CSHTTUcEde+pXQWugZVxWaQFdQQ1VYub/sTrNdY76D1MKdN2NB48JDuGABP6o6fqos8mA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.38.0.tgz", + "integrity": "sha512-fQgqwKmW0REM4LomQ+87PP8w8xvU9LZfeLBKybeli+0yHT7VKILINzFEuggvnV9M3x1Ed4gUBmGUzCo/ikmFbQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.38.0.tgz", + "integrity": "sha512-hz5oqQLXTB3SbXpfkKHKXLdIp02/w3M+ajp8p4yWOWwQRtHWiEOCKtc9U+YXahrwdk+3qHdFMDWR5k+4dIlddg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.38.0.tgz", + "integrity": "sha512-NXqygK/dTSibQ+0pzxsL3r4Xl8oPqVoWbZV9niqOnIHV/J92fe65pOir0xjkUZDRSPyFRvu+4YOpJF9BZHQImw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.38.0.tgz", + "integrity": "sha512-GEAIabR1uFyvf/jW/5jfu8gjM06/4kZ1W+j1nWTSSB3w6moZEBm7iBtzwQ3a1Pxos2F7Gz+58aVEnZHU295QTg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.38.0.tgz", + "integrity": "sha512-9EYTX+Gus2EGPbfs+fh7l95wVADtSQyYw4DfSBcYdUEAmP2lqSZY0Y17yX/3m5VKGGJ4UmIH5LHLkMJft3bYoA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.38.0.tgz", + "integrity": "sha512-Mpp6+Z5VhB9VDk7RwZXoG2qMdERm3Jw07RNlXHE0bOnEeX+l7Fy4bg+NxfyN15ruuY3/7Vrbpm75J9QHFqj5+Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.38.0.tgz", + "integrity": "sha512-vPvNgFlZRAgO7rwncMeE0+8c4Hmc+qixnp00/Uv3ht2x7KYrJ6ERVd3/R0nUtlE6/hu7/HiiNHJ/rP6knRFt1w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.38.0.tgz", + "integrity": "sha512-q5Zv+goWvQUGCaL7fU8NuTw8aydIL/C9abAVGCzRReuj5h30TPx4LumBtAidrVOtXnlB+RZkBtExMsfqkMfb8g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.38.0.tgz", + "integrity": "sha512-u/Jbm1BU89Vftqyqbmxdq14nBaQjQX1HhmsdBWqSdGClNaKwhjsg5TpW+5Ibs1mb8Es9wJiMdl86BcmtUVXNZg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.38.0.tgz", + "integrity": "sha512-mqu4PzTrlpNHHbu5qleGvXJoGgHpChBlrBx/mEhTPpnAL1ZAYFlvHD7rLK839LLKQzqEQMFJfGrrOHItN4ZQqA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.38.0.tgz", + "integrity": "sha512-jjqy3uWlecfB98Psxb5cD6Fny9Fupv9LrDSPTQZUROqjvZmcCqNu4UMl7qqhlUUGpwiAkotj6GYu4SZdcr/nLw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.6.8", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", + "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.7.tgz", + "integrity": "sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.20.7" + } + }, + "node_modules/@types/estree": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz", + "integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/parse-json": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz", + "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==", + "license": "MIT" + }, + "node_modules/@types/prop-types": { + "version": "15.7.14", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz", + "integrity": "sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==", + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "19.0.12", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.12.tgz", + "integrity": "sha512-V6Ar115dBDrjbtXSrS+/Oruobc+qVbbUxDFC1RSbRqLt5SYvxxyIDrSC85RWml54g+jfNeEMZhEj7wW07ONQhA==", + "license": "MIT", + "dependencies": { + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.0.4", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.4.tgz", + "integrity": "sha512-4fSQ8vWFkg+TGhePfUzVmat3eC14TXYSsiiDSLI0dVLsrm9gZFABjPy/Qu6TKgl1tq1Bu1yDsuQgY3A3DOjCcg==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.0.0" + } + }, + "node_modules/@types/react-transition-group": { + "version": "4.4.12", + "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.12.tgz", + "integrity": "sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@types/react": "*" + } + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.28.0.tgz", + "integrity": "sha512-lvFK3TCGAHsItNdWZ/1FkvpzCxTHUVuFrdnOGLMa0GGCFIbCgQWVk3CzCGdA7kM3qGVc+dfW9tr0Z/sHnGDFyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.28.0", + "@typescript-eslint/type-utils": "8.28.0", + "@typescript-eslint/utils": "8.28.0", + "@typescript-eslint/visitor-keys": "8.28.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.0.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.28.0.tgz", + "integrity": "sha512-LPcw1yHD3ToaDEoljFEfQ9j2xShY367h7FZ1sq5NJT9I3yj4LHer1Xd1yRSOdYy9BpsrxU7R+eoDokChYM53lQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.28.0", + "@typescript-eslint/types": "8.28.0", + "@typescript-eslint/typescript-estree": "8.28.0", + "@typescript-eslint/visitor-keys": "8.28.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.28.0.tgz", + "integrity": "sha512-u2oITX3BJwzWCapoZ/pXw6BCOl8rJP4Ij/3wPoGvY8XwvXflOzd1kLrDUUUAIEdJSFh+ASwdTHqtan9xSg8buw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.28.0", + "@typescript-eslint/visitor-keys": "8.28.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.28.0.tgz", + "integrity": "sha512-oRoXu2v0Rsy/VoOGhtWrOKDiIehvI+YNrDk5Oqj40Mwm0Yt01FC/Q7nFqg088d3yAsR1ZcZFVfPCTTFCe/KPwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/typescript-estree": "8.28.0", + "@typescript-eslint/utils": "8.28.0", + "debug": "^4.3.4", + "ts-api-utils": "^2.0.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.28.0.tgz", + "integrity": "sha512-bn4WS1bkKEjx7HqiwG2JNB3YJdC1q6Ue7GyGlwPHyt0TnVq6TtD/hiOdTZt71sq0s7UzqBFXD8t8o2e63tXgwA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.28.0.tgz", + "integrity": "sha512-H74nHEeBGeklctAVUvmDkxB1mk+PAZ9FiOMPFncdqeRBXxk1lWSYraHw8V12b7aa6Sg9HOBNbGdSHobBPuQSuA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.28.0", + "@typescript-eslint/visitor-keys": "8.28.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.0.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.28.0.tgz", + "integrity": "sha512-OELa9hbTYciYITqgurT1u/SzpQVtDLmQMFzy/N8pQE+tefOyCWT79jHsav294aTqV1q1u+VzqDGbuujvRYaeSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.28.0", + "@typescript-eslint/types": "8.28.0", + "@typescript-eslint/typescript-estree": "8.28.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.28.0.tgz", + "integrity": "sha512-hbn8SZ8w4u2pRwgQ1GlUrPKE+t2XvcCW5tTRF7j6SMYIuYG37XuzIW44JCZPa36evi0Oy2SnM664BlIaAuQcvg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.28.0", + "eslint-visitor-keys": "^4.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@vitejs/plugin-react": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.4.tgz", + "integrity": "sha512-SCCPBJtYLdE8PX/7ZQAs1QAZ8Jqwih+0VBLum1EGqmCCQal+MIUqLCzj3ZUy8ufbC0cAM4LRlSTm7IQJwWT4ug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.26.0", + "@babel/plugin-transform-react-jsx-self": "^7.25.9", + "@babel/plugin-transform-react-jsx-source": "^7.25.9", + "@types/babel__core": "^7.20.5", + "react-refresh": "^0.14.2" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0" + } + }, + "node_modules/acorn": { + "version": "8.14.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz", + "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/babel-plugin-macros": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", + "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.12.5", + "cosmiconfig": "^7.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.4.tgz", + "integrity": "sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001688", + "electron-to-chromium": "^1.5.73", + "node-releases": "^2.0.19", + "update-browserslist-db": "^1.1.1" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001707", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001707.tgz", + "integrity": "sha512-3qtRjw/HQSMlDWf+X79N206fepf4SOOU6SQLMaq/0KkZLmSjPxAkBOQQ+FxbHKfHmYLZFfdWsO3KA90ceHPSnw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cosmiconfig": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", + "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", + "license": "MIT", + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cosmiconfig/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/dom-helpers": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", + "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.128", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.128.tgz", + "integrity": "sha512-bo1A4HH/NS522Ws0QNFIzyPcyUUNV/yyy70Ho1xqfGYzPUme2F/xr4tlEOuM6/A538U1vDA7a4XfCd1CKRegKQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/esbuild": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.2.tgz", + "integrity": "sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.2", + "@esbuild/android-arm": "0.25.2", + "@esbuild/android-arm64": "0.25.2", + "@esbuild/android-x64": "0.25.2", + "@esbuild/darwin-arm64": "0.25.2", + "@esbuild/darwin-x64": "0.25.2", + "@esbuild/freebsd-arm64": "0.25.2", + "@esbuild/freebsd-x64": "0.25.2", + "@esbuild/linux-arm": "0.25.2", + "@esbuild/linux-arm64": "0.25.2", + "@esbuild/linux-ia32": "0.25.2", + "@esbuild/linux-loong64": "0.25.2", + "@esbuild/linux-mips64el": "0.25.2", + "@esbuild/linux-ppc64": "0.25.2", + "@esbuild/linux-riscv64": "0.25.2", + "@esbuild/linux-s390x": "0.25.2", + "@esbuild/linux-x64": "0.25.2", + "@esbuild/netbsd-arm64": "0.25.2", + "@esbuild/netbsd-x64": "0.25.2", + "@esbuild/openbsd-arm64": "0.25.2", + "@esbuild/openbsd-x64": "0.25.2", + "@esbuild/sunos-x64": "0.25.2", + "@esbuild/win32-arm64": "0.25.2", + "@esbuild/win32-ia32": "0.25.2", + "@esbuild/win32-x64": "0.25.2" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.23.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.23.0.tgz", + "integrity": "sha512-jV7AbNoFPAY1EkFYpLq5bslU9NLNO8xnEeQXwErNibVryjk67wHVmddTBilc5srIttJDBrB0eMHKZBFbSIABCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.19.2", + "@eslint/config-helpers": "^0.2.0", + "@eslint/core": "^0.12.0", + "@eslint/eslintrc": "^3.3.1", + "@eslint/js": "9.23.0", + "@eslint/plugin-kit": "^0.2.7", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.3.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz", + "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.19.tgz", + "integrity": "sha512-eyy8pcr/YxSYjBoqIFSrlbn9i/xvxUFa8CjzAYo9cFjgGXqq1hyjihcpZvxRLalpaWmueWR81xn7vuKmAFijDQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": ">=8.40" + } + }, + "node_modules/eslint-scope": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.3.0.tgz", + "integrity": "sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", + "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.14.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fastq": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", + "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", + "license": "MIT" + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "15.15.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", + "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true, + "license": "MIT" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "license": "BSD-3-Clause", + "dependencies": { + "react-is": "^16.7.0" + } + }, + "node_modules/hoist-non-react-statics/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "license": "MIT" + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "license": "MIT" + }, + "node_modules/is-core-module": { + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", + "license": "MIT", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "license": "MIT" + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", + "dev": true, + "license": "MIT" + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "license": "MIT" + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz", + "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.8", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "license": "MIT" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/react": { + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz", + "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz", + "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.26.0" + }, + "peerDependencies": { + "react": "^19.1.0" + } + }, + "node_modules/react-is": { + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.1.0.tgz", + "integrity": "sha512-Oe56aUPnkHyyDxxkvqtd7KkdQP5uIUfHxd5XTb3wE9d/kRnZLmKbDB0GWk919tdQ+mxxPtG6EAs6RMT6i1qtHg==", + "license": "MIT" + }, + "node_modules/react-refresh": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", + "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-transition-group": { + "version": "4.4.5", + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", + "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", + "license": "BSD-3-Clause", + "peer": true, + "dependencies": { + "@babel/runtime": "^7.5.5", + "dom-helpers": "^5.0.1", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": ">=16.6.0", + "react-dom": ">=16.6.0" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", + "license": "MIT" + }, + "node_modules/resolve": { + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", + "license": "MIT", + "dependencies": { + "is-core-module": "^2.16.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "4.38.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.38.0.tgz", + "integrity": "sha512-5SsIRtJy9bf1ErAOiFMFzl64Ex9X5V7bnJ+WlFMb+zmP459OSWCEG7b0ERZ+PEU7xPt4OG3RHbrp1LJlXxYTrw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.7" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.38.0", + "@rollup/rollup-android-arm64": "4.38.0", + "@rollup/rollup-darwin-arm64": "4.38.0", + "@rollup/rollup-darwin-x64": "4.38.0", + "@rollup/rollup-freebsd-arm64": "4.38.0", + "@rollup/rollup-freebsd-x64": "4.38.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.38.0", + "@rollup/rollup-linux-arm-musleabihf": "4.38.0", + "@rollup/rollup-linux-arm64-gnu": "4.38.0", + "@rollup/rollup-linux-arm64-musl": "4.38.0", + "@rollup/rollup-linux-loongarch64-gnu": "4.38.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.38.0", + "@rollup/rollup-linux-riscv64-gnu": "4.38.0", + "@rollup/rollup-linux-riscv64-musl": "4.38.0", + "@rollup/rollup-linux-s390x-gnu": "4.38.0", + "@rollup/rollup-linux-x64-gnu": "4.38.0", + "@rollup/rollup-linux-x64-musl": "4.38.0", + "@rollup/rollup-win32-arm64-msvc": "4.38.0", + "@rollup/rollup-win32-ia32-msvc": "4.38.0", + "@rollup/rollup-win32-x64-msvc": "4.38.0", + "fsevents": "~2.3.2" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/scheduler": { + "version": "0.26.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", + "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==", + "license": "MIT" + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-api-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz", + "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/typescript": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", + "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/typescript-eslint": { + "version": "8.28.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.28.0.tgz", + "integrity": "sha512-jfZtxJoHm59bvoCMYCe2BM0/baMswRhMmYhy+w6VfcyHrjxZ0OJe0tGasydCpIpA+A/WIJhTyZfb3EtwNC/kHQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.28.0", + "@typescript-eslint/parser": "8.28.0", + "@typescript-eslint/utils": "8.28.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz", + "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/vite": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.3.tgz", + "integrity": "sha512-IzwM54g4y9JA/xAeBPNaDXiBF8Jsgl3VBQ2YQ/wOY6fyW3xMdSoltIV3Bo59DErdqdE6RxUfv8W69DvUorE4Eg==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.25.0", + "postcss": "^8.5.3", + "rollup": "^4.30.1" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yaml": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz", + "integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==", + "dev": true, + "license": "ISC", + "optional": true, + "peer": true, + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/tranga-website/package.json b/tranga-website/package.json new file mode 100644 index 0000000..a0ef580 --- /dev/null +++ b/tranga-website/package.json @@ -0,0 +1,34 @@ +{ + "name": "tranga-website", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc -b && vite build", + "lint": "eslint .", + "preview": "vite preview" + }, + "dependencies": { + "@emotion/react": "^11.14.0", + "@emotion/styled": "^11.14.0", + "@fontsource/inter": "^5.2.5", + "@mui/icons-material": "^7.0.1", + "@mui/joy": "^5.0.0-beta.52", + "react": "^19.0.0", + "react-dom": "^19.0.0" + }, + "devDependencies": { + "@eslint/js": "^9.21.0", + "@types/react": "^19.0.10", + "@types/react-dom": "^19.0.4", + "@vitejs/plugin-react": "^4.3.4", + "eslint": "^9.21.0", + "eslint-plugin-react-hooks": "^5.1.0", + "eslint-plugin-react-refresh": "^0.4.19", + "globals": "^15.15.0", + "typescript": "~5.7.2", + "typescript-eslint": "^8.24.1", + "vite": "^6.2.0" + } +} diff --git a/tranga-website/public/blahaj.png b/tranga-website/public/blahaj.png new file mode 100644 index 0000000..dbbff93 Binary files /dev/null and b/tranga-website/public/blahaj.png differ diff --git a/tranga-website/src/App.css b/tranga-website/src/App.css new file mode 100644 index 0000000..f4189d1 --- /dev/null +++ b/tranga-website/src/App.css @@ -0,0 +1,15 @@ +.app { + position: absolute; + height: 100%; + top: 0; + width: 100%; + left: 0; +} + +.app-content { + position: absolute; + height: calc(100% - 60px); + top: 60px; + width: 100%; + left: 0; +} \ No newline at end of file diff --git a/tranga-website/src/App.tsx b/tranga-website/src/App.tsx new file mode 100644 index 0000000..7f2327b --- /dev/null +++ b/tranga-website/src/App.tsx @@ -0,0 +1,31 @@ +import Sheet from '@mui/joy/Sheet'; +import './App.css' +import Settings from "./Settings.tsx"; +import Header from "./Header.tsx"; +import {Button} from "@mui/joy"; +import {useState} from "react"; +import {ApiUriContext} from "./api/fetchApi.tsx"; +import Search from './Components/Search.tsx'; + +export default function App () { + + const [showSettings, setShowSettings] = useState(false); + const [showSearch, setShowSearch] = useState(false); + + const [apiUri, setApiUri] = useState(window.location.href.substring(0, window.location.href.lastIndexOf("/"))); + + return ( + + +
+ + +
+ + + + +
+
+ ); +} diff --git a/tranga-website/src/Components/AuthorTag.tsx b/tranga-website/src/Components/AuthorTag.tsx new file mode 100644 index 0000000..b5a678c --- /dev/null +++ b/tranga-website/src/Components/AuthorTag.tsx @@ -0,0 +1,23 @@ +import {Chip, ColorPaletteProp, Skeleton} from "@mui/joy"; +import {useContext, useEffect, useState} from "react"; +import {ApiUriContext} from "../api/fetchApi.tsx"; +import IAuthor from "../api/types/IAuthor.ts"; +import {GetAuthor} from "../api/Query.tsx"; + +export default function AuthorTag({authorId, color} : { authorId: string | undefined, color?: ColorPaletteProp }) { + const useAuthor = authorId ?? "AuthorId"; + const apiUri = useContext(ApiUriContext); + + const [author, setAuthor] = useState(); + const [loading, setLoading] = useState(true); + + useEffect(() => { + GetAuthor(apiUri, useAuthor).then(setAuthor).finally(() => setLoading(false)); + }, [authorId]); + + return ( + + {author?.authorName ?? "Load Failed"} + + ); +} \ No newline at end of file diff --git a/tranga-website/src/Components/LinkTag.tsx b/tranga-website/src/Components/LinkTag.tsx new file mode 100644 index 0000000..28d6329 --- /dev/null +++ b/tranga-website/src/Components/LinkTag.tsx @@ -0,0 +1,25 @@ +import {Chip, Skeleton, Link, ColorPaletteProp} from "@mui/joy"; +import {useContext, useEffect, useState} from "react"; +import {ApiUriContext} from "../api/fetchApi.tsx"; +import {GetLink} from "../api/Query.tsx"; +import ILink from "../api/types/ILink.ts"; + +export default function LinkTag({linkId, color} : { linkId: string | undefined, color?: ColorPaletteProp }) { + const useLink = linkId ?? "LinkId"; + const apiUri = useContext(ApiUriContext); + + const [link, setLink] = useState(); + const [loading, setLoading] = useState(true); + + useEffect(() => { + GetLink(apiUri, useLink).then(setLink).finally(() => setLoading(false)); + }, [linkId]); + + return ( + + + {link?.linkProvider??"Load Failed"} + + + ); +} \ No newline at end of file diff --git a/tranga-website/src/Components/Manga.tsx b/tranga-website/src/Components/Manga.tsx new file mode 100644 index 0000000..cc53b0e --- /dev/null +++ b/tranga-website/src/Components/Manga.tsx @@ -0,0 +1,132 @@ +import { + Badge, + Box, + Card, + CardActions, + CardContent, CardCover, + Chip, CircularProgress, + Input, + Link, + Skeleton, + Stack, + Typography +} from "@mui/joy"; +import IManga, {DefaultManga} from "../api/types/IManga.ts"; +import {ReactElement, useCallback, useContext, useEffect, useState} from "react"; +import {GetLatestChapterAvailable, GetMangaCoverImageUrl, SetIgnoreThreshold} from "../api/Manga.tsx"; +import {ApiUriContext} from "../api/fetchApi.tsx"; +import AuthorTag from "./AuthorTag.tsx"; +import LinkTag from "./LinkTag.tsx"; +import {ReleaseStatusToPalette} from "../api/types/EnumMangaReleaseStatus.ts"; +import IChapter from "../api/types/IChapter.ts"; +import MarkdownPreview from "@uiw/react-markdown-preview"; +import {SxProps} from "@mui/joy/styles/types"; + +export function Manga({manga, children} : { manga: IManga | undefined, children?: ReactElement | ReactElement[] | undefined }) { + const useManga = manga ?? DefaultManga; + + const apiUri = useContext(ApiUriContext); + + const [expanded, setExpanded] = useState(false); + + const [mangaMaxChapter, setMangaMaxChapter] = useState(); + const [maxChapterLoading, setMaxChapterLoading] = useState(true); + const loadMaxChapter = useCallback(() => { + setMaxChapterLoading(true); + GetLatestChapterAvailable(apiUri, useManga.mangaId) + .then(setMangaMaxChapter) + .finally(() => setMaxChapterLoading(false)); + }, [useManga, apiUri]); + + const [updatingThreshold, setUpdatingThreshold] = useState(false); + const updateIgnoreThreshhold = useCallback((value: number) => { + setUpdatingThreshold(true); + SetIgnoreThreshold(apiUri, useManga.mangaId, value).finally(() => setUpdatingThreshold(false)); + },[useManga, apiUri]) + + useEffect(() => { + loadMaxChapter(); + }, []); + + const LoadMangaCover = useCallback((e : EventTarget & HTMLImageElement) => { + if(e.src != GetMangaCoverImageUrl(apiUri, useManga.mangaId, e)) + e.src = GetMangaCoverImageUrl(apiUri, useManga.mangaId, e); + }, [useManga, apiUri]) + + const sideSx : SxProps = { + height: "400px", + width: "300px", + position: "relative", + } + + const interactiveElements = ["button", "input", "textarea", "a"]; + + return ( + + { + const target = e.target as HTMLElement; + if(interactiveElements.find(x => x == target.localName) == undefined) + setExpanded(!expanded)} + }> + + Manga Cover LoadMangaCover(e.currentTarget)} + onResize={(e) => LoadMangaCover(e.currentTarget)}/> + + + + + + {useManga.name} + + + { + expanded ? + + + {useManga.authorIds.map(authorId => )} + {useManga.tags.map(tag => {tag})} + {useManga.linkIds.map(linkId => )} + + + + : null + } + + { + expanded ? + + + { + updatingThreshold ? + + : Ch. + } + + } + endDecorator={ + + + /{mangaMaxChapter?.chapterNumber??"Load Failed"} + + + } + sx={{width:"min-content"}} + size={"md"} + onChange={(e) => updateIgnoreThreshhold(e.currentTarget.valueAsNumber)} + /> + {children} + + : null + } + + + ); +} \ No newline at end of file diff --git a/tranga-website/src/Components/Search.tsx b/tranga-website/src/Components/Search.tsx new file mode 100644 index 0000000..ab34ef1 --- /dev/null +++ b/tranga-website/src/Components/Search.tsx @@ -0,0 +1,142 @@ +import { + Avatar, Button, Chip, + Drawer, + Input, + ListItemDecorator, + Option, + Select, + SelectOption, + Skeleton, Stack, + Step, + StepIndicator, + Stepper, Typography +} from "@mui/joy"; +import ModalClose from "@mui/joy/ModalClose"; +import IMangaConnector from "../api/types/IMangaConnector"; +import {useCallback, useContext, useEffect, useState} from "react"; +import {ApiUriContext} from "../api/fetchApi.tsx"; +import {GetAllConnectors} from "../api/MangaConnector.tsx"; +import IManga from "../api/types/IManga.ts"; +import {SearchNameOnConnector} from "../api/Search.tsx"; +import {Manga} from "./Manga.tsx"; +import Add from "@mui/icons-material/Add"; +import React from "react"; +import {CreateDownloadAvailableChaptersJob} from "../api/Job.tsx"; + +export default function Search({open, setOpen}:{open:boolean, setOpen:React.Dispatch>}){ + + const [step, setStep] = useState(1); + + const apiUri = useContext(ApiUriContext); + const [mangaConnectors, setMangaConnectors] = useState([]); + const [mangaConnectorsLoading, setMangaConnectorsLoading] = useState(true); + const [selectedMangaConnector, setSelectedMangaConnector] = useState(); + + useEffect(() => { + setMangaConnectorsLoading(true); + GetAllConnectors(apiUri).then(setMangaConnectors).finally(() => setMangaConnectorsLoading(false)); + },[apiUri]) + + const [results, setResults] = useState([]); + const [resultsLoading, setResultsLoading] = useState(false); + + const StartSearch = useCallback((mangaConnector : IMangaConnector | undefined, value: string)=>{ + if(mangaConnector === undefined) + return; + setResults([]); + setResultsLoading(true); + SearchNameOnConnector(apiUri, mangaConnector.name, value).then(setResults).finally(() => setResultsLoading(false)); + },[apiUri]) + + function renderValue(option: SelectOption | null) { + if (!option) { + return null; + } + + return ( + + + o.name === option.value)?.iconUrl} /> + + {option.label} + + ); + } + + return ( + { + setStep(2); + setResults([]); + setOpen(false); + }}> + + + + 1 + }> + + + + + + 2 + }> + { + setStep(2); + setResults([]); + if(e.key === "Enter") { + StartSearch(selectedMangaConnector, e.currentTarget.value); + } + }}/> + + + 3 + }> + Results + + + {results.map((result) => + + + )} + + + + + + ); +} + +function ConnectorOption(connector: IMangaConnector){ + return ( + + ); +} \ No newline at end of file diff --git a/tranga-website/src/Header.css b/tranga-website/src/Header.css new file mode 100644 index 0000000..f03d6b0 --- /dev/null +++ b/tranga-website/src/Header.css @@ -0,0 +1,10 @@ +.header { + position: static !important; + top: 0; + left: 0; + width: 100%; + height: 60px; + padding: 10px; + display: flex; + flex-flow: row nowrap; +} \ No newline at end of file diff --git a/tranga-website/src/Header.tsx b/tranga-website/src/Header.tsx new file mode 100644 index 0000000..0ccd651 --- /dev/null +++ b/tranga-website/src/Header.tsx @@ -0,0 +1,20 @@ +import Sheet from "@mui/joy/Sheet"; +import {Stack, Typography} from "@mui/joy"; +import {ReactElement} from "react"; +import './Header.css'; + +export default function Header({children} : {children? : ReactElement | ReactElement[] | undefined}) : ReactElement { + return ( + + + Tranga + {children} + + + ); +} \ No newline at end of file diff --git a/Website/modules/LibraryConnector.tsx b/tranga-website/src/Settings.css similarity index 100% rename from Website/modules/LibraryConnector.tsx rename to tranga-website/src/Settings.css diff --git a/tranga-website/src/Settings.tsx b/tranga-website/src/Settings.tsx new file mode 100644 index 0000000..852537f --- /dev/null +++ b/tranga-website/src/Settings.tsx @@ -0,0 +1,93 @@ +import Drawer from '@mui/joy/Drawer'; +import ModalClose from '@mui/joy/ModalClose'; +import { + Accordion, + AccordionDetails, + AccordionGroup, + AccordionSummary, CircularProgress, ColorPaletteProp, + DialogContent, + DialogTitle, Input +} from "@mui/joy"; +import './Settings.css'; +import * as React from "react"; +import {useContext, useEffect, useState} from "react"; +import {ApiUriContext} from "./api/fetchApi.tsx"; + +const checkConnection = async (apiUri: string): Promise =>{ + return fetch(`${apiUri}/swagger/v2/swagger.json`, + { + method: 'GET', + }) + .then((response) => { + if(!(response.ok && response.status == 200)) + return false; + return response.json().then((json) => (json as {openapi:string}).openapi.match("[0-9]+(?:\.[0-9]+)+")?true:false).catch(() => false); + }) + .catch(() => { + return false; + }); +} + +export default function Settings({open, setOpen, setApiUri}:{open:boolean, setOpen:React.Dispatch>, setApiUri:React.Dispatch>}) { + + const apiUri = useContext(ApiUriContext); + + const [apiUriColor, setApiUriColor] = useState("neutral"); + const timerRef = React.useRef>(undefined); + + const [apiUriAccordionOpen, setApiUriAccordionOpen] = React.useState(true); + const [checking, setChecking] = useState(false); + useEffect(() => { + OnCheckConnection(apiUri); + }, []); + + const apiUriChanged = (e : React.ChangeEvent) => { + clearTimeout(timerRef.current); + setApiUriColor("warning"); + timerRef.current = setTimeout(() => { + OnCheckConnection(e.target.value); + }, 1000); + } + + const OnCheckConnection = (uri: string) => { + setChecking(true); + checkConnection(uri) + .then((result) => { + setApiUriAccordionOpen(!result); + setApiUriColor(result ? "success" : "danger"); + if(result) + setApiUri(uri); + }) + .finally(() => setChecking(false)); + } + + return ( + setOpen(false)}> + + Settings + + + setApiUriAccordionOpen(expanded)}> + ApiUri + + { + if(e.key === "Enter") { + clearTimeout(timerRef.current); + OnCheckConnection(e.currentTarget.value); + } + }} + endDecorator={(checking ? : null)} /> + + + + + + ); +} \ No newline at end of file diff --git a/tranga-website/src/api/BackendSettings.tsx b/tranga-website/src/api/BackendSettings.tsx new file mode 100644 index 0000000..6a9cc34 --- /dev/null +++ b/tranga-website/src/api/BackendSettings.tsx @@ -0,0 +1,80 @@ +import {deleteData, getData, patchData} from './fetchApi.tsx'; +import IBackendSettings from "./types/IBackendSettings.ts"; +import IRequestLimits from "./types/IRequestLimits.ts"; +import {RequestLimitType} from "./types/EnumRequestLimitType.ts"; + +export const GetSettings = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/Settings`) as Promise; +} + +export const GetUserAgent = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/Settings/UserAgent`) as Promise; +} + +export const UpdateUserAgent = async (apiUri: string, userAgent: string)=> { + if(userAgent === undefined || userAgent === null) + return Promise.reject(`userAgent was not provided`); + return patchData(`${apiUri}/v2/Settings/UserAgent`, userAgent); +} + +export const ResetUserAgent = async (apiUri: string) => { + return deleteData(`${apiUri}/v2/Settings/UserAgent`); +} + +export const GetRequestLimits = async(apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/Settings/RequestLimits`) as Promise; +} + +export const ResetRequestLimits = async (apiUri: string) => { + return deleteData(`${apiUri}/v2/Settings/RequestLimits`); +} + +export const UpdateRequestLimit = async (apiUri: string, requestType: RequestLimitType, value: number) => { + if(requestType === undefined || requestType === null || value === undefined || value === null) + return Promise.reject(); + return patchData(`${apiUri}/v2/Settings/RequestLimits/${requestType}`, value); +} + +export const ResetRequestLimit = async (apiUri: string, requestType: RequestLimitType) => { + if(requestType === undefined || requestType === null) + return Promise.reject("requestType was not provided"); + return deleteData(`${apiUri}/v2/Settings/RequestLimits/${requestType}`); +} + +export const GetImageCompressionValue = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/Settings/ImageCompression`) as Promise; +} + +export const UpdateImageCompressionValue = async (apiUri: string, value: number) => { + if(value === undefined || value === null) + return Promise.reject("value was not provided"); + return patchData(`${apiUri}/v2/Settings/ImageCompression`, value); +} + +export const GetBWImageToggle = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/Settings/BWImages`) as Promise; +} + +export const UpdateBWImageToggle = async (apiUri: string, value: boolean) => { + if(value === undefined || value === null) + return Promise.reject("value was not provided"); + return patchData(`${apiUri}/v2/Settings/BWImages`, value); +} + +export const GetAprilFoolsToggle = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/Settings/AprilFoolsMode`) as Promise; +} + +export const UpdateAprilFoolsToggle = async (apiUri: string, value: boolean) => { + if(value === undefined || value === null) + return Promise.reject("value was not provided"); + return patchData(`${apiUri}/v2/Settings/AprilFoolsMode`, value); +} + +export const GetChapterNamingScheme = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/Settings/ChapterNamingScheme`) as Promise; +} + +export const UpdateChapterNamingScheme = async (apiUri: string, value: string) => { + return patchData(`${apiUri}/v2/Settings/ChapterNamingScheme`, value); +} \ No newline at end of file diff --git a/tranga-website/src/api/Chapter.tsx b/tranga-website/src/api/Chapter.tsx new file mode 100644 index 0000000..73792eb --- /dev/null +++ b/tranga-website/src/api/Chapter.tsx @@ -0,0 +1,8 @@ +import {getData} from "./fetchApi.tsx"; +import IChapter from "./types/IChapter.ts"; + +export const GetChapterFromId = async (apiUri: string, chapterId: string): Promise => { + if(chapterId === undefined || chapterId === null) + return Promise.reject(`chapterId was not provided`); + return await getData(`${apiUri}/v2/Query/Chapter/${chapterId}`) as Promise; +} \ No newline at end of file diff --git a/tranga-website/src/api/Job.tsx b/tranga-website/src/api/Job.tsx new file mode 100644 index 0000000..07a6a76 --- /dev/null +++ b/tranga-website/src/api/Job.tsx @@ -0,0 +1,97 @@ +import {deleteData, getData, patchData, postData, putData} from "./fetchApi"; +import IJob, {JobState, JobType} from "./types/Jobs/IJob"; +import IModifyJobRecord from "./types/records/IModifyJobRecord"; +import IDownloadAvailableJobsRecord from "./types/records/IDownloadAvailableJobsRecord.ts"; + +export const GetAllJobs = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/Job`) as Promise; +} + +export const GetJobsWithIds = async (apiUri: string, jobIds: string[]) : Promise => { + if(jobIds === null || jobIds === undefined || jobIds.length === 0) + return Promise.reject("jobIds was not provided"); + return await postData(`${apiUri}/v2/Job/WithIDs`, jobIds) as Promise; +} + +export const GetJobsInState = async (apiUri: string, state: JobState) : Promise => { + if(state == null || state == undefined) + return Promise.reject("state was not provided"); + return await getData(`${apiUri}/v2/Job/State/${state}`) as Promise; +} + +export const GetJobsWithType = async (apiUri: string, jobType: JobType) : Promise => { + if(jobType == null || jobType == undefined) { + return Promise.reject("jobType was not provided"); + } + return await getData(`${apiUri}/v2/Job/Type/${jobType}`) as Promise; +} + +export const GetJobsOfTypeAndWithState = async (apiUri: string, jobType: JobType, state: JobState) : Promise => { + if(jobType == null || jobType == undefined) + return Promise.reject("jobType was not provided"); + if(state == null || state == undefined) + return Promise.reject("state was not provided"); + return await getData(`${apiUri}/v2/Job/TypeAndState/${jobType}/${state}`) as Promise; +} + +export const GetJob = async (apiUri: string, jobId: string) : Promise => { + if(jobId === undefined || jobId === null || jobId.length < 1) + return Promise.reject("jobId was not provided"); + return await getData(`${apiUri}/v2/Job/${jobId}`) as Promise; +} + +export const DeleteJob = async (apiUri: string, jobId: string) : Promise => { + if(jobId === undefined || jobId === null || jobId.length < 1) + return Promise.reject("jobId was not provided"); + return await deleteData(`${apiUri}/v2/Job/${jobId}`); +} + +export const ModifyJob = async (apiUri: string, jobId: string, modifyData: IModifyJobRecord) : Promise => { + if(jobId === undefined || jobId === null || jobId.length < 1) + return Promise.reject("jobId was not provided"); + if(modifyData === undefined || modifyData === null) + return Promise.reject("modifyData was not provided"); + return await patchData(`${apiUri}/v2/Job/${jobId}`, modifyData) as Promise; +} + +export const CreateDownloadAvailableChaptersJob = async (apiUri: string, mangaId: string, data: IDownloadAvailableJobsRecord) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + if(data === undefined || data === null) + return Promise.reject("data was not provided"); + return await putData(`${apiUri}/v2/Job/DownloadAvailableChaptersJob/${mangaId}`, data) as Promise; +} + +export const CreateDownloadSingleChapterJob = async (apiUri: string, chapterId: string) : Promise => { + if(chapterId === undefined || chapterId === null || chapterId.length < 1) + return Promise.reject("chapterId was not provided"); + return await putData(`${apiUri}/v2/Job/DownloadSingleChapterJob/${chapterId}`, {}) as Promise; +} + +export const CreateUpdateFilesJob = async (apiUri: string, mangaId: string) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + return await putData(`${apiUri}/v2/Job/UpdateFilesJob/${mangaId}`, {}) as Promise; +} + +export const CreateUpdateAllFilesJob = async (apiUri: string) : Promise => { + return await putData(`${apiUri}/v2/Job/UpdateAllFilesJob`, {}) as Promise; +} + +export const CreateUpdateMetadataJob = async (apiUri: string, mangaId: string) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + return await putData(`${apiUri}/v2/Job/UpdateMetadataJob/${mangaId}`, {}) as Promise; +} + +export const CreateUpdateAllMetadataJob = async (apiUri: string) : Promise => { + return await putData(`${apiUri}/v2/Job/UpdateAllMetadataJob`, {}) as Promise; +} + +export const StartJob = async (apiUri: string, jobId: string) : Promise => { + return await postData(`${apiUri}/v2/Job/${jobId}/Start`, {}); +} + +export const StopJob = async (apiUri: string, jobId: string) : Promise => { + return await postData(`${apiUri}/v2/Job/${jobId}/Stop`, {}); +} \ No newline at end of file diff --git a/tranga-website/src/api/LocalLibrary.tsx b/tranga-website/src/api/LocalLibrary.tsx new file mode 100644 index 0000000..95b659d --- /dev/null +++ b/tranga-website/src/api/LocalLibrary.tsx @@ -0,0 +1,31 @@ +import ILocalLibrary from "./types/ILocalLibrary.ts"; +import {deleteData, getData, patchData, putData} from "./fetchApi.tsx"; +import INewLibraryRecord from "./types/records/INewLibraryRecord.ts"; + +export const GetLibraries = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/LocalLibraries`) as Promise; +} + +export const GetLibrary = async (apiUri: string, libraryId: string) : Promise => { + return await getData(`${apiUri}/v2/LocalLibraries/${libraryId}`) as Promise; +} + +export const CreateLibrary = async (apiUri: string, data: INewLibraryRecord) : Promise => { + return await putData(`${apiUri}/v2/LocalLibraries`, data) as Promise +} + +export const DeleteLibrary = async (apiUri: string, libraryId: string) : Promise => { + return await deleteData(`${apiUri}/v2/LocalLibraries/${libraryId}`); +} + +export const ChangeLibraryPath = async (apiUri: string, libraryId: string, newPath: string) : Promise => { + return await patchData(`${apiUri}/v2/LocalLibraries/${libraryId}/ChangeBasePath`, newPath); +} + +export const ChangeLibraryName = async (apiUri: string, libraryId: string, newName: string) : Promise => { + return await patchData(`${apiUri}/v2/LocalLibraries/${libraryId}/ChangeName`, newName); +} + +export const UpdateLibrary = async (apiUri: string, libraryId: string, record: INewLibraryRecord) : Promise => { + return await patchData(`${apiUri}/v2/LocalLibraries/${libraryId}`, record); +} \ No newline at end of file diff --git a/tranga-website/src/api/Manga.tsx b/tranga-website/src/api/Manga.tsx new file mode 100644 index 0000000..2a6d7bf --- /dev/null +++ b/tranga-website/src/api/Manga.tsx @@ -0,0 +1,77 @@ +import {deleteData, getData, patchData, postData} from './fetchApi.tsx'; +import IManga from "./types/IManga.ts"; +import IChapter from "./types/IChapter.ts"; + +export const GetAllManga = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/Manga`) as Promise; +} + +export const GetMangaWithIds = async (apiUri: string, mangaIds: string[]) : Promise => { + if(mangaIds === undefined || mangaIds === null || mangaIds.length < 1) + return Promise.reject("mangaIds was not provided"); + return await postData(`${apiUri}/v2/Manga/WithIds`, mangaIds) as Promise; +} + +export const GetMangaById = async (apiUri: string, mangaId: string) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + return await getData(`${apiUri}/v2/Manga/${mangaId}`) as Promise; +} + +export const DeleteManga = async (apiUri: string, mangaId: string) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + return await deleteData(`${apiUri}/v2/Manga/${mangaId}`); +} + +export const GetMangaCoverImageUrl = (apiUri: string, mangaId: string, ref: HTMLImageElement | undefined) : string => { + if(ref == null || ref == undefined) + return `${apiUri}/v2/Manga/${mangaId}/Cover?width=64&height=64`; + return `${apiUri}/v2/Manga/${mangaId}/Cover?width=${ref.clientWidth}&height=${ref.clientHeight}`; +} + +export const GetChapters = async (apiUri: string, mangaId: string) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + return await getData(`${apiUri}/v2/Manga/${mangaId}/Chapters`) as Promise; +} + +export const GetDownloadedChapters = async (apiUri: string, mangaId: string) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + return await getData(`${apiUri}/v2/Manga/${mangaId}/Chapters/Downloaded`) as Promise; +} + +export const GetNotDownloadedChapters = async (apiUri: string, mangaId: string) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + return await getData(`${apiUri}/v2/Manga/${mangaId}/Chapters/NotDownloaded`) as Promise; +} + +export const GetLatestChapterAvailable = async (apiUri: string, mangaId: string) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + return await getData(`${apiUri}/v2/Manga/${mangaId}/Chapter/LatestAvailable`) as Promise; +} + +export const GetLatestChapterDownloaded = async (apiUri: string, mangaId: string) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + return await getData(`${apiUri}/v2/Manga/${mangaId}/Chapter/LatestDownloaded`) as Promise; +} + +export const SetIgnoreThreshold = async (apiUri: string, mangaId: string, chapterThreshold: number) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + if(chapterThreshold === undefined || chapterThreshold === null) + return Promise.reject("chapterThreshold was not provided"); + return await patchData(`${apiUri}/v2/Manga/${mangaId}/IgnoreChaptersBefore`, chapterThreshold); +} + +export const MoveFolder = async (apiUri: string, mangaId: string, newPath: string) : Promise => { + if(mangaId === undefined || mangaId === null || mangaId.length < 1) + return Promise.reject("mangaId was not provided"); + if(newPath === undefined || newPath === null || newPath.length < 1) + return Promise.reject("newPath was not provided"); + return await postData(`${apiUri}/v2/Manga/{MangaId}/MoveFolder`, {newPath}); +} \ No newline at end of file diff --git a/tranga-website/src/api/MangaConnector.tsx b/tranga-website/src/api/MangaConnector.tsx new file mode 100644 index 0000000..00c9522 --- /dev/null +++ b/tranga-website/src/api/MangaConnector.tsx @@ -0,0 +1,22 @@ +import {getData, patchData} from './fetchApi.tsx'; +import IMangaConnector from "./types/IMangaConnector.ts"; + +export const GetAllConnectors = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/MangaConnector`) as Promise +} + +export const GetEnabledConnectors = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/MangaConnector/enabled`) as Promise +} + +export const GetDisabledConnectors = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/MangaConnector/disabled`) as Promise +} + +export const SetConnectorEnabled = async (apiUri: string, connectorName: string, enabled: boolean) : Promise => { + if(connectorName === undefined || connectorName === null || connectorName.length < 1) + return Promise.reject("connectorName was not provided"); + if(enabled === undefined || enabled === null) + return Promise.reject("enabled was not provided"); + return await patchData(`${apiUri}/v2/MangaConnector/${connectorName}/SetEnabled/${enabled}`, {}); +} \ No newline at end of file diff --git a/tranga-website/src/api/NotificationConnector.tsx b/tranga-website/src/api/NotificationConnector.tsx new file mode 100644 index 0000000..c789ac1 --- /dev/null +++ b/tranga-website/src/api/NotificationConnector.tsx @@ -0,0 +1,52 @@ +import {deleteData, getData, putData} from "./fetchApi.tsx"; +import INotificationConnector from "./types/INotificationConnector.ts"; +import IGotifyRecord from "./types/records/IGotifyRecord.ts"; +import INtfyRecord from "./types/records/INtfyRecord.ts"; +import ILunaseaRecord from "./types/records/ILunaseaRecord.ts"; +import IPushoverRecord from "./types/records/IPushoverRecord.ts"; + +export const GetNotificationConnectors = async (apiUri: string) : Promise => { + return await getData(`${apiUri}/v2/NotificationConnector`) as Promise +} + +export const CreateNotificationConnector = async (apiUri: string, newConnector: INotificationConnector) : Promise => { + if(newConnector === undefined || newConnector === null) + return Promise.reject("newConnector was not provided"); + return await putData(`${apiUri}/v2/NotificationConnector`, newConnector) as Promise; +} + +export const GetNotificationConnectorWithId = async (apiUri: string, notificationConnectorId: string) : Promise => { + if(notificationConnectorId === undefined || notificationConnectorId === null || notificationConnectorId.length < 1) + return Promise.reject("notificationConnectorId was not provided"); + return await getData(`${apiUri}/v2/NotificationConnector/${notificationConnectorId}`) as Promise; +} + +export const DeleteNotificationConnectorWithId = async (apiUri: string, notificationConnectorId: string) : Promise => { + if(notificationConnectorId === undefined || notificationConnectorId === null || notificationConnectorId.length < 1) + return Promise.reject("notificationConnectorId was not provided"); + return await deleteData(`${apiUri}/v2/NotificationConnector/${notificationConnectorId}`); +} + +export const CreateGotify = async (apiUri: string, gotify: IGotifyRecord) : Promise => { + if(gotify === undefined || gotify === null) + return Promise.reject("gotify was not provided"); + return await putData(`${apiUri}/v2/NotificationConnector/Gotify`, gotify) as Promise; +} + +export const CreateNtfy = async (apiUri: string, ntfy: INtfyRecord) : Promise => { + if(ntfy === undefined || ntfy === null) + return Promise.reject("gotify was not provided"); + return await putData(`${apiUri}/v2/NotificationConnector/Ntfy`, ntfy) as Promise; +} + +export const CreateLunasea = async (apiUri: string, lunasea: ILunaseaRecord) : Promise => { + if(lunasea === undefined || lunasea === null) + return Promise.reject("lunasea was not provided"); + return await putData(`${apiUri}/v2/NotificationConnector/Lunasea`, lunasea) as Promise; +} + +export const CreatePushover = async (apiUri: string, pushover: IPushoverRecord) : Promise => { + if(pushover === undefined || pushover === null) + return Promise.reject("pushover was not provided"); + return await putData(`${apiUri}/v2/NotificationConnector/Pushover`, pushover) as Promise; +} \ No newline at end of file diff --git a/tranga-website/src/api/Query.tsx b/tranga-website/src/api/Query.tsx new file mode 100644 index 0000000..d262ac5 --- /dev/null +++ b/tranga-website/src/api/Query.tsx @@ -0,0 +1,15 @@ +import IAuthor from "./types/IAuthor.ts"; +import {getData} from "./fetchApi.tsx"; +import ILink from "./types/ILink.ts"; + +export const GetAuthor = async (apiUri: string, authorId: string) : Promise => { + if(authorId === undefined || authorId === null || authorId.length < 1) + return Promise.reject("authorId was not provided"); + return await getData(`${apiUri}/v2/Query/Author/${authorId}`) as Promise; +} + +export const GetLink = async (apiUri: string, linkId: string) : Promise => { + if(linkId === undefined || linkId === null || linkId.length < 1) + return Promise.reject("linkId was not provided"); + return await getData(`${apiUri}/v2/Query/Link/${linkId}`) as Promise; +} \ No newline at end of file diff --git a/tranga-website/src/api/Search.tsx b/tranga-website/src/api/Search.tsx new file mode 100644 index 0000000..1ca2372 --- /dev/null +++ b/tranga-website/src/api/Search.tsx @@ -0,0 +1,22 @@ +import {postData} from "./fetchApi.tsx"; +import IManga from "./types/IManga.ts"; + +export const SearchName = async (apiUri: string, name: string) : Promise => { + if(name === undefined || name === null || name.length < 1) + return Promise.reject("name was not provided"); + return await postData(`${apiUri}/v2/Search/Name`, name) as Promise; +} + +export const SearchNameOnConnector = async (apiUri: string, connectorName: string, name: string) : Promise => { + if(connectorName === undefined || connectorName === null || connectorName.length < 1) + return Promise.reject("connectorName was not provided"); + if(name === undefined || name === null || name.length < 1) + return Promise.reject("name was not provided"); + return await postData(`${apiUri}/v2/Search/${connectorName}`, name) as Promise; +} + +export const SearchUrl = async (apiUri: string, url: string) : Promise => { + if(url === undefined || url === null || url.length < 1) + return Promise.reject("name was not provided"); + return await postData(`${apiUri}/v2/Search/Url`, url) as Promise; +} \ No newline at end of file diff --git a/tranga-website/src/api/fetchApi.tsx b/tranga-website/src/api/fetchApi.tsx new file mode 100644 index 0000000..96c2a45 --- /dev/null +++ b/tranga-website/src/api/fetchApi.tsx @@ -0,0 +1,80 @@ +import {createContext} from "react"; + +export const ApiUriContext = createContext(""); + +export function getData(uri: string) : Promise { + return makeRequest("GET", uri, null) as Promise; +} + +export function postData(uri: string, content: object | string | number | boolean) : Promise { + return makeRequest("POST", uri, content) as Promise; +} + +export function deleteData(uri: string) : Promise { + return makeRequest("DELETE", uri, null) as Promise; +} + +export function patchData(uri: string, content: object | string | number | boolean) : Promise { + return makeRequest("patch", uri, content) as Promise; +} + +export function putData(uri: string, content: object | string | number | boolean) : Promise { + return makeRequest("PUT", uri, content) as Promise; +} + +let currentlyRequestedEndpoints: string[] = []; +function makeRequest(method: string, uri: string, content: object | string | number | null | boolean) : Promise { + const id = method + uri; + if(currentlyRequestedEndpoints.find(x => x == id) != undefined) + return Promise.reject(`Already requested: ${method} ${uri}`); + currentlyRequestedEndpoints.push(id); + return fetch(uri, + { + method: method, + headers : { + 'Content-Type': 'application/json', + 'Accept': 'application/json' + }, + body: content ? JSON.stringify(content) : null + }) + .then(function(response){ + if(!response.ok){ + if(response.status === 503){ + currentlyRequestedEndpoints.splice(currentlyRequestedEndpoints.indexOf(id), 1) + let retryHeaderVal = response.headers.get("Retry-After"); + let seconds = 10; + if(retryHeaderVal === null){ + return response.text().then(text => { + seconds = parseInt(text); + return new Promise(resolve => setTimeout(resolve, seconds * 1000)) + .then(() => { + return makeRequest(method, uri, content); + }); + }); + }else { + seconds = parseInt(retryHeaderVal); + return new Promise(resolve => setTimeout(resolve, seconds * 1000)) + .then(() => { + return makeRequest(method, uri, content); + }); + } + }else + throw new Error(response.statusText); + } + let json = response.json(); + return json.then((json) => json).catch(() => null); + }) + .catch(function(err : Error){ + console.error(`Error ${method}ing Data ${uri}\n${err}`); + return Promise.reject(); + }).finally(() => currentlyRequestedEndpoints.splice(currentlyRequestedEndpoints.indexOf(id), 1)); +} + +export function isValidUri(uri: string) : boolean{ + try { + new URL(uri); + return true; + } catch (err) { + return false; + } +} \ No newline at end of file diff --git a/tranga-website/src/api/types/EnumLibraryType.ts b/tranga-website/src/api/types/EnumLibraryType.ts new file mode 100644 index 0000000..5665b04 --- /dev/null +++ b/tranga-website/src/api/types/EnumLibraryType.ts @@ -0,0 +1,4 @@ +export enum LibraryType { + Komga = "Komga", + Kavita = "Kavita" +} \ No newline at end of file diff --git a/tranga-website/src/api/types/EnumMangaReleaseStatus.ts b/tranga-website/src/api/types/EnumMangaReleaseStatus.ts new file mode 100644 index 0000000..586062b --- /dev/null +++ b/tranga-website/src/api/types/EnumMangaReleaseStatus.ts @@ -0,0 +1,24 @@ +import {ColorPaletteProp} from "@mui/joy"; + +export enum MangaReleaseStatus { + Continuing = "Continuing", + Completed = "Completed", + OnHiatus = "OnHiatus", + Cancelled = "Cancelled", + Unreleased = "Unreleased", +} + +export function ReleaseStatusToPalette(status: MangaReleaseStatus): ColorPaletteProp { + switch (status) { + case MangaReleaseStatus.Continuing: + return "success"; + case MangaReleaseStatus.Completed: + return "primary"; + case MangaReleaseStatus.Cancelled: + return "danger"; + case MangaReleaseStatus.Unreleased: + return "neutral"; + case MangaReleaseStatus.OnHiatus: + return "warning"; + } +} \ No newline at end of file diff --git a/tranga-website/src/api/types/EnumRequestLimitType.ts b/tranga-website/src/api/types/EnumRequestLimitType.ts new file mode 100644 index 0000000..c742b5f --- /dev/null +++ b/tranga-website/src/api/types/EnumRequestLimitType.ts @@ -0,0 +1,8 @@ +export enum RequestLimitType { + Default = "Default", + MangaDexFeed = "MangaDexFeed", + MangaImage = "MangaImage", + MangaCover = "MangaCover", + MangaDexImage = "MangaDexImage", + MangaInfo = "MangaInfo" +} \ No newline at end of file diff --git a/tranga-website/src/api/types/IAuthor.ts b/tranga-website/src/api/types/IAuthor.ts new file mode 100644 index 0000000..2b54e17 --- /dev/null +++ b/tranga-website/src/api/types/IAuthor.ts @@ -0,0 +1,4 @@ +export default interface IAuthor { + authorId: string; + authorName: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/IBackendSettings.ts b/tranga-website/src/api/types/IBackendSettings.ts new file mode 100644 index 0000000..ffbdaca --- /dev/null +++ b/tranga-website/src/api/types/IBackendSettings.ts @@ -0,0 +1,18 @@ +export default interface IBackendSettings { + downloadLocation: string; + workingDirectory: string; + userAgent: string; + aprilFoolsMode: boolean; + requestLimits: { + Default: number, + MangaInfo: number, + MangaDexFeed: number, + MangaDexImage: number, + MangaImage: number, + MangaCover: number, + }; + compression: number; + bwImages: boolean; + startNewJobTimeoutMs: number; + chapterNamingScheme: string; +} diff --git a/tranga-website/src/api/types/IChapter.ts b/tranga-website/src/api/types/IChapter.ts new file mode 100644 index 0000000..e255ff6 --- /dev/null +++ b/tranga-website/src/api/types/IChapter.ts @@ -0,0 +1,10 @@ +export default interface IChapter{ + chapterId: string; + volumeNumber: number; + chapterNumber: string; + url: string; + title: string | undefined; + archiveFileName: string; + downloaded: boolean; + parentMangaId: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/IFrontendSettings.ts b/tranga-website/src/api/types/IFrontendSettings.ts new file mode 100644 index 0000000..2c1c7c5 --- /dev/null +++ b/tranga-website/src/api/types/IFrontendSettings.ts @@ -0,0 +1,4 @@ +export default interface IFrontendSettings { + jobInterval: Date; + apiUri: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/ILibraryConnector.ts b/tranga-website/src/api/types/ILibraryConnector.ts new file mode 100644 index 0000000..7e2322e --- /dev/null +++ b/tranga-website/src/api/types/ILibraryConnector.ts @@ -0,0 +1,8 @@ +import {LibraryType} from "./EnumLibraryType"; + +export default interface ILibraryConnector { + libraryConnectorId: string; + libraryType: LibraryType; + baseUrl: string; + auth: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/ILink.ts b/tranga-website/src/api/types/ILink.ts new file mode 100644 index 0000000..9a26546 --- /dev/null +++ b/tranga-website/src/api/types/ILink.ts @@ -0,0 +1,5 @@ +export default interface ILink { + linkId: string; + linkProvider: string; + linkUrl: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/ILocalLibrary.ts b/tranga-website/src/api/types/ILocalLibrary.ts new file mode 100644 index 0000000..11f2bbc --- /dev/null +++ b/tranga-website/src/api/types/ILocalLibrary.ts @@ -0,0 +1,5 @@ +export default interface ILocalLibrary { + localLibraryId: string; + basePath: string; + libraryName: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/IManga.ts b/tranga-website/src/api/types/IManga.ts new file mode 100644 index 0000000..68daa53 --- /dev/null +++ b/tranga-website/src/api/types/IManga.ts @@ -0,0 +1,37 @@ +import {MangaReleaseStatus} from "./EnumMangaReleaseStatus"; + +export default interface IManga{ + mangaId: string; + idOnConnectorSite: string; + name: string; + description: string; + websiteUrl: string; + year: number; + originalLanguage: string; + releaseStatus: MangaReleaseStatus; + folderName: string; + ignoreChapterBefore: number; + mangaConnectorId: string; + authorIds: string[]; + tags: string[]; + linkIds: string[]; + altTitleIds: string[]; +} + +export const DefaultManga : IManga = { + mangaId: "MangaId", + idOnConnectorSite: "ID", + name: "TestManga", + description: "Wow so much text, very cool", + websiteUrl: "https://realsite.realdomain", + year: 1999, + originalLanguage: "lindtChoccy", + releaseStatus: MangaReleaseStatus.Continuing, + folderName: "uhhh", + ignoreChapterBefore: 0, + mangaConnectorId: "MangaDex", + authorIds: ["We got", "Authors"], + tags: ["And we", "got Tags"], + linkIds: ["And most", "definitely", "links"], + altTitleIds: ["But not alt-titles."], +} \ No newline at end of file diff --git a/tranga-website/src/api/types/IMangaAltTitle.ts b/tranga-website/src/api/types/IMangaAltTitle.ts new file mode 100644 index 0000000..2526df4 --- /dev/null +++ b/tranga-website/src/api/types/IMangaAltTitle.ts @@ -0,0 +1,5 @@ +export default interface IMangaAltTitle { + altTitleId: string; + language: string; + title: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/IMangaConnector.ts b/tranga-website/src/api/types/IMangaConnector.ts new file mode 100644 index 0000000..61fb457 --- /dev/null +++ b/tranga-website/src/api/types/IMangaConnector.ts @@ -0,0 +1,7 @@ +export default interface IMangaConnector { + name: string; + supportedLanguages: string[]; + iconUrl: string; + baseUris: string[]; + enabled: boolean; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/INotificationConnector.ts b/tranga-website/src/api/types/INotificationConnector.ts new file mode 100644 index 0000000..8d2b765 --- /dev/null +++ b/tranga-website/src/api/types/INotificationConnector.ts @@ -0,0 +1,7 @@ +export default interface INotificationConnector { + name: string; + url: string; + headers: Record[]; + httpMethod: string; + body: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/IRequestLimits.ts b/tranga-website/src/api/types/IRequestLimits.ts new file mode 100644 index 0000000..54a00ec --- /dev/null +++ b/tranga-website/src/api/types/IRequestLimits.ts @@ -0,0 +1,8 @@ +export default interface IRequestLimits { + Default: number; + MangaDexFeed: number; + MangaImage: number; + MangaCover: number; + MangaDexImage: number; + MangaInfo: number; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/Jobs/IDownloadAvailableChaptersJob.ts b/tranga-website/src/api/types/Jobs/IDownloadAvailableChaptersJob.ts new file mode 100644 index 0000000..66c5104 --- /dev/null +++ b/tranga-website/src/api/types/Jobs/IDownloadAvailableChaptersJob.ts @@ -0,0 +1,5 @@ +import IJob from "./IJob"; + +export default interface IDownloadAvailableChaptersJob extends IJob { + mangaId: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/Jobs/IDownloadMangaCoverJob.ts b/tranga-website/src/api/types/Jobs/IDownloadMangaCoverJob.ts new file mode 100644 index 0000000..42d4350 --- /dev/null +++ b/tranga-website/src/api/types/Jobs/IDownloadMangaCoverJob.ts @@ -0,0 +1,5 @@ +import IJob from "./IJob"; + +export default interface IDownloadMangaCoverJob extends IJob { + mangaId: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/Jobs/IDownloadSingleChapterJob.ts b/tranga-website/src/api/types/Jobs/IDownloadSingleChapterJob.ts new file mode 100644 index 0000000..c4b3b8b --- /dev/null +++ b/tranga-website/src/api/types/Jobs/IDownloadSingleChapterJob.ts @@ -0,0 +1,5 @@ +import IJob from "./IJob"; + +export default interface IDownloadSingleChapterJob extends IJob { + chapterId: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/Jobs/IJob.ts b/tranga-website/src/api/types/Jobs/IJob.ts new file mode 100644 index 0000000..a23e08d --- /dev/null +++ b/tranga-website/src/api/types/Jobs/IJob.ts @@ -0,0 +1,29 @@ +export default interface IJob{ + jobId: string; + parentJobId: string; + dependsOnJobIds: string[]; + jobType: JobType; + recurrenceMs: number; + lastExecution: Date; + nextExecution: Date; + state: JobState; + enabled: boolean; +} + +export enum JobType { + DownloadSingleChapterJob = "DownloadSingleChapterJob", + DownloadAvailableChaptersJob = "DownloadAvailableChaptersJob", + UpdateMetaDataJob = "UpdateMetaDataJob", + MoveFileOrFolderJob = "MoveFileOrFolderJob", + DownloadMangaCoverJob = "DownloadMangaCoverJob", + RetrieveChaptersJob = "RetrieveChaptersJob", + UpdateFilesDownloadedJob = "UpdateFilesDownloadedJob", + MoveMangaLibraryJob = "MoveMangaLibraryJob" +} + +export enum JobState { + Waiting = "Waiting", + Running = "Running", + Completed = "Completed", + Failed = "Failed" +} \ No newline at end of file diff --git a/tranga-website/src/api/types/Jobs/IMoveFileOrFolderJob.ts b/tranga-website/src/api/types/Jobs/IMoveFileOrFolderJob.ts new file mode 100644 index 0000000..9daa55c --- /dev/null +++ b/tranga-website/src/api/types/Jobs/IMoveFileOrFolderJob.ts @@ -0,0 +1,6 @@ +import IJob from "./IJob"; + +export default interface IMoveFileOrFolderJob extends IJob { + fromLocation: string; + toLocation: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/Jobs/IMoveMangaLibraryJob.ts b/tranga-website/src/api/types/Jobs/IMoveMangaLibraryJob.ts new file mode 100644 index 0000000..102646b --- /dev/null +++ b/tranga-website/src/api/types/Jobs/IMoveMangaLibraryJob.ts @@ -0,0 +1,6 @@ +import IJob from "./IJob"; + +export default interface IMoveMangaLibraryJob extends IJob { + MangaId: string; + ToLibraryId: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/Jobs/IRetrieveChaptersJob.ts b/tranga-website/src/api/types/Jobs/IRetrieveChaptersJob.ts new file mode 100644 index 0000000..2cadeb3 --- /dev/null +++ b/tranga-website/src/api/types/Jobs/IRetrieveChaptersJob.ts @@ -0,0 +1,5 @@ +import IJob from "./IJob"; + +export default interface IRetrieveChaptersJob extends IJob { + mangaId: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/Jobs/IUpdateFilesDownloadedJob.ts b/tranga-website/src/api/types/Jobs/IUpdateFilesDownloadedJob.ts new file mode 100644 index 0000000..8fc2516 --- /dev/null +++ b/tranga-website/src/api/types/Jobs/IUpdateFilesDownloadedJob.ts @@ -0,0 +1,5 @@ +import IJob from "./IJob"; + +export default interface IUpdateFilesDownloadedJob extends IJob { + mangaId: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/Jobs/IUpdateMetadataJob.ts b/tranga-website/src/api/types/Jobs/IUpdateMetadataJob.ts new file mode 100644 index 0000000..9464666 --- /dev/null +++ b/tranga-website/src/api/types/Jobs/IUpdateMetadataJob.ts @@ -0,0 +1,5 @@ +import IJob from "./IJob"; + +export default interface IUpdateMetadataJob extends IJob { + mangaId: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/records/IDownloadAvailableJobsRecord.ts b/tranga-website/src/api/types/records/IDownloadAvailableJobsRecord.ts new file mode 100644 index 0000000..f8f3402 --- /dev/null +++ b/tranga-website/src/api/types/records/IDownloadAvailableJobsRecord.ts @@ -0,0 +1,4 @@ +export default interface IDownloadAvailableJobsRecord { + recurrenceTimeMs: number; + localLibraryId: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/records/IGotifyRecord.ts b/tranga-website/src/api/types/records/IGotifyRecord.ts new file mode 100644 index 0000000..9ff6869 --- /dev/null +++ b/tranga-website/src/api/types/records/IGotifyRecord.ts @@ -0,0 +1,7 @@ +import "../../../styles/notificationConnector.css"; + +export default interface IGotifyRecord { + endpoint: string; + appToken: string; + priority: number; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/records/ILunaseaRecord.ts b/tranga-website/src/api/types/records/ILunaseaRecord.ts new file mode 100644 index 0000000..481abc8 --- /dev/null +++ b/tranga-website/src/api/types/records/ILunaseaRecord.ts @@ -0,0 +1,5 @@ +import "../../../styles/notificationConnector.css"; + +export default interface ILunaseaRecord { + id: string; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/records/IModifyJobRecord.ts b/tranga-website/src/api/types/records/IModifyJobRecord.ts new file mode 100644 index 0000000..3241c9a --- /dev/null +++ b/tranga-website/src/api/types/records/IModifyJobRecord.ts @@ -0,0 +1,4 @@ +export default interface IModifyJobRecord { + recurrenceMs: number; + enabled: boolean; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/records/INewLibraryRecord.ts b/tranga-website/src/api/types/records/INewLibraryRecord.ts new file mode 100644 index 0000000..59a764b --- /dev/null +++ b/tranga-website/src/api/types/records/INewLibraryRecord.ts @@ -0,0 +1,12 @@ +export default interface INewLibraryRecord { + path: string; + name: string; +} + +export function Validate(record: INewLibraryRecord) : boolean { + if(record.path.length < 1) + return false; + if(record.name.length < 1) + return false; + return true; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/records/INtfyRecord.ts b/tranga-website/src/api/types/records/INtfyRecord.ts new file mode 100644 index 0000000..6470347 --- /dev/null +++ b/tranga-website/src/api/types/records/INtfyRecord.ts @@ -0,0 +1,9 @@ +import "../../../styles/notificationConnector.css"; + +export default interface INtfyRecord { + endpoint: string; + username: string; + password: string; + topic: string; + priority: number; +} \ No newline at end of file diff --git a/tranga-website/src/api/types/records/IPushoverRecord.ts b/tranga-website/src/api/types/records/IPushoverRecord.ts new file mode 100644 index 0000000..bdca0b7 --- /dev/null +++ b/tranga-website/src/api/types/records/IPushoverRecord.ts @@ -0,0 +1,6 @@ +import "../../../styles/notificationConnector.css"; + +export default interface IPushoverRecord { + apptoken: string; + user: string; +} \ No newline at end of file diff --git a/tranga-website/src/index.css b/tranga-website/src/index.css new file mode 100644 index 0000000..e69de29 diff --git a/tranga-website/src/main.tsx b/tranga-website/src/main.tsx new file mode 100644 index 0000000..f585b6c --- /dev/null +++ b/tranga-website/src/main.tsx @@ -0,0 +1,28 @@ +import { createRoot } from 'react-dom/client' +import './index.css' +import App from './App.tsx' +// @ts-ignore +import '@fontsource/inter'; +import { CssVarsProvider } from '@mui/joy/styles'; +import CssBaseline from '@mui/joy/CssBaseline'; +import {StrictMode} from "react"; + +export default function MyApp() { + return ( + + + {/* must be used under CssVarsProvider */} + + + {/* The rest of your application */} + + + + ); +} + + + +createRoot(document.getElementById('root')!).render( + +); diff --git a/tranga-website/src/vite-env.d.ts b/tranga-website/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/tranga-website/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/tranga-website/tsconfig.app.json b/tranga-website/tsconfig.app.json new file mode 100644 index 0000000..358ca9b --- /dev/null +++ b/tranga-website/tsconfig.app.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + "jsx": "react-jsx", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true + }, + "include": ["src"] +} diff --git a/tranga-website/tsconfig.json b/tranga-website/tsconfig.json new file mode 100644 index 0000000..1ffef60 --- /dev/null +++ b/tranga-website/tsconfig.json @@ -0,0 +1,7 @@ +{ + "files": [], + "references": [ + { "path": "./tsconfig.app.json" }, + { "path": "./tsconfig.node.json" } + ] +} diff --git a/tranga-website/tsconfig.node.json b/tranga-website/tsconfig.node.json new file mode 100644 index 0000000..db0becc --- /dev/null +++ b/tranga-website/tsconfig.node.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", + "target": "ES2022", + "lib": ["ES2023"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true + }, + "include": ["vite.config.ts"] +} diff --git a/tranga-website/vite.config.ts b/tranga-website/vite.config.ts new file mode 100644 index 0000000..8b0f57b --- /dev/null +++ b/tranga-website/vite.config.ts @@ -0,0 +1,7 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' + +// https://vite.dev/config/ +export default defineConfig({ + plugins: [react()], +})