diff --git a/README.md b/README.md index 9990592..74bd147 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,103 @@ # on-demand-isr -[Vercel's On-Demand ISR](https://github.com/vercel/on-demand-isr) on -**Cloudflare Workers**, deployed by [Orun](https://github.com/sourceplane/orun) to stage -and prod on every merge, and then packaged as an Orun baseline. - -This commit is the repository's frame: `intent.yaml` (with the placeholder -workspace `ws_CHANGE_ME`, so CI plans nothing until it is linked), the Orun -CI workflow, the shared TypeScript and ESLint configuration, and the spec -index. The work is tracked as an epic under [`specs/epics`](specs/epics/README.md). +Vercel's [On-Demand ISR](https://vercel.com/templates/next.js/on-demand-incremental-static-regeneration) +template, [vercel/on-demand-isr](https://github.com/vercel/on-demand-isr) — a +repository's GitHub issues as statically generated pages, each issue a page +with its comments as highlighted Markdown, regenerated on demand when a GitHub +App's webhook says an issue changed (`revalidatePath`) — running on +**Cloudflare Workers + Static Assets** through +[`@opennextjs/cloudflare`](https://opennext.js.org/cloudflare), with the +Next.js page and data cache in an **R2 bucket** provisioned by Terraform +through [Orun](https://github.com/sourceplane/orun) and the tag cache and +revalidation queue in **Durable Objects** the Worker itself exports, deployed by +[Orun](https://github.com/sourceplane/orun) to stage and prod on every merge. +Packaging it as an Orun baseline is the next milestone (OI2). + +A fresh build needs no GitHub App: until its owner connects one, `/` lists +sample issues under a notice that says how — never a 500 — and the webhook +refuses every delivery. The owner connects an App by setting its ID, private +key and webhook secret as Orun secrets and redeploying; the site then lists +its own repository's issues. The Worker is about 1.3 MiB gzipped, inside +Workers Free's 3 MiB. See [`specs/epics/on-demand-isr`](specs/epics/on-demand-isr/README.md) +for the design, the milestones and the as-built status. + +## What is here (the product) + +| Surface | Where | +|---|---| +| The pages: `/` (the issues), `/` (one issue and its comments), `/api/webhook`, `/api/health` | `apps/web/app` | +| The site's name and the repository it lists | `apps/web/app/site.ts` (`SITE_NAME`, `SOURCE_URL`) | +| The GitHub App client (RS256 JWT, installation token, cached reads) and its settings, read per request | `apps/web/lib/github.ts`, `apps/web/lib/settings.ts` | +| What the site shows until an App is connected | `apps/web/lib/sample.ts`, `apps/web/app/connect-notice.tsx` | +| Workers build, cache bindings and deploy contract | `apps/web/next.config.ts`, `open-next.config.ts`, `wrangler.template.jsonc` + `wiring.fixture.json` (→ the committed `wrangler.jsonc`), `component.yaml` | +| The R2 bucket (stage, prod) | `infra/terraform/cloudflare-r2` | +| The wrangler renderer, and the step that puts the App's settings on the Worker | `tooling/wire` | +| Tests | `tests/web` (the seam, the settings, the App's JWT and token against an in-process GitHub, the webhook's signature check, the pages rendered) | + +## Getting started + +```bash +pnpm install +pnpm run wire:fixture # render apps/web/wrangler.jsonc from the offline fixture +pnpm typecheck +pnpm lint +pnpm test +pnpm build # next build + opennextjs-cloudflare build → apps/web/.open-next +``` + +```bash +pnpm --filter @app/web dev # http://localhost:3000, Next's dev server +pnpm --filter @app/web preview # wrangler dev over the built Worker, a local R2 bucket and local Durable Objects +``` + +With no App settings both serve the sample issues. To run against an App, put +its three settings in `apps/web/.env.local` (from `apps/web/.env.example`). +Offline, `testing/lib/fake-github.mjs` answers the App and Issues APIs for one +repository (it checks every JWT with the App's public key), and +`testing/e2e.test.sh` serves the built Worker against it through a test-only +entry, `testing/lib/e2e-worker.mjs`. + +## How it maps to Vercel + +| Vercel | Here | +|---|---| +| Next.js hosting (SSR, route handlers, ISR) | One Cloudflare Worker (`.open-next/worker.js`) + Static Assets (`ASSETS`) | +| `"use cache"` (`experimental.useCache`), its default lifetime | Kept as written: pages and GitHub reads cached, refreshed in the background after 15 minutes | +| The ISR and Data Cache | The R2 bucket bound as `NEXT_INC_CACHE_R2_BUCKET`, keyed by the build | +| `revalidatePath` | A sharded Durable Object tag cache (`NEXT_TAG_CACHE_DO_SHARDED`) consulted on every cache read | +| Stale-while-revalidate | A Durable Object queue (`NEXT_CACHE_DO_QUEUE`) that re-renders stale entries through the Worker's `WORKER_SELF_REFERENCE` binding | +| Image Optimization | Off (`images.unoptimized`): avatars come from GitHub's image host | +| `GITHUB_APP_ID`, `GITHUB_APP_PK_PEM`, `GITHUB_WEBHOOK_SECRET` | Orun secrets each deploy puts on the Worker, read per request; the build never sees them. Without the first two the sample issues; without the third the webhook answers 503 (upstream keyed its HMAC with an empty string) | +| The `nextjs/on-demand-isr` repository, the `nextjs` installation | The product's own repository (`SOURCE_URL`) and its owner's installation | +| Deploy on push | Orun applies the bucket and deploys `-web-{stage,prod}` on merge to `main` (`apps/web/component.yaml`) | +| "Deploy with Vercel" (clone the template) | `orun new --blueprint repo-blueprint.yaml` — a new repository, branded, deployed | + +Next.js moves from 15.3.6 to 15.5.29, the floor of the 15 line +`@opennextjs/cloudflare` 1.20.16 accepts. The epic's +[IMPLEMENTATION-STATUS](specs/epics/on-demand-isr/IMPLEMENTATION-STATUS.md) +lists every departure and its evidence. + +## How the bucket reaches the Worker + +``` +infra/terraform/cloudflare-r2 ──apply (r2-data token)──► orun secret WIRING_CLOUDFLARE_R2 (stage, prod) + │ (each deploy resolves it as it starts; + │ a missing one fails the lane) + ▼ +apps/web dependsOn cloudflare-r2 (enforced on main) · secretEnv WIRING_CLOUDFLARE_R2_ + build: tooling/wire/live.mjs → wrangler.jsonc with the environment's bucket name + (dev, verify-only, renders the fixture) → next build (no App settings: env -u) + → opennextjs-cloudflare → tooling/wire/worker-secrets.mjs puts the App's settings on the Worker + deploy: workers-deploy token → -web-, its Durable Objects migrated on first deploy +``` + +`wrangler.jsonc` is committed as the fixture render of +`wrangler.template.jsonc`, because the deploy lane's `verify-app-structure` +step checks the config exists before it builds; `testing/e2e.test.sh` fails +if the two disagree. + +## CI + +| Workflow | What it runs | Ships to a product | +|---|---|---| +| `ci.yml` | the Orun pipeline, and the only workflow a product carries: `orun plan --changed`, then one job per lane. A pull request runs the verify lanes (the R2 root planned for stage and prod, the site built and dry-deployed per environment; they neither lint nor run the tests, which `baseline.yml`'s e2e tier runs before every tag), except the bootstrap's own landings (`orun/BASE-*`), where `plan` alone runs and nothing waits for it (the landing checked its commit in the box); a merge applies the R2 bucket, then deploys stage → prod. It plans nothing while `intent.yaml` names the placeholder workspace `ws_CHANGE_ME`, as this repository does. A manual run (Orunbase's Deploy button, or Run workflow on `main`) plans the environment and components it names under the push-to-main trigger, so they deploy as a merge deploys them | yes | diff --git a/apps/web/.env.example b/apps/web/.env.example new file mode 100644 index 0000000..57357fa --- /dev/null +++ b/apps/web/.env.example @@ -0,0 +1,10 @@ +# Local settings for `pnpm dev` (copy to .env.local) — a deployed site reads +# these from the environment's Orun secrets instead (component.yaml), pushed to +# the Worker after the build. Left empty, the page lists sample issues and says +# how to connect a GitHub App. +# +# The GitHub App: its ID, its private key (the .pem GitHub downloads, with +# newlines kept or written as \n), and the webhook secret you gave it. +GITHUB_APP_ID="" +GITHUB_APP_PK_PEM="" +GITHUB_WEBHOOK_SECRET="" diff --git a/apps/web/.gitignore b/apps/web/.gitignore new file mode 100644 index 0000000..74ceb62 --- /dev/null +++ b/apps/web/.gitignore @@ -0,0 +1,49 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage +.playwright + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env* +!.env.example + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts +.env*.local + +# editors +.cursor + +# Cloudflare Workers: OpenNext's build, wrangler's local state and secrets +/.open-next/ +/.wrangler/ +/.turbo/ +.dev.vars +.dev.vars.* diff --git a/apps/web/LICENSE.md b/apps/web/LICENSE.md new file mode 100644 index 0000000..b3ddd8d --- /dev/null +++ b/apps/web/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Vercel + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/apps/web/README.md b/apps/web/README.md new file mode 100644 index 0000000..7cf3285 --- /dev/null +++ b/apps/web/README.md @@ -0,0 +1,44 @@ +# apps/web — the site + +Vercel's On-Demand ISR template (MIT, `LICENSE.md`) on Cloudflare Workers + +Static Assets: the repository's GitHub issues as pages, read through a GitHub +App and cached with `"use cache"`, regenerated by the App's webhook through +`revalidatePath`. The upstream pages, explanation and stylesheet are kept; +what this app adds is the Workers build, the cache bindings, the repository +taken from the site's own seam, sample issues while no App is connected, a +webhook that stays shut without its secret, and `/api/health`. + +- `app/` — the pages: `/` (the issues, under the template's explanation) and + `[id]` (one issue and its comments, Markdown by `marked`, code by + `highlight.js`), `api/webhook` (GitHub's deliveries) and `api/health` +- `app/site.ts` — the site's name and the repository it lists (`SOURCE_URL`) +- `lib/github.ts` — the template's GitHub App client: its RS256 JWT + (`jsonwebtoken`), the installation token, the cached reads +- `lib/settings.ts` — the App's three settings, read per request, and + whether it is connected +- `lib/sample.ts`, `app/connect-notice.tsx` — what the site shows until an + App is connected +- `styles/` — the template's stylesheet (`Home.module.scss`, compiled by + `sass` at build) and its globals + +```bash +pnpm dev # next dev on http://localhost:3000 +pnpm build # next build + opennextjs-cloudflare build → .open-next/ +pnpm preview # wrangler dev over the built Worker: a local R2 bucket, local Durable Objects +``` + +The cache's bucket is not hand-written. `wrangler.template.jsonc` names it as +a wiring token; `wrangler.jsonc` is that template rendered from +`wiring.fixture.json` (placeholder names, for local work and verification), +and every deploy renders it again from the name the `cloudflare-r2` Terraform +root published for the environment (`component.yaml`'s `buildCommand`). + +## The GitHub App + +| `GITHUB_APP_ID` and `GITHUB_APP_PK_PEM` | `/` and `/` | `/api/webhook` | +| --- | --- | --- | +| unset (a fresh deploy) | the sample issues, under a notice that says how to connect an App | 503 until `GITHUB_WEBHOOK_SECRET` is set; then 400 to any delivery whose signature does not match | +| set (put on the Worker by the deploy) | the repository's issues, cached in R2 (`"use cache"`) | a signed delivery revalidates `/` and the issue's page | + +Connecting an App is three Orun secrets and a redeploy — the repository's +README, "Connecting a GitHub App". diff --git a/apps/web/app/[id]/layout.tsx b/apps/web/app/[id]/layout.tsx new file mode 100644 index 0000000..b89e307 --- /dev/null +++ b/apps/web/app/[id]/layout.tsx @@ -0,0 +1,52 @@ +import styles from '../../styles/Home.module.scss'; +import Link from 'next/link'; +import { GitHubIcon, LinkIcon } from '../icons'; +import Explanation from '../explanation'; +import { OWNER, REPO, SOURCE_URL } from '../site'; + +export default async function IssueLayout({ + children, + params +}: { + children: React.ReactNode; + params: Promise<{ id: string }>; +}) { + const id = (await params).id; + + return ( +
+ + +
+
+ {' '} + + {OWNER} + {' '} + / {REPO} /{' '} + + #{id} + +
+ +
+ {children} +
+ ); +} diff --git a/apps/web/app/[id]/page.tsx b/apps/web/app/[id]/page.tsx new file mode 100644 index 0000000..d70ae98 --- /dev/null +++ b/apps/web/app/[id]/page.tsx @@ -0,0 +1,184 @@ +import Image from "next/image"; +import { Marked } from "marked"; +import { markedHighlight } from "marked-highlight"; +import hljs from "highlight.js"; +import styles from "../../styles/Home.module.scss"; +import { fetchIssuePageData } from "../../lib/github"; +import avatar from "../avatar.png"; +import { Time } from "../time-ago"; +import ConnectNotice from "../connect-notice"; + +interface Comment { + html_url: string; + id: number; + user: { + login: string; + avatar_url?: string; + }; + created_at: string; + body: string; +} + +export function generateStaticParams() { + return []; +} + +function markdownToHtml( + markdown: string +) { + if (!markdown) { + return ""; + } + + const marked = new Marked( + markedHighlight({ + langPrefix: "hljs language-", + highlight(code, lang) { + const language = + hljs.getLanguage(lang) + ? lang + : "plaintext"; + return hljs.highlight(code, { + language, + }).value; + }, + }) + ); + + return marked.parse( + markdown + ) as string; +} + +export default async function IssuePage({ + params, +}: { + params: Promise<{ id: string }>; +}) { + const id = (await params).id; + const { issue, comments, connected } = + await fetchIssuePageData(id); + + // Filter out comments that contain "bot" in the title + const filteredComments = + comments.filter( + (comment) => + !comment.user.login + .toLowerCase() + .includes("bot") + ); + + return ( + + ); +} diff --git a/apps/web/app/api/health/route.ts b/apps/web/app/api/health/route.ts new file mode 100644 index 0000000..9101dce --- /dev/null +++ b/apps/web/app/api/health/route.ts @@ -0,0 +1,12 @@ +import { isConnected } from '../../../lib/settings'; + +// The deploy's smoke check, and a quick way to tell whether the GitHub App is +// connected: the Worker answers it (no static file can), and it calls nothing. +export function GET() { + return Response.json( + { ok: true, connected: isConnected() }, + { headers: { 'cache-control': 'no-store' } } + ); +} + +export const dynamic = 'force-dynamic'; diff --git a/apps/web/app/api/webhook/route.ts b/apps/web/app/api/webhook/route.ts new file mode 100644 index 0000000..3741ce5 --- /dev/null +++ b/apps/web/app/api/webhook/route.ts @@ -0,0 +1,59 @@ +import crypto from 'crypto'; +import { revalidatePath } from 'next/cache'; +import { setting } from '../../../lib/settings'; + +export async function POST(request: Request) { + // No secret, no webhook: the template keyed its HMAC with '' when the secret + // was unset, which anyone can compute. Until GITHUB_WEBHOOK_SECRET is set, + // nothing may revalidate the pages. + const secret = setting('GITHUB_WEBHOOK_SECRET'); + if (!secret) { + return new Response('Webhook not configured: set GITHUB_WEBHOOK_SECRET.', { + status: 503, + }); + } + + try { + const text = await request.text(); + + const signature = crypto + .createHmac('sha256', secret) + .update(text) + .digest('hex'); + + const trusted = Buffer.from(`sha256=${signature}`, 'ascii'); + const untrusted = Buffer.from( + request.headers.get('x-hub-signature-256') || '', + 'ascii' + ); + + if (!crypto.timingSafeEqual(trusted, untrusted)) { + console.log('[Next.js] Invalid signature.', { + trusted: trusted.toString('hex'), + untrusted: untrusted.toString('hex'), + }); + return new Response('Invalid signature.', { + status: 400, + }); + } + + const payload = JSON.parse(text); + const issueNumber = payload.issue?.number; + + console.log('[Next.js] Revalidating /'); + revalidatePath('/'); + + if (issueNumber) { + console.log(`[Next.js] Revalidating /${issueNumber}`); + revalidatePath(`/${issueNumber}`); + } + } catch (error) { + return new Response(`Webhook error: ${error.message}`, { + status: 400, + }); + } + + return new Response('Success!', { + status: 200, + }); +} diff --git a/apps/web/app/avatar.png b/apps/web/app/avatar.png new file mode 100644 index 0000000..7bdd0e0 Binary files /dev/null and b/apps/web/app/avatar.png differ diff --git a/apps/web/app/connect-notice.tsx b/apps/web/app/connect-notice.tsx new file mode 100644 index 0000000..2112947 --- /dev/null +++ b/apps/web/app/connect-notice.tsx @@ -0,0 +1,16 @@ +import styles from '../styles/Home.module.scss'; +import { REPOSITORY, SOURCE_URL } from './site'; + +// Shown above the sample issues until a GitHub App is connected +// (lib/settings.ts): what the page will list, and where the steps are. +export default function ConnectNotice() { + return ( +

+ These are sample issues: no GitHub App is connected yet.{' '} + + Connect one + {' '} + to list the issues of {REPOSITORY} here. +

+ ); +} diff --git a/apps/web/app/explanation.tsx b/apps/web/app/explanation.tsx new file mode 100644 index 0000000..68f1be3 --- /dev/null +++ b/apps/web/app/explanation.tsx @@ -0,0 +1,86 @@ +import styles from '../styles/Home.module.scss'; +import { REPO, SOURCE_URL } from './site'; + +export default function Explanation() { + return ( +
+

+ This app demonstrates *On-Demand ISR support* in Next.js ( + + view source + + ). +

+ +
+ + How does this work? + +

+ When issues on the ` + + {REPO} + + ` repo change (get created, commented on, deleted, etc), GitHub fires + off a webhook and the impacted pages get re-rendered and cached again, + on demand. The webhook on the Next.js app side executes a new{' '} + + `revalidatePath()` + {' '} + API call. +

+
+ +
+ + Didn't this exist already? + + +

+ Unlike `revalidate`{' '} + + with a time interval + + , the Worker calls GitHub{' '} + _only when content changes_, making it faster for the user + (they see changes immediately), and more cost-efficient for owners. +

+
+ +

+ + _💡 Try{' '} + + creating a new issue + {' '} + or commenting, and refresh this page to see the regenerated one!_ + {' '} +
+ + A regenerated page is cached in *R2* and served from there + until the next change. + +

+
+ ); +} diff --git a/apps/web/app/favicon.ico b/apps/web/app/favicon.ico new file mode 100644 index 0000000..718d6fe Binary files /dev/null and b/apps/web/app/favicon.ico differ diff --git a/apps/web/app/icons.tsx b/apps/web/app/icons.tsx new file mode 100644 index 0000000..98e3874 --- /dev/null +++ b/apps/web/app/icons.tsx @@ -0,0 +1,95 @@ +import styles from '../styles/Home.module.scss'; + +export function StarIcon() { + return ( + + + + ); +} + +export function ForkIcon() { + return ( + + + + + + ); +} + +export function GitHubIcon() { + return ( + + + + ); +} + +export function IssueIcon() { + return ( + + ); +} + +export function CommentIcon() { + return ( + + + + ); +} + +export function LinkIcon() { + return ( + + + + + ); +} diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx new file mode 100644 index 0000000..76df196 --- /dev/null +++ b/apps/web/app/layout.tsx @@ -0,0 +1,19 @@ +import '../styles/globals.css'; +import { SITE_NAME } from './site'; + +export const metadata = { + title: SITE_NAME, + description: 'On-demand incremental static regeneration with Next.js, on Cloudflare Workers.', +}; + +export default function RootLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + + {children} + + ); +} diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsx new file mode 100644 index 0000000..8e9f650 --- /dev/null +++ b/apps/web/app/not-found.tsx @@ -0,0 +1,3 @@ +export default function NotFound() { + return
404: Not Found
; +} diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx new file mode 100644 index 0000000..958a94c --- /dev/null +++ b/apps/web/app/page.tsx @@ -0,0 +1,83 @@ +import styles from '../styles/Home.module.scss'; +import Link from 'next/link'; +import { + CommentIcon, + IssueIcon, + StarIcon, + ForkIcon, + GitHubIcon +} from './icons'; +import { fetchIssueAndRepoData } from '../lib/github'; +import Explanation from './explanation'; +import { Time } from './time-ago'; +import ConnectNotice from './connect-notice'; +import { OWNER, REPO, SOURCE_URL } from './site'; + +export default async function Page() { + const { issues, forks_count, stargazers_count, connected } = + await fetchIssueAndRepoData(); + + return ( +
+ + {!connected && } + +
+ {issues.map((issue: any) => ( + + ))} +
+
+ ); +} + +function IssueLink({ issue }: { issue: any }) { + return ( + +
+ +
+
{issue.title}
+
+ {`#${issue.number} opened `} + {` by ${issue.user.login}`} +
+
+
+
+
+ + ); +} diff --git a/apps/web/app/site.ts b/apps/web/app/site.ts new file mode 100644 index 0000000..345ac3f --- /dev/null +++ b/apps/web/app/site.ts @@ -0,0 +1,13 @@ +// The site's identity, written once. The page title reads SITE_NAME; the +// repository the page lists the issues of — and every link to it — is +// SOURCE_URL. Instantiating the site under a new name rewrites both to that +// name and its own repository, so keep them literal and on one line each. +// prettier-ignore +export const SITE_NAME = "On-Demand Incremental Static Regeneration"; +// prettier-ignore +export const SOURCE_URL = "https://github.com/sourceplane/on-demand-isr"; + +// "owner/name", read from SOURCE_URL: the repository whose issues the page +// shows, and whose owner's GitHub App installation reads them. +export const REPOSITORY = SOURCE_URL.replace("https://github.com/", ""); +export const [OWNER, REPO] = REPOSITORY.split("/") as [string, string]; diff --git a/apps/web/app/time-ago.tsx b/apps/web/app/time-ago.tsx new file mode 100644 index 0000000..917f9b1 --- /dev/null +++ b/apps/web/app/time-ago.tsx @@ -0,0 +1,64 @@ +'use client'; + +import { useState, useEffect } from 'react'; + +function formatDate(date: string) { + const currentDate = new Date().getTime(); + const targetDate = new Date(date).getTime(); + const timeDifference = currentDate - targetDate; + + const seconds = Math.floor(timeDifference / 1000); + const minutes = Math.floor(seconds / 60); + const hours = Math.floor(minutes / 60); + const days = Math.floor(hours / 24); + const weeks = Math.floor(days / 7); + const months = Math.floor(days / 30); + const years = Math.floor(days / 365); + + if (seconds < 2) { + return '1 second ago'; + } else if (seconds < 60) { + return `${seconds} seconds ago`; + } else if (minutes < 2) { + return '1 minute ago'; + } else if (minutes < 60) { + return `${minutes} minutes ago`; + } else if (hours < 2) { + return '1 hour ago'; + } else if (hours < 24) { + return `${hours} hours ago`; + } else if (days < 2) { + return '1 day ago'; + } else if (days < 7) { + return `${days} days ago`; + } else if (weeks < 2) { + return '1 week ago'; + } else if (weeks < 4) { + return `${weeks} weeks ago`; + } else if (months < 2) { + return '1 month ago'; + } else if (months < 12) { + return `${months} months ago`; + } else if (years < 2) { + return '1 year ago'; + } else { + return `${years} years ago`; + } +} + +export function Time({ time }: { time: string }) { + const [formattedDate, setFormattedDate] = useState(''); + + useEffect(() => { + const updateTime = () => { + setFormattedDate(formatDate(time)); + }; + + updateTime(); + const interval = setInterval(updateTime, 1000); + + return () => clearInterval(interval); + }, [time]); + + return {formattedDate}; +} diff --git a/apps/web/cloudflare-env.d.ts b/apps/web/cloudflare-env.d.ts new file mode 100644 index 0000000..00916f2 --- /dev/null +++ b/apps/web/cloudflare-env.d.ts @@ -0,0 +1,20 @@ +// The Worker's environment as the app reads it through getCloudflareContext() +// (lib/settings.ts). `wrangler types` would generate this from wrangler.jsonc; +// it is kept by hand so the build needs no rendered config. The GitHub App's +// three settings are optional Worker secrets: absent until the owner connects +// an App. +declare global { + interface CloudflareEnv { + ASSETS: { + fetch( + input: string | URL | Request, + init?: RequestInit, + ): Promise; + }; + GITHUB_APP_ID?: string; + GITHUB_APP_PK_PEM?: string; + GITHUB_WEBHOOK_SECRET?: string; + } +} + +export {}; diff --git a/apps/web/component.yaml b/apps/web/component.yaml new file mode 100644 index 0000000..5493a7a --- /dev/null +++ b/apps/web/component.yaml @@ -0,0 +1,143 @@ +apiVersion: sourceplane.io/v1 +kind: Component +metadata: + name: web + description: The on-demand ISR site (Next.js on Cloudflare Workers + Static Assets via @opennextjs/cloudflare, per environment; R2 + Durable Objects as the Next.js cache; a GitHub App's webhook regenerates the pages; sample issues until an App is connected) +spec: + type: cloudflare-workers-assets-turbo + lifecycle: production + owner: platform + # Its pages, attached to it in the workspace's catalog: what the Docs + # library shows for it, and what the catalog's docs and runbook checks read. + # Generated from what this manifest and its sources declare. + docs: + overview: docs/overview.md + pages: + - { path: docs/architecture.md, role: architecture, title: Architecture } + - { path: docs/runbook.md, role: runbook, title: Runbook } + # `app`, not `web`: a domain and a component share one name space in the + # catalog, and a domain called `web` hid this component from it. + domain: app + path: apps/web + # Its own lane per environment: the Next.js build is the longest job in the + # plan, and a shared lane would wait on it. + lane: isolated + # INFRA BEFORE APP. The R2 bucket is the Worker's incremental cache, bound + # by name, and the name is rendered into its config during the build from + # the wiring document the cloudflare-r2 root lease-publishes after its + # apply. A job resolves its secrets when it STARTS, so on a merge to main + # this deploy waits for that environment's apply (enforced) and the document + # is there; a pull request deploys nothing, so nothing on one waits + # (advisory). The Durable Objects (tag cache, revalidation queue) need no + # root — the Worker exports their classes and the migration creates them on + # deploy. + dependsOn: + - component: cloudflare-r2 + mode: enforced + modeRules: + - mode: advisory + when: + triggerRef: github-pull-request + secretEnv: + WIRING_CLOUDFLARE_R2_STAGE: "secret://on-demand-isr/on-demand-isr/stage/WIRING_CLOUDFLARE_R2" + WIRING_CLOUDFLARE_R2_PROD: "secret://on-demand-isr/on-demand-isr/prod/WIRING_CLOUDFLARE_R2" + # The GitHub App, connected after the build by its owner, per environment: + # its ID, its private key and its webhook secret. None of them reaches the + # build (buildCommand below): the deploy hands all three to the Worker as + # secrets, read per request (lib/settings.ts), so connecting an App is + # setting them and redeploying. Until the first two are set — every fresh + # product — the page lists sample issues and says how to connect one; until + # the third is, app/api/webhook refuses every delivery (the README's + # "Connecting a GitHub App"). + optionalSecretEnv: + GITHUB_APP_ID: "secret://on-demand-isr/on-demand-isr/{{ .environment }}/GITHUB_APP_ID" + GITHUB_APP_PK_PEM: "secret://on-demand-isr/on-demand-isr/{{ .environment }}/GITHUB_APP_PK_PEM" + GITHUB_WEBHOOK_SECRET: "secret://on-demand-isr/on-demand-isr/{{ .environment }}/GITHUB_WEBHOOK_SECRET" + subscribe: + environments: + - name: dev + profile: verify + - name: stage + profile: verify + profileRules: + - profile: deploy + when: + triggerRef: github-push-main + - name: prod + profile: verify + profileRules: + - profile: deploy + when: + triggerRef: github-push-main + # How the site runs itself for orun.work's live Preview tab + # (saas-parallel-baselining PB4): `orun preview` starts this, and a coding + # session keeps it running while it works, so the person watches it change + # as it is built. The dev server binds the box's loopback only, on a fixed + # port, and installs first, so a checkout the session has not installed yet + # still comes up. + # It installs only this app's packages and runs `next dev` alone, with its + # heap capped: the box is shared with the agent. It holds no GitHub App: + # the App's settings are Orun secrets only a deploy hands to its Worker, so + # the preview lists the sample issues, as a fresh product does. + preview: + run: + - sh + - -c + - pnpm install --frozen-lockfile --prefer-offline --filter "@app/web..." && exec node_modules/.bin/next dev -H 127.0.0.1 -p 3000 + port: 3000 + path: / + env: + NODE_OPTIONS: --max-old-space-size=1024 + NEXT_TELEMETRY_DISABLED: "1" + parameters: + nodeVersion: "22" + pnpmVersion: "10.12.1" + + workspaceDir: ../.. + appDir: . + + turboFilter: "@app/web" + wranglerConfig: wrangler.jsonc + + # @opennextjs/cloudflare emits a Worker entrypoint plus a static-assets + # directory bound via ASSETS — both deploy in one `wrangler deploy`. + workerEntrypoint: .open-next/worker.js + assetsDir: .open-next/assets + + # Per-env worker name: on-demand-isr-web-{dev,stage,prod}. The rendered + # wrangler.jsonc names the same Worker (its self-reference binding needs it). + workerName: on-demand-isr-web + environmentAwareWorkerName: true + + # The account's workers.dev subdomain; exported to the smoke step as + # ${WORKERS_DEV_SUBDOMAIN} and used to build ${DEPLOYED_URL}. + workersDevSubdomain: your-workers-subdomain + + installCommand: pnpm install --frozen-lockfile + # Render this environment's wrangler config, then build. stage and prod + # render from the wiring document their cloudflare-r2 apply published + # (secretEnv above, resolved before the job's first step); dev, which no + # root applies to and which only verifies, renders from the committed + # fixture. The committed wrangler.jsonc (the fixture render) is what the + # composition's verify-app-structure step finds before this runs. The + # GitHub App's settings never reach the build (`env -u`), so no bundle + # carries them and the build renders nothing from GitHub; on a deploy + # lane they then go to the Worker as SECRETS + # (tooling/wire/worker-secrets.mjs: `wrangler secret bulk` over stdin; a + # verify lane holds no Cloudflare credential and pushes nothing). + buildCommand: node ../../tooling/wire/live.mjs --template wrangler.template.jsonc --out wrangler.jsonc --components cloudflare-r2 --env "${ORUN_ENVIRONMENT}" --fixture wiring.fixture.json --fixture-envs dev && env -u GITHUB_APP_ID -u GITHUB_APP_PK_PEM -u GITHUB_WEBHOOK_SECRET pnpm exec turbo run build --filter=@app/web && node ../../tooling/wire/worker-secrets.mjs --secret GITHUB_APP_ID --secret GITHUB_APP_PK_PEM --secret GITHUB_WEBHOOK_SECRET --worker "on-demand-isr-web-${ORUN_ENVIRONMENT}" --config wrangler.jsonc + + # Smoke: the site answers (`/` lists the repository's issues, or the + # sample issues before an App is connected), and the Worker itself answers + # /api/health, which no static file can. Not the site's name: that is the + # owner's to change, and HTML-escaped when it carries an `&` or `'`. Not an + # issue either: before an App is connected there is none of the + # repository's, and a connected repository may have none. Buffered before + # grep so an early match cannot SIGPIPE curl. It never posts to the + # webhook. + smokeCommand: 'curl -sfL -o /dev/null "${DEPLOYED_URL}/" && health=$(curl -sf "${DEPLOYED_URL}/api/health") && echo "${health}" | grep -q "\"ok\":true"' + labels: + team: platform + layer: delivery + surface: web + runtime: cloudflare diff --git a/apps/web/docs/architecture.md b/apps/web/docs/architecture.md new file mode 100644 index 0000000..0226894 --- /dev/null +++ b/apps/web/docs/architecture.md @@ -0,0 +1,36 @@ +# web — architecture + +Built by the turbo pipeline from `apps/web` and deployed with wrangler. + +| | | +| ------------------- | ----------------------------------------------- | +| Worker config | `apps/web/wrangler.template.jsonc` | +| Entry | `.open-next/worker.js` | +| Compatibility date | `2026-10-01` | +| Compatibility flags | `nodejs_compat`, `global_fetch_strictly_public` | + +## Bindings + +| Binding | Kind | Source | +| --------------------------- | --------------- | ------------------------------------- | +| `NEXT_INC_CACHE_R2_BUCKET` | R2 bucket | `r2_bucket_name` from `cloudflare-r2` | +| `NEXT_CACHE_DO_QUEUE` | Durable Object | class `DOQueueHandler` | +| `NEXT_TAG_CACHE_DO_SHARDED` | Durable Object | class `DOShardedTagCache` | +| `WORKER_SELF_REFERENCE` | Service binding | Worker `on-demand-isr-web-__ENV__` | +| `ASSETS` | Static assets | `.open-next/assets` | + +Identifiers marked _from_ a component are filled in at deploy time from +that component's published outputs for the environment being deployed. + +## Wiring + +Resolved at deploy time from secrets the infrastructure lanes publish (names only): + +- `WIRING_CLOUDFLARE_R2_PROD` +- `WIRING_CLOUDFLARE_R2_STAGE` + +## Secrets resolved by the lane (names only) + +- `GITHUB_APP_ID` (optional) +- `GITHUB_APP_PK_PEM` (optional) +- `GITHUB_WEBHOOK_SECRET` (optional) diff --git a/apps/web/docs/overview.md b/apps/web/docs/overview.md new file mode 100644 index 0000000..51697e8 --- /dev/null +++ b/apps/web/docs/overview.md @@ -0,0 +1,20 @@ +# web + +The on-demand ISR site (Next.js on Cloudflare Workers + Static Assets via @opennextjs/cloudflare, per environment; R2 + Durable Objects as the Next.js cache; a GitHub App's webhook regenerates the pages; sample issues until an App is connected) + +A Cloudflare Worker with Static Assets (server rendering plus static files), deployed per environment by its CI lane. + +| | | +| ------------ | ------------------------------------------------------------------------------------------------------------------ | +| Type | `cloudflare-workers-assets-turbo` | +| Source | `apps/web` | +| Package | `@app/web` | +| Environments | `dev`: `verify` · `stage`: `verify`, `deploy` on a push to `main` · `prod`: `verify`, `deploy` on a push to `main` | + +## Depends on + +- **cloudflare-r2** — Provisions the Cloudflare R2 bucket the app binds (stage and prod) + +## Depended on by + +- (none) diff --git a/apps/web/docs/runbook.md b/apps/web/docs/runbook.md new file mode 100644 index 0000000..7b60b0d --- /dev/null +++ b/apps/web/docs/runbook.md @@ -0,0 +1,40 @@ +# web — runbook + +## How it runs + +Pull requests verify it; a merge to `main` deploys it to `stage`, `prod`. +CI plans what changed (`orun plan --changed`) and runs each lane with `orun run`; +the plan orders a component after everything it depends on. + +## Local commands + +```bash +pnpm --filter @app/web dev +pnpm --filter @app/web build +pnpm --filter @app/web typecheck +pnpm --filter @app/web lint +pnpm --filter @app/web preview +``` + +## Verify + +After a deploy the lane runs this smoke against the environment it +deployed (`ORUN_ENVIRONMENT`); `DEPLOYED_URL` overrides the URL: + +```bash +curl -sfL -o /dev/null "${DEPLOYED_URL}/" && health=$(curl -sf "${DEPLOYED_URL}/api/health") && echo "${health}" | grep -q "\"ok\":true" +``` + +## Rollback + +Revert the commit on `main`. The next convergence applies the previous desired +state; nothing was changed out of band, so there is nothing else to undo. + +## Common failures + +- **A `WIRING_*` secret is missing at deploy**: an infrastructure lane upstream + has not applied for this environment yet. Within one convergence the plan + runs it first; on its own, re-run that lane. +- **The smoke fails right after a first deploy**: a new workers.dev route can + answer 4xx for a few seconds and the lane retries. A failure that persists + is a regression in the deployed code. diff --git a/apps/web/eslint.config.mjs b/apps/web/eslint.config.mjs new file mode 100644 index 0000000..4eda392 --- /dev/null +++ b/apps/web/eslint.config.mjs @@ -0,0 +1,7 @@ +// Upstream ships no ESLint config; the port lints with the workspace's shared +// config, as the commerce baselines do. The template's GitHub responses are +// typed `any` (a warning there), and its pages log what they fetch, as +// written. +import config from "../../tooling/eslint/index.js"; + +export default [...config]; diff --git a/apps/web/lib/github.ts b/apps/web/lib/github.ts new file mode 100644 index 0000000..e33d52e --- /dev/null +++ b/apps/web/lib/github.ts @@ -0,0 +1,157 @@ +import 'server-only'; +import jwt from 'jsonwebtoken'; +import { notFound } from 'next/navigation'; +import { OWNER, REPOSITORY } from '../app/site'; +import { SAMPLE_COMMENTS, SAMPLE_ISSUES } from './sample'; +import { isConnected, setting } from './settings'; + +let accessToken; + +async function getAccessToken(installationId: number, token: string) { + const data = await fetchGitHub( + `/app/installations/${installationId}/access_tokens`, + token, + { method: 'POST' } + ); + return data.token; +} + +function getGitHubJWT() { + if (!setting('GITHUB_APP_ID') || !setting('GITHUB_APP_PK_PEM')) { + throw new Error( + 'GITHUB_APP_ID and GITHUB_APP_PK_PEM must be set (Orun secrets, or .env.local for next dev)' + ); + } + + return jwt.sign( + { + iat: Math.floor(Date.now() / 1000) - 60, + iss: setting('GITHUB_APP_ID'), + exp: Math.floor(Date.now() / 1000) + 60 * 10 // 10 minutes is the max + }, + setting('GITHUB_APP_PK_PEM'), + { + algorithm: 'RS256' + } + ); +} + +async function getInstallation(token: string) { + const installations = await fetchGitHub('/app/installations', token); + return installations.find( + (i: any) => i.account.login.toLowerCase() === OWNER.toLowerCase() + ); +} + +function createGitHubRequest(path: string, token: string, opts: any = {}) { + return fetch(`https://api.github.com${path}`, { + ...opts, + headers: { + ...opts.headers, + Authorization: `Bearer ${token}`, + 'Content-Type': 'application/json', + Accept: 'application/vnd.github.v3+json' + } + }); +} + +export async function fetchGitHub(path: string, token: string, opts: any = {}) { + let req = await createGitHubRequest(path, token, opts); + + if (req.status === 401) { + // JWT has expired, cache a new token + await setAccessToken(); + // Retry request with new cached access token + req = await createGitHubRequest(path, accessToken, opts); + } + + return req.json(); +} + +export async function readAccessToken() { + // check if exists + if (!accessToken) { + await setAccessToken(); + } + + return accessToken; +} + +export async function setAccessToken() { + const jwt = getGitHubJWT(); + const installation = await getInstallation(jwt); + if (!installation) { + throw new Error( + `The GitHub App has no installation for ${OWNER}: install it on ${REPOSITORY}` + ); + } + accessToken = await getAccessToken(installation.id, jwt); + + return accessToken; +} + +export async function fetchIssueAndRepoData() { + 'use cache'; + + if (!isConnected()) { + console.log('[Next.js] No GitHub App connected: sample issues for /'); + return { issues: SAMPLE_ISSUES, stargazers_count: 0, forks_count: 0, connected: false }; + } + + const [issues, repoDetails] = await Promise.all([ + fetchGitHub(`/repos/${REPOSITORY}/issues`, accessToken), + fetchGitHub(`/repos/${REPOSITORY}`, accessToken) + ]); + + console.log('[Next.js] Fetching data for /'); + console.log(`[Next.js] Issues: ${issues.length}`); + + return { + issues, + stargazers_count: repoDetails.stargazers_count, + forks_count: repoDetails.forks_count, + connected: true + }; +} + +export async function fetchIssuePageData(id: string) { + 'use cache'; + + if (!isConnected()) { + const issue = SAMPLE_ISSUES.find((i) => String(i.number) === id); + if (!issue) { + notFound(); + } + return { + issue, + comments: SAMPLE_COMMENTS[issue.number] || [], + stargazers_count: 0, + forks_count: 0, + connected: false + }; + } + + const [issue, comments, repoDetails] = await Promise.all([ + fetchGitHub(`/repos/${REPOSITORY}/issues/${id}`, accessToken), + fetchGitHub( + `/repos/${REPOSITORY}/issues/${id}/comments`, + accessToken + ), + fetchGitHub(`/repos/${REPOSITORY}`, accessToken) + ]); + + console.log(`[Next.js] Fetching data for /${id}`); + console.log(`[Next.js] [${id}] Comments: ${comments.length}`); + + if (issue.message === 'Not Found') { + notFound(); + } + + return { + issue, + comments, + stargazers_count: repoDetails.stargazers_count, + forks_count: repoDetails.forks_count, + connected: true + }; +} diff --git a/apps/web/lib/sample.ts b/apps/web/lib/sample.ts new file mode 100644 index 0000000..787e8a9 --- /dev/null +++ b/apps/web/lib/sample.ts @@ -0,0 +1,77 @@ +// The issues the page shows until a GitHub App is connected (lib/settings.ts): +// in GitHub's own shapes, so the pages render them exactly as they will render +// the repository's. They are about this site, not anyone's real issues; each +// links to the README's section on connecting the App. +import { SOURCE_URL } from '../app/site'; + +const CONNECT = `${SOURCE_URL}#connecting-a-github-app`; +export const SAMPLE_ISSUES = [ + { + id: 3, + number: 3, + title: 'Connect a GitHub App to list this repository’s issues', + comments: 0, + created_at: '2026-11-12T09:00:00Z', + html_url: CONNECT, + user: { login: 'sample' }, + body: [ + 'These are sample issues. The page lists the repository’s own issues once its GitHub App is connected:', + '', + '1. Create a GitHub App with read-only access to **Issues**, subscribed to **Issues** events, its webhook pointed at `/api/webhook`.', + '2. Install it on the repository.', + '3. Store `GITHUB_APP_ID`, `GITHUB_APP_PK_PEM` and `GITHUB_WEBHOOK_SECRET` as Orun secrets, and redeploy.', + '', + 'The README’s "Connecting a GitHub App" has every step.' + ].join('\n') + }, + { + id: 2, + number: 2, + title: 'How a webhook regenerates this page', + comments: 1, + created_at: '2026-11-11T09:00:00Z', + html_url: CONNECT, + user: { login: 'sample' }, + body: [ + 'When an issue changes, GitHub calls the webhook, which checks its signature and drops this page from the cache:', + '', + '```ts', + "revalidatePath('/');", + 'revalidatePath(`/${issueNumber}`);', + '```', + '', + 'The next visit renders the page again and caches it until the next change.' + ].join('\n') + }, + { + id: 1, + number: 1, + title: 'Pages are served from the cache', + comments: 0, + created_at: '2026-11-10T09:00:00Z', + html_url: CONNECT, + user: { login: 'sample' }, + body: 'Each page is rendered once and kept in an R2 bucket, with a Durable Object recording which pages a webhook has dropped. A visit reads the cache, not GitHub.' + } +]; + +export interface SampleComment { + id: number; + html_url: string; + user: { login: string; avatar_url?: string }; + created_at: string; + body: string; +} + +export const SAMPLE_COMMENTS: Record = { + 2: [ + { + id: 21, + html_url: CONNECT, + user: { login: 'sample' }, + created_at: '2026-11-11T10:00:00Z', + body: 'Try it once the App is connected: open an issue and refresh the page.' + } + ] +}; + diff --git a/apps/web/lib/settings.ts b/apps/web/lib/settings.ts new file mode 100644 index 0000000..49b933b --- /dev/null +++ b/apps/web/lib/settings.ts @@ -0,0 +1,27 @@ +import 'server-only'; +import { getCloudflareContext } from '@opennextjs/cloudflare'; + +// The GitHub App's settings, read per request from the Worker's environment: +// GITHUB_APP_ID and GITHUB_APP_PK_PEM (the App's private key) authenticate as +// the App, and GITHUB_WEBHOOK_SECRET checks every webhook's signature. All +// three are optional Orun secrets the deploy pushes to the Worker after the +// build (tooling/wire/worker-secrets.mjs), so no build ever carries them. +// Outside a Worker request — `next build`, `next dev` without its bindings, +// the tests — they come from process.env, as the template read them. +export type Setting = 'GITHUB_APP_ID' | 'GITHUB_APP_PK_PEM' | 'GITHUB_WEBHOOK_SECRET'; + +export function setting(name: Setting): string { + try { + const value = (getCloudflareContext().env as unknown as Record)[name]; + if (typeof value === 'string' && value) return value; + } catch { + // Not inside a Worker request. + } + return process.env[name] || ''; +} + +// Connected once the App can authenticate. Until then every page renders the +// sample issues (lib/sample.ts) under a notice that says how to connect it. +export function isConnected(): boolean { + return Boolean(setting('GITHUB_APP_ID') && setting('GITHUB_APP_PK_PEM')); +} diff --git a/apps/web/next-types.d.ts b/apps/web/next-types.d.ts new file mode 100644 index 0000000..92d86b4 --- /dev/null +++ b/apps/web/next-types.d.ts @@ -0,0 +1,6 @@ +// Next.js's ambient types — the stylesheet modules (`*.module.scss`) and the +// static images (`*.png`) the pages import — for `tsc` on a fresh checkout: +// next-env.d.ts, which carries the same references, is written by `next +// build` and not committed (.gitignore), so the typecheck cannot rely on it. +/// +/// diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts new file mode 100644 index 0000000..6bf0ab2 --- /dev/null +++ b/apps/web/next.config.ts @@ -0,0 +1,50 @@ +import { initOpenNextCloudflareForDev } from '@opennextjs/cloudflare'; +import type { NextConfig } from 'next'; +import path from 'node:path'; + +const nextConfig: NextConfig = { + // Upstream's: `"use cache"` caches the issues the pages read (lib/github.ts), + // and the webhook drops them with revalidatePath. On Workers that cache is + // the R2 bucket and Durable Objects open-next.config.ts names. + experimental: { + useCache: true, + inlineCss: true, + }, + images: { + // The avatars come from GitHub's own image host, as sized as the page + // needs: nothing for an image optimiser to do, so the Worker carries none. + unoptimized: true, + remotePatterns: [ + { + protocol: 'https', + hostname: 'avatars.githubusercontent.com', + port: '', + pathname: '/u/**' + } + ] + }, + logging: { + fetches: { + fullUrl: true + } + }, + // Required by @opennextjs/cloudflare, which bundles `.next/standalone/**` + // into the Worker. Traced from the monorepo root so workspace dependencies + // resolve from the root node_modules. + output: 'standalone', + outputFileTracingRoot: path.join(__dirname, '../..'), + // Dev server only (`next build` ignores it): orun.work's live Preview tab + // loads `next dev` from the preview's own host, and Next.js refuses the hot + // reload and other /_next/* dev requests from an origin it is not told + // about. These are the preview's hosts, prod's and stage's. + allowedDevOrigins: [ + '*.orun-preview.app', + 'preview-gateway-stage.oruncloud.workers.dev' + ] +}; + +export default nextConfig; + +// `next dev` reaches the Worker's bindings (the R2 cache bucket, the cache +// Durable Objects) through a local miniflare built from wrangler.jsonc. +initOpenNextCloudflareForDev(); diff --git a/apps/web/open-next.config.ts b/apps/web/open-next.config.ts new file mode 100644 index 0000000..ef4d681 --- /dev/null +++ b/apps/web/open-next.config.ts @@ -0,0 +1,34 @@ +// OpenNext Cloudflare adapter config. +// +// The template caches the GitHub issues its pages read with `"use cache"` +// (lib/github.ts) and, when GitHub's webhook says an issue changed, drops the +// pages that show it with `revalidatePath` (app/api/webhook). That is Next's +// page and data cache plus its tag cache, which on Workers live in bindings: +// +// incremental cache → R2 (NEXT_INC_CACHE_R2_BUCKET): every rendered page +// and `"use cache"` entry, under the build's id, so a +// new deploy renders afresh with the Worker's settings +// tag cache → a sharded Durable Object (NEXT_TAG_CACHE_DO_SHARDED): +// which paths were revalidated when, consulted on every +// cache read so a dropped page is rendered again +// queue → a Durable Object (NEXT_CACHE_DO_QUEUE): deduplicated +// background revalidation of stale ISR entries, which +// calls the Worker back through WORKER_SELF_REFERENCE +// +// The bucket is provisioned by infra/terraform/cloudflare-r2 and wired into +// wrangler.jsonc per environment; the Durable Objects are classes the +// generated Worker exports (DOQueueHandler, DOShardedTagCache) and the +// `migrations` in wrangler.template.jsonc create on deploy. No D1, no KV. +// Nothing is copied into the bucket at deploy (no populateCache): the build +// renders `/` without the App's settings, so each page is rendered on its +// first visit, with them, and cached from then on. +import { defineCloudflareConfig } from "@opennextjs/cloudflare/config"; +import r2IncrementalCache from "@opennextjs/cloudflare/overrides/incremental-cache/r2-incremental-cache"; +import doQueue from "@opennextjs/cloudflare/overrides/queue/do-queue"; +import doShardedTagCache from "@opennextjs/cloudflare/overrides/tag-cache/do-sharded-tag-cache"; + +export default defineCloudflareConfig({ + incrementalCache: r2IncrementalCache, + queue: doQueue, + tagCache: doShardedTagCache({ baseShardSize: 12 }), +}); diff --git a/apps/web/package.json b/apps/web/package.json new file mode 100644 index 0000000..822844e --- /dev/null +++ b/apps/web/package.json @@ -0,0 +1,37 @@ +{ + "name": "@app/web", + "version": "0.0.0", + "private": true, + "scripts": { + "dev": "next dev -p 3000", + "build": "next build && opennextjs-cloudflare build --skipBuild --skipWranglerConfigCheck", + "start": "next start -p 3000", + "preview": "opennextjs-cloudflare preview", + "typecheck": "tsc --noEmit", + "lint": "eslint .", + "wire:fixture": "node ../../tooling/wire/render.mjs --template wrangler.template.jsonc --out wrangler.jsonc --map wiring.fixture.json --env stage" + }, + "dependencies": { + "@opennextjs/cloudflare": "1.20.16", + "highlight.js": "11.11.1", + "jsonwebtoken": "9.0.2", + "marked": "15.0.7", + "marked-highlight": "2.2.1", + "next": "15.5.29", + "react": "19.2.5", + "react-dom": "19.2.5", + "sass": "1.85.0", + "server-only": "0.0.1" + }, + "devDependencies": { + "@app/eslint-config": "workspace:*", + "@types/jsonwebtoken": "9.0.8", + "@types/node": "22.13.4", + "@types/react": "19.2.18", + "@types/react-dom": "19.2.4", + "eslint": "^9.27.0", + "postcss": "8.5.2", + "typescript": "5.7.3", + "wrangler": "^4.160.1" + } +} diff --git a/apps/web/postcss.config.js b/apps/web/postcss.config.js new file mode 100644 index 0000000..9361eff --- /dev/null +++ b/apps/web/postcss.config.js @@ -0,0 +1,3 @@ +module.exports = { + plugins: {}, +}; diff --git a/apps/web/styles/Home.module.scss b/apps/web/styles/Home.module.scss new file mode 100644 index 0000000..a89a894 --- /dev/null +++ b/apps/web/styles/Home.module.scss @@ -0,0 +1,305 @@ +.main { + display: flex; + flex-direction: column; + padding: 25px; + max-width: 1000px; + margin: 0 auto; +} + +.repo { + display: flex; + flex-direction: column; + justify-content: space-between; + margin-bottom: 20px; +} + +.repo_title { + font-size: 20px; + + a { + color: #66e6f4; + } + + a:hover { + border-bottom: 1px dotted #66e6f4; + } +} + +.forks_stars { + display: flex; + align-items: center; + margin-top: 16px; + + a:hover { + color: #66e6f4; + } +} + +.issue_comments { + color: #888; + display: flex; + align-items: center; + margin-top: 16px; + + a:hover { + color: #66e6f4; + + path { + color: #66e6f4; + } + } +} + +@media (min-width: 500px) { + .repo { + flex-direction: row; + } + + .forks_stars { + margin-top: 0; + } + + .issue_comments { + margin-top: 0; + } +} + +.explanation { + color: #ccc; + font-size: 14px; + border: 1px dashed #666; + padding: 10px 20px; + margin-bottom: 40px; + font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; + line-height: 1.5; + background-color: #161b22; + + p { + margin-bottom: 10px; + + a { + color: #fff; + border-bottom: 1px solid #fff; + } + + em { + color: #f4e866; + font-weight: normal; + font-style: normal; + + a { + color: #f4e866; + border-bottom-color: #f4e866; + } + } + } +} + +.explanation_notes { + color: #999; + margin-top: 5px; + display: block; + font-size: 12px; +} + +.left { + display: flex; +} + +.right { + display: flex; + gap: 8px; + color: #888; +} + +.issues { + border: 1px solid #30363d; + width: 100%; + color: #c8d1d9; + font-size: 13px; + border-radius: 6px; +} + +.issue { + padding: 15px 20px; + border-bottom: 1px solid #21262d; + display: flex; + align-items: center; + justify-content: space-between; + + &:hover { + background-color: #151b22; + } + + .issue_title:hover { + color: #66e6f4; + } +} + +.issue_title { + font-size: 15px; + font-weight: 600; + margin-bottom: 10px; +} + +@mixin icon { + fill: currentColor; + display: inline-block; + overflow: visible; + vertical-align: text-bottom; +} + +.github_icon { + @include icon; + margin-right: 5px; + width: 20px; + height: 20px; + + path { + color: #eee; + } +} + +.issue_icon { + @include icon; + margin-right: 12px; + margin-top: 2px; + + path { + color: #66e6f4; + } +} + +.fork_icon { + @include icon; + margin-right: 5px; + width: 15px; + height: 15px; + + path { + color: #eee; + } +} + +.star_icon { + @include icon; + margin-left: 16px; + margin-right: 5px; + width: 15px; + height: 15px; + + path { + color: #eee; + } +} + +.comment_icon { + @include icon; + margin-right: 5px; + width: 16px; + height: 16px; + + path { + color: #888; + } +} + +.comment_count { + color: #888; + display: flex; + align-items: center; + margin-left: auto; +} + +.details { + summary { + cursor: pointer; + + span { + padding-left: 5px; + } + + &:hover { + color: #fff; + } + } + + p { + padding: 10px 20px; + margin: 0; + + code { + background: #222; + padding: 3px; + } + + em { + color: #eee; + font-style: oblique; + } + } + + &[open] { + summary { + font-weight: bold; + color: #fff; + } + + background: #333; + } +} + +.rounded { + border-radius: 50%; + object-fit: cover; +} + +.image { + margin-right: 10px; + margin-top: 4px; + margin-bottom: auto; +} + +.comments { + width: 100%; + color: #c8d1d9; + font-size: 13px; + border-radius: 6px; +} + +.comment { + padding: 15px 0px; + display: flex; +} + +.comment_div { + border: 1px solid #21262d; + border-radius: 5px; + width: 100%; + overflow: hidden; + position: relative; + + &:hover { + background-color: #151b22; + } +} + +.comment_timestamp { + font-size: 14px; + margin-bottom: 10px; + background-color: #313f50; + width: 100%; + padding: 10px 18px; + min-height: 2.2rem; +} + +.comment_body { + font-size: 15px; + padding: 0 18px; + min-height: 2.6rem; + line-height: 1.5rem; +} + +.issue_desc { + height: 15px; +} diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css new file mode 100644 index 0000000..726f364 --- /dev/null +++ b/apps/web/styles/globals.css @@ -0,0 +1,149 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; + color: #8b949e; + background: #0d1117; + scrollbar-gutter: stable; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; +} + +samp, +code { + font-family: 'Dank Mono', 'Source Code Pro', 'Courier Prime Code', + 'Liberation Mono', Consolas, Menlo, monospace; +} + +samp { + font-weight: bold; + color: #333; +} + +pre { + box-sizing: border-box; + overflow-x: auto; + width: 100%; + margin-top: 1.27rem; + border-radius: 6px; + line-height: 1.5; + background-color: #000000; + white-space: pre; + -webkit-overflow-scrolling: touch; +} + +pre > code { + display: block; + padding: 1.2rem !important; +} + +:not(pre) > code { + display: inline; + white-space: pre-wrap; + padding: 0.2em 0.4em; + margin: 0; + font-size: 85%; + background-color: #6e768166; + border-radius: 6px; +} + +.hljs { + color: #c9d1d9; + background: #0d1117; +} + +.hljs-doctag, +.hljs-keyword, +.hljs-meta .hljs-keyword, +.hljs-template-tag, +.hljs-template-variable, +.hljs-type, +.hljs-variable.language_ { + color: #ff7b72; +} + +.hljs-title, +.hljs-title.class_, +.hljs-title.class_.inherited__, +.hljs-title.function_ { + color: #d2a8ff; +} + +.hljs-attr, +.hljs-attribute, +.hljs-literal, +.hljs-meta, +.hljs-number, +.hljs-operator, +.hljs-variable, +.hljs-selector-attr, +.hljs-selector-class, +.hljs-selector-id { + color: #79c0ff; +} + +.hljs-regexp, +.hljs-string, +.hljs-meta .hljs-string { + color: #a5d6ff; +} + +.hljs-built_in, +.hljs-symbol { + color: #ffa657; +} + +.hljs-comment, +.hljs-code, +.hljs-formula { + color: #8b949e; +} + +.hljs-name, +.hljs-quote, +.hljs-selector-tag, +.hljs-selector-pseudo { + color: #7ee787; +} + +.hljs-subst { + color: #c9d1d9; +} + +.hljs-section { + color: #1f6feb; + font-weight: bold; +} + +.hljs-bullet { + color: #f2cc60; +} + +.hljs-emphasis { + color: #c9d1d9; + font-style: italic; +} + +.hljs-strong { + color: #c9d1d9; + font-weight: bold; +} + +.hljs-addition { + color: #aff5b4; + background-color: #033a16; +} + +.hljs-deletion { + color: #ffdcd7; + background-color: #67060c; +} diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json new file mode 100644 index 0000000..476907e --- /dev/null +++ b/apps/web/tsconfig.json @@ -0,0 +1,41 @@ +{ + "compilerOptions": { + "target": "es5", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "incremental": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ + { + "name": "next" + } + ], + "strictNullChecks": true + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + "lib/github.ts", + ".next/types/**/*.ts" + ], + "exclude": [ + "node_modules", + "open-next.config.ts", + ".open-next", + ".wrangler" + ] +} diff --git a/apps/web/turbo.json b/apps/web/turbo.json new file mode 100644 index 0000000..f5fe99c --- /dev/null +++ b/apps/web/turbo.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["^build"], + "outputs": [".open-next/**", ".next/**", "!.next/cache/**"] + } + } +} diff --git a/apps/web/wiring.fixture.json b/apps/web/wiring.fixture.json new file mode 100644 index 0000000..b2347d2 --- /dev/null +++ b/apps/web/wiring.fixture.json @@ -0,0 +1,11 @@ +{ + "cloudflare-r2/dev": { + "r2_bucket_name": "dev-on-demand-isr-dev" + }, + "cloudflare-r2/stage": { + "r2_bucket_name": "stg-on-demand-isr-stage" + }, + "cloudflare-r2/prod": { + "r2_bucket_name": "prod-on-demand-isr-prod" + } +} diff --git a/apps/web/wrangler.jsonc b/apps/web/wrangler.jsonc new file mode 100644 index 0000000..e03126a --- /dev/null +++ b/apps/web/wrangler.jsonc @@ -0,0 +1,54 @@ +// GENERATED from wrangler.template.jsonc by tooling/wire — edit the +// template, not this file. The committed copy is the fixture render +// (`pnpm run wire:fixture`); every Orun lane renders its own environment. +{ + "$schema": "node_modules/wrangler/config-schema.json", + "name": "on-demand-isr-web-stage", + "main": ".open-next/worker.js", + "compatibility_date": "2026-10-01", + "compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"], + "assets": { + "directory": ".open-next/assets", + "binding": "ASSETS", + }, + "observability": { "enabled": true }, + // No `vars`: the site's name and repository are app/site.ts. The GitHub + // App's settings — GITHUB_APP_ID, GITHUB_APP_PK_PEM (its private key) and + // GITHUB_WEBHOOK_SECRET — are Worker secrets the deploy hands over + // (tooling/wire/worker-secrets.mjs), read per request (lib/settings.ts). + // Without the first two the page lists sample issues; without the third + // app/api/webhook refuses every delivery. + + // The Next.js incremental cache — every rendered page and `"use cache"` + // entry, keyed by the build's id — in the bucket + // infra/terraform/cloudflare-r2 provisions. + "r2_buckets": [ + { + "binding": "NEXT_INC_CACHE_R2_BUCKET", + "bucket_name": "stg-on-demand-isr-stage", + }, + ], + // The tag cache (which paths and tags `revalidatePath` dropped, and when) + // and the revalidation queue: Durable Objects the generated Worker exports, + // created by the migration on first deploy. + "durable_objects": { + "bindings": [ + { "name": "NEXT_CACHE_DO_QUEUE", "class_name": "DOQueueHandler" }, + { + "name": "NEXT_TAG_CACHE_DO_SHARDED", + "class_name": "DOShardedTagCache", + }, + ], + }, + "migrations": [ + { + "tag": "v1", + "new_sqlite_classes": ["DOQueueHandler", "DOShardedTagCache"], + }, + ], + // The queue revalidates a stale route by requesting it from the Worker + // itself. + "services": [ + { "binding": "WORKER_SELF_REFERENCE", "service": "on-demand-isr-web-stage" }, + ], +} diff --git a/apps/web/wrangler.template.jsonc b/apps/web/wrangler.template.jsonc new file mode 100644 index 0000000..6594b7a --- /dev/null +++ b/apps/web/wrangler.template.jsonc @@ -0,0 +1,62 @@ +// The source of wrangler.jsonc, which tooling/wire renders from it: from +// wiring.fixture.json for local work (`pnpm run wire:fixture`, committed as +// that render), and on every Orun lane from the wiring document the +// `cloudflare-r2` Terraform root lease-publishes (WIRING_CLOUDFLARE_R2_) +// — dev, which no root applies to, from the fixture (component.yaml's +// buildCommand). Edit this file, never wrangler.jsonc. The workers-assets +// composition deploys one environment per job with no wrangler `--env`, so +// `__ENV__` names the environment this config is rendered for. The Worker's +// name carries it (on-demand-isr-web-stage, on-demand-isr-web-prod — the composition's +// `workerName` + environment) because the self-reference service binding +// below must name exactly the Worker it runs in. +{ + "$schema": "node_modules/wrangler/config-schema.json", + "name": "on-demand-isr-web-__ENV__", + "main": ".open-next/worker.js", + "compatibility_date": "2026-10-01", + "compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"], + "assets": { + "directory": ".open-next/assets", + "binding": "ASSETS", + }, + "observability": { "enabled": true }, + // No `vars`: the site's name and repository are app/site.ts. The GitHub + // App's settings — GITHUB_APP_ID, GITHUB_APP_PK_PEM (its private key) and + // GITHUB_WEBHOOK_SECRET — are Worker secrets the deploy hands over + // (tooling/wire/worker-secrets.mjs), read per request (lib/settings.ts). + // Without the first two the page lists sample issues; without the third + // app/api/webhook refuses every delivery. + + // The Next.js incremental cache — every rendered page and `"use cache"` + // entry, keyed by the build's id — in the bucket + // infra/terraform/cloudflare-r2 provisions. + "r2_buckets": [ + { + "binding": "NEXT_INC_CACHE_R2_BUCKET", + "bucket_name": "@@wiring(cloudflare-r2/__ENV__:r2_bucket_name)@@", + }, + ], + // The tag cache (which paths and tags `revalidatePath` dropped, and when) + // and the revalidation queue: Durable Objects the generated Worker exports, + // created by the migration on first deploy. + "durable_objects": { + "bindings": [ + { "name": "NEXT_CACHE_DO_QUEUE", "class_name": "DOQueueHandler" }, + { + "name": "NEXT_TAG_CACHE_DO_SHARDED", + "class_name": "DOShardedTagCache", + }, + ], + }, + "migrations": [ + { + "tag": "v1", + "new_sqlite_classes": ["DOQueueHandler", "DOShardedTagCache"], + }, + ], + // The queue revalidates a stale route by requesting it from the Worker + // itself. + "services": [ + { "binding": "WORKER_SELF_REFERENCE", "service": "on-demand-isr-web-__ENV__" }, + ], +} diff --git a/infra/terraform/cloudflare-r2/component.yaml b/infra/terraform/cloudflare-r2/component.yaml new file mode 100644 index 0000000..d386f01 --- /dev/null +++ b/infra/terraform/cloudflare-r2/component.yaml @@ -0,0 +1,62 @@ +apiVersion: sourceplane.io/v1 +kind: Component + +metadata: + name: cloudflare-r2 + description: Provisions the Cloudflare R2 bucket the app binds (stage and prod) + labels: + domain: infra + scope: app-object-store + +spec: + type: terraform + lifecycle: production + owner: platform + # Its pages, attached to it in the workspace's catalog: what the Docs + # library shows for it, and what the catalog's docs and runbook checks read. + # Generated from what this manifest and its sources declare. + docs: + overview: docs/overview.md + pages: + - { path: docs/architecture.md, role: architecture, title: Architecture } + - { path: docs/runbook.md, role: runbook, title: Runbook } + domain: infra + + parameters: + orgName: sourceplane + stackName: cloudflare-r2 + terraformDir: terraform + terraformVersion: "1.15.3" + # SEC-JOB: the wiring document (R2 bucket name) is lease-published + # post-apply; app deploys read it back as WIRING_CLOUDFLARE_R2_. + secretOutputs: "WIRING_CLOUDFLARE_R2=wiring" + + # The Cloudflare Terraform provider authenticates via the CLOUDFLARE_API_TOKEN + # env var, resolved by orun from the project-rung brokered secret — minted + # fresh per run from the r2-data template (Workers R2 Storage Write). NOT the + # deploy token: workers-deploy grants Workers Scripts and KV, and no R2, so + # it cannot create or list a bucket. Declared at component level because + # plan-only lanes refresh against the live Cloudflare API too, not just + # apply (adopt.tf lists the account's buckets at plan time). + secretEnv: + CLOUDFLARE_API_TOKEN: "secret://on-demand-isr/on-demand-isr/{{ .environment }}/CLOUDFLARE_R2_TOKEN" + # Non-secret connection fact (account-id template) — replaces the ambient + # CLOUDFLARE_ACCOUNT_ID / TF_VAR_cloudflare_account_id CI values. + CLOUDFLARE_ACCOUNT_ID: "secret://on-demand-isr/on-demand-isr/{{ .environment }}/CLOUDFLARE_ACCOUNT_ID" + TF_VAR_cloudflare_account_id: "secret://on-demand-isr/on-demand-isr/{{ .environment }}/CLOUDFLARE_ACCOUNT_ID" + + subscribe: + environments: + - name: stage + profile: plan-only + profileRules: + - profile: apply + when: + triggerRef: github-push-main + + - name: prod + profile: plan-only + profileRules: + - profile: apply + when: + triggerRef: github-push-main diff --git a/infra/terraform/cloudflare-r2/docs/architecture.md b/infra/terraform/cloudflare-r2/docs/architecture.md new file mode 100644 index 0000000..a0da9e1 --- /dev/null +++ b/infra/terraform/cloudflare-r2/docs/architecture.md @@ -0,0 +1,29 @@ +# cloudflare-r2 — architecture + +A `terraform` root at `infra/terraform/cloudflare-r2/terraform`. + +- **State** lives in the Orun Cloud HTTP state backend — no local state and + no state bucket to manage. +- **Credentials are brokered per run** from the workspace's provider + connections and resolved by name; none is stored in this repository. +- **Adoption** (`adopt.tf`): when state is empty but the resource already + exists, plan-time import adopts it instead of failing. + +## Resources + +- `cloudflare_r2_bucket.app` + +## Published outputs + +Written as job-output secrets on each environment after an apply; deploy +lanes downstream resolve them by name. + +| Secret | Terraform output | +| ---------------------- | ---------------- | +| `WIRING_CLOUDFLARE_R2` | `wiring` | + +## Resolved at run time (names only) + +- `CLOUDFLARE_ACCOUNT_ID` +- `CLOUDFLARE_API_TOKEN` +- `TF_VAR_cloudflare_account_id` diff --git a/infra/terraform/cloudflare-r2/docs/overview.md b/infra/terraform/cloudflare-r2/docs/overview.md new file mode 100644 index 0000000..3d8f368 --- /dev/null +++ b/infra/terraform/cloudflare-r2/docs/overview.md @@ -0,0 +1,19 @@ +# cloudflare-r2 + +Provisions the Cloudflare R2 bucket the app binds (stage and prod) + +Terraform-managed infrastructure, planned and applied per environment by its CI lane. + +| | | +| ------------ | ---------------------------------------------------------------------------------------------------- | +| Type | `terraform` | +| Source | `infra/terraform/cloudflare-r2` | +| Environments | `stage`: `plan-only`, `apply` on a push to `main` · `prod`: `plan-only`, `apply` on a push to `main` | + +## Depends on + +- (none) + +## Depended on by + +- **web** — The on-demand ISR site (Next.js on Cloudflare Workers + Static Assets via @opennextjs/cloudflare, per environment; R2 + Durable Objects as the Next.js cache; a GitHub App's webhook regenerates the pages; sample issues until an App is connected) diff --git a/infra/terraform/cloudflare-r2/docs/runbook.md b/infra/terraform/cloudflare-r2/docs/runbook.md new file mode 100644 index 0000000..37bee3b --- /dev/null +++ b/infra/terraform/cloudflare-r2/docs/runbook.md @@ -0,0 +1,20 @@ +# cloudflare-r2 — runbook + +## How it runs + +Pull requests plan it; a merge to `main` applies it to `stage`, `prod`. +CI plans what changed (`orun plan --changed`) and runs each lane with `orun run`; +the plan orders a component after everything it depends on. + +## Rollback + +Revert the commit on `main`. The next convergence applies the previous desired +state; nothing was changed out of band, so there is nothing else to undo. + +## Common failures + +- **Provider authentication fails**: the workspace's provider connection is + missing or revoked. Reconnect it in the console; credentials are brokered + from it per run. +- **"Already exists" on a first apply**: state is empty but the resource is + not. `adopt.tf` imports it at plan time; if it still fails, the resource was renamed outside Terraform. diff --git a/infra/terraform/cloudflare-r2/terraform/adopt.tf b/infra/terraform/cloudflare-r2/terraform/adopt.tf new file mode 100644 index 0000000..cc3b2ec --- /dev/null +++ b/infra/terraform/cloudflare-r2/terraform/adopt.tf @@ -0,0 +1,38 @@ +# --- Self-healing adoption --- +# +# When the platform state does not yet track the bucket but Cloudflare already +# has one under this name (a re-bootstrap over a torn-down workspace), import +# it at plan time instead of colliding with the duplicate-name guard. Fresh +# products resolve to id = "" and create normally; a resource already in state +# short-circuits the lookup. + +data "external" "adopt_app_bucket" { + program = ["bash", "-c", <<-EOT + set -euo pipefail + name="$(jq -r .name)" + state_file="$(mktemp)" + trap 'rm -f "$state_file"' EXIT + code="$(curl -s -o "$state_file" -w '%%{http_code}' \ + -u "$TF_HTTP_USERNAME:$TF_HTTP_PASSWORD" "$TF_HTTP_ADDRESS" || echo 000)" + if [ "$code" = "200" ] && jq -e \ + '[.resources[]? | select(.type == "cloudflare_r2_bucket" and .name == "app")] | length > 0' \ + "$state_file" >/dev/null 2>&1; then + jq -n '{id: ""}' + exit 0 + fi + resp="$(curl -fsS --retry 3 -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \ + "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/r2/buckets?per_page=1000")" + printf '%s' "$resp" | jq -c --arg n "$name" \ + '{id: ([.result.buckets[]? | select(.name == $n) | .name] | first // "")}' + EOT + ] + query = { + name = local.bucket_name + } +} + +import { + for_each = toset(compact([data.external.adopt_app_bucket.result.id])) + to = cloudflare_r2_bucket.app + id = "${var.cloudflare_account_id}/${each.value}" +} diff --git a/infra/terraform/cloudflare-r2/terraform/backend.tf b/infra/terraform/cloudflare-r2/terraform/backend.tf new file mode 100644 index 0000000..ff89f5f --- /dev/null +++ b/infra/terraform/cloudflare-r2/terraform/backend.tf @@ -0,0 +1,5 @@ +# Terraform backend configuration is provided by Orun at runtime +# through environment variables and automatic backend initialization. +# +# S3 backend details are set via CLI args in the Orun runner. +# Local placeholder file for clarity. diff --git a/infra/terraform/cloudflare-r2/terraform/main.tf b/infra/terraform/cloudflare-r2/terraform/main.tf new file mode 100644 index 0000000..b629fba --- /dev/null +++ b/infra/terraform/cloudflare-r2/terraform/main.tf @@ -0,0 +1,120 @@ +terraform { + required_version = ">= 1.15.0" + + # State lives on the platform: the runner exports TF_HTTP_* per job, so this + # block stays empty — no S3 bucket, no AWS role, no workspaces. + backend "http" {} + + required_providers { + cloudflare = { + source = "cloudflare/cloudflare" + version = "~> 4.30" + } + external = { + source = "hashicorp/external" + version = "~> 2.3" + } + } +} + +# Authenticates via the CLOUDFLARE_API_TOKEN env var (provider-native): the +# token is an orun-managed secret resolved into the job env at run time — +# minted from the r2-data template (R2 write), not the Workers deploy token, +# which carries no R2 (component.yaml). +provider "cloudflare" {} + +variable "cloudflare_account_id" { + type = string + sensitive = true + default = "" + description = "Cloudflare account ID (from CLOUDFLARE_ACCOUNT_ID env var)" +} + +variable "orgName" { + type = string + default = "sourceplane" +} + +variable "owner" { + type = string + default = "sourceplane" +} + +variable "repo" { + type = string + default = "on-demand-isr" +} + +variable "namespace" { + type = string + default = "sourceplane" +} + +variable "namespacePrefix" { + type = string + default = "" +} + +variable "lane" { + type = string + default = "verify" +} + +variable "environment" { + type = string + default = "stage" +} + +variable "component" { + type = string + default = "cloudflare-r2" +} + +variable "stackName" { + type = string + default = "cloudflare-r2" +} + +variable "terraformDir" { + type = string + default = "terraform" +} + +variable "terraformVersion" { + type = string + default = "1.15.3" +} + +# --- The app's object store --- +# +# One R2 bucket per environment: the site's Next.js incremental cache +# (OpenNext's r2-incremental-cache, bound as NEXT_INC_CACHE_R2_BUCKET) — every +# rendered issue page and `"use cache"` read of GitHub, written by the Worker at +# request time under the build's id. Bucket names are unique per account, so the name carries the product +# (var.repo) and the environment. + +locals { + bucket_name = "${var.namespacePrefix}${var.repo}-${var.environment}" +} + +resource "cloudflare_r2_bucket" "app" { + account_id = var.cloudflare_account_id + name = local.bucket_name +} + +# --- Wiring manifest (via orun secrets) --- +# Published post-apply as the WIRING_CLOUDFLARE_R2 secret on the project/{{env}} +# rung; the app's deploy reads it back as WIRING_CLOUDFLARE_R2_ and +# renders its wrangler template from it. + +output "wiring" { + description = "Wiring document for downstream deploy-time binding resolution (pushed to orun secrets)" + value = jsonencode({ + r2_bucket_name = cloudflare_r2_bucket.app.name + }) +} + +output "r2_bucket_name" { + description = "Cloudflare R2 bucket name (the Workers binding's bucket_name)" + value = cloudflare_r2_bucket.app.name +} diff --git a/infra/terraform/cloudflare-r2/terraform/outputs.tf b/infra/terraform/cloudflare-r2/terraform/outputs.tf new file mode 100644 index 0000000..9653334 --- /dev/null +++ b/infra/terraform/cloudflare-r2/terraform/outputs.tf @@ -0,0 +1,2 @@ +# Output definitions are in main.tf for simplicity. +# This file is a placeholder for consistency with the Orun Terraform pattern. diff --git a/infra/terraform/cloudflare-r2/terraform/variables.tf b/infra/terraform/cloudflare-r2/terraform/variables.tf new file mode 100644 index 0000000..9c92c69 --- /dev/null +++ b/infra/terraform/cloudflare-r2/terraform/variables.tf @@ -0,0 +1,2 @@ +# Variable definitions are in main.tf for simplicity. +# This file is a placeholder for consistency with the Orun Terraform pattern. diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 79ad2f5..b9d105c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,6 +24,103 @@ importers: specifier: ^5.8.3 version: 5.9.3 + apps/web: + dependencies: + '@opennextjs/cloudflare': + specifier: 1.20.16 + version: 1.20.16(next@15.5.29(@types/node@22.13.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(sass@1.85.0))(wrangler@4.160.1(@types/node@22.13.4)) + highlight.js: + specifier: 11.11.1 + version: 11.11.1 + jsonwebtoken: + specifier: 9.0.2 + version: 9.0.2 + marked: + specifier: 15.0.7 + version: 15.0.7 + marked-highlight: + specifier: 2.2.1 + version: 2.2.1(marked@15.0.7) + next: + specifier: 15.5.29 + version: 15.5.29(@types/node@22.13.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(sass@1.85.0) + react: + specifier: 19.2.5 + version: 19.2.5 + react-dom: + specifier: 19.2.5 + version: 19.2.5(react@19.2.5) + sass: + specifier: 1.85.0 + version: 1.85.0 + server-only: + specifier: 0.0.1 + version: 0.0.1 + devDependencies: + '@app/eslint-config': + specifier: workspace:* + version: link:../../tooling/eslint + '@types/jsonwebtoken': + specifier: 9.0.8 + version: 9.0.8 + '@types/node': + specifier: 22.13.4 + version: 22.13.4 + '@types/react': + specifier: 19.2.18 + version: 19.2.18 + '@types/react-dom': + specifier: 19.2.4 + version: 19.2.4(@types/react@19.2.18) + eslint: + specifier: ^9.27.0 + version: 9.39.5 + postcss: + specifier: 8.5.2 + version: 8.5.2 + typescript: + specifier: 5.7.3 + version: 5.7.3 + wrangler: + specifier: ^4.160.1 + version: 4.160.1(@types/node@22.13.4) + + tests/web: + devDependencies: + '@app/eslint-config': + specifier: workspace:* + version: link:../../tooling/eslint + '@app/tsconfig': + specifier: workspace:* + version: link:../../tooling/tsconfig + '@opennextjs/cloudflare': + specifier: 1.20.16 + version: 1.20.16(next@15.5.29(@types/node@22.13.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(sass@1.85.0))(wrangler@4.160.1(@types/node@22.13.4)) + '@types/node': + specifier: 22.13.4 + version: 22.13.4 + '@types/react': + specifier: 19.2.18 + version: 19.2.18 + '@types/react-dom': + specifier: 19.2.4 + version: 19.2.4(@types/react@19.2.18) + next: + specifier: 15.5.29 + version: 15.5.29(@types/node@22.13.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(sass@1.85.0) + react: + specifier: 19.2.5 + version: 19.2.5 + react-dom: + specifier: 19.2.5 + version: 19.2.5(react@19.2.5) + typescript: + specifier: 5.7.3 + version: 5.7.3 + vitest: + specifier: ^3.2.4 + version: 3.2.7(@types/node@22.13.4)(sass@1.85.0)(terser@5.36.0)(yaml@2.9.1) + tooling/eslint: devDependencies: '@typescript-eslint/eslint-plugin': @@ -40,6 +137,465 @@ importers: packages: + '@ast-grep/napi-darwin-arm64@0.45.3': + resolution: {integrity: sha512-rMZJ6frSpR/xSbeV4hiA9WR5hHqk3rVYX8lOqEoUCaUnjEuFXvHdGN4WawJ8pVDq/IqM1UnTtsDSYgUdVmO5DA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@ast-grep/napi-darwin-x64@0.45.3': + resolution: {integrity: sha512-tIclZ5pM+YSgk8NNTBoTkaclbS39cU5lbVfSrFWX4LUnxXfUPG+F+ppxyFjKwJTBELsGHEO4LdX3/Lc+FDwPNA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@ast-grep/napi-linux-arm64-gnu@0.45.3': + resolution: {integrity: sha512-Bm8F7/oRHQkDXbjH+gBi9oB5huJ0q12r/AIOMIypf5PWlAVvh206Tsw468phw4Oh6kd4Ad1Z+gflNW1MutgK2g==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@ast-grep/napi-linux-arm64-musl@0.45.3': + resolution: {integrity: sha512-yr5xcRerV41GeRxmZ8SKbfGeyZRhQePoNNCgTAb4OrWMelWwbMI80aY7/IlF2bo1sN40BSW4hZdGIO/akTd1RQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@ast-grep/napi-linux-x64-gnu@0.45.3': + resolution: {integrity: sha512-lluRK3hxfHMQdFuVID6seAKVx4FH0kEwF6rCh5/I40Sf3EtNR2UCBXAqd6RBA6hqlSckktvBxCfw+h4aescDmg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@ast-grep/napi-linux-x64-musl@0.45.3': + resolution: {integrity: sha512-09wJQKq86LqILqQtw0+X09SzhcPwUnMVFKyia7S3XLbLqSeQpAMF55Y+zll53JRQ1dCzFEZJyvTT/7j9vwfE3w==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@ast-grep/napi-win32-arm64-msvc@0.45.3': + resolution: {integrity: sha512-/HiVgw2cdtzXLDLoG4eBBcauekNXewfagy7qiVbjkVu/KcCH8dJ9lpj8DzeWwuBNtZxuD8jpiwP0M1pz3Bc3uw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@ast-grep/napi-win32-ia32-msvc@0.45.3': + resolution: {integrity: sha512-/gwJrJQUw65uNtAFcG2rtSTr117Gqqy3bfjaljCPKsa65dTeRcMMnjKLlZ6V9/g8z+4Xf78kdhp5ECbir4yfSw==} + engines: {node: '>= 10'} + cpu: [ia32] + os: [win32] + + '@ast-grep/napi-win32-x64-msvc@0.45.3': + resolution: {integrity: sha512-CEZAMAsaDoQoVE3MT2c/ry3/ydfyaqlTjxv8DK5PG355SrdAYPgevGC2Me6tz4dhphJin89Y20VsnrS5UrYV5Q==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@ast-grep/napi@0.45.3': + resolution: {integrity: sha512-bjJsUt0g3UCwbn9bjv7MnoR15rszSm79yPCXn4DWWK0NuYUUqBU/srtNMR4WnpfR7TnfBRdYFoqSNx0pGCNWJg==} + engines: {node: '>= 10'} + + '@aws-crypto/sha1-browser@5.2.0': + resolution: {integrity: sha512-OH6lveCFfcDjX4dbAvCFSYUjJZjDr/3XJ3xHtjn3Oj5b9RjojQo8npoLeA/bNwkOkrSQ0wgrHzXk4tDRxGKJeg==} + + '@aws-crypto/sha256-browser@5.2.0': + resolution: {integrity: sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw==} + + '@aws-crypto/sha256-js@5.2.0': + resolution: {integrity: sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==} + engines: {node: '>=16.0.0'} + + '@aws-crypto/supports-web-crypto@5.2.0': + resolution: {integrity: sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg==} + + '@aws-crypto/util@5.2.0': + resolution: {integrity: sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==} + + '@aws-sdk/checksums@3.1002.5': + resolution: {integrity: sha512-OHlfkNzDFjYnwNPABhwAkDTUi0HPjfsKUHJDR0bSMORpCXNzRpInPCNCIT08xKDhjaPlcLJ+2Av+Sk7hHnuC8A==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/client-cloudfront@3.984.0': + resolution: {integrity: sha512-couDuDLpJtoeWne/nYyJ+I+5ntBVdNgBVRTCoDaXuVV7OC3u/wz5Ps0+GogspEwMLEFoOJ8t691h3YXQtnpQTw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/client-dynamodb@3.984.0': + resolution: {integrity: sha512-8/Oft9MWQtbG6p9f8eY5fsKC2CcO5YVDlwive8eUYS9mEbgnyQxm68OyH26WvsSTykQ9QkIbR+fOG56RsIBODw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/client-lambda@3.984.0': + resolution: {integrity: sha512-kqwNBIGNxGVhINwgN/UQfdsQkaMjbu9PFV2EhATWouV+RT60uMjK9JENgLDwbgJmEVbbnPsh9HaZ5KKwPSdiDg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/client-s3@3.984.0': + resolution: {integrity: sha512-7ny2Slr93Y+QniuluvcfWwyDi32zWQfznynL56Tk0vVh7bWrvS/odm8WP2nInKicRVNipcJHY2YInur6Q/9V0A==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/client-sqs@3.984.0': + resolution: {integrity: sha512-TDvHpOUWlpanc3xQ5Xw0y8L2hoojBFCCSmXQ/6rKqGOf1ScX3dMA+K9aF0Zp0iwjhSh4VvsHD42esl8XwQZDjA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/core@3.981.0': + resolution: {integrity: sha512-Mnu7gaDrC5UCdyH8uLxLfB2eWbjE/HbjKX1U1J2VQxG3TTATUDObW2wU3I8iH3e9YH5NN2CY6w1mlAIe2XJ3jg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-env@3.972.84': + resolution: {integrity: sha512-akZJetiMVeLRHsKzYh3LamDCo74ZUCeo0XoyRKMEMZT5qP7ReM6LhpioBCyuqKP5Vav5gEOeCmaQV0VVQr1Meg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-http@3.972.86': + resolution: {integrity: sha512-U4mHaDRPWAn63yhl7FXIzbppNmW1F+4dSLeuiUpej2v3Xb6rGwvayEJ8SdlrdMV+/mZtd+GStTEP2HqurEzXtw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-ini@3.973.30': + resolution: {integrity: sha512-r6r6499GWoGN943NA5YEhBEQ6TEOGTf7tTOBhHd/zw0UbNvSzd1/zPCNcDkPmRarA+e24X7KgxutqxjoWcskBg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-login@3.972.92': + resolution: {integrity: sha512-96bcp9Pe/Xd60OEwncZ+kAQTQSu+fJnpUGz1qE6ghF5jnETmrk8XMU86mIP3lolvnCgR61XbZ+Ht6hdBjiQOmQ==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-node@3.972.97': + resolution: {integrity: sha512-E4a0IXXJVsIdo/K9roX4JAEfI0JJr7KTPymkbKgETRDqEcLygE4ZlLTe24+7Qkh8Dl5YpnPd+Tt0DOPJDFXIwA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-process@3.972.84': + resolution: {integrity: sha512-199C6OpNejd0nq9GFAkEFIKids1FL0R6LJtL9c1OTiDOXki7S1OduuPxW4+hE0LwndcYJ7YHOuYTlqScfpCocA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-sso@3.973.28': + resolution: {integrity: sha512-bGg7wH8wVDJQIcJggO9lg1ZYbG7l+PbLwHuM3Bi/e1TlCZhU712JS1W3tdRpyptdJD1UGyhBNGO/YrhrQCHKbg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-web-identity@3.972.90': + resolution: {integrity: sha512-duLeE3xlf0viHeH+1RM4z5duR3b32BCZTWVMu+MbxFPjQBxy7hmIGEqt5hekuFPRuXoyhMovjNl+PNNsb5oiGQ==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/dynamodb-codec@3.973.58': + resolution: {integrity: sha512-OrqMNzvjk37ssH/qoD6Cd25TLk2cT1lCMwCNM+frwbOQAKJuAbFSgH6OOtaI71l5fA8F7GPuMr9Ck57SAtY98g==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/endpoint-cache@3.972.11': + resolution: {integrity: sha512-8q1ICxcDjHId3bBryuu/j+1L9y5/3uQnwzLDt5j2ElcjZSoWmFtymdJy7OjLrluSMe0Z4mq5bcH4fxBXvlEHfw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-bucket-endpoint@3.972.62': + resolution: {integrity: sha512-FdxKcr+vM7vCwjcjufgPrEDkJxwj/dyaw6YuFHlEcfxHMbz3vwXrXSx2hKModKAYkpKN4EixxrdeARe0F+XO3w==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-endpoint-discovery@3.972.39': + resolution: {integrity: sha512-AtZS+UK7CciPbdiszPoG08A23kUojFxFnWIv155uPieSPcHR9D9Sovtp19U0j5qmD2DzHpG9OI7mb0Kiyvf3mA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-expect-continue@3.972.58': + resolution: {integrity: sha512-JwJAxH6o7jhmsLCR/ozyJcji/9q1BIE1mf+oDi+lvvBpLWXT0t5GqZLln1Roe55YW7RGwD9pKSd4tn+9hj0tJw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-flexible-checksums@3.974.68': + resolution: {integrity: sha512-iRH7Nf4BOM07HVWr2Pv+NeJJkbsb07Y+9RfaLguvQvLaOYEzfs2Zv0c6elT60MZzMq7mTs5eA36QQeDOvhvTSA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-host-header@3.972.59': + resolution: {integrity: sha512-Aj572A4Umr8joC873dSZs6nW/4OHXBZgYOaimHPyffDs2TbJrJOhmSvoNKAN5ECKc/2XS0WLDBu5cyuVv72MEA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-location-constraint@3.972.55': + resolution: {integrity: sha512-LQJbHAp5yWAyIvczZ995+aaI6gn54oWr277I+XADrcuoIfbD8Zu9WlhikkZ0w1sFZQeARrCW39GcOyx+ZtGyMw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-logger@3.972.58': + resolution: {integrity: sha512-VZzlqtLPaUy7XSYpUnChyCWLCqMU/YQeLqpSxNxUIX9khIXGTBugL6il6g3Z6UdL0OTn9kHZNNVo/nibsBXr7A==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-recursion-detection@3.972.60': + resolution: {integrity: sha512-zzsZhrQDk6qnAdp5Hspzt3hgGToxkIrqvkBoRBDAR4LBjOAzI7DJGukVYyKxnyUqy4zkXluKeQ+IraoQkgW7Rw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-sdk-s3@3.972.89': + resolution: {integrity: sha512-Lem2/ZT1eOicVATBukPRPm2S4JAmrTEkP3/dnJE9iTeyqIKqsJF2j04f5L0o+rrZIrwR13swiQMdzcE5jXRzNA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-sdk-sqs@3.972.50': + resolution: {integrity: sha512-iSxF2dJT3+At+RT9eeyq0qFKVLEPto27TAQxn2zH2bw5syXj4+/H4VReFqcQAe3n0IdGlt+0T6flnPMb71FOHA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-ssec@3.972.55': + resolution: {integrity: sha512-PAm6DCg3Tz9xaBs+Yrug/XwTQR7qRAJ6cP2vT6LVMei6C3CPr9rAtidauTb7RJX/PeRtyM+XtAcaKNinoD+4yw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-user-agent@3.972.88': + resolution: {integrity: sha512-Z0uVq+sxwTUwlgrOl3uGwYDJD0sW8ypzO4olxo9Tqulwy3d+0N6RsZVIQT90LOha90e3RrVFlmNttpPjW5xeQA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/nested-clients@3.998.3': + resolution: {integrity: sha512-acHTTzMB13CU6dU4sxABYExMI3PQM2zStWH2MiUwJp/7QKTrLg2f7mbzSXoegW2kYOk2tdqQYagsZrWB8Xv7eA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/region-config-resolver@3.972.62': + resolution: {integrity: sha512-3pGmGwc1NiL14wyo9ycgIKjxL/euah2iA31a4DoIc2P5s0VrbPWCk4nfiM85aGTsksKyDpE/1s6I2XcQFbzqpg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/signature-v4-multi-region@3.984.0': + resolution: {integrity: sha512-TaWbfYCwnuOSvDSrgs7QgoaoXse49E7LzUkVOUhoezwB7bkmhp+iojADm7UepCEu4021SquD7NG1xA+WCvmldA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/signature-v4-multi-region@3.996.52': + resolution: {integrity: sha512-6W6SjGc8OXUhMzNxU1X922ghD+PP1XvzmCk5Scui0jaYsLezycMYR1RaLp5xTIOUrhTXyb4DnAbPr3fBgmdnzg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/token-providers@3.1166.0': + resolution: {integrity: sha512-ngJ8mxXqtQ9mnp7QV6TWKJCxkpjVfPWxKQSc2FYhCyCfOVFIGdFv7P+/RqVffFrJAorwBPpktnv32gNlcEgF4g==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/types@3.975.1': + resolution: {integrity: sha512-7rGxUkCB2QPoQOeJmonmAICTN2zrH+fpmi1p4Iwu72lnxNaMhOgqcbpyddifnM1DBb19TWQ1u6z/XjkaFNEDWw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/util-endpoints@3.984.0': + resolution: {integrity: sha512-9ebjLA0hMKHeVvXEtTDCCOBtwjb0bOXiuUV06HNeVdgAjH6gj4x4Zwt4IBti83TiyTGOCl5YfZqGx4ehVsasbQ==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/util-locate-window@3.965.10': + resolution: {integrity: sha512-ycwH6Zd2GhuSqdXX9ihbCjeGTB6xOJs+O3+Jb8/zDG9978XU80qs75dfkPJRMNKe5MvBZPuNeFpd4JZKPoUF4g==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/util-user-agent-browser@3.972.59': + resolution: {integrity: sha512-VMlVD/SDDfa6D60JuOiuk+wbvYmOQDUtV9XYetALPeh7vpKEr4DivUTqdFcu6qd5H7mHa4Xm+hgVgd1TI6dK4Q==} + + '@aws-sdk/util-user-agent-node@3.973.74': + resolution: {integrity: sha512-ZwHqCMuFZDOjW/cmh9OL1ujfrM7RNBk2gJE2Yes4A/VJUHBu2wRPmpLi7HYFdfzq+NeEOhuabrUmQ5zZUBK3vg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/xml-builder@3.972.43': + resolution: {integrity: sha512-rG8QVx4DOrJWptsogu1Aq+CDsnPKaBrAlJpKLxrJrIDXAq1ElnW0yQjjBnlWSXll0cDakCG6UDvaqwz0A9d9Og==} + engines: {node: '>=20.0.0'} + + '@aws/lambda-invoke-store@0.3.0': + resolution: {integrity: sha512-sl4Bm6yiMNYrZKkqqDFWN0UfnWhlS8ivKxrYl+6t0gCLrqr8y3B2IqZZbFRkfaVVp7C/baApyh71P+LeE1A2sQ==} + engines: {node: '>=18.0.0'} + + '@cloudflare/kv-asset-handler@0.5.0': + resolution: {integrity: sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg==} + engines: {node: '>=22.0.0'} + + '@cloudflare/unenv-preset@2.16.2': + resolution: {integrity: sha512-JBP1+Z7ZSNG/d4mRP+y8VC5dka3tZVMLEZRvS+rzQ4DGV1EoxRFQckcJTTkXbHSQiTj0DtNI01Zwb/V2fX0mvQ==} + peerDependencies: + unenv: 2.0.0-rc.24 + workerd: '>1.20260305.0 <2.0.0-0' + peerDependenciesMeta: + workerd: + optional: true + + '@cloudflare/workerd-darwin-64@1.20261110.1': + resolution: {integrity: sha512-RazOdADqTgwYhE60+i6c/R5BA1J5aC//39oousnWBxmoVAiqUh1qsXNCGMbaEV6UC5RnZyWsIBRIcAYNDe1xTg==} + engines: {node: '>=16'} + cpu: [x64] + os: [darwin] + + '@cloudflare/workerd-darwin-arm64@1.20261110.1': + resolution: {integrity: sha512-TFsn/t+wczWnWdm+ytlWe+xHEO9sDgfIBmtMo8OxujuS2DXCmGimiyvJHmuv+6+N9OhUb0dM+fveXJI9yjuzew==} + engines: {node: '>=16'} + cpu: [arm64] + os: [darwin] + + '@cloudflare/workerd-linux-64@1.20261110.1': + resolution: {integrity: sha512-i4080Pp6Q0nwS8OMqt3cbpJoWvbCrIlFKa+4Inbn+y2pWKTVsq6F9bgdi0l8CBZPMszd03gDlQR++dqMbErh2Q==} + engines: {node: '>=16'} + cpu: [x64] + os: [linux] + + '@cloudflare/workerd-linux-arm64@1.20261110.1': + resolution: {integrity: sha512-0l+JyYWOhEzTs7yOkIdf1ZzcXd9WalPZ1kD0bBAobFvDhO/1jBnQkS4rzzyUkGV7g8pb3dkfrBP9c2ZiRLOfdw==} + engines: {node: '>=16'} + cpu: [arm64] + os: [linux] + + '@cloudflare/workerd-windows-64@1.20261110.1': + resolution: {integrity: sha512-zP8IGyWvohyJhbNjHOnTA9anRQtGN7X01T/dG+R9IA4vu2egRODsD02aoYzv0a0qImjt7tTpOOA+uVotDJPcSA==} + engines: {node: '>=16'} + cpu: [x64] + os: [win32] + + '@cspotcode/source-map-support@0.8.1': + resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} + engines: {node: '>=12'} + + '@dotenvx/dotenvx@2.38.2': + resolution: {integrity: sha512-+tjy8o//H+ZkRfRWLh08UkLHCw/e74uIV27QOZ3RxKwXvGrxjEcQMfUvQJzkvK/qNTk/OsE1MlGiDB6iL+1X0g==} + hasBin: true + + '@dotenvx/primitives@3.3.1': + resolution: {integrity: sha512-ykX29rVnHwwV6m3AMmvR+niFSwhOG2TYttJjURz3n/3iHtpWC8gEptojYY+eHgBAV4fkaGRM1Rf0wgQ6/DeUYQ==} + + '@dotenvx/primitives@4.4.0': + resolution: {integrity: sha512-swvcX4CxhlgE5G56r6pHYg7LgiKvBZ+cHz/2zk/AyrBxm6eig//oMYnK9IgQ8Jds9DSKIJ88G8RvvANgx7Qv0Q==} + + '@dotenvx/providers@0.3.13': + resolution: {integrity: sha512-fF39zRYFyukQtjZJ8VyrAl6zsZo7t20ZD55QK+yN7VPS5gmEVHoIHwzNZGQHJDNA5A3evWiGM6547egI/sWahQ==} + + '@dotenvx/tooling@1.0.6': + resolution: {integrity: sha512-d1AhKqlprzjR7+/7YTYbf9lTjeIUxr2WN+gYL5jf9O25wymlVWzuwOujq9IWJOt33sGWcLjr1eswSOmqm4SRMg==} + + '@emnapi/runtime@1.11.3': + resolution: {integrity: sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==} + + '@esbuild/aix-ppc64@0.28.2': + resolution: {integrity: sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.28.2': + resolution: {integrity: sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.28.2': + resolution: {integrity: sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.28.2': + resolution: {integrity: sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.28.2': + resolution: {integrity: sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.28.2': + resolution: {integrity: sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.28.2': + resolution: {integrity: sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.28.2': + resolution: {integrity: sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.28.2': + resolution: {integrity: sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.28.2': + resolution: {integrity: sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.28.2': + resolution: {integrity: sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.28.2': + resolution: {integrity: sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.28.2': + resolution: {integrity: sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.28.2': + resolution: {integrity: sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.28.2': + resolution: {integrity: sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.28.2': + resolution: {integrity: sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.28.2': + resolution: {integrity: sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.28.2': + resolution: {integrity: sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.28.2': + resolution: {integrity: sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.28.2': + resolution: {integrity: sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.28.2': + resolution: {integrity: sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openharmony-arm64@0.28.2': + resolution: {integrity: sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/sunos-x64@0.28.2': + resolution: {integrity: sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.28.2': + resolution: {integrity: sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.28.2': + resolution: {integrity: sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.28.2': + resolution: {integrity: sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + '@eslint-community/eslint-utils@4.10.1': resolution: {integrity: sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -98,495 +654,3449 @@ packages: resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} engines: {node: '>=18.18'} - '@turbo/darwin-64@2.11.11': - resolution: {integrity: sha512-HMMeUIEAsmyIbSYn1ySvF/4gGMa0joiTMq4dQDuloIAnOpbtFT3JEiVsYnASdTWDXvplbRbZlqjU1EBeSR9G1A==} + '@img/colour@1.1.0': + resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==} + engines: {node: '>=18'} + + '@img/sharp-darwin-arm64@0.35.5': + resolution: {integrity: sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + os: [darwin] + + '@img/sharp-darwin-x64@0.35.5': + resolution: {integrity: sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==} + engines: {node: '>=20.9.0'} cpu: [x64] os: [darwin] - '@turbo/darwin-arm64@2.11.11': - resolution: {integrity: sha512-+8iySNgqYWY6PZYUQzYu6zn0C04z2OEq1vQ6oMGsJ9sxN6wOpg1gzi1AJ5VKDHviWvMUjhqng51hTEQZOuiqYQ==} + '@img/sharp-freebsd-wasm32@0.35.5': + resolution: {integrity: sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==} + engines: {node: '>=20.9.0'} + os: [freebsd] + + '@img/sharp-libvips-darwin-arm64@1.3.4': + resolution: {integrity: sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==} cpu: [arm64] os: [darwin] - '@turbo/linux-64@2.11.11': - resolution: {integrity: sha512-uImTKFYCFKsoFxjaXeJXlMPv4uU3OIIDjyzoIwYVqOtu9LnCZ/5/fzu/WP6+G9YfwGAPRplTHkKFfcI5t97RGw==} + '@img/sharp-libvips-darwin-x64@1.3.4': + resolution: {integrity: sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==} cpu: [x64] - os: [android, linux] + os: [darwin] - '@turbo/linux-arm64@2.11.11': - resolution: {integrity: sha512-Y7xffSVfyyYRGzNy6PLdrFL4xXN6iTuR3W0SyJvH/yd3d4defA6dansZwJpPDVnIpD8a2Qn256DwY/Qin4Ip4g==} + '@img/sharp-libvips-linux-arm64@1.3.4': + resolution: {integrity: sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==} cpu: [arm64] - os: [android, linux] + os: [linux] + + '@img/sharp-libvips-linux-arm@1.3.4': + resolution: {integrity: sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==} + cpu: [arm] + os: [linux] + + '@img/sharp-libvips-linux-ppc64@1.3.4': + resolution: {integrity: sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==} + cpu: [ppc64] + os: [linux] + + '@img/sharp-libvips-linux-riscv64@1.3.4': + resolution: {integrity: sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==} + cpu: [riscv64] + os: [linux] + + '@img/sharp-libvips-linux-s390x@1.3.4': + resolution: {integrity: sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==} + cpu: [s390x] + os: [linux] + + '@img/sharp-libvips-linux-x64@1.3.4': + resolution: {integrity: sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==} + cpu: [x64] + os: [linux] - '@turbo/windows-64@2.11.11': - resolution: {integrity: sha512-e2WqNtkPGo3QDwNNwwBo89Dx3PtSJ9Wp9QuRNzn80rrRnSHB+1mfBMZTpdHjA8/G/sG9rl76TdWdpgVsimjRdg==} + '@img/sharp-libvips-linuxmusl-arm64@1.3.4': + resolution: {integrity: sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==} + cpu: [arm64] + os: [linux] + + '@img/sharp-libvips-linuxmusl-x64@1.3.4': + resolution: {integrity: sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==} cpu: [x64] - os: [win32] + os: [linux] - '@turbo/windows-arm64@2.11.11': - resolution: {integrity: sha512-LURivfmgv34Osm8NR1gZGx4vdlux9KAgRM+FoooXNG0838ff0+akWZ76iPSke0NS2rsf7Z4Gw+YSaygzNTZuRA==} + '@img/sharp-linux-arm64@0.35.5': + resolution: {integrity: sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==} + engines: {node: '>=20.9.0'} cpu: [arm64] - os: [win32] + os: [linux] + + '@img/sharp-linux-arm@0.35.5': + resolution: {integrity: sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==} + engines: {node: '>=20.9.0'} + cpu: [arm] + os: [linux] + + '@img/sharp-linux-ppc64@0.35.5': + resolution: {integrity: sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==} + engines: {node: '>=20.9.0'} + cpu: [ppc64] + os: [linux] + + '@img/sharp-linux-riscv64@0.35.5': + resolution: {integrity: sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==} + engines: {node: '>=20.9.0'} + cpu: [riscv64] + os: [linux] + + '@img/sharp-linux-s390x@0.35.5': + resolution: {integrity: sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==} + engines: {node: '>=20.9.0'} + cpu: [s390x] + os: [linux] + + '@img/sharp-linux-x64@0.35.5': + resolution: {integrity: sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [linux] - '@types/estree@1.0.10': - resolution: {integrity: sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==} + '@img/sharp-linuxmusl-arm64@0.35.5': + resolution: {integrity: sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + os: [linux] - '@types/json-schema@7.0.15': - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + '@img/sharp-linuxmusl-x64@0.35.5': + resolution: {integrity: sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [linux] - '@typescript-eslint/eslint-plugin@8.72.2': - resolution: {integrity: sha512-222PKFXKihmFpi/pS5njoBgdAqsPhj2/GBmFbrNw8Tq8gEG9Sv+kSlKFy4u2q+mJv9ZzJgM2Gkv/bUzRZwZw5g==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - '@typescript-eslint/parser': ^8.72.2 - eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 - typescript: '>=4.8.4 <6.1.0' + '@img/sharp-wasm32@0.35.5': + resolution: {integrity: sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==} + engines: {node: '>=20.9.0'} - '@typescript-eslint/parser@8.72.2': - resolution: {integrity: sha512-llP+T1YuJOLlxEciP6OyQGtz5SMxyn+9LA2BvZw5RmToGVa1y4beEDVQL6Gje7T5WFYh19WREjDCN9Ev4gm5AA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 - typescript: '>=4.8.4 <6.1.0' + '@img/sharp-webcontainers-wasm32@0.35.5': + resolution: {integrity: sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==} + engines: {node: '>=20.9.0'} + cpu: [wasm32] - '@typescript-eslint/project-service@8.72.2': - resolution: {integrity: sha512-6y5dLTZdHhI8Eh3yIQ/bfQhRKwn5e+TpJj64o18Cngc0iW/BCrVvrr6zGYqXPnYH31u6YXAYiFh0+qxX5mybJw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '>=4.8.4 <6.1.0' + '@img/sharp-win32-arm64@0.35.5': + resolution: {integrity: sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + os: [win32] - '@typescript-eslint/scope-manager@8.72.2': - resolution: {integrity: sha512-iIoMJ6/8c1/QpFNyFjU0d1YzPco4MsZjQw0k3V+vfzNWAFmUmvhlyMoYEoYYDQZXc+J6Gi1X5XcxlzW2taIIGQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@img/sharp-win32-ia32@0.35.5': + resolution: {integrity: sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==} + engines: {node: ^20.9.0} + cpu: [ia32] + os: [win32] - '@typescript-eslint/tsconfig-utils@8.72.2': - resolution: {integrity: sha512-+h3iCgZXuTNtoLXcnnjP12ZUHLMqoUcIHPfQrFEXTUqvb9dF8QK9b5nv5VtSo5fLkdHuks8ehbTzZj3rImAm9w==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '>=4.8.4 <6.1.0' + '@img/sharp-win32-x64@0.35.5': + resolution: {integrity: sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [win32] - '@typescript-eslint/type-utils@8.72.2': - resolution: {integrity: sha512-STfkR38qIdhfkLpgtXnUjAzsNy4xouqiBO0lrVc/Wpk9Kem5/aHXUx1J8dGC16zpdYN1+yc2ILQ28er1kXX7ag==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 - typescript: '>=4.8.4 <6.1.0' + '@isaacs/cliui@8.0.2': + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} - '@typescript-eslint/types@8.72.2': - resolution: {integrity: sha512-Xfn37OLZx03+PCU7qWx9DTv2FCRh1E6fk2+wONeNY15HXIwtcwuveaSwVpGAUptkNmPQegRxW5JyRel9T7wrog==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} - '@typescript-eslint/typescript-estree@8.72.2': - resolution: {integrity: sha512-pQEGqIK/cqEvKivVWaFLYpe7XYejFxfuAOi4mu1oAWFvIo36aRHI9esRFTUxcIy/z8N482RJyH+LpZB0ZIU7Ow==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '>=4.8.4 <6.1.0' + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} - '@typescript-eslint/utils@8.72.2': - resolution: {integrity: sha512-hv3eRYbpPbbpezuax1EfGrzpa3C4ySgNZkPUkLOWOAjU8HsOKowEDAr8C7nsNl1C+SBSKDpvno6VKHnlhvp9iA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 - typescript: '>=4.8.4 <6.1.0' + '@jridgewell/source-map@0.3.11': + resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==} - '@typescript-eslint/visitor-keys@8.72.2': - resolution: {integrity: sha512-NAGrjn0Pitjqzq/GkgMC4kBYm233PQ8GffyQ9+kTA3AlNQYEzOf25EIM02BAHZv5FRJSpHpJk+OGUxVkOB93GQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@jridgewell/sourcemap-codec@1.6.0': + resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==} - acorn-jsx@5.3.2: - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + '@jridgewell/trace-mapping@0.3.31': + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - acorn@8.19.0: - resolution: {integrity: sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==} - engines: {node: '>=0.4.0'} - hasBin: true + '@jridgewell/trace-mapping@0.3.9': + resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - ajv@6.15.0: - resolution: {integrity: sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==} + '@next/env@15.5.29': + resolution: {integrity: sha512-9SrTiTsgORa+KfhlXXAGC1eSs847E+d2MQTPUX+n7R5XA8g/B6ZitfL6GoYHNMLwG3Hzs1wjDH0/ME5WrGMqBQ==} - ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} + '@next/swc-darwin-arm64@15.5.29': + resolution: {integrity: sha512-vozRDuM23T0faRR0O3oN1eRqjEqUue4Eljhkb9f7urQgzmyzve7j3atzTv3Z1AnjQ9IeVY0X3aS1/an56TOiTg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] - argparse@2.0.1: - resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + '@next/swc-darwin-x64@15.5.29': + resolution: {integrity: sha512-FzrcEzMZVcp/SqFXCW5SXyPil10bB9l5wpTBapEs9ZMqke3W+hyC5mNAdAa1divn+4SZ7LD5BtK67XvK7SucWQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] - balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + '@next/swc-linux-arm64-gnu@15.5.29': + resolution: {integrity: sha512-FWbWE5P313Yy5062vgY9UspNz/t6Ve/s35X9v6YU7ilsbhqKGabPBPIWcMEPhyomeRdwfv19NAITkU2FFIhGwA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] - balanced-match@4.0.4: - resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} - engines: {node: 18 || 20 || >=22} + '@next/swc-linux-arm64-musl@15.5.29': + resolution: {integrity: sha512-xjTHrVisb9GeDSNFOwJI+4UJrKdwlpjz95q8sEvQh46yUp3+JikNcf26pode/HlHktSdJwcHx3iVMCjfPcnU+A==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] - brace-expansion@1.1.22: - resolution: {integrity: sha512-CKLDTuSsN0+r1ThM0WkzzBI7dnPI6xEGfa/JnVYIK9JNBA1N1NyPwXVHor//NKD/y3sDxp764sZdLhFK7pH8XQ==} + '@next/swc-linux-x64-gnu@15.5.29': + resolution: {integrity: sha512-5WqW7kHscT02wyF8TlbYv9+zx3KhnQeZwk+FkTCr1r7TuvMrqqOZ3RDkdDKl3O0M0Er3VuQEzoEIrj8VX5fjaw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] - brace-expansion@5.0.13: - resolution: {integrity: sha512-Vh3dmFbc4wZeox7M9I/0L9GfFd83Su4+yCck/OF9Gi/P/dAHn0RT7X4K9R7gMNMhDck3DvhR6QXsnQdjjgwNvQ==} - engines: {node: 20 || >=22} + '@next/swc-linux-x64-musl@15.5.29': + resolution: {integrity: sha512-I0QJ1Be9vtdq5FABhNcSbkELllA91WnhG+m4BjJHCn1bXAIL8AuDABIKIJ7Bz84T/sIkZP6TvOEWJcKckrX3yQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] - callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} + '@next/swc-win32-arm64-msvc@15.5.29': + resolution: {integrity: sha512-q4fQFWtR7nH7ZDhU8RIvwNW0S/nHImaZkoOSw7rOXFgoP51HTesm8/8P/w3ACjc9GxqytXj0LZZesykK3arFBw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] - chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} + '@next/swc-win32-x64-msvc@15.5.29': + resolution: {integrity: sha512-putWQ+CTEJunAPIPDPfb06Kc4emhYpdM5FoCDHSkC/ym7Dy2xOBMPgBjBbRkw2Hp5/550ACYxCmUtV4k4ui3Iw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] - color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} + '@node-minify/core@9.0.2': + resolution: {integrity: sha512-FNhv29Wom6wKrrFKaeAfmZqz7TX5A1E6P+bpd0VIc+DYWMLUIhAViS8riaZg3A1oD0s06s+5BG2Fg7RqMKiKHw==} + engines: {node: '>=18.0.0'} - color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + '@node-minify/terser@9.0.1': + resolution: {integrity: sha512-WF78Ex+/xNZZDYvzwB7+sLUYQbJzyyS36ZjMhVqhORejHOsoOcTjQ9TdOgKZoY7wlfxjnLxeMKkO8R/R1KL9aQ==} + engines: {node: '>=18.0.0'} - concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + '@node-minify/utils@9.0.1': + resolution: {integrity: sha512-aC1+mhKTP3IMa2VcuGl3ui92LO/7CPQWldNGzu3BVGKiMNJ70AKJW/R6huuYCSuQyHDGM9oFwiVClsZnFxn67g==} + engines: {node: '>=18.0.0'} - cross-spawn@7.0.6: - resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} - engines: {node: '>= 8'} + '@opennextjs/aws@4.1.15': + resolution: {integrity: sha512-ulv7rFEAeieD0d/zDMnw4IFPU+zY/atVUhn7ezgFqIurLB5oBYeHCUGlcGk3Pg7uMPeI03SNRjHW1+xL9EwMPw==} + hasBin: true + peerDependencies: + diff: ^9.0.0 + next: '>=15.5.29 <16 || >=16.4.5' + peerDependenciesMeta: + diff: + optional: true - debug@4.4.3: - resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} - engines: {node: '>=6.0'} + '@opennextjs/cloudflare@1.20.16': + resolution: {integrity: sha512-3c1Cwex5e2jXy4o4RZAusy8o9Uz4eowuPCjdVLYEZ/MnkAzN2jh9dOgsRjgu3wjigXuNe8rmPECmOTo+xKQHsw==} + hasBin: true peerDependencies: - supports-color: '*' + next: '>=15.5.29 <16 || >=16.4.5' + rclone.js: ^0.6.6 + wrangler: ^4.148.0 peerDependenciesMeta: - supports-color: + rclone.js: optional: true - deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + '@parcel/watcher-android-arm64@2.6.0': + resolution: {integrity: sha512-trgpLSCKRC/huFjXX/Smh+0sWe4+YtKfktIToiMl59ghz7z+qkH6kMvNnUbLyRs9N11t8l4svSCs1+5B3rOAhA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [android] - escape-string-regexp@4.0.0: - resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} - engines: {node: '>=10'} + '@parcel/watcher-darwin-arm64@2.6.0': + resolution: {integrity: sha512-Y3QV0gl7Q1zbfueunkWIERICbEojQFCgpyG7YqOGNFLsckXyI1xu9mAIUpKY9QBYzBtSkN8dBPwd3yiAO9ovMw==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [darwin] - eslint-scope@8.4.0: - resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@parcel/watcher-darwin-x64@2.6.0': + resolution: {integrity: sha512-Ohv6OpzhUfKYD7Beb8kDvG0jbIxORCYY1JRdZnaBtnjjkJxgD7ZVL0nw2sCYd0yTMKTvz3nnTnOF3cDifK+kvw==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [darwin] - eslint-visitor-keys@3.4.3: - resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@parcel/watcher-freebsd-x64@2.6.0': + resolution: {integrity: sha512-5HmXvDgs8VK+74jF9y9/2FE3/OnlcKmc56tjmSrEuZjpSZOGL+fvAu+HKJBdPs9uwoP2hE6TlSUpXZ/C5jUFmQ==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [freebsd] + + '@parcel/watcher-linux-arm-glibc@2.6.0': + resolution: {integrity: sha512-Ps/hui3A+vMbjdqlqAowK2ZL8+BO8dBjxeWXj6npTBs3jx4wWmbPpaLuqwrQrSqIVMCnpWo238bJ1U37GhQOYg==} + engines: {node: '>= 10.0.0'} + cpu: [arm] + os: [linux] + + '@parcel/watcher-linux-arm-musl@2.6.0': + resolution: {integrity: sha512-9c6AUHgHoG+IY88MRIHupztQiQnrbqHYQjkM2btA+Bf/wQnQMuiD0Wfk1EVv3TlNT3x41uU71rn6E4xh/+zvkw==} + engines: {node: '>= 10.0.0'} + cpu: [arm] + os: [linux] + + '@parcel/watcher-linux-arm64-glibc@2.6.0': + resolution: {integrity: sha512-yHRqS2owEXe6Hic9z6Mh1ECsCd+ODVOGvZDyciqRd21+v+o+DnXMOrw50DSpIG2sb8GPEaPPmfeCAWKPJdq46g==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [linux] - eslint-visitor-keys@4.2.1: - resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@parcel/watcher-linux-arm64-musl@2.6.0': + resolution: {integrity: sha512-WhB2e/V7rqdHHWZusBSPuy5Ei8S6lSz6FE5TKKQz5h3a0O+C+mhY7vxU9b/stqvMb8beLnPY82ZrFTLKs+SrKA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [linux] - eslint-visitor-keys@5.0.1: - resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} - engines: {node: ^20.19.0 || ^22.13.0 || >=24} + '@parcel/watcher-linux-x64-glibc@2.6.0': + resolution: {integrity: sha512-ulGE6x6Oz6iAwg75T8YQSoguBWasniIbX+QWpaYPcCnDOpdWX3k+4xbEYPZVLxOuoJI+svJJPD3sEj8G7lrQ3A==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [linux] - eslint@9.39.5: - resolution: {integrity: sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. - hasBin: true - peerDependencies: - jiti: '*' - peerDependenciesMeta: - jiti: - optional: true + '@parcel/watcher-linux-x64-musl@2.6.0': + resolution: {integrity: sha512-tkBYKt7YQrjIJWYDnto2YgO8MRkjlMTSNoRHzsXinBqbLdeOM3L32wPZJvIZxqaLMfSlS/4sUjH/6STVP/XDLw==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [linux] - espree@10.4.0: - resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@parcel/watcher-win32-arm64@2.6.0': + resolution: {integrity: sha512-gIZAP23jaHjGWasY/TY6yL7NHFClf0Ga7FN+iINvk+KN94rhm94lYZhFsbYFNcA04/onvGD9kKmiJLJB2HbNwQ==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [win32] - esquery@1.7.0: - resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==} - engines: {node: '>=0.10'} + '@parcel/watcher-win32-x64@2.6.0': + resolution: {integrity: sha512-cA+/pXV2YkfxlIcXOQ5fSWqAzzPyD78/x5qbK/I0vUkrlYHA8TIz+MXjAbGouguKVSI4bOmkTSJ1/poVSsgt+A==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [win32] - esrecurse@4.3.0: - resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} + '@parcel/watcher@2.6.0': + resolution: {integrity: sha512-7FNeNl8NCE7aINx7WXiKQrPYZWC/hvrTsmk6zmxbI7LTXE7hVek/n8AfVgpe2y82zl3w0HvCHN0bVKMBoJcC0w==} + engines: {node: '>= 10.0.0'} - estraverse@5.3.0: - resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} - engines: {node: '>=4.0'} + '@pkgjs/parseargs@0.11.0': + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} - esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} + '@poppinss/colors@4.1.6': + resolution: {integrity: sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg==} - fast-deep-equal@3.1.3: - resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + '@poppinss/dumper@0.6.5': + resolution: {integrity: sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==} - fast-json-stable-stringify@2.1.0: - resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + '@poppinss/exception@1.2.3': + resolution: {integrity: sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==} - fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + '@rollup/rollup-android-arm-eabi@4.68.2': + resolution: {integrity: sha512-ItKrNMkEL3hy85kLBXwB0+M6CWWVI8vr7RV+Eb7oDlQIMXLaiEhGfdaj5jAUadYn2v3nwzAhIRl/nLyjAqV9vQ==} + cpu: [arm] + os: [android] - fdir@6.5.0: - resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} - engines: {node: '>=12.0.0'} - peerDependencies: - picomatch: ^3 || ^4 - peerDependenciesMeta: - picomatch: - optional: true + '@rollup/rollup-android-arm64@4.68.2': + resolution: {integrity: sha512-dCkT8BMPLo6X6GCFVtuzrnr981PpJSeK4ZO/d/mZdJ/ao61Qa1Usd/OHIQ69MQgw4qQclR/X6uRRUONiWwD8cw==} + cpu: [arm64] + os: [android] - file-entry-cache@8.0.0: - resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} - engines: {node: '>=16.0.0'} + '@rollup/rollup-android-x64@4.68.2': + resolution: {integrity: sha512-p2jkKiscqQOGmyL6qu+KvJctvBc3SQTd+Xi2lQYn5QvFLEWz+QI8Z9iI+xcIjez6vKRsSnWP56Y3Ep7g3Stiug==} + cpu: [x64] + os: [android] - find-up@5.0.0: - resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} - engines: {node: '>=10'} + '@rollup/rollup-darwin-arm64@4.68.2': + resolution: {integrity: sha512-aVIfOteo5zoX8aL742H/S3QsyN6aokNYjdzrLnQBKxgRVoh4cibTErpi61RzSmrv2hBzDB1i751hwwdc8QK0vQ==} + cpu: [arm64] + os: [darwin] - flat-cache@4.0.1: - resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} - engines: {node: '>=16'} + '@rollup/rollup-darwin-x64@4.68.2': + resolution: {integrity: sha512-+Wuf4TFTHiE/WnjKgH1SkNf/9D5ddoed1UR0p3jxjNAGemdeeQRL+r1bJ1LlZyha0VKDBYLB2U/a9a9KlSw4Kw==} + cpu: [x64] + os: [darwin] - flatted@3.4.4: - resolution: {integrity: sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==} + '@rollup/rollup-freebsd-arm64@4.68.2': + resolution: {integrity: sha512-feKK2dc13j/6D9mAp7XKhBM/VUqn0N/xRgP6rT7/mdRVVJUaeZ4lsJ9hN90aTi0k3OD+mkjlcN01vQ96Ac9VzQ==} + cpu: [arm64] + os: [freebsd] - glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} + '@rollup/rollup-freebsd-x64@4.68.2': + resolution: {integrity: sha512-s1oGXPGX1PNqdi9TLWD+RwtPEYf/BOTbCcq4anJBqNbzyjucti86ldYH37eKvsyTP7Bl5/Hf8XmbIxCz/iafTA==} + cpu: [x64] + os: [freebsd] - globals@14.0.0: - resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} - engines: {node: '>=18'} + '@rollup/rollup-linux-arm-gnueabihf@4.68.2': + resolution: {integrity: sha512-ksR3ZmzHrm6HOUP8UlDBy5hNTcG9cEIa3EyGnxn5BjorLRjBh4ucxhwjwwVEm0dqcIN4Egc/XjDUiPQwN1ic9A==} + cpu: [arm] + os: [linux] - has-flag@4.0.0: - resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} + '@rollup/rollup-linux-arm-musleabihf@4.68.2': + resolution: {integrity: sha512-STZVVBM35wULVsQah0xKfCBQMPpHliOfjnRaUNT35jrbpfapUrD8ix6Yhl7tLHW0xQSWotXSSghjUi/DclwRSw==} + cpu: [arm] + os: [linux] - ignore@5.3.2: - resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} - engines: {node: '>= 4'} + '@rollup/rollup-linux-arm64-gnu@4.68.2': + resolution: {integrity: sha512-Fm/GPC2R0zlJYQIp9aY9L1lO2z+P+UrcvXG6fhubfo/BbMOLZlLXshnbECOTqr3pxfZFb6nNn0QgDETDtrX7TQ==} + cpu: [arm64] + os: [linux] - ignore@7.0.14: - resolution: {integrity: sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ==} - engines: {node: '>= 4'} + '@rollup/rollup-linux-arm64-musl@4.68.2': + resolution: {integrity: sha512-VoqlckWcwNF3WqsUkLZg91zYFgBvrC37Lc5e8AU+BKdCUFDMPoN0Rsin/LvF+rBVF527gWo5KT0oHkaAZaL1GA==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-loong64-gnu@4.68.2': + resolution: {integrity: sha512-Zr8X/SUf7Jjwxt99BqPDF/Wq+sz4oUBIP6HBaFQWwb8wO1nV6LBIpD6jB9cMybLho93Z+B8rrN0uXEL6oNOUJQ==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-loong64-musl@4.68.2': + resolution: {integrity: sha512-2EhrYEJNXIyhSZESwm/kCke1tiH7QAPOU3v3MsLM9J+Nfn2QCDe/pGROUAvYFK0BL2MEbzNgfrqrbnE5CFXkLw==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-ppc64-gnu@4.68.2': + resolution: {integrity: sha512-IC0dYuEQknw0m2FYBNBKlbrgBJBH5OMRiaRfCc4CFSpYnmDnqTpNSv+TgX+loezGTdRjBNZuYZi3t+Oc5NxNYg==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-ppc64-musl@4.68.2': + resolution: {integrity: sha512-Zlzm6fGuDvtAqMEl071/g17vxq6u2Y2v/rON/gDY4NvzWLJ41BGAlwhF3QuAzwq05zIPo4LYzdqwhx3oisYCUw==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.68.2': + resolution: {integrity: sha512-KhEpYRtHZ3Kj4shavjXeH+K1bQlA6UbP6MJ45rMPF/11JlZb1SRNLeuWCdigUEoMMaFO4+LwwcS+ew1SoLJu/g==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-riscv64-musl@4.68.2': + resolution: {integrity: sha512-LPn9qvPsM/Ofd6Ekq3im6nB8Tk1ruJhTd3x/2bJkTR8m/XTsfxA+EU0RJ23WJqgJg123kitHAqbEK7B4cL1uPg==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.68.2': + resolution: {integrity: sha512-Q1+E+pzSP+FiXuIZtxKR+pK7l2KQ9gsM+VaFPv1LR277kp7l61crG46WGLKLLay3Js5cvyU9Keqdzxa1EcFO+g==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.68.2': + resolution: {integrity: sha512-3Btp4Lca/WzsmbaKu9Lh9d/XwyRDIegd/5khRBusHGw/Ll6SoF5Shn63OrjPdkLcpNi2PGDApXzNmxriRxGYjA==} + cpu: [x64] + os: [linux] - import-fresh@3.3.1: - resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} - engines: {node: '>=6'} + '@rollup/rollup-linux-x64-musl@4.68.2': + resolution: {integrity: sha512-5SKVaUiVs18+DGBnpg0mORGxgq/0udczngGxV/vf2nvK1djqpOKIxY/+8rBWxAbWGRE4RnnwxWabDwJN3pCwIQ==} + cpu: [x64] + os: [linux] - imurmurhash@0.1.4: - resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} - engines: {node: '>=0.8.19'} + '@rollup/rollup-openbsd-x64@4.68.2': + resolution: {integrity: sha512-KBpm48/lESsHgWd+dRlcy18APBYhXU4Jb6VlJoqbpWNwfpztFXwP22qVv9aHd3k1quSrmLeJwYLc7rpQ+BFZrw==} + cpu: [x64] + os: [openbsd] - is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} + '@rollup/rollup-openharmony-arm64@4.68.2': + resolution: {integrity: sha512-o0D0bfRW8QGA1Ph6OzqVHMq5LRu1xkr1iM7qQIXUSFuR60ddXeDhN9UR4bUBPLYsrT46sZwwgQa51TWtBV3r5g==} + cpu: [arm64] + os: [openharmony] - is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} + '@rollup/rollup-win32-arm64-msvc@4.68.2': + resolution: {integrity: sha512-r17kcu5kmd6WQwokYmfBnfwM/icureCWCPjpJVALcrSv5Lfy6Ggk9azxXor6hILhCHbc/4IfEiv+L5RXaOHinA==} + cpu: [arm64] + os: [win32] - isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + '@rollup/rollup-win32-ia32-msvc@4.68.2': + resolution: {integrity: sha512-yUtOqq7ZrQoZ3WiHSR6QGTdOl4YgMHqXIYSBYU6siIcC0YF0pEwx7aGsPTm2mRwrmW6SMJkxzEdFm6wqXpmbNw==} + cpu: [ia32] + os: [win32] - js-yaml@4.3.2: - resolution: {integrity: sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==} - hasBin: true + '@rollup/rollup-win32-x64-gnu@4.68.2': + resolution: {integrity: sha512-5IYoWxQGo5WECbJbImIf2w33uCHJNLv4o/FQtSyeYDed7AC6zx84NsEcGYccoI2geDEYkrxUXcsYK/6EhwVSIg==} + cpu: [x64] + os: [win32] - json-buffer@3.0.1: - resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + '@rollup/rollup-win32-x64-msvc@4.68.2': + resolution: {integrity: sha512-ee+c14ggUiM7lg4PtCjSBYU9O9dHp4FFespRnd5yj7SilUBJCL3x3aHlB+sIqbGjcPo3pEyODASnfKJuZ26YBw==} + cpu: [x64] + os: [win32] - json-schema-traverse@0.4.1: - resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + '@sindresorhus/is@7.2.0': + resolution: {integrity: sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==} + engines: {node: '>=18'} - json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + '@smithy/config-resolver@4.7.2': + resolution: {integrity: sha512-Y1XfSefHIOub9762qm3ShafdlEE/Va8h3kLUeMq765fNeWeNLcOP2YUPr86H1SlyGwZTOqQ67RlBZPZ3k9Djgg==} + engines: {node: '>=18.0.0'} - keyv@4.5.4: - resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + '@smithy/core@3.40.0': + resolution: {integrity: sha512-DssGno52pzZ5m6RlDtyKuBIpZNPg9pqgs0CnNDKz9IatxCsmvNmJNn5Zn6rf77MthZo9wf89OvZFhTY/RwxhxQ==} + engines: {node: '>=18.0.0'} - levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} + '@smithy/credential-provider-imds@4.5.2': + resolution: {integrity: sha512-A9uSdn72ozbRUSit0eib0TW7nXuNPlaeM0zcGkJ+nE6tFcSDbnmtwoxbTCFBukVQcszDAyvsd7+rTduPTXpygg==} + engines: {node: '>=18.0.0'} - locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} + '@smithy/eventstream-serde-browser@4.5.2': + resolution: {integrity: sha512-HQ4l596buGUPnypSGfoYKp17GvR0sMMKyc6PQ/NHxLmh8sQjP7h3TRvy+lW/et12UN9BRPAbHJKa4d3XMMVszQ==} + engines: {node: '>=18.0.0'} - lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + '@smithy/eventstream-serde-config-resolver@4.6.2': + resolution: {integrity: sha512-GVWpmVKiVAvZDr3E0qRPu+A7TzeeMUctuP9SoFpzGx31lenW3Wk8zq7N97p8sJMwLCyVhXcbv5D0UTURCHdH0w==} + engines: {node: '>=18.0.0'} - minimatch@10.2.6: - resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==} - engines: {node: 18 || 20 || >=22} + '@smithy/eventstream-serde-node@4.5.2': + resolution: {integrity: sha512-WkWkseIHXv+hr6RnrkpEOv5TOPHWLzzlOsocnPCCKsdfCOkBN7qhBn1/Pij9QZynkloJXYsQp9A5ykdIPVL2tg==} + engines: {node: '>=18.0.0'} - minimatch@3.1.5: - resolution: {integrity: sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==} + '@smithy/fetch-http-handler@5.8.1': + resolution: {integrity: sha512-h8BdMUrUBhMhMaeK7QqAdINRZezCGuYOCpcOZZ1ewxbHST9rdTd09xwNpvLTYfzDRehxQiReK4SKbdYZxBA+ew==} + engines: {node: '>=18.0.0'} - ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + '@smithy/hash-blob-browser@4.5.2': + resolution: {integrity: sha512-+fx5GrWB/EElSRl/z+MQXa5RMaGH4ZH/MyZbBgH7CDE053KLD9o4kLGdrBGe8KicU/t22cHzdZs2cVwGL1yt9g==} + engines: {node: '>=18.0.0'} - natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + '@smithy/hash-node@4.5.2': + resolution: {integrity: sha512-OcD8fGClTkP0BWHVEAgUp1RZyCw8cKfqTPQ+DgrSF5jvR8zKkw2Aud79L4G/1Fu3QKLcsHExxRIPQCcKx7+xkg==} + engines: {node: '>=18.0.0'} - optionator@0.9.4: - resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} - engines: {node: '>= 0.8.0'} + '@smithy/hash-stream-node@4.5.2': + resolution: {integrity: sha512-0sx3A9RyCV8taQ1UM9P7K9JFH2bsLXhdIr85vNNXkhq7Q9TqUdm+XxGiBuInq76aA7vBdvUQFvvyBoB95DJf3Q==} + engines: {node: '>=18.0.0'} - p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} + '@smithy/invalid-dependency@4.5.2': + resolution: {integrity: sha512-VONOgtCxIXtwXrLVZPUdxOELYpkFzNizkpbQE5CrJ/OEh12Osx+LVXsLEAF+JcvVqPODmUoOUaovlOjCQHTOow==} + engines: {node: '>=18.0.0'} - p-locate@5.0.0: - resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} - engines: {node: '>=10'} + '@smithy/is-array-buffer@2.2.0': + resolution: {integrity: sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==} + engines: {node: '>=14.0.0'} - parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} + '@smithy/md5-js@4.5.2': + resolution: {integrity: sha512-EC8CXhy/Y3DHniNBPK63ECkYir91IpFhIbVOo/Z7y75hO3RMFY0v+b6MUPLVp0TBtTRo+A5uU73yqyrTecTJmw==} + engines: {node: '>=18.0.0'} - path-exists@4.0.0: - resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} + '@smithy/middleware-content-length@4.5.2': + resolution: {integrity: sha512-43Ixsc2OE5rhruhc9a1vETUCmK3Yh1AIbg2+wwQUgloOIti2FgPHmPLLBkjIqx8vdmpABtsVlhazNr5TMZKJmA==} + engines: {node: '>=18.0.0'} - path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} + '@smithy/middleware-endpoint@4.7.2': + resolution: {integrity: sha512-7HgK3/pQQHcD5w9lOPtK53/eDMKDp324Nd4KZ8XvxlcKHiWytuM9VwVOB2iy3rutsz/N1WNEWBkaRBayrGnuog==} + engines: {node: '>=18.0.0'} - picomatch@4.0.7: - resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} - engines: {node: '>=12'} + '@smithy/middleware-retry@4.8.2': + resolution: {integrity: sha512-wj0BTZ6SC7YI8hSLMbZCO1BP7k8JOuSUHjRYrZJApqNEiHL6jxaLs5Sr92EeXu5CuVzZOUCFUuewXusWxps0bQ==} + engines: {node: '>=18.0.0'} - prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} + '@smithy/middleware-serde@4.5.2': + resolution: {integrity: sha512-5Qeqkw4IdmUQUGR/FRImBruFcnXiwGC8+EOVH377bonkQF66temzxM4HbCnOOQb8U/SClP1IdlFbC7CTmKux4Q==} + engines: {node: '>=18.0.0'} - punycode@2.3.1: - resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} - engines: {node: '>=6'} + '@smithy/middleware-stack@4.5.2': + resolution: {integrity: sha512-db1TDSBA03WtomPMLWPy69L85vEaQbbnDHlmCYQ7hIqOdD22K+k8GlsVYdafYKaFkJaJW2OvcgcXOELGfhtptA==} + engines: {node: '>=18.0.0'} - resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} + '@smithy/node-config-provider@4.6.2': + resolution: {integrity: sha512-zMrXu/O5tPa7GLtra8L4wFG6DACcXT9QV4Ay+WEAjUhXm1dVq7c/q9Qv9gkJZNLY8hmQKg08778kDcxpKNMqOA==} + engines: {node: '>=18.0.0'} - semver@7.8.6: - resolution: {integrity: sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==} - engines: {node: '>=10'} + '@smithy/node-http-handler@4.14.2': + resolution: {integrity: sha512-i1uORV1v3qBqP43ayRKzIdm1q5x14tf8N4Dd06/QUX1Szm6VxHMrTsu20X5E63UFsaNZCRjI4SXG0jDmqYa+3w==} + engines: {node: '>=18.0.0'} + + '@smithy/protocol-http@5.6.2': + resolution: {integrity: sha512-Asd04MaxODN6FNY8EPTeCAM4kPNi3jDUAjZU0Y4F9rHvpLUrrUo7KLcxFgSthywFr6dZfIyDLIJda6jxmVTk5w==} + engines: {node: '>=18.0.0'} + + '@smithy/signature-v4@5.7.5': + resolution: {integrity: sha512-WPjdr5oWOk1LArpI4pavu+fSo+/evi0Re1olxGvqwuZopd4gYR1UGCi+Soyn/IjmafqbWs+ZC+3AKxJS3ZpwUg==} + engines: {node: '>=18.0.0'} + + '@smithy/smithy-client@4.15.2': + resolution: {integrity: sha512-qweA7dHwcWmq8IN2mIGo7nAfeji1nwWBra+P3nz4R8W8yoQYE6Iy2bN33I0W3d50MN/V5EiDY/nElr4EHITsrg==} + engines: {node: '>=18.0.0'} + + '@smithy/types@4.20.0': + resolution: {integrity: sha512-lCA6QG22dPk9ecHbv91jDQZsmtPUjdS1aE2Il6NNPqe7DrYc0dZQi6DhcESk2KYXH2sp5xbAcGdYMZDFnuzA2A==} + engines: {node: '>=18.0.0'} + + '@smithy/url-parser@4.5.2': + resolution: {integrity: sha512-xqZcyU/YjOt9ofe8WM1y9aCaAmxel2iRiHpkT0x2BN++mRXw0M4VdxPAOtuux279JndY6wWMiOt5BJ2xmAuMYA==} + engines: {node: '>=18.0.0'} + + '@smithy/util-base64@4.6.2': + resolution: {integrity: sha512-wTQX1hPfElIqY6AzM/s6c4UgpMxCL4MwJ5u6340ksLPq78lur6Y+keheIDk5gMX4G3KFh4MERcDt6xhRq+ie1Q==} + engines: {node: '>=18.0.0'} + + '@smithy/util-body-length-browser@4.5.2': + resolution: {integrity: sha512-QyeUSin/R2nz0hXZ5ObTvhmCQomsr6+ZyHygab5AH5+fTY5xVDQeX1DFKp9uPEwOs6RW26jEn9yqq+4yqIZDrA==} + engines: {node: '>=18.0.0'} + + '@smithy/util-body-length-node@4.5.2': + resolution: {integrity: sha512-SErsW8pBKTCkFEA1RoChwW6/8JYzdcWqWDOsRP0xOtxMYsHOUMcldkcQjtujpKSy2FtlywqygCOxSKarc4TAZw==} + engines: {node: '>=18.0.0'} + + '@smithy/util-buffer-from@2.2.0': + resolution: {integrity: sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==} + engines: {node: '>=14.0.0'} + + '@smithy/util-defaults-mode-browser@4.6.2': + resolution: {integrity: sha512-wENSdyLXVzupl1nyPK7JP/wt6Lkph/psRgocKli5NLh7O936L66FrZQ/I9HBHwZ5N0Z4MJUoj8qNdw+/6cTRgA==} + engines: {node: '>=18.0.0'} + + '@smithy/util-defaults-mode-node@4.5.2': + resolution: {integrity: sha512-3915rhdCibo7Do927AFV6pXxsIiaKOZGGexJ3LnT2l5CgJZi3DPqZ2ZMhYTIPjiRA3asHhPe0gaFBtxuqXC8aA==} + engines: {node: '>=18.0.0'} + + '@smithy/util-endpoints@3.7.2': + resolution: {integrity: sha512-16wQS3r4gXctr9/uYB0OUAUOm1LZLUKAsBeG364l64OalFwsRRvgO+AjL3OYxmxt060z1ExchX2ayrNVfM0r9Q==} + engines: {node: '>=18.0.0'} + + '@smithy/util-middleware@4.5.2': + resolution: {integrity: sha512-wmfA04AZqTwu10EWGKUu4dm/3BZfSedqlqAiQPWVr8OkwFh0MovRDBwc48Pzd2YEEjqpI0JwXVk65TBarff3wQ==} + engines: {node: '>=18.0.0'} + + '@smithy/util-retry@4.6.2': + resolution: {integrity: sha512-q6MXFNu+W4ZCNdNKutzDLP/Hzumd1FU9CQX++P/7ylanYIYiGhgZwSzwZWAw+G1RNcfY+RBYv61XcGlSYhj+BA==} + engines: {node: '>=18.0.0'} + + '@smithy/util-stream@4.8.2': + resolution: {integrity: sha512-R+S7jmu8VdbtOygMUSIGfkmOBp0SowT8+8LZdk21oXdmmKfN4G/bwN5IGIi0UH3RwWc9KJWDH1Dzm45DClyUvw==} + engines: {node: '>=18.0.0'} + + '@smithy/util-utf8@2.3.0': + resolution: {integrity: sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==} + engines: {node: '>=14.0.0'} + + '@smithy/util-utf8@4.5.2': + resolution: {integrity: sha512-7wNWV7SugHpcMA7uzEawJNpE0GrasXM7a9E+1+Wm6NxVuDClESac/AKt+G7jMZNUz5vBLWqKlqVV7Sv7AtUr6Q==} + engines: {node: '>=18.0.0'} + + '@smithy/util-waiter@4.6.2': + resolution: {integrity: sha512-TNNK01i1HiSAR6hBF94J7q338JgEaHPrP8QKRSeQBsbSbw5O4+YGdZYitmsTeEWvHGX+2R/oQ7BzxyAjeZxuWg==} + engines: {node: '>=18.0.0'} + + '@speed-highlight/core@1.2.24': + resolution: {integrity: sha512-qeW2e1l78afw8VhRPfPQ1Gjj+KU5XFQ/OFV5ti6eTa9bruO7mJyZtA4vw0ofqmA3tKCkROE9xLk3VZoeRc98nw==} + + '@swc/helpers@0.5.15': + resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==} + + '@tsconfig/node18@18.2.8': + resolution: {integrity: sha512-bxn9vGVfFpyb0cv2JMvTdcfC16kiJy+4p88Ffi9vb4FAmNvhMiMW4BjMlVGEUvrtgDe9DcxPDAoOAcFJBW96IA==} + + '@turbo/darwin-64@2.11.11': + resolution: {integrity: sha512-HMMeUIEAsmyIbSYn1ySvF/4gGMa0joiTMq4dQDuloIAnOpbtFT3JEiVsYnASdTWDXvplbRbZlqjU1EBeSR9G1A==} + cpu: [x64] + os: [darwin] + + '@turbo/darwin-arm64@2.11.11': + resolution: {integrity: sha512-+8iySNgqYWY6PZYUQzYu6zn0C04z2OEq1vQ6oMGsJ9sxN6wOpg1gzi1AJ5VKDHviWvMUjhqng51hTEQZOuiqYQ==} + cpu: [arm64] + os: [darwin] + + '@turbo/linux-64@2.11.11': + resolution: {integrity: sha512-uImTKFYCFKsoFxjaXeJXlMPv4uU3OIIDjyzoIwYVqOtu9LnCZ/5/fzu/WP6+G9YfwGAPRplTHkKFfcI5t97RGw==} + cpu: [x64] + os: [android, linux] + + '@turbo/linux-arm64@2.11.11': + resolution: {integrity: sha512-Y7xffSVfyyYRGzNy6PLdrFL4xXN6iTuR3W0SyJvH/yd3d4defA6dansZwJpPDVnIpD8a2Qn256DwY/Qin4Ip4g==} + cpu: [arm64] + os: [android, linux] + + '@turbo/windows-64@2.11.11': + resolution: {integrity: sha512-e2WqNtkPGo3QDwNNwwBo89Dx3PtSJ9Wp9QuRNzn80rrRnSHB+1mfBMZTpdHjA8/G/sG9rl76TdWdpgVsimjRdg==} + cpu: [x64] + os: [win32] + + '@turbo/windows-arm64@2.11.11': + resolution: {integrity: sha512-LURivfmgv34Osm8NR1gZGx4vdlux9KAgRM+FoooXNG0838ff0+akWZ76iPSke0NS2rsf7Z4Gw+YSaygzNTZuRA==} + cpu: [arm64] + os: [win32] + + '@types/chai@5.2.3': + resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} + + '@types/deep-eql@4.0.2': + resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} + + '@types/estree@1.0.10': + resolution: {integrity: sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==} + + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + + '@types/jsonwebtoken@9.0.8': + resolution: {integrity: sha512-7fx54m60nLFUVYlxAB1xpe9CBWX2vSrk50Y6ogRJ1v5xxtba7qXTg5BgYDN5dq+yuQQ9HaVlHJyAAt1/mxryFg==} + + '@types/ms@2.1.0': + resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==} + + '@types/node-fetch@2.6.13': + resolution: {integrity: sha512-QGpRVpzSaUs30JBSGPjOg4Uveu384erbHBoT1zeONvyCfwQxIkUshLAOqN/k9EjGviPRmWTTe6aH2qySWKTVSw==} + + '@types/node@18.19.130': + resolution: {integrity: sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==} + + '@types/node@22.13.4': + resolution: {integrity: sha512-ywP2X0DYtX3y08eFVx5fNIw7/uIv8hYUKgXoK8oayJlLnKcRfEYCxWMVE1XagUdVtCJlZT1AU4LXEABW+L1Peg==} + + '@types/react-dom@19.2.4': + resolution: {integrity: sha512-Bsc+QHgp+P/F02XDzNCY9jnZNCUuLki36KT7VKrTXXLdHf+vHMNZnW1rVu5DNW/rCK+fya3DATySbLM4yhtKUw==} + peerDependencies: + '@types/react': ^19.2.0 + + '@types/react@19.2.18': + resolution: {integrity: sha512-AnzbBERsrLKtk2XSfTbYRLjQPdy116Sty4q+T+Bp3IC4l6jNBvreVPAHmpq9qhXQM7CXZPjLVmGMw9sy+hxQ3w==} + + '@typescript-eslint/eslint-plugin@8.72.2': + resolution: {integrity: sha512-222PKFXKihmFpi/pS5njoBgdAqsPhj2/GBmFbrNw8Tq8gEG9Sv+kSlKFy4u2q+mJv9ZzJgM2Gkv/bUzRZwZw5g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + '@typescript-eslint/parser': ^8.72.2 + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/parser@8.72.2': + resolution: {integrity: sha512-llP+T1YuJOLlxEciP6OyQGtz5SMxyn+9LA2BvZw5RmToGVa1y4beEDVQL6Gje7T5WFYh19WREjDCN9Ev4gm5AA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/project-service@8.72.2': + resolution: {integrity: sha512-6y5dLTZdHhI8Eh3yIQ/bfQhRKwn5e+TpJj64o18Cngc0iW/BCrVvrr6zGYqXPnYH31u6YXAYiFh0+qxX5mybJw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/scope-manager@8.72.2': + resolution: {integrity: sha512-iIoMJ6/8c1/QpFNyFjU0d1YzPco4MsZjQw0k3V+vfzNWAFmUmvhlyMoYEoYYDQZXc+J6Gi1X5XcxlzW2taIIGQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/tsconfig-utils@8.72.2': + resolution: {integrity: sha512-+h3iCgZXuTNtoLXcnnjP12ZUHLMqoUcIHPfQrFEXTUqvb9dF8QK9b5nv5VtSo5fLkdHuks8ehbTzZj3rImAm9w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/type-utils@8.72.2': + resolution: {integrity: sha512-STfkR38qIdhfkLpgtXnUjAzsNy4xouqiBO0lrVc/Wpk9Kem5/aHXUx1J8dGC16zpdYN1+yc2ILQ28er1kXX7ag==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/types@8.72.2': + resolution: {integrity: sha512-Xfn37OLZx03+PCU7qWx9DTv2FCRh1E6fk2+wONeNY15HXIwtcwuveaSwVpGAUptkNmPQegRxW5JyRel9T7wrog==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/typescript-estree@8.72.2': + resolution: {integrity: sha512-pQEGqIK/cqEvKivVWaFLYpe7XYejFxfuAOi4mu1oAWFvIo36aRHI9esRFTUxcIy/z8N482RJyH+LpZB0ZIU7Ow==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/utils@8.72.2': + resolution: {integrity: sha512-hv3eRYbpPbbpezuax1EfGrzpa3C4ySgNZkPUkLOWOAjU8HsOKowEDAr8C7nsNl1C+SBSKDpvno6VKHnlhvp9iA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/visitor-keys@8.72.2': + resolution: {integrity: sha512-NAGrjn0Pitjqzq/GkgMC4kBYm233PQ8GffyQ9+kTA3AlNQYEzOf25EIM02BAHZv5FRJSpHpJk+OGUxVkOB93GQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@vitest/expect@3.2.7': + resolution: {integrity: sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==} + + '@vitest/mocker@3.2.7': + resolution: {integrity: sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==} + peerDependencies: + msw: ^2.4.9 + vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@3.2.7': + resolution: {integrity: sha512-KUHlwqVu0sRlhCdyPdQ/wBoTfRahjUky1MubOmYw9fWfIZy1gNoHpuaaQBPAaMaVYdQYHJLurzj8ECCj5OwTqA==} + + '@vitest/runner@3.2.7': + resolution: {integrity: sha512-sB9y4ovltoQP+WaUPwmSxO9WIg9Ig694Di5PalVPsYHklAdE027mehpWF2SQSVq+k6sFgaivbTjTJwZLSHbedA==} + + '@vitest/snapshot@3.2.7': + resolution: {integrity: sha512-7C+MwShwtBSI5Buwoyg3s/iY1eHL9PKAf+O1wVh/TdnjXUtkoL/9YQtre90i4MtNXM6edP1wJ2zOBpfCyhIS7g==} + + '@vitest/spy@3.2.7': + resolution: {integrity: sha512-Q2eQGI6d2L/hBtZ0qNuKcAGid68XK6cv1xsoaIma6PaJhHPoqcEJhYpXZ/5myCMqkNgtP6UKuBhbc0nHKnrkuQ==} + + '@vitest/utils@3.2.7': + resolution: {integrity: sha512-x6BDOd7dyo3PFLY3I9/HJ25X/6OurhGXk2/B9gOZNPF7XDVjeBK4k01lQE5uvDpbuheErh91qYuE1E2OEjK3Rw==} + + abort-controller@3.0.0: + resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} + engines: {node: '>=6.5'} + + accepts@2.0.0: + resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} + engines: {node: '>= 0.6'} + + acorn-jsx@5.3.2: + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + + acorn@8.19.0: + resolution: {integrity: sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==} + engines: {node: '>=0.4.0'} hasBin: true - shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + agentkeepalive@4.6.0: + resolution: {integrity: sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==} + engines: {node: '>= 8.0.0'} + + ajv@6.15.0: + resolution: {integrity: sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==} + + ansi-colors@4.1.3: + resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} + engines: {node: '>=6'} + + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + ansi-regex@6.6.0: + resolution: {integrity: sha512-XZ5apbzreCbXSKwPjJstu8R0zOi247w3XYwWxtwBXgpZrCyc1Ka7p9/xY0A9/diMewmHbEKz+FIraWaEWjlN5g==} + engines: {node: '>=12'} + + ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} - strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + ansi-styles@6.2.3: + resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==} + engines: {node: '>=12'} + + argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + + array-timsort@1.0.3: + resolution: {integrity: sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==} + + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + + asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + + aws4fetch@1.0.20: + resolution: {integrity: sha512-/djoAN709iY65ETD6LKCtyyEI04XIBP5xVvfmNxsEP0uJB5tyaGBztSryRr4HqMStr9R06PisQE7m9zDTXKu6g==} + + balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + balanced-match@4.0.4: + resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} + engines: {node: 18 || 20 || >=22} + + blake3-wasm@2.1.5: + resolution: {integrity: sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==} + + body-parser@2.4.0: + resolution: {integrity: sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==} + engines: {node: '>=18'} + + bowser@2.15.0: + resolution: {integrity: sha512-xic6KSZglg/I4ymp45fdM4GWfYpBK79Fxd/TOvJktlaPgQqqDxvmGwOPZl2V0dyeS3Lj5c180bLhXF43iyAjZQ==} + + brace-expansion@1.1.22: + resolution: {integrity: sha512-CKLDTuSsN0+r1ThM0WkzzBI7dnPI6xEGfa/JnVYIK9JNBA1N1NyPwXVHor//NKD/y3sDxp764sZdLhFK7pH8XQ==} + + brace-expansion@2.1.8: + resolution: {integrity: sha512-BnlDzDYQoplTsZSvPi86CNzmbcb07X8ufR8fk1zivaiEJlXJkiq1MQyDCVmlWcsWbj6aWXqHnrwwevbrm/Saig==} + + brace-expansion@5.0.13: + resolution: {integrity: sha512-Vh3dmFbc4wZeox7M9I/0L9GfFd83Su4+yCck/OF9Gi/P/dAHn0RT7X4K9R7gMNMhDck3DvhR6QXsnQdjjgwNvQ==} + engines: {node: 20 || >=22} + + buffer-equal-constant-time@1.0.1: + resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} + + buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + + bytes@3.1.2: + resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} + engines: {node: '>= 0.8'} + + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} - supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + call-bind-apply-helpers@1.0.2: + resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} + engines: {node: '>= 0.4'} + + call-bound@1.0.4: + resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} + engines: {node: '>= 0.4'} + + callsites@3.1.0: + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} + + caniuse-lite@1.0.30001826: + resolution: {integrity: sha512-wTB+9tIbLro/BCXwLuNV1meHE4L9dS6dArMDwgYfNBPMYScqClHyGunhkCSDtHhe/69Xl0sHlKgBVZ+fNsYtWA==} + + chai@5.3.3: + resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==} + engines: {node: '>=18'} + + chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + + chalk@5.6.2: + resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + + check-error@2.1.3: + resolution: {integrity: sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==} + engines: {node: '>= 16'} + + chokidar@4.0.3: + resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} + engines: {node: '>= 14.16.0'} + + ci-info@4.5.0: + resolution: {integrity: sha512-d1uM8k5UZEyPza1n/MG3ko8nKupKN0KJpFsipgPcgaCCvV+IqIfJ+NzTjetlLM+UcXZx3+cLrNr76+eAO7G1Mw==} engines: {node: '>=8'} - tinyglobby@0.2.17: - resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} - engines: {node: '>=12.0.0'} + client-only@0.0.1: + resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} - ts-api-utils@2.5.0: - resolution: {integrity: sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==} - engines: {node: '>=18.12'} - peerDependencies: - typescript: '>=4.8.4' + cliui@9.0.1: + resolution: {integrity: sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==} + engines: {node: '>=20'} - turbo@2.11.11: - resolution: {integrity: sha512-AI4UJbUE/2cVZdoXJ4PODc8qvrjhQQX9Fa93eKGOI6Ims/w7+kUIb9T1jhlgSnZcf+gtUruci/ohSwqtNNC5Yw==} - hasBin: true + cloudflare@4.5.0: + resolution: {integrity: sha512-fPcbPKx4zF45jBvQ0z7PCdgejVAPBBCZxwqk1k7krQNfpM07Cfj97/Q6wBzvYqlWXx/zt1S9+m8vnfCe06umbQ==} + + color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + + color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + combined-stream@1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + + commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + + comment-json@4.6.2: + resolution: {integrity: sha512-R2rze/hDX30uul4NZoIZ76ImSJLFxn/1/ZxtKC1L77y2X1k+yYu1joKbAtMA2Fg3hZrTOiw0I5mwVMo0cf250w==} + engines: {node: '>= 6'} + + concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + content-disposition@2.0.1: + resolution: {integrity: sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog==} + engines: {node: '>=18'} + + content-type@2.1.0: + resolution: {integrity: sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==} + engines: {node: '>=18'} + + cookie-signature@1.2.2: + resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==} + engines: {node: '>=6.6.0'} + + cookie@0.7.2: + resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} + engines: {node: '>= 0.6'} + + cookie@1.1.1: + resolution: {integrity: sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==} + engines: {node: '>=18'} + + cross-spawn@7.0.6: + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} + + csstype@3.2.3: + resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==} + + debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} + engines: {node: '>=6'} + + deep-is@0.1.4: + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + + delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + + depd@2.0.0: + resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} + engines: {node: '>= 0.8'} + + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + + dunder-proto@1.0.1: + resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} + engines: {node: '>= 0.4'} + + duplexer@0.1.2: + resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} + + eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + + ecdsa-sig-formatter@1.0.11: + resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==} + + ee-first@1.1.1: + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + + emoji-regex@10.6.0: + resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==} + + emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + + encodeurl@2.0.2: + resolution: {integrity: sha512-ddmxiyS6ETq/v5/+mdA4fykK7JgEmqcShrGmQFTaKf5o43tL8XLuMzNLLsspuIC3/qGupS7Ci2TF+feJRkYY0w==} + engines: {node: '>= 0.8'} + + enquirer@2.4.1: + resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} + engines: {node: '>=8.6'} + + error-stack-parser-es@1.0.5: + resolution: {integrity: sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA==} + + es-define-property@1.0.1: + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} + engines: {node: '>= 0.4'} + + es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} + + es-module-lexer@1.7.0: + resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} + + es-object-atoms@1.1.2: + resolution: {integrity: sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==} + engines: {node: '>= 0.4'} + + es-set-tostringtag@2.1.0: + resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==} + engines: {node: '>= 0.4'} + + esbuild@0.28.2: + resolution: {integrity: sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==} + engines: {node: '>=18'} + hasBin: true + + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + + escape-html@1.0.3: + resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} + + escape-string-regexp@4.0.0: + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} + + eslint-scope@8.4.0: + resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + eslint-visitor-keys@3.4.3: + resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + eslint-visitor-keys@4.2.1: + resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + eslint-visitor-keys@5.0.1: + resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + + eslint@9.39.5: + resolution: {integrity: sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. + hasBin: true + peerDependencies: + jiti: '*' + peerDependenciesMeta: + jiti: + optional: true + + espree@10.4.0: + resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + esprima@4.0.1: + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} + hasBin: true + + esquery@1.7.0: + resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==} + engines: {node: '>=0.10'} + + esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + + estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + esutils@2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + + etag@1.8.1: + resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} + engines: {node: '>= 0.6'} + + event-target-shim@5.0.1: + resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} + engines: {node: '>=6'} + + expect-type@1.4.0: + resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==} + engines: {node: '>=12.0.0'} + + express@5.3.0: + resolution: {integrity: sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g==} + engines: {node: '>= 18'} + + fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + + fast-json-stable-stringify@2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + + fast-levenshtein@2.0.6: + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + + file-entry-cache@8.0.0: + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} + + finalhandler@2.1.1: + resolution: {integrity: sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==} + engines: {node: '>= 18.0.0'} + + find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + + flat-cache@4.0.1: + resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} + engines: {node: '>=16'} + + flatted@3.4.4: + resolution: {integrity: sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==} + + foreground-child@3.3.1: + resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==} + engines: {node: '>=14'} + + form-data-encoder@1.7.2: + resolution: {integrity: sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==} + + form-data@4.0.6: + resolution: {integrity: sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==} + engines: {node: '>= 6'} + + formdata-node@4.4.1: + resolution: {integrity: sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==} + engines: {node: '>= 12.20'} + + forwarded@0.2.0: + resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} + engines: {node: '>= 0.6'} + + fresh@2.0.0: + resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==} + engines: {node: '>= 0.8'} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + + get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + + get-east-asian-width@1.7.0: + resolution: {integrity: sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==} + engines: {node: '>=18'} + + get-intrinsic@1.3.0: + resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} + engines: {node: '>= 0.4'} + + get-proto@1.0.1: + resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} + engines: {node: '>= 0.4'} + + glob-parent@6.0.2: + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} + + glob@10.3.3: + resolution: {integrity: sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==} + engines: {node: '>=16 || 14 >=14.17'} + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me + hasBin: true + + glob@13.0.7: + resolution: {integrity: sha512-wfsFgXQ8A3SEI9XGf7Nl3Y9l7ffSrGh7SUCT7vU/2CzYPep9kjxAn1S40F9OPKxAMGCVl7HtNlJhrCJUeUq83g==} + engines: {node: 18 || 20 || >=22} + + globals@14.0.0: + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} + + gopd@1.2.0: + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} + + gzip-size@6.0.0: + resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} + engines: {node: '>=10'} + + has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + + has-symbols@1.1.0: + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} + engines: {node: '>= 0.4'} + + has-tostringtag@1.0.2: + resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} + engines: {node: '>= 0.4'} + + hasown@2.0.4: + resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==} + engines: {node: '>= 0.4'} + + highlight.js@11.11.1: + resolution: {integrity: sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==} + engines: {node: '>=12.0.0'} + + http-errors@2.0.1: + resolution: {integrity: sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==} + engines: {node: '>= 0.8'} + + humanize-ms@1.2.1: + resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} + + iconv-lite@0.7.3: + resolution: {integrity: sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==} + engines: {node: '>=0.10.0'} + + ignore@5.3.2: + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} + engines: {node: '>= 4'} + + ignore@7.0.14: + resolution: {integrity: sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ==} + engines: {node: '>= 4'} + + immutable@5.1.10: + resolution: {integrity: sha512-Uu72qZXUtm+n98uML3Xr6pVFHl4xnmeCuAsrm0VqFlQim/Ib6NrPSJLpx6CrZ/G6DnoGaCUgtx8gY+o+ovxnCw==} + + import-fresh@3.3.1: + resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} + engines: {node: '>=6'} + + imurmurhash@0.1.4: + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} + + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + ipaddr.js@1.9.1: + resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} + engines: {node: '>= 0.10'} + + is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + + is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + + is-promise@4.0.0: + resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==} + + isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + + jackspeak@2.3.6: + resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} + engines: {node: '>=14'} + + js-tokens@9.0.1: + resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} + + js-yaml@4.3.2: + resolution: {integrity: sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==} + hasBin: true + + json-buffer@3.0.1: + resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + + json-schema-traverse@0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + + json-stable-stringify-without-jsonify@1.0.1: + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + + jsonwebtoken@9.0.2: + resolution: {integrity: sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==} + engines: {node: '>=12', npm: '>=6'} + + jwa@1.4.2: + resolution: {integrity: sha512-eeH5JO+21J78qMvTIDdBXidBd6nG2kZjg5Ohz/1fpa28Z4CcsWUzJ1ZZyFq/3z3N17aZy+ZuBoHljASbL1WfOw==} + + jws@3.2.3: + resolution: {integrity: sha512-byiJ0FLRdLdSVSReO/U4E7RoEyOCKnEnEPMjq3HxWtvzLsV08/i5RQKsFVNkCldrCaPr2vDNAOMsfs8T/Hze7g==} + + keyv@4.5.4: + resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + + kleur@4.1.5: + resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} + engines: {node: '>=6'} + + levn@0.4.1: + resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} + engines: {node: '>= 0.8.0'} + + locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + + lodash.includes@4.3.0: + resolution: {integrity: sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==} + + lodash.isboolean@3.0.3: + resolution: {integrity: sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==} + + lodash.isinteger@4.0.4: + resolution: {integrity: sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==} + + lodash.isnumber@3.0.3: + resolution: {integrity: sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==} + + lodash.isplainobject@4.0.6: + resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==} + + lodash.isstring@4.0.1: + resolution: {integrity: sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==} + + lodash.merge@4.6.2: + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + + lodash.once@4.1.1: + resolution: {integrity: sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==} + + loupe@3.2.1: + resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==} + + lru-cache@10.4.3: + resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + + lru-cache@11.5.3: + resolution: {integrity: sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==} + engines: {node: 20 || >=22} + + magic-string@0.30.21: + resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} + + marked-highlight@2.2.1: + resolution: {integrity: sha512-SiCIeEiQbs9TxGwle9/OwbOejHCZsohQRaNTY2u8euEXYt2rYUFoiImUirThU3Gd/o6Q1gHGtH9qloHlbJpNIA==} + peerDependencies: + marked: '>=4 <16' + + marked@15.0.7: + resolution: {integrity: sha512-dgLIeKGLx5FwziAnsk4ONoGwHwGPJzselimvlVskE9XLN4Orv9u2VA3GWw/lYUqjfA0rUT/6fqKwfZJapP9BEg==} + engines: {node: '>= 18'} + hasBin: true + + math-intrinsics@1.1.0: + resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} + engines: {node: '>= 0.4'} + + media-typer@1.1.1: + resolution: {integrity: sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==} + engines: {node: '>= 0.8'} + + merge-descriptors@2.0.0: + resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==} + engines: {node: '>=18'} + + mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + + mime-db@1.54.0: + resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} + engines: {node: '>= 0.6'} + + mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + + mime-types@3.0.2: + resolution: {integrity: sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==} + engines: {node: '>=18'} + + miniflare@5.20261110.1-beta: + resolution: {integrity: sha512-CO8T1DO3/JFxEWvJ7yaHiPx5Ph/5FhRzYKve6cM8O2frHmY7yWudV5p8FU11bfGRAerChGpuK+l0HoxOCw2nFw==} + engines: {node: '>=22.12.0'} + peerDependencies: + kerberos: ^2.0.0 + peerDependenciesMeta: + kerberos: + optional: true + + minimatch@10.2.6: + resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==} + engines: {node: 18 || 20 || >=22} + + minimatch@3.1.5: + resolution: {integrity: sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==} + + minimatch@9.0.9: + resolution: {integrity: sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==} + engines: {node: '>=16 || 14 >=14.17'} + + minipass@7.1.3: + resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==} + engines: {node: '>=16 || 14 >=14.17'} + + mkdirp@3.0.1: + resolution: {integrity: sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==} + engines: {node: '>=10'} + hasBin: true + + mnemonist@0.38.3: + resolution: {integrity: sha512-2K9QYubXx/NAjv4VLq1d1Ly8pWNC5L3BrixtdkyTegXWJIqY+zLNDhhX/A+ZwWt70tB1S8H4BE8FLYEFyNoOBw==} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + nanoid@3.3.20: + resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + natural-compare@1.4.0: + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + + negotiator@1.1.0: + resolution: {integrity: sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==} + engines: {node: '>=18'} + + next@15.5.29: + resolution: {integrity: sha512-93AMszTCdi9Az7fD5VzcWy46SHCdQF45+i53K0LpDc4dDXCwB9P1SxP1wBYZKW6dF3HJnz41jyEni1vmgCluiw==} + engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} + hasBin: true + 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 + peerDependenciesMeta: + '@opentelemetry/api': + optional: true + '@playwright/test': + optional: true + babel-plugin-react-compiler: + optional: true + sass: + optional: true + + node-addon-api@7.1.1: + resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==} + + node-domexception@1.0.0: + resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} + engines: {node: '>=10.5.0'} + deprecated: Use your platform's native DOMException instead + + node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + + object-inspect@1.13.4: + resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} + engines: {node: '>= 0.4'} + + obliterator@1.6.1: + resolution: {integrity: sha512-9WXswnqINnnhOG/5SLimUlzuU1hFJUc8zkwyD59Sd+dPOMf05PmnYG/d6Q7HZ+KmgkZJa1PxRso6QdM3sTNHig==} + + on-finished@2.4.2: + resolution: {integrity: sha512-ATWUv387i+nLD49EiDoOft5scf32Vsdz3ktrQJG9bi7jRFmaXTssvyvj1EmeKVVgvesbqUtvQQvaS2TpTukAZQ==} + engines: {node: '>= 0.8'} + + once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + + optionator@0.9.4: + resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} + engines: {node: '>= 0.8.0'} + + p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + + p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + + parent-module@1.0.1: + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} + + parseurl@1.3.3: + resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} + engines: {node: '>= 0.8'} + + path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + + path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + + path-scurry@1.11.1: + resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} + engines: {node: '>=16 || 14 >=14.18'} + + path-scurry@2.0.2: + resolution: {integrity: sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==} + engines: {node: 18 || 20 || >=22} + + path-to-regexp@6.3.0: + resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==} + + path-to-regexp@8.4.2: + resolution: {integrity: sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==} + + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + + pathval@2.0.1: + resolution: {integrity: sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==} + engines: {node: '>= 14.16'} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@4.0.7: + resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} + engines: {node: '>=12'} + + postcss@8.4.31: + resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} + engines: {node: ^10 || ^12 || >=14} + + postcss@8.5.2: + resolution: {integrity: sha512-MjOadfU3Ys9KYoX0AdkBlFEF1Vx37uCCeN4ZHnmwm9FfpbsGWMZeBLMmmpY+6Ocqod7mkdZ0DT31OlbsFrLlkA==} + engines: {node: ^10 || ^12 || >=14} + + postcss@8.5.32: + resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==} + engines: {node: ^10 || ^12 || >=14} + + prelude-ls@1.2.1: + resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} + engines: {node: '>= 0.8.0'} + + proxy-addr@2.0.8: + resolution: {integrity: sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==} + engines: {node: '>= 0.10'} + + punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + + qs@6.17.1: + resolution: {integrity: sha512-jd3COkaKVgGUW+ZHyEHCG9bH7RoaaiWuMgzsIBjUMVjLAaWGWpoUAVwljVvBHxRu/2qEHnadLGZrkutYUBPQJA==} + engines: {node: '>=0.6'} + + range-parser@1.3.0: + resolution: {integrity: sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==} + engines: {node: '>= 0.6'} + + raw-body@3.0.2: + resolution: {integrity: sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==} + engines: {node: '>= 0.10'} + + react-dom@19.2.5: + resolution: {integrity: sha512-J5bAZz+DXMMwW/wV3xzKke59Af6CHY7G4uYLN1OvBcKEsWOs4pQExj86BBKamxl/Ik5bx9whOrvBlSDfWzgSag==} + peerDependencies: + react: ^19.2.5 + + react@19.2.5: + resolution: {integrity: sha512-llUJLzz1zTUBrskt2pwZgLq59AemifIftw4aB7JxOqf1HY2FDaGDxgwpAPVzHU1kdWabH7FauP4i1oEeer2WCA==} + engines: {node: '>=0.10.0'} + + readdirp@4.1.2: + resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==} + engines: {node: '>= 14.18.0'} + + resolve-from@4.0.0: + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} + + rollup@4.68.2: + resolution: {integrity: sha512-xzt45rKOxzEuqjTdkGTIEaePcq9xRELlFI1uoazlKap8T6bENJkONSCfhK51P6XFTixa4rosPcDHihSdduXndQ==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + router@2.2.0: + resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==} + engines: {node: '>= 18'} + + safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + + sass@1.85.0: + resolution: {integrity: sha512-3ToiC1xZ1Y8aU7+CkgCI/tqyuPXEmYGJXO7H4uqp0xkLXUqp88rQQ4j1HmP37xSJLbCJPaIiv+cT1y+grssrww==} + engines: {node: '>=14.0.0'} + hasBin: true + + scheduler@0.27.0: + resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==} + + semver@7.8.6: + resolution: {integrity: sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==} + engines: {node: '>=10'} + hasBin: true + + send@1.2.1: + resolution: {integrity: sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==} + engines: {node: '>= 18'} + + serve-static@2.2.1: + resolution: {integrity: sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==} + engines: {node: '>= 18'} + + server-only@0.0.1: + resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==} + + setprototypeof@1.2.0: + resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} + + sharp@0.35.5: + resolution: {integrity: sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==} + engines: {node: '>=20.9.0'} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + + shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + + shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + + side-channel-list@1.0.1: + resolution: {integrity: sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==} + engines: {node: '>= 0.4'} + + side-channel-map@1.0.1: + resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==} + engines: {node: '>= 0.4'} + + side-channel-weakmap@1.0.2: + resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==} + engines: {node: '>= 0.4'} + + side-channel@1.1.1: + resolution: {integrity: sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==} + engines: {node: '>= 0.4'} + + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + + signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + + source-map-js@1.2.2: + resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} + engines: {node: '>=0.10.0'} + + source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + + statuses@2.0.2: + resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} + engines: {node: '>= 0.8'} + + std-env@3.10.0: + resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==} + + string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + + string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} + + string-width@7.2.0: + resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==} + engines: {node: '>=18'} + + string-width@8.3.0: + resolution: {integrity: sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==} + engines: {node: '>=20'} + + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + + strip-ansi@7.2.0: + resolution: {integrity: sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==} + engines: {node: '>=12'} + + strip-json-comments@3.1.1: + resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + engines: {node: '>=8'} + + strip-literal@3.1.0: + resolution: {integrity: sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==} + + styled-jsx@5.1.6: + resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==} + engines: {node: '>= 12.0.0'} + peerDependencies: + '@babel/core': '*' + babel-plugin-macros: '*' + react: '>= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0' + peerDependenciesMeta: + '@babel/core': + optional: true + babel-plugin-macros: + optional: true + + supports-color@10.2.2: + resolution: {integrity: sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==} + engines: {node: '>=18'} + + supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + + terser@5.36.0: + resolution: {integrity: sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w==} + engines: {node: '>=10'} + hasBin: true + + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinyexec@0.3.2: + resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + + tinyglobby@0.2.17: + resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} + engines: {node: '>=12.0.0'} + + tinypool@1.1.1: + resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@2.0.0: + resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==} + engines: {node: '>=14.0.0'} + + tinyspy@4.0.6: + resolution: {integrity: sha512-u8KszXvGfU68hVcZpRHKG28T0krMuv2G5nDhiHaMLen/gIuFEgIJhaJuO69qjnXg5paSrbPMFfx3brNuN8eVSg==} + engines: {node: '>=14.0.0'} + + toidentifier@1.0.1: + resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} + engines: {node: '>=0.6'} + + tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + + ts-api-utils@2.5.0: + resolution: {integrity: sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==} + engines: {node: '>=18.12'} + peerDependencies: + typescript: '>=4.8.4' + + ts-tqdm@0.8.6: + resolution: {integrity: sha512-3X3M1PZcHtgQbnwizL+xU8CAgbYbeLHrrDwL9xxcZZrV5J+e7loJm1XrXozHjSkl44J0Zg0SgA8rXbh83kCkcQ==} + + tslib@2.9.1: + resolution: {integrity: sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==} + + turbo@2.11.11: + resolution: {integrity: sha512-AI4UJbUE/2cVZdoXJ4PODc8qvrjhQQX9Fa93eKGOI6Ims/w7+kUIb9T1jhlgSnZcf+gtUruci/ohSwqtNNC5Yw==} + hasBin: true + + type-check@0.4.0: + resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} + engines: {node: '>= 0.8.0'} + + type-is@2.1.0: + resolution: {integrity: sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==} + engines: {node: '>= 18'} + + typescript@5.7.3: + resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==} + engines: {node: '>=14.17'} + hasBin: true + + typescript@5.9.3: + resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + engines: {node: '>=14.17'} + hasBin: true + + undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + + undici-types@6.20.0: + resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} + + undici@6.29.1: + resolution: {integrity: sha512-EvRlUt/QqAEvXdQeRMYUfwOQsfzpDztykrG2owGEE/rBOBoYv9uF39ZzsNDh4lTFHhTr2XOZjKkYgueD12ZmGA==} + engines: {node: '>=18.17'} + + undici@7.30.1: + resolution: {integrity: sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg==} + engines: {node: '>=20.18.1'} + + unenv@2.0.0-rc.24: + resolution: {integrity: sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==} + + unpipe@1.0.0: + resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} + engines: {node: '>= 0.8'} + + uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + + urlpattern-polyfill@10.1.0: + resolution: {integrity: sha512-IGjKp/o0NL3Bso1PymYURCJxMPNAf/ILOpendP9f5B6e1rTJgdgiOvgfoT8VxCAdY+Wisb9uhGaJJf3yZ2V9nw==} + + vary@1.1.2: + resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} + engines: {node: '>= 0.8'} + + vite-node@3.2.4: + resolution: {integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + + vite@7.3.8: + resolution: {integrity: sha512-3tTi78MAKhVk9h+YZVXMQ8POmneJuE97QUPAWtJghHzhH7BAyiqQOC2KZh1DWOsu/USB2cRXhznPByaabvYXfw==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + peerDependencies: + '@types/node': ^20.19.0 || >=22.12.0 + jiti: '>=1.21.0' + less: ^4.0.0 + lightningcss: ^1.21.0 + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: '>=0.54.8' + sugarss: ^5.0.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + jiti: + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + vitest@3.2.7: + resolution: {integrity: sha512-KrxIJ62Fd89gfysR4WotlgZABiz2dqFPgqGzX7s+CwsqLFomRH7777ZcrOD6+WVAh7khPQP41A+BKbpcJFrdEg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/debug': ^4.1.12 + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + '@vitest/browser': 3.2.7 + '@vitest/ui': 3.2.7 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/debug': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + + web-streams-polyfill@4.0.0-beta.3: + resolution: {integrity: sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==} + engines: {node: '>= 14'} + + webidl-conversions@3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + + whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + + which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + + word-wrap@1.2.5: + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} + + workerd@1.20261110.1: + resolution: {integrity: sha512-GKdtki7t19f16vegol8Iw5Dh0mnjHLuwLx8rlhTPvyRBEXM0Osl9eYexWAW8uZD7OMw4WKNq9yvENg5kPDUJ9w==} + engines: {node: '>=16'} + hasBin: true + + wrangler@4.160.1: + resolution: {integrity: sha512-gM8daj5geYTEw+038dV5OQAmrSIo/9e97FoJuNf+r9PllWR0ZnqMI2LXZZDSHpGsMez3mKKFYH5o/hBsf1ZTHg==} + engines: {node: '>=22.12.0'} + hasBin: true + peerDependencies: + '@cloudflare/workers-types': ^5.20261110.1 + peerDependenciesMeta: + '@cloudflare/workers-types': + optional: true + + wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + + wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + + wrap-ansi@9.0.2: + resolution: {integrity: sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==} + engines: {node: '>=18'} + + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + write-file-atomic@5.0.1: + resolution: {integrity: sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + + ws@8.21.0: + resolution: {integrity: sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + + y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + + yaml@2.9.1: + resolution: {integrity: sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==} + engines: {node: '>= 14.6'} + hasBin: true + + yargs-parser@22.0.0: + resolution: {integrity: sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==} + engines: {node: ^20.19.0 || ^22.12.0 || >=23} + + yargs@18.2.0: + resolution: {integrity: sha512-9OpKOLeaoNFecEp7P6iYbzze/5CqWoH7N3SMs/6y1XF4nMvFMspEGZzJ6uFi9MmQwXhyzqYoSEKO3tvA3Z/o2w==} + engines: {node: ^20.19.0 || ^22.12.0 || >=23} + + yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + + yocto-spinner@1.2.2: + resolution: {integrity: sha512-DODGl1wJjA/s5pnJFKau9lIYHT81lnhob1i3e1TjxZRxEhWRKl74nTbWE6H5KlkViQQTo/Z29YFdxzTZAMY3ng==} + engines: {node: '>=18.19'} + + yoctocolors@2.2.0: + resolution: {integrity: sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==} + engines: {node: '>=18'} + + youch-core@0.3.3: + resolution: {integrity: sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA==} + + youch@4.1.0-beta.10: + resolution: {integrity: sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==} + +snapshots: + + '@ast-grep/napi-darwin-arm64@0.45.3': + optional: true + + '@ast-grep/napi-darwin-x64@0.45.3': + optional: true + + '@ast-grep/napi-linux-arm64-gnu@0.45.3': + optional: true + + '@ast-grep/napi-linux-arm64-musl@0.45.3': + optional: true + + '@ast-grep/napi-linux-x64-gnu@0.45.3': + optional: true + + '@ast-grep/napi-linux-x64-musl@0.45.3': + optional: true + + '@ast-grep/napi-win32-arm64-msvc@0.45.3': + optional: true + + '@ast-grep/napi-win32-ia32-msvc@0.45.3': + optional: true + + '@ast-grep/napi-win32-x64-msvc@0.45.3': + optional: true + + '@ast-grep/napi@0.45.3': + optionalDependencies: + '@ast-grep/napi-darwin-arm64': 0.45.3 + '@ast-grep/napi-darwin-x64': 0.45.3 + '@ast-grep/napi-linux-arm64-gnu': 0.45.3 + '@ast-grep/napi-linux-arm64-musl': 0.45.3 + '@ast-grep/napi-linux-x64-gnu': 0.45.3 + '@ast-grep/napi-linux-x64-musl': 0.45.3 + '@ast-grep/napi-win32-arm64-msvc': 0.45.3 + '@ast-grep/napi-win32-ia32-msvc': 0.45.3 + '@ast-grep/napi-win32-x64-msvc': 0.45.3 + + '@aws-crypto/sha1-browser@5.2.0': + dependencies: + '@aws-crypto/supports-web-crypto': 5.2.0 + '@aws-crypto/util': 5.2.0 + '@aws-sdk/types': 3.975.1 + '@aws-sdk/util-locate-window': 3.965.10 + '@smithy/util-utf8': 2.3.0 + tslib: 2.9.1 + + '@aws-crypto/sha256-browser@5.2.0': + dependencies: + '@aws-crypto/sha256-js': 5.2.0 + '@aws-crypto/supports-web-crypto': 5.2.0 + '@aws-crypto/util': 5.2.0 + '@aws-sdk/types': 3.975.1 + '@aws-sdk/util-locate-window': 3.965.10 + '@smithy/util-utf8': 2.3.0 + tslib: 2.9.1 + + '@aws-crypto/sha256-js@5.2.0': + dependencies: + '@aws-crypto/util': 5.2.0 + '@aws-sdk/types': 3.975.1 + tslib: 2.9.1 + + '@aws-crypto/supports-web-crypto@5.2.0': + dependencies: + tslib: 2.9.1 + + '@aws-crypto/util@5.2.0': + dependencies: + '@aws-sdk/types': 3.975.1 + '@smithy/util-utf8': 2.3.0 + tslib: 2.9.1 + + '@aws-sdk/checksums@3.1002.5': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/client-cloudfront@3.984.0': + dependencies: + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/core': 3.981.0 + '@aws-sdk/credential-provider-node': 3.972.97 + '@aws-sdk/middleware-host-header': 3.972.59 + '@aws-sdk/middleware-logger': 3.972.58 + '@aws-sdk/middleware-recursion-detection': 3.972.60 + '@aws-sdk/middleware-user-agent': 3.972.88 + '@aws-sdk/region-config-resolver': 3.972.62 + '@aws-sdk/types': 3.975.1 + '@aws-sdk/util-endpoints': 3.984.0 + '@aws-sdk/util-user-agent-browser': 3.972.59 + '@aws-sdk/util-user-agent-node': 3.973.74 + '@smithy/config-resolver': 4.7.2 + '@smithy/core': 3.40.0 + '@smithy/fetch-http-handler': 5.8.1 + '@smithy/hash-node': 4.5.2 + '@smithy/invalid-dependency': 4.5.2 + '@smithy/middleware-content-length': 4.5.2 + '@smithy/middleware-endpoint': 4.7.2 + '@smithy/middleware-retry': 4.8.2 + '@smithy/middleware-serde': 4.5.2 + '@smithy/middleware-stack': 4.5.2 + '@smithy/node-config-provider': 4.6.2 + '@smithy/node-http-handler': 4.14.2 + '@smithy/protocol-http': 5.6.2 + '@smithy/smithy-client': 4.15.2 + '@smithy/types': 4.20.0 + '@smithy/url-parser': 4.5.2 + '@smithy/util-base64': 4.6.2 + '@smithy/util-body-length-browser': 4.5.2 + '@smithy/util-body-length-node': 4.5.2 + '@smithy/util-defaults-mode-browser': 4.6.2 + '@smithy/util-defaults-mode-node': 4.5.2 + '@smithy/util-endpoints': 3.7.2 + '@smithy/util-middleware': 4.5.2 + '@smithy/util-retry': 4.6.2 + '@smithy/util-stream': 4.8.2 + '@smithy/util-utf8': 4.5.2 + '@smithy/util-waiter': 4.6.2 + tslib: 2.9.1 + + '@aws-sdk/client-dynamodb@3.984.0': + dependencies: + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/core': 3.981.0 + '@aws-sdk/credential-provider-node': 3.972.97 + '@aws-sdk/dynamodb-codec': 3.973.58 + '@aws-sdk/middleware-endpoint-discovery': 3.972.39 + '@aws-sdk/middleware-host-header': 3.972.59 + '@aws-sdk/middleware-logger': 3.972.58 + '@aws-sdk/middleware-recursion-detection': 3.972.60 + '@aws-sdk/middleware-user-agent': 3.972.88 + '@aws-sdk/region-config-resolver': 3.972.62 + '@aws-sdk/types': 3.975.1 + '@aws-sdk/util-endpoints': 3.984.0 + '@aws-sdk/util-user-agent-browser': 3.972.59 + '@aws-sdk/util-user-agent-node': 3.973.74 + '@smithy/config-resolver': 4.7.2 + '@smithy/core': 3.40.0 + '@smithy/fetch-http-handler': 5.8.1 + '@smithy/hash-node': 4.5.2 + '@smithy/invalid-dependency': 4.5.2 + '@smithy/middleware-content-length': 4.5.2 + '@smithy/middleware-endpoint': 4.7.2 + '@smithy/middleware-retry': 4.8.2 + '@smithy/middleware-serde': 4.5.2 + '@smithy/middleware-stack': 4.5.2 + '@smithy/node-config-provider': 4.6.2 + '@smithy/node-http-handler': 4.14.2 + '@smithy/protocol-http': 5.6.2 + '@smithy/smithy-client': 4.15.2 + '@smithy/types': 4.20.0 + '@smithy/url-parser': 4.5.2 + '@smithy/util-base64': 4.6.2 + '@smithy/util-body-length-browser': 4.5.2 + '@smithy/util-body-length-node': 4.5.2 + '@smithy/util-defaults-mode-browser': 4.6.2 + '@smithy/util-defaults-mode-node': 4.5.2 + '@smithy/util-endpoints': 3.7.2 + '@smithy/util-middleware': 4.5.2 + '@smithy/util-retry': 4.6.2 + '@smithy/util-utf8': 4.5.2 + '@smithy/util-waiter': 4.6.2 + tslib: 2.9.1 + + '@aws-sdk/client-lambda@3.984.0': + dependencies: + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/core': 3.981.0 + '@aws-sdk/credential-provider-node': 3.972.97 + '@aws-sdk/middleware-host-header': 3.972.59 + '@aws-sdk/middleware-logger': 3.972.58 + '@aws-sdk/middleware-recursion-detection': 3.972.60 + '@aws-sdk/middleware-user-agent': 3.972.88 + '@aws-sdk/region-config-resolver': 3.972.62 + '@aws-sdk/types': 3.975.1 + '@aws-sdk/util-endpoints': 3.984.0 + '@aws-sdk/util-user-agent-browser': 3.972.59 + '@aws-sdk/util-user-agent-node': 3.973.74 + '@smithy/config-resolver': 4.7.2 + '@smithy/core': 3.40.0 + '@smithy/eventstream-serde-browser': 4.5.2 + '@smithy/eventstream-serde-config-resolver': 4.6.2 + '@smithy/eventstream-serde-node': 4.5.2 + '@smithy/fetch-http-handler': 5.8.1 + '@smithy/hash-node': 4.5.2 + '@smithy/invalid-dependency': 4.5.2 + '@smithy/middleware-content-length': 4.5.2 + '@smithy/middleware-endpoint': 4.7.2 + '@smithy/middleware-retry': 4.8.2 + '@smithy/middleware-serde': 4.5.2 + '@smithy/middleware-stack': 4.5.2 + '@smithy/node-config-provider': 4.6.2 + '@smithy/node-http-handler': 4.14.2 + '@smithy/protocol-http': 5.6.2 + '@smithy/smithy-client': 4.15.2 + '@smithy/types': 4.20.0 + '@smithy/url-parser': 4.5.2 + '@smithy/util-base64': 4.6.2 + '@smithy/util-body-length-browser': 4.5.2 + '@smithy/util-body-length-node': 4.5.2 + '@smithy/util-defaults-mode-browser': 4.6.2 + '@smithy/util-defaults-mode-node': 4.5.2 + '@smithy/util-endpoints': 3.7.2 + '@smithy/util-middleware': 4.5.2 + '@smithy/util-retry': 4.6.2 + '@smithy/util-stream': 4.8.2 + '@smithy/util-utf8': 4.5.2 + '@smithy/util-waiter': 4.6.2 + tslib: 2.9.1 + + '@aws-sdk/client-s3@3.984.0': + dependencies: + '@aws-crypto/sha1-browser': 5.2.0 + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/core': 3.981.0 + '@aws-sdk/credential-provider-node': 3.972.97 + '@aws-sdk/middleware-bucket-endpoint': 3.972.62 + '@aws-sdk/middleware-expect-continue': 3.972.58 + '@aws-sdk/middleware-flexible-checksums': 3.974.68 + '@aws-sdk/middleware-host-header': 3.972.59 + '@aws-sdk/middleware-location-constraint': 3.972.55 + '@aws-sdk/middleware-logger': 3.972.58 + '@aws-sdk/middleware-recursion-detection': 3.972.60 + '@aws-sdk/middleware-sdk-s3': 3.972.89 + '@aws-sdk/middleware-ssec': 3.972.55 + '@aws-sdk/middleware-user-agent': 3.972.88 + '@aws-sdk/region-config-resolver': 3.972.62 + '@aws-sdk/signature-v4-multi-region': 3.984.0 + '@aws-sdk/types': 3.975.1 + '@aws-sdk/util-endpoints': 3.984.0 + '@aws-sdk/util-user-agent-browser': 3.972.59 + '@aws-sdk/util-user-agent-node': 3.973.74 + '@smithy/config-resolver': 4.7.2 + '@smithy/core': 3.40.0 + '@smithy/eventstream-serde-browser': 4.5.2 + '@smithy/eventstream-serde-config-resolver': 4.6.2 + '@smithy/eventstream-serde-node': 4.5.2 + '@smithy/fetch-http-handler': 5.8.1 + '@smithy/hash-blob-browser': 4.5.2 + '@smithy/hash-node': 4.5.2 + '@smithy/hash-stream-node': 4.5.2 + '@smithy/invalid-dependency': 4.5.2 + '@smithy/md5-js': 4.5.2 + '@smithy/middleware-content-length': 4.5.2 + '@smithy/middleware-endpoint': 4.7.2 + '@smithy/middleware-retry': 4.8.2 + '@smithy/middleware-serde': 4.5.2 + '@smithy/middleware-stack': 4.5.2 + '@smithy/node-config-provider': 4.6.2 + '@smithy/node-http-handler': 4.14.2 + '@smithy/protocol-http': 5.6.2 + '@smithy/smithy-client': 4.15.2 + '@smithy/types': 4.20.0 + '@smithy/url-parser': 4.5.2 + '@smithy/util-base64': 4.6.2 + '@smithy/util-body-length-browser': 4.5.2 + '@smithy/util-body-length-node': 4.5.2 + '@smithy/util-defaults-mode-browser': 4.6.2 + '@smithy/util-defaults-mode-node': 4.5.2 + '@smithy/util-endpoints': 3.7.2 + '@smithy/util-middleware': 4.5.2 + '@smithy/util-retry': 4.6.2 + '@smithy/util-stream': 4.8.2 + '@smithy/util-utf8': 4.5.2 + '@smithy/util-waiter': 4.6.2 + tslib: 2.9.1 + + '@aws-sdk/client-sqs@3.984.0': + dependencies: + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/core': 3.981.0 + '@aws-sdk/credential-provider-node': 3.972.97 + '@aws-sdk/middleware-host-header': 3.972.59 + '@aws-sdk/middleware-logger': 3.972.58 + '@aws-sdk/middleware-recursion-detection': 3.972.60 + '@aws-sdk/middleware-sdk-sqs': 3.972.50 + '@aws-sdk/middleware-user-agent': 3.972.88 + '@aws-sdk/region-config-resolver': 3.972.62 + '@aws-sdk/types': 3.975.1 + '@aws-sdk/util-endpoints': 3.984.0 + '@aws-sdk/util-user-agent-browser': 3.972.59 + '@aws-sdk/util-user-agent-node': 3.973.74 + '@smithy/config-resolver': 4.7.2 + '@smithy/core': 3.40.0 + '@smithy/fetch-http-handler': 5.8.1 + '@smithy/hash-node': 4.5.2 + '@smithy/invalid-dependency': 4.5.2 + '@smithy/md5-js': 4.5.2 + '@smithy/middleware-content-length': 4.5.2 + '@smithy/middleware-endpoint': 4.7.2 + '@smithy/middleware-retry': 4.8.2 + '@smithy/middleware-serde': 4.5.2 + '@smithy/middleware-stack': 4.5.2 + '@smithy/node-config-provider': 4.6.2 + '@smithy/node-http-handler': 4.14.2 + '@smithy/protocol-http': 5.6.2 + '@smithy/smithy-client': 4.15.2 + '@smithy/types': 4.20.0 + '@smithy/url-parser': 4.5.2 + '@smithy/util-base64': 4.6.2 + '@smithy/util-body-length-browser': 4.5.2 + '@smithy/util-body-length-node': 4.5.2 + '@smithy/util-defaults-mode-browser': 4.6.2 + '@smithy/util-defaults-mode-node': 4.5.2 + '@smithy/util-endpoints': 3.7.2 + '@smithy/util-middleware': 4.5.2 + '@smithy/util-retry': 4.6.2 + '@smithy/util-utf8': 4.5.2 + tslib: 2.9.1 + + '@aws-sdk/core@3.981.0': + dependencies: + '@aws-sdk/types': 3.975.1 + '@aws-sdk/xml-builder': 3.972.43 + '@aws/lambda-invoke-store': 0.3.0 + '@smithy/core': 3.40.0 + '@smithy/signature-v4': 5.7.5 + '@smithy/types': 4.20.0 + bowser: 2.15.0 + tslib: 2.9.1 + + '@aws-sdk/credential-provider-env@3.972.84': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/credential-provider-http@3.972.86': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/fetch-http-handler': 5.8.1 + '@smithy/node-http-handler': 4.14.2 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/credential-provider-ini@3.973.30': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/credential-provider-env': 3.972.84 + '@aws-sdk/credential-provider-http': 3.972.86 + '@aws-sdk/credential-provider-login': 3.972.92 + '@aws-sdk/credential-provider-process': 3.972.84 + '@aws-sdk/credential-provider-sso': 3.973.28 + '@aws-sdk/credential-provider-web-identity': 3.972.90 + '@aws-sdk/nested-clients': 3.998.3 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/credential-provider-imds': 4.5.2 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/credential-provider-login@3.972.92': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/nested-clients': 3.998.3 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/credential-provider-node@3.972.97': + dependencies: + '@aws-sdk/credential-provider-env': 3.972.84 + '@aws-sdk/credential-provider-http': 3.972.86 + '@aws-sdk/credential-provider-ini': 3.973.30 + '@aws-sdk/credential-provider-process': 3.972.84 + '@aws-sdk/credential-provider-sso': 3.973.28 + '@aws-sdk/credential-provider-web-identity': 3.972.90 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/credential-provider-imds': 4.5.2 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/credential-provider-process@3.972.84': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/credential-provider-sso@3.973.28': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/nested-clients': 3.998.3 + '@aws-sdk/token-providers': 3.1166.0 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/credential-provider-web-identity@3.972.90': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/nested-clients': 3.998.3 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/dynamodb-codec@3.973.58': + dependencies: + '@aws-sdk/core': 3.981.0 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/endpoint-cache@3.972.11': + dependencies: + mnemonist: 0.38.3 + tslib: 2.9.1 + + '@aws-sdk/middleware-bucket-endpoint@3.972.62': + dependencies: + '@aws-sdk/middleware-sdk-s3': 3.972.89 + tslib: 2.9.1 + + '@aws-sdk/middleware-endpoint-discovery@3.972.39': + dependencies: + '@aws-sdk/endpoint-cache': 3.972.11 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/middleware-expect-continue@3.972.58': + dependencies: + '@aws-sdk/middleware-sdk-s3': 3.972.89 + tslib: 2.9.1 + + '@aws-sdk/middleware-flexible-checksums@3.974.68': + dependencies: + '@aws-sdk/checksums': 3.1002.5 + tslib: 2.9.1 + + '@aws-sdk/middleware-host-header@3.972.59': + dependencies: + '@aws-sdk/core': 3.981.0 + tslib: 2.9.1 + + '@aws-sdk/middleware-location-constraint@3.972.55': + dependencies: + '@aws-sdk/middleware-sdk-s3': 3.972.89 + tslib: 2.9.1 + + '@aws-sdk/middleware-logger@3.972.58': + dependencies: + '@aws-sdk/core': 3.981.0 + tslib: 2.9.1 + + '@aws-sdk/middleware-recursion-detection@3.972.60': + dependencies: + '@aws-sdk/core': 3.981.0 + tslib: 2.9.1 + + '@aws-sdk/middleware-sdk-s3@3.972.89': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/signature-v4-multi-region': 3.996.52 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/middleware-sdk-sqs@3.972.50': + dependencies: + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/middleware-ssec@3.972.55': + dependencies: + '@aws-sdk/middleware-sdk-s3': 3.972.89 + tslib: 2.9.1 + + '@aws-sdk/middleware-user-agent@3.972.88': + dependencies: + '@aws-sdk/core': 3.981.0 + tslib: 2.9.1 + + '@aws-sdk/nested-clients@3.998.3': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/signature-v4-multi-region': 3.996.52 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/fetch-http-handler': 5.8.1 + '@smithy/node-http-handler': 4.14.2 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/region-config-resolver@3.972.62': + dependencies: + '@aws-sdk/core': 3.981.0 + tslib: 2.9.1 + + '@aws-sdk/signature-v4-multi-region@3.984.0': + dependencies: + '@aws-sdk/middleware-sdk-s3': 3.972.89 + '@aws-sdk/types': 3.975.1 + '@smithy/protocol-http': 5.6.2 + '@smithy/signature-v4': 5.7.5 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/signature-v4-multi-region@3.996.52': + dependencies: + '@aws-sdk/types': 3.975.1 + '@smithy/signature-v4': 5.7.5 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/token-providers@3.1166.0': + dependencies: + '@aws-sdk/core': 3.981.0 + '@aws-sdk/nested-clients': 3.998.3 + '@aws-sdk/types': 3.975.1 + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/types@3.975.1': + dependencies: + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws-sdk/util-endpoints@3.984.0': + dependencies: + '@aws-sdk/types': 3.975.1 + '@smithy/types': 4.20.0 + '@smithy/url-parser': 4.5.2 + '@smithy/util-endpoints': 3.7.2 + tslib: 2.9.1 + + '@aws-sdk/util-locate-window@3.965.10': + dependencies: + tslib: 2.9.1 + + '@aws-sdk/util-user-agent-browser@3.972.59': + dependencies: + '@aws-sdk/core': 3.981.0 + tslib: 2.9.1 + + '@aws-sdk/util-user-agent-node@3.973.74': + dependencies: + '@aws-sdk/core': 3.981.0 + tslib: 2.9.1 + + '@aws-sdk/xml-builder@3.972.43': + dependencies: + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@aws/lambda-invoke-store@0.3.0': {} + + '@cloudflare/kv-asset-handler@0.5.0': {} + + '@cloudflare/unenv-preset@2.16.2(unenv@2.0.0-rc.24)(workerd@1.20261110.1)': + dependencies: + unenv: 2.0.0-rc.24 + optionalDependencies: + workerd: 1.20261110.1 + + '@cloudflare/workerd-darwin-64@1.20261110.1': + optional: true + + '@cloudflare/workerd-darwin-arm64@1.20261110.1': + optional: true + + '@cloudflare/workerd-linux-64@1.20261110.1': + optional: true + + '@cloudflare/workerd-linux-arm64@1.20261110.1': + optional: true + + '@cloudflare/workerd-windows-64@1.20261110.1': + optional: true + + '@cspotcode/source-map-support@0.8.1': + dependencies: + '@jridgewell/trace-mapping': 0.3.9 + + '@dotenvx/dotenvx@2.38.2': + dependencies: + '@dotenvx/primitives': 3.3.1 + '@dotenvx/providers': 0.3.13 + '@dotenvx/tooling': 1.0.6 + undici: 6.29.1 + write-file-atomic: 5.0.1 + yocto-spinner: 1.2.2 + + '@dotenvx/primitives@3.3.1': {} + + '@dotenvx/primitives@4.4.0': {} + + '@dotenvx/providers@0.3.13': + dependencies: + '@dotenvx/primitives': 4.4.0 + '@dotenvx/tooling': 1.0.6 + + '@dotenvx/tooling@1.0.6': {} + + '@emnapi/runtime@1.11.3': + dependencies: + tslib: 2.9.1 + optional: true + + '@esbuild/aix-ppc64@0.28.2': + optional: true + + '@esbuild/android-arm64@0.28.2': + optional: true + + '@esbuild/android-arm@0.28.2': + optional: true + + '@esbuild/android-x64@0.28.2': + optional: true + + '@esbuild/darwin-arm64@0.28.2': + optional: true + + '@esbuild/darwin-x64@0.28.2': + optional: true + + '@esbuild/freebsd-arm64@0.28.2': + optional: true + + '@esbuild/freebsd-x64@0.28.2': + optional: true + + '@esbuild/linux-arm64@0.28.2': + optional: true + + '@esbuild/linux-arm@0.28.2': + optional: true + + '@esbuild/linux-ia32@0.28.2': + optional: true + + '@esbuild/linux-loong64@0.28.2': + optional: true + + '@esbuild/linux-mips64el@0.28.2': + optional: true + + '@esbuild/linux-ppc64@0.28.2': + optional: true + + '@esbuild/linux-riscv64@0.28.2': + optional: true + + '@esbuild/linux-s390x@0.28.2': + optional: true + + '@esbuild/linux-x64@0.28.2': + optional: true + + '@esbuild/netbsd-arm64@0.28.2': + optional: true + + '@esbuild/netbsd-x64@0.28.2': + optional: true + + '@esbuild/openbsd-arm64@0.28.2': + optional: true + + '@esbuild/openbsd-x64@0.28.2': + optional: true + + '@esbuild/openharmony-arm64@0.28.2': + optional: true + + '@esbuild/sunos-x64@0.28.2': + optional: true + + '@esbuild/win32-arm64@0.28.2': + optional: true + + '@esbuild/win32-ia32@0.28.2': + optional: true + + '@esbuild/win32-x64@0.28.2': + optional: true + + '@eslint-community/eslint-utils@4.10.1(eslint@9.39.5)': + dependencies: + eslint: 9.39.5 + eslint-visitor-keys: 3.4.3 + + '@eslint-community/regexpp@4.12.3': {} + + '@eslint/config-array@0.21.2': + dependencies: + '@eslint/object-schema': 2.1.7 + debug: 4.4.3 + minimatch: 3.1.5 + transitivePeerDependencies: + - supports-color + + '@eslint/config-helpers@0.4.2': + dependencies: + '@eslint/core': 0.17.0 + + '@eslint/core@0.17.0': + dependencies: + '@types/json-schema': 7.0.15 + + '@eslint/eslintrc@3.3.7': + dependencies: + ajv: 6.15.0 + debug: 4.4.3 + espree: 10.4.0 + globals: 14.0.0 + ignore: 5.3.2 + import-fresh: 3.3.1 + js-yaml: 4.3.2 + minimatch: 3.1.5 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + + '@eslint/js@9.39.5': {} + + '@eslint/object-schema@2.1.7': {} + + '@eslint/plugin-kit@0.4.1': + dependencies: + '@eslint/core': 0.17.0 + levn: 0.4.1 + + '@humanfs/core@0.19.2': + dependencies: + '@humanfs/types': 0.15.0 + + '@humanfs/node@0.16.8': + dependencies: + '@humanfs/core': 0.19.2 + '@humanfs/types': 0.15.0 + '@humanwhocodes/retry': 0.4.3 + + '@humanfs/types@0.15.0': {} + + '@humanwhocodes/module-importer@1.0.1': {} + + '@humanwhocodes/retry@0.4.3': {} + + '@img/colour@1.1.0': {} + + '@img/sharp-darwin-arm64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-darwin-arm64': 1.3.4 + optional: true + + '@img/sharp-darwin-x64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-darwin-x64': 1.3.4 + optional: true + + '@img/sharp-freebsd-wasm32@0.35.5': + dependencies: + '@img/sharp-wasm32': 0.35.5 + optional: true + + '@img/sharp-libvips-darwin-arm64@1.3.4': + optional: true + + '@img/sharp-libvips-darwin-x64@1.3.4': + optional: true + + '@img/sharp-libvips-linux-arm64@1.3.4': + optional: true + + '@img/sharp-libvips-linux-arm@1.3.4': + optional: true + + '@img/sharp-libvips-linux-ppc64@1.3.4': + optional: true + + '@img/sharp-libvips-linux-riscv64@1.3.4': + optional: true + + '@img/sharp-libvips-linux-s390x@1.3.4': + optional: true + + '@img/sharp-libvips-linux-x64@1.3.4': + optional: true + + '@img/sharp-libvips-linuxmusl-arm64@1.3.4': + optional: true + + '@img/sharp-libvips-linuxmusl-x64@1.3.4': + optional: true + + '@img/sharp-linux-arm64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-arm64': 1.3.4 + optional: true + + '@img/sharp-linux-arm@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-arm': 1.3.4 + optional: true + + '@img/sharp-linux-ppc64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-ppc64': 1.3.4 + optional: true + + '@img/sharp-linux-riscv64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-riscv64': 1.3.4 + optional: true + + '@img/sharp-linux-s390x@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-s390x': 1.3.4 + optional: true + + '@img/sharp-linux-x64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-x64': 1.3.4 + optional: true + + '@img/sharp-linuxmusl-arm64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linuxmusl-arm64': 1.3.4 + optional: true + + '@img/sharp-linuxmusl-x64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linuxmusl-x64': 1.3.4 + optional: true + + '@img/sharp-wasm32@0.35.5': + dependencies: + '@emnapi/runtime': 1.11.3 + optional: true + + '@img/sharp-webcontainers-wasm32@0.35.5': + dependencies: + '@img/sharp-wasm32': 0.35.5 + optional: true + + '@img/sharp-win32-arm64@0.35.5': + optional: true + + '@img/sharp-win32-ia32@0.35.5': + optional: true + + '@img/sharp-win32-x64@0.35.5': + optional: true + + '@isaacs/cliui@8.0.2': + dependencies: + string-width: 5.1.2 + string-width-cjs: string-width@4.2.3 + strip-ansi: 7.2.0 + strip-ansi-cjs: strip-ansi@6.0.1 + wrap-ansi: 8.1.0 + wrap-ansi-cjs: wrap-ansi@7.0.0 + + '@jridgewell/gen-mapping@0.3.13': + dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/source-map@0.3.11': + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/sourcemap-codec@1.6.0': {} + + '@jridgewell/trace-mapping@0.3.31': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.6.0 + + '@jridgewell/trace-mapping@0.3.9': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.6.0 + + '@next/env@15.5.29': {} + + '@next/swc-darwin-arm64@15.5.29': + optional: true + + '@next/swc-darwin-x64@15.5.29': + optional: true + + '@next/swc-linux-arm64-gnu@15.5.29': + optional: true + + '@next/swc-linux-arm64-musl@15.5.29': + optional: true + + '@next/swc-linux-x64-gnu@15.5.29': + optional: true + + '@next/swc-linux-x64-musl@15.5.29': + optional: true + + '@next/swc-win32-arm64-msvc@15.5.29': + optional: true + + '@next/swc-win32-x64-msvc@15.5.29': + optional: true + + '@node-minify/core@9.0.2': + dependencies: + '@node-minify/utils': 9.0.1 + glob: 10.3.3 + mkdirp: 3.0.1 + + '@node-minify/terser@9.0.1': + dependencies: + '@node-minify/utils': 9.0.1 + terser: 5.36.0 + + '@node-minify/utils@9.0.1': + dependencies: + gzip-size: 6.0.0 + + '@opennextjs/aws@4.1.15(next@15.5.29(@types/node@22.13.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(sass@1.85.0))': + dependencies: + '@ast-grep/napi': 0.45.3 + '@aws-sdk/client-cloudfront': 3.984.0 + '@aws-sdk/client-dynamodb': 3.984.0 + '@aws-sdk/client-lambda': 3.984.0 + '@aws-sdk/client-s3': 3.984.0 + '@aws-sdk/client-sqs': 3.984.0 + '@node-minify/core': 9.0.2 + '@node-minify/terser': 9.0.1 + '@tsconfig/node18': 18.2.8 + aws4fetch: 1.0.20 + chalk: 5.6.2 + cookie: 1.1.1 + esbuild: 0.28.2 + express: 5.3.0 + next: 15.5.29(@types/node@22.13.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(sass@1.85.0) + path-to-regexp: 6.3.0 + urlpattern-polyfill: 10.1.0 + yaml: 2.9.1 + transitivePeerDependencies: + - supports-color + + '@opennextjs/cloudflare@1.20.16(next@15.5.29(@types/node@22.13.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(sass@1.85.0))(wrangler@4.160.1(@types/node@22.13.4))': + dependencies: + '@ast-grep/napi': 0.45.3 + '@dotenvx/dotenvx': 2.38.2 + '@opennextjs/aws': 4.1.15(next@15.5.29(@types/node@22.13.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(sass@1.85.0)) + ci-info: 4.5.0 + cloudflare: 4.5.0 + comment-json: 4.6.2 + enquirer: 2.4.1 + glob: 13.0.7 + next: 15.5.29(@types/node@22.13.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(sass@1.85.0) + ts-tqdm: 0.8.6 + wrangler: 4.160.1(@types/node@22.13.4) + yargs: 18.2.0 + transitivePeerDependencies: + - diff + - encoding + - supports-color + + '@parcel/watcher-android-arm64@2.6.0': + optional: true + + '@parcel/watcher-darwin-arm64@2.6.0': + optional: true + + '@parcel/watcher-darwin-x64@2.6.0': + optional: true + + '@parcel/watcher-freebsd-x64@2.6.0': + optional: true + + '@parcel/watcher-linux-arm-glibc@2.6.0': + optional: true + + '@parcel/watcher-linux-arm-musl@2.6.0': + optional: true + + '@parcel/watcher-linux-arm64-glibc@2.6.0': + optional: true + + '@parcel/watcher-linux-arm64-musl@2.6.0': + optional: true + + '@parcel/watcher-linux-x64-glibc@2.6.0': + optional: true + + '@parcel/watcher-linux-x64-musl@2.6.0': + optional: true + + '@parcel/watcher-win32-arm64@2.6.0': + optional: true + + '@parcel/watcher-win32-x64@2.6.0': + optional: true + + '@parcel/watcher@2.6.0': + dependencies: + detect-libc: 2.1.2 + is-glob: 4.0.3 + node-addon-api: 7.1.1 + picomatch: 4.0.7 + optionalDependencies: + '@parcel/watcher-android-arm64': 2.6.0 + '@parcel/watcher-darwin-arm64': 2.6.0 + '@parcel/watcher-darwin-x64': 2.6.0 + '@parcel/watcher-freebsd-x64': 2.6.0 + '@parcel/watcher-linux-arm-glibc': 2.6.0 + '@parcel/watcher-linux-arm-musl': 2.6.0 + '@parcel/watcher-linux-arm64-glibc': 2.6.0 + '@parcel/watcher-linux-arm64-musl': 2.6.0 + '@parcel/watcher-linux-x64-glibc': 2.6.0 + '@parcel/watcher-linux-x64-musl': 2.6.0 + '@parcel/watcher-win32-arm64': 2.6.0 + '@parcel/watcher-win32-x64': 2.6.0 + optional: true + + '@pkgjs/parseargs@0.11.0': + optional: true + + '@poppinss/colors@4.1.6': + dependencies: + kleur: 4.1.5 + + '@poppinss/dumper@0.6.5': + dependencies: + '@poppinss/colors': 4.1.6 + '@sindresorhus/is': 7.2.0 + supports-color: 10.2.2 + + '@poppinss/exception@1.2.3': {} + + '@rollup/rollup-android-arm-eabi@4.68.2': + optional: true + + '@rollup/rollup-android-arm64@4.68.2': + optional: true + + '@rollup/rollup-android-x64@4.68.2': + optional: true + + '@rollup/rollup-darwin-arm64@4.68.2': + optional: true + + '@rollup/rollup-darwin-x64@4.68.2': + optional: true + + '@rollup/rollup-freebsd-arm64@4.68.2': + optional: true + + '@rollup/rollup-freebsd-x64@4.68.2': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.68.2': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.68.2': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.68.2': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.68.2': + optional: true + + '@rollup/rollup-linux-loong64-gnu@4.68.2': + optional: true + + '@rollup/rollup-linux-loong64-musl@4.68.2': + optional: true + + '@rollup/rollup-linux-ppc64-gnu@4.68.2': + optional: true + + '@rollup/rollup-linux-ppc64-musl@4.68.2': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.68.2': + optional: true + + '@rollup/rollup-linux-riscv64-musl@4.68.2': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.68.2': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.68.2': + optional: true + + '@rollup/rollup-linux-x64-musl@4.68.2': + optional: true + + '@rollup/rollup-openbsd-x64@4.68.2': + optional: true + + '@rollup/rollup-openharmony-arm64@4.68.2': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.68.2': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.68.2': + optional: true + + '@rollup/rollup-win32-x64-gnu@4.68.2': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.68.2': + optional: true + + '@sindresorhus/is@7.2.0': {} + + '@smithy/config-resolver@4.7.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/core@3.40.0': + dependencies: + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@smithy/credential-provider-imds@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@smithy/eventstream-serde-browser@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/eventstream-serde-config-resolver@4.6.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/eventstream-serde-node@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/fetch-http-handler@5.8.1': + dependencies: + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 + + '@smithy/hash-blob-browser@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/hash-node@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/hash-stream-node@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/invalid-dependency@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/is-array-buffer@2.2.0': + dependencies: + tslib: 2.9.1 + + '@smithy/md5-js@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/middleware-content-length@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/middleware-endpoint@4.7.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/middleware-retry@4.8.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/middleware-serde@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/middleware-stack@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 + + '@smithy/node-config-provider@4.6.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 - type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} + '@smithy/node-http-handler@4.14.2': + dependencies: + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} - engines: {node: '>=14.17'} - hasBin: true + '@smithy/protocol-http@5.6.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 - uri-js@4.4.1: - resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + '@smithy/signature-v4@5.7.5': + dependencies: + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 - which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} - hasBin: true + '@smithy/smithy-client@4.15.2': + dependencies: + '@smithy/core': 3.40.0 + '@smithy/types': 4.20.0 + tslib: 2.9.1 - word-wrap@1.2.5: - resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} - engines: {node: '>=0.10.0'} + '@smithy/types@4.20.0': + dependencies: + tslib: 2.9.1 - yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} + '@smithy/url-parser@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 -snapshots: + '@smithy/util-base64@4.6.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@eslint-community/eslint-utils@4.10.1(eslint@9.39.5)': + '@smithy/util-body-length-browser@4.5.2': dependencies: - eslint: 9.39.5 - eslint-visitor-keys: 3.4.3 + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@eslint-community/regexpp@4.12.3': {} + '@smithy/util-body-length-node@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@eslint/config-array@0.21.2': + '@smithy/util-buffer-from@2.2.0': dependencies: - '@eslint/object-schema': 2.1.7 - debug: 4.4.3 - minimatch: 3.1.5 - transitivePeerDependencies: - - supports-color + '@smithy/is-array-buffer': 2.2.0 + tslib: 2.9.1 - '@eslint/config-helpers@0.4.2': + '@smithy/util-defaults-mode-browser@4.6.2': dependencies: - '@eslint/core': 0.17.0 + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@eslint/core@0.17.0': + '@smithy/util-defaults-mode-node@4.5.2': dependencies: - '@types/json-schema': 7.0.15 + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@eslint/eslintrc@3.3.7': + '@smithy/util-endpoints@3.7.2': dependencies: - ajv: 6.15.0 - debug: 4.4.3 - espree: 10.4.0 - globals: 14.0.0 - ignore: 5.3.2 - import-fresh: 3.3.1 - js-yaml: 4.3.2 - minimatch: 3.1.5 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@eslint/js@9.39.5': {} + '@smithy/util-middleware@4.5.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@eslint/object-schema@2.1.7': {} + '@smithy/util-retry@4.6.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@eslint/plugin-kit@0.4.1': + '@smithy/util-stream@4.8.2': dependencies: - '@eslint/core': 0.17.0 - levn: 0.4.1 + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@humanfs/core@0.19.2': + '@smithy/util-utf8@2.3.0': dependencies: - '@humanfs/types': 0.15.0 + '@smithy/util-buffer-from': 2.2.0 + tslib: 2.9.1 - '@humanfs/node@0.16.8': + '@smithy/util-utf8@4.5.2': dependencies: - '@humanfs/core': 0.19.2 - '@humanfs/types': 0.15.0 - '@humanwhocodes/retry': 0.4.3 + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@humanfs/types@0.15.0': {} + '@smithy/util-waiter@4.6.2': + dependencies: + '@smithy/core': 3.40.0 + tslib: 2.9.1 - '@humanwhocodes/module-importer@1.0.1': {} + '@speed-highlight/core@1.2.24': {} - '@humanwhocodes/retry@0.4.3': {} + '@swc/helpers@0.5.15': + dependencies: + tslib: 2.9.1 + + '@tsconfig/node18@18.2.8': {} '@turbo/darwin-64@2.11.11': optional: true @@ -606,10 +4116,45 @@ snapshots: '@turbo/windows-arm64@2.11.11': optional: true + '@types/chai@5.2.3': + dependencies: + '@types/deep-eql': 4.0.2 + assertion-error: 2.0.1 + + '@types/deep-eql@4.0.2': {} + '@types/estree@1.0.10': {} '@types/json-schema@7.0.15': {} + '@types/jsonwebtoken@9.0.8': + dependencies: + '@types/ms': 2.1.0 + '@types/node': 22.13.4 + + '@types/ms@2.1.0': {} + + '@types/node-fetch@2.6.13': + dependencies: + '@types/node': 22.13.4 + form-data: 4.0.6 + + '@types/node@18.19.130': + dependencies: + undici-types: 5.26.5 + + '@types/node@22.13.4': + dependencies: + undici-types: 6.20.0 + + '@types/react-dom@19.2.4(@types/react@19.2.18)': + dependencies: + '@types/react': 19.2.18 + + '@types/react@19.2.18': + dependencies: + csstype: 3.2.3 + '@typescript-eslint/eslint-plugin@8.72.2(@typescript-eslint/parser@8.72.2(eslint@9.39.5)(typescript@5.9.3))(eslint@9.39.5)(typescript@5.9.3)': dependencies: '@eslint-community/regexpp': 4.12.3 @@ -701,12 +4246,67 @@ snapshots: '@typescript-eslint/types': 8.72.2 eslint-visitor-keys: 5.0.1 + '@vitest/expect@3.2.7': + dependencies: + '@types/chai': 5.2.3 + '@vitest/spy': 3.2.7 + '@vitest/utils': 3.2.7 + chai: 5.3.3 + tinyrainbow: 2.0.0 + + '@vitest/mocker@3.2.7(vite@7.3.8(@types/node@22.13.4)(sass@1.85.0)(terser@5.36.0)(yaml@2.9.1))': + dependencies: + '@vitest/spy': 3.2.7 + estree-walker: 3.0.3 + magic-string: 0.30.21 + optionalDependencies: + vite: 7.3.8(@types/node@22.13.4)(sass@1.85.0)(terser@5.36.0)(yaml@2.9.1) + + '@vitest/pretty-format@3.2.7': + dependencies: + tinyrainbow: 2.0.0 + + '@vitest/runner@3.2.7': + dependencies: + '@vitest/utils': 3.2.7 + pathe: 2.0.3 + strip-literal: 3.1.0 + + '@vitest/snapshot@3.2.7': + dependencies: + '@vitest/pretty-format': 3.2.7 + magic-string: 0.30.21 + pathe: 2.0.3 + + '@vitest/spy@3.2.7': + dependencies: + tinyspy: 4.0.6 + + '@vitest/utils@3.2.7': + dependencies: + '@vitest/pretty-format': 3.2.7 + loupe: 3.2.1 + tinyrainbow: 2.0.0 + + abort-controller@3.0.0: + dependencies: + event-target-shim: 5.0.1 + + accepts@2.0.0: + dependencies: + mime-types: 3.0.2 + negotiator: 1.1.0 + acorn-jsx@5.3.2(acorn@8.19.0): dependencies: acorn: 8.19.0 acorn@8.19.0: {} + agentkeepalive@4.6.0: + dependencies: + humanize-ms: 1.2.1 + ajv@6.15.0: dependencies: fast-deep-equal: 3.1.3 @@ -714,52 +4314,260 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 + ansi-colors@4.1.3: {} + + ansi-regex@5.0.1: {} + + ansi-regex@6.6.0: {} + ansi-styles@4.3.0: dependencies: color-convert: 2.0.1 + ansi-styles@6.2.3: {} + argparse@2.0.1: {} + array-timsort@1.0.3: {} + + assertion-error@2.0.1: {} + + asynckit@0.4.0: {} + + aws4fetch@1.0.20: {} + balanced-match@1.0.2: {} balanced-match@4.0.4: {} + blake3-wasm@2.1.5: {} + + body-parser@2.4.0: + dependencies: + bytes: 3.1.2 + content-type: 2.1.0 + debug: 4.4.3 + http-errors: 2.0.1 + iconv-lite: 0.7.3 + on-finished: 2.4.2 + qs: 6.17.1 + raw-body: 3.0.2 + type-is: 2.1.0 + transitivePeerDependencies: + - supports-color + + bowser@2.15.0: {} + brace-expansion@1.1.22: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 + brace-expansion@2.1.8: + dependencies: + balanced-match: 1.0.2 + brace-expansion@5.0.13: dependencies: balanced-match: 4.0.4 + buffer-equal-constant-time@1.0.1: {} + + buffer-from@1.1.2: {} + + bytes@3.1.2: {} + + cac@6.7.14: {} + + call-bind-apply-helpers@1.0.2: + dependencies: + es-errors: 1.3.0 + function-bind: 1.1.2 + + call-bound@1.0.4: + dependencies: + call-bind-apply-helpers: 1.0.2 + get-intrinsic: 1.3.0 + callsites@3.1.0: {} + caniuse-lite@1.0.30001826: {} + + chai@5.3.3: + dependencies: + assertion-error: 2.0.1 + check-error: 2.1.3 + deep-eql: 5.0.2 + loupe: 3.2.1 + pathval: 2.0.1 + chalk@4.1.2: dependencies: ansi-styles: 4.3.0 supports-color: 7.2.0 + chalk@5.6.2: {} + + check-error@2.1.3: {} + + chokidar@4.0.3: + dependencies: + readdirp: 4.1.2 + + ci-info@4.5.0: {} + + client-only@0.0.1: {} + + cliui@9.0.1: + dependencies: + string-width: 7.2.0 + strip-ansi: 7.2.0 + wrap-ansi: 9.0.2 + + cloudflare@4.5.0: + dependencies: + '@types/node': 18.19.130 + '@types/node-fetch': 2.6.13 + abort-controller: 3.0.0 + agentkeepalive: 4.6.0 + form-data-encoder: 1.7.2 + formdata-node: 4.4.1 + node-fetch: 2.7.0 + transitivePeerDependencies: + - encoding + color-convert@2.0.1: dependencies: color-name: 1.1.4 color-name@1.1.4: {} + combined-stream@1.0.8: + dependencies: + delayed-stream: 1.0.0 + + commander@2.20.3: {} + + comment-json@4.6.2: + dependencies: + array-timsort: 1.0.3 + esprima: 4.0.1 + concat-map@0.0.1: {} + content-disposition@2.0.1: {} + + content-type@2.1.0: {} + + cookie-signature@1.2.2: {} + + cookie@0.7.2: {} + + cookie@1.1.1: {} + cross-spawn@7.0.6: dependencies: path-key: 3.1.1 shebang-command: 2.0.0 which: 2.0.2 + csstype@3.2.3: {} + debug@4.4.3: dependencies: ms: 2.1.3 + deep-eql@5.0.2: {} + deep-is@0.1.4: {} + delayed-stream@1.0.0: {} + + depd@2.0.0: {} + + detect-libc@2.1.2: {} + + dunder-proto@1.0.1: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-errors: 1.3.0 + gopd: 1.2.0 + + duplexer@0.1.2: {} + + eastasianwidth@0.2.0: {} + + ecdsa-sig-formatter@1.0.11: + dependencies: + safe-buffer: 5.2.1 + + ee-first@1.1.1: {} + + emoji-regex@10.6.0: {} + + emoji-regex@8.0.0: {} + + emoji-regex@9.2.2: {} + + encodeurl@2.0.2: {} + + enquirer@2.4.1: + dependencies: + ansi-colors: 4.1.3 + strip-ansi: 6.0.1 + + error-stack-parser-es@1.0.5: {} + + es-define-property@1.0.1: {} + + es-errors@1.3.0: {} + + es-module-lexer@1.7.0: {} + + es-object-atoms@1.1.2: + dependencies: + es-errors: 1.3.0 + + es-set-tostringtag@2.1.0: + dependencies: + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + has-tostringtag: 1.0.2 + hasown: 2.0.4 + + esbuild@0.28.2: + optionalDependencies: + '@esbuild/aix-ppc64': 0.28.2 + '@esbuild/android-arm': 0.28.2 + '@esbuild/android-arm64': 0.28.2 + '@esbuild/android-x64': 0.28.2 + '@esbuild/darwin-arm64': 0.28.2 + '@esbuild/darwin-x64': 0.28.2 + '@esbuild/freebsd-arm64': 0.28.2 + '@esbuild/freebsd-x64': 0.28.2 + '@esbuild/linux-arm': 0.28.2 + '@esbuild/linux-arm64': 0.28.2 + '@esbuild/linux-ia32': 0.28.2 + '@esbuild/linux-loong64': 0.28.2 + '@esbuild/linux-mips64el': 0.28.2 + '@esbuild/linux-ppc64': 0.28.2 + '@esbuild/linux-riscv64': 0.28.2 + '@esbuild/linux-s390x': 0.28.2 + '@esbuild/linux-x64': 0.28.2 + '@esbuild/netbsd-arm64': 0.28.2 + '@esbuild/netbsd-x64': 0.28.2 + '@esbuild/openbsd-arm64': 0.28.2 + '@esbuild/openbsd-x64': 0.28.2 + '@esbuild/openharmony-arm64': 0.28.2 + '@esbuild/sunos-x64': 0.28.2 + '@esbuild/win32-arm64': 0.28.2 + '@esbuild/win32-ia32': 0.28.2 + '@esbuild/win32-x64': 0.28.2 + + escalade@3.2.0: {} + + escape-html@1.0.3: {} + escape-string-regexp@4.0.0: {} eslint-scope@8.4.0: @@ -818,6 +4626,8 @@ snapshots: acorn-jsx: 5.3.2(acorn@8.19.0) eslint-visitor-keys: 4.2.1 + esprima@4.0.1: {} + esquery@1.7.0: dependencies: estraverse: 5.3.0 @@ -828,8 +4638,51 @@ snapshots: estraverse@5.3.0: {} + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.10 + esutils@2.0.3: {} + etag@1.8.1: {} + + event-target-shim@5.0.1: {} + + expect-type@1.4.0: {} + + express@5.3.0: + dependencies: + accepts: 2.0.0 + body-parser: 2.4.0 + content-disposition: 2.0.1 + content-type: 2.1.0 + cookie: 0.7.2 + cookie-signature: 1.2.2 + debug: 4.4.3 + depd: 2.0.0 + encodeurl: 2.0.2 + escape-html: 1.0.3 + etag: 1.8.1 + finalhandler: 2.1.1 + fresh: 2.0.0 + http-errors: 2.0.1 + merge-descriptors: 2.0.0 + mime-types: 3.0.2 + on-finished: 2.4.2 + once: 1.4.0 + parseurl: 1.3.3 + proxy-addr: 2.0.8 + qs: 6.17.1 + range-parser: 1.3.0 + router: 2.2.0 + send: 1.2.1 + serve-static: 2.2.1 + statuses: 2.0.2 + type-is: 2.1.0 + vary: 1.1.2 + transitivePeerDependencies: + - supports-color + fast-deep-equal@3.1.3: {} fast-json-stable-stringify@2.1.0: {} @@ -840,34 +4693,146 @@ snapshots: optionalDependencies: picomatch: 4.0.7 - file-entry-cache@8.0.0: - dependencies: - flat-cache: 4.0.1 + file-entry-cache@8.0.0: + dependencies: + flat-cache: 4.0.1 + + finalhandler@2.1.1: + dependencies: + debug: 4.4.3 + encodeurl: 2.0.2 + escape-html: 1.0.3 + on-finished: 2.4.2 + parseurl: 1.3.3 + statuses: 2.0.2 + transitivePeerDependencies: + - supports-color + + find-up@5.0.0: + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + + flat-cache@4.0.1: + dependencies: + flatted: 3.4.4 + keyv: 4.5.4 + + flatted@3.4.4: {} + + foreground-child@3.3.1: + dependencies: + cross-spawn: 7.0.6 + signal-exit: 4.1.0 + + form-data-encoder@1.7.2: {} + + form-data@4.0.6: + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + es-set-tostringtag: 2.1.0 + hasown: 2.0.4 + mime-types: 2.1.35 + + formdata-node@4.4.1: + dependencies: + node-domexception: 1.0.0 + web-streams-polyfill: 4.0.0-beta.3 + + forwarded@0.2.0: {} + + fresh@2.0.0: {} + + fsevents@2.3.3: + optional: true + + function-bind@1.1.2: {} + + get-caller-file@2.0.5: {} + + get-east-asian-width@1.7.0: {} + + get-intrinsic@1.3.0: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.2 + function-bind: 1.1.2 + get-proto: 1.0.1 + gopd: 1.2.0 + has-symbols: 1.1.0 + hasown: 2.0.4 + math-intrinsics: 1.1.0 + + get-proto@1.0.1: + dependencies: + dunder-proto: 1.0.1 + es-object-atoms: 1.1.2 + + glob-parent@6.0.2: + dependencies: + is-glob: 4.0.3 + + glob@10.3.3: + dependencies: + foreground-child: 3.3.1 + jackspeak: 2.3.6 + minimatch: 9.0.9 + minipass: 7.1.3 + path-scurry: 1.11.1 + + glob@13.0.7: + dependencies: + minimatch: 10.2.6 + minipass: 7.1.3 + path-scurry: 2.0.2 + + globals@14.0.0: {} + + gopd@1.2.0: {} + + gzip-size@6.0.0: + dependencies: + duplexer: 0.1.2 + + has-flag@4.0.0: {} + + has-symbols@1.1.0: {} - find-up@5.0.0: + has-tostringtag@1.0.2: dependencies: - locate-path: 6.0.0 - path-exists: 4.0.0 + has-symbols: 1.1.0 - flat-cache@4.0.1: + hasown@2.0.4: dependencies: - flatted: 3.4.4 - keyv: 4.5.4 + function-bind: 1.1.2 - flatted@3.4.4: {} + highlight.js@11.11.1: {} - glob-parent@6.0.2: + http-errors@2.0.1: dependencies: - is-glob: 4.0.3 + depd: 2.0.0 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: 2.0.2 + toidentifier: 1.0.1 - globals@14.0.0: {} + humanize-ms@1.2.1: + dependencies: + ms: 2.1.3 - has-flag@4.0.0: {} + iconv-lite@0.7.3: + dependencies: + safer-buffer: 2.1.2 ignore@5.3.2: {} ignore@7.0.14: {} + immutable@5.1.10: {} + import-fresh@3.3.1: dependencies: parent-module: 1.0.1 @@ -875,14 +4840,30 @@ snapshots: imurmurhash@0.1.4: {} + inherits@2.0.4: {} + + ipaddr.js@1.9.1: {} + is-extglob@2.1.1: {} + is-fullwidth-code-point@3.0.0: {} + is-glob@4.0.3: dependencies: is-extglob: 2.1.1 + is-promise@4.0.0: {} + isexe@2.0.0: {} + jackspeak@2.3.6: + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 + + js-tokens@9.0.1: {} + js-yaml@4.3.2: dependencies: argparse: 2.0.1 @@ -893,10 +4874,36 @@ snapshots: json-stable-stringify-without-jsonify@1.0.1: {} + jsonwebtoken@9.0.2: + dependencies: + jws: 3.2.3 + lodash.includes: 4.3.0 + lodash.isboolean: 3.0.3 + lodash.isinteger: 4.0.4 + lodash.isnumber: 3.0.3 + lodash.isplainobject: 4.0.6 + lodash.isstring: 4.0.1 + lodash.once: 4.1.1 + ms: 2.1.3 + semver: 7.8.6 + + jwa@1.4.2: + dependencies: + buffer-equal-constant-time: 1.0.1 + ecdsa-sig-formatter: 1.0.11 + safe-buffer: 5.2.1 + + jws@3.2.3: + dependencies: + jwa: 1.4.2 + safe-buffer: 5.2.1 + keyv@4.5.4: dependencies: json-buffer: 3.0.1 + kleur@4.1.5: {} + levn@0.4.1: dependencies: prelude-ls: 1.2.1 @@ -906,8 +4913,69 @@ snapshots: dependencies: p-locate: 5.0.0 + lodash.includes@4.3.0: {} + + lodash.isboolean@3.0.3: {} + + lodash.isinteger@4.0.4: {} + + lodash.isnumber@3.0.3: {} + + lodash.isplainobject@4.0.6: {} + + lodash.isstring@4.0.1: {} + lodash.merge@4.6.2: {} + lodash.once@4.1.1: {} + + loupe@3.2.1: {} + + lru-cache@10.4.3: {} + + lru-cache@11.5.3: {} + + magic-string@0.30.21: + dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 + + marked-highlight@2.2.1(marked@15.0.7): + dependencies: + marked: 15.0.7 + + marked@15.0.7: {} + + math-intrinsics@1.1.0: {} + + media-typer@1.1.1: {} + + merge-descriptors@2.0.0: {} + + mime-db@1.52.0: {} + + mime-db@1.54.0: {} + + mime-types@2.1.35: + dependencies: + mime-db: 1.52.0 + + mime-types@3.0.2: + dependencies: + mime-db: 1.54.0 + + miniflare@5.20261110.1-beta(@types/node@22.13.4): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + sharp: 0.35.5(@types/node@22.13.4) + undici: 7.30.1 + workerd: 1.20261110.1 + ws: 8.21.0 + youch: 4.1.0-beta.10 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - utf-8-validate + minimatch@10.2.6: dependencies: brace-expansion: 5.0.13 @@ -916,10 +4984,74 @@ snapshots: dependencies: brace-expansion: 1.1.22 + minimatch@9.0.9: + dependencies: + brace-expansion: 2.1.8 + + minipass@7.1.3: {} + + mkdirp@3.0.1: {} + + mnemonist@0.38.3: + dependencies: + obliterator: 1.6.1 + ms@2.1.3: {} + nanoid@3.3.20: {} + natural-compare@1.4.0: {} + negotiator@1.1.0: + dependencies: + content-type: 2.1.0 + + next@15.5.29(@types/node@22.13.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)(sass@1.85.0): + dependencies: + '@next/env': 15.5.29 + '@swc/helpers': 0.5.15 + caniuse-lite: 1.0.30001826 + postcss: 8.4.31 + react: 19.2.5 + react-dom: 19.2.5(react@19.2.5) + styled-jsx: 5.1.6(react@19.2.5) + optionalDependencies: + '@next/swc-darwin-arm64': 15.5.29 + '@next/swc-darwin-x64': 15.5.29 + '@next/swc-linux-arm64-gnu': 15.5.29 + '@next/swc-linux-arm64-musl': 15.5.29 + '@next/swc-linux-x64-gnu': 15.5.29 + '@next/swc-linux-x64-musl': 15.5.29 + '@next/swc-win32-arm64-msvc': 15.5.29 + '@next/swc-win32-x64-msvc': 15.5.29 + sass: 1.85.0 + sharp: 0.35.5(@types/node@22.13.4) + transitivePeerDependencies: + - '@babel/core' + - '@types/node' + - babel-plugin-macros + + node-addon-api@7.1.1: + optional: true + + node-domexception@1.0.0: {} + + node-fetch@2.7.0: + dependencies: + whatwg-url: 5.0.0 + + object-inspect@1.13.4: {} + + obliterator@1.6.1: {} + + on-finished@2.4.2: + dependencies: + ee-first: 1.1.1 + + once@1.4.0: + dependencies: + wrappy: 1.0.2 + optionator@0.9.4: dependencies: deep-is: 0.1.4 @@ -941,41 +5073,341 @@ snapshots: dependencies: callsites: 3.1.0 + parseurl@1.3.3: {} + path-exists@4.0.0: {} path-key@3.1.1: {} + path-scurry@1.11.1: + dependencies: + lru-cache: 10.4.3 + minipass: 7.1.3 + + path-scurry@2.0.2: + dependencies: + lru-cache: 11.5.3 + minipass: 7.1.3 + + path-to-regexp@6.3.0: {} + + path-to-regexp@8.4.2: {} + + pathe@2.0.3: {} + + pathval@2.0.1: {} + + picocolors@1.1.1: {} + picomatch@4.0.7: {} + postcss@8.4.31: + dependencies: + nanoid: 3.3.20 + picocolors: 1.1.1 + source-map-js: 1.2.2 + + postcss@8.5.2: + dependencies: + nanoid: 3.3.20 + picocolors: 1.1.1 + source-map-js: 1.2.2 + + postcss@8.5.32: + dependencies: + nanoid: 3.3.20 + picocolors: 1.1.1 + source-map-js: 1.2.2 + prelude-ls@1.2.1: {} + proxy-addr@2.0.8: + dependencies: + forwarded: 0.2.0 + ipaddr.js: 1.9.1 + punycode@2.3.1: {} + qs@6.17.1: + dependencies: + es-define-property: 1.0.1 + side-channel: 1.1.1 + + range-parser@1.3.0: {} + + raw-body@3.0.2: + dependencies: + bytes: 3.1.2 + http-errors: 2.0.1 + iconv-lite: 0.7.3 + unpipe: 1.0.0 + + react-dom@19.2.5(react@19.2.5): + dependencies: + react: 19.2.5 + scheduler: 0.27.0 + + react@19.2.5: {} + + readdirp@4.1.2: {} + resolve-from@4.0.0: {} + rollup@4.68.2: + dependencies: + '@types/estree': 1.0.10 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.68.2 + '@rollup/rollup-android-arm64': 4.68.2 + '@rollup/rollup-android-x64': 4.68.2 + '@rollup/rollup-darwin-arm64': 4.68.2 + '@rollup/rollup-darwin-x64': 4.68.2 + '@rollup/rollup-freebsd-arm64': 4.68.2 + '@rollup/rollup-freebsd-x64': 4.68.2 + '@rollup/rollup-linux-arm-gnueabihf': 4.68.2 + '@rollup/rollup-linux-arm-musleabihf': 4.68.2 + '@rollup/rollup-linux-arm64-gnu': 4.68.2 + '@rollup/rollup-linux-arm64-musl': 4.68.2 + '@rollup/rollup-linux-loong64-gnu': 4.68.2 + '@rollup/rollup-linux-loong64-musl': 4.68.2 + '@rollup/rollup-linux-ppc64-gnu': 4.68.2 + '@rollup/rollup-linux-ppc64-musl': 4.68.2 + '@rollup/rollup-linux-riscv64-gnu': 4.68.2 + '@rollup/rollup-linux-riscv64-musl': 4.68.2 + '@rollup/rollup-linux-s390x-gnu': 4.68.2 + '@rollup/rollup-linux-x64-gnu': 4.68.2 + '@rollup/rollup-linux-x64-musl': 4.68.2 + '@rollup/rollup-openbsd-x64': 4.68.2 + '@rollup/rollup-openharmony-arm64': 4.68.2 + '@rollup/rollup-win32-arm64-msvc': 4.68.2 + '@rollup/rollup-win32-ia32-msvc': 4.68.2 + '@rollup/rollup-win32-x64-gnu': 4.68.2 + '@rollup/rollup-win32-x64-msvc': 4.68.2 + fsevents: 2.3.3 + + router@2.2.0: + dependencies: + debug: 4.4.3 + depd: 2.0.0 + is-promise: 4.0.0 + parseurl: 1.3.3 + path-to-regexp: 8.4.2 + transitivePeerDependencies: + - supports-color + + safe-buffer@5.2.1: {} + + safer-buffer@2.1.2: {} + + sass@1.85.0: + dependencies: + chokidar: 4.0.3 + immutable: 5.1.10 + source-map-js: 1.2.2 + optionalDependencies: + '@parcel/watcher': 2.6.0 + + scheduler@0.27.0: {} + semver@7.8.6: {} + send@1.2.1: + dependencies: + debug: 4.4.3 + encodeurl: 2.0.2 + 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.2 + range-parser: 1.3.0 + statuses: 2.0.2 + transitivePeerDependencies: + - supports-color + + serve-static@2.2.1: + dependencies: + encodeurl: 2.0.2 + escape-html: 1.0.3 + parseurl: 1.3.3 + send: 1.2.1 + transitivePeerDependencies: + - supports-color + + server-only@0.0.1: {} + + setprototypeof@1.2.0: {} + + sharp@0.35.5(@types/node@22.13.4): + dependencies: + '@img/colour': 1.1.0 + detect-libc: 2.1.2 + semver: 7.8.6 + optionalDependencies: + '@img/sharp-darwin-arm64': 0.35.5 + '@img/sharp-darwin-x64': 0.35.5 + '@img/sharp-freebsd-wasm32': 0.35.5 + '@img/sharp-libvips-darwin-arm64': 1.3.4 + '@img/sharp-libvips-darwin-x64': 1.3.4 + '@img/sharp-libvips-linux-arm': 1.3.4 + '@img/sharp-libvips-linux-arm64': 1.3.4 + '@img/sharp-libvips-linux-ppc64': 1.3.4 + '@img/sharp-libvips-linux-riscv64': 1.3.4 + '@img/sharp-libvips-linux-s390x': 1.3.4 + '@img/sharp-libvips-linux-x64': 1.3.4 + '@img/sharp-libvips-linuxmusl-arm64': 1.3.4 + '@img/sharp-libvips-linuxmusl-x64': 1.3.4 + '@img/sharp-linux-arm': 0.35.5 + '@img/sharp-linux-arm64': 0.35.5 + '@img/sharp-linux-ppc64': 0.35.5 + '@img/sharp-linux-riscv64': 0.35.5 + '@img/sharp-linux-s390x': 0.35.5 + '@img/sharp-linux-x64': 0.35.5 + '@img/sharp-linuxmusl-arm64': 0.35.5 + '@img/sharp-linuxmusl-x64': 0.35.5 + '@img/sharp-webcontainers-wasm32': 0.35.5 + '@img/sharp-win32-arm64': 0.35.5 + '@img/sharp-win32-ia32': 0.35.5 + '@img/sharp-win32-x64': 0.35.5 + '@types/node': 22.13.4 + shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 shebang-regex@3.0.0: {} + side-channel-list@1.0.1: + dependencies: + es-errors: 1.3.0 + object-inspect: 1.13.4 + + side-channel-map@1.0.1: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 + + side-channel-weakmap@1.0.2: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 + side-channel-map: 1.0.1 + + side-channel@1.1.1: + dependencies: + es-errors: 1.3.0 + object-inspect: 1.13.4 + side-channel-list: 1.0.1 + side-channel-map: 1.0.1 + side-channel-weakmap: 1.0.2 + + siginfo@2.0.0: {} + + signal-exit@4.1.0: {} + + source-map-js@1.2.2: {} + + source-map-support@0.5.21: + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + + source-map@0.6.1: {} + + stackback@0.0.2: {} + + statuses@2.0.2: {} + + std-env@3.10.0: {} + + string-width@4.2.3: + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + string-width@5.1.2: + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.2.0 + + string-width@7.2.0: + dependencies: + emoji-regex: 10.6.0 + get-east-asian-width: 1.7.0 + strip-ansi: 7.2.0 + + string-width@8.3.0: + dependencies: + get-east-asian-width: 1.7.0 + strip-ansi: 7.2.0 + + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + + strip-ansi@7.2.0: + dependencies: + ansi-regex: 6.6.0 + strip-json-comments@3.1.1: {} + strip-literal@3.1.0: + dependencies: + js-tokens: 9.0.1 + + styled-jsx@5.1.6(react@19.2.5): + dependencies: + client-only: 0.0.1 + react: 19.2.5 + + supports-color@10.2.2: {} + supports-color@7.2.0: dependencies: has-flag: 4.0.0 + terser@5.36.0: + dependencies: + '@jridgewell/source-map': 0.3.11 + acorn: 8.19.0 + commander: 2.20.3 + source-map-support: 0.5.21 + + tinybench@2.9.0: {} + + tinyexec@0.3.2: {} + tinyglobby@0.2.17: dependencies: fdir: 6.5.0(picomatch@4.0.7) picomatch: 4.0.7 + tinypool@1.1.1: {} + + tinyrainbow@2.0.0: {} + + tinyspy@4.0.6: {} + + toidentifier@1.0.1: {} + + tr46@0.0.3: {} + ts-api-utils@2.5.0(typescript@5.9.3): dependencies: typescript: 5.9.3 + ts-tqdm@0.8.6: {} + + tslib@2.9.1: {} + turbo@2.11.11: optionalDependencies: '@turbo/darwin-64': 2.11.11 @@ -989,16 +5421,221 @@ snapshots: dependencies: prelude-ls: 1.2.1 + type-is@2.1.0: + dependencies: + content-type: 2.1.0 + media-typer: 1.1.1 + mime-types: 3.0.2 + + typescript@5.7.3: {} + typescript@5.9.3: {} + undici-types@5.26.5: {} + + undici-types@6.20.0: {} + + undici@6.29.1: {} + + undici@7.30.1: {} + + unenv@2.0.0-rc.24: + dependencies: + pathe: 2.0.3 + + unpipe@1.0.0: {} + uri-js@4.4.1: dependencies: punycode: 2.3.1 + urlpattern-polyfill@10.1.0: {} + + vary@1.1.2: {} + + vite-node@3.2.4(@types/node@22.13.4)(sass@1.85.0)(terser@5.36.0)(yaml@2.9.1): + dependencies: + cac: 6.7.14 + debug: 4.4.3 + es-module-lexer: 1.7.0 + pathe: 2.0.3 + vite: 7.3.8(@types/node@22.13.4)(sass@1.85.0)(terser@5.36.0)(yaml@2.9.1) + transitivePeerDependencies: + - '@types/node' + - jiti + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + vite@7.3.8(@types/node@22.13.4)(sass@1.85.0)(terser@5.36.0)(yaml@2.9.1): + dependencies: + esbuild: 0.28.2 + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 + postcss: 8.5.32 + rollup: 4.68.2 + tinyglobby: 0.2.17 + optionalDependencies: + '@types/node': 22.13.4 + fsevents: 2.3.3 + sass: 1.85.0 + terser: 5.36.0 + yaml: 2.9.1 + + vitest@3.2.7(@types/node@22.13.4)(sass@1.85.0)(terser@5.36.0)(yaml@2.9.1): + dependencies: + '@types/chai': 5.2.3 + '@vitest/expect': 3.2.7 + '@vitest/mocker': 3.2.7(vite@7.3.8(@types/node@22.13.4)(sass@1.85.0)(terser@5.36.0)(yaml@2.9.1)) + '@vitest/pretty-format': 3.2.7 + '@vitest/runner': 3.2.7 + '@vitest/snapshot': 3.2.7 + '@vitest/spy': 3.2.7 + '@vitest/utils': 3.2.7 + chai: 5.3.3 + debug: 4.4.3 + expect-type: 1.4.0 + magic-string: 0.30.21 + pathe: 2.0.3 + picomatch: 4.0.7 + std-env: 3.10.0 + tinybench: 2.9.0 + tinyexec: 0.3.2 + tinyglobby: 0.2.17 + tinypool: 1.1.1 + tinyrainbow: 2.0.0 + vite: 7.3.8(@types/node@22.13.4)(sass@1.85.0)(terser@5.36.0)(yaml@2.9.1) + vite-node: 3.2.4(@types/node@22.13.4)(sass@1.85.0)(terser@5.36.0)(yaml@2.9.1) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 22.13.4 + transitivePeerDependencies: + - jiti + - less + - lightningcss + - msw + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + web-streams-polyfill@4.0.0-beta.3: {} + + webidl-conversions@3.0.1: {} + + whatwg-url@5.0.0: + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + which@2.0.2: dependencies: isexe: 2.0.0 + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + word-wrap@1.2.5: {} + workerd@1.20261110.1: + optionalDependencies: + '@cloudflare/workerd-darwin-64': 1.20261110.1 + '@cloudflare/workerd-darwin-arm64': 1.20261110.1 + '@cloudflare/workerd-linux-64': 1.20261110.1 + '@cloudflare/workerd-linux-arm64': 1.20261110.1 + '@cloudflare/workerd-windows-64': 1.20261110.1 + + wrangler@4.160.1(@types/node@22.13.4): + dependencies: + '@cloudflare/kv-asset-handler': 0.5.0 + '@cloudflare/unenv-preset': 2.16.2(unenv@2.0.0-rc.24)(workerd@1.20261110.1) + '@cspotcode/source-map-support': 0.8.1 + blake3-wasm: 2.1.5 + esbuild: 0.28.2 + miniflare: 5.20261110.1-beta(@types/node@22.13.4) + path-to-regexp: 6.3.0 + unenv: 2.0.0-rc.24 + workerd: 1.20261110.1 + optionalDependencies: + fsevents: 2.3.3 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - kerberos + - utf-8-validate + + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrap-ansi@8.1.0: + dependencies: + ansi-styles: 6.2.3 + string-width: 5.1.2 + strip-ansi: 7.2.0 + + wrap-ansi@9.0.2: + dependencies: + ansi-styles: 6.2.3 + string-width: 7.2.0 + strip-ansi: 7.2.0 + + wrappy@1.0.2: {} + + write-file-atomic@5.0.1: + dependencies: + imurmurhash: 0.1.4 + signal-exit: 4.1.0 + + ws@8.21.0: {} + + y18n@5.0.8: {} + + yaml@2.9.1: {} + + yargs-parser@22.0.0: {} + + yargs@18.2.0: + dependencies: + cliui: 9.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + string-width: 8.3.0 + y18n: 5.0.8 + yargs-parser: 22.0.0 + yocto-queue@0.1.0: {} + + yocto-spinner@1.2.2: + dependencies: + yoctocolors: 2.2.0 + + yoctocolors@2.2.0: {} + + youch-core@0.3.3: + dependencies: + '@poppinss/exception': 1.2.3 + error-stack-parser-es: 1.0.5 + + youch@4.1.0-beta.10: + dependencies: + '@poppinss/colors': 4.1.6 + '@poppinss/dumper': 0.6.5 + '@speed-highlight/core': 1.2.24 + cookie: 1.1.1 + youch-core: 0.3.3 diff --git a/specs/epics/README.md b/specs/epics/README.md index 6c1fe32..91f2dad 100644 --- a/specs/epics/README.md +++ b/specs/epics/README.md @@ -7,6 +7,6 @@ folder is the adoption; the merge creates the epic in the workspace. | Epic | Cluster | Status | What it is | |------|---------|--------|------------| -| [`on-demand-isr/`](./on-demand-isr/) | **OI** | In progress (OI0) | Vercel's On-Demand ISR template on Cloudflare Workers — a repository's GitHub issues as pages cached in R2, regenerated by a GitHub App's signed webhook through the Durable Object tag cache — and an Orun baseline that instantiates it in one landing, live before an App is connected (OI2) | +| [`on-demand-isr/`](./on-demand-isr/) | **OI** | In progress (OI1: the site on Workers) | Vercel's On-Demand ISR template on Cloudflare Workers — a repository's GitHub issues as pages cached in R2, regenerated by a GitHub App's signed webhook through the Durable Object tag cache — and an Orun baseline that instantiates it in one landing, live before an App is connected (OI2) | As-built ≠ intent: what shipped lives in each epic's `IMPLEMENTATION-STATUS.md`. diff --git a/specs/epics/on-demand-isr/IMPLEMENTATION-STATUS.md b/specs/epics/on-demand-isr/IMPLEMENTATION-STATUS.md index 78aa3b8..f40adc2 100644 --- a/specs/epics/on-demand-isr/IMPLEMENTATION-STATUS.md +++ b/specs/epics/on-demand-isr/IMPLEMENTATION-STATUS.md @@ -3,9 +3,26 @@ | Milestone | State | Landed | |---|---|---| | OI0 — the spec | ✅ | OI-1 | -| OI1 — the site on Workers | planned | OI-2 | +| OI1 — the site on Workers | ✅ | OI-2 | | OI2 — a baseline | planned | OI-3 | ## Departures from the upstream template -Recorded as they land, from OI1 on. +Everything not listed here is vercel/on-demand-isr as it is at `2e96485`. + +| # | What | Why | +|---|---|---| +| 1 | The app lives in `apps/web` of a pnpm workspace (`@app/web`); its dependencies pinned to upstream's locked versions (`highlight.js` 11.11.1, `jsonwebtoken` 9.0.2, `marked` 15.0.7, `marked-highlight` 2.2.1, `sass` 1.85.0, `server-only` 0.0.1); `dev`/`start` on port 3000; upstream's lockfile, `.vscode/settings.json` (a TypeScript 4.9.4 path) and `bun dev` not carried | The workspace's shape | +| 2 | `next` 15.3.6 → 15.5.29 with `@opennextjs/cloudflare` 1.20.16, both pinned; `react`/`react-dom` 19.0.0 → 19.2.5 | The adapter accepts `>=15.5.29 <16` on the 15 line; React to its current 19 patch | +| 3 | `next.config.ts`: `output: "standalone"`, `outputFileTracingRoot` at the workspace root, `images.unoptimized` (the avatar `remotePatterns` kept), `allowedDevOrigins` for the live preview, `initOpenNextCloudflareForDev()`; `experimental.useCache`, `inlineCss` and `logging` kept | OpenNext's build and bindings | +| 4 | `open-next.config.ts` (R2 incremental cache, sharded Durable Object tag cache, Durable Object queue), `wrangler.template.jsonc` + `wiring.fixture.json` (→ the committed `wrangler.jsonc`), `cloudflare-env.d.ts`, `next-types.d.ts`; no populateCache | The cache on Workers; each page rendered on its first visit with the Worker's settings (design §4) | +| 5 | `tsconfig.json` excludes `open-next.config.ts`, `.open-next` and `.wrangler` (upstream's options kept, `moduleResolution: "node"` included) | That resolution cannot type the adapter's `config` export, and Next's build type-checks the file | +| 6 | `lib/settings.ts`: `GITHUB_APP_ID`, `GITHUB_APP_PK_PEM` and `GITHUB_WEBHOOK_SECRET` read per request from the Worker's env, else `process.env`; `lib/github.ts` and the webhook read them through it | A Worker's settings are its secrets, which the deploy puts there | +| 7 | `lib/github.ts`: the repository is `REPOSITORY` from `app/site.ts`'s `SOURCE_URL` (upstream: `nextjs/on-demand-isr`), the installation the one on its owner, compared without case (upstream: `nextjs`); a clear error when there is none (upstream: a `TypeError`); the missing-settings error names the Orun secrets | The site lists its own repository | +| 8 | `lib/sample.ts` and `app/connect-notice.tsx`: with no App ID or key, the readers answer three sample issues and call GitHub for nothing, and `/` and `/` show a notice linking the README's "Connecting a GitHub App"; the readers return `connected` | A product deploys before its owner connects an App; upstream failed on its first read without one | +| 9 | `app/api/webhook`: 503 while `GITHUB_WEBHOOK_SECRET` is unset; signed deliveries as upstream (HMAC-SHA256 of the raw body, `timingSafeEqual`, `revalidatePath('/')` and the issue's page) | Upstream keyed its HMAC with `''` when the secret was unset, which anyone can compute | +| 10 | `app/api/health/route.ts` | The deploy's smoke and the record's probe | +| 11 | `app/site.ts`: `SITE_NAME = "On-Demand Incremental Static Regeneration"` (upstream's title without " with Next.js") and `SOURCE_URL`; the layout's title reads `SITE_NAME`, and a description is added | One rename seam; upstream's full title is over the card's 48-character name pattern | +| 12 | The repository links in `/`, `/[id]` and the explanation read `SOURCE_URL` (owner, name, fork, issues, new issue); the explanation's "pushed to the edge", "a Serverless Function is invoked" and "about 300ms~ to propagate to the global Vercel Edge Network" now describe the Worker and its R2 cache | The product is not on Vercel, and its repository is its own | +| 13 | ESLint with the workspace's shared config (upstream ships none); its 13 warnings — upstream's `console.log` and `any` — kept | The workspace's lint lane | +| 14 | `tests/web` (vitest, 35 tests): the seam, the settings, the App's JWT and installation token against an in-process GitHub, the readers connected and not, the webhook's signature check, `/api/health`, the pages rendered | Upstream ships no tests | diff --git a/specs/epics/on-demand-isr/README.md b/specs/epics/on-demand-isr/README.md index 6c0ba44..05c1555 100644 --- a/specs/epics/on-demand-isr/README.md +++ b/specs/epics/on-demand-isr/README.md @@ -16,7 +16,7 @@ webhook secret.** | | | |---|---| -| Status | In progress — OI0 on main | +| Status | In progress — OI1 on main: the site runs on Workers | | Upstream | [vercel/on-demand-isr](https://github.com/vercel/on-demand-isr) (MIT, `LICENSE.md`), at `2e96485` (2026-10-14) | | Reference | [sfcc-commerce](https://github.com/sourceplane/sfcc-commerce) and [commerce](https://github.com/sourceplane/commerce) — the same OpenNext, R2 and Durable Object shape, Worker secrets pushed after the build, a webhook that revalidates; [microcms-blog](https://github.com/sourceplane/microcms-blog) — a SaaS client's host rerouted by the e2e's own Worker entry | | Key | `OI` | diff --git a/tests/web/component.yaml b/tests/web/component.yaml new file mode 100644 index 0000000..70f20c6 --- /dev/null +++ b/tests/web/component.yaml @@ -0,0 +1,31 @@ +apiVersion: sourceplane.io/v1 +kind: Component +metadata: + name: web-tests + description: The port's vitest suite — the site seam (its name and its repository), the GitHub App settings read per request, the App's RS256 JWT and installation token against an in-process GitHub, the issues and sample issues the pages render, the webhook's signature check and the paths it revalidates, and /api/health +spec: + type: turbo-package + lifecycle: production + owner: platform + # Its pages, attached to it in the workspace's catalog: what the Docs + # library shows for it, and what the catalog's docs and runbook checks read. + # Generated from what this manifest and its sources declare. + docs: + overview: docs/overview.md + pages: + - { path: docs/architecture.md, role: architecture, title: Architecture } + - { path: docs/runbook.md, role: runbook, title: Runbook } + domain: tests + subscribe: + environments: + - name: dev + profile: quick-check + parameters: + nodeVersion: "22" + pnpmVersion: "10.12.1" + buildCommand: pnpm exec turbo run build --filter=./ + typecheckCommand: pnpm exec turbo run typecheck --filter=./ + preBuildCommand: pnpm exec turbo run test --filter=./ + labels: + team: platform + layer: test diff --git a/tests/web/docs/architecture.md b/tests/web/docs/architecture.md new file mode 100644 index 0000000..d628fcd --- /dev/null +++ b/tests/web/docs/architecture.md @@ -0,0 +1,11 @@ +# web-tests — architecture + +A test package at `tests/web`. Its lane runs the suite before it builds. + +## Suites (5) + +- `github.test.ts` +- `pages.test.tsx` +- `settings.test.ts` +- `site.test.ts` +- `webhook.test.ts` diff --git a/tests/web/docs/overview.md b/tests/web/docs/overview.md new file mode 100644 index 0000000..10b7f15 --- /dev/null +++ b/tests/web/docs/overview.md @@ -0,0 +1,20 @@ +# web-tests + +The port's vitest suite — the site seam (its name and its repository), the GitHub App settings read per request, the App's RS256 JWT and installation token against an in-process GitHub, the issues and sample issues the pages render, the webhook's signature check and the paths it revalidates, and /api/health + +The test suite for **web**. It deploys nothing: its lane installs, builds and runs the tests. + +| | | +| ------------ | -------------------- | +| Type | `turbo-package` | +| Source | `tests/web` | +| Package | `@app/web-tests` | +| Environments | `dev`: `quick-check` | + +## Depends on + +- (none) + +## Depended on by + +- (none) diff --git a/tests/web/docs/runbook.md b/tests/web/docs/runbook.md new file mode 100644 index 0000000..c687de2 --- /dev/null +++ b/tests/web/docs/runbook.md @@ -0,0 +1,26 @@ +# web-tests — runbook + +## How it runs + +Its lane runs on every pull request that changes it; it has no deployed surface. +CI plans what changed (`orun plan --changed`) and runs each lane with `orun run`; +the plan orders a component after everything it depends on. + +## Local commands + +```bash +pnpm --filter @app/web-tests build +pnpm --filter @app/web-tests test +pnpm --filter @app/web-tests typecheck +pnpm --filter @app/web-tests lint +``` + +## Rollback + +Revert the commit on `main`. The next convergence applies the previous desired +state; nothing was changed out of band, so there is nothing else to undo. + +## Common failures + +- **A dependent fails to build after a change here**: run `pnpm typecheck` + across the workspace before merging. diff --git a/tests/web/eslint.config.js b/tests/web/eslint.config.js new file mode 100644 index 0000000..2e905dc --- /dev/null +++ b/tests/web/eslint.config.js @@ -0,0 +1,2 @@ +import config from "../../tooling/eslint/index.js"; +export default config; diff --git a/tests/web/package.json b/tests/web/package.json new file mode 100644 index 0000000..527cae6 --- /dev/null +++ b/tests/web/package.json @@ -0,0 +1,25 @@ +{ + "name": "@app/web-tests", + "version": "0.0.0", + "private": true, + "type": "module", + "scripts": { + "build": "tsc --noEmit", + "typecheck": "tsc --noEmit", + "test": "vitest run", + "lint": "eslint src" + }, + "devDependencies": { + "@app/eslint-config": "workspace:*", + "@app/tsconfig": "workspace:*", + "@opennextjs/cloudflare": "1.20.16", + "@types/node": "22.13.4", + "@types/react": "19.2.18", + "@types/react-dom": "19.2.4", + "next": "15.5.29", + "react": "19.2.5", + "react-dom": "19.2.5", + "typescript": "5.7.3", + "vitest": "^3.2.4" + } +} diff --git a/tests/web/src/fake-github.ts b/tests/web/src/fake-github.ts new file mode 100644 index 0000000..0cc86f9 --- /dev/null +++ b/tests/web/src/fake-github.ts @@ -0,0 +1,110 @@ +import { generateKeyPairSync, verify } from "node:crypto"; + +// An in-process stand-in for the slice of api.github.com the app calls, as a +// `fetch`: the App's installations and an installation token (both behind a +// JWT it verifies with the App's public key), then a repository, its issues, +// one issue and its comments (behind that token). It records every call. + +// A private key in the format GitHub issues App keys in (PKCS#1, "BEGIN RSA +// PRIVATE KEY"), and its public half for checking signatures. +export const KEYS = generateKeyPairSync("rsa", { + modulusLength: 2048, + privateKeyEncoding: { type: "pkcs1", format: "pem" }, + publicKeyEncoding: { type: "spki", format: "pem" }, +}); +export const APP_ID = "12345"; +export const TOKEN = "ghs_installation_token"; + +export interface Call { + method: string; + path: string; + authorization: string; +} + +export interface Issue { + id: number; + number: number; + title: string; + comments: number; + created_at: string; + html_url: string; + body: string; + user: { login: string; avatar_url?: string }; +} + +export function issue(number: number, title: string, body = ""): Issue { + return { + id: 1000 + number, + number, + title, + comments: 0, + created_at: "2026-11-01T10:00:00Z", + html_url: `https://github.com/acme/issues/issues/${number}`, + body, + user: { login: "octocat", avatar_url: "https://avatars.githubusercontent.com/u/583231" }, + }; +} + +// The JWT's three parts, checked: RS256, signed by KEYS.privateKey. +export function readJwt(authorization: string) { + const m = /^Bearer ([^.]+)\.([^.]+)\.([^.]+)$/.exec(authorization); + if (!m) return null; + const [, h, p, s] = m as unknown as [string, string, string, string]; + const header = JSON.parse(Buffer.from(h, "base64url").toString()); + const payload = JSON.parse(Buffer.from(p, "base64url").toString()); + const valid = verify("RSA-SHA256", Buffer.from(`${h}.${p}`), KEYS.publicKey, Buffer.from(s, "base64url")); + return { header, payload, valid }; +} + +export function fakeGitHub(opts: { + owner: string; + repository: string; + installations?: { id: number; account: { login: string } }[]; + issues?: Issue[]; + comments?: Record; + stars?: number; + forks?: number; +}) { + const calls: Call[] = []; + const installations = opts.installations ?? [{ id: 42, account: { login: opts.owner } }]; + const state = { issues: opts.issues ?? [], comments: opts.comments ?? {} }; + const json = (body: unknown, status = 200) => + new Response(JSON.stringify(body), { status, headers: { "content-type": "application/json" } }); + + const fetch = async (input: string | URL | Request, init?: RequestInit) => { + const request = new Request(input, init); + const url = new URL(request.url); + const authorization = request.headers.get("authorization") ?? ""; + calls.push({ method: request.method, path: url.pathname, authorization }); + if (url.origin !== "https://api.github.com") return json({ message: "not GitHub" }, 599); + + const jwtOk = () => { + const jwt = readJwt(authorization); + return Boolean(jwt?.valid && jwt.header.alg === "RS256" && String(jwt.payload.iss) === APP_ID); + }; + if (url.pathname === "/app/installations") { + return jwtOk() ? json(installations) : json({ message: "A JSON web token could not be decoded" }, 401); + } + const token = /^\/app\/installations\/(\d+)\/access_tokens$/.exec(url.pathname); + if (token && request.method === "POST") { + return jwtOk() && installations.some((i) => String(i.id) === token[1]) + ? json({ token: TOKEN }, 201) + : json({ message: "Bad credentials" }, 401); + } + if (authorization !== `Bearer ${TOKEN}`) return json({ message: "Bad credentials" }, 401); + + const base = `/repos/${opts.repository}`; + if (url.pathname === base) { + return json({ full_name: opts.repository, stargazers_count: opts.stars ?? 0, forks_count: opts.forks ?? 0 }); + } + if (url.pathname === `${base}/issues`) return json(state.issues); + const one = new RegExp(`^${base}/issues/(\\d+)(/comments)?$`).exec(url.pathname); + if (one) { + const found = state.issues.find((i) => String(i.number) === one[1]); + if (!found) return json({ message: "Not Found" }, 404); + return json(one[2] ? (state.comments[found.number] ?? []) : found); + } + return json({ message: "Not Found" }, 404); + }; + return { fetch, calls, state }; +} diff --git a/tests/web/src/github.test.ts b/tests/web/src/github.test.ts new file mode 100644 index 0000000..2bbc95b --- /dev/null +++ b/tests/web/src/github.test.ts @@ -0,0 +1,181 @@ +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { OWNER, REPOSITORY } from "@app/app/site"; +import { SAMPLE_COMMENTS, SAMPLE_ISSUES } from "@app/lib/sample"; +import { APP_ID, KEYS, TOKEN, fakeGitHub, issue, readJwt } from "./fake-github"; + +// lib/github.ts, the template's GitHub App client, on this site's repository: +// it signs the App's JWT (RS256, with the PKCS#1 key GitHub issues), finds +// the installation of the repository's owner, takes an installation token +// (refreshed when GitHub answers 401) and reads the repository's issues. +// Without the App's settings it calls GitHub for nothing and answers the +// sample issues. + +const ENV = ["GITHUB_APP_ID", "GITHUB_APP_PK_PEM", "GITHUB_WEBHOOK_SECRET"] as const; +const saved: Record = {}; +beforeEach(() => { + for (const k of ENV) { + saved[k] = process.env[k]; + delete process.env[k]; + } + vi.resetModules(); // lib/github keeps its installation token in module scope +}); +afterEach(() => { + for (const k of ENV) { + if (saved[k] === undefined) delete process.env[k]; + else process.env[k] = saved[k]; + } + vi.unstubAllGlobals(); +}); + +function connect() { + process.env.GITHUB_APP_ID = APP_ID; + process.env.GITHUB_APP_PK_PEM = KEYS.privateKey; +} +const github = () => import("@app/lib/github"); +// next/navigation's notFound() throws an error Next turns into the 404 page. +const isNotFound = (e: unknown) => String((e as { digest?: string }).digest ?? "").includes("404"); + +describe("unconnected (no App ID or no private key)", () => { + it("answers the sample issues and calls GitHub for nothing", async () => { + const fetch = vi.fn(); + vi.stubGlobal("fetch", fetch); + const { fetchIssueAndRepoData } = await github(); + const data = await fetchIssueAndRepoData(); + expect(data.connected).toBe(false); + expect(data.issues).toEqual(SAMPLE_ISSUES); + expect(data.stargazers_count).toBe(0); + expect(fetch).not.toHaveBeenCalled(); + }); + + it("answers each sample issue's page, and the 404 page for any other", async () => { + vi.stubGlobal("fetch", vi.fn()); + const { fetchIssuePageData } = await github(); + for (const sample of SAMPLE_ISSUES) { + const page = await fetchIssuePageData(String(sample.number)); + expect(page.connected).toBe(false); + expect(page.issue).toEqual(sample); + expect(page.comments).toEqual(SAMPLE_COMMENTS[sample.number] ?? []); + } + await expect(fetchIssuePageData("999")).rejects.toSatisfy(isNotFound); + }); + + it("is still unconnected with only one of the two settings", async () => { + process.env.GITHUB_APP_ID = APP_ID; + const fetch = vi.fn(); + vi.stubGlobal("fetch", fetch); + const { fetchIssueAndRepoData } = await github(); + expect((await fetchIssueAndRepoData()).connected).toBe(false); + expect(fetch).not.toHaveBeenCalled(); + }); +}); + +describe("the GitHub App's JWT and installation token", () => { + it("signs an RS256 JWT with the App's PKCS#1 key, issued by the App ID, valid for ten minutes", async () => { + connect(); + const gh = fakeGitHub({ owner: OWNER, repository: REPOSITORY }); + vi.stubGlobal("fetch", gh.fetch); + const { setAccessToken } = await github(); + const before = Math.floor(Date.now() / 1000); + expect(await setAccessToken()).toBe(TOKEN); + const call = gh.calls.find((c) => c.path === "/app/installations"); + const jwt = readJwt(call!.authorization)!; + expect(jwt.valid).toBe(true); + expect(jwt.header.alg).toBe("RS256"); + expect(String(jwt.payload.iss)).toBe(APP_ID); + expect(jwt.payload.iat).toBeGreaterThanOrEqual(before - 61); + expect(jwt.payload.iat).toBeLessThanOrEqual(before - 59); + expect(jwt.payload.exp - jwt.payload.iat).toBe(660); + }); + + it("takes the token of the installation on the repository's owner, whatever its case", async () => { + connect(); + const gh = fakeGitHub({ + owner: OWNER, + repository: REPOSITORY, + installations: [ + { id: 7, account: { login: "someone-else" } }, + { id: 42, account: { login: OWNER.toUpperCase() } }, + ], + }); + vi.stubGlobal("fetch", gh.fetch); + const { setAccessToken } = await github(); + expect(await setAccessToken()).toBe(TOKEN); + expect(gh.calls.map((c) => `${c.method} ${c.path}`)).toEqual([ + "GET /app/installations", + "POST /app/installations/42/access_tokens", + ]); + }); + + it("says plainly when the App is not installed on the repository's owner", async () => { + connect(); + const gh = fakeGitHub({ owner: OWNER, repository: REPOSITORY, installations: [{ id: 7, account: { login: "someone-else" } }] }); + vi.stubGlobal("fetch", gh.fetch); + const { setAccessToken } = await github(); + await expect(setAccessToken()).rejects.toThrow(new RegExp(`no installation for ${OWNER}.*${REPOSITORY}`)); + }); + + it("refuses to sign without the App's settings", async () => { + vi.stubGlobal("fetch", fakeGitHub({ owner: OWNER, repository: REPOSITORY }).fetch); + const { setAccessToken } = await github(); + await expect(setAccessToken()).rejects.toThrow(/GITHUB_APP_ID and GITHUB_APP_PK_PEM must be set/); + }); +}); + +describe("connected: the repository's issues", () => { + it("lists the repository's issues and counts, refreshing the token on GitHub's 401", async () => { + connect(); + const gh = fakeGitHub({ + owner: OWNER, + repository: REPOSITORY, + issues: [issue(2, "Second"), issue(1, "First")], + stars: 1234, + forks: 56, + }); + vi.stubGlobal("fetch", gh.fetch); + const { fetchIssueAndRepoData } = await github(); + const data = await fetchIssueAndRepoData(); + expect(data.connected).toBe(true); + expect(data.issues.map((i: { title: string }) => i.title)).toEqual(["Second", "First"]); + expect(data.stargazers_count).toBe(1234); + expect(data.forks_count).toBe(56); + // The template's first reads carry no token yet: GitHub answers 401, the + // client signs in as the App and retries with the installation token. + expect(gh.calls.filter((c) => c.path === `/repos/${REPOSITORY}/issues`).map((c) => c.authorization)).toEqual([ + "Bearer undefined", + `Bearer ${TOKEN}`, + ]); + // …and keeps that token for the next read. + const before = gh.calls.length; + await fetchIssueAndRepoData(); + expect(gh.calls.slice(before).every((c) => c.authorization === `Bearer ${TOKEN}`)).toBe(true); + }); + + it("reads one issue with its comments, and a missing one is the 404 page", async () => { + connect(); + const gh = fakeGitHub({ + owner: OWNER, + repository: REPOSITORY, + issues: [issue(3, "Third", "Body")], + comments: { 3: [{ id: 9, html_url: "", created_at: "2026-11-02T00:00:00Z", body: "A comment", user: { login: "hubot" } }] }, + }); + vi.stubGlobal("fetch", gh.fetch); + const { fetchIssuePageData } = await github(); + const page = await fetchIssuePageData("3"); + expect(page.connected).toBe(true); + expect(page.issue.title).toBe("Third"); + expect(page.comments.map((c: { body: string }) => c.body)).toEqual(["A comment"]); + await expect(fetchIssuePageData("4")).rejects.toSatisfy(isNotFound); + }); + + it("reads only this site's repository", async () => { + connect(); + const gh = fakeGitHub({ owner: OWNER, repository: REPOSITORY, issues: [issue(1, "One")] }); + vi.stubGlobal("fetch", gh.fetch); + const { fetchIssueAndRepoData, fetchIssuePageData } = await github(); + await fetchIssueAndRepoData(); + await fetchIssuePageData("1"); + const repos = gh.calls.map((c) => c.path).filter((p) => p.startsWith("/repos/")); + expect(repos.length).toBeGreaterThan(0); + for (const p of repos) expect(p.startsWith(`/repos/${REPOSITORY}`)).toBe(true); + }); +}); diff --git a/tests/web/src/pages.test.tsx b/tests/web/src/pages.test.tsx new file mode 100644 index 0000000..65bae46 --- /dev/null +++ b/tests/web/src/pages.test.tsx @@ -0,0 +1,152 @@ +import { readFileSync } from "node:fs"; +import { resolve } from "node:path"; +import { renderToString } from "react-dom/server"; +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { OWNER, REPO, REPOSITORY, SITE_NAME, SOURCE_URL } from "@app/app/site"; +import { SAMPLE_ISSUES } from "@app/lib/sample"; +import { APP_ID, KEYS, fakeGitHub, issue } from "./fake-github"; + +// The template's pages, rendered as the Worker renders them: `/` lists the +// repository's issues under the template's explanation, `/[id]` shows one +// with its comments as highlighted Markdown. Before an App is connected both +// render the sample issues under a notice that says how to connect one. + +// next/image needs the build's image config; the pages' avatars render as a +// plain here. +vi.mock("next/image", () => ({ + default: ({ src, alt }: { src: string | { src: string }; alt: string }) => ( + {alt} + ), +})); + +const ENV = ["GITHUB_APP_ID", "GITHUB_APP_PK_PEM"] as const; +const saved: Record = {}; +beforeEach(() => { + for (const k of ENV) { + saved[k] = process.env[k]; + delete process.env[k]; + } + vi.resetModules(); +}); +afterEach(() => { + for (const k of ENV) { + if (saved[k] === undefined) delete process.env[k]; + else process.env[k] = saved[k]; + } + vi.unstubAllGlobals(); +}); + +// The text of the rendered HTML, entities decoded and React's text +// separators removed, for comparing words. +const text = (html: string) => + html + .replace(//g, "") + .replace(/<[^>]+>/g, " ") + .replace(/'/g, "'") + .replace(/"/g, '"') + .replace(/&/g, "&") + .replace(/</g, "<") + .replace(/>/g, ">") + .replace(/\s+/g, " "); + +async function home() { + const { default: Page } = await import("@app/app/page"); + return renderToString(await Page()); +} +async function issuePage(id: string) { + const { default: IssuePage } = await import("@app/app/[id]/page"); + const { default: IssueLayout } = await import("@app/app/[id]/layout"); + const params = Promise.resolve({ id }); + return renderToString(await IssueLayout({ params, children: await IssuePage({ params }) })); +} + +describe("unconnected", () => { + it("/ lists the sample issues under the connect notice, on this site's repository", async () => { + vi.stubGlobal("fetch", vi.fn()); + const html = await home(); + const t = text(html); + for (const sample of SAMPLE_ISSUES) expect(t).toContain(sample.title); + expect(html).toContain('data-notice="connect-github-app"'); + expect(t).toContain(`to list the issues of ${REPOSITORY} here`); + expect(html).toContain(`href="${SOURCE_URL}#connecting-a-github-app"`); + expect(t).toContain(`${OWNER} / ${REPO}`); + expect(html).toContain(`href="${SOURCE_URL}/fork"`); + for (const sample of SAMPLE_ISSUES) expect(html).toContain(`href="/${sample.number}"`); + }); + + it("/[id] renders a sample issue's Markdown, code highlighted, with its comment", async () => { + vi.stubGlobal("fetch", vi.fn()); + const html = await issuePage("2"); + expect(html).toContain('data-notice="connect-github-app"'); + expect(html).toMatch(/[\s\S]* { + function connect(issues = [issue(2, "Second & last", "Fixed in `main`"), issue(1, "First")]) { + process.env.GITHUB_APP_ID = APP_ID; + process.env.GITHUB_APP_PK_PEM = KEYS.privateKey; + const gh = fakeGitHub({ + owner: OWNER, + repository: REPOSITORY, + issues, + stars: 1234, + forks: 56, + comments: { + 2: [ + { id: 1, html_url: "", created_at: "2026-11-02T00:00:00Z", body: "Looks **good**", user: { login: "octocat" } }, + { id: 2, html_url: "", created_at: "2026-11-02T00:00:00Z", body: "Deployed", user: { login: "vercel[bot]" } }, + ], + }, + }); + vi.stubGlobal("fetch", gh.fetch); + return gh; + } + + it("/ lists the repository's issues, its stars and forks, and no notice", async () => { + connect(); + const html = await home(); + const t = text(html); + expect(t).toContain("Second & last"); + expect(t).toContain("#2 opened by octocat"); + expect(t).toContain("1,234"); + expect(t).toContain("56"); + expect(html).not.toContain("data-notice"); + for (const sample of SAMPLE_ISSUES) expect(t).not.toContain(sample.title); + }); + + it("/[id] renders the issue and its comments, leaving out bots' (as the template does)", async () => { + connect(); + const html = await issuePage("2"); + const t = text(html); + expect(t).toContain("Fixed in main"); + expect(html).toContain("good"); + expect(t).not.toContain("Deployed"); + expect(html).toContain('src="https://avatars.githubusercontent.com/u/583231"'); + expect(html).not.toContain("data-notice"); + }); +}); + +describe("the template's frame", () => { + it("titles the page with the site's name", async () => { + const { metadata } = await import("@app/app/layout"); + expect(metadata.title).toBe(SITE_NAME); + }); + + it("explains on-demand ISR on this site's repository, with no Vercel hosting claims", async () => { + const { default: Explanation } = await import("@app/app/explanation"); + const html = renderToString(); + expect(html).toContain(`href="${SOURCE_URL}"`); + expect(html).toContain(`href="${SOURCE_URL}/issues/new"`); + expect(text(html)).toContain(`${REPO} ` + "` repo change"); + expect(html).not.toMatch(/Vercel|Serverless Function/); + expect(html).toContain("revalidatePath()"); + }); + + it("keeps the template's stylesheet, compiled with sass", () => { + const scss = readFileSync(resolve(__dirname, "../../../apps/web/styles/Home.module.scss"), "utf8"); + expect(scss).toContain(".issue_title"); + }); +}); diff --git a/tests/web/src/server-only.ts b/tests/web/src/server-only.ts new file mode 100644 index 0000000..d9ff5d7 --- /dev/null +++ b/tests/web/src/server-only.ts @@ -0,0 +1,4 @@ +// `server-only` throws when imported outside a React Server Components build; +// the tests import the app's server modules directly, so it is this no-op +// (vitest.config.ts aliases it). +export {}; diff --git a/tests/web/src/settings.test.ts b/tests/web/src/settings.test.ts new file mode 100644 index 0000000..d7fee28 --- /dev/null +++ b/tests/web/src/settings.test.ts @@ -0,0 +1,74 @@ +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; + +// lib/settings.ts: the GitHub App's three settings are read on every call, +// from the Worker's env while a request is being served and from the process +// otherwise (next build, next dev, these tests); the App counts as connected +// only with both its ID and its private key. + +const ENV = ["GITHUB_APP_ID", "GITHUB_APP_PK_PEM", "GITHUB_WEBHOOK_SECRET"] as const; +// Where @opennextjs/cloudflare's getCloudflareContext() finds the Worker's +// context while a request is being served. +const CONTEXT = Symbol.for("__cloudflare-context__"); +const saved: Record = {}; + +beforeEach(() => { + for (const k of ENV) { + saved[k] = process.env[k]; + delete process.env[k]; + } + vi.resetModules(); +}); +afterEach(() => { + for (const k of ENV) { + if (saved[k] === undefined) delete process.env[k]; + else process.env[k] = saved[k]; + } + delete (globalThis as Record)[CONTEXT]; +}); + +const settings = () => import("@app/lib/settings"); + +describe("setting()", () => { + it("is empty when nothing is set", async () => { + const { setting, isConnected } = await settings(); + for (const k of ENV) expect(setting(k)).toBe(""); + expect(isConnected()).toBe(false); + }); + + it("reads the process outside a Worker request", async () => { + process.env.GITHUB_WEBHOOK_SECRET = "from-process"; + const { setting } = await settings(); + expect(setting("GITHUB_WEBHOOK_SECRET")).toBe("from-process"); + }); + + it("prefers the Worker's env during a request, read on every call", async () => { + process.env.GITHUB_APP_ID = "from-process"; + const { setting } = await settings(); + const env: Record = { GITHUB_APP_ID: "from-worker" }; + (globalThis as Record)[CONTEXT] = { env, ctx: {}, cf: {} }; + expect(setting("GITHUB_APP_ID")).toBe("from-worker"); + env.GITHUB_APP_ID = "rotated"; + expect(setting("GITHUB_APP_ID")).toBe("rotated"); + delete env.GITHUB_APP_ID; + expect(setting("GITHUB_APP_ID")).toBe("from-process"); + }); +}); + +describe("isConnected()", () => { + it("needs both the App ID and its private key", async () => { + const { isConnected } = await settings(); + process.env.GITHUB_APP_ID = "12345"; + expect(isConnected()).toBe(false); + process.env.GITHUB_APP_PK_PEM = "-----BEGIN RSA PRIVATE KEY-----"; + expect(isConnected()).toBe(true); + delete process.env.GITHUB_APP_ID; + expect(isConnected()).toBe(false); + }); + + it("does not need the webhook secret (reading is not revalidating)", async () => { + const { isConnected } = await settings(); + process.env.GITHUB_APP_ID = "12345"; + process.env.GITHUB_APP_PK_PEM = "-----BEGIN RSA PRIVATE KEY-----"; + expect(isConnected()).toBe(true); + }); +}); diff --git a/tests/web/src/site.test.ts b/tests/web/src/site.test.ts new file mode 100644 index 0000000..75dcfcd --- /dev/null +++ b/tests/web/src/site.test.ts @@ -0,0 +1,34 @@ +import { readFileSync } from "node:fs"; +import { resolve } from "node:path"; +import { describe, expect, it } from "vitest"; +import { OWNER, REPO, REPOSITORY, SITE_NAME, SOURCE_URL } from "@app/app/site"; + +// The identity seam a product's bootstrap rewrites (app/site.ts): one literal +// line each. SITE_NAME is the page title; SOURCE_URL is the repository the +// page lists the issues of, and every link to it. +const app = resolve(__dirname, "../../../apps/web"); + +describe("site identity (apps/web/app/site.ts)", () => { + it("names the site and its own repository", () => { + expect(SITE_NAME.trim()).not.toBe(""); + expect(SOURCE_URL).toMatch(/^https:\/\/github\.com\/[A-Za-z0-9-]+\/[a-z0-9-]+$/); + }); + + it("derives owner/name from SOURCE_URL", () => { + expect(REPOSITORY).toBe(`${OWNER}/${REPO}`); + expect(`https://github.com/${REPOSITORY}`).toBe(SOURCE_URL); + }); + + it("keeps both on a literal line of their own", () => { + const src = readFileSync(resolve(app, "app/site.ts"), "utf8"); + expect(src).toMatch(/^export const SITE_NAME = "[^"\n]+";$/m); + expect(src).toMatch(/^export const SOURCE_URL = "https:\/\/github\.com\/[^"\n]+";$/m); + }); + + it("is the only repository the app names (the template hard-coded the nextjs organisation's)", () => { + for (const f of ["app/page.tsx", "app/[id]/layout.tsx", "app/explanation.tsx", "lib/github.ts"]) { + const src = readFileSync(resolve(app, f), "utf8"); + expect(src, f).not.toMatch(/github\.com\/nextjs|\/repos\/nextjs|'nextjs'/); + } + }); +}); diff --git a/tests/web/src/webhook.test.ts b/tests/web/src/webhook.test.ts new file mode 100644 index 0000000..b3ef762 --- /dev/null +++ b/tests/web/src/webhook.test.ts @@ -0,0 +1,115 @@ +import { createHmac } from "node:crypto"; +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; + +// app/api/webhook, the template's door for GitHub's webhook: a delivery whose +// x-hub-signature-256 is the HMAC-SHA256 of its raw body under +// GITHUB_WEBHOOK_SECRET drops `/` and the issue's own page from the cache +// (revalidatePath); any other is refused (400) and drops nothing. With no +// secret configured the template keyed its HMAC with '' — anyone could sign +// — so here the door is shut (503) until the secret is set. + +const { revalidatePath } = vi.hoisted(() => ({ revalidatePath: vi.fn() })); +vi.mock("next/cache", () => ({ revalidatePath })); + +const SECRET = "the-webhook-secret"; +const CONTEXT = Symbol.for("__cloudflare-context__"); +const saved = process.env.GITHUB_WEBHOOK_SECRET; + +beforeEach(() => { + revalidatePath.mockReset(); + process.env.GITHUB_WEBHOOK_SECRET = SECRET; +}); +afterEach(() => { + if (saved === undefined) delete process.env.GITHUB_WEBHOOK_SECRET; + else process.env.GITHUB_WEBHOOK_SECRET = saved; + delete (globalThis as Record)[CONTEXT]; +}); + +const sign = (body: string, secret = SECRET) => `sha256=${createHmac("sha256", secret).update(body).digest("hex")}`; + +async function deliver(body: string, signature?: string) { + const { POST } = await import("@app/app/api/webhook/route"); + const headers = new Headers({ "content-type": "application/json", "x-github-event": "issues" }); + if (signature !== undefined) headers.set("x-hub-signature-256", signature); + const res = await POST(new Request("https://on-demand-isr-web-stage.example.workers.dev/api/webhook", { method: "POST", headers, body })); + return { status: res.status, text: await res.text() }; +} + +const opened = JSON.stringify({ action: "opened", issue: { number: 7, title: "New" } }); + +describe("POST /api/webhook", () => { + it("revalidates / and the issue's page for a correctly signed delivery", async () => { + expect(await deliver(opened, sign(opened))).toEqual({ status: 200, text: "Success!" }); + expect(revalidatePath.mock.calls).toEqual([["/"], ["/7"]]); + }); + + it("revalidates only / for a signed delivery that names no issue (GitHub's ping)", async () => { + const ping = JSON.stringify({ zen: "Keep it logically awesome.", hook_id: 1 }); + expect((await deliver(ping, sign(ping))).status).toBe(200); + expect(revalidatePath.mock.calls).toEqual([["/"]]); + }); + + it("refuses a delivery signed with another secret, and drops nothing", async () => { + expect(await deliver(opened, sign(opened, "not-the-secret"))).toEqual({ status: 400, text: "Invalid signature." }); + expect(revalidatePath).not.toHaveBeenCalled(); + }); + + it("refuses a body changed after signing", async () => { + const tampered = opened.replace('"number":7', '"number":8'); + expect((await deliver(tampered, sign(opened))).status).toBe(400); + expect(revalidatePath).not.toHaveBeenCalled(); + }); + + it("refuses a missing or malformed signature", async () => { + for (const signature of [undefined, "", "sha256=", "sha1=abc", sign(opened).slice(0, -2)]) { + const { status } = await deliver(opened, signature); + expect(status, String(signature)).toBe(400); + } + expect(revalidatePath).not.toHaveBeenCalled(); + }); + + it("refuses a signed body that is not JSON", async () => { + expect((await deliver("not json", sign("not json"))).status).toBe(400); + expect(revalidatePath).not.toHaveBeenCalled(); + }); + + it("is shut (503) while no secret is configured, whatever is sent — even an HMAC under ''", async () => { + delete process.env.GITHUB_WEBHOOK_SECRET; + for (const signature of [undefined, sign(opened, ""), sign(opened)]) { + const { status, text } = await deliver(opened, signature); + expect(status).toBe(503); + expect(text).toMatch(/GITHUB_WEBHOOK_SECRET/); + } + expect(revalidatePath).not.toHaveBeenCalled(); + }); + + it("reads the secret from the Worker's env during a request", async () => { + delete process.env.GITHUB_WEBHOOK_SECRET; + (globalThis as Record)[CONTEXT] = { env: { GITHUB_WEBHOOK_SECRET: "worker-secret" }, ctx: {}, cf: {} }; + expect((await deliver(opened, sign(opened, "worker-secret"))).status).toBe(200); + expect((await deliver(opened, sign(opened))).status).toBe(400); + }); +}); + +describe("GET /api/health", () => { + it("answers ok, and whether the App is connected, uncached", async () => { + const { GET } = await import("@app/app/api/health/route"); + const saved2 = { id: process.env.GITHUB_APP_ID, pk: process.env.GITHUB_APP_PK_PEM }; + try { + delete process.env.GITHUB_APP_ID; + delete process.env.GITHUB_APP_PK_PEM; + let res = GET(); + expect(res.headers.get("cache-control")).toBe("no-store"); + expect(await res.json()).toEqual({ ok: true, connected: false }); + process.env.GITHUB_APP_ID = "1"; + process.env.GITHUB_APP_PK_PEM = "pem"; + res = GET(); + expect(await res.json()).toEqual({ ok: true, connected: true }); + } finally { + if (saved2.id === undefined) delete process.env.GITHUB_APP_ID; + else process.env.GITHUB_APP_ID = saved2.id; + if (saved2.pk === undefined) delete process.env.GITHUB_APP_PK_PEM; + else process.env.GITHUB_APP_PK_PEM = saved2.pk; + } + }); +}); diff --git a/tests/web/tsconfig.json b/tests/web/tsconfig.json new file mode 100644 index 0000000..970a095 --- /dev/null +++ b/tests/web/tsconfig.json @@ -0,0 +1,27 @@ +{ + // The app's own compiler options (apps/web/tsconfig.json), because these + // tests import its sources and tsc checks every file it reaches under the + // importing project's options; only the paths, the JSX mode and the files + // differ. + "extends": "../../apps/web/tsconfig.json", + "compilerOptions": { + "noEmit": true, + "incremental": false, + "jsx": "react-jsx", + "types": ["node"], + "paths": { + "@app/*": ["../../apps/web/*"] + }, + "plugins": [] + }, + // The Worker's environment and the stylesheet and image modules are ambient + // declarations: the app's own, and Next.js's (for *.module.scss, *.png). + "include": [ + "src/**/*.ts", + "src/**/*.tsx", + "../../apps/web/cloudflare-env.d.ts", + "../../apps/web/node_modules/next/types/global.d.ts", + "../../apps/web/node_modules/next/image-types/global.d.ts" + ], + "exclude": ["node_modules"] +} diff --git a/tests/web/vitest.config.ts b/tests/web/vitest.config.ts new file mode 100644 index 0000000..a4a7080 --- /dev/null +++ b/tests/web/vitest.config.ts @@ -0,0 +1,24 @@ +import { defineConfig } from "vitest/config"; +import * as path from "node:path"; + +// The tests import the app's own modules by path (../../apps/web/…). Three +// things the app's build provides are stood in for here: `server-only`, which +// throws outside a React Server Components build, is a no-op; the pages' JSX +// is compiled with React's automatic runtime (the app's tsconfig preserves it +// for Next.js); and the stylesheets are not processed (CSS-module class names +// read as undefined, which no test asserts on). +const app = path.resolve(__dirname, "../../apps/web"); + +export default defineConfig({ + resolve: { + alias: [ + { find: /^server-only$/, replacement: path.resolve(__dirname, "src/server-only.ts") }, + { find: /^@app\//, replacement: `${app}/` }, + ], + }, + esbuild: { jsx: "automatic" }, + test: { + include: ["src/**/*.test.ts", "src/**/*.test.tsx"], + environment: "node", + }, +}); diff --git a/tooling/catalog/gen-component-docs.py b/tooling/catalog/gen-component-docs.py new file mode 100644 index 0000000..743782b --- /dev/null +++ b/tooling/catalog/gen-component-docs.py @@ -0,0 +1,550 @@ +#!/usr/bin/env python3 +"""Generate each component's docs (overview / architecture / runbook). + + python3 tooling/catalog/gen-component-docs.py # write + python3 tooling/catalog/gen-component-docs.py --check # fail on drift (CI) + +Every `component.yaml` attaches its `docs/` folder in `spec.docs` (overview, +architecture, runbook), which is what the Orun workspace's Docs library shows +and what the catalog's docs and runbook checks read; a folder nothing declares +is never attached (testing/coverage.test.sh holds the rule). These pages are +generated, not hand-written, because almost +everything in them is already declared somewhere CI validates: the component's +manifest (type, description, dependencies, environments, the secrets a lane +resolves, the smoke), its Worker config (bindings, triggers, the wiring the +deploy fills in), its Terraform (resources and outputs), its migrations and its +package scripts. A hand-written copy of those facts drifts the first time one +changes; a generated one cannot, because `--check` fails the pull request that +changes the fact without the page. + +What is NOT derivable (why a component exists, what a failure means for this +product in particular) belongs in the component's `description` and in the +product's own docs, not here. + +The pages ship with the component into every product built from this tree, so +they say nothing about where they came from: no factory paths, no generator +path, no provenance. Zero dependencies beyond PyYAML. +""" + +from __future__ import annotations + +import json +import pathlib +import re +import sys + +try: + import yaml +except ImportError: # pragma: no cover - the contract job installs it + sys.exit("gen-component-docs needs PyYAML (pip install pyyaml)") + +ROOT = pathlib.Path(__file__).resolve().parents[2] +ROOTS = ("apps", "packages", "infra", "tests") +SKIP_DIRS = {"node_modules", "dist", ".turbo", "docs", ".next", ".open-next", + ".wrangler", ".svelte-kit", ".nuxt", ".output", ".astro", "coverage"} + +# Paths a shipped page must never name: products are not placed with them. +FACTORY = re.compile( + r"repo-blueprint|BOOTSTRAP\.md|(? str: + """JSONC → JSON: drop comments outside strings, then trailing commas.""" + out, i, n, in_str = [], 0, len(text), False + while i < n: + c = text[i] + if in_str: + out.append(c) + if c == "\\" and i + 1 < n: + out.append(text[i + 1]) + i += 2 + continue + if c == '"': + in_str = False + i += 1 + continue + if c == '"': + in_str = True + out.append(c) + i += 1 + elif text.startswith("//", i): + j = text.find("\n", i) + i = n if j < 0 else j + elif text.startswith("/*", i): + j = text.find("*/", i + 2) + i = n if j < 0 else j + 2 + else: + out.append(c) + i += 1 + return re.sub(r",(\s*[}\]])", r"\1", "".join(out)) + + +def read_json(path: pathlib.Path) -> dict | None: + try: + return json.loads(strip_jsonc(path.read_text(encoding="utf-8"))) + except (OSError, ValueError): + return None + + +def rel(p: pathlib.Path) -> str: + return p.relative_to(ROOT).as_posix() + + +def discover() -> list[dict]: + found = [] + for root in ROOTS: + base = ROOT / root + if not base.is_dir(): + continue + stack = [base] + while stack: + d = stack.pop() + for entry in sorted(d.iterdir()): + if entry.is_dir(): + if entry.name in SKIP_DIRS or entry.name.startswith("."): + continue + if (entry / "main.tf").exists() and not (entry / "component.yaml").exists(): + continue + if len(entry.relative_to(base).parts) <= 3: + stack.append(entry) + elif entry.name == "component.yaml": + found.append(read_component(entry)) + comps = [c for c in found if c["name"] and c["type"]] + return sorted(comps, key=lambda c: c["name"]) + + +def read_component(file: pathlib.Path) -> dict: + doc = yaml.safe_load(file.read_text(encoding="utf-8")) or {} + meta, spec = doc.get("metadata") or {}, doc.get("spec") or {} + params = spec.get("parameters") or {} + deps = [d.get("component") for d in (spec.get("dependsOn") or []) if isinstance(d, dict)] + envs = [] + # Secrets may be declared for the whole component or per environment + # (`subscribe.environments[].secretEnv`); a page lists both. + req_env = set((spec.get("secretEnv") or {}).keys()) + opt_env = set((spec.get("optionalSecretEnv") or {}).keys()) + for e in ((spec.get("subscribe") or {}).get("environments") or []): + req_env |= set((e.get("secretEnv") or {}).keys()) + opt_env |= set((e.get("optionalSecretEnv") or {}).keys()) + rules = [(r.get("profile"), ((r.get("when") or {}).get("triggerRef"))) + for r in (e.get("profileRules") or [])] + envs.append({"name": e.get("name"), "profile": e.get("profile"), "rules": rules}) + return { + "dir": file.parent, + "path": rel(file.parent), + "name": meta.get("name"), + "description": (meta.get("description") or "").strip(), + "type": spec.get("type"), + "deps": [d for d in deps if d], + "secret_env": sorted(req_env), + "optional_env": sorted(opt_env - req_env), + "envs": envs, + "params": params, + "migrations_path": spec.get("path") if spec.get("type") == "db-migrate" else None, + } + + +def package_of(c: dict) -> dict | None: + return read_json(c["dir"] / "package.json") + + +def worker_config(c: dict) -> tuple[str | None, dict | None]: + """The config a deploy uses: the template when wiring renders one.""" + names = ["wrangler.template.jsonc", c["params"].get("wranglerConfig") or "", + "wrangler.jsonc", "wrangler.json"] + for name in names: + if name and (c["dir"] / name).is_file(): + return name, read_json(c["dir"] / name) + return None, None + + +WIRING = re.compile(r"@@wiring\(([^/)]+)/__ENV__:([^)]+)\)@@") + + +def wired(value) -> str | None: + m = WIRING.search(str(value)) if value is not None else None + return f"`{m.group(2)}` from `{m.group(1)}`" if m else None + + +def bindings(cfg: dict) -> list[tuple[str, str, str]]: + rows = [] + for kv in cfg.get("kv_namespaces") or []: + rows.append((kv.get("binding"), "Workers KV namespace", wired(kv.get("id")) or "declared in the config")) + for b in cfg.get("r2_buckets") or []: + rows.append((b.get("binding"), "R2 bucket", wired(b.get("bucket_name")) or f"`{b.get('bucket_name')}`")) + for d in cfg.get("d1_databases") or []: + rows.append((d.get("binding"), "D1 database", wired(d.get("database_id")) or "declared in the config")) + for h in cfg.get("hyperdrive") or []: + rows.append((h.get("binding"), "Hyperdrive (pooled Postgres)", wired(h.get("id")) or "declared in the config")) + if isinstance(cfg.get("ai"), dict) and cfg["ai"].get("binding"): + rows.append((cfg["ai"]["binding"], "Workers AI", "account-level; no resource to provision")) + for d in ((cfg.get("durable_objects") or {}).get("bindings") or []): + rows.append((d.get("name"), "Durable Object", f"class `{d.get('class_name')}`")) + for s in cfg.get("services") or []: + rows.append((s.get("binding"), "Service binding", f"Worker `{s.get('service')}`")) + for q in ((cfg.get("queues") or {}).get("producers") or []): + rows.append((q.get("binding"), "Queue producer", f"queue `{q.get('queue')}`")) + for r in cfg.get("ratelimits") or []: + simple = r.get("simple") or {} + rows.append((r.get("name"), "Rate limiter", + f"{simple.get('limit')} requests / {simple.get('period')}s per location")) + assets = cfg.get("assets") or {} + if assets.get("binding"): + rows.append((assets["binding"], "Static assets", f"`{assets.get('directory')}`")) + return [r for r in rows if r[0]] + + +def tf_facts(c: dict) -> dict: + tf_dir = c["dir"] / (c["params"].get("terraformDir") or "terraform") + resources, outputs, variables, backend = [], [], [], None + for f in sorted(tf_dir.glob("*.tf")) if tf_dir.is_dir() else []: + text = f.read_text(encoding="utf-8") + resources += [f"{t}.{n}" for t, n in re.findall(r'^resource\s+"([^"]+)"\s+"([^"]+)"', text, re.M)] + outputs += re.findall(r'^output\s+"([^"]+)"', text, re.M) + variables += re.findall(r'^variable\s+"([^"]+)"', text, re.M) + m = re.search(r'backend\s+"([^"]+)"', text) + backend = backend or (m.group(1) if m else None) + imports = (tf_dir / "adopt.tf").is_file() if tf_dir.is_dir() else False + return {"dir": rel(tf_dir) if tf_dir.is_dir() else None, "resources": resources, + "outputs": outputs, "variables": variables, "backend": backend, "adopt": imports} + + +def published(c: dict) -> list[tuple[str, str]]: + spec = c["params"].get("secretOutputs") or "" + pairs = [] + for part in str(spec).split(","): + if "=" in part: + k, v = part.split("=", 1) + pairs.append((k.strip(), v.strip())) + return pairs + + +def test_files(c: dict) -> list[str]: + out = [] + for p in sorted(c["dir"].rglob("*")): + if any(part in SKIP_DIRS for part in p.relative_to(c["dir"]).parts): + continue + if p.is_file() and re.search(r"\.(test|spec)\.(ts|tsx|js|mjs|cjs)$", p.name): + out.append(p.name) + return out + + +def migrations(c: dict) -> list[str]: + path = c["migrations_path"] + if not path: + return [] + d = ROOT / path + if not d.is_dir(): + return [] + return sorted(p.name for p in d.iterdir() if p.is_dir() or p.suffix == ".sql") + + +# ── markdown ───────────────────────────────────────────────────────────── + +def md_table(header: list[str], rows: list[list[str]]) -> list[str]: + """A table laid out the way prettier lays it out, so a repo whose lint is + `prettier --check` accepts the page as written.""" + cols = len(header) + width = [max(3, len(header[i]), *(len(r[i]) for r in rows)) for i in range(cols)] + def line(cells): + return "| " + " | ".join(c.ljust(width[i]) for i, c in enumerate(cells)) + " |" + return [line(header), "| " + " | ".join("-" * w for w in width) + " |", *(line(r) for r in rows)] + + +# ── phrasing ───────────────────────────────────────────────────────────── + +KIND = { + "cloudflare-worker-turbo": "A Cloudflare Worker, deployed per environment by its CI lane.", + "cloudflare-workers-assets-turbo": "A Cloudflare Worker with Static Assets (server rendering plus " + "static files), deployed per environment by its CI lane.", + "terraform": "Terraform-managed infrastructure, planned and applied per environment by its CI lane.", + "db-migrate": "Applies this repository's ordered database migrations per environment: " + "plan on pull requests, apply on merge to `main`.", + "turbo-package": "A workspace package built by the turbo pipeline. It deploys nothing itself: " + "its lane type-checks, lints, tests and builds it.", +} + +TRIGGER = {"github-push-main": "a push to `main`", "github-pull-request": "a pull request"} + + +def env_line(e: dict) -> str: + s = f"`{e['name']}`: `{e['profile']}`" + for profile, ref in e["rules"]: + s += f", `{profile}` on {TRIGGER.get(ref, f'`{ref}`')}" + return s + + +def is_tests(c: dict) -> bool: + return c["name"].endswith("-tests") or c["path"].startswith("tests/") + + +def subject_of(c: dict, by_name: dict) -> str | None: + if c["name"].endswith("-tests"): + s = c["name"][: -len("-tests")] + return s if s in by_name else None + return None + + +def names_list(c: dict, keep) -> list[str]: + """Secret names a lane resolves, required first; an optional one (from + `optionalSecretEnv`) is resolved when it exists and skipped when not.""" + req = [f"- `{k}`" for k in c["secret_env"] if keep(k)] + opt = [f"- `{k}` (optional)" for k in c["optional_env"] if keep(k)] + return req + opt + + +def bullet_list(names: list[str], by_name: dict) -> list[str]: + if not names: + return ["- (none)"] + out = [] + for n in names: + d = by_name.get(n) + out.append(f"- **{n}** — {d['description']}" if d and d["description"] else f"- **{n}**") + return out + + +# ── pages ──────────────────────────────────────────────────────────────── + +def overview(c: dict, by_name: dict, dependents: list[str]) -> str: + pkg = package_of(c) + kind = KIND.get(c["type"], f"A `{c['type']}` component.") + subject = subject_of(c, by_name) + if is_tests(c): + kind = (f"The test suite for **{subject}**. " if subject else "A test suite. ") + \ + "It deploys nothing: its lane installs, builds and runs the tests." + lines = [f"# {c['name']}", ""] + if c["description"]: + lines += [c["description"], ""] + facts = [["Type", f"`{c['type']}`"], ["Source", f"`{c['path']}`"]] + if pkg and pkg.get("name"): + facts.append(["Package", f"`{pkg['name']}`"]) + if c["envs"]: + facts.append(["Environments", " · ".join(env_line(e) for e in c["envs"])]) + lines += [kind, "", *md_table(["", ""], facts)] + lines += ["", "## Depends on", "", *bullet_list(c["deps"], by_name), + "", "## Depended on by", "", *bullet_list(dependents, by_name), ""] + return "\n".join(lines) + + +def architecture(c: dict, by_name: dict) -> str: + lines = [f"# {c['name']} — architecture", ""] + t = c["type"] + + if t == "terraform": + f = tf_facts(c) + lines += [f"A `terraform` root at `{f['dir'] or c['path']}`.", ""] + if f["backend"] == "http": + lines += ["- **State** lives in the Orun Cloud HTTP state backend — no local state and", + " no state bucket to manage."] + lines += ["- **Credentials are brokered per run** from the workspace's provider", + " connections and resolved by name; none is stored in this repository."] + if f["adopt"]: + lines += ["- **Adoption** (`adopt.tf`): when state is empty but the resource already", + " exists, plan-time import adopts it instead of failing."] + lines.append("") + if f["resources"]: + lines += ["## Resources", "", *[f"- `{r}`" for r in f["resources"]], ""] + pub = published(c) + if pub: + lines += ["## Published outputs", "", + "Written as job-output secrets on each environment after an apply; deploy", + "lanes downstream resolve them by name.", "", + *md_table(["Secret", "Terraform output"], [[f"`{k}`", f"`{v}`"] for k, v in pub]), ""] + elif f["outputs"]: + lines += ["## Outputs", "", *[f"- `{o}`" for o in f["outputs"]], ""] + if c["secret_env"] or c["optional_env"]: + lines += ["## Resolved at run time (names only)", "", *names_list(c, lambda k: True), ""] + return "\n".join(lines) + + if t == "db-migrate": + migs = migrations(c) + lines += [f"Applies the migrations under `{c['migrations_path']}` in order, recording each one", + "it applies so a run only ever applies what is new. An already-applied migration", + "is never edited: a change is a new, later migration.", ""] + if migs: + lines += ["## Migrations", "", *[f"- `{m}`" for m in migs], ""] + if c["secret_env"] or c["optional_env"]: + lines += ["## Resolved at run time (names only)", "", *names_list(c, lambda k: True), ""] + return "\n".join(lines) + + pkg = package_of(c) + if t.startswith("cloudflare-"): + cfg_name, cfg = worker_config(c) + lines += [f"Built by the turbo pipeline from `{c['path']}` and deployed with wrangler.", ""] + if cfg: + facts = [["Worker config", f"`{c['path']}/{cfg_name}`"]] + if cfg.get("main"): + facts.append(["Entry", f"`{cfg['main']}`"]) + if cfg.get("compatibility_date"): + facts.append(["Compatibility date", f"`{cfg['compatibility_date']}`"]) + if cfg.get("compatibility_flags"): + facts.append(["Compatibility flags", ", ".join(f"`{x}`" for x in cfg["compatibility_flags"])]) + lines += [*md_table(["", ""], facts), ""] + rows = bindings(cfg) + lines += ["## Bindings", ""] + if rows: + lines += [*md_table(["Binding", "Kind", "Source"], [[f"`{b}`", k, s] for b, k, s in rows]), ""] + if any("from `" in s for _, _, s in rows): + lines += ["Identifiers marked _from_ a component are filled in at deploy time from", + "that component's published outputs for the environment being deployed.", ""] + else: + lines += ["None: the Worker binds no storage or service.", ""] + crons = (cfg.get("triggers") or {}).get("crons") or [] + if crons: + lines += ["## Scheduled triggers", "", *[f"- `{x}`" for x in crons], ""] + env_names = sorted((cfg.get("env") or {}).keys()) + var_names = sorted((cfg.get("vars") or {}).keys()) + if var_names: + lines += ["## Variables", "", ", ".join(f"`{v}`" for v in var_names) + + (f" — overridden per environment ({', '.join(f'`{e}`' for e in env_names)})." + if env_names else "."), ""] + wiring = names_list(c, lambda k: k.startswith("WIRING_")) + others = names_list(c, lambda k: not k.startswith("WIRING_")) + if wiring: + lines += ["## Wiring", "", + "Resolved at deploy time from secrets the infrastructure lanes publish (names only):", + "", *wiring, ""] + if others: + lines += ["## Secrets resolved by the lane (names only)", "", *others, ""] + return "\n".join(lines) + + # turbo-package + if is_tests(c): + files = test_files(c) + lines += [f"A test package at `{c['path']}`. Its lane runs the suite before it builds.", ""] + if files: + lines += [f"## Suites ({len(files)})", "", *[f"- `{f}`" for f in files], ""] + return "\n".join(lines) + lines += [f"A workspace package at `{c['path']}`, consumed by the components that depend", + "on it. It has no deployed surface of its own.", ""] + if pkg and pkg.get("exports"): + ex = pkg["exports"] + keys = sorted(ex.keys()) if isinstance(ex, dict) else ["."] + lines += ["## Exports", "", *[f"- `{k}`" for k in keys], ""] + return "\n".join(lines) + + +def runbook(c: dict, by_name: dict) -> str: + t = c["type"] + pkg = package_of(c) + lines = [f"# {c['name']} — runbook", "", "## How it runs", ""] + deploys = [e["name"] for e in c["envs"] + if any(ref == "github-push-main" for _, ref in e["rules"])] + if deploys and t in ("terraform", "db-migrate"): + lines += [f"Pull requests plan it; a merge to `main` applies it to " + f"{', '.join(f'`{e}`' for e in deploys)}."] + elif deploys: + lines += [f"Pull requests verify it; a merge to `main` deploys it to " + f"{', '.join(f'`{e}`' for e in deploys)}."] + else: + lines += ["Its lane runs on every pull request that changes it; it has no deployed surface."] + lines += ["CI plans what changed (`orun plan --changed`) and runs each lane with `orun run`;", + "the plan orders a component after everything it depends on.", ""] + + if pkg and pkg.get("scripts"): + name = pkg.get("name") + wanted = [s for s in ("dev", "build", "test", "typecheck", "lint", "preview") if s in pkg["scripts"]] + if name and wanted: + lines += ["## Local commands", "", "```bash", + *[f"pnpm --filter {name} {s}" for s in wanted], "```", ""] + + smoke = c["params"].get("smokeCommand") + if smoke and "No smoke" not in str(smoke): + lines += ["## Verify", "", "After a deploy the lane runs this smoke against the environment it", + "deployed (`ORUN_ENVIRONMENT`); `DEPLOYED_URL` overrides the URL:", "", + "```bash", str(smoke).strip(), "```", ""] + + lines += ["## Rollback", "", + "Revert the commit on `main`. The next convergence applies the previous desired", + "state; nothing was changed out of band, so there is nothing else to undo.", "", + "## Common failures", ""] + if t == "terraform": + lines += ["- **Provider authentication fails**: the workspace's provider connection is", + " missing or revoked. Reconnect it in the console; credentials are brokered", + " from it per run.", + "- **\"Already exists\" on a first apply**: state is empty but the resource is", + " not." + (" `adopt.tf` imports it at plan time; if it still fails, the resource" + " was renamed outside Terraform." if tf_facts(c)["adopt"] else + " Import it, or delete the stray resource, then re-run."), ""] + elif t == "db-migrate": + lines += ["- **An applied migration's file changed**: the run stops rather than guess.", + " Restore the file and write the change as a new migration.", + "- **The database is unreachable**: the infrastructure lane it depends on has", + " not applied for this environment; that lane runs first in a convergence.", ""] + elif t.startswith("cloudflare-"): + _, cfg = worker_config(c) + takes_wiring = any(k.startswith("WIRING_") for k in c["secret_env"] + c["optional_env"]) or \ + bool(cfg and WIRING.search(json.dumps(cfg))) + if takes_wiring: + lines += ["- **A `WIRING_*` secret is missing at deploy**: an infrastructure lane upstream", + " has not applied for this environment yet. Within one convergence the plan", + " runs it first; on its own, re-run that lane."] + lines += ["- **The smoke fails right after a first deploy**: a new workers.dev route can", + " answer 4xx for a few seconds and the lane retries. A failure that persists", + " is a regression in the deployed code.", ""] + else: + lines += ["- **A dependent fails to build after a change here**: run `pnpm typecheck`", + " across the workspace before merging.", ""] + return "\n".join(lines) + + +# ── main ───────────────────────────────────────────────────────────────── + +def main() -> int: + check = "--check" in sys.argv[1:] + comps = discover() + if not comps: + print("no component.yaml found", file=sys.stderr) + return 1 + by_name = {c["name"]: c for c in comps} + dependents: dict[str, list[str]] = {c["name"]: [] for c in comps} + for c in comps: + for d in c["deps"]: + dependents.setdefault(d, []).append(c["name"]) + + drifted, written, leaks = [], 0, [] + for c in comps: + pages = { + "overview.md": overview(c, by_name, sorted(dependents.get(c["name"], []))), + "architecture.md": architecture(c, by_name), + "runbook.md": runbook(c, by_name), + } + for fname, body in pages.items(): + target = c["dir"] / "docs" / fname + for n, line in enumerate(body.splitlines(), 1): + m = FACTORY.search(line) + if m: + leaks.append(f"{rel(target)}:{n} would name {m.group(0)!r}") + current = target.read_text(encoding="utf-8") if target.exists() else None + if current == body: + continue + if check: + drifted.append(rel(target)) + continue + target.parent.mkdir(parents=True, exist_ok=True) + target.write_text(body, encoding="utf-8") + written += 1 + + if leaks: + print("✗ a generated page would name a path products do not have:", file=sys.stderr) + for l in leaks: + print(f" {l}", file=sys.stderr) + return 1 + if check: + if drifted: + print(f"✗ {len(drifted)} component doc(s) differ from what the manifests say:", file=sys.stderr) + for f in drifted: + print(f" {f}", file=sys.stderr) + print("\nRun: python3 tooling/catalog/gen-component-docs.py", file=sys.stderr) + return 1 + print(f"✓ component docs match {len(comps)} component.yaml file(s)") + return 0 + print(f"✓ wrote {written} page(s) for {len(comps)} component(s)") + return 0 + + +if __name__ == "__main__": + sys.exit(main())