Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: rebuild with remotion/bundler
dev_wandrya1e56c2acebe
diff --git a/.dockerignore b/.dockerignorenew file mode 100644index 00000000..219da599--- /dev/null+++ b/.dockerignore@@ -0,0 +1,18 @@+# Keep the build context small + force a clean build inside the image.+node_modules+.next+.git+.omc+.claude++# Generated inside the Docker build (RUN bun run bundle:remotion) — never copy a+# local/stale bundle in.+.remotion-bundle++# Local env + misc+.env*+*.tsbuildinfo+.DS_Store+coverage+.vercel+.sourcediff --git a/.gitignore b/.gitignoreindex ac177c55..aa002964 100644--- a/.gitignore+++ b/.gitignore@@ -43,4 +43,7 @@ next-env.d.ts# fumadocs generated source.source/+# remotion pre-bundle (generated by `bun run bundle:remotion` / Docker build)+.remotion-bundle/+.omc\ No newline at end of filediff --git a/Dockerfile b/Dockerfilenew file mode 100644index 00000000..fd68afdd--- /dev/null+++ b/Dockerfile@@ -0,0 +1,55 @@+# Coolify builds this image. Debian (bookworm) — NOT Alpine — because Remotion's+# headless Chromium needs glibc. Single stage; the Chrome Headless Shell and the+# pre-bundled Remotion serveUrl are baked in so renders start fast at boot.+FROM node:22-bookworm-slim++ENV DEBIAN_FRONTEND=noninteractive \+ NODE_ENV=production \+ PORT=3000++# Chromium runtime libraries + base fonts needed by @remotion/renderer.+RUN apt-get update && apt-get install -y --no-install-recommends \+ ca-certificates \+ fonts-liberation \+ libasound2 \+ libatk-bridge2.0-0 \+ libatk1.0-0 \+ libcups2 \+ libdbus-1-3 \+ libdrm2 \+ libgbm1 \+ libgtk-3-0 \+ libnss3 \+ libpango-1.0-0 \+ libxcomposite1 \+ libxdamage1 \+ libxfixes3 \+ libxkbcommon0 \+ libxrandr2 \+ && rm -rf /var/lib/apt/lists/*++# Bun (the repo's package manager + runtime) — copied from the official image.+COPY --from=oven/bun:1 /usr/local/bin/bun /usr/local/bin/bun++WORKDIR /app++# Install deps first for better layer caching. Requires bun.lock to match+# package.json — run `bun install` locally after dependency changes and commit+# the updated lockfile before building.+COPY package.json bun.lock ./+RUN bun install --frozen-lockfile++# App source + build.+COPY . .+RUN bun run build++# Bake the Chrome Headless Shell into the image (no slow runtime download).+RUN bunx remotion browser ensure++# Pre-bundle the Remotion entry → .remotion-bundle/ (serveUrl ready at boot).+RUN bun run bundle:remotion++EXPOSE 3000++# next start (matches `bun run start` in package.json).+CMD ["bun", "run", "start"]diff --git a/README.md b/README.mdindex e21784cd..d5573caf 100644--- a/README.md+++ b/README.md@@ -48,6 +48,31 @@ bun run registry:build # rebuild the shadcn registry JSONbun run lint # biome check```+## Self-hosting (server-side MP4 render)++The `/stars` live generator renders MP4s server-side with `@remotion/renderer`+(headless Chromium), so export works in every browser. Either way, headless+Chromium needs its system libraries, the Chrome Headless Shell baked in, and the+Remotion entry pre-bundled. Two deploy paths on Coolify:++**Nixpacks (Coolify default build pack)** — `nixpacks.toml` declares the Chromium+apt packages so Nixpacks installs them. Set the Coolify commands in the UI:++- Build: `bun install && bun run build && bunx remotion browser ensure && bun run bundle:remotion`+- Start: `bun run start`++Under Nixpacks the `Dockerfile` is **not** used.++**Dockerfile build pack** — switch the resource's build pack to Dockerfile and the+included `Dockerfile` (Debian + Chromium libs) handles everything: it bakes in the+Chrome Headless Shell and the pre-bundled Remotion entry. No separate build/start+commands needed.++Sized for a Hetzner CPX42. Configure the render via env vars — see `.env.example`+(`RENDER_WORK_DIR`, `RENDER_MAX_CONCURRENT`, `REMOTION_CONCURRENCY`,+`RENDER_TIMEOUT_MS`, and the per-IP rate-limit knobs). Run `bun install` after+pulling dependency changes so `bun.lock` matches before building.+## Tech stack- [Remotion](https://www.remotion.dev/) 4.0 + `@remotion/player` for in-browser previewsdiff --git a/app/(home)/stars/components/export-controls.tsx b/app/(home)/stars/components/export-controls.tsxindex 4637ff61..2841826f 100644--- a/app/(home)/stars/components/export-controls.tsx+++ b/app/(home)/stars/components/export-controls.tsx@@ -1,22 +1,15 @@import { Download, X } from "lucide-react";import { Button } from "@/components/ui/button";import { Progress } from "@/components/ui/progress";-import {- Tooltip,- TooltipContent,- TooltipTrigger,-} from "@/components/ui/tooltip";-/** Download MP4 button with the exporting (progress + cancel) and unsupported- * (muted + tooltip) variants. */+/** Download MP4 button; while a server render runs it becomes a progress bar ++ * cancel. Server renders for every browser, so there's no unsupported state. */export function ExportControls({- supportsExport,exporting,exportProgress,onDownload,onCancelExport,}: {- supportsExport: boolean;exporting: boolean;exportProgress: number;onDownload: () => void;@@ -42,34 +35,10 @@ export function ExportControls({);}- if (supportsExport) {- return (- <Button size="lg" onClick={onDownload} className="gap-2 rounded-full">- <Download className="size-4" aria-hidden="true" />- Download MP4- </Button>- );- }-return (- <Tooltip>- <TooltipTrigger- render={- // Not the native `disabled` attribute — a disabled button- // suppresses hover/click, hiding the tooltip and the info toast.- // Style it muted and let onDownload surface the Chrome/Edge hint.- <Button- size="lg"- aria-disabled- onClick={onDownload}- className="gap-2 rounded-full opacity-50"- >- <Download className="size-4" aria-hidden="true" />- Download MP4- </Button>- }- />- <TooltipContent>MP4 export needs Chrome or Edge</TooltipContent>- </Tooltip>+ <Button size="lg" onClick={onDownload} className="gap-2 rounded-full">+ <Download className="size-4" aria-hidden="true" />+ Download MP4+ </Button>);}diff --git a/app/(home)/stars/components/player-frame.tsx b/app/(home)/stars/components/player-frame.tsxindex b66e0f3e..bd696f5e 100644--- a/app/(home)/stars/components/player-frame.tsx+++ b/app/(home)/stars/components/player-frame.tsx@@ -16,7 +16,7 @@ export function PlayerFrame({orientation: Orientation;reduced: boolean;}) {- const { ref, playing, togglePlay } = usePlayerControls(!reduced);+ const { ref, playing, togglePlay } = usePlayerControls(true);const { width, height } = dims(orientation);return (@@ -50,7 +50,6 @@ export function PlayerFrame({compositionWidth={width}compositionHeight={height}style={{ width: "100%", height: "100%", display: "block" }}- autoPlay={!reduced}loopacknowledgeRemotionLicense/>diff --git a/app/(home)/stars/components/ready-footer.tsx b/app/(home)/stars/components/ready-footer.tsxindex 8836c252..2211fe70 100644--- a/app/(home)/stars/components/ready-footer.tsx+++ b/app/(home)/stars/components/ready-footer.tsx@@ -8,14 +8,12 @@ import { ExportControls } from "./export-controls";/** Footer row: install advert + docs link on the left, reset + export on the right. */export function ReadyFooter({onReset,- supportsExport,exporting,exportProgress,onDownload,onCancelExport,}: {onReset: () => void;- supportsExport: boolean;exporting: boolean;exportProgress: number;onDownload: () => void;@@ -47,7 +45,6 @@ export function ReadyFooter({Change repository</Button><ExportControls- supportsExport={supportsExport}exporting={exporting}exportProgress={exportProgress}onDownload={onDownload}diff --git a/app/(home)/stars/components/ready-view.tsx b/app/(home)/stars/components/ready-view.tsxindex 0da1b8e4..727453a7 100644--- a/app/(home)/stars/components/ready-view.tsx+++ b/app/(home)/stars/components/ready-view.tsx@@ -25,7 +25,6 @@ export function ReadyView({onToggleCustomizer,customValues,onCustomChange,- supportsExport,exporting,exportProgress,onDownload,@@ -44,7 +43,6 @@ export function ReadyView({onToggleCustomizer: () => void;customValues: Record<string, unknown>;onCustomChange: (key: string, value: unknown) => void;- supportsExport: boolean;exporting: boolean;exportProgress: number;onDownload: () => void;@@ -97,7 +95,6 @@ export function ReadyView({<ReadyFooteronReset={onReset}- supportsExport={supportsExport}exporting={exporting}exportProgress={exportProgress}onDownload={onDownload}diff --git a/app/(home)/stars/components/repo-title.tsx b/app/(home)/stars/components/repo-title.tsxindex 6749840d..4d25d9db 100644--- a/app/(home)/stars/components/repo-title.tsx+++ b/app/(home)/stars/components/repo-title.tsx@@ -10,7 +10,7 @@ export function RepoTitle({}) {return (<div className="mb-4 text-center">- <h2 className="truncate text-xl font-semibold tracking-tight text-foreground sm:text-2xl">+ <h2 className="truncate text-xl font-semibold tracking-tight text-foreground sm:text-4xl">{repo}</h2><p className="mt-0.5 text-sm text-muted-foreground">diff --git a/app/(home)/stars/hooks/use-mp4-export.ts b/app/(home)/stars/hooks/use-mp4-export.tsindex 3327d094..36819f69 100644--- a/app/(home)/stars/hooks/use-mp4-export.ts+++ b/app/(home)/stars/hooks/use-mp4-export.ts@@ -2,79 +2,130 @@import { useCallback, useEffect, useRef, useState } from "react";import { toast } from "sonner";-import type { RegistryEntry } from "@/registry/__index__";-import { downloadBlob } from "../lib/download";-import { buildExportComposition } from "../lib/export-settings";-import type { GitHubStarsInputProps, Orientation } from "../lib/types";--type DownloadArgs = {- entry: RegistryEntry;- inputProps: GitHubStarsInputProps;- orientation: Orientation;- filename: string;-};+import type { GitHubStarsInputProps } from "../lib/types";/**- * Owns the WebCodecs MP4 export: feature-detect, progress, the export- * AbortController, and the dynamic web-renderer import + blob download.+ * Owns the server-side MP4 export: POST the inputProps to `/api/render`, then+ * poll the job until it's done and trigger a browser download of the result.+ * Server renders work in every browser, so there's no feature-detect — the+ * Download button is always available. `cancel()` stops the client polling.*/++type RenderStatus = "queued" | "rendering" | "done" | "error";++type JobState = {+ status: RenderStatus;+ progress: number;+ downloadUrl?: string;+ error?: string;+};++const POLL_INTERVAL_MS = 700;+export function useMp4Export() {- const [supportsExport, setSupportsExport] = useState(false);const [exporting, setExporting] = useState(false);const [progress, setProgress] = useState(0);- const exportAbortRef = useRef<AbortController | null>(null);-- useEffect(() => {- // Feature-detect WebCodecs after mount (avoids hydration mismatch).- setSupportsExport(- typeof window !== "undefined" &&- typeof window.VideoEncoder !== "undefined",- );+ // Pending poll timer + a flag so cancel()/unmount can abandon a live job.+ const pollRef = useRef<ReturnType<typeof setTimeout> | null>(null);+ const cancelledRef = useRef(false);++ const stopPolling = useCallback(() => {+ if (pollRef.current) {+ clearTimeout(pollRef.current);+ pollRef.current = null;+ }}, []);- const download = useCallback(- async ({ entry, inputProps, orientation, filename }: DownloadArgs) => {- if (!supportsExport) {- toast.info("MP4 export needs Chrome or Edge");- return;- }+ // Drop any in-flight poll if the component unmounts mid-export.+ useEffect(() => stopPolling, [stopPolling]);- const controller = new AbortController();- exportAbortRef.current = controller;+ const download = useCallback(+ async (inputProps: GitHubStarsInputProps) => {+ cancelledRef.current = false;setExporting(true);setProgress(0);try {- const { renderMediaOnWeb } = await import("@remotion/web-renderer");- const { getBlob } = await renderMediaOnWeb({- composition: buildExportComposition(entry, orientation),- inputProps,- container: "mp4",- signal: controller.signal,- onProgress: ({ progress }) => setProgress(progress),+ const res = await fetch("/api/render", {+ method: "POST",+ headers: { "Content-Type": "application/json" },+ body: JSON.stringify(inputProps),});+ if (!res.ok) {+ throw new Error(await readError(res));+ }+ const { jobId } = (await res.json()) as { jobId: string };++ await new Promise<void>((resolve, reject) => {+ const tick = async () => {+ if (cancelledRef.current) return resolve();+ try {+ const r = await fetch(`/api/render/${jobId}`);+ if (!r.ok) throw new Error("Lost track of the render job");+ const job = (await r.json()) as JobState;+ if (cancelledRef.current) return resolve();++ setProgress(job.progress ?? 0);- const blob = await getBlob();- downloadBlob(blob, filename);+ if (job.status === "done" && job.downloadUrl) {+ triggerDownload(job.downloadUrl);+ return resolve();+ }+ if (job.status === "error") {+ return reject(new Error(job.error || "Render failed"));+ }+ pollRef.current = setTimeout(tick, POLL_INTERVAL_MS);+ } catch (err) {+ reject(err);+ }+ };+ void tick();+ });} catch (err) {- if (!(err instanceof DOMException && err.name === "AbortError")) {- // Surface the real cause (e.g. a Remotion version mismatch) instead of- // swallowing it — the toast stays friendly, the console is diagnosable.+ // Cancellation isn't an error; anything else is retryable (the Download+ // button comes back when exporting flips false) and gets a toast.+ if (!cancelledRef.current) {console.error("[stars] MP4 export failed:", err);const detail = err instanceof Error ? err.message : String(err);toast.error("Export failed", { description: detail });}} finally {+ stopPolling();setExporting(false);- exportAbortRef.current = null;}},- [supportsExport],+ [stopPolling],);const cancel = useCallback(() => {- exportAbortRef.current?.abort();- }, []);+ cancelledRef.current = true;+ stopPolling();+ setExporting(false);+ setProgress(0);+ }, [stopPolling]);++ return { exporting, progress, download, cancel };+}++/** Navigate a transient anchor to the download route; the server's+ * Content-Disposition supplies the filename and keeps the page in place. */+function triggerDownload(url: string) {+ const a = document.createElement("a");+ a.href = url;+ a.rel = "noopener";+ document.body.appendChild(a);+ a.click();+ a.remove();+}- return { supportsExport, exporting, progress, download, cancel };+/** Best-effort human-readable message from a failed render response. */+async function readError(res: Response): Promise<string> {+ try {+ const body = (await res.json()) as { error?: string };+ if (body?.error) return body.error;+ } catch {+ // non-JSON body — fall through to a status-based message+ }+ if (res.status === 429) return "Too many requests. Please wait and retry.";+ return `Render request failed (${res.status})`;}diff --git a/app/(home)/stars/hooks/use-player-controls.ts b/app/(home)/stars/hooks/use-player-controls.tsindex e78f6bc4..c6c38a36 100644--- a/app/(home)/stars/hooks/use-player-controls.ts+++ b/app/(home)/stars/hooks/use-player-controls.ts@@ -1,23 +1,60 @@"use client";import type { PlayerRef } from "@remotion/player";-import { useCallback, useRef, useState } from "react";+import { useCallback, useEffect, useRef, useState } from "react";-/** Owns the Remotion PlayerRef play/pause toggle + the mirrored playing flag. */+/**+ * Owns the Remotion Player play/pause control + a `playing` flag that mirrors the+ * ACTUAL player (driven by its play/pause events, not a guess).+ *+ * The `<Player autoPlay>` prop is unreliable here — the player tends to mount a+ * tick before its imperative handle is ready (and React Strict Mode's dev+ * double-mount makes it worse), so it silently fails to start and the preview+ * looks frozen until you manually pause/play. Instead we imperatively call+ * `play()` once mounted (on the next animation frame, after avatars are+ * preloaded) and retry if it didn't take.+ */export function usePlayerControls(initialPlaying: boolean) {const ref = useRef<PlayerRef>(null);const [playing, setPlaying] = useState(initialPlaying);- const togglePlay = useCallback(() => {- const p = ref.current;- if (!p) return;- if (p.isPlaying()) {- p.pause();- setPlaying(false);- } else {- p.play();- setPlaying(true);+ useEffect(() => {+ const player = ref.current;+ if (!player) return;++ const onPlay = () => setPlaying(true);+ const onPause = () => setPlaying(false);+ player.addEventListener("play", onPlay);+ player.addEventListener("pause", onPause);++ let raf1 = 0;+ let raf2 = 0;+ if (initialPlaying) {+ // Defer to the next frame so the player's imperative API is fully wired,+ // then start. A second rAF retries if the first play() didn't take (e.g.+ // the player was still finishing its initial buffering pass).+ raf1 = requestAnimationFrame(() => {+ ref.current?.play();+ raf2 = requestAnimationFrame(() => {+ if (ref.current && !ref.current.isPlaying()) ref.current.play();+ });+ });}++ return () => {+ if (raf1) cancelAnimationFrame(raf1);+ if (raf2) cancelAnimationFrame(raf2);+ player.removeEventListener("play", onPlay);+ player.removeEventListener("pause", onPause);+ };+ }, [initialPlaying]);++ const togglePlay = useCallback(() => {+ const player = ref.current;+ if (!player) return;+ // `playing` updates via the play/pause event listeners above.+ if (player.isPlaying()) player.pause();+ else player.play();}, []);return { ref, playing, togglePlay };diff --git a/app/(home)/stars/hooks/use-stargazers.ts b/app/(home)/stars/hooks/use-stargazers.tsindex bb030f48..10033822 100644--- a/app/(home)/stars/hooks/use-stargazers.ts+++ b/app/(home)/stars/hooks/use-stargazers.ts@@ -5,6 +5,7 @@ import { toast } from "sonner";import { parseRepoInput } from "@/lib/parse-repo";import { messageForApiError } from "../lib/api-errors";import { fetchStargazers, StargazersApiError } from "../lib/api";+import { preloadAvatars } from "../lib/preload-avatars";import type { StarsStatus, StargazersPayload } from "../lib/types";/**@@ -41,6 +42,11 @@ export function useStargazers() {}setData(json);+ // Warm the avatar cache while the generating animation is still on screen,+ // so the Player mounts ready-to-play (autoPlay won't stall on un-cached+ // remote <Img>s). Bounded + non-blocking on failures; skip if cancelled.+ await preloadAvatars(json.stargazers.map((s) => s.avatarUrl));+ if (controller.signal.aborted) return;setStatus("ready");} catch (err) {// Cancel (AbortController) returns to idle silently.diff --git a/app/(home)/stars/hooks/use-stars-tool.ts b/app/(home)/stars/hooks/use-stars-tool.tsindex cf45bea4..23b2e88a 100644--- a/app/(home)/stars/hooks/use-stars-tool.ts+++ b/app/(home)/stars/hooks/use-stars-tool.ts@@ -99,14 +99,11 @@ export function useStarsTool() {);const handleDownload = useCallback(() => {- if (!entry || !data || !inputProps) return;- void mp4.download({- entry,- inputProps,- orientation,- filename: `${data.owner}-${data.repo}-stars.mp4`,- });- }, [entry, data, inputProps, orientation, mp4]);+ if (!inputProps) return;+ // inputProps already carry orientation/accent/speed/theme — they are the+ // exact POST body the render API expects; the server names the file.+ void mp4.download(inputProps);+ }, [inputProps, mp4]);return {status: stargazers.status,@@ -137,7 +134,6 @@ export function useStarsTool() {onToggleCustomizer: customizer.toggleCustomizer,customValues: customizer.values,onCustomChange: customizer.onChange,- supportsExport: mp4.supportsExport,exporting: mp4.exporting,exportProgress: mp4.progress,onDownload: handleDownload,diff --git a/app/(home)/stars/lib/download.ts b/app/(home)/stars/lib/download.tsdeleted file mode 100644index 0f0fdf14..00000000--- a/app/(home)/stars/lib/download.ts+++ /dev/null@@ -1,11 +0,0 @@-/** Trigger a browser download for an in-memory blob via a transient anchor. */-export function downloadBlob(blob: Blob, filename: string) {- const url = URL.createObjectURL(blob);- const a = document.createElement("a");- a.href = url;- a.download = filename;- document.body.appendChild(a);- a.click();- a.remove();- URL.revokeObjectURL(url);-}diff --git a/app/(home)/stars/lib/export-settings.ts b/app/(home)/stars/lib/export-settings.tsdeleted file mode 100644index b220365a..00000000--- a/app/(home)/stars/lib/export-settings.ts+++ /dev/null@@ -1,35 +0,0 @@-import type { RegistryEntry } from "@/registry/__index__";-import { dims } from "./dims";-import type { Orientation } from "./types";--// Render the export cheaper than the 30fps preview: lower resolution + fps.-// The composition's motion is purely frame/durationInFrames ratios (no-// spring, never reads fps), so a 24fps/240-frame render is real-time-// identical to 30fps/300 — only the encode + per-frame cost drops (≈2-3×-// faster). Raise EXPORT_SCALE/EXPORT_FPS to trade speed for fidelity.-export const EXPORT_SCALE = 0.7;-export const EXPORT_FPS = 24;--const even = (n: number) => Math.max(2, Math.round((n * EXPORT_SCALE) / 2) * 2);--/** Pure composition descriptor for the web-renderer MP4 export. */-export function buildExportComposition(- entry: RegistryEntry,- orientation: Orientation,-) {- const base = dims(orientation);- const durationInFrames = Math.max(- 1,- Math.round(- (entry.config.durationInFrames / entry.config.fps) * EXPORT_FPS,- ),- );- return {- id: "github-stars",- component: entry.Component,- durationInFrames,- fps: EXPORT_FPS,- width: even(base.width),- height: even(base.height),- };-}diff --git a/app/(home)/stars/lib/preload-avatars.ts b/app/(home)/stars/lib/preload-avatars.tsnew file mode 100644index 00000000..fc24e00b--- /dev/null+++ b/app/(home)/stars/lib/preload-avatars.ts@@ -0,0 +1,36 @@+/**+ * Warm the browser cache for the stargazer avatars BEFORE the Remotion Player+ * mounts. The composition renders them with Remotion's <Img> (which blocks the+ * first frame via delayRender until each image loads). If the Player autoPlays+ * into a batch of un-cached remote avatars it buffers and doesn't reliably+ * resume — the preview appears frozen until you manually pause/play. Preloading+ * first makes <Img> resolve from cache instantly, so autoPlay just works.+ *+ * `crossOrigin = "anonymous"` MUST match Remotion's <Img> so the CORS-enabled+ * cache entry is reused (otherwise the browser keeps a separate entry and+ * Remotion re-fetches). Each image resolves on load OR error (a broken avatar+ * must not block), and the whole batch is bounded by a timeout so one slow image+ * can't stall the transition to the ready state.+ */+export function preloadAvatars(urls: string[], timeoutMs = 2500): Promise<void> {+ if (typeof window === "undefined" || urls.length === 0) {+ return Promise.resolve();+ }++ const loads = urls.map(+ (url) =>+ new Promise<void>((resolve) => {+ const img = new Image();+ img.crossOrigin = "anonymous";+ img.onload = () => resolve();+ img.onerror = () => resolve();+ img.src = url;+ }),+ );++ const all = Promise.all(loads).then(() => undefined);+ const timeout = new Promise<void>((resolve) => {+ window.setTimeout(resolve, timeoutMs);+ });+ return Promise.race([all, timeout]);+}diff --git a/app/api/render/[jobId]/download/route.ts b/app/api/render/[jobId]/download/route.tsnew file mode 100644index 00000000..1fbd250e--- /dev/null+++ b/app/api/render/[jobId]/download/route.ts@@ -0,0 +1,85 @@+import { createReadStream } from "node:fs";+import { stat } from "node:fs/promises";+import path from "node:path";+import { Readable } from "node:stream";++import { getJob } from "@/lib/server/render-queue";+import { deleteJobFile } from "@/lib/server/cleanup";+import { RENDER_WORK_DIR } from "@/lib/server/paths";++// Node runtime: streams a file off disk via node:fs.+export const runtime = "nodejs";++/** Job ids are crypto.randomUUID()s — accept only that exact shape. */+const JOB_ID_RE =+ /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;++/**+ * GET /api/render/[jobId]/download+ *+ * Streams the finished MP4 (Content-Type video/mp4, attachment), then schedules+ * the file for deletion. 404 if the job/file is unknown; 410 if the render isn't+ * done yet or the file has already been swept.+ */+export async function GET(+ _request: Request,+ { params }: { params: Promise<{ jobId: string }> },+) {+ const { jobId } = await params;++ // Path-traversal guard: build the path from a validated id only.+ if (!JOB_ID_RE.test(jobId)) {+ return jsonError(404, "Unknown render job.", "not_found");+ }++ const job = getJob(jobId);+ if (!job) {+ return jsonError(404, "Unknown render job.", "not_found");+ }+ if (job.status !== "done") {+ return jsonError(410, "Render is not ready for download.", "not_ready");+ }++ const filePath = path.join(RENDER_WORK_DIR, `${jobId}.mp4`);+ let size: number;+ try {+ size = (await stat(filePath)).size;+ } catch {+ return jsonError(410, "Render file has expired.", "expired");+ }++ const nodeStream = createReadStream(filePath);+ // Schedule cleanup once the file has been fully read out.+ nodeStream.on("close", () => {+ void deleteJobFile(jobId);+ });++ const webStream = Readable.toWeb(nodeStream) as ReadableStream<Uint8Array>;++ return new Response(webStream, {+ status: 200,+ headers: {+ "Content-Type": "video/mp4",+ "Content-Length": String(size),+ "Content-Disposition": `attachment; filename="${downloadName(job.repo)}"`,+ "Cache-Control": "no-store",+ },+ });+}++/** Safe, repo-derived filename, e.g. "vercel-next.js-stars.mp4". */+function downloadName(repo: string): string {+ const slug = repo+ .toLowerCase()+ .replace(/[^a-z0-9._-]+/g, "-")+ .replace(/^-+|-+$/g, "")+ .slice(0, 80);+ return `${slug || "github"}-stars.mp4`;+}++function jsonError(status: number, error: string, code: string): Response {+ return new Response(JSON.stringify({ error, code }), {+ status,+ headers: { "Content-Type": "application/json" },+ });+}diff --git a/app/api/render/[jobId]/route.ts b/app/api/render/[jobId]/route.tsnew file mode 100644index 00000000..17538e8f--- /dev/null+++ b/app/api/render/[jobId]/route.ts@@ -0,0 +1,39 @@+import { NextResponse } from "next/server";++import { getJob } from "@/lib/server/render-queue";++// Node runtime: shares the in-memory job registry with the render route.+export const runtime = "nodejs";++/**+ * GET /api/render/[jobId]+ *+ * Poll a render's progress. Returns:+ * { status, progress, downloadUrl?, error? }+ * where status is "queued" | "rendering" | "done" | "error", progress is in+ * [0, 1], `downloadUrl` is present only when done, and `error` only on failure.+ * 404 `{ error, code }` for an unknown job.+ */+export async function GET(+ _request: Request,+ { params }: { params: Promise<{ jobId: string }> },+) {+ const { jobId } = await params;+ const job = getJob(jobId);++ if (!job) {+ return NextResponse.json(+ { error: "Unknown render job.", code: "not_found" },+ { status: 404 },+ );+ }++ return NextResponse.json({+ status: job.status,+ progress: job.progress,+ ...(job.status === "done"+ ? { downloadUrl: `/api/render/${jobId}/download` }+ : {}),+ ...(job.status === "error" ? { error: job.error } : {}),+ });+}diff --git a/app/api/render/__tests__/route.test.ts b/app/api/render/__tests__/route.test.tsnew file mode 100644index 00000000..a1d0a6fe--- /dev/null+++ b/app/api/render/__tests__/route.test.ts@@ -0,0 +1,428 @@+/**+ * Unit tests for app/api/render/route.ts (POST /api/render)+ * app/api/render/[jobId]/route.ts (GET /api/render/[jobId])+ *+ * Run with: bunx vitest run app/api/render/__tests__/route.test.ts+ *+ * enqueueRender, checkRateLimit, getJob, and ensureCleanupSweep are all mocked+ * so no real renders, rate-buckets, or filesystem ops occur.+ */++import { afterEach, describe, expect, it, vi } from "vitest";++// ---------------------------------------------------------------------------+// Mocks — must be declared before importing the route handlers.+// ---------------------------------------------------------------------------++vi.mock("server-only", () => ({}));++vi.mock("@/lib/server/render-queue", () => ({+ enqueueRender: vi.fn(),+ getJob: vi.fn(),+}));++vi.mock("@/lib/server/rate-limit", () => ({+ checkRateLimit: vi.fn(),+}));++vi.mock("@/lib/server/cleanup", () => ({+ ensureCleanupSweep: vi.fn(),+}));++// validate-input is NOT mocked: we use the real parser so the route's+// validation path is exercised end-to-end.++// ---------------------------------------------------------------------------+// Imports (after mocks)+// ---------------------------------------------------------------------------++import { POST } from "@/app/api/render/route";+import { GET } from "@/app/api/render/[jobId]/route";+import { enqueueRender } from "@/lib/server/render-queue";+import { getJob } from "@/lib/server/render-queue";+import { checkRateLimit } from "@/lib/server/rate-limit";+import type { JobState } from "@/lib/server/render-queue";++const mockEnqueue = vi.mocked(enqueueRender);+const mockGetJob = vi.mocked(getJob);+const mockCheckRate = vi.mocked(checkRateLimit);++afterEach(() => {+ vi.clearAllMocks();+});++// ---------------------------------------------------------------------------+// Helpers+// ---------------------------------------------------------------------------++/** Build a minimal NextRequest-compatible Request for POST /api/render. */+function makePostRequest(body: unknown, ip = "1.2.3.4"): Request {+ return new Request("http://localhost/api/render", {+ method: "POST",+ headers: {+ "content-type": "application/json",+ "x-forwarded-for": ip,+ },+ body: typeof body === "string" ? body : JSON.stringify(body),+ });+}++/** A valid render payload that passes parseRenderInput. */+function validPayload(overrides?: Record<string, unknown>): Record<string, unknown> {+ return {+ repo: "vercel/next.js",+ totalStars: 50_000,+ stargazers: [+ {+ login: "bob",+ avatarUrl: "https://avatars.githubusercontent.com/u/2",+ starredAt: "2022-06-15",+ },+ ],+ orientation: "horizontal",+ ...overrides,+ };+}++/** Build a GET request for /api/render/[jobId]. */+function makeGetRequest(jobId: string): Request {+ return new Request(`http://localhost/api/render/${jobId}`);+}++/** Resolve params the same way Next.js does for dynamic routes. */+function makeGetParams(jobId: string): { params: Promise<{ jobId: string }> } {+ return { params: Promise.resolve({ jobId }) };+}++// ---------------------------------------------------------------------------+// POST /api/render — 429 rate limited+// ---------------------------------------------------------------------------++describe("POST /api/render — 429 rate limited", () => {+ it("returns 429 with code rate_limited when checkRateLimit returns false", async () => {+ mockCheckRate.mockReturnValue(false);++ const res = await POST(makePostRequest(validPayload()) as never);++ expect(res.status).toBe(429);+ const body = await res.json();+ expect(body.code).toBe("rate_limited");+ expect(mockEnqueue).not.toHaveBeenCalled();+ });++ it("does not include any absolute path in a 429 response body", async () => {+ mockCheckRate.mockReturnValue(false);+ const res = await POST(makePostRequest(validPayload()) as never);+ const text = await res.text();+ expect(text).not.toMatch(/\/(Users|home|var|tmp)\//);+ });+});++// ---------------------------------------------------------------------------+// POST /api/render — 400 invalid JSON+// ---------------------------------------------------------------------------++describe("POST /api/render — 400 invalid JSON", () => {+ it("returns 400 with code invalid_json when body is not valid JSON", async () => {+ mockCheckRate.mockReturnValue(true);++ const res = await POST(+ new Request("http://localhost/api/render", {+ method: "POST",+ headers: { "content-type": "application/json", "x-forwarded-for": "1.2.3.4" },+ body: "{ not valid json !!!",+ }) as never,+ );++ expect(res.status).toBe(400);+ const body = await res.json();+ expect(body.code).toBe("invalid_json");+ expect(mockEnqueue).not.toHaveBeenCalled();+ });+});++// ---------------------------------------------------------------------------+// POST /api/render — 400 invalid input+// ---------------------------------------------------------------------------++describe("POST /api/render — 400 invalid input", () => {+ it("returns 400 with code invalid_input when orientation is wrong", async () => {+ mockCheckRate.mockReturnValue(true);++ const res = await POST(+ makePostRequest(validPayload({ orientation: "diagonal" })) as never,+ );++ expect(res.status).toBe(400);+ const body = await res.json();+ expect(body.code).toBe("invalid_input");+ expect(mockEnqueue).not.toHaveBeenCalled();+ });++ it("returns 400 with code invalid_input when body is a non-object (array)", async () => {+ mockCheckRate.mockReturnValue(true);++ const res = await POST(makePostRequest([1, 2, 3]) as never);++ expect(res.status).toBe(400);+ const body = await res.json();+ expect(body.code).toBe("invalid_input");+ });++ it("returns 400 with code invalid_input when stargazers exceeds 60", async () => {+ mockCheckRate.mockReturnValue(true);+ const many = Array.from({ length: 61 }, (_, i) => ({+ login: `user${i}`,+ avatarUrl: `https://example.com/u/${i}`,+ starredAt: "2021-01-01",+ }));++ const res = await POST(makePostRequest(validPayload({ stargazers: many })) as never);++ expect(res.status).toBe(400);+ const body = await res.json();+ expect(body.code).toBe("invalid_input");+ });++ it("returns 400 with code invalid_input when repo is missing", async () => {+ mockCheckRate.mockReturnValue(true);+ const payload = validPayload();+ delete payload.repo;++ const res = await POST(makePostRequest(payload) as never);++ expect(res.status).toBe(400);+ const body = await res.json();+ expect(body.code).toBe("invalid_input");+ });++ it("does not leak absolute paths in invalid_input error message", async () => {+ mockCheckRate.mockReturnValue(true);+ const res = await POST(+ makePostRequest(validPayload({ orientation: "sideways" })) as never,+ );+ const text = await res.text();+ expect(text).not.toMatch(/\/(Users|home|var|tmp)\//);+ });+});++// ---------------------------------------------------------------------------+// POST /api/render — 202 success+// ---------------------------------------------------------------------------++describe("POST /api/render — 202 success", () => {+ it("returns 202 with { jobId } on a valid request", async () => {+ mockCheckRate.mockReturnValue(true);+ mockEnqueue.mockReturnValue("test-job-id-abc");++ const res = await POST(makePostRequest(validPayload()) as never);++ expect(res.status).toBe(202);+ const body = await res.json();+ expect(body).toEqual({ jobId: "test-job-id-abc" });+ });++ it("calls enqueueRender with the parsed input (not raw body)", async () => {+ mockCheckRate.mockReturnValue(true);+ mockEnqueue.mockReturnValue("job-xyz");++ await POST(makePostRequest(validPayload({ speed: 10 })) as never); // speed 10 → clamped to 4++ expect(mockEnqueue).toHaveBeenCalledOnce();+ const calledWith = mockEnqueue.mock.calls[0][0];+ expect(calledWith.speed).toBe(4); // clamped+ expect(calledWith.accentColor).toBe("#ffbb00"); // default applied+ expect(calledWith.theme).toBe("light"); // default applied+ });++ it("extracts IP from x-forwarded-for header and passes it to checkRateLimit", async () => {+ mockCheckRate.mockReturnValue(true);+ mockEnqueue.mockReturnValue("job-ip-test");++ await POST(makePostRequest(validPayload(), "203.0.113.1") as never);++ expect(mockCheckRate).toHaveBeenCalledWith("203.0.113.1");+ });++ it("returns only { jobId } in the 202 body — no extra fields", async () => {+ mockCheckRate.mockReturnValue(true);+ mockEnqueue.mockReturnValue("clean-job");++ const res = await POST(makePostRequest(validPayload()) as never);+ const body = await res.json();+ expect(Object.keys(body)).toEqual(["jobId"]);+ });+});++// ---------------------------------------------------------------------------+// GET /api/render/[jobId] — 404 unknown job+// ---------------------------------------------------------------------------++describe("GET /api/render/[jobId] — 404 not found", () => {+ it("returns 404 with code not_found for an unknown jobId", async () => {+ mockGetJob.mockReturnValue(undefined);++ const res = await GET(+ makeGetRequest("unknown-id") as never,+ makeGetParams("unknown-id"),+ );++ expect(res.status).toBe(404);+ const body = await res.json();+ expect(body.code).toBe("not_found");+ });++ it("does not leak absolute paths in a 404 response", async () => {+ mockGetJob.mockReturnValue(undefined);+ const res = await GET(+ makeGetRequest("ghost") as never,+ makeGetParams("ghost"),+ );+ const text = await res.text();+ expect(text).not.toMatch(/\/(Users|home|var|tmp)\//);+ });+});++// ---------------------------------------------------------------------------+// GET /api/render/[jobId] — status responses+// ---------------------------------------------------------------------------++describe("GET /api/render/[jobId] — status JSON", () => {+ it("returns status=queued and progress=0 for a queued job", async () => {+ const job: JobState = {+ status: "queued",+ progress: 0,+ repo: "owner/repo",+ createdAt: Date.now(),+ };+ mockGetJob.mockReturnValue(job);++ const res = await GET(makeGetRequest("job1") as never, makeGetParams("job1"));++ expect(res.status).toBe(200);+ const body = await res.json();+ expect(body.status).toBe("queued");+ expect(body.progress).toBe(0);+ expect(body.downloadUrl).toBeUndefined();+ expect(body.error).toBeUndefined();+ });++ it("returns status=rendering and a progress value for a rendering job", async () => {+ const job: JobState = {+ status: "rendering",+ progress: 0.42,+ repo: "owner/repo",+ createdAt: Date.now(),+ };+ mockGetJob.mockReturnValue(job);++ const res = await GET(makeGetRequest("job2") as never, makeGetParams("job2"));++ const body = await res.json();+ expect(body.status).toBe("rendering");+ expect(body.progress).toBe(0.42);+ expect(body.downloadUrl).toBeUndefined();+ });++ it("returns status=done with downloadUrl for a finished job", async () => {+ const job: JobState = {+ status: "done",+ progress: 1,+ outputPath: "/tmp/remocn-renders/some-uuid.mp4",+ repo: "owner/repo",+ createdAt: Date.now(),+ };+ mockGetJob.mockReturnValue(job);++ const res = await GET(makeGetRequest("job3") as never, makeGetParams("job3"));++ const body = await res.json();+ expect(body.status).toBe("done");+ expect(body.progress).toBe(1);+ expect(body.downloadUrl).toContain("job3");+ expect(body.downloadUrl).toContain("/api/render/");+ });++ it("does not expose the absolute outputPath in the done response", async () => {+ const job: JobState = {+ status: "done",+ progress: 1,+ outputPath: "/tmp/remocn-renders/secret.mp4",+ repo: "owner/repo",+ createdAt: Date.now(),+ };+ mockGetJob.mockReturnValue(job);++ const res = await GET(makeGetRequest("job3b") as never, makeGetParams("job3b"));+ const text = await res.text();+ expect(text).not.toContain("/tmp/remocn-renders/secret.mp4");+ });++ it("returns status=error with an error message for a failed job", async () => {+ const job: JobState = {+ status: "error",+ progress: 0,+ error: "Chromium crashed",+ repo: "owner/repo",+ createdAt: Date.now(),+ };+ mockGetJob.mockReturnValue(job);++ const res = await GET(makeGetRequest("job4") as never, makeGetParams("job4"));++ const body = await res.json();+ expect(body.status).toBe("error");+ expect(body.error).toBe("Chromium crashed");+ expect(body.downloadUrl).toBeUndefined();+ });++ it("does not include 'error' key in a non-error job response", async () => {+ const job: JobState = {+ status: "queued",+ progress: 0,+ repo: "owner/repo",+ createdAt: Date.now(),+ };+ mockGetJob.mockReturnValue(job);++ const res = await GET(makeGetRequest("job5") as never, makeGetParams("job5"));+ const body = await res.json();+ expect("error" in body).toBe(false);+ });+});++// ---------------------------------------------------------------------------+// Security: no secrets / absolute paths in any response+// ---------------------------------------------------------------------------++describe("POST + GET — no secrets or paths leak", () => {+ it("does not expose RENDER_WORK_DIR in any success response", async () => {+ process.env.RENDER_WORK_DIR = "/secret/render/dir";+ mockCheckRate.mockReturnValue(true);+ mockEnqueue.mockReturnValue("safe-job");++ const res = await POST(makePostRequest(validPayload()) as never);+ const text = await res.text();+ expect(text).not.toContain("/secret/render/dir");++ delete process.env.RENDER_WORK_DIR;+ });++ it("does not expose RENDER_WORK_DIR in a done job response", async () => {+ process.env.RENDER_WORK_DIR = "/secret/render/dir";+ const job: JobState = {+ status: "done",+ progress: 1,+ outputPath: "/secret/render/dir/job-abc.mp4",+ repo: "owner/repo",+ createdAt: Date.now(),+ };+ mockGetJob.mockReturnValue(job);++ const res = await GET(makeGetRequest("jobS") as never, makeGetParams("jobS"));+ const text = await res.text();+ expect(text).not.toContain("/secret/render/dir");++ delete process.env.RENDER_WORK_DIR;+ });+});diff --git a/app/api/render/route.ts b/app/api/render/route.tsnew file mode 100644index 00000000..cd11d969--- /dev/null+++ b/app/api/render/route.ts@@ -0,0 +1,68 @@+import { type NextRequest, NextResponse } from "next/server";++import { parseRenderInput, RenderInputError } from "@/lib/server/validate-input";+import { enqueueRender } from "@/lib/server/render-queue";+import { checkRateLimit } from "@/lib/server/rate-limit";+import { ensureCleanupSweep } from "@/lib/server/cleanup";++// Node runtime: native Remotion render (Chromium) needs full Node, not edge.+export const runtime = "nodejs";++/**+ * POST /api/render+ *+ * Body: the render props (see RenderInput) —+ * { repo, totalStars, stargazers[], orientation, accentColor?, speed?, theme? }+ *+ * Rate-limits per IP, validates the payload, enqueues a background render, and+ * returns `{ jobId }` (202) immediately. The render never blocks the request;+ * poll `GET /api/render/[jobId]` for progress. Errors: `{ error, code }`.+ */+export async function POST(request: NextRequest) {+ // Install the TTL sweep on first request (idempotent).+ ensureCleanupSweep();++ const ip = clientIp(request);+ if (!checkRateLimit(ip)) {+ return NextResponse.json(+ { error: "Too many render requests. Please wait and retry.", code: "rate_limited" },+ { status: 429 },+ );+ }++ let body: unknown;+ try {+ body = await request.json();+ } catch {+ return NextResponse.json(+ { error: "Request body must be valid JSON.", code: "invalid_json" },+ { status: 400 },+ );+ }++ let input;+ try {+ input = parseRenderInput(body);+ } catch (err) {+ if (err instanceof RenderInputError) {+ return NextResponse.json(+ { error: err.message, code: "invalid_input" },+ { status: err.status },+ );+ }+ throw err;+ }++ const jobId = enqueueRender(input);+ return NextResponse.json({ jobId }, { status: 202 });+}++/** First hop of x-forwarded-for (the real client behind the proxy), else fallback. */+function clientIp(request: NextRequest): string {+ const forwarded = request.headers.get("x-forwarded-for");+ if (forwarded) {+ const first = forwarded.split(",")[0]?.trim();+ if (first) return first;+ }+ return request.headers.get("x-real-ip")?.trim() || "unknown";+}diff --git a/bun.lock b/bun.lockindex c4f929bc..5f10cc1d 100644--- a/bun.lock+++ b/bun.lock@@ -9,8 +9,9 @@"@openpanel/nextjs": "^1.0.13","@react-three/fiber": "^9.3.0","@react-three/postprocessing": "^3.0.4",+ "@remotion/bundler": "4.0.473","@remotion/player": "4.0.473",- "@remotion/web-renderer": "4.0.473",+ "@remotion/renderer": "4.0.473","class-variance-authority": "^0.7.1","clsx": "^2.1.1","cmdk": "^1.1.1",@@ -27,6 +28,7 @@"next-themes": "^0.4.6","nuqs": "^2.8.9","ogl": "^1.0.11",+ "p-limit": "^6.2.0","postprocessing": "^6.36.0","react": "19.2.4","react-day-picker": "^9.14.0",@@ -34,6 +36,7 @@"react-resizable-panels": "^4.9.0","recharts": "3.8.0","remotion": "4.0.473",+ "server-only": "^0.0.1","shadcn": "^4.1.2","sonner": "^2.0.7","tailwind-merge": "^3.5.0",@@ -146,59 +149,63 @@"@ecies/ciphers": ["@ecies/[email protected]", "", { "peerDependencies": { "@noble/ciphers": "^1.0.0" } }, "sha512-patgsRPKGkhhoBjETV4XxD0En4ui5fbX0hzayqI3M8tvNMGUoUvmyYAIWwlxBc1KX5cturfqByYdj5bYGRpN9g=="],+ "@emnapi/core": ["@emnapi/[email protected]", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" } }, "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA=="],+"@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw=="],- "@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg=="],+ "@emnapi/wasi-threads": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w=="],++ "@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-lhRUCeuOyJQURhTxl4WkpFTjIsbDayJHih5kZC1giwE+MhIzAb7mEsQMqMf18rHLsrb5qI1tafG20mLxEWcWlA=="],- "@esbuild/android-arm": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ=="],+ "@esbuild/android-arm": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-wqh0ByljabXLKHeWXYLqoJ5jKC4XBaw6Hk08OfMrCRd2nP2ZQ5eleDZC41XHyCNgktBGYMbqnrJKq/K/lzPMSQ=="],- "@esbuild/android-arm64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ=="],+ "@esbuild/android-arm64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-+WzIXQOSaGs33tLEgYPYe/yQHf0WTU0X42Jca3y8NWMbUVhp7rUnw+vAsRC/QiDrdD31IszMrZy+qwPOPjd+rw=="],- "@esbuild/android-x64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "x64" }, "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg=="],+ "@esbuild/android-x64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "x64" }, "sha512-+VJggoaKhk2VNNqVL7f6S189UzShHC/mR9EE8rDdSkdpN0KflSwWY/gWjDrNxxisg8Fp1ZCD9jLMo4m0OUfeUA=="],- "@esbuild/darwin-arm64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw=="],+ "@esbuild/darwin-arm64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-0T+A9WZm+bZ84nZBtk1ckYsOvyA3x7e2Acj1KdVfV4/2tdG4fzUp91YHx+GArWLtwqp77pBXVCPn2We7Letr0Q=="],- "@esbuild/darwin-x64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ=="],+ "@esbuild/darwin-x64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-fyzLm/DLDl/84OCfp2f/XQ4flmORsjU7VKt8HLjvIXChJoFFOIL6pLJPH4Yhd1n1gGFF9mPwtlN5Wf82DZs+LQ=="],- "@esbuild/freebsd-arm64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w=="],+ "@esbuild/freebsd-arm64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-l9GeW5UZBT9k9brBYI+0WDffcRxgHQD8ShN2Ur4xWq/NFzUKm3k5lsH4PdaRgb2w7mI9u61nr2gI2mLI27Nh3Q=="],- "@esbuild/freebsd-x64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ=="],+ "@esbuild/freebsd-x64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-BXoQai/A0wPO6Es3yFJ7APCiKGc1tdAEOgeTNy3SsB491S3aHn4S4r3e976eUnPdU+NbdtmBuLncYir2tMU9Nw=="],- "@esbuild/linux-arm": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA=="],+ "@esbuild/linux-arm": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-CjaaREJagqJp7iTaNQjjidaNbCKYcd4IDkzbwwxtSvjI7NZm79qiHc8HqciMddQ6CKvJT6aBd8lO9kN/ZudLlw=="],- "@esbuild/linux-arm64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A=="],+ "@esbuild/linux-arm64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-RVyzfb3FWsGA55n6WY0MEIEPURL1FcbhFE6BffZEMEekfCzCIMtB5yyDcFnVbTnwk+CLAgTujmV/Lgvih56W+A=="],- "@esbuild/linux-ia32": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ia32" }, "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg=="],+ "@esbuild/linux-ia32": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ia32" }, "sha512-KBnSTt1kxl9x70q+ydterVdl+Cn0H18ngRMRCEQfrbqdUuntQQ0LoMZv47uB97NljZFzY6HcfqEZ2SAyIUTQBQ=="],- "@esbuild/linux-loong64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q=="],+ "@esbuild/linux-loong64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-zpSlUce1mnxzgBADvxKXX5sl8aYQHo2ezvMNI8I0lbblJtp8V4odlm3Yzlj7gPyt3T8ReksE6bK+pT3WD+aJRg=="],- "@esbuild/linux-mips64el": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw=="],+ "@esbuild/linux-mips64el": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-2jIfP6mmjkdmeTlsX/9vmdmhBmKADrWqN7zcdtHIeNSCH1SqIoNI63cYsjQR8J+wGa4Y5izRcSHSm8K3QWmk3w=="],- "@esbuild/linux-ppc64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ=="],+ "@esbuild/linux-ppc64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-bc0FE9wWeC0WBm49IQMPSPILRocGTQt3j5KPCA8os6VprfuJ7KD+5PzESSrJ6GmPIPJK965ZJHTUlSA6GNYEhg=="],- "@esbuild/linux-riscv64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ=="],+ "@esbuild/linux-riscv64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-SQPZOwoTTT/HXFXQJG/vBX8sOFagGqvZyXcgLA3NhIqcBv1BJU1d46c0rGcrij2B56Z2rNiSLaZOYW5cUk7yLQ=="],- "@esbuild/linux-s390x": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw=="],+ "@esbuild/linux-s390x": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-SCfR0HN8CEEjnYnySJTd2cw0k9OHB/YFzt5zgJEwa+wL/T/raGWYMBqwDNAC6dqFKmJYZoQBRfHjgwLHGSrn3Q=="],- "@esbuild/linux-x64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA=="],+ "@esbuild/linux-x64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-us0dSb9iFxIi8srnpl931Nvs65it/Jd2a2K3qs7fz2WfGPHqzfzZTfec7oxZJRNPXPnNYZtanmRc4AL/JwVzHQ=="],- "@esbuild/netbsd-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w=="],+ "@esbuild/netbsd-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-CR/RYotgtCKwtftMwJlUU7xCVNg3lMYZ0RzTmAHSfLCXw3NtZtNpswLEj/Kkf6kEL3Gw+BpOekRX0BYCtklhUw=="],- "@esbuild/netbsd-x64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "x64" }, "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw=="],+ "@esbuild/netbsd-x64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "x64" }, "sha512-nU1yhmYutL+fQ71Kxnhg8uEOdC0pwEW9entHykTgEbna2pw2dkbFSMeqjjyHZoCmt8SBkOSvV+yNmm94aUrrqw=="],- "@esbuild/openbsd-arm64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A=="],+ "@esbuild/openbsd-arm64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-cXb5vApOsRsxsEl4mcZ1XY3D4DzcoMxR/nnc4IyqYs0rTI8ZKmW6kyyg+11Z8yvgMfAEldKzP7AdP64HnSC/6g=="],- "@esbuild/openbsd-x64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "x64" }, "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg=="],+ "@esbuild/openbsd-x64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "x64" }, "sha512-8wZM2qqtv9UP3mzy7HiGYNH/zjTA355mpeuA+859TyR+e+Tc08IHYpLJuMsfpDJwoLo1ikIJI8jC3GFjnRClzA=="],- "@esbuild/openharmony-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw=="],+ "@esbuild/openharmony-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-FLGfyizszcef5C3YtoyQDACyg95+dndv79i2EekILBofh5wpCa1KuBqOWKrEHZg3zrL3t5ouE5jgr94vA+Wb2w=="],- "@esbuild/sunos-x64": ["@esbuild/[email protected]", "", { "os": "sunos", "cpu": "x64" }, "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA=="],+ "@esbuild/sunos-x64": ["@esbuild/[email protected]", "", { "os": "sunos", "cpu": "x64" }, "sha512-1ZgjUoEdHZZl/YlV76TSCz9Hqj9h9YmMGAgAPYd+q4SicWNX3G5GCyx9uhQWSLcbvPW8Ni7lj4gDa1T40akdlw=="],- "@esbuild/win32-arm64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA=="],+ "@esbuild/win32-arm64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-Q9StnDmQ/enxnpxCCLSg0oo4+34B9TdXpuyPeTedN/6+iXBJ4J+zwfQI28u/Jl40nOYAxGoNi7mFP40RUtkmUA=="],- "@esbuild/win32-ia32": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw=="],+ "@esbuild/win32-ia32": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-zF3ag/gfiCe6U2iczcRzSYJKH1DCI+ByzSENHlM2FcDbEeo5Zd2C86Aq0tKUYAJJ1obRP84ymxIAksZUcdztHA=="],- "@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg=="],+ "@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-pEl1bO9mfAmIC+tW5btTmrKaujg3zGtUmWNdCw/xs70FBjwAL3o9OEKNHvNmnyylD6ubxUERiEhdsL0xBQ9efw=="],"@floating-ui/core": ["@floating-ui/[email protected]", "", { "dependencies": { "@floating-ui/utils": "^0.2.11" } }, "sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ=="],@@ -282,6 +289,8 @@"@jridgewell/resolve-uri": ["@jridgewell/[email protected]", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="],+ "@jridgewell/source-map": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25" } }, "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA=="],+"@jridgewell/sourcemap-codec": ["@jridgewell/[email protected]", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="],"@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],@@ -296,8 +305,22 @@"@modelcontextprotocol/sdk": ["@modelcontextprotocol/[email protected]", "", { "dependencies": { "@hono/node-server": "^1.19.9", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ=="],+ "@module-federation/error-codes": ["@module-federation/[email protected]", "", {}, "sha512-xF9SjnEy7vTdx+xekjPCV5cIHOGCkdn3pIxo9vU7gEZMIw0SvAEdsy6Uh17xaCpm8V0FWvR0SZoK9Ik6jGOaug=="],++ "@module-federation/runtime": ["@module-federation/[email protected]", "", { "dependencies": { "@module-federation/error-codes": "0.22.0", "@module-federation/runtime-core": "0.22.0", "@module-federation/sdk": "0.22.0" } }, "sha512-38g5iPju2tPC3KHMPxRKmy4k4onNp6ypFPS1eKGsNLUkXgHsPMBFqAjDw96iEcjri91BrahG4XcdyKi97xZzlA=="],++ "@module-federation/runtime-core": ["@module-federation/[email protected]", "", { "dependencies": { "@module-federation/error-codes": "0.22.0", "@module-federation/sdk": "0.22.0" } }, "sha512-GR1TcD6/s7zqItfhC87zAp30PqzvceoeDGYTgF3Vx2TXvsfDrhP6Qw9T4vudDQL3uJRne6t7CzdT29YyVxlgIA=="],++ "@module-federation/runtime-tools": ["@module-federation/[email protected]", "", { "dependencies": { "@module-federation/runtime": "0.22.0", "@module-federation/webpack-bundler-runtime": "0.22.0" } }, "sha512-4ScUJ/aUfEernb+4PbLdhM/c60VHl698Gn1gY21m9vyC1Ucn69fPCA1y2EwcCB7IItseRMoNhdcWQnzt/OPCNA=="],++ "@module-federation/sdk": ["@module-federation/[email protected]", "", {}, "sha512-x4aFNBKn2KVQRuNVC5A7SnrSCSqyfIWmm1DvubjbO9iKFe7ith5niw8dqSFBekYBg2Fwy+eMg4sEFNVvCAdo6g=="],++ "@module-federation/webpack-bundler-runtime": ["@module-federation/[email protected]", "", { "dependencies": { "@module-federation/runtime": "0.22.0", "@module-federation/sdk": "0.22.0" } }, "sha512-aM8gCqXu+/4wBmJtVeMeeMN5guw3chf+2i6HajKtQv7SJfxV/f4IyNQJUeUQu9HfiAZHjqtMV5Lvq/Lvh8LdyA=="],+"@mswjs/interceptors": ["@mswjs/[email protected]", "", { "dependencies": { "@open-draft/deferred-promise": "^2.2.0", "@open-draft/logger": "^0.3.0", "@open-draft/until": "^2.0.0", "is-node-process": "^1.2.0", "outvariant": "^1.4.3", "strict-event-emitter": "^0.5.1" } }, "sha512-cXu86tF4VQVfwz8W1SPbhoRyHJkti6mjH/XJIxp40jhO4j2k1m4KYrEykxqWPkFF3vrK4rgQppBh//AwyGSXPA=="],+ "@napi-rs/wasm-runtime": ["@napi-rs/[email protected]", "", { "dependencies": { "@emnapi/core": "^1.5.0", "@emnapi/runtime": "^1.5.0", "@tybys/wasm-util": "^0.10.1" } }, "sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw=="],+"@next/env": ["@next/[email protected]", "", {}, "sha512-LqSGz5+xGk9EL/iBDr2yo/CgNQV6cFsNhRR2xhSXYh7B/hb4nePCxlmDvGEKG30NMHDFf0raqSyOZiQrO7BkHQ=="],"@next/swc-darwin-arm64": ["@next/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-B92G3ulrwmkDSEJEp9+XzGLex5wC1knrmCSIylyVeiAtCIfvEJYiN3v5kXPlYt5R4RFlsfO/v++aKV63Acrugg=="],@@ -416,16 +439,76 @@"@reduxjs/toolkit": ["@reduxjs/[email protected]", "", { "dependencies": { "@standard-schema/spec": "^1.0.0", "@standard-schema/utils": "^0.3.0", "immer": "^11.0.0", "redux": "^5.0.1", "redux-thunk": "^3.1.0", "reselect": "^5.1.0" }, "peerDependencies": { "react": "^16.9.0 || ^17.0.0 || ^18 || ^19", "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" }, "optionalPeers": ["react", "react-redux"] }, "sha512-Kd6kAHTA6/nUpp8mySPqj3en3dm0tdMIgbttnQ1xFMVpufoj+ADi8pXLBsd4xzTRHQa7t/Jv8W5UnCuW4kuWMQ=="],+ "@remotion/bundler": ["@remotion/[email protected]", "", { "dependencies": { "@remotion/media-parser": "4.0.473", "@remotion/studio": "4.0.473", "@remotion/studio-shared": "4.0.473", "@remotion/timeline-utils": "4.0.473", "@rspack/core": "1.7.6", "@rspack/plugin-react-refresh": "1.6.1", "css-loader": "7.1.4", "esbuild": "0.28.0", "react-refresh": "0.18.0", "remotion": "4.0.473", "style-loader": "4.0.0", "webpack": "5.105.0" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-UOGKU3iSmU5mICCcW9qZx++sSBssjAZofX8UA3pbyKJIVvVfG+QznikA0fI4W+1/1l5zMyxd/fwMFbz8+q4u2A=="],++ "@remotion/compositor-darwin-arm64": ["@remotion/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-cSKS6VPKpLlEs+W0TSgXbxzdHDFxj+ft1jeP/MhedtL3rcSDyjir8RTI8bqDgrcEF4km3Rcg0CxrGbYTKgUVVQ=="],++ "@remotion/compositor-darwin-x64": ["@remotion/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-Sf0IHz/zXroP4UGZ0NkyVn0ICiOMeUj07i8nRoz0A95d4TDR3YKVThY4U16ElsaLSbHk3pMcobCxx1tscvtZYQ=="],++ "@remotion/compositor-linux-arm64-gnu": ["@remotion/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-HeV247O9dwhSfXFYoA7Dd0zPmyn2grbrIhaYs2MJZxO6IHmEUk0gm9/drWyjDHy4e2WCg98uSlcycNOmWtG5ng=="],++ "@remotion/compositor-linux-arm64-musl": ["@remotion/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-7EGy2MtQch3yLzwxvWncz/3rmXOWQkWigCDL37I90aHhlf8JgrMZXo8dUtIoD0LP/zHWtFNBcJmgg9Ej+bHshA=="],++ "@remotion/compositor-linux-x64-gnu": ["@remotion/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-X5Gzod9Q8sTtzjc+hIYKw6PMaB3tY0ADx68j2z+Zm8nJanmkzLZEDyZvlMexmE4nkb7IdOkHzYGm9NpynbMH2A=="],++ "@remotion/compositor-linux-x64-musl": ["@remotion/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-REyhvrjGYfFTxGaaRDP31zANM744JI7pKXCgTqXHZBCe8mCZjxZCxmwt9pNL2lJsQ+qLr9zai488Bbj/PUuB6g=="],++ "@remotion/compositor-win32-x64-msvc": ["@remotion/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-J69HIENHpH1m8I85kTe111viqB5AGgKJdTCSKp4mGBxM95IL4nydzrYxVd91BvWjanQfVVq1C3voaF8YLwkT7A=="],+"@remotion/licensing": ["@remotion/[email protected]", "", {}, "sha512-BBw6SuEWuUD/lYXbLKEC0TTUzW7aLsO0X72pG38W1dOUyfU2KZYYfWGZkd+ermZTWWJ8cW+mevIwloUGk7FRaQ=="],+ "@remotion/media-parser": ["@remotion/[email protected]", "", {}, "sha512-jajhgumDSdnM/CUb3lZgae7D2pfioz9rczc6tLaRNP28IG3d2foQ0jP8INfCdMsOszCD0wKw4RHe0m5GKRxhTg=="],++ "@remotion/media-utils": ["@remotion/[email protected]", "", { "dependencies": { "mediabunny": "1.45.0", "remotion": "4.0.473" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-f4Ip10pkawlUBTunE++DZ6J/TrPtKalkxoTx7qQGBlhz3BcWRK7AbEGouZtcAmkLFVxq80hpH/1cBFOMF6FVfA=="],+"@remotion/player": ["@remotion/[email protected]", "", { "dependencies": { "remotion": "4.0.473" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-giJ8cIQEdVxftpcX4m+9jWYCbIvpcdKRGVUc3ownxYEsJ30WUSP2+TuQ6aqqLXFAfwhY/SdBVLfopylh3BgMXA=="],+ "@remotion/renderer": ["@remotion/[email protected]", "", { "dependencies": { "@remotion/licensing": "4.0.473", "@remotion/streaming": "4.0.473", "execa": "5.1.1", "remotion": "4.0.473", "source-map": "0.8.0-beta.0", "ws": "8.20.1" }, "optionalDependencies": { "@remotion/compositor-darwin-arm64": "4.0.473", "@remotion/compositor-darwin-x64": "4.0.473", "@remotion/compositor-linux-arm64-gnu": "4.0.473", "@remotion/compositor-linux-arm64-musl": "4.0.473", "@remotion/compositor-linux-x64-gnu": "4.0.473", "@remotion/compositor-linux-x64-musl": "4.0.473", "@remotion/compositor-win32-x64-msvc": "4.0.473" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-WOOmT38O3ax78oDIE75FnsDi8eUMBKOdnqiXU3NeArNoA/xQZv7yDUgV3e1SxFaCHS7IbWHIATXUfVgS8TIXBA=="],++ "@remotion/streaming": ["@remotion/[email protected]", "", {}, "sha512-JRXgqnzHbcaZU+LH3VK9KRNBHd7rhNnf34C3uUeFYFChRQhnmHWTSo7p/SDUhCpVh+hIHsS52xJz9JPwwy5gUw=="],++ "@remotion/studio": ["@remotion/[email protected]", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.31", "@remotion/media-utils": "4.0.473", "@remotion/player": "4.0.473", "@remotion/renderer": "4.0.473", "@remotion/studio-shared": "4.0.473", "@remotion/timeline-utils": "4.0.473", "@remotion/web-renderer": "4.0.473", "@remotion/zod-types": "4.0.473", "mediabunny": "1.45.0", "memfs": "3.4.3", "open": "8.4.2", "remotion": "4.0.473", "semver": "7.5.3", "zod": "4.3.6" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-d7FnevW0TGhoJovdLs/Mi8kmthj800QL5gSxDXlpoznymeT41CdRRgiQoXGM2f43r7WyoX0bvE2i9AxIogJoWg=="],++ "@remotion/studio-shared": ["@remotion/[email protected]", "", { "dependencies": { "remotion": "4.0.473" } }, "sha512-nOONVvgEMw0lL7oPobmXAguvKVgVnV6MAwOfB5ZvjJrkLorFFePZ8ryhoftpRVrn3hGU3ZgQM2Zbb2eiaQPycg=="],++ "@remotion/timeline-utils": ["@remotion/[email protected]", "", { "dependencies": { "mediabunny": "1.45.0" } }, "sha512-DrEvnOY97lBlMVUJkU997Ip70Z1hkggXVoiZZk7udTIpkrbhEfI4GrdOd/HOMCTtniepkGH8kXmk6Aqv99Q0uA=="],+"@remotion/web-renderer": ["@remotion/[email protected]", "", { "dependencies": { "@mediabunny/aac-encoder": "1.45.0", "@mediabunny/flac-encoder": "1.45.0", "@mediabunny/mp3-encoder": "1.45.0", "@remotion/licensing": "4.0.473", "mediabunny": "1.45.0", "remotion": "4.0.473" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }, "sha512-WTyFdBdqsmmqrMpW1k6Uhcze2z8tZvKc15BYu1FwmDgdQ1QeaAMgEsyp5qRLzKZ/000XafK4q8bUjdEQoudc8A=="],+ "@remotion/zod-types": ["@remotion/[email protected]", "", { "dependencies": { "remotion": "4.0.473" }, "peerDependencies": { "zod": "4.3.6" } }, "sha512-hAUla1gXVe6afzoRACiDp2L58pgGOfS5pxAG9wPHLv2Br16K6K/ToGZYLwxwugUxmZdMNPGOCkR3pWK5x7O5HQ=="],+"@rrweb/types": ["@rrweb/[email protected]", "", {}, "sha512-RbnDgKxA/odwB1R4gF7eUUj+rdSrq6ROQJsnMw7MIsGzlbSYvJeZN8YY4XqU0G6sKJvXI6bSzk7w/G94jNwzhw=="],"@rrweb/utils": ["@rrweb/[email protected]", "", {}, "sha512-MTQOmhPRe39C0fYaCnnVYOufQsyGzwNXpUStKiyFSfGLUJrzuwhbRoUAKR5w6W2j5XuA0bIz3ZDIBztkquOhLw=="],+ "@rspack/binding": ["@rspack/[email protected]", "", { "optionalDependencies": { "@rspack/binding-darwin-arm64": "1.7.6", "@rspack/binding-darwin-x64": "1.7.6", "@rspack/binding-linux-arm64-gnu": "1.7.6", "@rspack/binding-linux-arm64-musl": "1.7.6", "@rspack/binding-linux-x64-gnu": "1.7.6", "@rspack/binding-linux-x64-musl": "1.7.6", "@rspack/binding-wasm32-wasi": "1.7.6", "@rspack/binding-win32-arm64-msvc": "1.7.6", "@rspack/binding-win32-ia32-msvc": "1.7.6", "@rspack/binding-win32-x64-msvc": "1.7.6" } }, "sha512-/NrEcfo8Gx22hLGysanrV6gHMuqZSxToSci/3M4kzEQtF5cPjfOv5pqeLK/+B6cr56ul/OmE96cCdWcXeVnFjQ=="],++ "@rspack/binding-darwin-arm64": ["@rspack/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-NZ9AWtB1COLUX1tA9HQQvWpTy07NSFfKBU8A6ylWd5KH8AePZztpNgLLAVPTuNO4CZXYpwcoclf8jG/luJcQdQ=="],++ "@rspack/binding-darwin-x64": ["@rspack/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-J2g6xk8ZS7uc024dNTGTHxoFzFovAZIRixUG7PiciLKTMP78svbSSWrmW6N8oAsAkzYfJWwQpVgWfFNRHvYxSw=="],++ "@rspack/binding-linux-arm64-gnu": ["@rspack/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-eQfcsaxhFrv5FmtaA7+O1F9/2yFDNIoPZzV/ZvqvFz5bBXVc4FAm/1fVpBg8Po/kX1h0chBc7Xkpry3cabFW8w=="],++ "@rspack/binding-linux-arm64-musl": ["@rspack/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-DfQXKiyPIl7i1yECHy4eAkSmlUzzsSAbOjgMuKn7pudsWf483jg0UUYutNgXSlBjc/QSUp7906Cg8oty9OfwPA=="],++ "@rspack/binding-linux-x64-gnu": ["@rspack/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-NdA+2X3lk2GGrMMnTGyYTzM3pn+zNjaqXqlgKmFBXvjfZqzSsKq3pdD1KHZCd5QHN+Fwvoszj0JFsquEVhE1og=="],++ "@rspack/binding-linux-x64-musl": ["@rspack/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-rEy6MHKob02t/77YNgr6dREyJ0e0tv1X6Xsg8Z5E7rPXead06zefUbfazj4RELYySWnM38ovZyJAkPx/gOn3VA=="],++ "@rspack/binding-wasm32-wasi": ["@rspack/[email protected]", "", { "dependencies": { "@napi-rs/wasm-runtime": "1.0.7" }, "cpu": "none" }, "sha512-YupOrz0daSG+YBbCIgpDgzfMM38YpChv+afZpaxx5Ml7xPeAZIIdgWmLHnQ2rts73N2M1NspAiBwV00Xx0N4Vg=="],++ "@rspack/binding-win32-arm64-msvc": ["@rspack/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-INj7aVXjBvlZ84kEhSK4kJ484ub0i+BzgnjDWOWM1K+eFYDZjLdAsQSS3fGGXwVc3qKbPIssFfnftATDMTEJHQ=="],++ "@rspack/binding-win32-ia32-msvc": ["@rspack/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-lXGvC+z67UMcw58In12h8zCa9IyYRmuptUBMItQJzu+M278aMuD1nETyGLL7e4+OZ2lvrnnBIcjXN1hfw2yRzw=="],++ "@rspack/binding-win32-x64-msvc": ["@rspack/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-zeUxEc0ZaPpmaYlCeWcjSJUPuRRySiSHN23oJ2Xyw0jsQ01Qm4OScPdr0RhEOFuK/UE+ANyRtDo4zJsY52Hadw=="],++ "@rspack/core": ["@rspack/[email protected]", "", { "dependencies": { "@module-federation/runtime-tools": "0.22.0", "@rspack/binding": "1.7.6", "@rspack/lite-tapable": "1.1.0" }, "peerDependencies": { "@swc/helpers": ">=0.5.1" }, "optionalPeers": ["@swc/helpers"] }, "sha512-Iax6UhrfZqJajA778c1d5DBFbSIqPOSrI34kpNIiNpWd8Jq7mFIa+Z60SQb5ZQDZuUxcCZikjz5BxinFjTkg7Q=="],++ "@rspack/lite-tapable": ["@rspack/[email protected]", "", {}, "sha512-E2B0JhYFmVAwdDiG14+DW0Di4Ze4Jg10Pc4/lILUrd5DRCaklduz2OvJ5HYQ6G+hd+WTzqQb3QnDNfK4yvAFYw=="],++ "@rspack/plugin-react-refresh": ["@rspack/[email protected]", "", { "dependencies": { "error-stack-parser": "^2.1.4", "html-entities": "^2.6.0" }, "peerDependencies": { "react-refresh": ">=0.10.0 <1.0.0", "webpack-hot-middleware": "2.x" }, "optionalPeers": ["webpack-hot-middleware"] }, "sha512-eqqW5645VG3CzGzFgNg5HqNdHVXY+567PGjtDhhrM8t67caxmsSzRmT5qfoEIfBcGgFkH9vEg7kzXwmCYQdQDw=="],+"@sec-ant/readable-stream": ["@sec-ant/[email protected]", "", {}, "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg=="],"@shikijs/core": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/primitive": "4.0.2", "@shikijs/types": "4.0.2", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4", "hast-util-to-html": "^9.0.5" } }, "sha512-hxT0YF4ExEqB8G/qFdtJvpmHXBYJ2lWW7qTHDarVkIudPFE6iCIrqdgWxGn5s+ppkGXI0aEGlibI0PAyzP3zlw=="],@@ -492,6 +575,8 @@"@tweenjs/tween.js": ["@tweenjs/[email protected]", "", {}, "sha512-vJmvvwFxYuGnF2axRtPYocag6Clbb5YS7kLL+SO/TeVFzHqDIWrNKYtcsPMibjDx9O+bu+psAy9NKfWklassUA=="],+ "@tybys/wasm-util": ["@tybys/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg=="],+"@types/css-font-loading-module": ["@types/[email protected]", "", {}, "sha512-nl09VhutdjINdWyXxHWN/w9zlNCfr60JUqJbd24YXUuCwgeL0TpFSdElCwb6cxfB6ybE19Gjj4g0jsgkXxKv1Q=="],"@types/d3-array": ["@types/[email protected]", "", {}, "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw=="],@@ -518,12 +603,18 @@"@types/dom-webcodecs": ["@types/[email protected]", "", {}, "sha512-O5hkiFIcjjszPIYyUSyvScyvrBoV3NOEEZx/pMlsu44TKzWNkLVBBxnxJz42in5n3QIolYOcBYFCPZZ0h8SkwQ=="],+ "@types/eslint": ["@types/[email protected]", "", { "dependencies": { "@types/estree": "*", "@types/json-schema": "*" } }, "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag=="],++ "@types/eslint-scope": ["@types/[email protected]", "", { "dependencies": { "@types/eslint": "*", "@types/estree": "*" } }, "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg=="],+"@types/estree": ["@types/[email protected]", "", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="],"@types/estree-jsx": ["@types/[email protected]", "", { "dependencies": { "@types/estree": "*" } }, "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg=="],"@types/hast": ["@types/[email protected]", "", { "dependencies": { "@types/unist": "*" } }, "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ=="],+ "@types/json-schema": ["@types/[email protected]", "", {}, "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="],+"@types/mdast": ["@types/[email protected]", "", { "dependencies": { "@types/unist": "*" } }, "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA=="],"@types/mdx": ["@types/[email protected]", "", {}, "sha512-+OWZQfAYyio6YkJb3HLxDrvnx6SWWDbC0zVPfBRzUk0/nqoDyf6dNxQi3eArPe8rJ473nobTMQ/8Zk+LxJ+Yuw=="],@@ -554,14 +645,50 @@"@ungap/structured-clone": ["@ungap/[email protected]", "", {}, "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g=="],+ "@webassemblyjs/ast": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/helper-numbers": "1.13.2", "@webassemblyjs/helper-wasm-bytecode": "1.13.2" } }, "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ=="],++ "@webassemblyjs/floating-point-hex-parser": ["@webassemblyjs/[email protected]", "", {}, "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA=="],++ "@webassemblyjs/helper-api-error": ["@webassemblyjs/[email protected]", "", {}, "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ=="],++ "@webassemblyjs/helper-buffer": ["@webassemblyjs/[email protected]", "", {}, "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA=="],++ "@webassemblyjs/helper-numbers": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/floating-point-hex-parser": "1.13.2", "@webassemblyjs/helper-api-error": "1.13.2", "@xtuc/long": "4.2.2" } }, "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA=="],++ "@webassemblyjs/helper-wasm-bytecode": ["@webassemblyjs/[email protected]", "", {}, "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA=="],++ "@webassemblyjs/helper-wasm-section": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", "@webassemblyjs/wasm-gen": "1.14.1" } }, "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw=="],++ "@webassemblyjs/ieee754": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@xtuc/ieee754": "^1.2.0" } }, "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw=="],++ "@webassemblyjs/leb128": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@xtuc/long": "4.2.2" } }, "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw=="],++ "@webassemblyjs/utf8": ["@webassemblyjs/[email protected]", "", {}, "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ=="],++ "@webassemblyjs/wasm-edit": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", "@webassemblyjs/helper-wasm-section": "1.14.1", "@webassemblyjs/wasm-gen": "1.14.1", "@webassemblyjs/wasm-opt": "1.14.1", "@webassemblyjs/wasm-parser": "1.14.1", "@webassemblyjs/wast-printer": "1.14.1" } }, "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ=="],++ "@webassemblyjs/wasm-gen": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", "@webassemblyjs/ieee754": "1.13.2", "@webassemblyjs/leb128": "1.13.2", "@webassemblyjs/utf8": "1.13.2" } }, "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg=="],++ "@webassemblyjs/wasm-opt": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", "@webassemblyjs/wasm-gen": "1.14.1", "@webassemblyjs/wasm-parser": "1.14.1" } }, "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw=="],++ "@webassemblyjs/wasm-parser": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-api-error": "1.13.2", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", "@webassemblyjs/ieee754": "1.13.2", "@webassemblyjs/leb128": "1.13.2", "@webassemblyjs/utf8": "1.13.2" } }, "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ=="],++ "@webassemblyjs/wast-printer": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@xtuc/long": "4.2.2" } }, "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw=="],+"@webgpu/types": ["@webgpu/[email protected]", "", {}, "sha512-RPmm6kgRbI8e98zSD3RVACvnuktIja5+yLgDAkTmxLr90BEwdTXRQWNLF3ETTTyH/8mKhznZuN5AveXYFEsMGQ=="],"@xstate/fsm": ["@xstate/[email protected]", "", {}, "sha512-b5o1I6aLNeYlU/3CPlj/Z91ybk1gUsKT+5NAJI+2W4UjvS5KLG28K9v5UvNoFVjHV8PajVZ00RH3vnjyQO7ZAw=="],+ "@xtuc/ieee754": ["@xtuc/[email protected]", "", {}, "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA=="],++ "@xtuc/long": ["@xtuc/[email protected]", "", {}, "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="],+"accepts": ["[email protected]", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="],"acorn": ["[email protected]", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw=="],+ "acorn-import-phases": ["[email protected]", "", { "peerDependencies": { "acorn": "^8.14.0" } }, "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ=="],+"acorn-jsx": ["[email protected]", "", { "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ=="],"agent-base": ["[email protected]", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="],@@ -570,6 +697,8 @@"ajv-formats": ["[email protected]", "", { "dependencies": { "ajv": "^8.0.0" } }, "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ=="],+ "ajv-keywords": ["[email protected]", "", { "dependencies": { "fast-deep-equal": "^3.1.3" }, "peerDependencies": { "ajv": "^8.8.2" } }, "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw=="],+"ansi-regex": ["[email protected]", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="],"ansi-styles": ["[email protected]", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="],@@ -602,6 +731,8 @@"buffer": ["[email protected]", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" } }, "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA=="],+ "buffer-from": ["[email protected]", "", {}, "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="],+"bundle-name": ["[email protected]", "", { "dependencies": { "run-applescript": "^7.0.0" } }, "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q=="],"bytes": ["[email protected]", "", {}, "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="],@@ -628,6 +759,8 @@"chokidar": ["[email protected]", "", { "dependencies": { "readdirp": "^5.0.0" } }, "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw=="],+ "chrome-trace-event": ["[email protected]", "", {}, "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ=="],+"class-variance-authority": ["[email protected]", "", { "dependencies": { "clsx": "^2.1.1" } }, "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg=="],"cli-cursor": ["[email protected]", "", { "dependencies": { "restore-cursor": "^5.0.0" } }, "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw=="],@@ -674,6 +807,8 @@"cross-spawn": ["[email protected]", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="],+ "css-loader": ["[email protected]", "", { "dependencies": { "icss-utils": "^5.1.0", "postcss": "^8.4.40", "postcss-modules-extract-imports": "^3.1.0", "postcss-modules-local-by-default": "^4.0.5", "postcss-modules-scope": "^3.2.0", "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", "semver": "^7.6.3" }, "peerDependencies": { "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "webpack": "^5.27.0" }, "optionalPeers": ["@rspack/core", "webpack"] }, "sha512-vv3J9tlOl04WjiMvHQI/9tmIrCxVrj6PFbHemBB1iihpeRbi/I4h033eoFIhwxBBqLhI0KYFS7yvynBFhIZfTw=="],+"cssesc": ["[email protected]", "", { "bin": { "cssesc": "bin/cssesc" } }, "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg=="],"csstype": ["[email protected]", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],@@ -762,10 +897,14 @@"error-ex": ["[email protected]", "", { "dependencies": { "is-arrayish": "^0.2.1" } }, "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ=="],+ "error-stack-parser": ["[email protected]", "", { "dependencies": { "stackframe": "^1.3.4" } }, "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ=="],+"es-define-property": ["[email protected]", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],"es-errors": ["[email protected]", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],+ "es-module-lexer": ["[email protected]", "", {}, "sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ=="],+"es-object-atoms": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="],"es-toolkit": ["[email protected]", "", {}, "sha512-/jhoOj/Fx+A+IIyDNOvO3TItGmlMKhtX8ISAHKE90c4b/k1tqaqEZ+uUqfpU8DMnW5cgNJv606zS55jGvza0Xw=="],@@ -774,7 +913,7 @@"esast-util-from-js": ["[email protected]", "", { "dependencies": { "@types/estree-jsx": "^1.0.0", "acorn": "^8.0.0", "esast-util-from-estree": "^2.0.0", "vfile-message": "^4.0.0" } }, "sha512-8Ja+rNJ0Lt56Pcf3TAmpBZjmx8ZcK5Ts4cAzIOjsjevg9oSXJnl6SUQ2EevU8tv3h6ZLWmoKL5H4fgWvdvfETw=="],- "esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.27.7", "@esbuild/android-arm": "0.27.7", "@esbuild/android-arm64": "0.27.7", "@esbuild/android-x64": "0.27.7", "@esbuild/darwin-arm64": "0.27.7", "@esbuild/darwin-x64": "0.27.7", "@esbuild/freebsd-arm64": "0.27.7", "@esbuild/freebsd-x64": "0.27.7", "@esbuild/linux-arm": "0.27.7", "@esbuild/linux-arm64": "0.27.7", "@esbuild/linux-ia32": "0.27.7", "@esbuild/linux-loong64": "0.27.7", "@esbuild/linux-mips64el": "0.27.7", "@esbuild/linux-ppc64": "0.27.7", "@esbuild/linux-riscv64": "0.27.7", "@esbuild/linux-s390x": "0.27.7", "@esbuild/linux-x64": "0.27.7", "@esbuild/netbsd-arm64": "0.27.7", "@esbuild/netbsd-x64": "0.27.7", "@esbuild/openbsd-arm64": "0.27.7", "@esbuild/openbsd-x64": "0.27.7", "@esbuild/openharmony-arm64": "0.27.7", "@esbuild/sunos-x64": "0.27.7", "@esbuild/win32-arm64": "0.27.7", "@esbuild/win32-ia32": "0.27.7", "@esbuild/win32-x64": "0.27.7" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w=="],+ "esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.28.0", "@esbuild/android-arm": "0.28.0", "@esbuild/android-arm64": "0.28.0", "@esbuild/android-x64": "0.28.0", "@esbuild/darwin-arm64": "0.28.0", "@esbuild/darwin-x64": "0.28.0", "@esbuild/freebsd-arm64": "0.28.0", "@esbuild/freebsd-x64": "0.28.0", "@esbuild/linux-arm": "0.28.0", "@esbuild/linux-arm64": "0.28.0", "@esbuild/linux-ia32": "0.28.0", "@esbuild/linux-loong64": "0.28.0", "@esbuild/linux-mips64el": "0.28.0", "@esbuild/linux-ppc64": "0.28.0", "@esbuild/linux-riscv64": "0.28.0", "@esbuild/linux-s390x": "0.28.0", "@esbuild/linux-x64": "0.28.0", "@esbuild/netbsd-arm64": "0.28.0", "@esbuild/netbsd-x64": "0.28.0", "@esbuild/openbsd-arm64": "0.28.0", "@esbuild/openbsd-x64": "0.28.0", "@esbuild/openharmony-arm64": "0.28.0", "@esbuild/sunos-x64": "0.28.0", "@esbuild/win32-arm64": "0.28.0", "@esbuild/win32-ia32": "0.28.0", "@esbuild/win32-x64": "0.28.0" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-sNR9MHpXSUV/XB4zmsFKN+QgVG82Cc7+/aaxJ8Adi8hyOac+EXptIp45QBPaVyX3N70664wRbTcLTOemCAnyqw=="],"escalade": ["[email protected]", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="],@@ -782,8 +921,14 @@"escape-string-regexp": ["[email protected]", "", {}, "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw=="],+ "eslint-scope": ["[email protected]", "", { "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" } }, "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw=="],+"esprima": ["[email protected]", "", { "bin": { "esparse": "./bin/esparse.js", "esvalidate": "./bin/esvalidate.js" } }, "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="],+ "esrecurse": ["[email protected]", "", { "dependencies": { "estraverse": "^5.2.0" } }, "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag=="],++ "estraverse": ["[email protected]", "", {}, "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw=="],+"estree-util-attach-comments": ["[email protected]", "", { "dependencies": { "@types/estree": "^1.0.0" } }, "sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw=="],"estree-util-build-jsx": ["[email protected]", "", { "dependencies": { "@types/estree-jsx": "^1.0.0", "devlop": "^1.0.0", "estree-util-is-identifier-name": "^3.0.0", "estree-walker": "^3.0.0" } }, "sha512-8U5eiL6BTrPxp/CHbs2yMgP8ftMhR5ww1eIKoWRMlqvltHF8fZn5LRDvTKuxD3DUn+shRbLGqXemcP51oFCsGQ=="],@@ -804,11 +949,13 @@"eventemitter3": ["[email protected]", "", {}, "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw=="],+ "events": ["[email protected]", "", {}, "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="],+"eventsource": ["[email protected]", "", { "dependencies": { "eventsource-parser": "^3.0.1" } }, "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA=="],"eventsource-parser": ["[email protected]", "", {}, "sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg=="],- "execa": ["[email protected]", "", { "dependencies": { "@sindresorhus/merge-streams": "^4.0.0", "cross-spawn": "^7.0.6", "figures": "^6.1.0", "get-stream": "^9.0.0", "human-signals": "^8.0.1", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^6.0.0", "pretty-ms": "^9.2.0", "signal-exit": "^4.1.0", "strip-final-newline": "^4.0.0", "yoctocolors": "^2.1.1" } }, "sha512-9Be3ZoN4LmYR90tUoVu2te2BsbzHfhJyfEiAVfz7N5/zv+jduIfLrV2xdQXOHbaD6KgpGdO9PRPM1Y4Q9QkPkA=="],+ "execa": ["[email protected]", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", "human-signals": "^2.1.0", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.1", "onetime": "^5.1.2", "signal-exit": "^3.0.3", "strip-final-newline": "^2.0.0" } }, "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg=="],"express": ["[email protected]", "", { "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.1", "content-disposition": "^1.0.0", "content-type": "^1.0.5", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", "depd": "^2.0.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "finalhandler": "^2.1.0", "fresh": "^2.0.0", "http-errors": "^2.0.0", "merge-descriptors": "^2.0.0", "mime-types": "^3.0.0", "on-finished": "^2.4.1", "once": "^1.4.0", "parseurl": "^1.3.3", "proxy-addr": "^2.0.7", "qs": "^6.14.0", "range-parser": "^1.2.1", "router": "^2.2.0", "send": "^1.1.0", "serve-static": "^2.2.0", "statuses": "^2.0.1", "type-is": "^2.0.1", "vary": "^1.1.2" } }, "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw=="],@@ -846,6 +993,8 @@"fs-extra": ["[email protected]", "", { "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" } }, "sha512-CTXd6rk/M3/ULNQj8FBqBWHYBVYybQ3VPBw0xGKFe3tuH7ytT6ACnvzpIQ3UZtB8yvUKC2cXn1a+x+5EVQLovA=="],+ "fs-monkey": ["[email protected]", "", {}, "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q=="],+"fumadocs-core": ["[email protected]", "", { "dependencies": { "@formatjs/intl-localematcher": "^0.8.2", "@orama/orama": "^3.1.18", "@shikijs/rehype": "^4.0.2", "@shikijs/transformers": "^4.0.2", "estree-util-value-to-estree": "^3.5.0", "github-slugger": "^2.0.0", "hast-util-to-estree": "^3.1.3", "hast-util-to-jsx-runtime": "^2.3.6", "image-size": "^2.0.2", "mdast-util-mdx": "^3.0.0", "mdast-util-to-markdown": "^2.1.2", "negotiator": "^1.0.0", "npm-to-yarn": "^3.0.1", "path-to-regexp": "^8.4.0", "remark": "^15.0.1", "remark-gfm": "^4.0.1", "remark-rehype": "^11.1.2", "scroll-into-view-if-needed": "^3.1.0", "shiki": "^4.0.2", "tinyglobby": "^0.2.15", "unified": "^11.0.5", "unist-util-visit": "^5.1.0", "vfile": "^6.0.3" }, "peerDependencies": { "@mdx-js/mdx": "*", "@mixedbread/sdk": "^0.46.0", "@orama/core": "1.x.x", "@oramacloud/client": "2.x.x", "@tanstack/react-router": "1.x.x", "@types/estree-jsx": "*", "@types/hast": "*", "@types/mdast": "*", "@types/react": "*", "algoliasearch": "5.x.x", "flexsearch": "*", "lucide-react": "*", "next": "16.x.x", "react": "^19.2.0", "react-dom": "^19.2.0", "react-router": "7.x.x", "waku": "^0.26.0 || ^0.27.0 || ^1.0.0", "zod": "4.x.x" }, "optionalPeers": ["@mdx-js/mdx", "@mixedbread/sdk", "@orama/core", "@oramacloud/client", "@tanstack/react-router", "@types/estree-jsx", "@types/hast", "@types/mdast", "@types/react", "algoliasearch", "flexsearch", "lucide-react", "next", "react", "react-dom", "react-router", "waku", "zod"] }, "sha512-ltAQO+CgCkGUUef33vGXZBj1SNzIRq9SpmZzOIEnXL1+nBZGHiRlSuRK0xqcAtvFwvCOVQN5GNhWmahNoqXo4g=="],"fumadocs-mdx": ["[email protected]", "", { "dependencies": { "@mdx-js/mdx": "^3.1.1", "@standard-schema/spec": "^1.1.0", "chokidar": "^5.0.0", "esbuild": "^0.27.3", "estree-util-value-to-estree": "^3.5.0", "js-yaml": "^4.1.1", "mdast-util-mdx": "^3.0.0", "mdast-util-to-markdown": "^2.1.2", "picocolors": "^1.1.1", "picomatch": "^4.0.3", "tinyexec": "^1.0.4", "tinyglobby": "^0.2.15", "unified": "^11.0.5", "unist-util-remove-position": "^5.0.0", "unist-util-visit": "^5.1.0", "vfile": "^6.0.3", "zod": "^4.3.6" }, "peerDependencies": { "@fumadocs/mdx-remote": "^1.4.0", "@types/mdast": "*", "@types/mdx": "*", "@types/react": "*", "fumadocs-core": "^15.0.0 || ^16.0.0", "mdast-util-directive": "*", "next": "^15.3.0 || ^16.0.0", "react": "*", "vite": "6.x.x || 7.x.x || 8.x.x" }, "optionalPeers": ["@fumadocs/mdx-remote", "@types/mdast", "@types/mdx", "@types/react", "mdast-util-directive", "next", "react", "vite"], "bin": { "fumadocs-mdx": "dist/bin.js" } }, "sha512-j0gHKs45c62ARteE8/yBM2Nu2I8AE2Cs37ktPEdc/8EX7TL66XP74un5OpHp6itLyWTu8Jur0imOiiIDq8+rDg=="],@@ -870,18 +1019,22 @@"get-proto": ["[email protected]", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="],- "get-stream": ["[email protected]", "", { "dependencies": { "@sec-ant/readable-stream": "^0.4.1", "is-stream": "^4.0.1" } }, "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA=="],+ "get-stream": ["[email protected]", "", {}, "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg=="],"github-slugger": ["[email protected]", "", {}, "sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw=="],"glob-parent": ["[email protected]", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="],+ "glob-to-regexp": ["[email protected]", "", {}, "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw=="],+"gopd": ["[email protected]", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="],"graceful-fs": ["[email protected]", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="],"graphql": ["[email protected]", "", {}, "sha512-5bJ+nf/UCpAjHM8i06fl7eLyVC9iuNAjm9qzkiu2ZGhM0VscSvS6WDPfAwkdkBuoXGM9FJSbKl6wylMwP9Ktig=="],+ "has-flag": ["[email protected]", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="],+"has-symbols": ["[email protected]", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],"hasown": ["[email protected]", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="],@@ -910,16 +1063,20 @@"hono": ["[email protected]", "", {}, "sha512-p1JfQMKaceuCbpJKAPKVqyqviZdS0eUxH9v82oWo1kb9xjQ5wA6iP3FNVAPDFlz5/p7d45lO+BpSk1tuSZMF4Q=="],+ "html-entities": ["[email protected]", "", {}, "sha512-kig+rMn/QOVRvr7c86gQ8lWXq+Hkv6CbAH1hLu+RG338StTpE8Z0b44SDVaqVu7HGKf27frdmUYEs9hTUX/cLQ=="],+"html-void-elements": ["[email protected]", "", {}, "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg=="],"http-errors": ["[email protected]", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="],"https-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="],- "human-signals": ["[email protected]", "", {}, "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ=="],+ "human-signals": ["[email protected]", "", {}, "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw=="],"iconv-lite": ["[email protected]", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw=="],+ "icss-utils": ["[email protected]", "", { "peerDependencies": { "postcss": "^8.1.0" } }, "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA=="],+"ieee754": ["[email protected]", "", {}, "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="],"ignore": ["[email protected]", "", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="],@@ -950,7 +1107,7 @@"is-decimal": ["[email protected]", "", {}, "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A=="],- "is-docker": ["[email protected]", "", { "bin": { "is-docker": "cli.js" } }, "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ=="],+ "is-docker": ["[email protected]", "", { "bin": { "is-docker": "cli.js" } }, "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ=="],"is-extglob": ["[email protected]", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="],@@ -978,16 +1135,18 @@"is-regexp": ["[email protected]", "", {}, "sha512-rbku49cWloU5bSMI+zaRaXdQHXnthP6DZ/vLnfdSKyL4zUzuWnomtOEiZZOd+ioQ+avFo/qau3KPTc7Fjy1uPA=="],- "is-stream": ["[email protected]", "", {}, "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A=="],+ "is-stream": ["[email protected]", "", {}, "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg=="],"is-unicode-supported": ["[email protected]", "", {}, "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ=="],- "is-wsl": ["[email protected]", "", { "dependencies": { "is-inside-container": "^1.0.0" } }, "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw=="],+ "is-wsl": ["[email protected]", "", { "dependencies": { "is-docker": "^2.0.0" } }, "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww=="],"isexe": ["[email protected]", "", {}, "sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w=="],"its-fine": ["[email protected]", "", { "dependencies": { "@types/react-reconciler": "^0.28.9" }, "peerDependencies": { "react": "^19.0.0" } }, "sha512-KLViCmWx94zOvpLwSlsx6yOCeMhZYaxrJV87Po5k/FoZzcPSahvK5qJ7fYhS61sZi5ikmh2S3Hz55A2l3U69ng=="],+ "jest-worker": ["[email protected]", "", { "dependencies": { "@types/node": "*", "merge-stream": "^2.0.0", "supports-color": "^8.0.0" } }, "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg=="],+"jiti": ["[email protected]", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ=="],"jose": ["[email protected]", "", {}, "sha512-d7kPDd34KO/YnzaDOlikGpOurfF0ByC2sEV4cANCtdqLlTfBlw2p14O/5d/zv40gJPbIQxfES3nSx1/oYNyuZQ=="],@@ -1038,11 +1197,15 @@"lines-and-columns": ["[email protected]", "", {}, "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="],+ "loader-runner": ["[email protected]", "", {}, "sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w=="],++ "lodash.sortby": ["[email protected]", "", {}, "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA=="],+"log-symbols": ["[email protected]", "", { "dependencies": { "chalk": "^5.3.0", "is-unicode-supported": "^1.3.0" } }, "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw=="],"longest-streak": ["[email protected]", "", {}, "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g=="],- "lru-cache": ["[email protected]", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="],+ "lru-cache": ["[email protected]", "", { "dependencies": { "yallist": "^4.0.0" } }, "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA=="],"lucide-react": ["[email protected]", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-yI7BeItCLZJTXikmK4KNUGCKoGzSvbKlfCvw44bU4fXAL6v3gYS4uHD1jzsLkfwODYwI6Drw5Tu9Z5ulDe0TSg=="],@@ -1092,6 +1255,8 @@"mediabunny": ["[email protected]", "", { "dependencies": { "@types/dom-mediacapture-transform": "^0.1.11", "@types/dom-webcodecs": "0.1.13" } }, "sha512-oK3sMMYbucoF6LUX62L/2M9d+p9ve6KDQgL87kNfhsB0/XmTe9iRLUcgQgg9Gpgvi8Sb96zYfOUL6i17y0bdNg=="],+ "memfs": ["[email protected]", "", { "dependencies": { "fs-monkey": "1.0.3" } }, "sha512-eivjfi7Ahr6eQTn44nvTnR60e4a1Fs1Via2kCR5lHo/kyNoiMWaXCNJ/GpSd0ilXas2JSOl9B5FTIhflXu0hlg=="],+"merge-descriptors": ["[email protected]", "", {}, "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g=="],"merge-stream": ["[email protected]", "", {}, "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="],@@ -1172,9 +1337,9 @@"micromatch": ["[email protected]", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="],- "mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],+ "mime-db": ["[email protected]", "", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="],- "mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],+ "mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="],"mimic-fn": ["[email protected]", "", {}, "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="],@@ -1204,6 +1369,8 @@"negotiator": ["[email protected]", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="],+ "neo-async": ["[email protected]", "", {}, "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw=="],+"next": ["[email protected]", "", { "dependencies": { "@next/env": "16.2.2", "@swc/helpers": "0.5.15", "baseline-browser-mapping": "^2.9.19", "caniuse-lite": "^1.0.30001579", "postcss": "8.4.31", "styled-jsx": "5.1.6" }, "optionalDependencies": { "@next/swc-darwin-arm64": "16.2.2", "@next/swc-darwin-x64": "16.2.2", "@next/swc-linux-arm64-gnu": "16.2.2", "@next/swc-linux-arm64-musl": "16.2.2", "@next/swc-linux-x64-gnu": "16.2.2", "@next/swc-linux-x64-musl": "16.2.2", "@next/swc-win32-arm64-msvc": "16.2.2", "@next/swc-win32-x64-msvc": "16.2.2", "sharp": "^0.34.5" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.51.1", "babel-plugin-react-compiler": "*", "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0", "react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0", "sass": "^1.3.0" }, "optionalPeers": ["@opentelemetry/api", "@playwright/test", "babel-plugin-react-compiler", "sass"], "bin": { "next": "dist/bin/next" } }, "sha512-i6AJdyVa4oQjyvX/6GeER8dpY/xlIV+4NMv/svykcLtURJSy/WzDnnUk/TM4d0uewFHK7xSQz4TbIwPgjky+3A=="],"next-themes": ["[email protected]", "", { "peerDependencies": { "react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc", "react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc" } }, "sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA=="],@@ -1214,7 +1381,7 @@"node-releases": ["[email protected]", "", {}, "sha512-1h5gKZCF+pO/o3Iqt5Jp7wc9rH3eJJ0+nh/CIoiRwjRxde/hAHyLPXYN4V3CqKAbiZPSeJFSWHmJsbkicta0Eg=="],- "npm-run-path": ["[email protected]", "", { "dependencies": { "path-key": "^4.0.0", "unicorn-magic": "^0.3.0" } }, "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA=="],+ "npm-run-path": ["[email protected]", "", { "dependencies": { "path-key": "^3.0.0" } }, "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw=="],"npm-to-yarn": ["[email protected]", "", {}, "sha512-tt6PvKu4WyzPwWUzy/hvPFqn+uwXO0K1ZHka8az3NnrhWJDmSqI8ncWq0fkL0k/lmmi5tAC11FXwXuh0rFbt1A=="],@@ -1244,6 +1411,8 @@"outvariant": ["[email protected]", "", {}, "sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA=="],+ "p-limit": ["[email protected]", "", { "dependencies": { "yocto-queue": "^1.1.1" } }, "sha512-kuUqqHNUqoIWp/c467RI4X6mmyuojY5jGutNU0wVTmEOOfcuwLqyMVoAi9MKi2Ak+5i9+nhmrK4ufZE8069kHA=="],+"parent-module": ["[email protected]", "", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="],"parse-entities": ["[email protected]", "", { "dependencies": { "@types/unist": "^2.0.0", "character-entities-legacy": "^3.0.0", "character-reference-invalid": "^2.0.0", "decode-named-character-reference": "^1.0.0", "is-alphanumerical": "^2.0.0", "is-decimal": "^2.0.0", "is-hexadecimal": "^2.0.0" } }, "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw=="],@@ -1270,8 +1439,18 @@"postcss": ["[email protected]", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg=="],+ "postcss-modules-extract-imports": ["[email protected]", "", { "peerDependencies": { "postcss": "^8.1.0" } }, "sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q=="],++ "postcss-modules-local-by-default": ["[email protected]", "", { "dependencies": { "icss-utils": "^5.0.0", "postcss-selector-parser": "^7.0.0", "postcss-value-parser": "^4.1.0" }, "peerDependencies": { "postcss": "^8.1.0" } }, "sha512-5kcJm/zk+GJDSfw+V/42fJ5fhjL5YbFDl8nVdXkJPLLW+Vf9mTD5Xe0wqIaDnLuL2U6cDNpTr+UQ+v2HWIBhzw=="],++ "postcss-modules-scope": ["[email protected]", "", { "dependencies": { "postcss-selector-parser": "^7.0.0" }, "peerDependencies": { "postcss": "^8.1.0" } }, "sha512-m9jZstCVaqGjTAuny8MdgE88scJnCiQSlSrOWcTQgM2t32UBe+MUmFSO5t7VMSfAf/FJKImAxBav8ooCHJXCJA=="],++ "postcss-modules-values": ["[email protected]", "", { "dependencies": { "icss-utils": "^5.0.0" }, "peerDependencies": { "postcss": "^8.1.0" } }, "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ=="],+"postcss-selector-parser": ["[email protected]", "", { "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" } }, "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg=="],+ "postcss-value-parser": ["[email protected]", "", {}, "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="],+"postprocessing": ["[email protected]", "", { "peerDependencies": { "three": ">= 0.168.0 < 0.184.0" } }, "sha512-/G6JY8hs426lcto/pBZlnFSkyEo1fHsh4gy7FPJtq1SaSUOzJgDW6f6f1K/+aMOYzK/eQEefyOb3++jPPIUeDA=="],"powershell-utils": ["[email protected]", "", {}, "sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A=="],@@ -1284,6 +1463,8 @@"proxy-addr": ["[email protected]", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="],+ "punycode": ["[email protected]", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="],+"qs": ["[email protected]", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-mAZTtNCeetKMH+pSjrb76NAM8V9a05I9aBZOHztWy/UqcJdQYNsf59vrRKWnojAT9Y+GbIvoTBC++CPHqpDBhQ=="],"queue-microtask": ["[email protected]", "", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="],@@ -1304,6 +1485,8 @@"react-redux": ["[email protected]", "", { "dependencies": { "@types/use-sync-external-store": "^0.0.6", "use-sync-external-store": "^1.4.0" }, "peerDependencies": { "@types/react": "^18.2.25 || ^19", "react": "^18.0 || ^19", "redux": "^5.0.0" }, "optionalPeers": ["@types/react", "redux"] }, "sha512-ROY9fvHhwOD9ySfrF0wmvu//bKCQ6AeZZq1nJNtbDC+kk5DuSuNX/n6YWYF/SYy7bSba4D4FSz8DJeKY/S/r+g=="],+ "react-refresh": ["[email protected]", "", {}, "sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw=="],+"react-remove-scroll": ["[email protected]", "", { "dependencies": { "react-remove-scroll-bar": "^2.3.7", "react-style-singleton": "^2.2.3", "tslib": "^2.1.0", "use-callback-ref": "^1.3.3", "use-sidecar": "^1.1.3" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q=="],"react-remove-scroll-bar": ["[email protected]", "", { "dependencies": { "react-style-singleton": "^2.2.2", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "optionalPeers": ["@types/react"] }, "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q=="],@@ -1386,14 +1569,18 @@"scheduler": ["[email protected]", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],+ "schema-utils": ["[email protected]", "", { "dependencies": { "@types/json-schema": "^7.0.9", "ajv": "^8.9.0", "ajv-formats": "^2.1.1", "ajv-keywords": "^5.1.0" } }, "sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA=="],+"scroll-into-view-if-needed": ["[email protected]", "", { "dependencies": { "compute-scroll-into-view": "^3.0.2" } }, "sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ=="],- "semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],+ "semver": ["[email protected]", "", { "dependencies": { "lru-cache": "^6.0.0" }, "bin": { "semver": "bin/semver.js" } }, "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ=="],"send": ["[email protected]", "", { "dependencies": { "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.1", "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.2" } }, "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ=="],"serve-static": ["[email protected]", "", { "dependencies": { "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "parseurl": "^1.3.3", "send": "^1.2.0" } }, "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw=="],+ "server-only": ["[email protected]", "", {}, "sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA=="],+"setprototypeof": ["[email protected]", "", {}, "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="],"shadcn": ["[email protected]", "", { "dependencies": { "@babel/core": "^7.28.0", "@babel/parser": "^7.28.0", "@babel/plugin-transform-typescript": "^7.28.0", "@babel/preset-typescript": "^7.27.1", "@dotenvx/dotenvx": "^1.48.4", "@modelcontextprotocol/sdk": "^1.26.0", "@types/validate-npm-package-name": "^4.0.2", "browserslist": "^4.26.2", "commander": "^14.0.0", "cosmiconfig": "^9.0.0", "dedent": "^1.6.0", "deepmerge": "^4.3.1", "diff": "^8.0.2", "execa": "^9.6.0", "fast-glob": "^3.3.3", "fs-extra": "^11.3.1", "fuzzysort": "^3.1.0", "https-proxy-agent": "^7.0.6", "kleur": "^4.1.5", "msw": "^2.10.4", "node-fetch": "^3.3.2", "open": "^11.0.0", "ora": "^8.2.0", "postcss": "^8.5.6", "postcss-selector-parser": "^7.1.0", "prompts": "^2.4.2", "recast": "^0.23.11", "stringify-object": "^5.0.0", "tailwind-merge": "^3.0.1", "ts-morph": "^26.0.0", "tsconfig-paths": "^4.2.0", "validate-npm-package-name": "^7.0.1", "zod": "^3.24.1", "zod-to-json-schema": "^3.24.6" }, "bin": { "shadcn": "dist/index.js" } }, "sha512-qNQcCavkbYsgBj+X09tF2bTcwRd8abR880bsFkDU2kMqceMCLAm5c+cLg7kWDhfh1H9g08knpQ5ZEf6y/co16g=="],@@ -1414,18 +1601,22 @@"side-channel-weakmap": ["[email protected]", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3", "side-channel-map": "^1.0.1" } }, "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A=="],- "signal-exit": ["[email protected]", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],+ "signal-exit": ["[email protected]", "", {}, "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="],"sisteransi": ["[email protected]", "", {}, "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg=="],"sonner": ["[email protected]", "", { "peerDependencies": { "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc", "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-W6ZN4p58k8aDKA4XPcx2hpIQXBRAgyiWVkYhT7CvK6D3iAu7xjvVyhQHg2/iaKJZ1XVJ4r7XuwGL+WGEK37i9w=="],- "source-map": ["[email protected]", "", {}, "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ=="],+ "source-map": ["[email protected]", "", { "dependencies": { "whatwg-url": "^7.0.0" } }, "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA=="],"source-map-js": ["[email protected]", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],+ "source-map-support": ["[email protected]", "", { "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" } }, "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w=="],+"space-separated-tokens": ["[email protected]", "", {}, "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q=="],+ "stackframe": ["[email protected]", "", {}, "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw=="],+"statuses": ["[email protected]", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],"stdin-discarder": ["[email protected]", "", {}, "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ=="],@@ -1442,7 +1633,9 @@"strip-bom": ["[email protected]", "", {}, "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA=="],- "strip-final-newline": ["[email protected]", "", {}, "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw=="],+ "strip-final-newline": ["[email protected]", "", {}, "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA=="],++ "style-loader": ["[email protected]", "", { "peerDependencies": { "webpack": "^5.27.0" } }, "sha512-1V4WqhhZZgjVAVJyt7TdDPZoPBPNHbekX4fWnCJL1yQukhCeZhJySUL+gL9y6sNdN95uEOS83Y55SqHcP7MzLA=="],"style-to-js": ["[email protected]", "", { "dependencies": { "style-to-object": "1.0.14" } }, "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ=="],@@ -1450,6 +1643,8 @@"styled-jsx": ["[email protected]", "", { "dependencies": { "client-only": "0.0.1" }, "peerDependencies": { "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0" } }, "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA=="],+ "supports-color": ["[email protected]", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q=="],+"suspend-react": ["[email protected]", "", { "peerDependencies": { "react": ">=17.0" } }, "sha512-aqldKgX9aZqpoDp3e8/BZ8Dm7x1pJl+qI3ZKxDN0i/IQTWUwBx/ManmlVJ3wowqbno6c2bmiIfs+Um6LbsjJyQ=="],"tabbable": ["[email protected]", "", {}, "sha512-05PUHKSNE8ou2dwIxTngl4EzcnsCDZGJ/iCLtDflR/SHB/ny14rXc+qU5P4mG9JkusiV7EivzY9Mhm55AzAvCg=="],@@ -1462,6 +1657,10 @@"tapable": ["[email protected]", "", {}, "sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA=="],+ "terser": ["[email protected]", "", { "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.15.0", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, "bin": { "terser": "bin/terser" } }, "sha512-J/9An6vs9Us6wKRriSFXBWdRZapREHqFzdNUKk0pmu804EMR6dr6winwo7e5JDxN4xahxQsuysyYFwlwj4XN/Q=="],++ "terser-webpack-plugin": ["[email protected]", "", { "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "jest-worker": "^27.4.5", "schema-utils": "^4.3.0", "terser": "^5.31.1" }, "peerDependencies": { "webpack": "^5.1.0" } }, "sha512-201R5j+sJpK8nFWwKVyNfZot8FaJbLZDq5evriVzbV1wDtSXDjRUDRfJzHpAaxFDMEhsZL1QkeqM61wgsS3KaQ=="],+"three": ["[email protected]", "", {}, "sha512-gYTLJA/UQip6J/tJvl91YYqlZF47+D/kxiWrbTon35ZHlXEN0VOo+Qke2walF1/x92v55H6enomymg4Dak52kw=="],"tiny-invariant": ["[email protected]", "", {}, "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg=="],@@ -1480,6 +1679,8 @@"tough-cookie": ["[email protected]", "", { "dependencies": { "tldts": "^7.0.5" } }, "sha512-LktZQb3IeoUWB9lqR5EWTHgW/VTITCXg4D21M+lvybRVdylLrRMnqaIONLVb5mav8vM19m44HIcGq4qASeu2Qw=="],+ "tr46": ["[email protected]", "", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA=="],+"trim-lines": ["[email protected]", "", {}, "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg=="],"trough": ["[email protected]", "", {}, "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw=="],@@ -1548,26 +1749,40 @@"victory-vendor": ["[email protected]", "", { "dependencies": { "@types/d3-array": "^3.0.3", "@types/d3-ease": "^3.0.0", "@types/d3-interpolate": "^3.0.1", "@types/d3-scale": "^4.0.2", "@types/d3-shape": "^3.1.0", "@types/d3-time": "^3.0.0", "@types/d3-timer": "^3.0.0", "d3-array": "^3.1.6", "d3-ease": "^3.0.1", "d3-interpolate": "^3.0.1", "d3-scale": "^4.0.2", "d3-shape": "^3.1.0", "d3-time": "^3.0.0", "d3-timer": "^3.0.1" } }, "sha512-SbPDPdDBYp+5MJHhBCAyI7wKM3d5ivekigc2Dk2s7pgbZ9wIgIBYGVw4zGHBml/qTFbexrofXW6Gu4noGxrOwQ=="],+ "watchpack": ["[email protected]", "", { "dependencies": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" } }, "sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg=="],+"web-namespaces": ["[email protected]", "", {}, "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ=="],"web-streams-polyfill": ["[email protected]", "", {}, "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw=="],+ "webidl-conversions": ["[email protected]", "", {}, "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg=="],++ "webpack": ["[email protected]", "", { "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.8", "@types/json-schema": "^7.0.15", "@webassemblyjs/ast": "^1.14.1", "@webassemblyjs/wasm-edit": "^1.14.1", "@webassemblyjs/wasm-parser": "^1.14.1", "acorn": "^8.15.0", "acorn-import-phases": "^1.0.3", "browserslist": "^4.28.1", "chrome-trace-event": "^1.0.2", "enhanced-resolve": "^5.19.0", "es-module-lexer": "^2.0.0", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.2.11", "json-parse-even-better-errors": "^2.3.1", "loader-runner": "^4.3.1", "mime-types": "^2.1.27", "neo-async": "^2.6.2", "schema-utils": "^4.3.3", "tapable": "^2.3.0", "terser-webpack-plugin": "^5.3.16", "watchpack": "^2.5.1", "webpack-sources": "^3.3.3" }, "bin": { "webpack": "bin/webpack.js" } }, "sha512-gX/dMkRQc7QOMzgTe6KsYFM7DxeIONQSui1s0n/0xht36HvrgbxtM1xBlgx596NbpHuQU8P7QpKwrZYwUX48nw=="],++ "webpack-sources": ["[email protected]", "", {}, "sha512-HPuy+uuoTCaaoEoI1LQ3JN9+vrPBvEesnnX1jADHy728cHSMlq4wUc4afYqahq2B1mhQVZxCXOkNTnXltr+2vQ=="],++ "whatwg-url": ["[email protected]", "", { "dependencies": { "lodash.sortby": "^4.7.0", "tr46": "^1.0.1", "webidl-conversions": "^4.0.2" } }, "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg=="],+"which": ["[email protected]", "", { "dependencies": { "isexe": "^3.1.1" }, "bin": { "node-which": "bin/which.js" } }, "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg=="],"wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA=="],"wrappy": ["[email protected]", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],+ "ws": ["[email protected]", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-It4dO0K5v//JtTXuPkfEOaI3uUN87iYPnqo/ZzqCoG3g8uhA66QUMs/SrM0YK7/NAu+r4LMh/9dq2A7k+rHs+w=="],+"wsl-utils": ["[email protected]", "", { "dependencies": { "is-wsl": "^3.1.0", "powershell-utils": "^0.1.0" } }, "sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg=="],"y18n": ["[email protected]", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="],- "yallist": ["[email protected]", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="],+ "yallist": ["[email protected]", "", {}, "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="],"yargs": ["[email protected]", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="],"yargs-parser": ["[email protected]", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],+ "yocto-queue": ["[email protected]", "", {}, "sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ=="],+"yocto-spinner": ["[email protected]", "", { "dependencies": { "yoctocolors": "^2.1.1" } }, "sha512-/BY0AUXnS7IKO354uLLA2eRcWiqDifEbd6unXCsOxkFDAkhgUL3PH9X2bFoaU0YchnDXsF+iKleeTLJGckbXfA=="],"yoctocolors": ["[email protected]", "", {}, "sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug=="],@@ -1582,9 +1797,19 @@"zwitch": ["[email protected]", "", {}, "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A=="],+ "@babel/core/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],++ "@babel/helper-compilation-targets/lru-cache": ["[email protected]", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="],++ "@babel/helper-compilation-targets/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],++ "@babel/helper-create-class-features-plugin/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],+"@dotenvx/dotenvx/commander": ["[email protected]", "", {}, "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ=="],- "@dotenvx/dotenvx/execa": ["[email protected]", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", "human-signals": "^2.1.0", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.1", "onetime": "^5.1.2", "signal-exit": "^3.0.3", "strip-final-newline": "^2.0.0" } }, "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg=="],+ "@inquirer/core/signal-exit": ["[email protected]", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],++ "@mdx-js/mdx/source-map": ["[email protected]", "", {}, "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ=="],"@modelcontextprotocol/sdk/zod": ["[email protected]", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="],@@ -1598,6 +1823,8 @@"@reduxjs/toolkit/immer": ["[email protected]", "", {}, "sha512-XREFCPo6ksxVzP4E0ekD5aMdf8WMwmdNaz6vuvxgI40UaEiu6q3p8X52aU6GdyvLY3XXX/8R7JOTXStz/nBbRw=="],+ "@remotion/studio/open": ["[email protected]", "", { "dependencies": { "define-lazy-prop": "^2.0.0", "is-docker": "^2.1.1", "is-wsl": "^2.2.0" } }, "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ=="],+"@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/[email protected]", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" }, "bundled": true }, "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA=="],"@tailwindcss/oxide-wasm32-wasi/@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw=="],@@ -1610,6 +1837,8 @@"@tailwindcss/oxide-wasm32-wasi/tslib": ["[email protected]", "", { "bundled": true }, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],+ "accepts/mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],+"cliui/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],"cliui/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],@@ -1618,8 +1847,20 @@"cross-spawn/which": ["[email protected]", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="],+ "css-loader/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="],++ "esrecurse/estraverse": ["[email protected]", "", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="],++ "estree-util-to-js/source-map": ["[email protected]", "", {}, "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ=="],+"express/cookie": ["[email protected]", "", {}, "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w=="],+ "express/mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],++ "fumadocs-mdx/esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.27.7", "@esbuild/android-arm": "0.27.7", "@esbuild/android-arm64": "0.27.7", "@esbuild/android-x64": "0.27.7", "@esbuild/darwin-arm64": "0.27.7", "@esbuild/darwin-x64": "0.27.7", "@esbuild/freebsd-arm64": "0.27.7", "@esbuild/freebsd-x64": "0.27.7", "@esbuild/linux-arm": "0.27.7", "@esbuild/linux-arm64": "0.27.7", "@esbuild/linux-ia32": "0.27.7", "@esbuild/linux-loong64": "0.27.7", "@esbuild/linux-mips64el": "0.27.7", "@esbuild/linux-ppc64": "0.27.7", "@esbuild/linux-riscv64": "0.27.7", "@esbuild/linux-s390x": "0.27.7", "@esbuild/linux-x64": "0.27.7", "@esbuild/netbsd-arm64": "0.27.7", "@esbuild/netbsd-x64": "0.27.7", "@esbuild/openbsd-arm64": "0.27.7", "@esbuild/openbsd-x64": "0.27.7", "@esbuild/openharmony-arm64": "0.27.7", "@esbuild/sunos-x64": "0.27.7", "@esbuild/win32-arm64": "0.27.7", "@esbuild/win32-ia32": "0.27.7", "@esbuild/win32-x64": "0.27.7" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w=="],++ "is-inside-container/is-docker": ["[email protected]", "", { "bin": { "is-docker": "cli.js" } }, "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ=="],+"log-symbols/is-unicode-supported": ["[email protected]", "", {}, "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ=="],"micromatch/picomatch": ["[email protected]", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="],@@ -1628,8 +1869,6 @@"next/postcss": ["[email protected]", "", { "dependencies": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" } }, "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ=="],- "npm-run-path/path-key": ["[email protected]", "", {}, "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ=="],-"nuqs/@standard-schema/spec": ["@standard-schema/[email protected]", "", {}, "sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA=="],"parse-entities/@types/unist": ["@types/[email protected]", "", {}, "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA=="],@@ -1640,27 +1879,37 @@"restore-cursor/onetime": ["[email protected]", "", { "dependencies": { "mimic-function": "^5.0.0" } }, "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ=="],+ "restore-cursor/signal-exit": ["[email protected]", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],++ "schema-utils/ajv-formats": ["[email protected]", "", { "dependencies": { "ajv": "^8.0.0" } }, "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA=="],++ "send/mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],++ "shadcn/execa": ["[email protected]", "", { "dependencies": { "@sindresorhus/merge-streams": "^4.0.0", "cross-spawn": "^7.0.6", "figures": "^6.1.0", "get-stream": "^9.0.0", "human-signals": "^8.0.1", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^6.0.0", "pretty-ms": "^9.2.0", "signal-exit": "^4.1.0", "strip-final-newline": "^4.0.0", "yoctocolors": "^2.1.1" } }, "sha512-9Be3ZoN4LmYR90tUoVu2te2BsbzHfhJyfEiAVfz7N5/zv+jduIfLrV2xdQXOHbaD6KgpGdO9PRPM1Y4Q9QkPkA=="],+"shadcn/zod": ["[email protected]", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="],"sharp/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="],- "wrap-ansi/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],+ "source-map-support/source-map": ["[email protected]", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],- "wrap-ansi/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],+ "terser/commander": ["[email protected]", "", {}, "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="],- "yargs/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],+ "type-is/mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],++ "wrap-ansi/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],- "@dotenvx/dotenvx/execa/get-stream": ["[email protected]", "", {}, "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg=="],+ "wrap-ansi/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],- "@dotenvx/dotenvx/execa/human-signals": ["[email protected]", "", {}, "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw=="],+ "wsl-utils/is-wsl": ["[email protected]", "", { "dependencies": { "is-inside-container": "^1.0.0" } }, "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw=="],- "@dotenvx/dotenvx/execa/is-stream": ["[email protected]", "", {}, "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg=="],+ "yargs/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],- "@dotenvx/dotenvx/execa/npm-run-path": ["[email protected]", "", { "dependencies": { "path-key": "^3.0.0" } }, "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw=="],+ "@babel/helper-compilation-targets/lru-cache/yallist": ["[email protected]", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="],- "@dotenvx/dotenvx/execa/signal-exit": ["[email protected]", "", {}, "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="],+ "@remotion/studio/open/define-lazy-prop": ["[email protected]", "", {}, "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og=="],- "@dotenvx/dotenvx/execa/strip-final-newline": ["[email protected]", "", {}, "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA=="],+ "accepts/mime-types/mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],"cliui/string-width/emoji-regex": ["[email protected]", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],@@ -1668,6 +1917,76 @@"cross-spawn/which/isexe": ["[email protected]", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="],+ "express/mime-types/mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],++ "fumadocs-mdx/esbuild/@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg=="],++ "fumadocs-mdx/esbuild/@esbuild/android-arm": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ=="],++ "fumadocs-mdx/esbuild/@esbuild/android-arm64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ=="],++ "fumadocs-mdx/esbuild/@esbuild/android-x64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "x64" }, "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg=="],++ "fumadocs-mdx/esbuild/@esbuild/darwin-arm64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw=="],++ "fumadocs-mdx/esbuild/@esbuild/darwin-x64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ=="],++ "fumadocs-mdx/esbuild/@esbuild/freebsd-arm64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w=="],++ "fumadocs-mdx/esbuild/@esbuild/freebsd-x64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ=="],++ "fumadocs-mdx/esbuild/@esbuild/linux-arm": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA=="],++ "fumadocs-mdx/esbuild/@esbuild/linux-arm64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A=="],++ "fumadocs-mdx/esbuild/@esbuild/linux-ia32": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ia32" }, "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg=="],++ "fumadocs-mdx/esbuild/@esbuild/linux-loong64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q=="],++ "fumadocs-mdx/esbuild/@esbuild/linux-mips64el": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw=="],++ "fumadocs-mdx/esbuild/@esbuild/linux-ppc64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ=="],++ "fumadocs-mdx/esbuild/@esbuild/linux-riscv64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ=="],++ "fumadocs-mdx/esbuild/@esbuild/linux-s390x": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw=="],++ "fumadocs-mdx/esbuild/@esbuild/linux-x64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA=="],++ "fumadocs-mdx/esbuild/@esbuild/netbsd-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w=="],++ "fumadocs-mdx/esbuild/@esbuild/netbsd-x64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "x64" }, "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw=="],++ "fumadocs-mdx/esbuild/@esbuild/openbsd-arm64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A=="],++ "fumadocs-mdx/esbuild/@esbuild/openbsd-x64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "x64" }, "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg=="],++ "fumadocs-mdx/esbuild/@esbuild/openharmony-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw=="],++ "fumadocs-mdx/esbuild/@esbuild/sunos-x64": ["@esbuild/[email protected]", "", { "os": "sunos", "cpu": "x64" }, "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA=="],++ "fumadocs-mdx/esbuild/@esbuild/win32-arm64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA=="],++ "fumadocs-mdx/esbuild/@esbuild/win32-ia32": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw=="],++ "fumadocs-mdx/esbuild/@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg=="],++ "send/mime-types/mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],++ "shadcn/execa/get-stream": ["[email protected]", "", { "dependencies": { "@sec-ant/readable-stream": "^0.4.1", "is-stream": "^4.0.1" } }, "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA=="],++ "shadcn/execa/human-signals": ["[email protected]", "", {}, "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ=="],++ "shadcn/execa/is-stream": ["[email protected]", "", {}, "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A=="],++ "shadcn/execa/npm-run-path": ["[email protected]", "", { "dependencies": { "path-key": "^4.0.0", "unicorn-magic": "^0.3.0" } }, "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA=="],++ "shadcn/execa/signal-exit": ["[email protected]", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],++ "shadcn/execa/strip-final-newline": ["[email protected]", "", {}, "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw=="],++ "type-is/mime-types/mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],+"wrap-ansi/string-width/emoji-regex": ["[email protected]", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],"wrap-ansi/strip-ansi/ansi-regex": ["[email protected]", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="],@@ -1676,6 +1995,8 @@"yargs/string-width/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],+ "shadcn/execa/npm-run-path/path-key": ["[email protected]", "", {}, "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ=="],+"yargs/string-width/strip-ansi/ansi-regex": ["[email protected]", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="],}}diff --git a/lib/__tests__/github-stargazers.test.ts b/lib/__tests__/github-stargazers.test.tsindex 7ba1d32c..13d60d84 100644--- a/lib/__tests__/github-stargazers.test.ts+++ b/lib/__tests__/github-stargazers.test.ts@@ -178,7 +178,8 @@ describe("fetchStargazers", () => {expect(result.stargazers).toHaveLength(1);expect(result.stargazers[0]).toEqual<Stargazer>({login: "alice",- avatarUrl: "https://avatars.githubusercontent.com/u/1?login=alice",+ // avatar URL gets a small `s=` size query appended for fast loading.+ avatarUrl: "https://avatars.githubusercontent.com/u/1?login=alice&s=120",starredAt: "2021-01-01T00:00:00Z",});});diff --git a/lib/github-stargazers.ts b/lib/github-stargazers.tsindex 870d4244..d7e0a155 100644--- a/lib/github-stargazers.ts+++ b/lib/github-stargazers.ts@@ -45,12 +45,23 @@ export class StargazersError extends Error {* stargazers). GitHub won't list stargazers past ~page 400 (~40k stars); beyond* that the newest are unreachable → `truncated: true`.*/-const SAMPLE_PAGES = 12;+const SAMPLE_PAGES = 8;const GITHUB_MAX_LISTABLE_PAGES = 400;const PER_PAGE = 100;-const CONCURRENCY = 6;-/** Keyframe cap kept in lockstep with the component's `downsampleStargazers`. */-const KEYFRAME_CAP = 60;+// High enough to fetch every sampled page in a single parallel round.+const CONCURRENCY = 8;+/**+ * Keyframe cap — how many avatars the clip animates. Fewer avatars = far less+ * image loading + decoding in BOTH the Player preview and the MP4 render, which+ * is the dominant cost here. Kept ≤ the component's own downsample cap.+ */+const KEYFRAME_CAP = 40;+/**+ * GitHub avatars honor an `s=<px>` size query. Requesting ~120px (retina-safe for+ * the ~60px on-screen size) downloads ~5KB instead of the default ~50-100KB++ * image — the single biggest win for preview load time and render speed.+ */+const AVATAR_SIZE = 120;const API_BASE = "https://api.github.com";// `parseRepoInput` lives in a client-safe module so the `/stars` client tool can@@ -103,12 +114,19 @@ type RawStargazer = {user?: { login?: string; avatar_url?: string } | null;};+/** Append GitHub's `s=` size query for a much smaller avatar download. */+function withAvatarSize(url: string): string {+ return url.includes("?")+ ? `${url}&s=${AVATAR_SIZE}`+ : `${url}?s=${AVATAR_SIZE}`;+}+function mapEntry(raw: RawStargazer): Stargazer | null {const user = raw?.user;if (!user?.login || !user.avatar_url || !raw.starred_at) return null;return {login: user.login,- avatarUrl: user.avatar_url,+ avatarUrl: withAvatarSize(user.avatar_url),starredAt: raw.starred_at,};}diff --git a/lib/server/__tests__/rate-limit.test.ts b/lib/server/__tests__/rate-limit.test.tsnew file mode 100644index 00000000..94616d87--- /dev/null+++ b/lib/server/__tests__/rate-limit.test.ts@@ -0,0 +1,180 @@+/**+ * Unit tests for lib/server/rate-limit.ts+ *+ * Run with: bunx vitest run lib/server/__tests__/rate-limit.test.ts+ *+ * The module reads RENDER_RATE_LIMIT (token-bucket capacity) and+ * RENDER_RATE_WINDOW_MS (the window over which a full bucket refills) from env+ * at call-time, so we override those per-test without re-importing. Refill rate+ * is capacity / windowMs per ms, so one token refills in (windowMs / capacity) ms.+ *+ * The in-memory `buckets` Map is a module-level singleton shared across tests in+ * this file, so we use a fresh IP per test to avoid cross-test interference.+ *+ * Clock: checkRateLimit() uses Date.now(); we swap in vi.useFakeTimers() to+ * advance time and exercise refill.+ *+ * --- Seam note ---+ * No exported reset/inject hook exists; (a) unique IPs per test + (b) fake timers+ * are sufficient. A future `_resetBuckets()` export would remove the unique-IP+ * requirement.+ */++import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";++// Mock server-only so importing the module doesn't blow up outside Next.js.+vi.mock("server-only", () => ({}));++import { checkRateLimit } from "@/lib/server/rate-limit";++// ---------------------------------------------------------------------------+// Reset env and timers between tests+// ---------------------------------------------------------------------------++let ipCounter = 0;+/** Each call returns a fresh IP string that no prior test has used. */+function freshIp(): string {+ return `10.0.0.${++ipCounter}`;+}++beforeEach(() => {+ vi.useFakeTimers();+ // Defaults mirror the module defaults: capacity 5, full refill over 60 s.+ process.env.RENDER_RATE_LIMIT = "5";+ process.env.RENDER_RATE_WINDOW_MS = "60000";+});++afterEach(() => {+ vi.useRealTimers();+ delete process.env.RENDER_RATE_LIMIT;+ delete process.env.RENDER_RATE_WINDOW_MS;+});++// ---------------------------------------------------------------------------+// Allow up to capacity+// ---------------------------------------------------------------------------++describe("checkRateLimit — allow up to capacity", () => {+ it("allows the first request for a new IP", () => {+ expect(checkRateLimit(freshIp())).toBe(true);+ });++ it("allows exactly RENDER_RATE_LIMIT=3 requests in a row", () => {+ process.env.RENDER_RATE_LIMIT = "3";+ process.env.RENDER_RATE_WINDOW_MS = "60000";+ const ip = freshIp();+ expect(checkRateLimit(ip)).toBe(true);+ expect(checkRateLimit(ip)).toBe(true);+ expect(checkRateLimit(ip)).toBe(true);+ });++ it("allows exactly RENDER_RATE_LIMIT=5 requests before blocking", () => {+ process.env.RENDER_RATE_LIMIT = "5";+ process.env.RENDER_RATE_WINDOW_MS = "60000";+ const ip = freshIp();+ for (let i = 0; i < 5; i++) {+ expect(checkRateLimit(ip)).toBe(true);+ }+ });+});++// ---------------------------------------------------------------------------+// Block once the bucket is empty+// ---------------------------------------------------------------------------++describe("checkRateLimit — block over limit", () => {+ it("blocks the (LIMIT+1)th request", () => {+ process.env.RENDER_RATE_LIMIT = "3";+ process.env.RENDER_RATE_WINDOW_MS = "60000";+ const ip = freshIp();+ checkRateLimit(ip); // 1+ checkRateLimit(ip); // 2+ checkRateLimit(ip); // 3 — exhausted+ expect(checkRateLimit(ip)).toBe(false); // 4 — blocked+ });++ it("continues to block on repeated requests while bucket is empty", () => {+ process.env.RENDER_RATE_LIMIT = "1";+ process.env.RENDER_RATE_WINDOW_MS = "60000";+ const ip = freshIp();+ checkRateLimit(ip); // consume the single token+ expect(checkRateLimit(ip)).toBe(false);+ expect(checkRateLimit(ip)).toBe(false);+ });++ it("does not affect a different IP's bucket", () => {+ process.env.RENDER_RATE_LIMIT = "1";+ process.env.RENDER_RATE_WINDOW_MS = "60000";+ const ipA = freshIp();+ const ipB = freshIp();+ checkRateLimit(ipA); // exhaust A+ expect(checkRateLimit(ipA)).toBe(false); // A blocked+ expect(checkRateLimit(ipB)).toBe(true); // B unaffected+ });+});++// ---------------------------------------------------------------------------+// Token refill over time (refill rate = capacity / windowMs per ms)+// ---------------------------------------------------------------------------++describe("checkRateLimit — token refill", () => {+ it("refills a token after a full window/capacity period", () => {+ process.env.RENDER_RATE_LIMIT = "1";+ process.env.RENDER_RATE_WINDOW_MS = "60000"; // 1 token refills in 60 000 ms++ const ip = freshIp();+ checkRateLimit(ip); // consume the single token+ expect(checkRateLimit(ip)).toBe(false); // blocked++ vi.advanceTimersByTime(60_000); // one full refill period+ expect(checkRateLimit(ip)).toBe(true); // refilled+ });++ it("does not refill beyond capacity", () => {+ process.env.RENDER_RATE_LIMIT = "2";+ process.env.RENDER_RATE_WINDOW_MS = "60000";++ const ip = freshIp();+ checkRateLimit(ip);+ checkRateLimit(ip);+ expect(checkRateLimit(ip)).toBe(false);++ // Advance far past the window — tokens must cap at capacity (2).+ vi.advanceTimersByTime(10 * 60_000);+ expect(checkRateLimit(ip)).toBe(true);+ expect(checkRateLimit(ip)).toBe(true);+ expect(checkRateLimit(ip)).toBe(false); // 3rd blocked+ });++ it("partial refill restores one token after windowMs/capacity elapses", () => {+ process.env.RENDER_RATE_LIMIT = "1";+ process.env.RENDER_RATE_WINDOW_MS = "30000"; // 1 token refills in 30 000 ms++ const ip = freshIp();+ checkRateLimit(ip); // consume+ expect(checkRateLimit(ip)).toBe(false);++ vi.advanceTimersByTime(30_000); // exactly one token back+ expect(checkRateLimit(ip)).toBe(true);+ expect(checkRateLimit(ip)).toBe(false); // consumed again+ });+});++// ---------------------------------------------------------------------------+// Edge cases+// ---------------------------------------------------------------------------++describe("checkRateLimit — edge cases", () => {+ it("treats different IP strings as independent buckets", () => {+ process.env.RENDER_RATE_LIMIT = "1";+ const ips = [freshIp(), freshIp(), freshIp()];+ for (const ip of ips) {+ expect(checkRateLimit(ip)).toBe(true);+ }+ });++ it("uses the 'unknown' fallback IP without throwing", () => {+ // The route falls back to "unknown" when no IP header is present.+ expect(() => checkRateLimit("unknown")).not.toThrow();+ });+});diff --git a/lib/server/__tests__/render-queue.test.ts b/lib/server/__tests__/render-queue.test.tsnew file mode 100644index 00000000..d33bac82--- /dev/null+++ b/lib/server/__tests__/render-queue.test.ts@@ -0,0 +1,315 @@+/**+ * Unit tests for lib/server/render-queue.ts+ *+ * Run with: bunx vitest run lib/server/__tests__/render-queue.test.ts+ *+ * renderStarsVideo (real Chromium) is mocked via vi.mock so nothing real runs.+ * node:fs/promises (mkdir) is also mocked — no real filesystem side-effects.+ *+ * --- Seam note ---+ * render-queue.ts imports renderStarsVideo from "./render" at module load time,+ * then calls it inside runRender(). vi.mock("@/lib/server/render") replaces that+ * module before the queue module is imported, so the mock is in effect for all+ * enqueueRender() calls below. The module-level `limit` and `jobs` singletons+ * are reset between tests by re-importing the module inside a vi.isolateModules+ * block — see the "resetQueue" helper. If the queue ever needs a cleaner+ * injection point (e.g. an exported `_setRenderFn` for testing), that would+ * remove the need for vi.isolateModules, but the current mock approach is+ * sufficient.+ */++import {+ afterEach,+ beforeEach,+ describe,+ expect,+ it,+ vi,+ type MockInstance,+} from "vitest";+import type { RenderInput } from "@/lib/server/validate-input";++// ---------------------------------------------------------------------------+// Mock the render module (real Chromium → deferred promise under test control)+// ---------------------------------------------------------------------------++vi.mock("@/lib/server/render", () => ({+ renderStarsVideo: vi.fn(),+}));++// Mock mkdir so no real fs ops happen.+vi.mock("node:fs/promises", () => ({+ mkdir: vi.fn().mockResolvedValue(undefined),+}));++// Mock server-only so it doesn't blow up in vitest.+vi.mock("server-only", () => ({}));++// ---------------------------------------------------------------------------+// Helpers+// ---------------------------------------------------------------------------++/** A valid RenderInput that exercises no interesting code paths in validate. */+function makeInput(repo = "owner/repo"): RenderInput {+ return {+ repo,+ totalStars: 100,+ stargazers: [+ {+ login: "alice",+ avatarUrl: "https://avatars.githubusercontent.com/u/1",+ starredAt: "2021-01-01",+ },+ ],+ orientation: "horizontal",+ accentColor: "#ffbb00",+ speed: 1,+ theme: "light",+ };+}++/**+ * Returns a { resolve, reject, promise } triple: the promise stays pending+ * until resolve/reject is called, simulating a long-running render.+ */+function deferred<T = string>() {+ let resolve!: (v: T) => void;+ let reject!: (e: unknown) => void;+ const promise = new Promise<T>((res, rej) => {+ resolve = res;+ reject = rej;+ });+ return { resolve, reject, promise };+}++/** Wait one microtask turn so queued promises can settle. */+const tick = () => new Promise<void>((r) => setTimeout(r, 0));++// ---------------------------------------------------------------------------+// Import queue + mock render fn after all vi.mock() calls are hoisted.+// ---------------------------------------------------------------------------++import { enqueueRender, getJob } from "@/lib/server/render-queue";+import { renderStarsVideo } from "@/lib/server/render";++const mockRender = renderStarsVideo as unknown as MockInstance<+ Parameters<typeof renderStarsVideo>,+ ReturnType<typeof renderStarsVideo>+>;++// ---------------------------------------------------------------------------+// Reset mock state between tests (the module singleton is shared across the+// file because vitest re-uses the same module instance within a test file).+// ---------------------------------------------------------------------------++beforeEach(() => {+ vi.useFakeTimers();+ mockRender.mockReset();+});++afterEach(() => {+ vi.useRealTimers();+ vi.clearAllMocks();+});++// ---------------------------------------------------------------------------+// Status transitions: queued → rendering → done+// ---------------------------------------------------------------------------++describe("render-queue — status transitions", () => {+ it("newly enqueued job starts as 'queued'", () => {+ const d = deferred();+ mockRender.mockReturnValueOnce(d.promise);++ const jobId = enqueueRender(makeInput());+ const job = getJob(jobId);++ // Synchronously the job is registered.+ expect(job).toBeDefined();+ expect(job!.status).toBe("queued");+ expect(job!.progress).toBe(0);++ // Clean up: let it resolve so the limiter slot is freed.+ d.resolve("/tmp/out.mp4");+ });++ it("transitions to 'rendering' once the slot is acquired", async () => {+ const d = deferred();+ mockRender.mockReturnValueOnce(d.promise);++ const jobId = enqueueRender(makeInput());++ // Allow the microtask queue to run so the limiter picks up the task.+ await tick();++ const job = getJob(jobId);+ expect(job!.status).toBe("rendering");++ d.resolve("/tmp/out.mp4");+ await tick();+ });++ it("transitions to 'done' with progress=1 after renderStarsVideo resolves", async () => {+ const d = deferred();+ mockRender.mockReturnValueOnce(d.promise);++ const jobId = enqueueRender(makeInput());+ await tick();++ d.resolve("/tmp/out.mp4");+ await tick();++ const job = getJob(jobId);+ expect(job!.status).toBe("done");+ expect(job!.progress).toBe(1);+ expect(job!.outputPath).toBeDefined();+ });++ it("stores the correct repo on the job", () => {+ mockRender.mockResolvedValueOnce("/tmp/x.mp4");+ const jobId = enqueueRender(makeInput("my-org/my-repo"));+ expect(getJob(jobId)!.repo).toBe("my-org/my-repo");+ });++ it("returns a string jobId that differs between two calls", () => {+ mockRender.mockResolvedValue("/tmp/x.mp4");+ const id1 = enqueueRender(makeInput());+ const id2 = enqueueRender(makeInput());+ expect(typeof id1).toBe("string");+ expect(id1).not.toBe(id2);+ });+});++// ---------------------------------------------------------------------------+// Error path: renderStarsVideo rejects → job.status = "error"+// ---------------------------------------------------------------------------++describe("render-queue — error path", () => {+ it("sets status to 'error' when renderStarsVideo rejects", async () => {+ mockRender.mockRejectedValueOnce(new Error("Chromium crashed"));++ const jobId = enqueueRender(makeInput());+ await tick();+ await tick(); // extra tick for rejection propagation++ const job = getJob(jobId);+ expect(job!.status).toBe("error");+ expect(job!.error).toContain("Chromium crashed");+ });++ it("captures a generic (non-Error) rejection as a fallback string", async () => {+ mockRender.mockRejectedValueOnce("raw string failure");++ const jobId = enqueueRender(makeInput());+ await tick();+ await tick();++ const job = getJob(jobId);+ expect(job!.status).toBe("error");+ expect(typeof job!.error).toBe("string");+ });+});++// ---------------------------------------------------------------------------+// Concurrency cap — at most RENDER_MAX_CONCURRENT renders in flight at once+// ---------------------------------------------------------------------------++describe("render-queue — concurrency semaphore", () => {+ it("runs at most RENDER_MAX_CONCURRENT renders simultaneously (default 2)", async () => {+ // Each deferred keeps its render slot occupied until resolved.+ const deferreds = Array.from({ length: 4 }, () => deferred());+ let callCount = 0;++ mockRender.mockImplementation(() => {+ callCount++;+ return deferreds[callCount - 1].promise;+ });++ // Enqueue 4 jobs.+ const ids = Array.from({ length: 4 }, () => enqueueRender(makeInput()));++ // Let the event loop run so the limiter can dispatch.+ await tick();+ await tick();++ // Only 2 should be rendering (default RENDER_MAX_CONCURRENT = 2).+ const statuses = ids.map((id) => getJob(id)!.status);+ const renderingCount = statuses.filter((s) => s === "rendering").length;+ const queuedCount = statuses.filter((s) => s === "queued").length;++ expect(renderingCount).toBe(2);+ expect(queuedCount).toBe(2);++ // Resolve the first two; the next two should start.+ deferreds[0].resolve("/tmp/a.mp4");+ deferreds[1].resolve("/tmp/b.mp4");+ await tick();+ await tick();++ const newStatuses = ids.map((id) => getJob(id)!.status);+ // ids[0] and ids[1] should now be done.+ expect(newStatuses[0]).toBe("done");+ expect(newStatuses[1]).toBe("done");+ // ids[2] or ids[3] should have started rendering.+ const nowRendering = newStatuses.filter((s) => s === "rendering").length;+ expect(nowRendering).toBeGreaterThanOrEqual(1);++ // Clean up remaining.+ deferreds[2].resolve("/tmp/c.mp4");+ deferreds[3].resolve("/tmp/d.mp4");+ await tick();+ });+});++// ---------------------------------------------------------------------------+// Timeout path — AbortController fires → job.status = "error" with "timed out"+// ---------------------------------------------------------------------------++describe("render-queue — render timeout", () => {+ it("sets status to 'error' containing 'timed out' when RENDER_TIMEOUT_MS elapses", async () => {+ // Set a very short timeout via env so we don't wait 120 s.+ process.env.RENDER_TIMEOUT_MS = "1000";++ // renderStarsVideo never resolves — simulates a stuck Chromium.+ // The real runRender() uses an AbortController; when the timeout fires it+ // calls controller.abort(). renderStarsVideo must honor the signal and+ // throw. We simulate that by rejecting once the abort callback fires.+ let abortCallback: (() => void) | undefined;+ mockRender.mockImplementation(({ signal }: { signal?: AbortSignal }) => {+ return new Promise<string>((_, reject) => {+ if (signal) {+ signal.addEventListener("abort", () => {+ abortCallback = () =>+ reject(new Error("Render aborted"));+ abortCallback();+ });+ }+ });+ });++ const jobId = enqueueRender(makeInput());+ await tick();++ // Advance fake timers past the timeout.+ vi.advanceTimersByTime(1100);+ await tick();+ await tick();++ const job = getJob(jobId);+ expect(job!.status).toBe("error");+ // The queue sets job.error to "Render timed out" when signal.aborted is true.+ expect(job!.error).toMatch(/timed out/i);++ delete process.env.RENDER_TIMEOUT_MS;+ });+});++// ---------------------------------------------------------------------------+// getJob — unknown id returns undefined+// ---------------------------------------------------------------------------++describe("render-queue — getJob", () => {+ it("returns undefined for an unknown jobId", () => {+ expect(getJob("00000000-0000-0000-0000-000000000000")).toBeUndefined();+ });+});diff --git a/lib/server/__tests__/validate-input.test.ts b/lib/server/__tests__/validate-input.test.tsnew file mode 100644index 00000000..f935b9a0--- /dev/null+++ b/lib/server/__tests__/validate-input.test.ts@@ -0,0 +1,409 @@+/**+ * Unit tests for lib/server/validate-input.ts+ *+ * Run with: bunx vitest run lib/server/__tests__/validate-input.test.ts+ *+ * Pure function — no mocks needed; all logic is deterministic.+ */++import { describe, expect, it } from "vitest";+import { parseRenderInput, RenderInputError } from "@/lib/server/validate-input";++// ---------------------------------------------------------------------------+// Helpers+// ---------------------------------------------------------------------------++/** A minimal valid body that passes every rule. */+function validBody(overrides?: Record<string, unknown>): Record<string, unknown> {+ return {+ repo: "vercel/next.js",+ totalStars: 120_000,+ stargazers: [+ {+ login: "alice",+ avatarUrl: "https://avatars.githubusercontent.com/u/1",+ starredAt: "2021-01-01",+ },+ ],+ orientation: "horizontal",+ ...overrides,+ };+}++function stargazer(overrides?: Record<string, unknown>) {+ return {+ login: "alice",+ avatarUrl: "https://avatars.githubusercontent.com/u/1",+ starredAt: "2021-01-01",+ ...overrides,+ };+}++// ---------------------------------------------------------------------------+// Happy path — accepts a valid payload and applies defaults+// ---------------------------------------------------------------------------++describe("parseRenderInput — valid payload", () => {+ it("accepts a minimal valid body and returns the parsed input", () => {+ const result = parseRenderInput(validBody());+ expect(result.repo).toBe("vercel/next.js");+ expect(result.totalStars).toBe(120_000);+ expect(result.orientation).toBe("horizontal");+ expect(result.stargazers).toHaveLength(1);+ });++ it("applies default accentColor #ffbb00 when omitted", () => {+ const result = parseRenderInput(validBody());+ expect(result.accentColor).toBe("#ffbb00");+ });++ it("applies default speed 1 when omitted", () => {+ const result = parseRenderInput(validBody());+ expect(result.speed).toBe(1);+ });++ it("applies default theme 'light' when omitted", () => {+ const result = parseRenderInput(validBody());+ expect(result.theme).toBe("light");+ });++ it("accepts orientation 'vertical'", () => {+ const result = parseRenderInput(validBody({ orientation: "vertical" }));+ expect(result.orientation).toBe("vertical");+ });++ it("accepts theme 'dark'", () => {+ const result = parseRenderInput(validBody({ theme: "dark" }));+ expect(result.theme).toBe("dark");+ });++ it("accepts a valid 3-char hex accentColor", () => {+ const result = parseRenderInput(validBody({ accentColor: "#abc" }));+ expect(result.accentColor).toBe("#abc");+ });++ it("accepts a valid 6-char hex accentColor", () => {+ const result = parseRenderInput(validBody({ accentColor: "#ff0000" }));+ expect(result.accentColor).toBe("#ff0000");+ });++ it("accepts an 8-char hex accentColor (with alpha)", () => {+ const result = parseRenderInput(validBody({ accentColor: "#ff0000ff" }));+ expect(result.accentColor).toBe("#ff0000ff");+ });++ it("accepts stargazers array of exactly 60 items", () => {+ const many = Array.from({ length: 60 }, (_, i) =>+ stargazer({ login: `user${i}`, avatarUrl: `https://example.com/u/${i}` }),+ );+ const result = parseRenderInput(validBody({ stargazers: many }));+ expect(result.stargazers).toHaveLength(60);+ });++ it("returns floored totalStars when given a float", () => {+ const result = parseRenderInput(validBody({ totalStars: 99.9 }));+ expect(result.totalStars).toBe(99);+ });+});++// ---------------------------------------------------------------------------+// Clamps — numbers clamped, not rejected+// ---------------------------------------------------------------------------++describe("parseRenderInput — clamping", () => {+ it("clamps totalStars below 0 to 0", () => {+ const result = parseRenderInput(validBody({ totalStars: -100 }));+ expect(result.totalStars).toBe(0);+ });++ it("clamps totalStars above 1e8 to 1e8", () => {+ const result = parseRenderInput(validBody({ totalStars: 999_000_000 }));+ expect(result.totalStars).toBe(100_000_000);+ });++ it("clamps speed below 1 to 1", () => {+ const result = parseRenderInput(validBody({ speed: 0 }));+ expect(result.speed).toBe(1);+ });++ it("clamps speed above 4 to 4", () => {+ const result = parseRenderInput(validBody({ speed: 100 }));+ expect(result.speed).toBe(4);+ });++ it("accepts speed exactly at min bound (1)", () => {+ const result = parseRenderInput(validBody({ speed: 1 }));+ expect(result.speed).toBe(1);+ });++ it("accepts speed exactly at max bound (4)", () => {+ const result = parseRenderInput(validBody({ speed: 4 }));+ expect(result.speed).toBe(4);+ });+});++// ---------------------------------------------------------------------------+// Non-object body+// ---------------------------------------------------------------------------++describe("parseRenderInput — non-object body throws", () => {+ it("throws RenderInputError on null", () => {+ expect(() => parseRenderInput(null)).toThrow(RenderInputError);+ });++ it("throws RenderInputError on a string", () => {+ expect(() => parseRenderInput("hello")).toThrow(RenderInputError);+ });++ it("throws RenderInputError on an array", () => {+ expect(() => parseRenderInput([])).toThrow(RenderInputError);+ });++ it("throws RenderInputError on a number", () => {+ expect(() => parseRenderInput(42)).toThrow(RenderInputError);+ });++ it("carries status 400", () => {+ try {+ parseRenderInput(null);+ expect.fail("should have thrown");+ } catch (err) {+ expect(err).toBeInstanceOf(RenderInputError);+ expect((err as RenderInputError).status).toBe(400);+ }+ });+});++// ---------------------------------------------------------------------------+// orientation validation+// ---------------------------------------------------------------------------++describe("parseRenderInput — orientation", () => {+ it("throws on unknown orientation", () => {+ expect(() => parseRenderInput(validBody({ orientation: "diagonal" }))).toThrow(+ RenderInputError,+ );+ });++ it("throws when orientation is missing", () => {+ const body = validBody();+ delete body.orientation;+ expect(() => parseRenderInput(body)).toThrow(RenderInputError);+ });++ it("throws when orientation is null", () => {+ expect(() => parseRenderInput(validBody({ orientation: null }))).toThrow(+ RenderInputError,+ );+ });+});++// ---------------------------------------------------------------------------+// stargazers array validation+// ---------------------------------------------------------------------------++describe("parseRenderInput — stargazers length cap", () => {+ it("throws when stargazers has 61 items", () => {+ const many = Array.from({ length: 61 }, (_, i) =>+ stargazer({ login: `user${i}`, avatarUrl: `https://example.com/u/${i}` }),+ );+ expect(() => parseRenderInput(validBody({ stargazers: many }))).toThrow(+ RenderInputError,+ );+ });++ it("throws when stargazers is not an array", () => {+ expect(() => parseRenderInput(validBody({ stargazers: "nope" }))).toThrow(+ RenderInputError,+ );+ });++ it("throws when stargazers is null", () => {+ expect(() => parseRenderInput(validBody({ stargazers: null }))).toThrow(+ RenderInputError,+ );+ });+});++// ---------------------------------------------------------------------------+// stargazer item shape validation+// ---------------------------------------------------------------------------++describe("parseRenderInput — stargazer item shapes", () => {+ it("throws when a stargazer item is not an object", () => {+ expect(() =>+ parseRenderInput(validBody({ stargazers: ["not-an-object"] })),+ ).toThrow(RenderInputError);+ });++ it("throws when login is missing", () => {+ expect(() =>+ parseRenderInput(validBody({ stargazers: [stargazer({ login: undefined })] })),+ ).toThrow(RenderInputError);+ });++ it("throws when login is empty string", () => {+ expect(() =>+ parseRenderInput(validBody({ stargazers: [stargazer({ login: "" })] })),+ ).toThrow(RenderInputError);+ });++ it("throws when login exceeds 100 chars", () => {+ expect(() =>+ parseRenderInput(+ validBody({ stargazers: [stargazer({ login: "a".repeat(101) })] }),+ ),+ ).toThrow(RenderInputError);+ });++ it("throws when avatarUrl is missing", () => {+ expect(() =>+ parseRenderInput(+ validBody({ stargazers: [stargazer({ avatarUrl: undefined })] }),+ ),+ ).toThrow(RenderInputError);+ });++ it("throws when avatarUrl exceeds 512 chars", () => {+ const longUrl = "https://example.com/" + "a".repeat(494);+ expect(() =>+ parseRenderInput(+ validBody({ stargazers: [stargazer({ avatarUrl: longUrl })] }),+ ),+ ).toThrow(RenderInputError);+ });++ it("throws when starredAt is missing", () => {+ expect(() =>+ parseRenderInput(+ validBody({ stargazers: [stargazer({ starredAt: undefined })] }),+ ),+ ).toThrow(RenderInputError);+ });++ it("throws when starredAt exceeds 40 chars", () => {+ expect(() =>+ parseRenderInput(+ validBody({ stargazers: [stargazer({ starredAt: "x".repeat(41) })] }),+ ),+ ).toThrow(RenderInputError);+ });+});++// ---------------------------------------------------------------------------+// avatarUrl — http(s) enforcement (SSRF surface narrowing)+// ---------------------------------------------------------------------------++describe("parseRenderInput — avatarUrl must be http(s)", () => {+ it("throws on a file:// avatarUrl", () => {+ expect(() =>+ parseRenderInput(+ validBody({ stargazers: [stargazer({ avatarUrl: "file:///etc/passwd" })] }),+ ),+ ).toThrow(RenderInputError);+ });++ it("throws on a javascript: avatarUrl", () => {+ expect(() =>+ parseRenderInput(+ validBody({ stargazers: [stargazer({ avatarUrl: "javascript:alert(1)" })] }),+ ),+ ).toThrow(RenderInputError);+ });++ it("throws on a relative avatarUrl", () => {+ expect(() =>+ parseRenderInput(+ validBody({ stargazers: [stargazer({ avatarUrl: "/relative/path" })] }),+ ),+ ).toThrow(RenderInputError);+ });++ it("accepts an http:// avatarUrl", () => {+ const result = parseRenderInput(+ validBody({ stargazers: [stargazer({ avatarUrl: "http://example.com/avatar.png" })] }),+ );+ expect(result.stargazers[0].avatarUrl).toBe("http://example.com/avatar.png");+ });++ it("accepts an https:// avatarUrl", () => {+ const result = parseRenderInput(+ validBody({+ stargazers: [stargazer({ avatarUrl: "https://avatars.githubusercontent.com/u/99" })],+ }),+ );+ expect(result.stargazers[0].avatarUrl).toBe(+ "https://avatars.githubusercontent.com/u/99",+ );+ });+});++// ---------------------------------------------------------------------------+// accentColor validation+// ---------------------------------------------------------------------------++describe("parseRenderInput — accentColor", () => {+ it("throws when accentColor is not a hex color", () => {+ expect(() =>+ parseRenderInput(validBody({ accentColor: "red" })),+ ).toThrow(RenderInputError);+ });++ it("throws when accentColor lacks the leading #", () => {+ expect(() =>+ parseRenderInput(validBody({ accentColor: "ffbb00" })),+ ).toThrow(RenderInputError);+ });++ it("throws when accentColor has 2 hex digits (too short)", () => {+ expect(() =>+ parseRenderInput(validBody({ accentColor: "#ff" })),+ ).toThrow(RenderInputError);+ });+});++// ---------------------------------------------------------------------------+// repo validation+// ---------------------------------------------------------------------------++describe("parseRenderInput — repo", () => {+ it("throws when repo is missing", () => {+ const body = validBody();+ delete body.repo;+ expect(() => parseRenderInput(body)).toThrow(RenderInputError);+ });++ it("throws when repo is empty string", () => {+ expect(() => parseRenderInput(validBody({ repo: "" }))).toThrow(RenderInputError);+ });++ it("throws when repo exceeds 200 chars", () => {+ expect(() =>+ parseRenderInput(validBody({ repo: "a".repeat(201) })),+ ).toThrow(RenderInputError);+ });+});++// ---------------------------------------------------------------------------+// totalStars validation+// ---------------------------------------------------------------------------++describe("parseRenderInput — totalStars", () => {+ it("throws when totalStars is not a number", () => {+ expect(() =>+ parseRenderInput(validBody({ totalStars: "not-a-number" })),+ ).toThrow(RenderInputError);+ });++ it("throws when totalStars is Infinity", () => {+ expect(() =>+ parseRenderInput(validBody({ totalStars: Infinity })),+ ).toThrow(RenderInputError);+ });++ it("throws when totalStars is NaN", () => {+ expect(() =>+ parseRenderInput(validBody({ totalStars: NaN })),+ ).toThrow(RenderInputError);+ });+});diff --git a/lib/server/bundle.ts b/lib/server/bundle.tsnew file mode 100644index 00000000..d203d039--- /dev/null+++ b/lib/server/bundle.ts@@ -0,0 +1,41 @@+import "server-only";+import { existsSync } from "node:fs";+import path from "node:path";+import { bundle } from "@remotion/bundler";++/**+ * Resolves the Remotion `serveUrl` that `selectComposition`/`renderMedia` need.+ *+ * Bundling is expensive, so it happens at most once per process: if the deploy+ * baked a pre-bundle into `.remotion-bundle/` (see scripts/bundle-remotion.mts),+ * that path is returned directly; otherwise we lazily `bundle()` the entry once+ * and cache the in-flight promise so concurrent first renders share it.+ */++const PREBUNDLED_DIR = path.join(process.cwd(), ".remotion-bundle");+const ENTRY_POINT = path.join(process.cwd(), "src", "remotion", "index.ts");++let serveUrlPromise: Promise<string> | null = null;++export function getServeUrl(): Promise<string> {+ if (serveUrlPromise) return serveUrlPromise;++ serveUrlPromise = (async () => {+ if (existsSync(PREBUNDLED_DIR)) {+ return PREBUNDLED_DIR;+ }+ try {+ return await bundle({+ entryPoint: ENTRY_POINT,+ // Keep Remotion's defaults; the registry component is plain React + CSS.+ webpackOverride: (config) => config,+ });+ } catch (err) {+ // Don't poison the cache on failure — let the next render retry the bundle.+ serveUrlPromise = null;+ throw err;+ }+ })();++ return serveUrlPromise;+}diff --git a/lib/server/cleanup.ts b/lib/server/cleanup.tsnew file mode 100644index 00000000..2ae810b0--- /dev/null+++ b/lib/server/cleanup.ts@@ -0,0 +1,80 @@+import "server-only";+import { readdir, rm, stat } from "node:fs/promises";+import path from "node:path";+import { RENDER_WORK_DIR } from "./paths";+import { deleteJob } from "./render-queue";++/**+ * Disk hygiene for the render work dir. Two mechanisms:+ * - `deleteJobFile` removes a single MP4 right after it's been downloaded.+ * - a guarded `setInterval` TTL sweep deletes any leftover files older than+ * the TTL (downloads that never happened, crashed renders) so the disk can't+ * fill up.+ */++/** How long a finished file may sit before the sweep reclaims it. */+function ttlMs(): number {+ const parsed = Number(process.env.RENDER_FILE_TTL_MS);+ return Number.isFinite(parsed) && parsed >= 1000 ? Math.floor(parsed) : 600_000;+}++/** How often the sweep runs — derived from the TTL (at least once a minute). */+function sweepIntervalMs(): number {+ return Math.max(60_000, ttlMs());+}++/** Delete a single job's MP4 (best-effort) and drop it from the registry. */+export async function deleteJobFile(jobId: string): Promise<void> {+ const filePath = path.join(RENDER_WORK_DIR, `${jobId}.mp4`);+ try {+ await rm(filePath, { force: true });+ } finally {+ deleteJob(jobId);+ }+}++/** Remove every `.mp4` in the work dir older than the TTL. */+async function sweepOnce(): Promise<void> {+ const ttl = ttlMs();+ const now = Date.now();++ let entries: string[];+ try {+ entries = await readdir(RENDER_WORK_DIR);+ } catch {+ return; // dir not created yet — nothing to sweep+ }++ await Promise.all(+ entries+ .filter((name) => name.endsWith(".mp4"))+ .map(async (name) => {+ const filePath = path.join(RENDER_WORK_DIR, name);+ try {+ const info = await stat(filePath);+ if (now - info.mtimeMs > ttl) {+ await rm(filePath, { force: true });+ deleteJob(path.basename(name, ".mp4"));+ }+ } catch {+ // File vanished between readdir and stat — ignore.+ }+ }),+ );+}++// Module-level guard: ensure the sweep timer is installed exactly once per+// process, even if multiple routes import this module.+let sweepStarted = false;++/** Start the periodic TTL sweep (idempotent). */+export function ensureCleanupSweep(): void {+ if (sweepStarted) return;+ sweepStarted = true;++ const timer = setInterval(() => {+ void sweepOnce();+ }, sweepIntervalMs());+ // Don't keep the process alive just for the sweep.+ timer.unref?.();+}diff --git a/lib/server/paths.ts b/lib/server/paths.tsnew file mode 100644index 00000000..848a1786--- /dev/null+++ b/lib/server/paths.ts@@ -0,0 +1,13 @@+import "server-only";+import os from "node:os";+import path from "node:path";++/**+ * Shared filesystem location for rendered MP4s. A single dir owned by the Node+ * process; the queue writes `${jobId}.mp4` here, the download route streams from+ * it, and the cleanup sweep prunes it. Overridable via `RENDER_WORK_DIR` (e.g.+ * a tmpfs/volume on the box); defaults to the OS temp dir.+ */+export const RENDER_WORK_DIR =+ process.env.RENDER_WORK_DIR?.trim() ||+ path.join(os.tmpdir(), "remocn-renders");diff --git a/lib/server/rate-limit.ts b/lib/server/rate-limit.tsnew file mode 100644index 00000000..c326d926--- /dev/null+++ b/lib/server/rate-limit.ts@@ -0,0 +1,70 @@+import "server-only";++/**+ * Per-IP rate limiter, in-memory. Renders cost real CPU, so this caps how often+ * a single client can kick one off: at most `RENDER_RATE_LIMIT` requests per+ * `RENDER_RATE_WINDOW_MS` window. Implemented as a token bucket (capacity =+ * limit, refilled smoothly across the window) so bursts are bounded without a+ * hard fixed-window edge. Cheap and good enough for a single-process box — not a+ * distributed limiter.+ */++interface Bucket {+ /** Fractional tokens currently available. */+ tokens: number;+ /** Last time (ms) the bucket was refilled. */+ updatedAt: number;+}++/** Max requests per window before throttling (bucket capacity). */+function limit(): number {+ const parsed = Number(process.env.RENDER_RATE_LIMIT);+ return Number.isFinite(parsed) && parsed >= 1 ? Math.floor(parsed) : 5;+}++/** Window over which a full bucket refills. */+function windowMs(): number {+ const parsed = Number(process.env.RENDER_RATE_WINDOW_MS);+ return Number.isFinite(parsed) && parsed >= 1 ? Math.floor(parsed) : 60_000;+}++const buckets = new Map<string, Bucket>();++// Evict idle buckets so the map can't grow unbounded from one-off IPs.+const IDLE_EVICT_MS = 60 * 60 * 1000;++/**+ * Consume one token for `ip`. Returns true if allowed, false if the bucket is+ * empty (caller should respond 429).+ */+export function checkRateLimit(ip: string): boolean {+ const cap = limit();+ // Tokens refilled per ms so a full window restores the whole capacity.+ const ratePerMs = cap / windowMs();+ const now = Date.now();++ let bucket = buckets.get(ip);+ if (!bucket) {+ bucket = { tokens: cap, updatedAt: now };+ buckets.set(ip, bucket);+ } else {+ const elapsed = now - bucket.updatedAt;+ bucket.tokens = Math.min(cap, bucket.tokens + elapsed * ratePerMs);+ bucket.updatedAt = now;+ }++ if (bucket.tokens < 1) {+ return false;+ }++ bucket.tokens -= 1;++ // Opportunistic eviction of long-idle buckets (kept tiny — only on access).+ if (buckets.size > 1000) {+ for (const [key, b] of buckets) {+ if (now - b.updatedAt > IDLE_EVICT_MS) buckets.delete(key);+ }+ }++ return true;+}diff --git a/lib/server/render-queue.ts b/lib/server/render-queue.tsnew file mode 100644index 00000000..b85f84ef--- /dev/null+++ b/lib/server/render-queue.ts@@ -0,0 +1,138 @@+import "server-only";+import { randomUUID } from "node:crypto";+import { mkdir } from "node:fs/promises";+import path from "node:path";+import pLimit from "p-limit";+import { renderStarsVideo } from "./render";+import type { RenderInput } from "./validate-input";+import { RENDER_WORK_DIR } from "./paths";++/**+ * In-process render orchestration: a global concurrency semaphore plus a job+ * registry so the API can return a `jobId` immediately (202) and let the client+ * poll for progress. Renders are CPU-heavy (native Chromium), so at most+ * `RENDER_MAX_CONCURRENT` run at once; the rest wait in the limiter's queue.+ *+ * State is intentionally in-memory: a single long-lived Node process owns the+ * work dir, and a job only matters until its MP4 is downloaded (then swept).+ * Restarting the process drops in-flight jobs by design — clients re-POST.+ */++export type JobStatus = "queued" | "rendering" | "done" | "error";++export interface JobState {+ status: JobStatus;+ /** Render progress in [0, 1]. */+ progress: number;+ /** Absolute path to the finished MP4 (only once status === "done"). */+ outputPath?: string;+ /** Human-readable failure reason (only once status === "error"). */+ error?: string;+ /** Original repo slug, used to name the downloaded file. */+ repo: string;+ createdAt: number;+}++/** Max simultaneous renders; the rest queue. Sized for the 8-vCPU box. */+function maxConcurrent(): number {+ const parsed = Number(process.env.RENDER_MAX_CONCURRENT);+ return Number.isFinite(parsed) && parsed >= 1 ? Math.floor(parsed) : 2;+}++/** Hard ceiling on a single render before it's aborted as stuck. */+function renderTimeoutMs(): number {+ const parsed = Number(process.env.RENDER_TIMEOUT_MS);+ return Number.isFinite(parsed) && parsed >= 1000 ? Math.floor(parsed) : 120_000;+}++const limit = pLimit(maxConcurrent());+const jobs = new Map<string, JobState>();++/**+ * Register a render and kick it off through the concurrency limiter. Returns the+ * `jobId` synchronously — the actual render runs in the background and updates+ * the registry. Never await the returned render work in the request handler.+ */+export function enqueueRender(input: RenderInput): string {+ const jobId = randomUUID();+ const outputPath = path.join(RENDER_WORK_DIR, `${jobId}.mp4`);++ const job: JobState = {+ status: "queued",+ progress: 0,+ repo: input.repo,+ createdAt: Date.now(),+ };+ jobs.set(jobId, job);++ // Fire-and-forget: the limiter serializes execution, errors are captured into+ // the job state, and we swallow the promise so it never becomes unhandled.+ void limit(() => runRender(jobId, input, outputPath)).catch((err) => {+ const current = jobs.get(jobId);+ if (current && current.status !== "done") {+ current.status = "error";+ current.error = err instanceof Error ? err.message : "Render failed";+ }+ });++ return jobId;+}++/** Snapshot of a job's state, or undefined if the id is unknown. */+export function getJob(jobId: string): JobState | undefined {+ return jobs.get(jobId);+}++/** Drop a job from the registry (called after its file is cleaned up). */+export function deleteJob(jobId: string): void {+ jobs.delete(jobId);+}++/** Read-only view of the registry for the TTL sweep. */+export function listJobs(): ReadonlyMap<string, JobState> {+ return jobs;+}++async function runRender(+ jobId: string,+ input: RenderInput,+ outputPath: string,+): Promise<void> {+ const job = jobs.get(jobId);+ if (!job) return; // deleted before it got a slot++ job.status = "rendering";++ await mkdir(RENDER_WORK_DIR, { recursive: true });++ // Per-render timeout: abort stuck Chromium so a wedged render can't hold a+ // semaphore slot forever.+ const controller = new AbortController();+ const timeout = setTimeout(() => controller.abort(), renderTimeoutMs());++ try {+ await renderStarsVideo({+ inputProps: input,+ orientation: input.orientation,+ outputPath,+ signal: controller.signal,+ onProgress: (progress) => {+ const current = jobs.get(jobId);+ if (current) current.progress = progress;+ },+ });++ job.status = "done";+ job.progress = 1;+ job.outputPath = outputPath;+ } catch (err) {+ job.status = "error";+ job.error = controller.signal.aborted+ ? "Render timed out"+ : err instanceof Error+ ? err.message+ : "Render failed";+ } finally {+ clearTimeout(timeout);+ }+}diff --git a/lib/server/render.ts b/lib/server/render.tsnew file mode 100644index 00000000..458df858--- /dev/null+++ b/lib/server/render.ts@@ -0,0 +1,93 @@+import "server-only";+import {+ makeCancelSignal,+ renderMedia,+ selectComposition,+} from "@remotion/renderer";+import { getServeUrl } from "./bundle";+import type { Orientation, RenderInput } from "./validate-input";++/**+ * Server-side MP4 render of the `github-stars` composition. Runs full native+ * quality (this is the 8-core box, not a weak client): horizontal 1280×720,+ * vertical 720×1280, 30fps — no downscale. Width/height are overridden per+ * orientation on the selected composition so a single bundle entry serves both.+ */++const COMPOSITION_ID = "github-stars";++/** Native render dimensions per orientation (no client downscale). */+function dimsFor(orientation: Orientation): { width: number; height: number } {+ return orientation === "vertical"+ ? { width: 720, height: 1280 }+ : { width: 1280, height: 720 };+}++/** Concurrency (Chromium tabs) for a single render; env-tunable, default 4. */+function remotionConcurrency(): number {+ const parsed = Number(process.env.REMOTION_CONCURRENCY);+ return Number.isFinite(parsed) && parsed >= 1 ? Math.floor(parsed) : 4;+}++export interface RenderStarsVideoOptions {+ /** Validated, render-ready props (see parseRenderInput). */+ inputProps: RenderInput;+ /** Drives the output dimensions (overrides the composition defaults). */+ orientation: Orientation;+ /** Absolute path the encoded MP4 is written to. */+ outputPath: string;+ /** Render progress in [0, 1]. */+ onProgress?: (progress: number) => void;+ /** Abort the render (e.g. client disconnect / timeout) → cancels Chromium. */+ signal?: AbortSignal;+}++/**+ * Render the composition to `outputPath` and resolve with that same path.+ * Bridges a standard AbortSignal onto Remotion's CancelSignal so callers can+ * kill a stuck/abandoned render.+ */+export async function renderStarsVideo({+ inputProps,+ orientation,+ outputPath,+ onProgress,+ signal,+}: RenderStarsVideoOptions): Promise<string> {+ if (signal?.aborted) {+ throw new Error("Render aborted before it started");+ }++ const serveUrl = await getServeUrl();+ const { width, height } = dimsFor(orientation);++ const composition = await selectComposition({+ serveUrl,+ id: COMPOSITION_ID,+ inputProps,+ });++ // Bridge AbortSignal → Remotion CancelSignal.+ const { cancelSignal, cancel } = makeCancelSignal();+ const onAbort = () => cancel();+ signal?.addEventListener("abort", onAbort, { once: true });++ try {+ await renderMedia({+ composition: { ...composition, width, height },+ serveUrl,+ codec: "h264",+ inputProps,+ outputLocation: outputPath,+ concurrency: remotionConcurrency(),+ cancelSignal,+ onProgress: onProgress+ ? ({ progress }) => onProgress(progress)+ : undefined,+ });+ } finally {+ signal?.removeEventListener("abort", onAbort);+ }++ return outputPath;+}diff --git a/lib/server/validate-input.ts b/lib/server/validate-input.tsnew file mode 100644index 00000000..b23333da--- /dev/null+++ b/lib/server/validate-input.ts@@ -0,0 +1,167 @@+import "server-only";++/**+ * Strict server-side validation of the render payload. Renders cost real CPU on+ * the box, so this is the gate that stops a crafted/oversized request from+ * blowing up Chromium: caps the stargazer count + string sizes, enums the+ * orientation/theme, clamps the numbers, and only lets http(s) avatar URLs+ * through (avatars are fetched by the headless browser → http(s)-only narrows+ * the SSRF surface). Throws a typed 400 error on anything outside the rules.+ */++export type Orientation = "horizontal" | "vertical";+export type Theme = "light" | "dark";++export interface RenderStargazer {+ login: string;+ avatarUrl: string;+ /** ISO date string, e.g. "2021-03-04" */+ starredAt: string;+}++export interface RenderInput {+ repo: string;+ totalStars: number;+ stargazers: RenderStargazer[];+ orientation: Orientation;+ accentColor: string;+ speed: number;+ theme: Theme;+}++/** Thrown on invalid input; carries the HTTP status the API route should map to. */+export class RenderInputError extends Error {+ readonly status = 400 as const;+ constructor(message: string) {+ super(message);+ this.name = "RenderInputError";+ }+}++// --- Limits ----------------------------------------------------------------+const MAX_STARGAZERS = 60; // matches the composition's own downsample cap+const MAX_REPO_LEN = 200;+const MAX_LOGIN_LEN = 100;+const MAX_AVATAR_URL_LEN = 512;+const MAX_STARRED_AT_LEN = 40;+const MAX_TOTAL_STARS = 100_000_000;+const MIN_SPEED = 1;+const MAX_SPEED = 4;++const HEX_COLOR = /^#[0-9a-fA-F]{3,8}$/;+const HTTP_URL = /^https?:\/\//i;++const DEFAULT_ACCENT = "#ffbb00";+const DEFAULT_SPEED = 1;+const DEFAULT_THEME: Theme = "light";++// --- Field helpers (pure) --------------------------------------------------++function isPlainObject(v: unknown): v is Record<string, unknown> {+ return typeof v === "object" && v !== null && !Array.isArray(v);+}++function requireString(value: unknown, field: string, maxLen: number): string {+ if (typeof value !== "string") {+ throw new RenderInputError(`"${field}" must be a string`);+ }+ if (value.length === 0) {+ throw new RenderInputError(`"${field}" must not be empty`);+ }+ if (value.length > maxLen) {+ throw new RenderInputError(`"${field}" exceeds ${maxLen} characters`);+ }+ return value;+}++function requireFiniteNumber(value: unknown, field: string): number {+ const n = typeof value === "string" ? Number(value) : value;+ if (typeof n !== "number" || !Number.isFinite(n)) {+ throw new RenderInputError(`"${field}" must be a finite number`);+ }+ return n;+}++function clamp(n: number, min: number, max: number): number {+ return Math.min(max, Math.max(min, n));+}++function parseStargazer(value: unknown, index: number): RenderStargazer {+ if (!isPlainObject(value)) {+ throw new RenderInputError(`stargazers[${index}] must be an object`);+ }+ const login = requireString(value.login, `stargazers[${index}].login`, MAX_LOGIN_LEN);+ const avatarUrl = requireString(+ value.avatarUrl,+ `stargazers[${index}].avatarUrl`,+ MAX_AVATAR_URL_LEN,+ );+ if (!HTTP_URL.test(avatarUrl)) {+ throw new RenderInputError(+ `stargazers[${index}].avatarUrl must be an http(s) URL`,+ );+ }+ const starredAt = requireString(+ value.starredAt,+ `stargazers[${index}].starredAt`,+ MAX_STARRED_AT_LEN,+ );+ return { login, avatarUrl, starredAt };+}++// --- Public entrypoint -----------------------------------------------------++/**+ * Validate + normalize an untrusted request body into render-ready props.+ * Cosmetic fields (accentColor, speed, theme) default when omitted; data fields+ * (repo, totalStars, stargazers, orientation) are required.+ */+export function parseRenderInput(body: unknown): RenderInput {+ if (!isPlainObject(body)) {+ throw new RenderInputError("request body must be a JSON object");+ }++ const repo = requireString(body.repo, "repo", MAX_REPO_LEN);++ const totalStars = Math.floor(+ clamp(requireFiniteNumber(body.totalStars, "totalStars"), 0, MAX_TOTAL_STARS),+ );++ if (!Array.isArray(body.stargazers)) {+ throw new RenderInputError(`"stargazers" must be an array`);+ }+ if (body.stargazers.length > MAX_STARGAZERS) {+ throw new RenderInputError(+ `"stargazers" exceeds the ${MAX_STARGAZERS}-item limit`,+ );+ }+ const stargazers = body.stargazers.map(parseStargazer);++ if (body.orientation !== "horizontal" && body.orientation !== "vertical") {+ throw new RenderInputError(`"orientation" must be "horizontal" or "vertical"`);+ }+ const orientation: Orientation = body.orientation;++ let accentColor = DEFAULT_ACCENT;+ if (body.accentColor !== undefined) {+ accentColor = requireString(body.accentColor, "accentColor", 32);+ if (!HEX_COLOR.test(accentColor)) {+ throw new RenderInputError(`"accentColor" must be a hex color (e.g. #ffbb00)`);+ }+ }++ let speed = DEFAULT_SPEED;+ if (body.speed !== undefined) {+ speed = clamp(requireFiniteNumber(body.speed, "speed"), MIN_SPEED, MAX_SPEED);+ }++ let theme: Theme = DEFAULT_THEME;+ if (body.theme !== undefined) {+ if (body.theme !== "light" && body.theme !== "dark") {+ throw new RenderInputError(`"theme" must be "light" or "dark"`);+ }+ theme = body.theme;+ }++ return { repo, totalStars, stargazers, orientation, accentColor, speed, theme };+}diff --git a/next.config.ts b/next.config.tsindex ed68aba5..ffcba3e1 100644--- a/next.config.ts+++ b/next.config.ts@@ -5,6 +5,16 @@ const withMDX = createMDX();const nextConfig: NextConfig = {reactStrictMode: true,+ // Remotion's server packages are Node-only and ship native binaries (esbuild ++ // the platform-specific @remotion/compositor-*). They must NOT be bundled by+ // Turbopack/webpack — keep them external so they're require()'d at runtime in+ // the /api/render route. Without this the build fails resolving the compositor+ // binaries + reading the esbuild binary as source.+ serverExternalPackages: [+ "@remotion/renderer",+ "@remotion/bundler",+ "esbuild",+ ],turbopack: {root: __dirname,},diff --git a/nixpacks.toml b/nixpacks.tomlnew file mode 100644index 00000000..622770d3--- /dev/null+++ b/nixpacks.toml@@ -0,0 +1,23 @@+# Nixpacks build config for Coolify (default build pack — used unless you switch+# the resource to the Dockerfile build pack).+#+# Nixpacks does NOT install Chromium's system libraries by default, so+# @remotion/renderer can't launch headless Chrome. The aptPkgs below add exactly+# the runtime libs + fonts Remotion needs.+#+# IMPORTANT: the libs alone aren't enough. The Coolify BUILD command must also+# bake in the browser + the Remotion bundle, e.g.:+#+# bun install && bun run build && bunx remotion browser ensure && bun run bundle:remotion+#+# (`remotion browser ensure` downloads the Chrome Headless Shell; `bundle:remotion`+# pre-builds .remotion-bundle/ so the serveUrl is ready at boot.)+# Start command (Coolify UI): bun run start++[phases.setup]+aptPkgs = [+ "ca-certificates","fonts-liberation","libasound2","libatk-bridge2.0-0",+ "libatk1.0-0","libcups2","libdbus-1-3","libdrm2","libgbm1","libgtk-3-0",+ "libnss3","libpango-1.0-0","libxcomposite1","libxdamage1","libxfixes3",+ "libxkbcommon0","libxrandr2"+]diff --git a/package.json b/package.jsonindex 239fd15a..90126fa3 100644--- a/package.json+++ b/package.json@@ -9,6 +9,7 @@"lint": "biome check","format": "biome format --write","registry:build": "shadcn build",+ "bundle:remotion": "bun scripts/bundle-remotion.mts","postinstall": "fumadocs-mdx"},"dependencies": {@@ -16,8 +17,9 @@"@openpanel/nextjs": "^1.0.13","@react-three/fiber": "^9.3.0","@react-three/postprocessing": "^3.0.4",+ "@remotion/bundler": "4.0.473","@remotion/player": "4.0.473",- "@remotion/web-renderer": "4.0.473",+ "@remotion/renderer": "4.0.473","class-variance-authority": "^0.7.1","clsx": "^2.1.1","cmdk": "^1.1.1",@@ -34,6 +36,7 @@"next-themes": "^0.4.6","nuqs": "^2.8.9","ogl": "^1.0.11",+ "p-limit": "^6.2.0","postprocessing": "^6.36.0","react": "19.2.4","react-day-picker": "^9.14.0",@@ -41,6 +44,7 @@"react-resizable-panels": "^4.9.0","recharts": "3.8.0","remotion": "4.0.473",+ "server-only": "^0.0.1","shadcn": "^4.1.2","sonner": "^2.0.7","tailwind-merge": "^3.5.0",diff --git a/scripts/bundle-remotion.mts b/scripts/bundle-remotion.mtsnew file mode 100644index 00000000..c9edb85c--- /dev/null+++ b/scripts/bundle-remotion.mts@@ -0,0 +1,34 @@+import path from "node:path";+import { fileURLToPath } from "node:url";+import { bundle } from "@remotion/bundler";++/**+ * Pre-bundle the Remotion entry into `.remotion-bundle/` so the server has a+ * ready serveUrl at boot (no slow bundle-on-first-render). Baked into the Docker+ * image during build (see Dockerfile) — `lib/server/bundle.ts` returns this dir+ * when present, otherwise it lazily bundles at runtime.+ *+ * Run: `bun run bundle:remotion`+ */++const here = path.dirname(fileURLToPath(import.meta.url));+const root = path.resolve(here, "..");++async function main() {+ const entryPoint = path.join(root, "src", "remotion", "index.ts");+ const outDir = path.join(root, ".remotion-bundle");++ console.log(`Bundling Remotion entry: ${entryPoint}`);+ const serveUrl = await bundle({+ entryPoint,+ outDir,+ // Keep Remotion's defaults; the registry component is plain React + CSS.+ webpackOverride: (config) => config,+ });+ console.log(`Remotion bundle ready at: ${serveUrl}`);+}++main().catch((err) => {+ console.error("Remotion bundle failed:", err);+ process.exit(1);+});diff --git a/src/remotion/Root.tsx b/src/remotion/Root.tsxnew file mode 100644index 00000000..b4780933--- /dev/null+++ b/src/remotion/Root.tsx@@ -0,0 +1,42 @@+import { Composition, registerRoot } from "remotion";+import {+ GitHubStars,+ type GitHubStarsProps,+ SAMPLE_STARGAZERS,+} from "@/registry/remocn/github-stars";++/**+ * Sample props so the composition validates + renders standalone in the Remotion+ * bundle (Studio / pre-render). Real renders override these via `inputProps`.+ */+const DEFAULT_PROPS: GitHubStarsProps = {+ repo: "remotion-dev/remotion",+ totalStars: 24813,+ stargazers: SAMPLE_STARGAZERS,+ orientation: "horizontal",+ accentColor: "#ffbb00",+ speed: 1,+ theme: "light",+};++/**+ * Bundle root. Declares the single `github-stars` composition at full native+ * horizontal quality (1280×720 / 30fps / 300 frames). The server overrides+ * width/height per orientation at render time (see lib/server/render.ts) — one+ * composition, no duplicate vertical entry.+ */+export function RemotionRoot() {+ return (+ <Composition+ id="github-stars"+ component={GitHubStars}+ durationInFrames={300}+ fps={30}+ width={1280}+ height={720}+ defaultProps={DEFAULT_PROPS}+ />+ );+}++registerRoot(RemotionRoot);diff --git a/src/remotion/index.ts b/src/remotion/index.tsnew file mode 100644index 00000000..84502a19--- /dev/null+++ b/src/remotion/index.ts@@ -0,0 +1,4 @@+// Bundler entry point. Importing Root runs `registerRoot(RemotionRoot)`, which+// is what `@remotion/bundler` (and the Remotion CLI) look for. Keep this file+// side-effect-only so the entry stays a stable, single source of truth.+import "./Root";