diff --git a/README.md b/README.md index 02e21da..2003c61 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,111 @@ # cms-drupal -[Drupal Marketing Site](https://github.com/chapter-three/next-drupal/tree/main/examples/example-marketing) 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 [Drupal Marketing Site](https://vercel.com/templates/next.js/drupal-nextjs-marketing-site) +— next-drupal's [`example-marketing`](https://github.com/chapter-three/next-drupal/tree/main/examples/example-marketing): +a Next.js marketing site read from a headless Drupal over JSON:API, with +landing pages built from Drupal paragraphs (hero, feature, cards, FAQ, a +view), a blog two to a page, a properties listing with a filterable view, +Drupal's menus, English and Spanish, on-demand revalidation when an editor +saves and Drupal's preview links for drafts — running on **Cloudflare +Workers + Static Assets** through +[`@opennextjs/cloudflare`](https://opennext.js.org/cloudflare), with every +rendered page in an **R2 bucket** provisioned by Terraform through +[Orun](https://github.com/sourceplane/orun), 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 (DR2). + +A fresh build needs no Drupal site: until its owner connects one, every page +renders from a bundled sample Drupal (the template's own content model: +landing pages from paragraphs, articles, a basic page, twelve property +listings, two menus, both languages) under a "No Drupal site is connected" +notice — never a 500. The owner connects Drupal by setting its URL (and the +OAuth client preview reads drafts with, and the revalidation secret) as Orun +secrets and redeploying. The Worker is about 1.3 MiB gzipped, inside Workers +Free's 3 MiB. See [`specs/epics/cms-drupal`](specs/epics/cms-drupal/README.md) +for the design, the milestones and the as-built status. + +## What is here (the product) + +| Surface | Where | +|---|---| +| The pages: one catch-all route Drupal's decoupled router resolves (`/`, `/about`, `/properties`, every article, `/es/…`), the blog listing, and the routes Drupal calls — `/api/revalidate`, `/api/preview`, `/api/exit-preview` — plus `/api/health` | `apps/web/pages` | +| The site's name | `apps/web/site.ts` (`SITE_NAME`) | +| The Drupal client, and what it reads before a Drupal site is connected | `apps/web/lib/drupal.ts`, `apps/web/lib/sample-drupal.mjs` (served to the browser's properties search by `pages/api/sample-drupal`) | +| The template's components (paragraphs, nodes, the properties view, menus, the locale switcher) | `apps/web/components` | +| Workers build, cache binding 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 OAuth client and the revalidation secret on the Worker | `tooling/wire` | +| Tests | `tests/web` (the sample Drupal through next-drupal itself, a connected Drupal over HTTP — `fake-drupal.mjs`, the stand-in the e2e also runs — the two routes Drupal calls, the name seam, the multi-site filter) | + +## 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:3001, Next's dev server +pnpm --filter @app/web preview # wrangler dev over the built Worker and a local R2 bucket +``` + +With no `DRUPAL_BASE_URL` both serve the sample Drupal. To run against a +Drupal site, put its settings in `apps/web/.env.local` (from +`apps/web/.env.example`). Offline, the stand-in Drupal the tests use answers +the site's calls with the same sample content over HTTP, plus OAuth, preview +validation and drafts: +`node tests/web/fake-drupal.mjs --port 4040 --client c --client-secret s --preview-secret p`, +then `DRUPAL_BASE_URL=http://127.0.0.1:4040` for the build and +`DRUPAL_CLIENT_ID=c DRUPAL_CLIENT_SECRET=s DRUPAL_REVALIDATE_SECRET=r` in +`apps/web/.dev.vars`. + +## How it maps to Vercel + +| Vercel | Here | +|---|---| +| Next.js hosting (Pages Router SSG, API routes, i18n routing) | One Cloudflare Worker (`.open-next/worker.js`) + Static Assets (`ASSETS`) | +| `getStaticPaths` with `fallback: "blocking"` | The same: every path Drupal lists is pre-rendered at build; a path Drupal adds later renders on its first visit and is kept | +| ISR cache | The R2 bucket bound as `NEXT_INC_CACHE_R2_BUCKET`, keyed by build | +| `res.revalidate(path)` in `/api/revalidate` | The same route; OpenNext sends Next's self-request through the Worker's `WORKER_SELF_REFERENCE` service binding (a Worker cannot fetch its own workers.dev hostname) | +| Preview mode (`drupal.preview`, `setPreviewData`) | The same, unchanged: Drupal's `next` module validates the link's secret and the draft is read with the OAuth client's token | +| Image Optimization | Off (`images.unoptimized`): images come from Drupal's files | +| `NEXT_PUBLIC_DRUPAL_BASE_URL`, `DRUPAL_SITE_ID` | Orun secrets `DRUPAL_BASE_URL` and `DRUPAL_SITE_ID` (optional build env) — and, with no URL, the bundled sample Drupal instead of a build that cannot fetch | +| `DRUPAL_CLIENT_ID`, `DRUPAL_CLIENT_SECRET`, `DRUPAL_REVALIDATE_SECRET` | Orun secrets each deploy puts on the Worker; the build never sees them. Without the client preview cannot read drafts; without the secret `/api/revalidate` refuses every call | +| `NEXT_PUBLIC_BASE_URL` | Each environment's `SITE_URL`, else its workers.dev URL, set by the build as `NEXT_PUBLIC_SITE_URL` | +| 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 | + +The port moved the Next 12-era template to Next 16.3.8 (React 19, next-drupal +2.0.1, TanStack Query 5, the current `next/link` and `next/image`); the epic's +[IMPLEMENTATION-STATUS](specs/epics/cms-drupal/IMPLEMENTATION-STATUS.md) lists +every departure. + +## 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 → opennextjs-cloudflare + → tooling/wire/worker-secrets.mjs puts DRUPAL_CLIENT_ID, DRUPAL_CLIENT_SECRET, + DRUPAL_REVALIDATE_SECRET on the Worker + deploy: workers-deploy token → -web-, bound to its bucket and to itself +``` + +`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..594e1b2 --- /dev/null +++ b/apps/web/.env.example @@ -0,0 +1,16 @@ +# Local settings for `pnpm dev` (copy to .env.local) — a deployed site reads +# these from the environment's Orun secrets instead (component.yaml). +# +# The Drupal site (with the next, decoupled_router, jsonapi_menu_items, +# jsonapi_views and simple_oauth modules — README → Connecting Drupal). +# Left empty, the site renders the bundled sample content. +DRUPAL_BASE_URL="" +# The template's multi-site filter (field_site); empty for a Drupal without it. +DRUPAL_SITE_ID="" +DRUPAL_FRONT_PAGE="/home" +# The OAuth client preview reads drafts with (Drupal's Consumer). +DRUPAL_CLIENT_ID="" +DRUPAL_CLIENT_SECRET="" +# The `?secret=` /api/revalidate requires; empty turns revalidation off. +DRUPAL_REVALIDATE_SECRET="" +NEXT_PUBLIC_SITE_URL="http://localhost:3001" 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 b/apps/web/LICENSE new file mode 100644 index 0000000..4851528 --- /dev/null +++ b/apps/web/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Chapter Three + +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..d549497 --- /dev/null +++ b/apps/web/README.md @@ -0,0 +1,44 @@ +# apps/web + +Vercel's Drupal Marketing Site — next-drupal's `example-marketing` (MIT, +`LICENSE`) — on Next.js 16's Pages Router: pages built in Drupal and read +with next-drupal over JSON:API, pre-rendered and kept in R2, re-rendered on +Drupal's call, drafts in preview. Built by `@opennextjs/cloudflare` into one +Worker with Static Assets. + +- `pages/[[...slug]].tsx` — every path Drupal's decoupled router resolves + (landing pages, basic pages, articles; `/` is Drupal's `/home`), in English + and under `/es` +- `pages/blog/page/[page].tsx` — the blog, two articles a page (`/blog` is page 0) +- `pages/api/revalidate.ts`, `preview.ts`, `exit-preview.ts` — the routes + Drupal calls; `pages/api/health.ts`; `pages/api/sample-drupal/` — the sample + Drupal for the browser's properties search +- `site.ts` — the site's name +- `lib/drupal.ts` — the next-drupal client; `lib/sample-drupal.mjs` — what it + reads before a Drupal is connected; `lib/get-params.ts` — what each content + type includes; `lib/get-menus.ts` +- `components/` — the template's paragraphs, nodes, media, the properties + view, the navbar, footer and locale switcher +- `public/sample/` — the sample's photos (Payload's, MIT, `LICENSE.md`) + +```bash +pnpm dev # next dev on http://localhost:3001 +pnpm build # next build --webpack + opennextjs-cloudflare build → .open-next/ +pnpm preview # wrangler dev over the built Worker and a local R2 bucket +``` + +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`). + +## Drupal + +| `DRUPAL_BASE_URL` | pages | revalidation and preview | +| ----------------- | ----- | ------------------------ | +| unset (a fresh deploy) | the bundled sample Drupal, under a "No Drupal site is connected" notice | `/api/preview` 401; `/api/revalidate` 401 until its secret is set | +| set (read by the build) | Drupal's, pre-rendered and kept in R2 | `/api/revalidate` re-renders a path with `DRUPAL_REVALIDATE_SECRET`; preview reads drafts with `DRUPAL_CLIENT_ID` / `DRUPAL_CLIENT_SECRET` | + +Connecting Drupal is one Orun secret and a redeploy, and revalidation and +preview three more — the repository's README, "Connecting Drupal". diff --git a/apps/web/component.yaml b/apps/web/component.yaml new file mode 100644 index 0000000..b4ddcef --- /dev/null +++ b/apps/web/component.yaml @@ -0,0 +1,127 @@ +apiVersion: sourceplane.io/v1 +kind: Component +metadata: + name: web + description: The Drupal marketing site (Next.js Pages Router on Cloudflare Workers + Static Assets via @opennextjs/cloudflare, per environment; R2 as the Next.js cache, refreshed on demand by Drupal; sample content until a Drupal site 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). + dependsOn: + - component: cloudflare-r2 + mode: enforced + modeRules: + - mode: advisory + when: + triggerRef: github-pull-request + secretEnv: + WIRING_CLOUDFLARE_R2_STAGE: "secret://cms-drupal/cms-drupal/stage/WIRING_CLOUDFLARE_R2" + WIRING_CLOUDFLARE_R2_PROD: "secret://cms-drupal/cms-drupal/prod/WIRING_CLOUDFLARE_R2" + # The Drupal site, connected after the build by its owner, per environment: + # its URL (DRUPAL_BASE_URL) and, for the template's multi-site Drupal, the + # site id. The build inlines both (next.config.ts `env`) and pre-renders + # every page Drupal lists, so connecting Drupal is a redeploy; without a URL + # — every fresh product — the site renders its bundled sample content + # (lib/sample-drupal.mjs). DRUPAL_CLIENT_ID / DRUPAL_CLIENT_SECRET (the + # OAuth client preview reads drafts with) and DRUPAL_REVALIDATE_SECRET (the + # `?secret=` /api/revalidate checks) never reach the build: the deploy hands + # them to the Worker as secrets (buildCommand below; the README's + # "Connecting Drupal"). + optionalSecretEnv: + DRUPAL_BASE_URL: "secret://cms-drupal/cms-drupal/{{ .environment }}/DRUPAL_BASE_URL" + DRUPAL_SITE_ID: "secret://cms-drupal/cms-drupal/{{ .environment }}/DRUPAL_SITE_ID" + DRUPAL_CLIENT_ID: "secret://cms-drupal/cms-drupal/{{ .environment }}/DRUPAL_CLIENT_ID" + DRUPAL_CLIENT_SECRET: "secret://cms-drupal/cms-drupal/{{ .environment }}/DRUPAL_CLIENT_SECRET" + DRUPAL_REVALIDATE_SECRET: "secret://cms-drupal/cms-drupal/{{ .environment }}/DRUPAL_REVALIDATE_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 + 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: cms-drupal-web-{dev,stage,prod}. The rendered + # wrangler.jsonc names the same Worker (its self-reference binding needs it). + workerName: cms-drupal-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 + # build is for this environment's origin: NEXT_PUBLIC_SITE_URL (the + # canonical and Open Graph links' origin) is the environment's SITE_URL + # (intent.yaml), else its workers.dev URL. + # The OAuth client and the revalidation secret never reach the build + # (`env -u`), so no bundle carries them; 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 && NEXT_PUBLIC_SITE_URL="${SITE_URL:-https://cms-drupal-web-${ORUN_ENVIRONMENT}.your-workers-subdomain.workers.dev}" env -u DRUPAL_CLIENT_ID -u DRUPAL_CLIENT_SECRET -u DRUPAL_REVALIDATE_SECRET pnpm exec turbo run build --filter=@app/web && node ../../tooling/wire/worker-secrets.mjs --secret DRUPAL_CLIENT_ID --secret DRUPAL_CLIENT_SECRET --secret DRUPAL_REVALIDATE_SECRET --worker "cms-drupal-web-${ORUN_ENVIRONMENT}" --config wrangler.jsonc + + # Smoke: the home page renders the site's menu (from the sample Drupal + # before one is connected, from Drupal after); the Worker itself answers + # /api/health, which no static file can; and /api/revalidate refuses a + # call without the secret (401), whether or not one is set. Read-only: it + # revalidates nothing. Not the site's name: that is the owner's to change, + # and HTML-escaped when it carries an `&` or `'`. Each response is + # buffered before grep so an early match cannot SIGPIPE curl. + smokeCommand: "html=$(curl -sfL \"${DEPLOYED_URL}/\") && echo \"${html}\" | grep -q 'data-cy=\"navbar-menu\"' && health=$(curl -sf \"${DEPLOYED_URL}/api/health\") && echo \"${health}\" | grep -q '\"ok\":true' && test \"$(curl -s -o /dev/null -w '%{http_code}' \"${DEPLOYED_URL}/api/revalidate?path=/\")\" = 401" + labels: + team: platform + layer: delivery + surface: web + runtime: cloudflare diff --git a/apps/web/components/footer.tsx b/apps/web/components/footer.tsx new file mode 100644 index 0000000..921e2e9 --- /dev/null +++ b/apps/web/components/footer.tsx @@ -0,0 +1,31 @@ +import Link from "next/link" +import { DrupalMenuLinkContent } from "next-drupal" + +import { SITE_NAME } from "site" + +interface FooterProps { + links: DrupalMenuLinkContent[] +} + +export function Footer({ links }: FooterProps) { + return ( +
+
+
+

+ © {new Date().getFullYear()} {SITE_NAME} +

+ {links?.length ? ( +
    + {links.map((link) => ( +
  • + {link.title} +
  • + ))} +
+ ) : null} +
+
+
+ ) +} diff --git a/apps/web/components/form-item.tsx b/apps/web/components/form-item.tsx new file mode 100644 index 0000000..06fdd98 --- /dev/null +++ b/apps/web/components/form-item.tsx @@ -0,0 +1,16 @@ +interface FormItemProps { + label: string + name: string + children?: React.ReactNode +} + +export function FormItem({ label, name, children, ...props }: FormItemProps) { + return ( +
+ + {children} +
+ ) +} diff --git a/apps/web/components/formatted-text.tsx b/apps/web/components/formatted-text.tsx new file mode 100644 index 0000000..b3ff1e7 --- /dev/null +++ b/apps/web/components/formatted-text.tsx @@ -0,0 +1,65 @@ +import Image from "next/image" +import parse, { + DOMNode, + Element, + HTMLReactParserOptions, + domToReact, +} from "html-react-parser" + +import { absoluteURL } from "lib/utils/absolute-url" +import { isRelative } from "lib/utils/is-relative" +import Link from "next/link" + +const options: HTMLReactParserOptions = { + replace: (domNode) => { + if (domNode instanceof Element) { + if (domNode.name === "img") { + const { src, alt = "", width = "100", height = "100" } = domNode.attribs + + if (isRelative(src)) { + return ( + {alt} + ) + } + } + + if (domNode.name === "a") { + const { href, class: className } = domNode.attribs + + if (href && isRelative(href)) { + return ( + {domToReact(domNode.children as DOMNode[], options)} + ) + } + } + + if (domNode.name === "input") { + if (domNode.attribs.value === "") { + delete domNode.attribs.value + } + + return domNode + } + } + }, +} + +interface FormattedTextProps extends React.HTMLAttributes { + format?: string + processed: string + value?: string +} + +export function FormattedText({ processed, ...props }: FormattedTextProps) { + return ( +
+ {parse(processed, options)} +
+ ) +} diff --git a/apps/web/components/layout.tsx b/apps/web/components/layout.tsx new file mode 100644 index 0000000..a7f416d --- /dev/null +++ b/apps/web/components/layout.tsx @@ -0,0 +1,33 @@ +import * as React from "react" +import { DrupalMenuLinkContent } from "next-drupal" + +import { Navbar } from "components/navbar" +import { Footer } from "components/footer" +import { connected } from "lib/drupal" + +export interface LayoutProps { + menus: { + main: DrupalMenuLinkContent[] + footer: DrupalMenuLinkContent[] + } + children?: React.ReactNode +} + +export function Layout({ menus, children }: LayoutProps) { + return ( +
+ {connected ? null : ( +

+ No Drupal site is connected: this is sample content. Connect one with + DRUPAL_BASE_URL (README → Connecting Drupal). +

+ )} + +
{children}
+
+
+ ) +} diff --git a/apps/web/components/link.tsx b/apps/web/components/link.tsx new file mode 100644 index 0000000..080c95c --- /dev/null +++ b/apps/web/components/link.tsx @@ -0,0 +1,38 @@ +import * as React from "react" +import NextLink from "next/link" +import type { LinkProps as NextLinkProps } from "next/link" +import { useRouter } from "next/router" + +import { isRelative } from "lib/utils/is-relative" + +interface LinkProps extends NextLinkProps { + href: string + children?: React.ReactElement<{ href?: string }> +} + +export function Link({ href, passHref, as, children, ...props }: LinkProps) { + const router = useRouter() + + if (!href) { + return null + } + + // Use Next Link for internal links, and for others. + if (isRelative(href)) { + // Disable prefetching in preview mode. + // We do this here inside of inline `prefetch={!router.isPreview}` + // because `prefetch={true}` is not allowed. + // See https://nextjs.org/docs/messages/prefetch-true-deprecated + const linkProps = router.isPreview ? { prefetch: false, ...props } : props + + return ( + + {children} + + ) + } + + return React.cloneElement(children, { + href, + }) +} diff --git a/apps/web/components/links.tsx b/apps/web/components/links.tsx new file mode 100644 index 0000000..80e0c31 --- /dev/null +++ b/apps/web/components/links.tsx @@ -0,0 +1,31 @@ +import classNames from "classnames" +import Link from "next/link" + +export interface LinksProps { + links: { + title: string + uri: string + options?: [] + }[] +} + +export function Links({ links }: LinksProps) { + if (!links.length) return null + + return ( +
+ {links.map((link, index) => ( + + {link.title} + + ))} +
+ ) +} diff --git a/apps/web/components/locale-switcher.tsx b/apps/web/components/locale-switcher.tsx new file mode 100644 index 0000000..1c7a704 --- /dev/null +++ b/apps/web/components/locale-switcher.tsx @@ -0,0 +1,23 @@ +import classNames from "classnames" +import Link from "next/link" +import { useRouter } from "next/router" + +export function LocaleSwitcher() { + const { locales, asPath, locale: currentLocale } = useRouter() + + return ( +
+ {locales.map((locale) => ( + + {locale} + + ))} +
+ ) +} diff --git a/apps/web/components/media--image.tsx b/apps/web/components/media--image.tsx new file mode 100644 index 0000000..eb5a1be --- /dev/null +++ b/apps/web/components/media--image.tsx @@ -0,0 +1,35 @@ +import Image, { ImageProps } from "next/image" + +import { absoluteURL } from "lib/utils/absolute-url" +import { MediaProps } from "components/media" + +interface MediaImageProps extends MediaProps, Partial> { + objectFit?: React.CSSProperties["objectFit"] +} + +export function MediaImage({ + media, + objectFit, + width, + height, + ...props +}: MediaImageProps) { + const image = media?.field_media_image + + if (!image) { + return null + } + + return ( + {image.resourceIdObjMeta.alt + ) +} diff --git a/apps/web/components/media.tsx b/apps/web/components/media.tsx new file mode 100644 index 0000000..71c324d --- /dev/null +++ b/apps/web/components/media.tsx @@ -0,0 +1,25 @@ +import { DrupalMedia } from "next-drupal" + +import { MediaImage } from "components/media--image" + +const mediaTypes = { + "media--image": MediaImage, +} + +export interface MediaProps { + media: DrupalMedia +} + +export function Media({ media, ...props }: MediaProps) { + if (!media) { + return null + } + + const Component = mediaTypes[media.type] + + if (!Component) { + return null + } + + return +} diff --git a/apps/web/components/meta.tsx b/apps/web/components/meta.tsx new file mode 100644 index 0000000..9186e27 --- /dev/null +++ b/apps/web/components/meta.tsx @@ -0,0 +1,62 @@ +import type * as React from "react" +import Head from "next/head" +import { useRouter } from "next/router" +import { DrupalMetatag } from "types/drupal" +import { SITE_NAME } from "site" + +interface MetaProps { + title?: string + path?: string + tags?: DrupalMetatag[] +} + +export function Meta({ title, tags }: MetaProps) { + const router = useRouter() + + return ( + + + {tags?.length ? ( + tags.map((tag, index) => { + if (tag.attributes.rel === "canonical") { + return null + } + + if (tag.attributes.name === "title") { + return ( + {tag.attributes.content} + ) + } + const Tag = tag.tag as keyof React.JSX.IntrinsicElements + return + }) + ) : ( + <> + {`${title} | ${SITE_NAME}`} + + + + + + )} + + ) +} diff --git a/apps/web/components/navbar.tsx b/apps/web/components/navbar.tsx new file mode 100644 index 0000000..7a3bff0 --- /dev/null +++ b/apps/web/components/navbar.tsx @@ -0,0 +1,61 @@ +import React from "react" +import { useRouter } from "next/router" +import { DrupalMenuLinkContent } from "next-drupal" +import classNames from "classnames" + +import { LocaleSwitcher } from "components/locale-switcher" +import Link from "next/link" +import { SITE_NAME } from "site" + +interface NavbarProps { + links: DrupalMenuLinkContent[] +} + +export function Navbar({ links, ...props }: NavbarProps) { + const { locale } = useRouter() + + return ( +
+
+ {SITE_NAME} + {links ? : null} +
+ +
+
+
+ ) +} + +function Menu({ items }: { items: DrupalMenuLinkContent[] }) { + return ( +
    + {items.map((item) => ( + + ))} +
+ ) +} + +function MenuLink({ link }: { link: DrupalMenuLinkContent }) { + const { asPath } = useRouter() + + return ( +
  • + + {link.title} + +
  • + ) +} diff --git a/apps/web/components/node--article.tsx b/apps/web/components/node--article.tsx new file mode 100644 index 0000000..3ebfde2 --- /dev/null +++ b/apps/web/components/node--article.tsx @@ -0,0 +1,104 @@ +import Link from "next/link" +import Image from "next/image" + +import { formatDate } from "lib/utils/format-date" +import { absoluteURL } from "lib/utils/absolute-url" +import { FormattedText } from "components/formatted-text" +import { NodeProps } from "components/node" + +export function NodeArticle({ node, viewMode, ...props }: NodeProps) { + if (viewMode === "teaser") { + return + } + + if (viewMode === "full") { + return + } + + return null +} + +export function NodeArticleFull({ node, ...props }) { + return ( +
    +
    +

    + {node.title} +

    +
    +
    + {node.uid?.field_name ? ( + + Posted by {node.uid?.field_name} + + ) : null} + - {formatDate(node.created)} +
    + {node.body?.summary ?

    {node.body.summary}

    : null} + {node.field_image?.uri && ( + {node.field_image.resourceIdObjMeta?.alt + )} + {node.body?.processed && ( + + )} +
    +
    +
    + ) +} + +export function NodeArticleTeaser({ node, ...props }) { + return ( +
    + {node.field_image?.uri && ( +
    + {node.field_image.resourceIdObjMeta?.alt +
    + )} +

    + {node.title} +

    +
    + {node.uid?.field_name ? ( + + Posted by {node.uid?.field_name} + + ) : null} + - {formatDate(node.created)} +
    + {node.body?.summary ? ( +

    + {node.body.summary} +

    + ) : null} + + Read more + + + + +
    + ) +} diff --git a/apps/web/components/node--landing-page.tsx b/apps/web/components/node--landing-page.tsx new file mode 100644 index 0000000..ed368d0 --- /dev/null +++ b/apps/web/components/node--landing-page.tsx @@ -0,0 +1,20 @@ +import { DrupalNode } from "next-drupal" + +import { Paragraph } from "components/paragraph" + +interface NodeLandingPage { + node: DrupalNode + viewMode?: string +} + +export function NodeLandingPage({ node }: NodeLandingPage) { + if (!node.field_sections?.length) return null + + return node.field_sections.map((paragraph) => { + if (paragraph.type === "paragraph--from_library") { + paragraph = paragraph.field_reusable_paragraph.paragraphs + } + + return + }) +} diff --git a/apps/web/components/node--page.tsx b/apps/web/components/node--page.tsx new file mode 100644 index 0000000..a928ffc --- /dev/null +++ b/apps/web/components/node--page.tsx @@ -0,0 +1,17 @@ +import { FormattedText } from "components/formatted-text" +import { NodeProps } from "components/node" + +export function NodePage({ node, ...props }: NodeProps) { + delete props.viewMode + + return ( +
    +

    + {node.title} +

    +
    + {node.body && } +
    +
    + ) +} diff --git a/apps/web/components/node--property.tsx b/apps/web/components/node--property.tsx new file mode 100644 index 0000000..a2c97cd --- /dev/null +++ b/apps/web/components/node--property.tsx @@ -0,0 +1,131 @@ +import Image from "next/image" + +import { absoluteURL } from "lib/utils/absolute-url" + +import { NodeProps } from "components/node" + +export function NodeProperty({ node, viewMode, ...props }: NodeProps) { + if (viewMode === "list") { + return + } + + return +} + +export function NodePropertyGrid({ node }) { + const thumbnail = node.field_images?.[0].field_media_image + + return ( +
    + {node.field_status ? ( +

    + {node.field_status === "rent" ? "For Rent" : "For Sale"} +

    + ) : null} + {thumbnail && ( + {thumbnail.resourceIdObjMeta?.alt + )} +
    +
    +

    {node.field_location.name}

    + {node.field_size && ( +

    + {node.field_size} + sqft +

    + )} +
    +

    {node.title}

    + {node.field_teaser && ( +

    {node.field_teaser}

    + )} +
    +
    +
    + {node.field_beds && ( +

    + {node.field_beds} + beds +

    + )} + {node.field_baths && ( +

    + {node.field_baths} + baths +

    + )} +
    +
    +
    +
    + ) +} + +export function NodePropertyList({ node }) { + const thumbnail = node.field_images?.[0].field_media_image + + return ( +
    + {node.field_status ? ( +

    + {node.field_status === "rent" ? "For Rent" : "For Sale"} +

    + ) : null} +
    + {thumbnail && ( + {thumbnail.resourceIdObjMeta?.alt + )} +
    +
    +

    {node.field_location.name}

    + {node.field_size && ( +

    + {node.field_size} + sqft +

    + )} +
    +

    {node.title}

    + {node.field_teaser && ( +

    {node.field_teaser}

    + )} +
    +
    +
    + {node.field_beds && ( +

    + {node.field_beds} + beds +

    + )} + {node.field_baths && ( +

    + {node.field_baths} + baths +

    + )} +
    +
    +
    +
    +
    + ) +} diff --git a/apps/web/components/node.tsx b/apps/web/components/node.tsx new file mode 100644 index 0000000..d7b2664 --- /dev/null +++ b/apps/web/components/node.tsx @@ -0,0 +1,32 @@ +import { DrupalNode } from "next-drupal" + +import { NodePage } from "components/node--page" +import { NodeArticle } from "components/node--article" +import { NodeLandingPage } from "components/node--landing-page" +import { NodeProperty } from "components/node--property" + +const nodeTypes = { + "node--page": NodePage, + "node--article": NodeArticle, + "node--landing_page": NodeLandingPage, + "node--property_listing": NodeProperty, +} + +export interface NodeProps { + node: DrupalNode + viewMode?: string +} + +export function Node({ node, viewMode = "full", ...props }: NodeProps) { + if (!node) { + return null + } + + const Component = nodeTypes[node.type] + + if (!Component) { + return null + } + + return +} diff --git a/apps/web/components/pager.tsx b/apps/web/components/pager.tsx new file mode 100644 index 0000000..dac34b2 --- /dev/null +++ b/apps/web/components/pager.tsx @@ -0,0 +1,74 @@ +import classNames from "classnames" + +import { usePagination, usePaginationProps } from "hooks/use-pagination" +import Link from "next/link" + +export interface PagerProps extends React.HTMLAttributes { + current: number + total: number + href: usePaginationProps["href"] +} + +export function Pager({ current, total, href, ...props }: PagerProps) { + const items = usePagination({ + current, + total, + href, + }) + + return ( + + ) +} diff --git a/apps/web/components/paragraph--cards.tsx b/apps/web/components/paragraph--cards.tsx new file mode 100644 index 0000000..4e9e712 --- /dev/null +++ b/apps/web/components/paragraph--cards.tsx @@ -0,0 +1,38 @@ +import { ParagraphProps } from "components/paragraph" +import { SectionHeader } from "components/section-header" +import { FormattedText } from "components/formatted-text" +import { Section } from "components/section" + +export function ParagraphCards({ paragraph, ...props }: ParagraphProps) { + return ( +
    + +
    + {paragraph.field_items?.length && ( +
    + {paragraph.field_items.map((card) => ( +
    +

    {card.field_heading}

    + {card.field_text?.processed && ( + + )} +
    + ))} +
    + )} +
    +
    + ) +} diff --git a/apps/web/components/paragraph--faq.tsx b/apps/web/components/paragraph--faq.tsx new file mode 100644 index 0000000..b9b1714 --- /dev/null +++ b/apps/web/components/paragraph--faq.tsx @@ -0,0 +1,41 @@ +import { ParagraphProps } from "components/paragraph" +import { Section } from "components/section" +import { SectionHeader } from "components/section-header" +import { FormattedText } from "./formatted-text" + +export function ParagraphFAQ({ paragraph, ...props }: ParagraphProps) { + return ( +
    + +
    + {paragraph.field_items && ( +
    + {paragraph.field_items.map((card) => ( +
    +

    + {card.field_heading} +

    + {card.field_text?.processed && ( + + )} +
    + ))} +
    + )} +
    +
    + ) +} diff --git a/apps/web/components/paragraph--feature.tsx b/apps/web/components/paragraph--feature.tsx new file mode 100644 index 0000000..f0e0987 --- /dev/null +++ b/apps/web/components/paragraph--feature.tsx @@ -0,0 +1,60 @@ +import Image from "next/image" +import classNames from "classnames" + +import { absoluteURL } from "lib/utils/absolute-url" +import { Links } from "components/links" +import { FormattedText } from "components/formatted-text" +import { ParagraphProps } from "components/paragraph" +import { Section } from "components/section" + +export function ParagraphFeature({ paragraph, ...props }: ParagraphProps) { + return ( +
    +
    +
    + {paragraph.field_media?.field_media_image && ( +
    + { +
    + )} +
    + {paragraph.field_heading && ( +

    + {paragraph.field_heading} +

    + )} + + {paragraph.field_link && } +
    +
    +
    +
    + ) +} diff --git a/apps/web/components/paragraph--hero.tsx b/apps/web/components/paragraph--hero.tsx new file mode 100644 index 0000000..442e933 --- /dev/null +++ b/apps/web/components/paragraph--hero.tsx @@ -0,0 +1,38 @@ +import classNames from "classnames" + +import { ParagraphProps } from "components/paragraph" +import { MediaImage } from "components/media--image" +import { SectionHeader } from "components/section-header" + +export function ParagraphHero({ paragraph, ...props }: ParagraphProps) { + return ( +
    + +
    + {paragraph.field_media && ( +
    + +
    + )} +
    +
    + ) +} diff --git a/apps/web/components/paragraph--view.tsx b/apps/web/components/paragraph--view.tsx new file mode 100644 index 0000000..df03229 --- /dev/null +++ b/apps/web/components/paragraph--view.tsx @@ -0,0 +1,9 @@ +import { ViewPropertiesListing } from "components/view--properties_listing" + +export function ParagraphView({ paragraph, ...props }) { + if (paragraph.field_view.name === "properties--listing") { + return + } + + return null +} diff --git a/apps/web/components/paragraph.tsx b/apps/web/components/paragraph.tsx new file mode 100644 index 0000000..92dd785 --- /dev/null +++ b/apps/web/components/paragraph.tsx @@ -0,0 +1,33 @@ +import { DrupalParagraph } from "next-drupal" + +import { ParagraphCards } from "components/paragraph--cards" +import { ParagraphFAQ } from "components/paragraph--faq" +import { ParagraphFeature } from "components/paragraph--feature" +import { ParagraphHero } from "components/paragraph--hero" +import { ParagraphView } from "components/paragraph--view" + +const paragraphTypes = { + "paragraph--cards": ParagraphCards, + "paragraph--faq": ParagraphFAQ, + "paragraph--feature": ParagraphFeature, + "paragraph--hero": ParagraphHero, + "paragraph--view": ParagraphView, +} + +export interface ParagraphProps { + paragraph: DrupalParagraph +} + +export function Paragraph({ paragraph, ...props }: ParagraphProps) { + if (!paragraph) { + return null + } + + const Component = paragraphTypes[paragraph.type] + + if (!Component) { + return null + } + + return +} diff --git a/apps/web/components/section-header.tsx b/apps/web/components/section-header.tsx new file mode 100644 index 0000000..8790d05 --- /dev/null +++ b/apps/web/components/section-header.tsx @@ -0,0 +1,36 @@ +import type * as React from "react" +import { LinksProps, Links } from "components/links" +import { FormattedText } from "components/formatted-text" + +interface SectionHeaderProps { + level?: number + heading: string + text: string + links?: LinksProps["links"] +} + +export function SectionHeader({ + level = 2, + heading, + text, + links, + ...props +}: SectionHeaderProps) { + const HeadingLevel = `h${level}` as keyof React.JSX.IntrinsicElements + return ( +
    + {heading && ( + + {heading} + + )} + {text && ( + + )} + {links?.length ? : null} +
    + ) +} diff --git a/apps/web/components/section.tsx b/apps/web/components/section.tsx new file mode 100644 index 0000000..17dc6c3 --- /dev/null +++ b/apps/web/components/section.tsx @@ -0,0 +1,17 @@ +import classNames from "classnames" + +interface SectionProps extends React.HTMLAttributes { + backgroundColor?: string + children?: React.ReactNode +} + +export function Section({ backgroundColor, children, ...props }: SectionProps) { + return ( +
    + {children} +
    + ) +} diff --git a/apps/web/components/view--properties_listing.tsx b/apps/web/components/view--properties_listing.tsx new file mode 100644 index 0000000..edc82e6 --- /dev/null +++ b/apps/web/components/view--properties_listing.tsx @@ -0,0 +1,293 @@ +import React from "react" +import { + keepPreviousData, + useQuery, + useQueryClient, +} from "@tanstack/react-query" +import { useForm } from "react-hook-form" +import { deserialize } from "next-drupal" +import classNames from "classnames" + +import { FormItem } from "components/form-item" +import { Section } from "components/section" +import { Node } from "components/node" + +const filters = { location: "All", status: "All", beds: "1", baths: "1" } + +async function fetchView(url, params) { + // The view's own link: Drupal's, or this site's for the sample Drupal. + const _url = new URL(url, window.location.href) + _url.search = new URLSearchParams(params).toString() + + const result = await fetch(_url.toString()) + + if (!result.ok) { + throw new Error(result.statusText) + } + + const data = await result.json() + + return { + results: deserialize(data), + meta: data.meta, + links: data.links, + } +} + +export function ViewPropertiesListing({ view: initialView, ...props }) { + const [page, setPage] = React.useState(0) + const queryClient = useQueryClient() + const [display, setDisplay] = React.useState<"grid" | "list">("grid") + const { register, handleSubmit, getValues, formState, reset } = useForm({ + defaultValues: filters, + }) + const [locations, setLocations] = React.useState([]) + const { + data: view, + isLoading, + isPlaceholderData: isPreviousData, + } = useQuery({ + queryKey: [initialView.name, page], + queryFn: async () => { + // Build params from form values. + const values = getValues() + const params = { + page: page + "", + include: "field_location,field_images.field_media_image", + } + for (const filter of Object.keys(filters)) { + if (values[filter]) { + params[`views-filter[${filter}]`] = values[filter] + } + } + + return fetchView(initialView.links.self.href.split("?")[0], params) + }, + initialData: initialView, + placeholderData: keepPreviousData, + }) + + // Build locations dropdown from view results. + React.useEffect(() => { + const allLocations: { + name: string + id: string + }[] = view.results.map((result) => ({ + name: result.field_location.name, + id: result.field_location.drupal_internal__tid, + })) + + setLocations( + Array.from(new Map(allLocations.map((item) => [item.id, item])).values()) + ) + }, []) + + async function submitForm() { + setPage(0) + await queryClient.invalidateQueries({ queryKey: [initialView.name] }) + } + + async function resetForm() { + reset() + submitForm() + } + + return ( +
    +
    +
    +
    +

    Find your place

    +
    +
    +
    +
    + + + + + + +
    + + + + + + +
    +
    +
    +
    + + +
    +
    +
    +
    + {view.results.length ? ( + <> +
    +

    + Found {view.meta?.count} properties. +

    +
    + + +
    +
    +
    + {view.results.map((node) => ( + + ))} +
    +
    +
    + + +
    + + ) : ( +

    No properties found.

    + )} +
    +
    +
    + ) +} diff --git a/apps/web/docs/architecture.md b/apps/web/docs/architecture.md new file mode 100644 index 0000000..a85cd9c --- /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` | +| `WORKER_SELF_REFERENCE` | Service binding | Worker `cms-drupal-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) + +- `DRUPAL_BASE_URL` (optional) +- `DRUPAL_CLIENT_ID` (optional) +- `DRUPAL_CLIENT_SECRET` (optional) +- `DRUPAL_REVALIDATE_SECRET` (optional) +- `DRUPAL_SITE_ID` (optional) diff --git a/apps/web/docs/overview.md b/apps/web/docs/overview.md new file mode 100644 index 0000000..5422328 --- /dev/null +++ b/apps/web/docs/overview.md @@ -0,0 +1,20 @@ +# web + +The Drupal marketing site (Next.js Pages Router on Cloudflare Workers + Static Assets via @opennextjs/cloudflare, per environment; R2 as the Next.js cache, refreshed on demand by Drupal; sample content until a Drupal site 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..76411f3 --- /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 +html=$(curl -sfL "${DEPLOYED_URL}/") && echo "${html}" | grep -q 'data-cy="navbar-menu"' && health=$(curl -sf "${DEPLOYED_URL}/api/health") && echo "${health}" | grep -q '"ok":true' && test "$(curl -s -o /dev/null -w '%{http_code}' "${DEPLOYED_URL}/api/revalidate?path=/")" = 401 +``` + +## 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..55d051a --- /dev/null +++ b/apps/web/eslint.config.mjs @@ -0,0 +1,16 @@ +// Upstream lints with `next lint` (gone in Next 16) and no config of its own; +// the port lints with the workspace's shared config. The template's +// components take untyped props and leave some parameters unread; both are +// kept as written. +import config from "../../tooling/eslint/index.js"; + +export default [ + ...config, + { + files: ["**/*.ts", "**/*.tsx"], + rules: { + "@typescript-eslint/no-unused-vars": ["error", { args: "none", caughtErrors: "none" }], + "@typescript-eslint/no-explicit-any": "off", + }, + }, +]; diff --git a/apps/web/hooks/use-pagination.tsx b/apps/web/hooks/use-pagination.tsx new file mode 100644 index 0000000..984dfc0 --- /dev/null +++ b/apps/web/hooks/use-pagination.tsx @@ -0,0 +1,83 @@ +import * as React from "react" +import { LinkProps } from "next/link" + +type PagerItemType = "page" | "previous" | "next" + +export interface PagerItem { + type: PagerItemType + page: number + display: string + href: LinkProps["href"] + isCurrent?: boolean +} + +export interface usePaginationProps { + total: number + current: number + href: (page: PagerItem["page"]) => LinkProps["href"] + show?: number +} + +export const usePagination = ({ + total, + current, + href, + show = 9, +}: usePaginationProps): PagerItem[] => { + return React.useMemo((): PagerItem[] => { + const pagerMiddle = Math.ceil(show / 2) + const pagerCurrent = current + 1 + let pagerFirst = pagerCurrent - pagerMiddle + 1 + let pagerLast = pagerCurrent + show - pagerMiddle + + show = total < show ? total : show + + // Adjust start end end based on position. + if (pagerLast > total) { + pagerFirst = pagerFirst + (total - pagerLast) + pagerLast = total + } + + if (pagerFirst <= 0) { + pagerFirst = 1 + pagerLast = pagerLast + (1 - pagerFirst) + } + + const items: PagerItem[] = [] + + if (current !== 0) { + items.push({ + type: "previous", + display: "Previous", + page: current - 1, + href: href(current - 1), + }) + } + + items.push( + ...Array.from(Array(show).keys()).map( + (pageNumber: number): PagerItem | null => { + const page = pageNumber + pagerFirst - 1 + return { + type: "page", + page, + display: `${page + 1}`, + isCurrent: page === current, + href: href(page), + } + } + ) + ) + + if (current !== total - 1) { + items.push({ + type: "next", + display: "Next", + page: current + 1, + href: href(current + 1), + }) + } + + return items + }, [total, current]) +} diff --git a/apps/web/lib/drupal.ts b/apps/web/lib/drupal.ts new file mode 100644 index 0000000..b0b1987 --- /dev/null +++ b/apps/web/lib/drupal.ts @@ -0,0 +1,37 @@ +import { DrupalClient } from "next-drupal" + +import { createSampleDrupal } from "lib/sample-drupal.mjs" + +// The Drupal site the pages read: its URL, stored per environment as the +// product's DRUPAL_BASE_URL secret and inlined by `next build` +// (next.config.ts). Unset, no Drupal is connected yet and next-drupal reads +// the bundled sample site instead (lib/sample-drupal.mjs) — same requests, +// same shapes, answered in the Worker. +export const drupalBaseUrl = process.env.NEXT_PUBLIC_DRUPAL_BASE_URL || "" +export const connected = drupalBaseUrl !== "" + +// Never contacted: with no Drupal connected every request goes to the sample +// fetcher below, which reads only the path and the query. +const SAMPLE_ORIGIN = "https://sample-drupal.invalid" +const sample = connected ? null : createSampleDrupal() + +// The OAuth client next-drupal uses for preview (a draft is only readable +// with a token): Worker secrets, read at request time. Without both, preview +// has no credentials and Drupal refuses the draft. +const clientId = process.env.DRUPAL_CLIENT_ID +const clientSecret = process.env.DRUPAL_CLIENT_SECRET + +export const drupal = new DrupalClient(connected ? drupalBaseUrl : SAMPLE_ORIGIN, { + frontPage: "/home", + ...(connected && clientId && clientSecret + ? { auth: { clientId, clientSecret } } + : {}), + ...(sample + ? { + fetcher: (input: RequestInfo | URL, init?: RequestInit) => + sample.handle(new Request(input, init), { + viewBase: "/api/sample-drupal", + }), + } + : {}), +}) diff --git a/apps/web/lib/get-menus.ts b/apps/web/lib/get-menus.ts new file mode 100644 index 0000000..f6ed065 --- /dev/null +++ b/apps/web/lib/get-menus.ts @@ -0,0 +1,21 @@ +import { GetStaticPropsContext } from "next" +import { DrupalMenuLinkContent } from "next-drupal" +import { drupal } from "lib/drupal" + +export async function getMenus(context: GetStaticPropsContext): Promise<{ + main: DrupalMenuLinkContent[] + footer: DrupalMenuLinkContent[] +}> { + const { tree: main } = await drupal.getMenu("main", { + locale: context.locale, + defaultLocale: context.defaultLocale, + }) + const { tree: footer } = await drupal.getMenu("footer", { + locale: context.locale, + defaultLocale: context.defaultLocale, + }) + + // next-drupal 2's menu tree marks a leaf `items: undefined`, which + // getStaticProps cannot serialise: hand the page a JSON copy. + return JSON.parse(JSON.stringify({ main, footer })) +} diff --git a/apps/web/lib/get-params.ts b/apps/web/lib/get-params.ts new file mode 100644 index 0000000..f66008b --- /dev/null +++ b/apps/web/lib/get-params.ts @@ -0,0 +1,50 @@ +import { DrupalJsonApiParams } from "drupal-jsonapi-params" + +// The template's Drupal serves several sites from one install and tags each +// node with the site it belongs to (`field_site`); DRUPAL_SITE_ID picks this +// one. A Drupal without that field leaves DRUPAL_SITE_ID unset and gets no +// filter. +export function siteFilter(params: DrupalJsonApiParams) { + if (process.env.DRUPAL_SITE_ID) { + params.addFilter( + "field_site.meta.drupal_internal__target_id", + process.env.DRUPAL_SITE_ID + ) + } + return params +} + +export function getParams(resourceType: string) { + const apiParams = siteFilter(new DrupalJsonApiParams()) + + if (resourceType === "node--landing_page") { + apiParams + .addInclude([ + "field_sections", + "field_sections.field_media.field_media_image", + "field_sections.field_items", + "field_sections.field_reusable_paragraph.paragraphs.field_items", + ]) + .addFields("node--landing_page", [ + "title", + "field_sections", + "path", + "status", + ]) + } + + if (resourceType === "node--article") { + apiParams.addInclude(["field_image", "uid"]) + apiParams.addFields(resourceType, [ + "title", + "body", + "uid", + "created", + "field_image", + "status", + "metatag", + ]) + } + + return apiParams.getQueryObject() +} diff --git a/apps/web/lib/sample-drupal.mjs b/apps/web/lib/sample-drupal.mjs new file mode 100644 index 0000000..88c7a00 --- /dev/null +++ b/apps/web/lib/sample-drupal.mjs @@ -0,0 +1,546 @@ +// The sample Drupal: what the site reads before a Drupal site is connected. +// +// The template's pages are built in Drupal (landing pages from paragraphs, a +// blog, a properties view, two menus, English and Spanish) and read with +// next-drupal over JSON:API, the decoupled router and the menu and views +// endpoints. With no Drupal connected, lib/drupal.ts hands next-drupal this +// module as its `fetcher`: every request the pages make is answered here, in +// the Worker, in the shapes those Drupal modules return — so the same code +// renders the same pages, and a connected Drupal replaces this file's content +// and nothing else. The browser's properties search (the view's own `self` +// link) reaches it through pages/api/sample-drupal. +// +// The content is the template's content model (the example's Drupal config: +// node--landing_page with hero, feature, cards, faq and view paragraphs, +// node--article, node--page, node--property_listing, media--image, +// taxonomy_term--property_location) with sample words — the headings, the +// author and the dates are the ones the template's own tests look for. The +// photos are public/sample (Payload's website template, MIT). +// +// Plain JavaScript with no dependencies, so the stand-in Drupal the tests run +// (tests/web/fake-drupal.mjs) serves exactly this over HTTP. + +export const LOCALES = ["en", "es"]; +export const DEFAULT_LOCALE = "en"; +export const PROPERTIES_PER_PAGE = 4; + +// ── Content ──────────────────────────────────────────────────────────────── + +const files = { + hero: image("f0d4b1e2-0001-4000-8000-000000000001", "hero.webp", 3200, 1800), + photo1: image("f0d4b1e2-0001-4000-8000-000000000002", "photo-1.webp", 1920, 1080), + photo2: image("f0d4b1e2-0001-4000-8000-000000000003", "photo-2.webp", 1920, 1080), + photo3: image("f0d4b1e2-0001-4000-8000-000000000004", "photo-3.webp", 1920, 1080), +}; + +function image(id, name, width, height) { + return { + type: "file--file", + id, + attributes: { + filename: name, + filemime: "image/webp", + uri: { value: `public://sample/${name}`, url: `/sample/${name}` }, + }, + dims: { width, height }, + }; +} + +function media(id, file, alt) { + return { + type: "media--image", + id, + attributes: { name: alt }, + relationships: { + field_media_image: one(file, { alt, title: alt, width: file.dims.width, height: file.dims.height }), + }, + }; +} + +const medias = { + hero: media("a1b2c3d4-0002-4000-8000-000000000001", files.hero, "Hero"), + feature: media("a1b2c3d4-0002-4000-8000-000000000002", files.photo1, "Feature"), + home1: media("a1b2c3d4-0002-4000-8000-000000000003", files.photo1, "A living room with tall windows"), + home2: media("a1b2c3d4-0002-4000-8000-000000000004", files.photo2, "An open kitchen"), + home3: media("a1b2c3d4-0002-4000-8000-000000000005", files.photo3, "A bright bedroom"), +}; + +const author = { + type: "user--user", + id: "b2c3d4e5-0003-4000-8000-000000000001", + attributes: { display_name: "Arshad", field_name: "Arshad" }, +}; + +const locations = [ + term("c3d4e5f6-0004-4000-8000-000000000001", 1, "San Francisco, CA"), + term("c3d4e5f6-0004-4000-8000-000000000002", 2, "Oakland, CA"), + term("c3d4e5f6-0004-4000-8000-000000000003", 3, "San Jose, CA"), +]; + +function term(id, tid, name) { + return { type: "taxonomy_term--property_location", id, attributes: { name, drupal_internal__tid: tid } }; +} + +function one(resource, meta) { + return { data: { type: resource.type, id: resource.id, ...(meta ? { meta } : {}) } }; +} +function many(resources) { + return { data: resources.map((r) => ({ type: r.type, id: r.id })) }; +} +function text(html) { + return { value: html, format: "basic_html", processed: html }; +} + +let uuidSeq = 0; +function uuid(prefix) { + uuidSeq += 1; + return `${prefix}-0005-4000-8000-${String(uuidSeq).padStart(12, "0")}`; +} +function paragraph(type, attributes, relationships = {}, es = {}) { + return { type: `paragraph--${type}`, id: uuid("d4e5f6a7"), attributes, relationships, es }; +} + +const cards = []; +function card(heading, body, es) { + const c = paragraph("card", { field_heading: heading, field_text: text(`

    ${body}

    `) }, {}, es ? { field_heading: es[0], field_text: text(`

    ${es[1]}

    `) } : {}); + cards.push(c); + return c; +} + +const homeSections = [ + paragraph( + "hero", + { + field_heading: "Build Something Amazing", + field_text: text("

    Must today firm from bag. Investment try cold a when capital. Everything wait person service.

    "), + field_links: [ + { title: "Find a property", uri: "/properties", options: [] }, + { title: "Read the blog", uri: "/blog", options: [] }, + ], + }, + { field_media: one(medias.hero) }, + { + field_heading: "Construye Algo Asombroso", + field_text: text("

    Dicta laboriosam magnam possimus ad. Ratione rem nihil nostrum dolore reiciendis enim.

    "), + field_links: [ + { title: "Buscar una propiedad", uri: "/es/properties", options: [] }, + { title: "Leer el blog", uri: "/es/blog", options: [] }, + ], + }, + ), + paragraph( + "feature", + { + field_heading: "Marketing Strategy", + field_text: text("

    Every section of this page is a paragraph in Drupal: reorder them, add one, translate it, and the page follows.

    "), + field_media_position: "left", + field_background_color: "muted", + field_link: { title: "About us", uri: "/about", options: [] }, + }, + { field_media: one(medias.feature) }, + { + field_text: text("

    Cada sección de esta página es un párrafo en Drupal: reordénalos, añade uno, tradúcelo y la página lo sigue.

    "), + field_link: { title: "Acerca de nosotros", uri: "/es/about", options: [] }, + }, + ), + paragraph( + "cards", + { + field_heading: "Why Drupal and Next.js", + field_text: text("

    Editors keep their CMS. Visitors get a fast site.

    "), + }, + { + field_items: many([ + card("Structured content", "Landing pages, articles and listings are content types and paragraphs.", ["Contenido estructurado", "Las páginas, los artículos y los listados son tipos de contenido y párrafos."]), + card("Pre-rendered pages", "Pages are generated once and refreshed when an editor saves.", ["Páginas pre-renderizadas", "Las páginas se generan una vez y se actualizan cuando un editor guarda."]), + card("Preview before publishing", "Editors see a draft on the real site before anyone else does.", ["Vista previa antes de publicar", "Los editores ven un borrador en el sitio real antes que nadie."]), + ]), + }, + { field_heading: "Por qué Drupal y Next.js", field_text: text("

    Los editores conservan su CMS. Los visitantes obtienen un sitio rápido.

    ") }, + ), + paragraph( + "faq", + { field_heading: "Frequently Asked Questions", field_text: text("

    Answers to what visitors ask most.

    ") }, + { + field_items: many([ + card("Move weight here just either attorney?", "Over discover they nature far. Material sit among difference sea form sit."), + card("Can I edit this page?", "Yes: connect a Drupal site and every heading, text and image here comes from it."), + card("Is the site translated?", "Every page has an English and a Spanish version; the switcher in the header changes language."), + card("How fast do edits show?", "Drupal tells the site when content changes, and the page is regenerated on the next visit."), + ]), + }, + ), +]; + +const propertiesSections = [ + paragraph( + "hero", + { field_heading: "Find your place", field_text: text("

    Homes for sale and for rent across the Bay Area.

    ") }, + {}, + { field_heading: "Encuentra tu lugar", field_text: text("

    Casas en venta y en alquiler en toda el Área de la Bahía.

    ") }, + ), + paragraph("view", { field_view: "properties--listing" }), +]; + +function node(bundle, nid, idSuffix, en, es, relationships = {}) { + return { + type: `node--${bundle}`, + id: `e5f6a7b8-0006-4000-8000-${idSuffix}`, + nid, + attributes: { langcode: "en", status: true, metatag: null, ...en }, + es: es ? { langcode: "es", ...es } : null, + relationships, + }; +} + +const ARTICLE_BODY = (topic) => + text( + `

    ${topic} is one of the ideas this site is built on. A page is generated from Drupal content when it is first needed, kept, and served to every visitor after that.

    ` + + "

    When an editor saves, Drupal tells the site which path changed and the next visitor gets the new page. Nothing else is rebuilt.

    ", + ); + +const nodes = [ + node("landing_page", 1, "000000000001", { title: "Home", path: { alias: "/home", langcode: "en" } }, { title: "Inicio", path: { alias: "/home", langcode: "es" } }, { field_sections: many(homeSections) }), + node("landing_page", 2, "000000000002", { title: "Properties", path: { alias: "/properties", langcode: "en" } }, { title: "Propiedades", path: { alias: "/properties", langcode: "es" } }, { field_sections: many(propertiesSections) }), + node( + "page", + 3, + "000000000003", + { + title: "About", + path: { alias: "/about", langcode: "en" }, + body: text( + "

    We help people find a home they love. This page is a basic page in Drupal: its body is the editor's formatted text, images included.

    " + + '
    An open kitchen
    This is the caption
    ' + + '

    Links inside the text, like our properties, stay on the site.

    ', + ), + }, + { + title: "Acerca", + path: { alias: "/about", langcode: "es" }, + body: text( + "

    Ayudamos a las personas a encontrar un hogar que les encante. Esta página es una página básica en Drupal.

    " + + '
    Una cocina abierta
    Este es el pie de foto
    ' + + '

    Los enlaces dentro del texto, como nuestras propiedades, se quedan en el sitio.

    ', + ), + }, + ), + node( + "article", + 4, + "000000000004", + { + title: "Learn How to Pre-render Pages Using Static Generation with Next.js", + path: { alias: "/blog/learn-how-pre-render-pages-using-static-generation-nextjs", langcode: "en" }, + created: "2021-06-13T15:00:00+00:00", + body: { ...ARTICLE_BODY("Static generation"), summary: "Pages generated once from Drupal content and served to everyone." }, + }, + { + title: "Aprenda a pre-renderizar páginas con generación estática en Next.js", + path: { alias: "/blog/learn-how-pre-render-pages-using-static-generation-nextjs", langcode: "es" }, + created: "2021-06-14T15:00:00+00:00", + body: { ...text("

    La generación estática es una de las ideas sobre las que se construye este sitio.

    "), summary: "Páginas generadas una vez a partir del contenido de Drupal." }, + }, + { uid: one(author), field_image: one(files.photo1, { alt: "A living room with tall windows", title: "", width: 1920, height: 1080 }) }, + ), + node( + "article", + 5, + "000000000005", + { + title: "Dynamic Routing and Static Generation", + path: { alias: "/blog/dynamic-routing-and-static-generation", langcode: "en" }, + created: "2021-06-13T12:00:00+00:00", + body: { ...ARTICLE_BODY("Dynamic routing"), summary: "One route for every page Drupal knows about." }, + }, + { + title: "Enrutamiento dinámico y Generación Estática", + path: { alias: "/blog/dynamic-routing-and-static-generation", langcode: "es" }, + created: "2021-06-14T12:00:00+00:00", + body: { ...text("

    Una sola ruta para cada página que Drupal conoce.

    "), summary: "Una sola ruta para cada página que Drupal conoce." }, + }, + { uid: one(author), field_image: one(files.photo2, { alt: "An open kitchen", title: "", width: 1920, height: 1080 }) }, + ), + node( + "article", + 6, + "000000000006", + { + title: "Previewing Drafts Before They Go Live", + path: { alias: "/blog/previewing-drafts-before-they-go-live", langcode: "en" }, + created: "2021-06-10T12:00:00+00:00", + body: { ...ARTICLE_BODY("Preview"), summary: "Editors see unpublished changes on the real site." }, + }, + { + title: "Vista previa de borradores antes de publicarlos", + path: { alias: "/blog/previewing-drafts-before-they-go-live", langcode: "es" }, + created: "2021-06-11T12:00:00+00:00", + body: { ...text("

    Los editores ven los cambios no publicados en el sitio real.

    "), summary: "Los editores ven los cambios no publicados." }, + }, + { uid: one(author), field_image: one(files.photo3, { alt: "A bright bedroom", title: "", width: 1920, height: 1080 }) }, + ), +]; + +// Twelve listings, four to a page; one four-bedroom house for sale in San +// Francisco (the template's own filter test finds exactly one). +const LISTINGS = [ + ["484 Robert Crest Apt. 875", 0, "sale", 3, 2, 1850], + ["2050 Pine Street", 0, "rent", 2, 1, 980], + ["17 Grand View Avenue", 0, "sale", 4, 3, 2600], + ["315 Lakeshore Drive", 1, "sale", 4, 2, 2200], + ["88 Telegraph Place", 1, "rent", 1, 1, 640], + ["1209 Harrison Street", 1, "sale", 3, 2, 1700], + ["740 Almaden Boulevard", 2, "rent", 2, 2, 1100], + ["56 Willow Glen Way", 2, "sale", 5, 4, 3200], + ["901 Santa Clara Street", 2, "rent", 3, 2, 1450], + ["12 Ocean Avenue", 0, "rent", 3, 2, 1500], + ["4400 Broadway", 1, "rent", 2, 1, 900], + ["630 Saratoga Road", 2, "sale", 4, 2, 2400], +]; +const listingMedia = [medias.home1, medias.home2, medias.home3]; +LISTINGS.forEach(([title, loc, status, beds, baths, size], i) => { + nodes.push( + node( + "property_listing", + 100 + i, + String(100 + i).padStart(12, "0"), + { + title, + path: { alias: `/properties/${title.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/-$/, "")}`, langcode: "en" }, + field_status: status, + field_beds: beds, + field_baths: baths, + field_size: size, + field_teaser: `${beds} bedrooms and ${baths} ${baths === 1 ? "bathroom" : "bathrooms"} in ${locations[loc].attributes.name.split(",")[0]}.`, + created: `2021-06-${String(1 + i).padStart(2, "0")}T12:00:00+00:00`, + }, + null, + { field_location: one(locations[loc]), field_images: many([listingMedia[i % 3], listingMedia[(i + 1) % 3]]) }, + ), + ); +}); + +const menus = { + main: [ + ["Home", "Inicio", "/", "/es"], + ["Blog", "Blog", "/blog", "/es/blog"], + ["Properties", "Propiedades", "/properties", "/es/properties"], + ["About", "Acerca", "/about", "/es/about"], + ["GitHub", "GitHub", "https://github.com/chapter-three/next-drupal", "https://github.com/chapter-three/next-drupal"], + ], + footer: [ + ["About", "Acerca", "/about", "/es/about"], + ["Blog", "Blog", "/blog", "/es/blog"], + ], +}; + +// ── The store ────────────────────────────────────────────────────────────── + +const all = [ + ...Object.values(files), + ...Object.values(medias), + author, + ...locations, + ...homeSections, + ...cards, + ...propertiesSections, + ...nodes, +]; + +/** + * Build a sample Drupal. `overrides(resource, locale, revision)` may replace a + * resource's attributes (the stand-in Drupal's edits and drafts use it). + * + * @param {{ overrides?: (r: object, locale: string, revision: string | null, authed: boolean) => object | null | undefined }} [options] + */ +export function createSampleDrupal(options = {}) { + const byKey = new Map(); + for (const r of all) if (r.type) byKey.set(`${r.type}:${r.id}`, r); + // The cards are stored under their references: resolve them to the objects. + for (const p of homeSections) { + for (const ref of p.relationships.field_items?.data ?? []) { + if (!byKey.has(`${ref.type}:${ref.id}`)) throw new Error(`sample: missing ${ref.type} ${ref.id}`); + } + } + + function view(r, locale, revision, authed) { + const attrs = { ...r.attributes, ...(locale !== DEFAULT_LOCALE && r.es ? r.es : {}) }; + const over = options.overrides?.(r, locale, revision, authed); + if (over === null) return null; + const out = { type: r.type, id: r.id, attributes: { ...attrs, ...(over ?? {}) } }; + if (r.nid) out.attributes.drupal_internal__nid = r.nid; + if (r.relationships && Object.keys(r.relationships).length) out.relationships = r.relationships; + return out; + } + + function includes(primaries, include, locale) { + const seen = new Set(primaries.map((r) => `${r.type}:${r.id}`)); + const out = []; + for (const pathSpec of (include || "").split(",").filter(Boolean)) { + let frontier = primaries.map((r) => byKey.get(`${r.type}:${r.id}`)).filter(Boolean); + for (const field of pathSpec.split(".")) { + const next = []; + for (const r of frontier) { + const rel = r.relationships?.[field]?.data; + for (const ref of rel ? (Array.isArray(rel) ? rel : [rel]) : []) { + const target = byKey.get(`${ref.type}:${ref.id}`); + if (!target) continue; + next.push(target); + const key = `${target.type}:${target.id}`; + if (!seen.has(key)) { + seen.add(key); + out.push(view(target, locale, null, false)); + } + } + } + frontier = next; + } + } + return out; + } + + function aliasOf(n, locale) { + return (locale !== DEFAULT_LOCALE && n.es ? n.es.path : n.attributes.path).alias; + } + + function translate(path) { + const m = path.match(/^\/(es)(\/.*)?$/); + const locale = m ? m[1] : DEFAULT_LOCALE; + const alias = m ? m[2] || "/" : path; + const n = nodes.find((x) => x.type !== "node--property_listing" && aliasOf(x, locale) === alias && (locale === DEFAULT_LOCALE || x.es)); + return n ? { n, locale } : null; + } + + /** @param {string} origin @param {string} locale */ + function base(origin, locale) { + return `${origin}${locale !== DEFAULT_LOCALE ? `/${locale}` : ""}/jsonapi`; + } + + function json(status, body) { + return new Response(JSON.stringify(body), { status, headers: { "content-type": "application/vnd.api+json" } }); + } + + function collection(list, url, locale, { limit, offset }) { + const total = list.length; + const page = list.slice(offset, offset + limit); + const links = { self: { href: url.toString() } }; + if (offset + limit < total) { + const next = new URL(url); + next.searchParams.set("page[offset]", String(offset + limit)); + links.next = { href: next.toString() }; + } + return { jsonapi: { version: "1.0" }, data: page, included: includes(page, url.searchParams.get("include"), locale), meta: { count: total }, links }; + } + + function propertiesView(url, locale, viewBase) { + const p = url.searchParams; + const f = (k) => p.get(`views-filter[${k}]`); + let list = nodes.filter((n) => n.type === "node--property_listing"); + const loc = f("location"); + if (loc && loc !== "All") list = list.filter((n) => String(byKey.get(`taxonomy_term--property_location:${n.relationships.field_location.data.id}`).attributes.drupal_internal__tid) === loc); + const status = f("status"); + if (status && status !== "All") list = list.filter((n) => n.attributes.field_status === status); + if (f("beds")) list = list.filter((n) => n.attributes.field_beds >= Number(f("beds"))); + if (f("baths")) list = list.filter((n) => n.attributes.field_baths >= Number(f("baths"))); + const page = Math.max(0, Number(p.get("page") || 0)); + const rows = list.slice(page * PROPERTIES_PER_PAGE, (page + 1) * PROPERTIES_PER_PAGE).map((n) => view(n, locale, null, false)); + const self = new URL(`${viewBase}${locale !== DEFAULT_LOCALE ? `/${locale}` : ""}/jsonapi/views/properties/listing`, "http://x"); + for (const [k, v] of p) self.searchParams.set(k, v); + const href = (u) => (viewBase.startsWith("http") ? u.toString() : `${u.pathname}${u.search}`); + const links = { self: { href: href(self) } }; + if ((page + 1) * PROPERTIES_PER_PAGE < list.length) { + const next = new URL(self); + next.searchParams.set("page", String(page + 1)); + links.next = { href: href(next) }; + } + return { jsonapi: { version: "1.0" }, data: rows, included: includes(rows, p.get("include"), locale), meta: { count: list.length }, links }; + } + + /** + * Answer one request the way a Drupal site with jsonapi, decoupled_router, + * jsonapi_menu_items and jsonapi_views does. + * + * @param {Request} request + * @param {{ viewBase?: string, authed?: boolean }} [ctx] viewBase: where the + * browser reaches the view endpoint (its `self` link); authed: the request + * carried a valid token (a draft revision needs one). + */ + async function handle(request, ctx = {}) { + const url = new URL(request.url); + const origin = url.origin; + const viewBase = ctx.viewBase ?? origin; + let path = url.pathname; + let locale = DEFAULT_LOCALE; + const lm = path.match(/^\/(es)(\/.*)$/); + if (lm) { + locale = lm[1]; + path = lm[2]; + } + if (request.method !== "GET") return json(405, { errors: [{ status: "405", title: "Method Not Allowed" }] }); + + if (path === "/router/translate-path") { + const t = translate(url.searchParams.get("path") || "/"); + if (!t) return json(404, { message: `Unable to resolve path ${url.searchParams.get("path")}.`, details: "None of the available methods were able to find a match for this path." }); + const { n, locale: l } = t; + const bundle = n.type.split("--")[1]; + const individual = `${base(origin, l)}/node/${bundle}/${n.id}`; + return json(200, { + resolved: `${origin}${l !== DEFAULT_LOCALE ? `/${l}` : ""}${aliasOf(n, l)}`, + isHomePath: aliasOf(n, l) === "/home", + entity: { canonical: `${origin}${aliasOf(n, l)}`, type: "node", bundle, id: String(n.nid), uuid: n.id, langcode: l }, + label: (l !== DEFAULT_LOCALE && n.es ? n.es : n.attributes).title, + jsonapi: { individual, resourceName: n.type, pathPrefix: "jsonapi", basePath: "/jsonapi", entryPoint: base(origin, DEFAULT_LOCALE) }, + }); + } + + if (path === "/jsonapi") { + const types = ["node--landing_page", "node--page", "node--article", "node--property_listing", "media--image", "file--file", "user--user", "taxonomy_term--property_location"]; + const links = Object.fromEntries(types.map((t) => [t, { href: `${base(origin, locale)}/${t.replace("--", "/")}` }])); + links.self = { href: base(origin, locale) }; + return json(200, { jsonapi: { version: "1.0" }, data: [], links }); + } + + let m; + if ((m = path.match(/^\/jsonapi\/menu_items\/([\w-]+)$/))) { + const items = menus[m[1]]; + if (!items) return json(404, { errors: [{ status: "404", title: "Not Found" }] }); + return json(200, { + jsonapi: { version: "1.0" }, + data: items.map(([en, es, enUrl, esUrl], i) => ({ + type: "menu_link_content--menu_link_content", + id: `menu_link_content:${m[1]}-${i}`, + attributes: { description: null, enabled: true, expanded: false, menu_name: m[1], meta: {}, options: {}, parent: "", provider: "menu_link_content", route: { name: "", parameters: [] }, title: locale === "es" ? es : en, url: locale === "es" ? esUrl : enUrl, weight: i }, + })), + }); + } + + if (path === "/jsonapi/views/properties/listing") return json(200, propertiesView(url, locale, viewBase)); + + if ((m = path.match(/^\/jsonapi\/node\/(\w+)\/([\w-]+)$/))) { + const n = nodes.find((x) => x.type === `node--${m[1]}` && x.id === m[2]); + if (!n || (locale !== DEFAULT_LOCALE && !n.es)) return json(404, { errors: [{ status: "404", title: "Not Found" }] }); + const v = view(n, locale, url.searchParams.get("resourceVersion"), Boolean(ctx.authed)); + if (!v) return json(403, { errors: [{ status: "403", title: "Forbidden", detail: "The current user is not allowed to view this revision." }] }); + return json(200, { jsonapi: { version: "1.0" }, data: v, included: includes([v], url.searchParams.get("include"), locale) }); + } + + if ((m = path.match(/^\/jsonapi\/node\/(\w+)$/))) { + const p = url.searchParams; + let list = nodes.filter((x) => x.type === `node--${m[1]}` && (locale === DEFAULT_LOCALE || x.es)).map((n) => view(n, locale, null, false)).filter(Boolean); + if (p.get("filter[status]") === "1") list = list.filter((n) => n.attributes.status); + const sort = p.get("sort"); + if (sort) { + const key = sort.replace(/^-/, ""); + const dir = sort.startsWith("-") ? -1 : 1; + list.sort((a, b) => (a.attributes[key] > b.attributes[key] ? dir : a.attributes[key] < b.attributes[key] ? -dir : 0)); + } + const limit = Number(p.get("page[limit]") || 50); + const offset = Number(p.get("page[offset]") || 0); + return json(200, collection(list, url, locale, { limit, offset })); + } + + return json(404, { errors: [{ status: "404", title: "Not Found", detail: `No sample resource at ${url.pathname}` }] }); + } + + return { handle, nodes, translate }; +} diff --git a/apps/web/lib/utils/absolute-url.ts b/apps/web/lib/utils/absolute-url.ts new file mode 100644 index 0000000..12ba2a9 --- /dev/null +++ b/apps/web/lib/utils/absolute-url.ts @@ -0,0 +1,7 @@ +import { drupalBaseUrl } from "lib/drupal" + +// A Drupal file or path as a URL the browser can load: on the connected +// Drupal, or on this site for the sample's photos (public/sample). +export function absoluteURL(uri: string) { + return `${drupalBaseUrl}${uri.startsWith("/") ? uri : `/${uri}`}` +} diff --git a/apps/web/lib/utils/format-date.ts b/apps/web/lib/utils/format-date.ts new file mode 100644 index 0000000..fc6bdfa --- /dev/null +++ b/apps/web/lib/utils/format-date.ts @@ -0,0 +1,8 @@ +export function formatDate(input: string): string { + const date = new Date(input) + return date.toLocaleDateString("en-US", { + month: "long", + day: "numeric", + year: "numeric", + }) +} diff --git a/apps/web/lib/utils/is-relative.ts b/apps/web/lib/utils/is-relative.ts new file mode 100644 index 0000000..8ec6e5d --- /dev/null +++ b/apps/web/lib/utils/is-relative.ts @@ -0,0 +1,3 @@ +export function isRelative(url: string) { + return !new RegExp("^(?:[a-z]+:)?//", "i").test(url) +} diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts new file mode 100644 index 0000000..08a7cb7 --- /dev/null +++ b/apps/web/next.config.ts @@ -0,0 +1,57 @@ +import { initOpenNextCloudflareForDev } from "@opennextjs/cloudflare"; +import type { NextConfig } from "next"; +import path from "node:path"; + +// The Drupal site the pages read and the template's settings for it: values +// `next build` inlines into the bundles (the build pre-renders every page +// Drupal lists, and the browser loads Drupal's images), from the product's +// optional Orun secrets per environment (component.yaml optionalSecretEnv). +// DRUPAL_BASE_URL unset: no Drupal is connected yet, and the site renders the +// bundled sample content (lib/sample-drupal.mjs). The OAuth client and the +// revalidation secret are not here: Worker secrets, read at request time. +const nextConfig: NextConfig = { + env: { + NEXT_PUBLIC_DRUPAL_BASE_URL: (process.env.DRUPAL_BASE_URL ?? "").replace(/\/+$/, ""), + DRUPAL_SITE_ID: process.env.DRUPAL_SITE_ID ?? "", + DRUPAL_FRONT_PAGE: process.env.DRUPAL_FRONT_PAGE ?? "/home", + // The site's public origin, for canonical and Open Graph links: set per + // environment by the deploy's build command. + NEXT_PUBLIC_BASE_URL: process.env.NEXT_PUBLIC_SITE_URL ?? "", + }, + i18n: { + locales: ["en", "es"], + defaultLocale: "en", + }, + images: { + // The Worker has no image optimiser: Drupal's files are served as + // uploaded, from Drupal (or public/sample). + unoptimized: true, + }, + async rewrites() { + return [ + { + source: "/blog", + destination: "/blog/page/0", + }, + { + source: "/es", + destination: "/es/home", + locale: false, + }, + { + source: "/en/principal", + destination: "/", + locale: false, + }, + ]; + }, + // Required by @opennextjs/cloudflare, which bundles `.next/standalone/**` + // into the Worker. Trace from the monorepo root so workspace dependencies + // resolve from the root node_modules. + output: "standalone", + outputFileTracingRoot: path.join(__dirname, "../.."), +}; + +export default nextConfig; + +initOpenNextCloudflareForDev(); diff --git a/apps/web/open-next.config.ts b/apps/web/open-next.config.ts new file mode 100644 index 0000000..80075a6 --- /dev/null +++ b/apps/web/open-next.config.ts @@ -0,0 +1,25 @@ +// OpenNext Cloudflare adapter config. +// +// Every page is pre-rendered from Drupal (getStaticProps; `fallback: +// "blocking"` renders a path Drupal adds later on its first visit) and kept +// until Drupal says it changed: its `next` module calls /api/revalidate, +// whose `res.revalidate(path)` renders the page again. On Workers: +// +// incremental cache → R2 (NEXT_INC_CACHE_R2_BUCKET): every rendered page, +// keyed by build, so a deploy starts from fresh pages +// queue → in the isolate (memory queue): de-duplicated +// re-renders, which — like `res.revalidate` — call the +// Worker back through WORKER_SELF_REFERENCE (a Worker +// cannot fetch its own workers.dev hostname) +// +// No tag cache: the Pages Router revalidates by path, and nothing here uses +// `revalidateTag`. The bucket is provisioned by infra/terraform/cloudflare-r2 +// and wired into wrangler.jsonc per environment. +import { defineCloudflareConfig } from "@opennextjs/cloudflare/config"; +import r2IncrementalCache from "@opennextjs/cloudflare/overrides/incremental-cache/r2-incremental-cache"; +import memoryQueue from "@opennextjs/cloudflare/overrides/queue/memory-queue"; + +export default defineCloudflareConfig({ + incrementalCache: r2IncrementalCache, + queue: memoryQueue, +}); diff --git a/apps/web/package.json b/apps/web/package.json new file mode 100644 index 0000000..594e667 --- /dev/null +++ b/apps/web/package.json @@ -0,0 +1,43 @@ +{ + "name": "@app/web", + "version": "0.0.0", + "private": true, + "license": "MIT", + "scripts": { + "dev": "next dev -p 3001", + "build": "next build --webpack && opennextjs-cloudflare build --skipBuild --skipWranglerConfigCheck", + "start": "next start -p 3001", + "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.11", + "@tanstack/react-query": "5.105.0", + "classnames": "2.5.1", + "drupal-jsonapi-params": "2.3.1", + "html-react-parser": "5.2.17", + "next": "16.3.8", + "next-drupal": "2.0.1", + "nprogress": "0.2.0", + "react": "19.2.8", + "react-dom": "19.2.8", + "react-hook-form": "7.91.0" + }, + "devDependencies": { + "@app/eslint-config": "workspace:*", + "@tailwindcss/forms": "0.5.11", + "@tailwindcss/typography": "0.5.20", + "@types/node": "22.13.4", + "@types/nprogress": "0.2.3", + "@types/react": "19.2.18", + "@types/react-dom": "19.2.4", + "autoprefixer": "10.6.2", + "eslint": "^9.27.0", + "postcss": "8.5.6", + "tailwindcss": "3.4.19", + "typescript": "5.7.3", + "wrangler": "^4.151.0" + } +} diff --git a/apps/web/pages/[[...slug]].tsx b/apps/web/pages/[[...slug]].tsx new file mode 100644 index 0000000..fa2cccd --- /dev/null +++ b/apps/web/pages/[[...slug]].tsx @@ -0,0 +1,108 @@ +import * as React from "react" +import { + GetStaticPathsContext, + GetStaticPathsResult, + GetStaticPropsContext, + GetStaticPropsResult, +} from "next" +import Head from "next/head" +import { useRouter } from "next/router" +import { DrupalNode } from "next-drupal" + +import { drupal } from "lib/drupal" +import { getMenus } from "lib/get-menus" +import { absoluteURL } from "lib/utils/absolute-url" +import { getParams, siteFilter } from "lib/get-params" +import { DrupalJsonApiParams } from "drupal-jsonapi-params" +import { Node } from "components/node" +import { Layout, LayoutProps } from "components/layout" +import { Meta } from "components/meta" + +const RESOURCE_TYPES = ["node--page", "node--landing_page", "node--article"] + +interface NodePageProps extends LayoutProps { + node: DrupalNode +} + +export default function NodePage({ node, menus }: NodePageProps) { + const router = useRouter() + + return ( + + + + {node.content_translations?.map((translation, index) => + translation.langcode !== router.locale ? ( + + ) : null + )} + + + + ) +} + +export async function getStaticPaths( + context: GetStaticPathsContext +): Promise { + return { + paths: await drupal.getStaticPathsFromContext(RESOURCE_TYPES, context, { + params: siteFilter(new DrupalJsonApiParams()).getQueryObject(), + }), + fallback: "blocking", + } +} + +export async function getStaticProps( + context: GetStaticPropsContext +): Promise> { + const path = await drupal.translatePathFromContext(context) + + if (!path || !RESOURCE_TYPES.includes(path.jsonapi.resourceName)) { + return { + notFound: true, + } + } + + const type = path.jsonapi.resourceName + + const node = await drupal.getResourceFromContext(path, context, { + params: getParams(type), + }) + + if (!node || (!context.preview && node?.status === false)) { + return { + notFound: true, + } + } + + // Load initial view data. + if (type === "node--landing_page") { + for (const section of node.field_sections) { + if (section.type === "paragraph--view" && section.field_view) { + const view = await drupal.getView(section.field_view, { + params: { + include: "field_location,field_images.field_media_image", + }, + }) + + section.field_view = { + name: section.field_view, + ...view, + } + } + } + } + + return { + props: { + node, + menus: await getMenus(context), + }, + } +} diff --git a/apps/web/pages/_app.tsx b/apps/web/pages/_app.tsx new file mode 100644 index 0000000..d823ca5 --- /dev/null +++ b/apps/web/pages/_app.tsx @@ -0,0 +1,36 @@ +import * as React from "react" +import Router from "next/router" +import { + QueryClient, + QueryClientProvider, + HydrationBoundary, +} from "@tanstack/react-query" +import type { AppProps } from "next/app" +import NProgress from "nprogress" +import { syncDrupalPreviewRoutes } from "next-drupal" +import "nprogress/nprogress.css" + +import "styles/globals.css" + +NProgress.configure({ showSpinner: false }) + +Router.events.on("routeChangeStart", function (path) { + syncDrupalPreviewRoutes(path) + NProgress.start() +}) +Router.events.on("routeChangeComplete", () => NProgress.done()) +Router.events.on("routeChangeError", () => NProgress.done()) + +export default function App({ Component, pageProps }: AppProps) { + const queryClientRef = React.useRef(null) + if (!queryClientRef.current) { + queryClientRef.current = new QueryClient() + } + return ( + + + + + + ) +} diff --git a/apps/web/pages/_document.tsx b/apps/web/pages/_document.tsx new file mode 100644 index 0000000..1b6ab3e --- /dev/null +++ b/apps/web/pages/_document.tsx @@ -0,0 +1,17 @@ +import NextDocument, { Html, Main, NextScript, Head } from "next/document" + +export default class Document extends NextDocument { + render() { + return ( + + + + + +
    + + + + ) + } +} diff --git a/apps/web/pages/api/exit-preview.ts b/apps/web/pages/api/exit-preview.ts new file mode 100644 index 0000000..e08051e --- /dev/null +++ b/apps/web/pages/api/exit-preview.ts @@ -0,0 +1,8 @@ +import { NextApiResponse } from "next" + +export default async function exit(_, response: NextApiResponse) { + response.clearPreviewData() + + response.writeHead(307, { Location: "/" }) + response.end() +} diff --git a/apps/web/pages/api/health.ts b/apps/web/pages/api/health.ts new file mode 100644 index 0000000..1aed1c4 --- /dev/null +++ b/apps/web/pages/api/health.ts @@ -0,0 +1,10 @@ +import type { NextApiRequest, NextApiResponse } from "next" + +import { connected } from "lib/drupal" + +// The Worker's own answer (no static file can give it), for the deployment +// record: whether this build reads a Drupal site or the bundled sample. +export default function health(_: NextApiRequest, response: NextApiResponse) { + response.setHeader("cache-control", "no-store") + response.json({ ok: true, connected }) +} diff --git a/apps/web/pages/api/preview.ts b/apps/web/pages/api/preview.ts new file mode 100644 index 0000000..758ccce --- /dev/null +++ b/apps/web/pages/api/preview.ts @@ -0,0 +1,18 @@ +import type { NextApiRequest, NextApiResponse } from "next" + +import { connected, drupal } from "lib/drupal" + +// Drupal's preview link lands here: next-drupal asks the Drupal site to +// validate the link's secret (its `next` module holds it), then turns on +// preview mode and redirects to the page, which reads the draft revision. +export default async function preview( + request: NextApiRequest, + response: NextApiResponse +) { + if (!connected) { + return response + .status(401) + .json({ message: "No Drupal site is connected: there is nothing to preview." }) + } + return drupal.preview(request, response) +} diff --git a/apps/web/pages/api/revalidate.ts b/apps/web/pages/api/revalidate.ts new file mode 100644 index 0000000..426989c --- /dev/null +++ b/apps/web/pages/api/revalidate.ts @@ -0,0 +1,39 @@ +import type { NextApiRequest, NextApiResponse } from "next" + +// Drupal calls this when content changes (its `next` module's on-demand +// revalidation): the page at `path` is rendered again and replaces the cached +// copy. DRUPAL_REVALIDATE_SECRET is a Worker secret; without it revalidation +// is off and every call is refused. +export default async function handler( + request: NextApiRequest, + response: NextApiResponse +) { + let path = request.query.path as string + const secret = request.query.secret as string + const expected = process.env.DRUPAL_REVALIDATE_SECRET + + // Validate secret. + if (!expected || secret !== expected) { + return response.status(401).json({ message: "Invalid secret." }) + } + + // Validate path. + if (!path) { + return response.status(400).json({ message: "Invalid path." }) + } + + // Fix for homepage. + if (path === (process.env.DRUPAL_FRONT_PAGE || "/home")) { + path = "/" + } + + try { + await response.revalidate(path) + + return response.json({}) + } catch (error) { + return response.status(404).json({ + message: (error as Error).message, + }) + } +} diff --git a/apps/web/pages/api/sample-drupal/[...path].ts b/apps/web/pages/api/sample-drupal/[...path].ts new file mode 100644 index 0000000..30def57 --- /dev/null +++ b/apps/web/pages/api/sample-drupal/[...path].ts @@ -0,0 +1,29 @@ +import type { NextApiRequest, NextApiResponse } from "next" + +import { connected } from "lib/drupal" +import { createSampleDrupal } from "lib/sample-drupal.mjs" + +// The sample Drupal over HTTP, for the one request the browser makes itself: +// the properties search, which follows the view's own `self` link. Gone once +// a Drupal site is connected (the link then points at Drupal). +const sample = connected ? null : createSampleDrupal() + +export default async function handler( + request: NextApiRequest, + response: NextApiResponse +) { + if (!sample) { + return response.status(404).json({ message: "A Drupal site is connected." }) + } + const segments = ([] as string[]).concat(request.query.path ?? []) + const query = request.url?.split("?")[1] + const answer = await sample.handle( + new Request( + `https://sample-drupal.invalid/${segments.join("/")}${query ? `?${query}` : ""}` + ), + { viewBase: "/api/sample-drupal" } + ) + response.status(answer.status) + response.setHeader("content-type", "application/vnd.api+json") + response.send(await answer.text()) +} diff --git a/apps/web/pages/blog/page/[page].tsx b/apps/web/pages/blog/page/[page].tsx new file mode 100644 index 0000000..7d3e72e --- /dev/null +++ b/apps/web/pages/blog/page/[page].tsx @@ -0,0 +1,127 @@ +import * as React from "react" +import { + GetStaticPathsResult, + GetStaticPropsContext, + GetStaticPropsResult, +} from "next" +import { useRouter } from "next/router" +import { DrupalNode, JsonApiResponse } from "next-drupal" +import { DrupalJsonApiParams } from "drupal-jsonapi-params" + +import { drupal } from "lib/drupal" +import { siteFilter } from "lib/get-params" +import { getMenus } from "lib/get-menus" +import { Layout, LayoutProps } from "components/layout" +import { Pager, PagerProps } from "components/pager" +import { Node } from "components/node" +import { Meta } from "components/meta" + +export const NUMBER_OF_POSTS_PER_PAGE = 2 + +export interface BlogPageProps extends LayoutProps { + page: Pick + nodes: DrupalNode[] +} + +export default function BlogPage({ nodes, menus, page }: BlogPageProps) { + const { locale } = useRouter() + const title = locale === "en" ? "Latest Articles." : "Últimas Publicaciones." + + return ( + + +
    +

    + {title} +

    + {nodes.length ? ( +
    + {nodes.map((article) => ( + + ))} +
    + ) : ( +

    No posts found

    + )} + {page ? ( + (page === 0 ? `/blog` : `/blog/page/${page}`)} + className="py-8 mt-8" + /> + ) : null} +
    +
    + ) +} + +export async function getStaticPaths(): Promise { + // Use SSG for the first pages, then fallback to SSR for other pages. + const paths = Array(5) + .fill(0) + .map((_, page) => ({ + params: { + page: `${page + 1}`, + }, + })) + + return { + paths, + fallback: "blocking", + } +} + +export async function getStaticProps( + context: GetStaticPropsContext<{ page: string }> +): Promise> { + const current = parseInt(context.params.page) + + const params = siteFilter(new DrupalJsonApiParams()) + .addInclude(["uid", "field_image"]) + .addFields("node--article", [ + "title", + "path", + "body", + "uid", + "created", + "field_image", + ]) + .addFields("user--user", ["field_name"]) + .addFilter("status", "1") + .addSort("created", "DESC") + + const result = await drupal.getResourceCollectionFromContext( + "node--article", + context, + { + deserialize: false, + params: { + ...params.getQueryObject(), + page: { + limit: NUMBER_OF_POSTS_PER_PAGE, + offset: context.params.page ? NUMBER_OF_POSTS_PER_PAGE * current : 0, + }, + }, + } + ) + + if (!result.data?.length) { + return { + notFound: true, + } + } + + const nodes = drupal.deserialize(result) as DrupalNode[] + + return { + props: { + nodes, + page: { + current, + total: Math.ceil(result.meta.count / NUMBER_OF_POSTS_PER_PAGE), + }, + menus: await getMenus(context), + }, + } +} diff --git a/apps/web/postcss.config.js b/apps/web/postcss.config.js new file mode 100644 index 0000000..33ad091 --- /dev/null +++ b/apps/web/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/apps/web/public/favicon.ico b/apps/web/public/favicon.ico new file mode 100644 index 0000000..ea2f437 Binary files /dev/null and b/apps/web/public/favicon.ico differ diff --git a/apps/web/public/meta.jpg b/apps/web/public/meta.jpg new file mode 100644 index 0000000..ab6299e Binary files /dev/null and b/apps/web/public/meta.jpg differ diff --git a/apps/web/public/robots.txt b/apps/web/public/robots.txt new file mode 100644 index 0000000..14267e9 --- /dev/null +++ b/apps/web/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: / \ No newline at end of file diff --git a/apps/web/public/sample/LICENSE.md b/apps/web/public/sample/LICENSE.md new file mode 100644 index 0000000..ea1bc44 --- /dev/null +++ b/apps/web/public/sample/LICENSE.md @@ -0,0 +1,30 @@ +# The sample photos + +`hero.webp` and `photo-1.webp` to `photo-3.webp` are the seed images of +Payload's website template (github.com/payloadcms/payload, `templates/website/src/endpoints/seed`: +`image-hero1.webp`, `image-post1.webp` … `image-post3.webp`), used here as the +sample Drupal's media before a Drupal site is connected. They are distributed +under Payload's licence: + +MIT License + +Copyright (c) 2018-2025 Payload CMS, Inc. + +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/public/sample/hero.webp b/apps/web/public/sample/hero.webp new file mode 100644 index 0000000..9a9fa4f Binary files /dev/null and b/apps/web/public/sample/hero.webp differ diff --git a/apps/web/public/sample/photo-1.webp b/apps/web/public/sample/photo-1.webp new file mode 100644 index 0000000..fa86721 Binary files /dev/null and b/apps/web/public/sample/photo-1.webp differ diff --git a/apps/web/public/sample/photo-2.webp b/apps/web/public/sample/photo-2.webp new file mode 100644 index 0000000..7506906 Binary files /dev/null and b/apps/web/public/sample/photo-2.webp differ diff --git a/apps/web/public/sample/photo-3.webp b/apps/web/public/sample/photo-3.webp new file mode 100644 index 0000000..a17edd7 Binary files /dev/null and b/apps/web/public/sample/photo-3.webp differ diff --git a/apps/web/site.ts b/apps/web/site.ts new file mode 100644 index 0000000..480e252 --- /dev/null +++ b/apps/web/site.ts @@ -0,0 +1,3 @@ +// The site's name: the navbar brand, every page title and the footer. One +// literal line, so a new product's rename (tooling/rebrand) finds it. +export const SITE_NAME = "Marketing"; diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css new file mode 100644 index 0000000..b5c61c9 --- /dev/null +++ b/apps/web/styles/globals.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/apps/web/tailwind.config.js b/apps/web/tailwind.config.js new file mode 100644 index 0000000..8752b4d --- /dev/null +++ b/apps/web/tailwind.config.js @@ -0,0 +1,14 @@ +module.exports = { + mode: "jit", + content: [ + "./pages/**/*.{js,ts,jsx,tsx}", + "./components/**/*.{js,ts,jsx,tsx}", + ], + theme: { + extend: {}, + }, + variants: { + extend: {}, + }, + plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], +} diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json new file mode 100644 index 0000000..6e08d21 --- /dev/null +++ b/apps/web/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "target": "es2017", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "react-jsx", + "incremental": true, + "baseUrl": "." + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "lib/**/*.mjs"], + "exclude": ["node_modules", ".next", ".open-next", ".wrangler"] +} diff --git a/apps/web/turbo.json b/apps/web/turbo.json new file mode 100644 index 0000000..1ae4154 --- /dev/null +++ b/apps/web/turbo.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["^build"], + "outputs": [".open-next/**", ".next/**", "!.next/cache/**"], + "env": ["DRUPAL_BASE_URL", "DRUPAL_SITE_ID", "DRUPAL_FRONT_PAGE", "NEXT_PUBLIC_SITE_URL"] + } + } +} diff --git a/apps/web/types/.gitkeep b/apps/web/types/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/apps/web/types/drupal.d.ts b/apps/web/types/drupal.d.ts new file mode 100644 index 0000000..8b9dd2b --- /dev/null +++ b/apps/web/types/drupal.d.ts @@ -0,0 +1,17 @@ +interface NodeProperty { + id: string + title: string + field_location: { + name: string + drupal_internal__tid: string + } +} + +export interface DrupalMetatag { + tag: string + attributes: { + content: string + name?: string + rel?: string + } +} diff --git a/apps/web/types/next-globals.d.ts b/apps/web/types/next-globals.d.ts new file mode 100644 index 0000000..1e5f303 --- /dev/null +++ b/apps/web/types/next-globals.d.ts @@ -0,0 +1,5 @@ +// Next.js's global types (CSS imports, next/image's static imports) without +// the generated next-env.d.ts, which a fresh tree has not written yet when +// `typecheck` runs before `build`. +/// +/// diff --git a/apps/web/wiring.fixture.json b/apps/web/wiring.fixture.json new file mode 100644 index 0000000..30c948c --- /dev/null +++ b/apps/web/wiring.fixture.json @@ -0,0 +1,11 @@ +{ + "cloudflare-r2/dev": { + "r2_bucket_name": "dev-cms-drupal-dev" + }, + "cloudflare-r2/stage": { + "r2_bucket_name": "stg-cms-drupal-stage" + }, + "cloudflare-r2/prod": { + "r2_bucket_name": "prod-cms-drupal-prod" + } +} diff --git a/apps/web/wrangler.jsonc b/apps/web/wrangler.jsonc new file mode 100644 index 0000000..62a3a86 --- /dev/null +++ b/apps/web/wrangler.jsonc @@ -0,0 +1,37 @@ +// 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": "cms-drupal-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 is site.ts and the Drupal it reads is decided + // at build (next.config.ts `env`, from the environment's Orun secrets). + // DRUPAL_CLIENT_ID / DRUPAL_CLIENT_SECRET (the OAuth client preview reads + // drafts with) and DRUPAL_REVALIDATE_SECRET (the `?secret=` /api/revalidate + // checks) are Worker secrets the deploy hands over + // (tooling/wire/worker-secrets.mjs); without the first two preview cannot + // read a draft, without the last the route refuses every call. + + // The Next.js incremental cache — every rendered page — in the bucket + // infra/terraform/cloudflare-r2 provisions. + "r2_buckets": [ + { + "binding": "NEXT_INC_CACHE_R2_BUCKET", + "bucket_name": "stg-cms-drupal-stage", + }, + ], + // `res.revalidate` (and the queue's re-renders) request the page from the + // Worker itself, which a Worker can only do through a service binding to + // its own name. + "services": [ + { "binding": "WORKER_SELF_REFERENCE", "service": "cms-drupal-web-stage" }, + ], +} diff --git a/apps/web/wrangler.template.jsonc b/apps/web/wrangler.template.jsonc new file mode 100644 index 0000000..d9cb183 --- /dev/null +++ b/apps/web/wrangler.template.jsonc @@ -0,0 +1,45 @@ +// 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 (cms-drupal-web-stage, cms-drupal-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": "cms-drupal-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 is site.ts and the Drupal it reads is decided + // at build (next.config.ts `env`, from the environment's Orun secrets). + // DRUPAL_CLIENT_ID / DRUPAL_CLIENT_SECRET (the OAuth client preview reads + // drafts with) and DRUPAL_REVALIDATE_SECRET (the `?secret=` /api/revalidate + // checks) are Worker secrets the deploy hands over + // (tooling/wire/worker-secrets.mjs); without the first two preview cannot + // read a draft, without the last the route refuses every call. + + // The Next.js incremental cache — every rendered page — 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)@@", + }, + ], + // `res.revalidate` (and the queue's re-renders) request the page from the + // Worker itself, which a Worker can only do through a service binding to + // its own name. + "services": [ + { "binding": "WORKER_SELF_REFERENCE", "service": "cms-drupal-web-__ENV__" }, + ], +} diff --git a/infra/terraform/cloudflare-r2/component.yaml b/infra/terraform/cloudflare-r2/component.yaml new file mode 100644 index 0000000..67af05c --- /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://cms-drupal/cms-drupal/{{ .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://cms-drupal/cms-drupal/{{ .environment }}/CLOUDFLARE_ACCOUNT_ID" + TF_VAR_cloudflare_account_id: "secret://cms-drupal/cms-drupal/{{ .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..3348d6d --- /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 Drupal marketing site (Next.js Pages Router on Cloudflare Workers + Static Assets via @opennextjs/cloudflare, per environment; R2 as the Next.js cache, refreshed on demand by Drupal; sample content until a Drupal site 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..5fd064b --- /dev/null +++ b/infra/terraform/cloudflare-r2/terraform/main.tf @@ -0,0 +1,119 @@ +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 = "cms-drupal" +} + +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 page, written by the Worker when it renders one. 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 0b6f611..2864dff 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,19 +4,22 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +overrides: + next-drupal>next: 16.3.8 + importers: .: devDependencies: '@typescript-eslint/eslint-plugin': specifier: ^8.32.0 - version: 8.72.1(@typescript-eslint/parser@8.72.1(eslint@9.39.5)(typescript@5.9.3))(eslint@9.39.5)(typescript@5.9.3) + version: 8.72.1(@typescript-eslint/parser@8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3) '@typescript-eslint/parser': specifier: ^8.32.0 - version: 8.72.1(eslint@9.39.5)(typescript@5.9.3) + version: 8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3) eslint: specifier: ^9.27.0 - version: 9.39.5 + version: 9.39.5(jiti@1.21.7) turbo: specifier: ^2.5.4 version: 2.11.10 @@ -24,22 +27,597 @@ importers: specifier: ^5.8.3 version: 5.9.3 + apps/web: + dependencies: + '@opennextjs/cloudflare': + specifier: 1.20.11 + version: 1.20.11(next@16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(wrangler@4.155.0(@types/node@22.13.4)) + '@tanstack/react-query': + specifier: 5.105.0 + version: 5.105.0(@types/react@19.2.18)(react@19.2.8) + classnames: + specifier: 2.5.1 + version: 2.5.1 + drupal-jsonapi-params: + specifier: 2.3.1 + version: 2.3.1 + html-react-parser: + specifier: 5.2.17 + version: 5.2.17(@types/react@19.2.18)(react@19.2.8) + next: + specifier: 16.3.8 + version: 16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + next-drupal: + specifier: 2.0.1 + version: 2.0.1(@types/node@22.13.4) + nprogress: + specifier: 0.2.0 + version: 0.2.0 + react: + specifier: 19.2.8 + version: 19.2.8 + react-dom: + specifier: 19.2.8 + version: 19.2.8(react@19.2.8) + react-hook-form: + specifier: 7.91.0 + version: 7.91.0(@types/react@19.2.18)(react@19.2.8) + devDependencies: + '@app/eslint-config': + specifier: workspace:* + version: link:../../tooling/eslint + '@tailwindcss/forms': + specifier: 0.5.11 + version: 0.5.11(tailwindcss@3.4.19(yaml@2.9.1)) + '@tailwindcss/typography': + specifier: 0.5.20 + version: 0.5.20(tailwindcss@3.4.19(yaml@2.9.1)) + '@types/node': + specifier: 22.13.4 + version: 22.13.4 + '@types/nprogress': + specifier: 0.2.3 + version: 0.2.3 + '@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) + autoprefixer: + specifier: 10.6.2 + version: 10.6.2(postcss@8.5.6) + eslint: + specifier: ^9.27.0 + version: 9.39.5(jiti@1.21.7) + postcss: + specifier: 8.5.6 + version: 8.5.6 + tailwindcss: + specifier: 3.4.19 + version: 3.4.19(yaml@2.9.1) + typescript: + specifier: 5.7.3 + version: 5.7.3 + wrangler: + specifier: ^4.151.0 + version: 4.155.0(@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.11 + version: 1.20.11(next@16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(wrangler@4.155.0(@types/node@22.13.4)) + '@types/node': + specifier: 22.13.4 + version: 22.13.4 + drupal-jsonapi-params: + specifier: 2.3.1 + version: 2.3.1 + next: + specifier: 16.3.8 + version: 16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + next-drupal: + specifier: 2.0.1 + version: 2.0.1(@types/node@22.13.4) + react: + specifier: 19.2.8 + version: 19.2.8 + react-dom: + specifier: 19.2.8 + version: 19.2.8(react@19.2.8) + typescript: + specifier: ^5.8.3 + version: 5.9.3 + vitest: + specifier: ^3.2.4 + version: 3.2.7(@types/node@22.13.4)(jiti@1.21.7)(terser@5.36.0)(yaml@2.9.1) + tooling/eslint: devDependencies: '@typescript-eslint/eslint-plugin': specifier: ^8.32.0 - version: 8.72.1(@typescript-eslint/parser@8.72.1(eslint@9.39.5)(typescript@5.9.3))(eslint@9.39.5)(typescript@5.9.3) + version: 8.72.1(@typescript-eslint/parser@8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3) '@typescript-eslint/parser': specifier: ^8.32.0 - version: 8.72.1(eslint@9.39.5)(typescript@5.9.3) + version: 8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3) eslint: specifier: ^9.27.0 - version: 9.39.5 + version: 9.39.5(jiti@1.21.7) tooling/tsconfig: {} packages: + '@alloc/quick-lru@5.3.0': + resolution: {integrity: sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==} + engines: {node: '>=10'} + + '@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.1001.7': + resolution: {integrity: sha512-hUlYwqlsiDuPyhI5nQLgLZYKo0bFvMKaVk9JRfpb9S2kXxT2ZhyHZ5RTfH3PBpD3dMnDkGrA0/aY1AeAMFLmrQ==} + 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.978.7': + resolution: {integrity: sha512-QsYdn5xhvEBzcDC6bgKuvPv87kFtXK/3f5NqKfR+eok5AAn7RaZnkgBKncX+UW3ZMcjSELyAMATN0iqgZmvWVg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-env@3.972.78': + resolution: {integrity: sha512-d8V47OxkM/FKe7bVfk5Rga4aNGUaQNk3ip1PFIYhxtup9r8SuNIHLs4HfBAmHT25ZbzowluMHp833UXfFMQbhA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-http@3.972.80': + resolution: {integrity: sha512-OQqanXiRhnl/wBIJc3TtA7TYmnN7VO0mP95eVoHsLXtPwHz6HeccMpi7cqtnhHw+K7p6VIoAt2IK4M9Ixd9uGg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-ini@3.973.23': + resolution: {integrity: sha512-pTTRK7xoi8NNbrcjVUSd9YdMTUxiWEPfk8newBQCzV+VS5STh5sDPAy3iO29fSqipqNuCpILJcD6wAawxHvG+w==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-login@3.972.85': + resolution: {integrity: sha512-UHjnTeS+5OBFfRL+BQwCGJPJvnzjhGD6dIwncBJDa+ziyQjPUte9Q0I4BCkybGrHotnyiiluXj13bgelP14J5Q==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-node@3.972.90': + resolution: {integrity: sha512-+McgOQuAUze95AumVmoOBRp++Z8IjsZ0qOASb6+igHdKNzA0FiIf5kbTFaZ64txfd9KTBDpgvlEDGQE41lSq/A==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-process@3.972.78': + resolution: {integrity: sha512-bzB92SriflYf6LVRJcDv/a9I87tmkdmdE8hAqT1oRGKFkEH2rxxHeHZVK/4vsiRsFi44cUj0J9+bUSmqYX+26w==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-sso@3.973.22': + resolution: {integrity: sha512-MXUkWHgcf6G+TowL+QPvn4kJTEYKd9qHKMV6eNGXSA5lilDgGRrP3EXPHChZ3eZ7z+oprn/ZvOovLoS2WR3D8g==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/credential-provider-web-identity@3.972.84': + resolution: {integrity: sha512-6I3zYcDHt5ZM0J4gEuRgCHgN505k5haUiiPM46iIQgrHm2p70zpnssHFVYqHYfgJe3Mf+a5+nsF3BZmW4xcZNg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/dynamodb-codec@3.973.52': + resolution: {integrity: sha512-YVvRKW6bRvSnFf/LJQAwpUJ4NBWBnt5Q0Q9iBoaGKzPY3ADgOsoGNY6Xp6Lu13JAyLAcwBuC8Oqwkn/WTC30jA==} + 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.56': + resolution: {integrity: sha512-+pcACHMRU3qxyuXztlYArHXMl2j6dFVO9qAXDrbngimg5tZgKbTyniHHsrsLKuitaEfhuFSNczF6w/LnOGDeZA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-endpoint-discovery@3.972.36': + resolution: {integrity: sha512-kEQHZJh2WZWsIkhYLwJr0OZXSD8aLaamOJSVRR05SwCkgalrVbgqFAeXa/NzOWz+8dyURloFz4qj76d5mbx+fg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-expect-continue@3.972.52': + resolution: {integrity: sha512-DfXLnLm1WV40jPFMPkAUq4qxtvvL5YIkQ01Wwr+VizmoBtve3uLmhEu8wYWo44utLqG+IUdCfIvNv0gJuE8MtQ==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-flexible-checksums@3.974.62': + resolution: {integrity: sha512-iwBEuW5jFHEl9Bx6ZTBosBqR2fTlJNEaJrH1XAu7ZiNtrPoKq8iao9w7G01XZ1luhtSNKlQkowU69OJA0xzaNg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-host-header@3.972.53': + resolution: {integrity: sha512-2+PbN0kOsllvS47/XVJpexCKAei8BP+64fSanvAhuWQ9IzmfvksxtCUsrjXLp7OIjGeqI0PzxbMDlxIqPeWtFA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-location-constraint@3.972.49': + resolution: {integrity: sha512-0SVPE2PBR6VdMelRhdZNvnNzLVD5bRPH2Ull0Ot9yB+suD6e2slpO7o8xh+IUZbooKXLEr592T2D2q1NhkvXeA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-logger@3.972.52': + resolution: {integrity: sha512-+6IQEERiXt39Y9rlnk8IIW5858gi2Fc710QwGGsHS6Y+dh0NZv9X+G1mB7iwMf1MM0F6FGONMGhXZDowAcP9eQ==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-recursion-detection@3.972.54': + resolution: {integrity: sha512-iV84L19lDTTgkBtNB5v7107zbY54OvJlBsbKw5JPdCjllpSN41FkoWlzxDjX5a/75S8a4HeWAD4AFQiUpdZsgg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-sdk-s3@3.972.83': + resolution: {integrity: sha512-SPZ4knkYFQfNv423Yu5nCxKwRXjWCRWv2OIzO+t+ffjdu0Ux6HlClFjy10OBKwzzVFJs9YvgiHYSS21p+TG4xg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-sdk-sqs@3.972.47': + resolution: {integrity: sha512-fdvNvoZATQ3Q3/nkvLz1oK/8RmgfBrd3ahNnS1aIpsOa1ErbLpcjCI8ulK3GnhA0eEH8+ytNtUJg69gROPXdgw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-ssec@3.972.49': + resolution: {integrity: sha512-WbzwtI73r3Y3sw2m/3WKulcDNbBbQAbp4I/f/aN+AghFEJMssDyaHis9OmzVSQ5oXmPZvkBmS2dijbnRX/cwQw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/middleware-user-agent@3.972.82': + resolution: {integrity: sha512-7qlnpZ3ATA4u8i+CxUQJoEyeup3uwjnzL19Wi+nkYtwIJC4QJ8NW55sxiujlI6YqjgiTXtiFOdla//AA/plzLw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/nested-clients@3.997.52': + resolution: {integrity: sha512-/bNl6b3VEoWQg3Z8yHt3gzYjSFoOOv7+eUglzITmGP8H7jovN8c9NoOI+6bU25+lSLvyRpJOs4n8YSaX+BcUPg==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/region-config-resolver@3.972.56': + resolution: {integrity: sha512-PIosr8m82KMxhFDmdVTyhlZ6l7eb8y12BfZCFfIlgPttx0f3Qv2CuLkSQEtwNNQRtA5dsEGpjvVpZvelr0TdiQ==} + 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.50': + resolution: {integrity: sha512-Ob9GCZ3YnGPws696zTYW/rLFYHa9QLh6DgTCnkHb+0jhHNBgHWM8Ui2b+yrIjkfDsRVsglyrOey6tOOG/VWxMA==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/token-providers@3.1159.0': + resolution: {integrity: sha512-IJvghXXcEpqTWGjrjJwxBdEecHeXp+t9FaybRf8Zf0wYW84KN1snXBsYOdfDBBx78ChwfJxH8KIHqmhNZuDLcw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/types@3.975.0': + resolution: {integrity: sha512-WQlhs6juByzWOzj5fwxOx0mPJaEqMcG/sDpl3Id61B3XhKE63xY+0QWcnG+sWR/sCfprmreyUo1lM7IKZmHMzw==} + 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.53': + resolution: {integrity: sha512-qBlLpjoBlcPpsdm5Nv+ynw2vkbX+p+cHpfBsTZVLTJT6Tm8by8UpUtEX9AcfKCVHdzvRuTxGMsjBVuTjWS8ZVg==} + + '@aws-sdk/util-user-agent-node@3.973.68': + resolution: {integrity: sha512-X+10LuqEvRXyV+baoixylKAhVYMYCbrK7ieFzIfzbOPq1Fl+1q3cXO0E5CMgE5cx303oOaUnPdO+BPBX+7MgDw==} + engines: {node: '>=20.0.0'} + + '@aws-sdk/xml-builder@3.972.42': + resolution: {integrity: sha512-smX8/gNP8Kjq+CWTBMZQLQ912vOQjiWExzwzvMO+eujPB5RY8IbtF0AGdUUXHKN7KoDWK9dIcuW0WG269kiP6w==} + 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.20261023.1': + resolution: {integrity: sha512-lsEx0i7nR0PNG/erUFFHmQmiidEhLfDE5uQmAL9421/y4/ycuxDDOSaxu3VGGYFFPK5sduyUeMmjIlX4CwOBFg==} + engines: {node: '>=16'} + cpu: [x64] + os: [darwin] + + '@cloudflare/workerd-darwin-arm64@1.20261023.1': + resolution: {integrity: sha512-5e79fHgabdDD8EgmjOhJ1S+xMsf6DbC7fL7IgTBizMnzOp0P2isDn7pYmUxI9AJZE9FVQ4RUilH/I36YNg+GQQ==} + engines: {node: '>=16'} + cpu: [arm64] + os: [darwin] + + '@cloudflare/workerd-linux-64@1.20261023.1': + resolution: {integrity: sha512-VHQ6jKFSihjR2+x1buby8XTdBLLJztVnYiB7OLOTYO8aDXB+c1Rd2410PdgFuFYc4AgFEk6PCJLyCLL5L1KBnw==} + engines: {node: '>=16'} + cpu: [x64] + os: [linux] + + '@cloudflare/workerd-linux-arm64@1.20261023.1': + resolution: {integrity: sha512-ilpRHzfDN8YFRM5CLRKuFw40x/LJBS89yVdhdQmxehlVDuBqjKpJB++zPFbTgKRRFaNupgnXc8RHktXAIhgCmQ==} + engines: {node: '>=16'} + cpu: [arm64] + os: [linux] + + '@cloudflare/workerd-windows-64@1.20261023.1': + resolution: {integrity: sha512-279WLVjNsMycAwr0EZNiNEf0l2SY6NUtsN80NwZzbTHzakmiN+WSx4w38muxPm+PAU0oSPPAPXKVD+H6Hya8xw==} + 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.3.0': + resolution: {integrity: sha512-yTtZaVQt7DYnOaCm9BzhoTytGDAL5j49HCoFd9Vt/UlEFVSbkTEPHd23QmlPARYEqsJSUZEx43Avw9oQrWJINg==} + + '@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,74 +676,692 @@ packages: resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} engines: {node: '>=18.18'} - '@turbo/darwin-64@2.11.10': - resolution: {integrity: sha512-By4idRap5+nLnMuRzLB4qkOPRlvNdyY1ne4VJYDyUoUB11H94k7uif9mbe3JT8JSNXs1D68uMcBj6hJ/jMQRvA==} + '@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.10': - resolution: {integrity: sha512-pyEYlVcuexOPa92p0Wlwl9YT1Is5D60lxN3ItWm3g30YLvFaUq86TF4BBWg5ZAc0uMTnrOzCvuCsOBTdzUWnRQ==} + '@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.10': - resolution: {integrity: sha512-1tYeR/IDZ5HEdsb0jNq2L2xam5nMQ+g80tlV2BZmv4OFw+pMcUM0mMmUcfc5wXPPNHVNPuDMjh9Y8G8HgXPLZA==} + '@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.10': - resolution: {integrity: sha512-HuekQxvVGhUd46g1Im/DKdOtglHr4/gguZAvzEpPUgtxNkztSa8lWhQEGQ+EmPQ0n7w19qjThFU+OfEEd0uvlw==} + '@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.10': - resolution: {integrity: sha512-UJOP3BkbreY3/JlMgJR6ZiimxYIBn+c+B4tnBIxD0E9c3Estmk+XoVNVBNBottZLNRXe3/ScgOU4+/k8tIWysg==} + '@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.10': - resolution: {integrity: sha512-xOkEjF3ws/b/YNlc+bvJHMYBn+vL+QbEISZFVi0qS+ImmhA1X3/gmNmBrjjIG3dg6aeN+n6gQitzSkXQ286qJQ==} + '@img/sharp-linux-arm64@0.35.5': + resolution: {integrity: sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + 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] + + '@img/sharp-linuxmusl-arm64@0.35.5': + resolution: {integrity: sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + os: [linux] + + '@img/sharp-linuxmusl-x64@0.35.5': + resolution: {integrity: sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [linux] + + '@img/sharp-wasm32@0.35.5': + resolution: {integrity: sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==} + engines: {node: '>=20.9.0'} + + '@img/sharp-webcontainers-wasm32@0.35.5': + resolution: {integrity: sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==} + engines: {node: '>=20.9.0'} + cpu: [wasm32] + + '@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] - '@types/estree@1.0.10': - resolution: {integrity: sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==} + '@img/sharp-win32-ia32@0.35.5': + resolution: {integrity: sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==} + engines: {node: ^20.9.0} + cpu: [ia32] + os: [win32] - '@types/json-schema@7.0.15': - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + '@img/sharp-win32-x64@0.35.5': + resolution: {integrity: sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [win32] - '@typescript-eslint/eslint-plugin@8.72.1': - resolution: {integrity: sha512-5CokTWXpmbylfFabsbvHC0CAw3XLaGnoa+nFJX5FR592h/LoZsENUE6p/rg5xvkKrFEXz6pYmgI29AgXc2N3BQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - '@typescript-eslint/parser': ^8.72.1 - 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/parser@8.72.1': - resolution: {integrity: sha512-ZGwZP4OCfyA0AQTpEAMWz+rtX01DRhQWW5hB0ucKDEIX5U7jdmPSaMx94rQfaPAQzIYz2BimOgKOJtjfpRFQ9g==} - 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/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} - '@typescript-eslint/project-service@8.72.1': - resolution: {integrity: sha512-fAuVMkwdO/huI8nyo/WKnNKf6Gag93S56Rh3Ts5mGcavwSdaN8tRg1gCeIGX8PF+nzp1BjGfO4gHhGzW1J6jTg==} - 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/scope-manager@8.72.1': - resolution: {integrity: sha512-lC/t6eMCZZQAAKZEYGL6RDVSuFehpdmMT6h+nJIjIa6oylN/PwDgDVtEIbB7O9xFfZYtZAYLoLlDNWKJhtF+uQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@jridgewell/source-map@0.3.11': + resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==} - '@typescript-eslint/tsconfig-utils@8.72.1': - resolution: {integrity: sha512-e4D5R5vpeAEPBxT2BAzsFQL3sbwyeeeo5+aczgNSRK1V734jE7pTqaGFU+fXapWEQwnZbpFaTn32+Z8DwS6OTg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '>=4.8.4 <6.1.0' + '@jridgewell/sourcemap-codec@1.6.0': + resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==} - '@typescript-eslint/type-utils@8.72.1': + '@jridgewell/trace-mapping@0.3.31': + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + + '@jridgewell/trace-mapping@0.3.9': + resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + + '@napi-rs/lzma-linux-x64-gnu@1.5.1': + resolution: {integrity: sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==} + engines: {node: ^22.20 || ^24.12 || >=25} + cpu: [x64] + os: [linux] + + '@next/env@16.3.8': + resolution: {integrity: sha512-Al9zqHVV7TJv0eFuOU4U7Lvv74PTih4Ch63sk2xCIpSTkE3udFnaOcnzP2lQVymiL7yS9Cj2iClUXlR3EQ5sEw==} + + '@next/swc-darwin-arm64@16.3.8': + resolution: {integrity: sha512-2JPRMh2nmQG5CiL7cXGL9AGwnPWJQ//cTtAUCT+w511QHk79SYz3LGv/pc5X643B/WEO0rvu3Yww0hqwt3kgeA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@next/swc-darwin-x64@16.3.8': + resolution: {integrity: sha512-GZtCCOBKJ4leVIT/Th0llWKhD1ca92lzbQiS5R5ON9QkoiFnilFsebDae1JU2a3HWoKMEmEZWGs1AGLavVM72Q==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@next/swc-linux-arm64-gnu@16.3.8': + resolution: {integrity: sha512-O659ygeQYqneJ1fBKMpFxIFqYkYswu8IAS1OCKK/4f3ZgJJm1dRz4fVJZRi/kLLWjnBKnebOePA4WNv+sV1pVA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@next/swc-linux-arm64-musl@16.3.8': + resolution: {integrity: sha512-dSjKSyWpzxoO1d3DIZZcP4XJcNaKeLmxQMFOiYl5vuBRMmweIqnAhty8tAmRsvTss779cK1FtYnDMj40e4TQlg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@next/swc-linux-x64-gnu@16.3.8': + resolution: {integrity: sha512-lbqOuz3RPRcv+o9msNsJw5x4+Y1ZwPTs6vmL6DCf7i0fZfvng/F59wyeDwqHIvV0mK//RBy/jJkZ+nCKsSMXjQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@next/swc-linux-x64-musl@16.3.8': + resolution: {integrity: sha512-+316WswI8ScVgZeUd+1KGaXkHhaYQzCjvH/05TZSpJ8zBizb1a4G7DtO7F12jcBIqMOtsz9ji1t48fmKtzqsGA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@next/swc-win32-arm64-msvc@16.3.8': + resolution: {integrity: sha512-ji0gd4kMYUxO+1fJBIbiBVRCjzG/lloiyCccnlebvb1ZJ5qXCPZqYg4Jl1DrrixnWNMKylzgpmMWx0yNDYXlzw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@next/swc-win32-x64-msvc@16.3.8': + resolution: {integrity: sha512-WcTlaKt/TWkh5kUjdJcUmB1XgZ+1c6fz4Y9fDHL73YNSdGaUWjceeWrrlwF0nv19iABYWC4iAq1oX1w4Bn0vfg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@node-minify/core@9.0.2': + resolution: {integrity: sha512-FNhv29Wom6wKrrFKaeAfmZqz7TX5A1E6P+bpd0VIc+DYWMLUIhAViS8riaZg3A1oD0s06s+5BG2Fg7RqMKiKHw==} + engines: {node: '>=18.0.0'} + + '@node-minify/terser@9.0.1': + resolution: {integrity: sha512-WF78Ex+/xNZZDYvzwB7+sLUYQbJzyyS36ZjMhVqhORejHOsoOcTjQ9TdOgKZoY7wlfxjnLxeMKkO8R/R1KL9aQ==} + engines: {node: '>=18.0.0'} + + '@node-minify/utils@9.0.1': + resolution: {integrity: sha512-aC1+mhKTP3IMa2VcuGl3ui92LO/7CPQWldNGzu3BVGKiMNJ70AKJW/R6huuYCSuQyHDGM9oFwiVClsZnFxn67g==} + engines: {node: '>=18.0.0'} + + '@nodelib/fs.scandir@2.1.5': + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + + '@nodelib/fs.stat@2.0.5': + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + + '@nodelib/fs.walk@1.2.8': + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + + '@opennextjs/aws@4.1.10': + resolution: {integrity: sha512-5/86E8ZPH/Va9KY0UPa7J245vceZvT2YH8MZzJj0poX9ELFF6h5/sqYik1MI1K16wAGbQdgiNJ332McRDwPfFA==} + hasBin: true + peerDependencies: + next: '>=15.5.27 <16 || >=16.3.8' + + '@opennextjs/cloudflare@1.20.11': + resolution: {integrity: sha512-NVzPivHxaxWuV4mtSUMJOvxpdJVBir9mGjHLlze8em0KojledQR6rGWPnDEuYz1p6yikOLCBr9py1hJHLMftwQ==} + hasBin: true + peerDependencies: + next: '>=15.5.27 <16 || >=16.3.8' + rclone.js: ^0.6.6 + wrangler: ^4.148.0 + peerDependenciesMeta: + rclone.js: + optional: true + + '@pkgjs/parseargs@0.11.0': + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + + '@poppinss/colors@4.1.6': + resolution: {integrity: sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg==} + + '@poppinss/dumper@0.6.5': + resolution: {integrity: sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==} + + '@poppinss/exception@1.2.3': + resolution: {integrity: sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==} + + '@rollup/rollup-android-arm-eabi@4.66.0': + resolution: {integrity: sha512-7y4XeoUHPecjfUDRmap8U0q6bjfLAPn7uOGT8BKyqy8uNDOjsGS8rlBhOx6sZLVwwjN6hapvGl2mW9/IS6UNww==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.66.0': + resolution: {integrity: sha512-e8WugYZXpgqrlMXLCudYVRAxAcK7AIY36JxRDwFRD38L9q62G1VsEUW6ijXxzjxYjNB8i1zo3B/ycIQ/qjLC/Q==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.66.0': + resolution: {integrity: sha512-6vkDCfyDjNLokh+Rt1D2KtNgFFMEPdkWha/mbtP4cSjh9xiN8T/JBS/A7nDYKjmMAXHrvR9J3AzUk2LtFbIBLg==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.66.0': + resolution: {integrity: sha512-/mzZAX0+Q6eXxvkR0HB0RZCCrsbmFD8DpsvCQoMYABDfq/DjqkbfytuJ7GvZ4AhR/Mgis2fXbZrGqfbcK2Z5fA==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-freebsd-arm64@4.66.0': + resolution: {integrity: sha512-JQJx9E8tUjGqed1RevDmoHaS3V30ODdV8uyvGxlwd4K5se6bkPrMeltSybqAtpJ+ltDRfo7FORQaJG2Hd5nGog==} + cpu: [arm64] + os: [freebsd] + + '@rollup/rollup-freebsd-x64@4.66.0': + resolution: {integrity: sha512-GEaUQQjMaG7X1304qMgqLjzCKv6CdDirzJSS+UqUs3xhJ9X2Kjzu0JDbLoUU42FWxwmZqz+SsgU1SlQv9GNRVA==} + cpu: [x64] + os: [freebsd] + + '@rollup/rollup-linux-arm-gnueabihf@4.66.0': + resolution: {integrity: sha512-DgmAU9N0NhDQDzHgFUocDio7zRO8jR/nY/obDGvCR8zbJ6J77Fg6X49yPuExJUpYPbC82EOaRhG969pWzUSnHQ==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.66.0': + resolution: {integrity: sha512-zG09YZ+sk/HoHq+P9gYB0EseQ3M20RbDuKGWey6fbiMDV1LxfXvhgSW9jDaCcvFPMgfLXpimzXY+UYvA8R2mLQ==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.66.0': + resolution: {integrity: sha512-vlArhgyXbcVc1D4WZPoiYuqJIaMiSHBj6etRXua0KlfjlZeuiQyVAPYi0/N49O4mSp3u1iGUBLEjNa8ec81XZg==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.66.0': + resolution: {integrity: sha512-RxJZtk0G87YPotDaRDvRqStV8cbqLSC5TroHvQHHKsqBg0ok64RxKgtXeFsa7FBcy7mb4crBrG3xK8USWIqWNA==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-loong64-gnu@4.66.0': + resolution: {integrity: sha512-qlGcw959PrLLkZhiBxF3OZ6SQvj+OKY85mCqGNgSRs4LZlDJ6ICqmz6UdxtINdhcXYwNIbZoapQVBAmZlD2hUQ==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-loong64-musl@4.66.0': + resolution: {integrity: sha512-TvTI/7Cy0WvRA1SXgwzu6bwXBnMpmeT/ln5q7WvSpqmXy1VbmEnY8HVIDQNBiaHJvoWqRr0M4FNo7qiqtyMaFw==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-ppc64-gnu@4.66.0': + resolution: {integrity: sha512-UZEDkSoDRZ50NyLj70nO6mpIK3dvs2cPTTvQb1bA/PBDmr9fvn5KiESuGfh6srd7Zi6Lt9Sv2sVrFr1QoHLvPQ==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-ppc64-musl@4.66.0': + resolution: {integrity: sha512-VRbxTvagLh3HRcysx1CNq+HHcvJbSebNI6fCbk7jwmmWHkXjrSIV3igXBpRHUTFdg0pagWGu50xoSZXnrZHjVQ==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.66.0': + resolution: {integrity: sha512-uWdJpvYqh0LE/i+YBL3sMX0a2kUkICENjmrPmyBmMOFc3jMrs6MSQH/pMD+VIpGEoUcr3XkHGLLfymzIqPSRRg==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-riscv64-musl@4.66.0': + resolution: {integrity: sha512-3FUd88pxgWAjK60OgCrika1AcNG+u8zaCdWjg4TlcZTDkt5TGyci8ZU64l3OJ9ax0MEjw3P80B/3PoSQDCLwJQ==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.66.0': + resolution: {integrity: sha512-qT2rMmgyej62g5AdwktK+Bt2lBu497pzWZe12TTQ5JmZjOYPnEwcPEAOSLTBxBV+6gIES75rXm219v/QkT397A==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.66.0': + resolution: {integrity: sha512-E46rnZgp7J84Qwe8RMlF+rgimnDo/9fuiGbUArGB0ZkMWf97O7yeSCfKls5x/YJOF0RcuSe9RctuKe1hlxICiA==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.66.0': + resolution: {integrity: sha512-Uz1HiZe+qBzqgdPsON+z0wRx3WdATuyzwvGT6cr2VZVrqqko0ZJVfkrQJtwDMuDcAfXYdo7XucaxJ7lTLjEcgg==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-openbsd-x64@4.66.0': + resolution: {integrity: sha512-Ph7TX3Ex5qdfcb7Tc6eEPugVkRfJ501eTovO4T5029YObfpZ7dzn3RiwpFvGp50nk2QUhvBMZ0PFGlEj6pOYTg==} + cpu: [x64] + os: [openbsd] + + '@rollup/rollup-openharmony-arm64@4.66.0': + resolution: {integrity: sha512-nZYPEya7ZkeNxUEiF7qmNZbyLTyRN3MK5cO22KqsaoneUzXJuzBIQRw+7BEQy9LGj2O5vrCE9V3EpK06FYo1tQ==} + cpu: [arm64] + os: [openharmony] + + '@rollup/rollup-win32-arm64-msvc@4.66.0': + resolution: {integrity: sha512-u7aTfS3R6C4hRsqXSzaO6qLZYLVuMkHMvcWlux4IM8IJif1VCl2cgPBSo5gSNoFoStQypQP+qwq8W1IyFBf1QQ==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.66.0': + resolution: {integrity: sha512-e+i9ueHrH1Bafb0cf0woAIVJbYcoC8vRaD+vz+Xi8w6jz9cYJSV3vyKO6ELGSZ6g4W4MJOm2WPLN4/nQf77h7w==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-gnu@4.66.0': + resolution: {integrity: sha512-KfTCbrtr2zXTqH2E1F+uYlFTrYibxHKqPAHobpd8Kfg49cEHmuHebOidCTDRgqG1suaPFX7oejFQeGE71zWKfA==} + cpu: [x64] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.66.0': + resolution: {integrity: sha512-xA+neBh1bqkqaS3b48T2UHZnDsTIpb9B0h+TdBzynjF/ymCpYndhfY10RqW0qSKB1HqqQA83mINVhAdwA+mETg==} + cpu: [x64] + os: [win32] + + '@sindresorhus/is@7.2.0': + resolution: {integrity: sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==} + engines: {node: '>=18'} + + '@smithy/config-resolver@4.7.2': + resolution: {integrity: sha512-Y1XfSefHIOub9762qm3ShafdlEE/Va8h3kLUeMq765fNeWeNLcOP2YUPr86H1SlyGwZTOqQ67RlBZPZ3k9Djgg==} + engines: {node: '>=18.0.0'} + + '@smithy/core@3.37.0': + resolution: {integrity: sha512-97imTcCyiPd8k0e9+ts/Sp0W65Dn9Ti357J7M09Ov4tI8Q1JDJVFSoAJtjEVKqfHEr3Pdo2jfolqKCaaiszH0g==} + engines: {node: '>=18.0.0'} + + '@smithy/credential-provider-imds@4.5.2': + resolution: {integrity: sha512-A9uSdn72ozbRUSit0eib0TW7nXuNPlaeM0zcGkJ+nE6tFcSDbnmtwoxbTCFBukVQcszDAyvsd7+rTduPTXpygg==} + engines: {node: '>=18.0.0'} + + '@smithy/eventstream-serde-browser@4.5.2': + resolution: {integrity: sha512-HQ4l596buGUPnypSGfoYKp17GvR0sMMKyc6PQ/NHxLmh8sQjP7h3TRvy+lW/et12UN9BRPAbHJKa4d3XMMVszQ==} + engines: {node: '>=18.0.0'} + + '@smithy/eventstream-serde-config-resolver@4.6.2': + resolution: {integrity: sha512-GVWpmVKiVAvZDr3E0qRPu+A7TzeeMUctuP9SoFpzGx31lenW3Wk8zq7N97p8sJMwLCyVhXcbv5D0UTURCHdH0w==} + engines: {node: '>=18.0.0'} + + '@smithy/eventstream-serde-node@4.5.2': + resolution: {integrity: sha512-WkWkseIHXv+hr6RnrkpEOv5TOPHWLzzlOsocnPCCKsdfCOkBN7qhBn1/Pij9QZynkloJXYsQp9A5ykdIPVL2tg==} + engines: {node: '>=18.0.0'} + + '@smithy/fetch-http-handler@5.8.0': + resolution: {integrity: sha512-ycSJu3tFAQ4v04CBB0agqFMVsSQ1iG3yw+SpgxRqKfaURpQD4CZ8Wn0zPMmSnOuTpTh65Vz+EA0rMrw089wvkA==} + engines: {node: '>=18.0.0'} + + '@smithy/hash-blob-browser@4.5.2': + resolution: {integrity: sha512-+fx5GrWB/EElSRl/z+MQXa5RMaGH4ZH/MyZbBgH7CDE053KLD9o4kLGdrBGe8KicU/t22cHzdZs2cVwGL1yt9g==} + engines: {node: '>=18.0.0'} + + '@smithy/hash-node@4.5.2': + resolution: {integrity: sha512-OcD8fGClTkP0BWHVEAgUp1RZyCw8cKfqTPQ+DgrSF5jvR8zKkw2Aud79L4G/1Fu3QKLcsHExxRIPQCcKx7+xkg==} + engines: {node: '>=18.0.0'} + + '@smithy/hash-stream-node@4.5.2': + resolution: {integrity: sha512-0sx3A9RyCV8taQ1UM9P7K9JFH2bsLXhdIr85vNNXkhq7Q9TqUdm+XxGiBuInq76aA7vBdvUQFvvyBoB95DJf3Q==} + engines: {node: '>=18.0.0'} + + '@smithy/invalid-dependency@4.5.2': + resolution: {integrity: sha512-VONOgtCxIXtwXrLVZPUdxOELYpkFzNizkpbQE5CrJ/OEh12Osx+LVXsLEAF+JcvVqPODmUoOUaovlOjCQHTOow==} + engines: {node: '>=18.0.0'} + + '@smithy/is-array-buffer@2.2.0': + resolution: {integrity: sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==} + engines: {node: '>=14.0.0'} + + '@smithy/md5-js@4.5.2': + resolution: {integrity: sha512-EC8CXhy/Y3DHniNBPK63ECkYir91IpFhIbVOo/Z7y75hO3RMFY0v+b6MUPLVp0TBtTRo+A5uU73yqyrTecTJmw==} + engines: {node: '>=18.0.0'} + + '@smithy/middleware-content-length@4.5.2': + resolution: {integrity: sha512-43Ixsc2OE5rhruhc9a1vETUCmK3Yh1AIbg2+wwQUgloOIti2FgPHmPLLBkjIqx8vdmpABtsVlhazNr5TMZKJmA==} + engines: {node: '>=18.0.0'} + + '@smithy/middleware-endpoint@4.7.2': + resolution: {integrity: sha512-7HgK3/pQQHcD5w9lOPtK53/eDMKDp324Nd4KZ8XvxlcKHiWytuM9VwVOB2iy3rutsz/N1WNEWBkaRBayrGnuog==} + engines: {node: '>=18.0.0'} + + '@smithy/middleware-retry@4.8.2': + resolution: {integrity: sha512-wj0BTZ6SC7YI8hSLMbZCO1BP7k8JOuSUHjRYrZJApqNEiHL6jxaLs5Sr92EeXu5CuVzZOUCFUuewXusWxps0bQ==} + engines: {node: '>=18.0.0'} + + '@smithy/middleware-serde@4.5.2': + resolution: {integrity: sha512-5Qeqkw4IdmUQUGR/FRImBruFcnXiwGC8+EOVH377bonkQF66temzxM4HbCnOOQb8U/SClP1IdlFbC7CTmKux4Q==} + engines: {node: '>=18.0.0'} + + '@smithy/middleware-stack@4.5.2': + resolution: {integrity: sha512-db1TDSBA03WtomPMLWPy69L85vEaQbbnDHlmCYQ7hIqOdD22K+k8GlsVYdafYKaFkJaJW2OvcgcXOELGfhtptA==} + engines: {node: '>=18.0.0'} + + '@smithy/node-config-provider@4.6.2': + resolution: {integrity: sha512-zMrXu/O5tPa7GLtra8L4wFG6DACcXT9QV4Ay+WEAjUhXm1dVq7c/q9Qv9gkJZNLY8hmQKg08778kDcxpKNMqOA==} + engines: {node: '>=18.0.0'} + + '@smithy/node-http-handler@4.13.0': + resolution: {integrity: sha512-/GGcPoNJ2nzGytdAanpbx7mpp9Coa8LP+/Rpmbktr8YeLuIXs9B0SEz+X3AeonHdyzOIFJdKbN7jOZ+Tj+pMGw==} + 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.4': + resolution: {integrity: sha512-tHy0K0VtqNd5Y7Y41h0a0Lhh0L1GzC08dTWg0F7vRJWFtTENg7IZikf3wQkanYIRdb7ngoIPMTmqgUi401fEeQ==} + 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.19.0': + resolution: {integrity: sha512-r7jh49VJxGerfAcTQA6gXcKc+98zOp/tqRwzYjgOE+iSQsP6cEU1hq2QzbuipmP68QtYdY9wKEhiCQZIzHgZ4Q==} + 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.23': + resolution: {integrity: sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==} + + '@tailwindcss/forms@0.5.11': + resolution: {integrity: sha512-h9wegbZDPurxG22xZSoWtdzc41/OlNEUQERNqI/0fOwa2aVlWGu7C35E/x6LDyD3lgtztFSSjKZyuVM0hxhbgA==} + peerDependencies: + tailwindcss: '>=3.0.0 || >= 3.0.0-alpha.1 || >= 4.0.0-alpha.20 || >= 4.0.0-beta.1' + + '@tailwindcss/typography@0.5.20': + resolution: {integrity: sha512-hwbzQuNUfcPvbegQFatVPl/MY/tcM9KLl963hQ5laJKPh81TEZ1+dNG9PirGvcaDBkp+BCshExAyKVPW91dozw==} + peerDependencies: + tailwindcss: '>=3.0.0 || >=4.0.0 || insiders' + + '@tanstack/query-core@5.105.0': + resolution: {integrity: sha512-7p56vRmT/z4UJ6sctGIdl5WRUQyUv53IUpUwEKi2g97zMbO7zh8ZsCLffGAvCPBR4xD72e3VXsDyLwXHhoNTMQ==} + + '@tanstack/react-query@5.105.0': + resolution: {integrity: sha512-y+hMuDERvgg6ay1da0V1a6ZC0ZONt7dELxSFkqRZuwm7p1TTZs0MoXrPlBRflIpRoYjvzQVYxycnLImpFLhWrw==} + peerDependencies: + '@types/react': ^18 || ^19 + react: ^18 || ^19 + peerDependenciesMeta: + '@types/react': + optional: true + + '@tsconfig/node18@18.2.7': + resolution: {integrity: sha512-UyenTORreCUh8MKh2qbLGGHTRrxjBbSwvX0ZoWs6Jx1jrNS62PXEA3+VaLvmb0YDQrgGU3v3h7zB9Xs/BN1ozg==} + + '@turbo/darwin-64@2.11.10': + resolution: {integrity: sha512-By4idRap5+nLnMuRzLB4qkOPRlvNdyY1ne4VJYDyUoUB11H94k7uif9mbe3JT8JSNXs1D68uMcBj6hJ/jMQRvA==} + cpu: [x64] + os: [darwin] + + '@turbo/darwin-arm64@2.11.10': + resolution: {integrity: sha512-pyEYlVcuexOPa92p0Wlwl9YT1Is5D60lxN3ItWm3g30YLvFaUq86TF4BBWg5ZAc0uMTnrOzCvuCsOBTdzUWnRQ==} + cpu: [arm64] + os: [darwin] + + '@turbo/linux-64@2.11.10': + resolution: {integrity: sha512-1tYeR/IDZ5HEdsb0jNq2L2xam5nMQ+g80tlV2BZmv4OFw+pMcUM0mMmUcfc5wXPPNHVNPuDMjh9Y8G8HgXPLZA==} + cpu: [x64] + os: [android, linux] + + '@turbo/linux-arm64@2.11.10': + resolution: {integrity: sha512-HuekQxvVGhUd46g1Im/DKdOtglHr4/gguZAvzEpPUgtxNkztSa8lWhQEGQ+EmPQ0n7w19qjThFU+OfEEd0uvlw==} + cpu: [arm64] + os: [android, linux] + + '@turbo/windows-64@2.11.10': + resolution: {integrity: sha512-UJOP3BkbreY3/JlMgJR6ZiimxYIBn+c+B4tnBIxD0E9c3Estmk+XoVNVBNBottZLNRXe3/ScgOU4+/k8tIWysg==} + cpu: [x64] + os: [win32] + + '@turbo/windows-arm64@2.11.10': + resolution: {integrity: sha512-xOkEjF3ws/b/YNlc+bvJHMYBn+vL+QbEISZFVi0qS+ImmhA1X3/gmNmBrjjIG3dg6aeN+n6gQitzSkXQ286qJQ==} + 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.9': + resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} + + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + + '@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/nprogress@0.2.3': + resolution: {integrity: sha512-k7kRA033QNtC+gLc4VPlfnue58CM1iQLgn1IMAU8VPHGOj7oIHPp9UlhedEnD/Gl8evoCjwkZjlBORtZ3JByUA==} + + '@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.1': + resolution: {integrity: sha512-5CokTWXpmbylfFabsbvHC0CAw3XLaGnoa+nFJX5FR592h/LoZsENUE6p/rg5xvkKrFEXz6pYmgI29AgXc2N3BQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + '@typescript-eslint/parser': ^8.72.1 + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + + '@typescript-eslint/parser@8.72.1': + resolution: {integrity: sha512-ZGwZP4OCfyA0AQTpEAMWz+rtX01DRhQWW5hB0ucKDEIX5U7jdmPSaMx94rQfaPAQzIYz2BimOgKOJtjfpRFQ9g==} + 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.1': + resolution: {integrity: sha512-fAuVMkwdO/huI8nyo/WKnNKf6Gag93S56Rh3Ts5mGcavwSdaN8tRg1gCeIGX8PF+nzp1BjGfO4gHhGzW1J6jTg==} + 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.1': + resolution: {integrity: sha512-lC/t6eMCZZQAAKZEYGL6RDVSuFehpdmMT6h+nJIjIa6oylN/PwDgDVtEIbB7O9xFfZYtZAYLoLlDNWKJhtF+uQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/tsconfig-utils@8.72.1': + resolution: {integrity: sha512-e4D5R5vpeAEPBxT2BAzsFQL3sbwyeeeo5+aczgNSRK1V734jE7pTqaGFU+fXapWEQwnZbpFaTn32+Z8DwS6OTg==} + 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.1': resolution: {integrity: sha512-iY2wlmyrXJmx4yxUGP3aYCFF3cA/6ShddOKmLU2dx7LnEykbAM8WThlxZEfd1NddqceF6eJmZUayxx9oKIYNlg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: @@ -193,6 +1389,43 @@ packages: resolution: {integrity: sha512-SB8xqipSzZHUePCCLNeYxqnxq83X61/qzNhjQGbTfjxGZIeOEP7tBgWYX05Tcd6CgE02WdTJnh5b8kMZJ/+bnQ==} 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: @@ -203,16 +1436,66 @@ packages: engines: {node: '>=0.4.0'} hasBin: true + 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'} + + ansi-regex@6.4.0: + resolution: {integrity: sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==} + engines: {node: '>=12'} + ansi-styles@4.3.0: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} + ansi-styles@6.2.3: + resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==} + engines: {node: '>=12'} + + any-promise@1.3.0: + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + + anymatch@3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + + arg@5.0.2: + resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} + 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==} + + autoprefixer@10.6.2: + resolution: {integrity: sha512-VOw9/yGTGwPPgzFcODtcv6zhEPIeIWkRSe10L2ri2f5vZ7ID7lCt6jZzRF5/ubgOZ+szYydmEF5AYsA5jxX1tA==} + engines: {node: ^10 || ^12 || >=14} + hasBin: true + peerDependencies: + postcss: ^8.1.0 + + aws4fetch@1.0.20: + resolution: {integrity: sha512-/djoAN709iY65ETD6LKCtyyEI04XIBP5xVvfmNxsEP0uJB5tyaGBztSryRr4HqMStr9R06PisQE7m9zDTXKu6g==} + balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -220,21 +1503,115 @@ packages: resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} engines: {node: 18 || 20 || >=22} + baseline-browser-mapping@2.11.34: + resolution: {integrity: sha512-Aqr8mA1kIvyJ3UY5YAY7ib8LSo1DmDMbMnVqGPtsKW1LxaFQFwn9Eb3yvq2fUKJsRvaXjnAV7R5osqETapzNiA==} + engines: {node: '>=6.0.0'} + hasBin: true + + binary-extensions@2.3.0: + resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} + engines: {node: '>=8'} + + 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.21: resolution: {integrity: sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==} + brace-expansion@2.1.7: + resolution: {integrity: sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==} + brace-expansion@5.0.12: resolution: {integrity: sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==} engines: {node: 20 || >=22} - callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + + browserslist@4.29.5: + resolution: {integrity: sha512-khTmKu5NGYTotqcYo8Bew2k4RAE9PuXRSFRXG2lQBrCEQHyeQ/vX6gKMxfokwywBsLiXZMnHsmWMG1pnO8J7uQ==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + 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'} + + 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'} + + camelcase-css@2.0.1: + resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} + engines: {node: '>= 6'} + + caniuse-lite@1.0.30001819: + resolution: {integrity: sha512-LFUqIIAwpzsIuevnKnsR9qnStBcgzPShTX61lBwN9uFkkf8o8zLiebEjbW8AYtZiF+1YKDWfdt/pWDtMuG8Xwg==} + + 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@3.6.0: + resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} + engines: {node: '>= 8.10.0'} + + ci-info@4.4.0: + resolution: {integrity: sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==} + engines: {node: '>=8'} + + classnames@2.5.1: + resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==} + + client-only@0.0.1: + resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} + + cliui@9.0.1: + resolution: {integrity: sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==} + engines: {node: '>=20'} + + clone@2.1.2: + resolution: {integrity: sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==} + engines: {node: '>=0.8'} + + 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'} @@ -242,13 +1619,56 @@ packages: 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==} + + commander@4.1.1: + resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} + engines: {node: '>= 6'} + + 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'} + cssesc@3.0.0: + resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} + engines: {node: '>=4'} + hasBin: true + + 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'} @@ -258,9 +1678,122 @@ packages: 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'} + + didyoumean@1.2.2: + resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} + + dlv@1.1.3: + resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} + + dom-serializer@2.0.0: + resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==} + + domelementtype@2.3.0: + resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} + + domhandler@5.0.3: + resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} + engines: {node: '>= 4'} + + domutils@3.2.2: + resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==} + + drupal-jsonapi-params@2.3.1: + resolution: {integrity: sha512-Isx6dudrFhORCl87OWHHO2LpQIAha5d6n7+/fwngsgcQs4PYeZcmTAA3pKUmvfyyFgCJ0N4fLAJQHyf4jtgiDA==} + + 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==} + + ee-first@1.1.1: + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + + electron-to-chromium@1.5.467: + resolution: {integrity: sha512-Nw9X371rtZmYcBSnEijnCDONILjs93biCZO34juC7MBOmK8E+GFnyD4T/WvyrlJkppul7oxg6TwvtKst9SODTw==} + + 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.1: + resolution: {integrity: sha512-Ev/hIyePLZtpL98x562lvPtenrUfGr0lfaf44HFZ+hDEwso7ccV9QAZrEVLg0hxNAzygaAFxy2dYaAKKM0G06A==} + engines: {node: '>= 0.8'} + + enquirer@2.4.1: + resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} + engines: {node: '>=8.6'} + + entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + entities@7.0.1: + resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==} + engines: {node: '>=0.12'} + + 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'} @@ -296,6 +1829,11 @@ packages: 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'} @@ -308,19 +1846,45 @@ packages: 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-glob@3.3.3: + resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} + engines: {node: '>=8.6.0'} + fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + fastq@1.20.3: + resolution: {integrity: sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==} + fdir@6.5.0: resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} engines: {node: '>=12.0.0'} @@ -334,6 +1898,14 @@ packages: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + + 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'} @@ -345,18 +1917,128 @@ packages: 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'} + + fraction.js@5.3.4: + resolution: {integrity: sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==} + + 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@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + 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.6: + resolution: {integrity: sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==} + 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'} + + html-dom-parser@5.1.8: + resolution: {integrity: sha512-MCIUng//mF2qTtGHXJWr6OLfHWmg3Pm8ezpfiltF83tizPWY17JxT4dRLE8lykJ5bChJELoY3onQKPbufJHxYA==} + + html-react-parser@5.2.17: + resolution: {integrity: sha512-m+K/7Moq1jodAB4VL0RXSOmtwLUYoAsikZhwd+hGQe5Vtw2dbWfpFd60poxojMU0Tsh9w59mN1QLEcoHz0Dx9w==} + peerDependencies: + '@types/react': 0.14 || 15 || 16 || 17 || 18 || 19 + react: 0.14 || 15 || 16 || 17 || 18 || 19 + peerDependenciesMeta: + '@types/react': + optional: true + + htmlparser2@10.1.0: + resolution: {integrity: sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==} + + 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'} @@ -373,632 +2055,4036 @@ packages: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + inline-style-parser@0.2.7: + resolution: {integrity: sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==} + + ipaddr.js@1.9.1: + resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} + engines: {node: '>= 0.10'} + + is-binary-path@2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + + is-core-module@2.17.0: + resolution: {integrity: sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==} + engines: {node: '>= 0.4'} + 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-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.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'} + + jiti@1.21.7: + resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==} + hasBin: true + + 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-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==} + + jsona@1.14.0: + resolution: {integrity: sha512-MHtdziqemqjG4KBsFG60cITQjIOZg7xw3gJ9+Hb4tSfMewKmHstbbXM8CX291A7CdUeuSU5slu6WfHNTeOgWOg==} + + 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'} + + lilconfig@3.1.4: + resolution: {integrity: sha512-zJZyBmQhArDRefuWTypZxwDpFDIYmrj8ypSBvwGD5P13Y95s6DjzKgu4DVdGbeQa5PDEsAOCAPNk4X+QOR006w==} + engines: {node: '>=14'} + + lines-and-columns@1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + + locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + + lodash.merge@4.6.2: + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + + 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==} + + 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'} + + merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + engines: {node: '>=8.6'} + + 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'} + + mini-svg-data-uri@1.4.4: + resolution: {integrity: sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==} + hasBin: true + + miniflare@5.20261023.2-beta: + resolution: {integrity: sha512-sXpZloQnIUe4raXXdwwqd2ioRHox9a/1B4nB2/p4JWKDwGuVgEK4DugCNgIeQf0iVuSgBItdYpodJe4iwY6SrQ==} + engines: {node: '>=22.0.0'} + + 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==} + + mz@2.7.0: + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + + 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-drupal@2.0.1: + resolution: {integrity: sha512-HbewzlWKHrey8ncHvMlazVupByDxTS9JSOQRqnRpDcdIupO4g1jkvD0eL+042CYjcv/SKOBH3ARKc2EIO7oMRA==} + + next@16.3.8: + resolution: {integrity: sha512-U7QEZaTini6wKrb8A8hqLLqYQyCetegKjCpJOyxk642vWoMoU1x5PyZCJFvgYgiptA8xc5j/9xYlZFO7w9Sjmw==} + engines: {node: '>=20.9.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-cache@5.1.2: + resolution: {integrity: sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==} + engines: {node: '>= 8.0.0'} + + 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 + + node-releases@2.0.60: + resolution: {integrity: sha512-OmO8+GM1JUZqXET720VrJCwkjUCXmCMQm0Z3UDDRbfNLHS4NEAvY60j5jiFv0tkKw2PNNlqOLhahVmwJIOLDIQ==} + engines: {node: '>=18'} + + normalize-path@3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + + nprogress@0.2.0: + resolution: {integrity: sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==} + + object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + + object-hash@3.0.0: + resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} + engines: {node: '>= 6'} + + 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-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + + 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@2.3.2: + resolution: {integrity: sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==} + engines: {node: '>=8.6'} + + picomatch@4.0.7: + resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} + engines: {node: '>=12'} + + pirates@4.0.7: + resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} + engines: {node: '>= 6'} + + postcss-import@15.1.0: + resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} + engines: {node: '>=14.0.0'} + peerDependencies: + postcss: ^8.0.0 + + postcss-js@4.1.0: + resolution: {integrity: sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==} + engines: {node: ^12 || ^14 || >= 16} + peerDependencies: + postcss: ^8.4.21 + + postcss-load-config@6.0.1: + resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==} + engines: {node: '>= 18'} + peerDependencies: + jiti: '>=1.21.0' + postcss: '>=8.0.9' + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + jiti: + optional: true + postcss: + optional: true + tsx: + optional: true + yaml: + optional: true + + postcss-nested@6.2.0: + resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==} + engines: {node: '>=12.0'} + peerDependencies: + postcss: ^8.2.14 + + postcss-selector-parser@6.0.10: + resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==} + engines: {node: '>=4'} + + postcss-selector-parser@6.1.5: + resolution: {integrity: sha512-TEHFzb5KRDKaOgJ4TYE+0jyJtFbjLvkdVOu0fZ2b6MTWzoqZd4Le+61aEppWkvTlYePgOX4ATL1wsAIPMLTw6Q==} + engines: {node: '>=4'} + + postcss-value-parser@4.2.0: + resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} + + postcss@8.5.23: + resolution: {integrity: sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==} + engines: {node: ^10 || ^12 || >=14} + + postcss@8.5.6: + resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} + 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'} + + queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + + 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.8: + resolution: {integrity: sha512-rVprimfGBG3DR+Tq0IQG2DT5PxKth1WIGDmj5yPmlzr4YBe7uyE+Du4oVqTDXZSHGGGXRtTJEGSSePyQCMBglQ==} + peerDependencies: + react: ^19.2.8 + + react-hook-form@7.91.0: + resolution: {integrity: sha512-5BEBUnCBwa28AFXYTYmOaB/+CSpJ/+CWVASHEvIGUzFdHyUiPHeRhG7r5hOZ8nZi0yP7pbHdFNXO/p31EKTJFQ==} + engines: {node: '>=18.0.0'} + peerDependencies: + '@types/react': '*' + react: ^16.8.0 || ^17 || ^18 || ^19 + peerDependenciesMeta: + '@types/react': + optional: true + + react-property@2.0.2: + resolution: {integrity: sha512-+PbtI3VuDV0l6CleQMsx2gtK0JZbZKbpdu5ynr+lbsuvtmgbNcS3VM0tuY2QjFNOcWxvXeHjDpy42RO+4U2rug==} + + react@19.2.8: + resolution: {integrity: sha512-PWaYA1L/q9u2u7xYQi+Y3L3Yfnie7XyLeaJICV1MGD6LprsBxcAqGjYyr0eY3p+QdsA+x/Irkt4Qif8D63+Sbw==} + engines: {node: '>=0.10.0'} + + read-cache@1.0.2: + resolution: {integrity: sha512-/peqiBB/n07gQGLsWaHho3WfvUyRscw0gYTsEFMhrIe/nWLkYaf5SbKYjGYqtRV3aPwykJgF2VEMo1ac4bnsGA==} + + readdirp@3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + + resolve-from@4.0.0: + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} + + resolve@1.22.13: + resolution: {integrity: sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA==} + engines: {node: '>= 0.4'} + hasBin: true + + reusify@1.1.0: + resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + + rollup@4.66.0: + resolution: {integrity: sha512-Onq6/qO4ARhxIs+jYiHE0pYehadLyMECAiGEqQ+0/aWND3+2PmifJIIqBLYtuBODqHTlOUEQFtIVPyCy0Lck7A==} + 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'} + + run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + + scheduler@0.27.0: + resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==} + + semver@7.8.5: + resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==} + 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'} + + 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==} + + style-to-js@1.1.21: + resolution: {integrity: sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==} + + style-to-object@1.0.14: + resolution: {integrity: sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==} + + 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 + + sucrase@3.35.1: + resolution: {integrity: sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: 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'} + + supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + + tailwindcss@3.4.19: + resolution: {integrity: sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==} + engines: {node: '>=14.0.0'} + hasBin: true + + terser@5.36.0: + resolution: {integrity: sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w==} + engines: {node: '>=10'} + hasBin: true + + thenify-all@1.6.0: + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} + + thenify@3.3.1: + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + + 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'} + + to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.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-interface-checker@0.1.13: + resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} + + ts-tqdm@0.8.6: + resolution: {integrity: sha512-3X3M1PZcHtgQbnwizL+xU8CAgbYbeLHrrDwL9xxcZZrV5J+e7loJm1XrXozHjSkl44J0Zg0SgA8rXbh83kCkcQ==} + + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + + turbo@2.11.10: + resolution: {integrity: sha512-3GJYwig8ygEI89oaOZdduJX8/aw6O9eRPYHoIt6T3FZl9hkKjiyIspufJoVgqXihPoJu8M5CSV0DlZvzfohBCw==} + 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'} + + update-browserslist-db@1.3.4: + resolution: {integrity: sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + + urlpattern-polyfill@10.1.0: + resolution: {integrity: sha512-IGjKp/o0NL3Bso1PymYURCJxMPNAf/ILOpendP9f5B6e1rTJgdgiOvgfoT8VxCAdY+Wisb9uhGaJJf3yZ2V9nw==} + + util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + + 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.7: + resolution: {integrity: sha512-AHEzTORMbi7/7aXp7w7KZ5+DCUdSeLsJz0grY8xHpc9DHdYb0vQu6DqJfm2tOw3gDExNgPgnJTXxM6syYFHaCA==} + 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.20261023.1: + resolution: {integrity: sha512-NeofJFyaYNpqKpFRJW3ApuonaerPd6/JWlfTtLDYf2A6ygqrDEFnYgEXmc0hhOxqnJsSM+kXJN6VebPojzRrsg==} + engines: {node: '>=16'} + hasBin: true + + wrangler@4.155.0: + resolution: {integrity: sha512-gBKtAg2e0abQDvXPRQu611YMTd/cfAaJTOLAs/89tTxFxEeUyC260MRJRK+m3gLmQjDYWFwJv+ErwuJ/GuALpA==} + engines: {node: '>=22.0.0'} + hasBin: true + peerDependencies: + '@cloudflare/workers-types': ^5.20261023.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: + + '@alloc/quick-lru@5.3.0': {} + + '@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.0 + '@aws-sdk/util-locate-window': 3.965.10 + '@smithy/util-utf8': 2.3.0 + tslib: 2.8.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.0 + '@aws-sdk/util-locate-window': 3.965.10 + '@smithy/util-utf8': 2.3.0 + tslib: 2.8.1 + + '@aws-crypto/sha256-js@5.2.0': + dependencies: + '@aws-crypto/util': 5.2.0 + '@aws-sdk/types': 3.975.0 + tslib: 2.8.1 + + '@aws-crypto/supports-web-crypto@5.2.0': + dependencies: + tslib: 2.8.1 + + '@aws-crypto/util@5.2.0': + dependencies: + '@aws-sdk/types': 3.975.0 + '@smithy/util-utf8': 2.3.0 + tslib: 2.8.1 + + '@aws-sdk/checksums@3.1001.7': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.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.978.7 + '@aws-sdk/credential-provider-node': 3.972.90 + '@aws-sdk/middleware-host-header': 3.972.53 + '@aws-sdk/middleware-logger': 3.972.52 + '@aws-sdk/middleware-recursion-detection': 3.972.54 + '@aws-sdk/middleware-user-agent': 3.972.82 + '@aws-sdk/region-config-resolver': 3.972.56 + '@aws-sdk/types': 3.975.0 + '@aws-sdk/util-endpoints': 3.984.0 + '@aws-sdk/util-user-agent-browser': 3.972.53 + '@aws-sdk/util-user-agent-node': 3.973.68 + '@smithy/config-resolver': 4.7.2 + '@smithy/core': 3.37.0 + '@smithy/fetch-http-handler': 5.8.0 + '@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.13.0 + '@smithy/protocol-http': 5.6.2 + '@smithy/smithy-client': 4.15.2 + '@smithy/types': 4.19.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.8.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.978.7 + '@aws-sdk/credential-provider-node': 3.972.90 + '@aws-sdk/dynamodb-codec': 3.973.52 + '@aws-sdk/middleware-endpoint-discovery': 3.972.36 + '@aws-sdk/middleware-host-header': 3.972.53 + '@aws-sdk/middleware-logger': 3.972.52 + '@aws-sdk/middleware-recursion-detection': 3.972.54 + '@aws-sdk/middleware-user-agent': 3.972.82 + '@aws-sdk/region-config-resolver': 3.972.56 + '@aws-sdk/types': 3.975.0 + '@aws-sdk/util-endpoints': 3.984.0 + '@aws-sdk/util-user-agent-browser': 3.972.53 + '@aws-sdk/util-user-agent-node': 3.973.68 + '@smithy/config-resolver': 4.7.2 + '@smithy/core': 3.37.0 + '@smithy/fetch-http-handler': 5.8.0 + '@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.13.0 + '@smithy/protocol-http': 5.6.2 + '@smithy/smithy-client': 4.15.2 + '@smithy/types': 4.19.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.8.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.978.7 + '@aws-sdk/credential-provider-node': 3.972.90 + '@aws-sdk/middleware-host-header': 3.972.53 + '@aws-sdk/middleware-logger': 3.972.52 + '@aws-sdk/middleware-recursion-detection': 3.972.54 + '@aws-sdk/middleware-user-agent': 3.972.82 + '@aws-sdk/region-config-resolver': 3.972.56 + '@aws-sdk/types': 3.975.0 + '@aws-sdk/util-endpoints': 3.984.0 + '@aws-sdk/util-user-agent-browser': 3.972.53 + '@aws-sdk/util-user-agent-node': 3.973.68 + '@smithy/config-resolver': 4.7.2 + '@smithy/core': 3.37.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.0 + '@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.13.0 + '@smithy/protocol-http': 5.6.2 + '@smithy/smithy-client': 4.15.2 + '@smithy/types': 4.19.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.8.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.978.7 + '@aws-sdk/credential-provider-node': 3.972.90 + '@aws-sdk/middleware-bucket-endpoint': 3.972.56 + '@aws-sdk/middleware-expect-continue': 3.972.52 + '@aws-sdk/middleware-flexible-checksums': 3.974.62 + '@aws-sdk/middleware-host-header': 3.972.53 + '@aws-sdk/middleware-location-constraint': 3.972.49 + '@aws-sdk/middleware-logger': 3.972.52 + '@aws-sdk/middleware-recursion-detection': 3.972.54 + '@aws-sdk/middleware-sdk-s3': 3.972.83 + '@aws-sdk/middleware-ssec': 3.972.49 + '@aws-sdk/middleware-user-agent': 3.972.82 + '@aws-sdk/region-config-resolver': 3.972.56 + '@aws-sdk/signature-v4-multi-region': 3.984.0 + '@aws-sdk/types': 3.975.0 + '@aws-sdk/util-endpoints': 3.984.0 + '@aws-sdk/util-user-agent-browser': 3.972.53 + '@aws-sdk/util-user-agent-node': 3.973.68 + '@smithy/config-resolver': 4.7.2 + '@smithy/core': 3.37.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.0 + '@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.13.0 + '@smithy/protocol-http': 5.6.2 + '@smithy/smithy-client': 4.15.2 + '@smithy/types': 4.19.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.8.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.978.7 + '@aws-sdk/credential-provider-node': 3.972.90 + '@aws-sdk/middleware-host-header': 3.972.53 + '@aws-sdk/middleware-logger': 3.972.52 + '@aws-sdk/middleware-recursion-detection': 3.972.54 + '@aws-sdk/middleware-sdk-sqs': 3.972.47 + '@aws-sdk/middleware-user-agent': 3.972.82 + '@aws-sdk/region-config-resolver': 3.972.56 + '@aws-sdk/types': 3.975.0 + '@aws-sdk/util-endpoints': 3.984.0 + '@aws-sdk/util-user-agent-browser': 3.972.53 + '@aws-sdk/util-user-agent-node': 3.973.68 + '@smithy/config-resolver': 4.7.2 + '@smithy/core': 3.37.0 + '@smithy/fetch-http-handler': 5.8.0 + '@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.13.0 + '@smithy/protocol-http': 5.6.2 + '@smithy/smithy-client': 4.15.2 + '@smithy/types': 4.19.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.8.1 + + '@aws-sdk/core@3.978.7': + dependencies: + '@aws-sdk/types': 3.975.0 + '@aws-sdk/xml-builder': 3.972.42 + '@aws/lambda-invoke-store': 0.3.0 + '@smithy/core': 3.37.0 + '@smithy/signature-v4': 5.7.4 + '@smithy/types': 4.19.0 + bowser: 2.15.0 + tslib: 2.8.1 + + '@aws-sdk/credential-provider-env@3.972.78': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/credential-provider-http@3.972.80': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/fetch-http-handler': 5.8.0 + '@smithy/node-http-handler': 4.13.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/credential-provider-ini@3.973.23': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/credential-provider-env': 3.972.78 + '@aws-sdk/credential-provider-http': 3.972.80 + '@aws-sdk/credential-provider-login': 3.972.85 + '@aws-sdk/credential-provider-process': 3.972.78 + '@aws-sdk/credential-provider-sso': 3.973.22 + '@aws-sdk/credential-provider-web-identity': 3.972.84 + '@aws-sdk/nested-clients': 3.997.52 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/credential-provider-imds': 4.5.2 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/credential-provider-login@3.972.85': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/nested-clients': 3.997.52 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/credential-provider-node@3.972.90': + dependencies: + '@aws-sdk/credential-provider-env': 3.972.78 + '@aws-sdk/credential-provider-http': 3.972.80 + '@aws-sdk/credential-provider-ini': 3.973.23 + '@aws-sdk/credential-provider-process': 3.972.78 + '@aws-sdk/credential-provider-sso': 3.973.22 + '@aws-sdk/credential-provider-web-identity': 3.972.84 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/credential-provider-imds': 4.5.2 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/credential-provider-process@3.972.78': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/credential-provider-sso@3.973.22': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/nested-clients': 3.997.52 + '@aws-sdk/token-providers': 3.1159.0 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/credential-provider-web-identity@3.972.84': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/nested-clients': 3.997.52 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/dynamodb-codec@3.973.52': + dependencies: + '@aws-sdk/core': 3.978.7 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/endpoint-cache@3.972.11': + dependencies: + mnemonist: 0.38.3 + tslib: 2.8.1 + + '@aws-sdk/middleware-bucket-endpoint@3.972.56': + dependencies: + '@aws-sdk/middleware-sdk-s3': 3.972.83 + tslib: 2.8.1 + + '@aws-sdk/middleware-endpoint-discovery@3.972.36': + dependencies: + '@aws-sdk/endpoint-cache': 3.972.11 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/middleware-expect-continue@3.972.52': + dependencies: + '@aws-sdk/middleware-sdk-s3': 3.972.83 + tslib: 2.8.1 + + '@aws-sdk/middleware-flexible-checksums@3.974.62': + dependencies: + '@aws-sdk/checksums': 3.1001.7 + tslib: 2.8.1 + + '@aws-sdk/middleware-host-header@3.972.53': + dependencies: + '@aws-sdk/core': 3.978.7 + tslib: 2.8.1 + + '@aws-sdk/middleware-location-constraint@3.972.49': + dependencies: + '@aws-sdk/middleware-sdk-s3': 3.972.83 + tslib: 2.8.1 + + '@aws-sdk/middleware-logger@3.972.52': + dependencies: + '@aws-sdk/core': 3.978.7 + tslib: 2.8.1 + + '@aws-sdk/middleware-recursion-detection@3.972.54': + dependencies: + '@aws-sdk/core': 3.978.7 + tslib: 2.8.1 + + '@aws-sdk/middleware-sdk-s3@3.972.83': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/signature-v4-multi-region': 3.996.50 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/middleware-sdk-sqs@3.972.47': + dependencies: + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/middleware-ssec@3.972.49': + dependencies: + '@aws-sdk/middleware-sdk-s3': 3.972.83 + tslib: 2.8.1 + + '@aws-sdk/middleware-user-agent@3.972.82': + dependencies: + '@aws-sdk/core': 3.978.7 + tslib: 2.8.1 + + '@aws-sdk/nested-clients@3.997.52': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/signature-v4-multi-region': 3.996.50 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/fetch-http-handler': 5.8.0 + '@smithy/node-http-handler': 4.13.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/region-config-resolver@3.972.56': + dependencies: + '@aws-sdk/core': 3.978.7 + tslib: 2.8.1 + + '@aws-sdk/signature-v4-multi-region@3.984.0': + dependencies: + '@aws-sdk/middleware-sdk-s3': 3.972.83 + '@aws-sdk/types': 3.975.0 + '@smithy/protocol-http': 5.6.2 + '@smithy/signature-v4': 5.7.4 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/signature-v4-multi-region@3.996.50': + dependencies: + '@aws-sdk/types': 3.975.0 + '@smithy/signature-v4': 5.7.4 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/token-providers@3.1159.0': + dependencies: + '@aws-sdk/core': 3.978.7 + '@aws-sdk/nested-clients': 3.997.52 + '@aws-sdk/types': 3.975.0 + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/types@3.975.0': + dependencies: + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@aws-sdk/util-endpoints@3.984.0': + dependencies: + '@aws-sdk/types': 3.975.0 + '@smithy/types': 4.19.0 + '@smithy/url-parser': 4.5.2 + '@smithy/util-endpoints': 3.7.2 + tslib: 2.8.1 + + '@aws-sdk/util-locate-window@3.965.10': + dependencies: + tslib: 2.8.1 + + '@aws-sdk/util-user-agent-browser@3.972.53': + dependencies: + '@aws-sdk/core': 3.978.7 + tslib: 2.8.1 + + '@aws-sdk/util-user-agent-node@3.973.68': + dependencies: + '@aws-sdk/core': 3.978.7 + tslib: 2.8.1 + + '@aws-sdk/xml-builder@3.972.42': + dependencies: + '@smithy/types': 4.19.0 + tslib: 2.8.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.20261023.1)': + dependencies: + unenv: 2.0.0-rc.24 + optionalDependencies: + workerd: 1.20261023.1 + + '@cloudflare/workerd-darwin-64@1.20261023.1': + optional: true + + '@cloudflare/workerd-darwin-arm64@1.20261023.1': + optional: true + + '@cloudflare/workerd-linux-64@1.20261023.1': + optional: true + + '@cloudflare/workerd-linux-arm64@1.20261023.1': + optional: true + + '@cloudflare/workerd-windows-64@1.20261023.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.3.0': {} + + '@dotenvx/providers@0.3.13': + dependencies: + '@dotenvx/primitives': 4.3.0 + '@dotenvx/tooling': 1.0.6 + + '@dotenvx/tooling@1.0.6': {} + + '@emnapi/runtime@1.11.3': + dependencies: + tslib: 2.8.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(jiti@1.21.7))': + dependencies: + eslint: 9.39.5(jiti@1.21.7) + eslint-visitor-keys: 3.4.3 + + '@eslint-community/regexpp@4.12.2': {} + + '@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 + + '@napi-rs/lzma-linux-x64-gnu@1.5.1': + optional: true + + '@next/env@16.3.8': {} + + '@next/swc-darwin-arm64@16.3.8': + optional: true + + '@next/swc-darwin-x64@16.3.8': + optional: true + + '@next/swc-linux-arm64-gnu@16.3.8': + optional: true + + '@next/swc-linux-arm64-musl@16.3.8': + optional: true + + '@next/swc-linux-x64-gnu@16.3.8': + optional: true + + '@next/swc-linux-x64-musl@16.3.8': + optional: true + + '@next/swc-win32-arm64-msvc@16.3.8': + optional: true + + '@next/swc-win32-x64-msvc@16.3.8': + 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 + + '@nodelib/fs.scandir@2.1.5': + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + + '@nodelib/fs.stat@2.0.5': {} + + '@nodelib/fs.walk@1.2.8': + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.20.3 + + '@opennextjs/aws@4.1.10(next@16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))': + 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.7 + aws4fetch: 1.0.20 + chalk: 5.6.2 + cookie: 1.1.1 + esbuild: 0.28.2 + express: 5.3.0 + next: 16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + path-to-regexp: 6.3.0 + urlpattern-polyfill: 10.1.0 + yaml: 2.9.1 + transitivePeerDependencies: + - supports-color + + '@opennextjs/cloudflare@1.20.11(next@16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8))(wrangler@4.155.0(@types/node@22.13.4))': + dependencies: + '@ast-grep/napi': 0.45.3 + '@dotenvx/dotenvx': 2.38.2 + '@opennextjs/aws': 4.1.10(next@16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)) + ci-info: 4.4.0 + cloudflare: 4.5.0 + comment-json: 4.6.2 + enquirer: 2.4.1 + glob: 13.0.6 + next: 16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + ts-tqdm: 0.8.6 + wrangler: 4.155.0(@types/node@22.13.4) + yargs: 18.2.0 + transitivePeerDependencies: + - encoding + - supports-color + + '@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.66.0': + optional: true + + '@rollup/rollup-android-arm64@4.66.0': + optional: true + + '@rollup/rollup-darwin-arm64@4.66.0': + optional: true + + '@rollup/rollup-darwin-x64@4.66.0': + optional: true + + '@rollup/rollup-freebsd-arm64@4.66.0': + optional: true + + '@rollup/rollup-freebsd-x64@4.66.0': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.66.0': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.66.0': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.66.0': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.66.0': + optional: true + + '@rollup/rollup-linux-loong64-gnu@4.66.0': + optional: true + + '@rollup/rollup-linux-loong64-musl@4.66.0': + optional: true + + '@rollup/rollup-linux-ppc64-gnu@4.66.0': + optional: true + + '@rollup/rollup-linux-ppc64-musl@4.66.0': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.66.0': + optional: true + + '@rollup/rollup-linux-riscv64-musl@4.66.0': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.66.0': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.66.0': + optional: true + + '@rollup/rollup-linux-x64-musl@4.66.0': + optional: true + + '@rollup/rollup-openbsd-x64@4.66.0': + optional: true + + '@rollup/rollup-openharmony-arm64@4.66.0': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.66.0': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.66.0': + optional: true + + '@rollup/rollup-win32-x64-gnu@4.66.0': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.66.0': + optional: true + + '@sindresorhus/is@7.2.0': {} + + '@smithy/config-resolver@4.7.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/core@3.37.0': + dependencies: + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@smithy/credential-provider-imds@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@smithy/eventstream-serde-browser@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/eventstream-serde-config-resolver@4.6.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/eventstream-serde-node@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/fetch-http-handler@5.8.0': + dependencies: + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@smithy/hash-blob-browser@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/hash-node@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/hash-stream-node@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/invalid-dependency@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/is-array-buffer@2.2.0': + dependencies: + tslib: 2.8.1 + + '@smithy/md5-js@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/middleware-content-length@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/middleware-endpoint@4.7.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/middleware-retry@4.8.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/middleware-serde@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/middleware-stack@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/node-config-provider@4.6.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/node-http-handler@4.13.0': + dependencies: + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@smithy/protocol-http@5.6.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/signature-v4@5.7.4': + dependencies: + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@smithy/smithy-client@4.15.2': + dependencies: + '@smithy/core': 3.37.0 + '@smithy/types': 4.19.0 + tslib: 2.8.1 + + '@smithy/types@4.19.0': + dependencies: + tslib: 2.8.1 + + '@smithy/url-parser@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-base64@4.6.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-body-length-browser@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-body-length-node@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-buffer-from@2.2.0': + dependencies: + '@smithy/is-array-buffer': 2.2.0 + tslib: 2.8.1 + + '@smithy/util-defaults-mode-browser@4.6.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-defaults-mode-node@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-endpoints@3.7.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-middleware@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-retry@4.6.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-stream@4.8.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-utf8@2.3.0': + dependencies: + '@smithy/util-buffer-from': 2.2.0 + tslib: 2.8.1 + + '@smithy/util-utf8@4.5.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@smithy/util-waiter@4.6.2': + dependencies: + '@smithy/core': 3.37.0 + tslib: 2.8.1 + + '@speed-highlight/core@1.2.24': {} + + '@swc/helpers@0.5.23': + dependencies: + tslib: 2.8.1 + + '@tailwindcss/forms@0.5.11(tailwindcss@3.4.19(yaml@2.9.1))': + dependencies: + mini-svg-data-uri: 1.4.4 + tailwindcss: 3.4.19(yaml@2.9.1) + + '@tailwindcss/typography@0.5.20(tailwindcss@3.4.19(yaml@2.9.1))': + dependencies: + postcss-selector-parser: 6.0.10 + tailwindcss: 3.4.19(yaml@2.9.1) + + '@tanstack/query-core@5.105.0': {} + + '@tanstack/react-query@5.105.0(@types/react@19.2.18)(react@19.2.8)': + dependencies: + '@tanstack/query-core': 5.105.0 + react: 19.2.8 + optionalDependencies: + '@types/react': 19.2.18 + + '@tsconfig/node18@18.2.7': {} + + '@turbo/darwin-64@2.11.10': + optional: true + + '@turbo/darwin-arm64@2.11.10': + optional: true + + '@turbo/linux-64@2.11.10': + optional: true + + '@turbo/linux-arm64@2.11.10': + optional: true + + '@turbo/windows-64@2.11.10': + optional: true + + '@turbo/windows-arm64@2.11.10': + 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.9': {} + + '@types/json-schema@7.0.15': {} + + '@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/nprogress@0.2.3': {} + + '@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.1(@typescript-eslint/parser@8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)': + dependencies: + '@eslint-community/regexpp': 4.12.2 + '@typescript-eslint/parser': 8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3) + '@typescript-eslint/scope-manager': 8.72.1 + '@typescript-eslint/type-utils': 8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3) + '@typescript-eslint/utils': 8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3) + '@typescript-eslint/visitor-keys': 8.72.1 + eslint: 9.39.5(jiti@1.21.7) + ignore: 7.0.14 + natural-compare: 1.4.0 + ts-api-utils: 2.5.0(typescript@5.9.3) + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/parser@8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)': + dependencies: + '@typescript-eslint/scope-manager': 8.72.1 + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/typescript-estree': 8.72.1(typescript@5.9.3) + '@typescript-eslint/visitor-keys': 8.72.1 + debug: 4.4.3 + eslint: 9.39.5(jiti@1.21.7) + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/project-service@8.72.1(typescript@5.9.3)': + dependencies: + '@typescript-eslint/tsconfig-utils': 8.72.1(typescript@5.9.3) + '@typescript-eslint/types': 8.72.1 + debug: 4.4.3 + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/scope-manager@8.72.1': + dependencies: + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/visitor-keys': 8.72.1 + + '@typescript-eslint/tsconfig-utils@8.72.1(typescript@5.9.3)': + dependencies: + typescript: 5.9.3 + + '@typescript-eslint/type-utils@8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)': + dependencies: + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/typescript-estree': 8.72.1(typescript@5.9.3) + '@typescript-eslint/utils': 8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3) + debug: 4.4.3 + eslint: 9.39.5(jiti@1.21.7) + ts-api-utils: 2.5.0(typescript@5.9.3) + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/types@8.72.1': {} + + '@typescript-eslint/typescript-estree@8.72.1(typescript@5.9.3)': + dependencies: + '@typescript-eslint/project-service': 8.72.1(typescript@5.9.3) + '@typescript-eslint/tsconfig-utils': 8.72.1(typescript@5.9.3) + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/visitor-keys': 8.72.1 + debug: 4.4.3 + minimatch: 10.2.6 + semver: 7.8.5 + tinyglobby: 0.2.17 + ts-api-utils: 2.5.0(typescript@5.9.3) + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/utils@8.72.1(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)': + dependencies: + '@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5(jiti@1.21.7)) + '@typescript-eslint/scope-manager': 8.72.1 + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/typescript-estree': 8.72.1(typescript@5.9.3) + eslint: 9.39.5(jiti@1.21.7) + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/visitor-keys@8.72.1': + dependencies: + '@typescript-eslint/types': 8.72.1 + 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.7(@types/node@22.13.4)(jiti@1.21.7)(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.7(@types/node@22.13.4)(jiti@1.21.7)(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 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.4.1 + uri-js: 4.4.1 + + ansi-colors@4.1.3: {} + + ansi-regex@5.0.1: {} + + ansi-regex@6.4.0: {} + + ansi-styles@4.3.0: + dependencies: + color-convert: 2.0.1 + + ansi-styles@6.2.3: {} + + any-promise@1.3.0: {} + + anymatch@3.1.3: + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.2 + + arg@5.0.2: {} + + argparse@2.0.1: {} + + array-timsort@1.0.3: {} + + assertion-error@2.0.1: {} + + asynckit@0.4.0: {} + + autoprefixer@10.6.2(postcss@8.5.6): + dependencies: + browserslist: 4.29.5 + caniuse-lite: 1.0.30001819 + fraction.js: 5.3.4 + picocolors: 1.1.1 + postcss: 8.5.6 + postcss-value-parser: 4.2.0 + + aws4fetch@1.0.20: {} + + balanced-match@1.0.2: {} + + balanced-match@4.0.4: {} + + baseline-browser-mapping@2.11.34: {} + + binary-extensions@2.3.0: {} + + 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.21: + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + brace-expansion@2.1.7: + dependencies: + balanced-match: 1.0.2 + + brace-expansion@5.0.12: + dependencies: + balanced-match: 4.0.4 + + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + + browserslist@4.29.5: + dependencies: + baseline-browser-mapping: 2.11.34 + caniuse-lite: 1.0.30001819 + electron-to-chromium: 1.5.467 + node-releases: 2.0.60 + update-browserslist-db: 1.3.4(browserslist@4.29.5) + + 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: {} + + camelcase-css@2.0.1: {} + + caniuse-lite@1.0.30001819: {} + + 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@3.6.0: + dependencies: + anymatch: 3.1.3 + braces: 3.0.3 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.3 + + ci-info@4.4.0: {} + + classnames@2.5.1: {} + + 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 + + clone@2.1.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: {} + + commander@4.1.1: {} + + 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 + + cssesc@3.0.0: {} + + 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: {} + + didyoumean@1.2.2: {} + + dlv@1.1.3: {} + + dom-serializer@2.0.0: + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + entities: 4.5.0 + + domelementtype@2.3.0: {} + + domhandler@5.0.3: + dependencies: + domelementtype: 2.3.0 + + domutils@3.2.2: + dependencies: + dom-serializer: 2.0.0 + domelementtype: 2.3.0 + domhandler: 5.0.3 + + drupal-jsonapi-params@2.3.1: + dependencies: + qs: 6.17.1 + + 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: {} + + ee-first@1.1.1: {} + + electron-to-chromium@1.5.467: {} + + emoji-regex@10.6.0: {} + + emoji-regex@8.0.0: {} + + emoji-regex@9.2.2: {} + + encodeurl@2.0.1: {} + + enquirer@2.4.1: + dependencies: + ansi-colors: 4.1.3 + strip-ansi: 6.0.1 + + entities@4.5.0: {} + + entities@7.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: + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + + eslint-visitor-keys@3.4.3: {} + + eslint-visitor-keys@4.2.1: {} + + eslint-visitor-keys@5.0.1: {} + + eslint@9.39.5(jiti@1.21.7): + dependencies: + '@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5(jiti@1.21.7)) + '@eslint-community/regexpp': 4.12.2 + '@eslint/config-array': 0.21.2 + '@eslint/config-helpers': 0.4.2 + '@eslint/core': 0.17.0 + '@eslint/eslintrc': 3.3.7 + '@eslint/js': 9.39.5 + '@eslint/plugin-kit': 0.4.1 + '@humanfs/node': 0.16.8 + '@humanwhocodes/module-importer': 1.0.1 + '@humanwhocodes/retry': 0.4.3 + '@types/estree': 1.0.9 + ajv: 6.15.0 + chalk: 4.1.2 + cross-spawn: 7.0.6 + debug: 4.4.3 + escape-string-regexp: 4.0.0 + eslint-scope: 8.4.0 + eslint-visitor-keys: 4.2.1 + espree: 10.4.0 + esquery: 1.7.0 + esutils: 2.0.3 + fast-deep-equal: 3.1.3 + file-entry-cache: 8.0.0 + find-up: 5.0.0 + glob-parent: 6.0.2 + ignore: 5.3.2 + imurmurhash: 0.1.4 + is-glob: 4.0.3 + json-stable-stringify-without-jsonify: 1.0.1 + lodash.merge: 4.6.2 + minimatch: 3.1.5 + natural-compare: 1.4.0 + optionator: 0.9.4 + optionalDependencies: + jiti: 1.21.7 + transitivePeerDependencies: + - supports-color + + espree@10.4.0: + dependencies: + acorn: 8.19.0 + 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 + + esrecurse@4.3.0: + dependencies: + estraverse: 5.3.0 + + estraverse@5.3.0: {} + + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.9 + + 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.1 + 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-glob@3.3.3: + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.8 + + fast-json-stable-stringify@2.1.0: {} + + fast-levenshtein@2.0.6: {} + + fastq@1.20.3: + dependencies: + reusify: 1.1.0 + + fdir@6.5.0(picomatch@4.0.7): + optionalDependencies: + picomatch: 4.0.7 + + file-entry-cache@8.0.0: + dependencies: + flat-cache: 4.0.1 + + fill-range@7.1.1: + dependencies: + to-regex-range: 5.0.1 + + finalhandler@2.1.1: + dependencies: + debug: 4.4.3 + encodeurl: 2.0.1 + 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: {} + + fraction.js@5.3.4: {} + + 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@5.1.2: + dependencies: + is-glob: 4.0.3 + + 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.6: + 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: {} + + has-tostringtag@1.0.2: + dependencies: + has-symbols: 1.1.0 + + hasown@2.0.4: + dependencies: + function-bind: 1.1.2 + + html-dom-parser@5.1.8: + dependencies: + domhandler: 5.0.3 + htmlparser2: 10.1.0 + + html-react-parser@5.2.17(@types/react@19.2.18)(react@19.2.8): + dependencies: + domhandler: 5.0.3 + html-dom-parser: 5.1.8 + react: 19.2.8 + react-property: 2.0.2 + style-to-js: 1.1.21 + optionalDependencies: + '@types/react': 19.2.18 + + htmlparser2@10.1.0: + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + domutils: 3.2.2 + entities: 7.0.1 + + http-errors@2.0.1: + dependencies: + depd: 2.0.0 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: 2.0.2 + toidentifier: 1.0.1 + + humanize-ms@1.2.1: + dependencies: + ms: 2.1.3 + + iconv-lite@0.7.3: + dependencies: + safer-buffer: 2.1.2 + + ignore@5.3.2: {} + + ignore@7.0.14: {} + + import-fresh@3.3.1: + dependencies: + parent-module: 1.0.1 + resolve-from: 4.0.0 + + imurmurhash@0.1.4: {} + + inherits@2.0.4: {} + + inline-style-parser@0.2.7: {} + + ipaddr.js@1.9.1: {} + + is-binary-path@2.1.0: + dependencies: + binary-extensions: 2.3.0 + + is-core-module@2.17.0: + dependencies: + hasown: 2.0.4 + + is-extglob@2.1.1: {} + + is-fullwidth-code-point@3.0.0: {} + + is-glob@4.0.3: + dependencies: + is-extglob: 2.1.1 + + is-number@7.0.0: {} + + 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 + + jiti@1.21.7: {} + + js-tokens@9.0.1: {} + + js-yaml@4.3.2: + dependencies: + argparse: 2.0.1 + + json-buffer@3.0.1: {} + + json-schema-traverse@0.4.1: {} + + json-stable-stringify-without-jsonify@1.0.1: {} + + jsona@1.14.0: {} + + keyv@4.5.4: + dependencies: + json-buffer: 3.0.1 + + kleur@4.1.5: {} + + levn@0.4.1: + dependencies: + prelude-ls: 1.2.1 + type-check: 0.4.0 + + lilconfig@3.1.4: {} + + lines-and-columns@1.2.4: {} + + locate-path@6.0.0: + dependencies: + p-locate: 5.0.0 + + lodash.merge@4.6.2: {} + + 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 + + math-intrinsics@1.1.0: {} + + media-typer@1.1.1: {} + + merge-descriptors@2.0.0: {} + + merge2@1.4.1: {} + + micromatch@4.0.8: + dependencies: + braces: 3.0.3 + picomatch: 2.3.2 + + 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 + + mini-svg-data-uri@1.4.4: {} + + miniflare@5.20261023.2-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.20261023.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.12 + + minimatch@3.1.5: + dependencies: + brace-expansion: 1.1.21 + + minimatch@9.0.9: + dependencies: + brace-expansion: 2.1.7 + + minipass@7.1.3: {} + + mkdirp@3.0.1: {} + + mnemonist@0.38.3: + dependencies: + obliterator: 1.6.1 + + ms@2.1.3: {} + + mz@2.7.0: + dependencies: + any-promise: 1.3.0 + object-assign: 4.1.1 + thenify-all: 1.6.0 + + nanoid@3.3.20: {} + + natural-compare@1.4.0: {} + + negotiator@1.1.0: + dependencies: + content-type: 2.1.0 + + next-drupal@2.0.1(@types/node@22.13.4): + dependencies: + jsona: 1.14.0 + next: 16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + node-cache: 5.1.2 + qs: 6.17.1 + react: 19.2.8 + react-dom: 19.2.8(react@19.2.8) + transitivePeerDependencies: + - '@babel/core' + - '@opentelemetry/api' + - '@playwright/test' + - '@types/node' + - babel-plugin-macros + - babel-plugin-react-compiler + - sass + + next@16.3.8(@types/node@22.13.4)(react-dom@19.2.8(react@19.2.8))(react@19.2.8): + dependencies: + '@next/env': 16.3.8 + '@swc/helpers': 0.5.23 + baseline-browser-mapping: 2.11.34 + caniuse-lite: 1.0.30001819 + postcss: 8.5.23 + react: 19.2.8 + react-dom: 19.2.8(react@19.2.8) + styled-jsx: 5.1.6(react@19.2.8) + optionalDependencies: + '@next/swc-darwin-arm64': 16.3.8 + '@next/swc-darwin-x64': 16.3.8 + '@next/swc-linux-arm64-gnu': 16.3.8 + '@next/swc-linux-arm64-musl': 16.3.8 + '@next/swc-linux-x64-gnu': 16.3.8 + '@next/swc-linux-x64-musl': 16.3.8 + '@next/swc-win32-arm64-msvc': 16.3.8 + '@next/swc-win32-x64-msvc': 16.3.8 + sharp: 0.35.5(@types/node@22.13.4) + transitivePeerDependencies: + - '@babel/core' + - '@types/node' + - babel-plugin-macros + + node-cache@5.1.2: + dependencies: + clone: 2.1.2 - json-schema-traverse@0.4.1: - resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + node-domexception@1.0.0: {} - json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + node-fetch@2.7.0: + dependencies: + whatwg-url: 5.0.0 - keyv@4.5.4: - resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + node-releases@2.0.60: {} - levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} + normalize-path@3.0.0: {} - locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} + nprogress@0.2.0: {} - lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + object-assign@4.1.1: {} - minimatch@10.2.6: - resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==} - engines: {node: 18 || 20 || >=22} + object-hash@3.0.0: {} - minimatch@3.1.5: - resolution: {integrity: sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==} + object-inspect@1.13.4: {} - ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + obliterator@1.6.1: {} - natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + on-finished@2.4.2: + dependencies: + ee-first: 1.1.1 + + once@1.4.0: + dependencies: + wrappy: 1.0.2 optionator@0.9.4: - resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} - engines: {node: '>= 0.8.0'} + dependencies: + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.4.1 + prelude-ls: 1.2.1 + type-check: 0.4.0 + word-wrap: 1.2.5 p-limit@3.1.0: - resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} - engines: {node: '>=10'} + dependencies: + yocto-queue: 0.1.0 p-locate@5.0.0: - resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} - engines: {node: '>=10'} + dependencies: + p-limit: 3.1.0 parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} - - 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'} + dependencies: + callsites: 3.1.0 - picomatch@4.0.7: - resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} - engines: {node: '>=12'} + parseurl@1.3.3: {} - prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} + path-exists@4.0.0: {} - punycode@2.3.1: - resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} - engines: {node: '>=6'} + path-key@3.1.1: {} - resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} + path-parse@1.0.7: {} - semver@7.8.5: - resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==} - engines: {node: '>=10'} - hasBin: true + path-scurry@1.11.1: + dependencies: + lru-cache: 10.4.3 + minipass: 7.1.3 - shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} + path-scurry@2.0.2: + dependencies: + lru-cache: 11.5.3 + minipass: 7.1.3 - shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} + path-to-regexp@6.3.0: {} - strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} + path-to-regexp@8.4.2: {} - supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} + pathe@2.0.3: {} - tinyglobby@0.2.17: - resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} - engines: {node: '>=12.0.0'} + pathval@2.0.1: {} - ts-api-utils@2.5.0: - resolution: {integrity: sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==} - engines: {node: '>=18.12'} - peerDependencies: - typescript: '>=4.8.4' + picocolors@1.1.1: {} - turbo@2.11.10: - resolution: {integrity: sha512-3GJYwig8ygEI89oaOZdduJX8/aw6O9eRPYHoIt6T3FZl9hkKjiyIspufJoVgqXihPoJu8M5CSV0DlZvzfohBCw==} - hasBin: true + picomatch@2.3.2: {} - type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} + picomatch@4.0.7: {} - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} - engines: {node: '>=14.17'} - hasBin: true + pirates@4.0.7: {} - uri-js@4.4.1: - resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + postcss-import@15.1.0(postcss@8.5.6): + dependencies: + postcss: 8.5.6 + postcss-value-parser: 4.2.0 + read-cache: 1.0.2 + resolve: 1.22.13 - which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} - hasBin: true + postcss-js@4.1.0(postcss@8.5.6): + dependencies: + camelcase-css: 2.0.1 + postcss: 8.5.6 - word-wrap@1.2.5: - resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} - engines: {node: '>=0.10.0'} + postcss-load-config@6.0.1(jiti@1.21.7)(postcss@8.5.6)(yaml@2.9.1): + dependencies: + lilconfig: 3.1.4 + optionalDependencies: + jiti: 1.21.7 + postcss: 8.5.6 + yaml: 2.9.1 - yocto-queue@0.1.0: - resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} - engines: {node: '>=10'} + postcss-nested@6.2.0(postcss@8.5.6): + dependencies: + postcss: 8.5.6 + postcss-selector-parser: 6.1.5 -snapshots: + postcss-selector-parser@6.0.10: + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 - '@eslint-community/eslint-utils@4.10.1(eslint@9.39.5)': + postcss-selector-parser@6.1.5: dependencies: - eslint: 9.39.5 - eslint-visitor-keys: 3.4.3 + cssesc: 3.0.0 + util-deprecate: 1.0.2 - '@eslint-community/regexpp@4.12.2': {} + postcss-value-parser@4.2.0: {} - '@eslint/config-array@0.21.2': + postcss@8.5.23: dependencies: - '@eslint/object-schema': 2.1.7 - debug: 4.4.3 - minimatch: 3.1.5 - transitivePeerDependencies: - - supports-color + nanoid: 3.3.20 + picocolors: 1.1.1 + source-map-js: 1.2.2 - '@eslint/config-helpers@0.4.2': + postcss@8.5.6: dependencies: - '@eslint/core': 0.17.0 + nanoid: 3.3.20 + picocolors: 1.1.1 + source-map-js: 1.2.2 - '@eslint/core@0.17.0': + prelude-ls@1.2.1: {} + + proxy-addr@2.0.8: dependencies: - '@types/json-schema': 7.0.15 + forwarded: 0.2.0 + ipaddr.js: 1.9.1 - '@eslint/eslintrc@3.3.7': + punycode@2.3.1: {} + + qs@6.17.1: 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 + es-define-property: 1.0.1 + side-channel: 1.1.1 - '@eslint/js@9.39.5': {} + queue-microtask@1.2.3: {} - '@eslint/object-schema@2.1.7': {} + range-parser@1.3.0: {} - '@eslint/plugin-kit@0.4.1': + raw-body@3.0.2: dependencies: - '@eslint/core': 0.17.0 - levn: 0.4.1 + bytes: 3.1.2 + http-errors: 2.0.1 + iconv-lite: 0.7.3 + unpipe: 1.0.0 - '@humanfs/core@0.19.2': + react-dom@19.2.8(react@19.2.8): dependencies: - '@humanfs/types': 0.15.0 + react: 19.2.8 + scheduler: 0.27.0 - '@humanfs/node@0.16.8': + react-hook-form@7.91.0(@types/react@19.2.18)(react@19.2.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': {} - - '@turbo/darwin-64@2.11.10': - optional: true + react: 19.2.8 + optionalDependencies: + '@types/react': 19.2.18 - '@turbo/darwin-arm64@2.11.10': - optional: true + react-property@2.0.2: {} - '@turbo/linux-64@2.11.10': - optional: true + react@19.2.8: {} - '@turbo/linux-arm64@2.11.10': - optional: true + read-cache@1.0.2: {} - '@turbo/windows-64@2.11.10': - optional: true + readdirp@3.6.0: + dependencies: + picomatch: 2.3.2 - '@turbo/windows-arm64@2.11.10': - optional: true + resolve-from@4.0.0: {} - '@types/estree@1.0.10': {} + resolve@1.22.13: + dependencies: + es-errors: 1.3.0 + is-core-module: 2.17.0 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 - '@types/json-schema@7.0.15': {} + reusify@1.1.0: {} - '@typescript-eslint/eslint-plugin@8.72.1(@typescript-eslint/parser@8.72.1(eslint@9.39.5)(typescript@5.9.3))(eslint@9.39.5)(typescript@5.9.3)': + rollup@4.66.0: dependencies: - '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 8.72.1(eslint@9.39.5)(typescript@5.9.3) - '@typescript-eslint/scope-manager': 8.72.1 - '@typescript-eslint/type-utils': 8.72.1(eslint@9.39.5)(typescript@5.9.3) - '@typescript-eslint/utils': 8.72.1(eslint@9.39.5)(typescript@5.9.3) - '@typescript-eslint/visitor-keys': 8.72.1 - eslint: 9.39.5 - ignore: 7.0.14 - natural-compare: 1.4.0 - ts-api-utils: 2.5.0(typescript@5.9.3) - typescript: 5.9.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/parser@8.72.1(eslint@9.39.5)(typescript@5.9.3)': + '@types/estree': 1.0.9 + optionalDependencies: + '@napi-rs/lzma-linux-x64-gnu': 1.5.1 + '@rollup/rollup-android-arm-eabi': 4.66.0 + '@rollup/rollup-android-arm64': 4.66.0 + '@rollup/rollup-darwin-arm64': 4.66.0 + '@rollup/rollup-darwin-x64': 4.66.0 + '@rollup/rollup-freebsd-arm64': 4.66.0 + '@rollup/rollup-freebsd-x64': 4.66.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.66.0 + '@rollup/rollup-linux-arm-musleabihf': 4.66.0 + '@rollup/rollup-linux-arm64-gnu': 4.66.0 + '@rollup/rollup-linux-arm64-musl': 4.66.0 + '@rollup/rollup-linux-loong64-gnu': 4.66.0 + '@rollup/rollup-linux-loong64-musl': 4.66.0 + '@rollup/rollup-linux-ppc64-gnu': 4.66.0 + '@rollup/rollup-linux-ppc64-musl': 4.66.0 + '@rollup/rollup-linux-riscv64-gnu': 4.66.0 + '@rollup/rollup-linux-riscv64-musl': 4.66.0 + '@rollup/rollup-linux-s390x-gnu': 4.66.0 + '@rollup/rollup-linux-x64-gnu': 4.66.0 + '@rollup/rollup-linux-x64-musl': 4.66.0 + '@rollup/rollup-openbsd-x64': 4.66.0 + '@rollup/rollup-openharmony-arm64': 4.66.0 + '@rollup/rollup-win32-arm64-msvc': 4.66.0 + '@rollup/rollup-win32-ia32-msvc': 4.66.0 + '@rollup/rollup-win32-x64-gnu': 4.66.0 + '@rollup/rollup-win32-x64-msvc': 4.66.0 + fsevents: 2.3.3 + + router@2.2.0: dependencies: - '@typescript-eslint/scope-manager': 8.72.1 - '@typescript-eslint/types': 8.72.1 - '@typescript-eslint/typescript-estree': 8.72.1(typescript@5.9.3) - '@typescript-eslint/visitor-keys': 8.72.1 debug: 4.4.3 - eslint: 9.39.5 - typescript: 5.9.3 + depd: 2.0.0 + is-promise: 4.0.0 + parseurl: 1.3.3 + path-to-regexp: 8.4.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/project-service@8.72.1(typescript@5.9.3)': + run-parallel@1.2.0: dependencies: - '@typescript-eslint/tsconfig-utils': 8.72.1(typescript@5.9.3) - '@typescript-eslint/types': 8.72.1 - debug: 4.4.3 - typescript: 5.9.3 - transitivePeerDependencies: - - supports-color + queue-microtask: 1.2.3 - '@typescript-eslint/scope-manager@8.72.1': - dependencies: - '@typescript-eslint/types': 8.72.1 - '@typescript-eslint/visitor-keys': 8.72.1 + safer-buffer@2.1.2: {} - '@typescript-eslint/tsconfig-utils@8.72.1(typescript@5.9.3)': - dependencies: - typescript: 5.9.3 + scheduler@0.27.0: {} + + semver@7.8.5: {} - '@typescript-eslint/type-utils@8.72.1(eslint@9.39.5)(typescript@5.9.3)': + send@1.2.1: dependencies: - '@typescript-eslint/types': 8.72.1 - '@typescript-eslint/typescript-estree': 8.72.1(typescript@5.9.3) - '@typescript-eslint/utils': 8.72.1(eslint@9.39.5)(typescript@5.9.3) debug: 4.4.3 - eslint: 9.39.5 - ts-api-utils: 2.5.0(typescript@5.9.3) - typescript: 5.9.3 + encodeurl: 2.0.1 + 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 - '@typescript-eslint/types@8.72.1': {} - - '@typescript-eslint/typescript-estree@8.72.1(typescript@5.9.3)': + serve-static@2.2.1: dependencies: - '@typescript-eslint/project-service': 8.72.1(typescript@5.9.3) - '@typescript-eslint/tsconfig-utils': 8.72.1(typescript@5.9.3) - '@typescript-eslint/types': 8.72.1 - '@typescript-eslint/visitor-keys': 8.72.1 - debug: 4.4.3 - minimatch: 10.2.6 - semver: 7.8.5 - tinyglobby: 0.2.17 - ts-api-utils: 2.5.0(typescript@5.9.3) - typescript: 5.9.3 + encodeurl: 2.0.1 + escape-html: 1.0.3 + parseurl: 1.3.3 + send: 1.2.1 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.72.1(eslint@9.39.5)(typescript@5.9.3)': + setprototypeof@1.2.0: {} + + sharp@0.35.5(@types/node@22.13.4): dependencies: - '@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5) - '@typescript-eslint/scope-manager': 8.72.1 - '@typescript-eslint/types': 8.72.1 - '@typescript-eslint/typescript-estree': 8.72.1(typescript@5.9.3) - eslint: 9.39.5 - typescript: 5.9.3 - transitivePeerDependencies: - - supports-color + '@img/colour': 1.1.0 + detect-libc: 2.1.2 + semver: 7.8.5 + 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: {} - '@typescript-eslint/visitor-keys@8.72.1': + side-channel-list@1.0.1: dependencies: - '@typescript-eslint/types': 8.72.1 - eslint-visitor-keys: 5.0.1 + es-errors: 1.3.0 + object-inspect: 1.13.4 - acorn-jsx@5.3.2(acorn@8.19.0): + side-channel-map@1.0.1: dependencies: - acorn: 8.19.0 + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 - acorn@8.19.0: {} + 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 - ajv@6.15.0: + side-channel@1.1.1: dependencies: - fast-deep-equal: 3.1.3 - fast-json-stable-stringify: 2.1.0 - json-schema-traverse: 0.4.1 - uri-js: 4.4.1 + 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 - ansi-styles@4.3.0: + siginfo@2.0.0: {} + + signal-exit@4.1.0: {} + + source-map-js@1.2.2: {} + + source-map-support@0.5.21: dependencies: - color-convert: 2.0.1 + buffer-from: 1.1.2 + source-map: 0.6.1 - argparse@2.0.1: {} + source-map@0.6.1: {} - balanced-match@1.0.2: {} + stackback@0.0.2: {} - balanced-match@4.0.4: {} + statuses@2.0.2: {} - brace-expansion@1.1.21: + std-env@3.10.0: {} + + string-width@4.2.3: dependencies: - balanced-match: 1.0.2 - concat-map: 0.0.1 + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 - brace-expansion@5.0.12: + string-width@5.1.2: dependencies: - balanced-match: 4.0.4 + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.2.0 - callsites@3.1.0: {} + string-width@7.2.0: + dependencies: + emoji-regex: 10.6.0 + get-east-asian-width: 1.7.0 + strip-ansi: 7.2.0 - chalk@4.1.2: + string-width@8.3.0: dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 + get-east-asian-width: 1.7.0 + strip-ansi: 7.2.0 - color-convert@2.0.1: + strip-ansi@6.0.1: dependencies: - color-name: 1.1.4 + ansi-regex: 5.0.1 - color-name@1.1.4: {} + strip-ansi@7.2.0: + dependencies: + ansi-regex: 6.4.0 - concat-map@0.0.1: {} + strip-json-comments@3.1.1: {} - cross-spawn@7.0.6: + strip-literal@3.1.0: dependencies: - path-key: 3.1.1 - shebang-command: 2.0.0 - which: 2.0.2 + js-tokens: 9.0.1 - debug@4.4.3: + style-to-js@1.1.21: dependencies: - ms: 2.1.3 + style-to-object: 1.0.14 - deep-is@0.1.4: {} + style-to-object@1.0.14: + dependencies: + inline-style-parser: 0.2.7 - escape-string-regexp@4.0.0: {} + styled-jsx@5.1.6(react@19.2.8): + dependencies: + client-only: 0.0.1 + react: 19.2.8 - eslint-scope@8.4.0: + sucrase@3.35.1: dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 + '@jridgewell/gen-mapping': 0.3.13 + commander: 4.1.1 + lines-and-columns: 1.2.4 + mz: 2.7.0 + pirates: 4.0.7 + tinyglobby: 0.2.17 + ts-interface-checker: 0.1.13 - eslint-visitor-keys@3.4.3: {} + supports-color@10.2.2: {} - eslint-visitor-keys@4.2.1: {} + supports-color@7.2.0: + dependencies: + has-flag: 4.0.0 - eslint-visitor-keys@5.0.1: {} + supports-preserve-symlinks-flag@1.0.0: {} - eslint@9.39.5: + tailwindcss@3.4.19(yaml@2.9.1): dependencies: - '@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5) - '@eslint-community/regexpp': 4.12.2 - '@eslint/config-array': 0.21.2 - '@eslint/config-helpers': 0.4.2 - '@eslint/core': 0.17.0 - '@eslint/eslintrc': 3.3.7 - '@eslint/js': 9.39.5 - '@eslint/plugin-kit': 0.4.1 - '@humanfs/node': 0.16.8 - '@humanwhocodes/module-importer': 1.0.1 - '@humanwhocodes/retry': 0.4.3 - '@types/estree': 1.0.10 - ajv: 6.15.0 - chalk: 4.1.2 - cross-spawn: 7.0.6 - debug: 4.4.3 - escape-string-regexp: 4.0.0 - eslint-scope: 8.4.0 - eslint-visitor-keys: 4.2.1 - espree: 10.4.0 - esquery: 1.7.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 8.0.0 - find-up: 5.0.0 + '@alloc/quick-lru': 5.3.0 + arg: 5.0.2 + chokidar: 3.6.0 + didyoumean: 1.2.2 + dlv: 1.1.3 + fast-glob: 3.3.3 glob-parent: 6.0.2 - ignore: 5.3.2 - imurmurhash: 0.1.4 is-glob: 4.0.3 - json-stable-stringify-without-jsonify: 1.0.1 - lodash.merge: 4.6.2 - minimatch: 3.1.5 - natural-compare: 1.4.0 - optionator: 0.9.4 + jiti: 1.21.7 + lilconfig: 3.1.4 + micromatch: 4.0.8 + normalize-path: 3.0.0 + object-hash: 3.0.0 + picocolors: 1.1.1 + postcss: 8.5.6 + postcss-import: 15.1.0(postcss@8.5.6) + postcss-js: 4.1.0(postcss@8.5.6) + postcss-load-config: 6.0.1(jiti@1.21.7)(postcss@8.5.6)(yaml@2.9.1) + postcss-nested: 6.2.0(postcss@8.5.6) + postcss-selector-parser: 6.1.5 + resolve: 1.22.13 + sucrase: 3.35.1 transitivePeerDependencies: - - supports-color + - tsx + - yaml - espree@10.4.0: + terser@5.36.0: dependencies: + '@jridgewell/source-map': 0.3.11 acorn: 8.19.0 - acorn-jsx: 5.3.2(acorn@8.19.0) - eslint-visitor-keys: 4.2.1 + commander: 2.20.3 + source-map-support: 0.5.21 - esquery@1.7.0: + thenify-all@1.6.0: dependencies: - estraverse: 5.3.0 + thenify: 3.3.1 - esrecurse@4.3.0: + thenify@3.3.1: dependencies: - estraverse: 5.3.0 - - estraverse@5.3.0: {} + any-promise: 1.3.0 - esutils@2.0.3: {} + tinybench@2.9.0: {} - fast-deep-equal@3.1.3: {} + tinyexec@0.3.2: {} - fast-json-stable-stringify@2.1.0: {} + tinyglobby@0.2.17: + dependencies: + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 - fast-levenshtein@2.0.6: {} + tinypool@1.1.1: {} - fdir@6.5.0(picomatch@4.0.7): - optionalDependencies: - picomatch: 4.0.7 + tinyrainbow@2.0.0: {} - file-entry-cache@8.0.0: - dependencies: - flat-cache: 4.0.1 + tinyspy@4.0.6: {} - find-up@5.0.0: + to-regex-range@5.0.1: dependencies: - locate-path: 6.0.0 - path-exists: 4.0.0 + is-number: 7.0.0 - flat-cache@4.0.1: - dependencies: - flatted: 3.4.4 - keyv: 4.5.4 + toidentifier@1.0.1: {} - flatted@3.4.4: {} + tr46@0.0.3: {} - glob-parent@6.0.2: + ts-api-utils@2.5.0(typescript@5.9.3): dependencies: - is-glob: 4.0.3 + typescript: 5.9.3 - globals@14.0.0: {} + ts-interface-checker@0.1.13: {} - has-flag@4.0.0: {} + ts-tqdm@0.8.6: {} - ignore@5.3.2: {} + tslib@2.8.1: {} - ignore@7.0.14: {} + turbo@2.11.10: + optionalDependencies: + '@turbo/darwin-64': 2.11.10 + '@turbo/darwin-arm64': 2.11.10 + '@turbo/linux-64': 2.11.10 + '@turbo/linux-arm64': 2.11.10 + '@turbo/windows-64': 2.11.10 + '@turbo/windows-arm64': 2.11.10 - import-fresh@3.3.1: + type-check@0.4.0: dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - - imurmurhash@0.1.4: {} - - is-extglob@2.1.1: {} + prelude-ls: 1.2.1 - is-glob@4.0.3: + type-is@2.1.0: dependencies: - is-extglob: 2.1.1 + content-type: 2.1.0 + media-typer: 1.1.1 + mime-types: 3.0.2 - isexe@2.0.0: {} + typescript@5.7.3: {} - js-yaml@4.3.2: - dependencies: - argparse: 2.0.1 + typescript@5.9.3: {} - json-buffer@3.0.1: {} + undici-types@5.26.5: {} - json-schema-traverse@0.4.1: {} + undici-types@6.20.0: {} - json-stable-stringify-without-jsonify@1.0.1: {} + undici@6.29.1: {} - keyv@4.5.4: + undici@7.30.1: {} + + unenv@2.0.0-rc.24: dependencies: - json-buffer: 3.0.1 + pathe: 2.0.3 - levn@0.4.1: + unpipe@1.0.0: {} + + update-browserslist-db@1.3.4(browserslist@4.29.5): dependencies: - prelude-ls: 1.2.1 - type-check: 0.4.0 + browserslist: 4.29.5 + escalade: 3.2.0 + picocolors: 1.1.1 - locate-path@6.0.0: + uri-js@4.4.1: dependencies: - p-locate: 5.0.0 + punycode: 2.3.1 - lodash.merge@4.6.2: {} + urlpattern-polyfill@10.1.0: {} - minimatch@10.2.6: + util-deprecate@1.0.2: {} + + vary@1.1.2: {} + + vite-node@3.2.4(@types/node@22.13.4)(jiti@1.21.7)(terser@5.36.0)(yaml@2.9.1): dependencies: - brace-expansion: 5.0.12 + cac: 6.7.14 + debug: 4.4.3 + es-module-lexer: 1.7.0 + pathe: 2.0.3 + vite: 7.3.7(@types/node@22.13.4)(jiti@1.21.7)(terser@5.36.0)(yaml@2.9.1) + transitivePeerDependencies: + - '@types/node' + - jiti + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml - minimatch@3.1.5: + vite@7.3.7(@types/node@22.13.4)(jiti@1.21.7)(terser@5.36.0)(yaml@2.9.1): dependencies: - brace-expansion: 1.1.21 + esbuild: 0.28.2 + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 + postcss: 8.5.6 + rollup: 4.66.0 + tinyglobby: 0.2.17 + optionalDependencies: + '@types/node': 22.13.4 + fsevents: 2.3.3 + jiti: 1.21.7 + terser: 5.36.0 + yaml: 2.9.1 - ms@2.1.3: {} + vitest@3.2.7(@types/node@22.13.4)(jiti@1.21.7)(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.7(@types/node@22.13.4)(jiti@1.21.7)(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.7(@types/node@22.13.4)(jiti@1.21.7)(terser@5.36.0)(yaml@2.9.1) + vite-node: 3.2.4(@types/node@22.13.4)(jiti@1.21.7)(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 - natural-compare@1.4.0: {} + web-streams-polyfill@4.0.0-beta.3: {} - optionator@0.9.4: - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.4.1 - prelude-ls: 1.2.1 - type-check: 0.4.0 - word-wrap: 1.2.5 + webidl-conversions@3.0.1: {} - p-limit@3.1.0: + whatwg-url@5.0.0: dependencies: - yocto-queue: 0.1.0 + tr46: 0.0.3 + webidl-conversions: 3.0.1 - p-locate@5.0.0: + which@2.0.2: dependencies: - p-limit: 3.1.0 + isexe: 2.0.0 - parent-module@1.0.1: + why-is-node-running@2.3.0: dependencies: - callsites: 3.1.0 + siginfo: 2.0.0 + stackback: 0.0.2 - path-exists@4.0.0: {} + word-wrap@1.2.5: {} - path-key@3.1.1: {} + workerd@1.20261023.1: + optionalDependencies: + '@cloudflare/workerd-darwin-64': 1.20261023.1 + '@cloudflare/workerd-darwin-arm64': 1.20261023.1 + '@cloudflare/workerd-linux-64': 1.20261023.1 + '@cloudflare/workerd-linux-arm64': 1.20261023.1 + '@cloudflare/workerd-windows-64': 1.20261023.1 - picomatch@4.0.7: {} + wrangler@4.155.0(@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.20261023.1) + blake3-wasm: 2.1.5 + esbuild: 0.28.2 + miniflare: 5.20261023.2-beta(@types/node@22.13.4) + path-to-regexp: 6.3.0 + unenv: 2.0.0-rc.24 + workerd: 1.20261023.1 + optionalDependencies: + fsevents: 2.3.3 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - utf-8-validate - prelude-ls@1.2.1: {} + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 - punycode@2.3.1: {} + wrap-ansi@8.1.0: + dependencies: + ansi-styles: 6.2.3 + string-width: 5.1.2 + strip-ansi: 7.2.0 - resolve-from@4.0.0: {} + wrap-ansi@9.0.2: + dependencies: + ansi-styles: 6.2.3 + string-width: 7.2.0 + strip-ansi: 7.2.0 - semver@7.8.5: {} + wrappy@1.0.2: {} - shebang-command@2.0.0: + write-file-atomic@5.0.1: dependencies: - shebang-regex: 3.0.0 + imurmurhash: 0.1.4 + signal-exit: 4.1.0 - shebang-regex@3.0.0: {} + ws@8.21.0: {} - strip-json-comments@3.1.1: {} + y18n@5.0.8: {} - supports-color@7.2.0: - dependencies: - has-flag: 4.0.0 + yaml@2.9.1: {} - tinyglobby@0.2.17: - dependencies: - fdir: 6.5.0(picomatch@4.0.7) - picomatch: 4.0.7 + yargs-parser@22.0.0: {} - ts-api-utils@2.5.0(typescript@5.9.3): + yargs@18.2.0: dependencies: - typescript: 5.9.3 + 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 - turbo@2.11.10: - optionalDependencies: - '@turbo/darwin-64': 2.11.10 - '@turbo/darwin-arm64': 2.11.10 - '@turbo/linux-64': 2.11.10 - '@turbo/linux-arm64': 2.11.10 - '@turbo/windows-64': 2.11.10 - '@turbo/windows-arm64': 2.11.10 + yocto-queue@0.1.0: {} - type-check@0.4.0: + yocto-spinner@1.2.2: dependencies: - prelude-ls: 1.2.1 + yoctocolors: 2.2.0 - typescript@5.9.3: {} + yoctocolors@2.2.0: {} - uri-js@4.4.1: + youch-core@0.3.3: dependencies: - punycode: 2.3.1 + '@poppinss/exception': 1.2.3 + error-stack-parser-es: 1.0.5 - which@2.0.2: + youch@4.1.0-beta.10: dependencies: - isexe: 2.0.0 - - word-wrap@1.2.5: {} - - yocto-queue@0.1.0: {} + '@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/pnpm-workspace.yaml b/pnpm-workspace.yaml index 939c4e9..9187119 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -10,3 +10,9 @@ onlyBuiltDependencies: - esbuild - workerd - sharp + +# next-drupal 2.0.1 lists `next ^14 || ^15` as a plain dependency, which would +# install a second Next.js beside the app's 16.3.8 (and bundle it): pin it to +# the app's. +overrides: + next-drupal>next: 16.3.8 diff --git a/specs/epics/README.md b/specs/epics/README.md index d52b65b..4a88a8f 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 | |------|---------|--------|------------| -| [`cms-drupal/`](./cms-drupal/) | **DR** | In progress (DR0) | Vercel's Drupal Marketing Site (next-drupal's example-marketing) on Cloudflare Workers, every page cached in R2 and re-rendered on Drupal's call, drafts in preview — and an Orun baseline that instantiates it in one landing, live with sample content before a Drupal is connected (DR2) | +| [`cms-drupal/`](./cms-drupal/) | **DR** | In progress (DR1: the site on Workers) | Vercel's Drupal Marketing Site (next-drupal's example-marketing) on Cloudflare Workers, every page cached in R2 and re-rendered on Drupal's call, drafts in preview — and an Orun baseline that instantiates it in one landing, live with sample content before a Drupal is connected (DR2) | As-built ≠ intent: what shipped lives in each epic's `IMPLEMENTATION-STATUS.md`. diff --git a/specs/epics/cms-drupal/IMPLEMENTATION-STATUS.md b/specs/epics/cms-drupal/IMPLEMENTATION-STATUS.md index 2dbb3c7..36a2bf5 100644 --- a/specs/epics/cms-drupal/IMPLEMENTATION-STATUS.md +++ b/specs/epics/cms-drupal/IMPLEMENTATION-STATUS.md @@ -3,9 +3,49 @@ | Milestone | State | Landed | |---|---|---| | DR0 — the spec | ✅ | DR-1 | -| DR1 — the site on Workers | planned | DR-2 | +| DR1 — the site on Workers | ✅ | DR-2 | | DR2 — a baseline | planned | DR-3 | ## Departures from the upstream template -Recorded as they land, from DR1 on. +Everything not listed here is chapter-three/next-drupal +`examples/example-marketing` as it is at `80a89f1`. + +| # | What | Why | +|---|---|---| +| 1 | The app lives in `apps/web` of a pnpm workspace (`@app/web`); `dev`/`start` on port 3001 as upstream | The workspace's shape | +| 2 | `next` ^14.2.2 → 16.3.8, `react` 18 → 19.2.8, `next-drupal` ^2.0.0-beta.0 → 2.0.1 (its own `next` dependency overridden to 16.3.8), `@tanstack/react-query` 4 → 5, `html-react-parser` 4 → 5, `drupal-jsonapi-params` 2.3.1; dependencies pinned | @opennextjs/cloudflare 1.20.11 refuses Next 15.5 and fails on 16.4.x; React 19 needs Query 5 | +| 3 | `next build --webpack`; `output: "standalone"`, `outputFileTracingRoot` at the workspace root, `images.unoptimized` (was `images.domains`), `swcMinify` dropped, `initOpenNextCloudflareForDev()`; `open-next.config.ts` (R2 cache, memory queue), `wrangler.template.jsonc` (R2, `WORKER_SELF_REFERENCE`), `wiring.fixture.json`, `@opennextjs/cloudflare` and `wrangler` added | OpenNext's build and bindings | +| 4 | `next.config.ts` (from `.js`) `env` inlines `NEXT_PUBLIC_DRUPAL_BASE_URL` (from `DRUPAL_BASE_URL`), `DRUPAL_SITE_ID`, `DRUPAL_FRONT_PAGE` and `NEXT_PUBLIC_BASE_URL` (from `NEXT_PUBLIC_SITE_URL`); i18n and rewrites as upstream | A Worker's `process.env` holds only its vars and secrets | +| 5 | `lib/drupal.ts`: no URL → next-drupal's `fetcher` is `lib/sample-drupal.mjs` (new), the sample Drupal; the OAuth client only when both its id and secret are set; `connected` exported. `pages/api/sample-drupal/[...path].ts` (new) serves the sample to the browser's view search; `components/layout.tsx` shows the notice | A product deploys before its owner connects a Drupal; upstream fails its build without one | +| 6 | `pages/api/preview.ts`: 401 with no Drupal connected | Nothing to preview | +| 7 | `pages/api/revalidate.ts`: refuses every call while `DRUPAL_REVALIDATE_SECRET` is unset; the front page from `DRUPAL_FRONT_PAGE` or `/home` | Upstream let a call with no secret through when none was set (`undefined !== undefined` is false) | +| 8 | `lib/get-params.ts` `siteFilter`: the `field_site` filter only with `DRUPAL_SITE_ID`; the catch-all's `getStaticPaths` and the blog use it | A Drupal without the template's site field | +| 9 | `lib/get-menus.ts` returns a JSON copy of the menus | next-drupal 2's menu tree marks leaves `items: undefined`, which `getStaticProps` refuses to serialise | +| 10 | `site.ts` (new): `SITE_NAME = "Marketing"`; the navbar's brand, the titles' suffix (was "Next.js for Drupal") and the footer (was "Next.js + Drupal") read it; the default description says "site" (was "blog"); `og:image` is `/meta.jpg` (was `/images/meta.jpg`, which upstream never shipped) | One rename seam | +| 11 | `next/link` without the inner `` (its attributes moved onto `Link`) in nine places; `next/image` without `layout`/`objectFit` (the codemod's `style`), with `alt`s; the inline-image sizes parsed as numbers and their URL built with `absoluteURL` (upstream added a second `/`); `Element` imported from html-react-parser (was `domhandler/lib/node`); `React.JSX`; the unused `components/link.tsx` typed for React 19 | Next 13+ and React 19 APIs; the look is kept | +| 12 | `components/view--properties_listing.tsx`: TanStack Query 5's object form (`placeholderData: keepPreviousData`, `isPlaceholderData`, `invalidateQueries({ queryKey })`); the view link resolved against the page (`new URL(url, location.href)`); `pages/_app.tsx`: `HydrationBoundary` | Query 5; the sample's link is site-relative | +| 13 | `lib/utils/absolute-url.ts` reads `drupalBaseUrl` and adds a leading `/` when missing; the property images use it | The sample's photos are on the site | +| 14 | `pages/api/health.ts` (new): `{ok, connected}` | The deployment record's probe | +| 15 | `types/next-globals.d.ts` (new), `tsconfig.json` (bundler resolution, `react-jsx`, `baseUrl` kept, `strict` off as upstream); `eslint.config.mjs` (the workspace's; upstream used `next lint`, gone in Next 16) | The workspace's checks run before a build | +| 16 | `public/sample/` (new): four photos and their licence | The sample Drupal's media | +| 17 | Not carried: `cypress/`, `cypress.json`, `CHANGELOG.md`, `next-env.d.ts`, `.env.example`'s example OAuth client (replaced by empty settings) | Upstream's Cypress needs its gone demo Drupal (its assertions are the e2e's); credentials are Orun secrets | + +## Verified + +- The spike (design.md §4): next-drupal's router, on-demand revalidation + through `WORKER_SELF_REFERENCE` and preview on OpenNext 1.20.11 with the R2 + cache. +- `pnpm typecheck`, `lint`, `test` (tests/web's 19) and `build` green with + no Drupal; the Worker is 1253.38 KiB gzipped (5542.44 KiB raw). +- Unconnected under `wrangler dev`: `/`, `/es`, `/about`, `/blog` (both + pages), `/es/blog`, an article and `/properties` render the sample with the + notice; the view's search answers (12, four a page; one 4-bed San + Francisco sale); unknown paths 404; `/api/revalidate` and `/api/preview` + 401. +- Connected (a stand-in Drupal), under `wrangler dev` and in Baseline CI's + e2e: pages from Drupal with no notice; a second visit reads Drupal not at + all; an edit waits for `/api/revalidate`, wrong secrets refused, then shows + and is cached; Drupal's preview link opens the draft (`no-store`), and + leaving preview restores the published page; neither the OAuth client nor + the revalidation secret is in the build. diff --git a/specs/epics/cms-drupal/README.md b/specs/epics/cms-drupal/README.md index a554362..c7b3c1e 100644 --- a/specs/epics/cms-drupal/README.md +++ b/specs/epics/cms-drupal/README.md @@ -14,7 +14,7 @@ its owner connects a Drupal, and renders theirs once they set its URL.** | | | |---|---| -| Status | In progress — DR0 on main | +| Status | In progress — DR1 on main: the site runs on Workers | | Upstream | [chapter-three/next-drupal](https://github.com/chapter-three/next-drupal) `examples/example-marketing` (MIT), at `80a89f1` (2026-10-23) — the template [Vercel lists](https://vercel.com/templates/next.js/drupal-nextjs-marketing-site) | | Reference | [cms-sanity](https://github.com/sourceplane/cms-sanity) (the CMS-frontend baseline shape, an unconnected state), [sfcc-commerce](https://github.com/sourceplane/sfcc-commerce) (the R2 cache root, the wiring, Worker secrets and a connected e2e against a stand-in) | | Key | `DR` | diff --git a/tests/web/component.yaml b/tests/web/component.yaml new file mode 100644 index 0000000..0b0009d --- /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 sample Drupal read through next-drupal, a connected Drupal over HTTP (the stand-in fake-drupal.mjs, with drafts behind an OAuth token and preview links validated by Drupal), the revalidation and preview routes, the site-name seam and the multi-site filter +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..c6893a5 --- /dev/null +++ b/tests/web/docs/architecture.md @@ -0,0 +1,10 @@ +# web-tests — architecture + +A test package at `tests/web`. Its lane runs the suite before it builds. + +## Suites (4) + +- `connected.test.ts` +- `routes.test.ts` +- `sample.test.ts` +- `site.test.ts` diff --git a/tests/web/docs/overview.md b/tests/web/docs/overview.md new file mode 100644 index 0000000..4b6cb64 --- /dev/null +++ b/tests/web/docs/overview.md @@ -0,0 +1,20 @@ +# web-tests + +The port's vitest suite — the sample Drupal read through next-drupal, a connected Drupal over HTTP (the stand-in fake-drupal.mjs, with drafts behind an OAuth token and preview links validated by Drupal), the revalidation and preview routes, the site-name seam and the multi-site filter + +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..fe3db20 --- /dev/null +++ b/tests/web/eslint.config.js @@ -0,0 +1,5 @@ +import config from "../../tooling/eslint/index.js"; + +// next-drupal hands back Drupal's entities untyped (`DrupalNode` is an index +// type): the tests read their fields as `any`, as the template's components do. +export default [...config, { files: ["**/*.ts"], rules: { "@typescript-eslint/no-explicit-any": "off" } }]; diff --git a/tests/web/fake-drupal.mjs b/tests/web/fake-drupal.mjs new file mode 100644 index 0000000..75991e0 --- /dev/null +++ b/tests/web/fake-drupal.mjs @@ -0,0 +1,116 @@ +#!/usr/bin/env node +// A stand-in Drupal site, for testing a CONNECTED site offline. +// +// node fake-drupal.mjs --port --client --client-secret --preview-secret +// +// It is the sample Drupal (apps/web/lib/sample-drupal.mjs: the same content, +// answered in the shapes Drupal's jsonapi, decoupled_router, +// jsonapi_menu_items and jsonapi_views modules return) over HTTP, plus what a +// real Drupal adds for a connected site: +// simple_oauth: POST /oauth/token (grant_type=client_credentials, the +// client in `Authorization: Basic` or the form) → a Bearer +// token; a wrong client is 401 +// next module: POST /next/draft-url (the preview link's query, as JSON) +// → 200 when its `secret` is the preview secret, else 401 +// revisions: a node read with `resourceVersion=id:` is its DRAFT — +// " (draft)", unpublished — readable only with a token +// this server issued (403 without one), as Drupal's +// revision access does +// +// Control (for the e2e's cache assertions): +// GET /__calls → {"<operation>": <reads>, …} since the last reset +// POST /__reset → zero the counts +// POST /__edit → {"path": "/about", "title": "…"}: the published revision +// of the node at that path says something new +import { createServer } from "node:http"; + +import { createSampleDrupal } from "../../apps/web/lib/sample-drupal.mjs"; + +function arg(name) { + const i = process.argv.indexOf(`--${name}`); + return i >= 0 ? process.argv[i + 1] : undefined; +} +const port = Number(arg("port") ?? 4040); +const clientId = arg("client") ?? ""; +const clientSecret = arg("client-secret") ?? ""; +const previewSecret = arg("preview-secret") ?? ""; + +const tokens = new Set(); +const edits = new Map(); // node uuid → attributes over the published revision +let calls = {}; +const count = (op) => (calls[op] = (calls[op] ?? 0) + 1); + +const drupal = createSampleDrupal({ + overrides(resource, locale, revision, authed) { + if (!resource.type?.startsWith("node--")) return undefined; + if (revision && revision.startsWith("id:")) { + if (!authed) return null; + const base = { ...resource.attributes, ...(locale !== "en" && resource.es ? resource.es : {}), ...(edits.get(resource.id) ?? {}) }; + return { title: `${base.title} (draft)`, status: false }; + } + return edits.get(resource.id); + }, +}); + +function operation(pathname) { + const p = pathname.replace(/^\/es(?=\/)/, ""); + if (p === "/router/translate-path") return "translate"; + if (p === "/jsonapi") return "index"; + if (p.startsWith("/jsonapi/menu_items/")) return "menu"; + if (p.startsWith("/jsonapi/views/")) return "view"; + if (/^\/jsonapi\/node\/\w+\/[\w-]+$/.test(p)) return "node"; + if (/^\/jsonapi\/node\/\w+$/.test(p)) return "collection"; + return "other"; +} + +function send(res, status, body, type = "application/vnd.api+json") { + res.writeHead(status, { "content-type": type }); + res.end(typeof body === "string" ? body : JSON.stringify(body)); +} + +createServer(async (req, res) => { + let raw = ""; + for await (const chunk of req) raw += chunk; + const url = new URL(req.url, `http://127.0.0.1:${port}`); + + if (url.pathname === "/__calls") return send(res, 200, calls, "application/json"); + if (url.pathname === "/__reset" && req.method === "POST") { + calls = {}; + return send(res, 200, {}, "application/json"); + } + if (url.pathname === "/__edit" && req.method === "POST") { + const { path, ...attributes } = JSON.parse(raw || "{}"); + const t = drupal.translate(path); + if (!t) return send(res, 404, { message: `no node at ${path}` }, "application/json"); + edits.set(t.n.id, { ...(edits.get(t.n.id) ?? {}), ...attributes }); + return send(res, 200, { uuid: t.n.id }, "application/json"); + } + + if (url.pathname === "/oauth/token" && req.method === "POST") { + count("token"); + const form = new URLSearchParams(raw); + let [id, secret] = [form.get("client_id"), form.get("client_secret")]; + const basic = (req.headers.authorization ?? "").match(/^Basic (.+)$/); + if (basic) [id, secret] = Buffer.from(basic[1], "base64").toString().split(":"); + if (form.get("grant_type") !== "client_credentials" || id !== clientId || secret !== clientSecret || !clientId) { + return send(res, 401, { error: "invalid_client", error_description: "Client authentication failed." }, "application/json"); + } + const token = `tok-${tokens.size + 1}-${Date.now()}`; + tokens.add(token); + return send(res, 200, { token_type: "Bearer", expires_in: 300, access_token: token }, "application/json"); + } + + if (url.pathname === "/next/draft-url" && req.method === "POST") { + count("draft-url"); + const body = JSON.parse(raw || "{}"); + if (!previewSecret || body.secret !== previewSecret) return send(res, 401, { message: "Invalid preview secret." }, "application/json"); + return send(res, 200, { path: body.path, resourceVersion: body.resourceVersion }, "application/json"); + } + + count(operation(url.pathname)); + const bearer = (req.headers.authorization ?? "").match(/^Bearer (.+)$/); + const answer = await drupal.handle(new Request(url, { method: req.method, headers: { accept: "application/vnd.api+json" } }), { + authed: Boolean(bearer && tokens.has(bearer[1])), + }); + send(res, answer.status, await answer.text()); +}).listen(port, "127.0.0.1", () => console.log(`stand-in Drupal on http://127.0.0.1:${port}`)); diff --git a/tests/web/package.json b/tests/web/package.json new file mode 100644 index 0000000..f82f02b --- /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.11", + "@types/node": "22.13.4", + "next": "16.3.8", + "react": "19.2.8", + "react-dom": "19.2.8", + "typescript": "^5.8.3", + "vitest": "^3.2.4", + "next-drupal": "2.0.1", + "drupal-jsonapi-params": "2.3.1" + } +} diff --git a/tests/web/src/connected.test.ts b/tests/web/src/connected.test.ts new file mode 100644 index 0000000..06bbfc4 --- /dev/null +++ b/tests/web/src/connected.test.ts @@ -0,0 +1,63 @@ +import { afterAll, beforeAll, describe, expect, it, vi } from "vitest"; + +import { CLIENT, PREVIEW_SECRET, startStandIn } from "./stand-in"; + +// A connected site: DRUPAL_BASE_URL inlined at build (here, set before the +// module loads) and the OAuth client as Worker secrets. next-drupal reads the +// stand-in Drupal over HTTP; a draft needs the client's token. +let standIn: Awaited<ReturnType<typeof startStandIn>>; +let lib: typeof import("lib/drupal"); + +beforeAll(async () => { + standIn = await startStandIn(); + vi.stubEnv("NEXT_PUBLIC_DRUPAL_BASE_URL", standIn.origin); + vi.stubEnv("DRUPAL_CLIENT_ID", CLIENT.id); + vi.stubEnv("DRUPAL_CLIENT_SECRET", CLIENT.secret); + vi.resetModules(); + lib = await import("lib/drupal"); +}); +afterAll(() => { + vi.unstubAllEnvs(); + standIn?.stop(); +}); + +const en = { locale: "en", defaultLocale: "en" }; + +describe("a connected Drupal", () => { + it("is read over HTTP, not from the sample", async () => { + expect(lib.connected).toBe(true); + await fetch(`${standIn.origin}/__reset`, { method: "POST" }); + const path = await lib.drupal.translatePathFromContext({ params: { slug: ["about"] }, ...en }); + const node = await lib.drupal.getResourceFromContext<any>(path!, { params: { slug: ["about"] }, ...en }); + expect(node.title).toBe("About"); + const calls = await (await fetch(`${standIn.origin}/__calls`)).json(); + expect(calls).toMatchObject({ translate: 1, node: 1 }); + }); + + it("reads a draft only in preview, with the client's token", async () => { + const path = await lib.drupal.translatePathFromContext({ params: { slug: ["about"] }, ...en }); + const preview = { params: { slug: ["about"] }, ...en, preview: true, previewData: { resourceVersion: "id:7", plugin: "simple_oauth" } }; + const draft = await lib.drupal.getResourceFromContext<any>(path!, preview as any); + expect(draft).toMatchObject({ title: "About (draft)", status: false }); + // Without preview there is no token, and Drupal refuses the revision. + await expect( + lib.drupal.getResourceFromContext<any>(path!, { params: { slug: ["about"] }, ...en }, { params: { resourceVersion: "id:7" } }), + ).rejects.toThrow(); + }); + + it("validates the preview link's secret with Drupal", async () => { + const ok = await lib.drupal.validateDraftUrl(new URLSearchParams({ path: "/about", secret: PREVIEW_SECRET })); + expect(ok.status).toBe(200); + const bad = await lib.drupal.validateDraftUrl(new URLSearchParams({ path: "/about", secret: "nope" })); + expect(bad.status).toBe(401); + }); + + it("refuses a wrong OAuth client", async () => { + const res = await fetch(`${standIn.origin}/oauth/token`, { + method: "POST", + headers: { authorization: `Basic ${Buffer.from(`${CLIENT.id}:wrong`).toString("base64")}`, "content-type": "application/x-www-form-urlencoded" }, + body: "grant_type=client_credentials", + }); + expect(res.status).toBe(401); + }); +}); diff --git a/tests/web/src/routes.test.ts b/tests/web/src/routes.test.ts new file mode 100644 index 0000000..d97975a --- /dev/null +++ b/tests/web/src/routes.test.ts @@ -0,0 +1,48 @@ +import { afterEach, describe, expect, it, vi } from "vitest"; + +import preview from "../../../apps/web/pages/api/preview"; +import revalidate from "../../../apps/web/pages/api/revalidate"; + +// The two routes Drupal calls, with a stand-in for Next's API response. +function response() { + const res: any = { statusCode: 200, body: undefined as unknown, revalidated: [] as string[] }; + res.status = (c: number) => ((res.statusCode = c), res); + res.json = (b: unknown) => ((res.body = b), res); + res.revalidate = async (p: string) => void res.revalidated.push(p); + return res; +} +const call = async (handler: any, query: Record<string, string>) => { + const res = response(); + await handler({ query } as any, res); + return res; +}; +afterEach(() => vi.unstubAllEnvs()); + +describe("/api/revalidate", () => { + it("is off without DRUPAL_REVALIDATE_SECRET — even for a call with no secret", async () => { + vi.stubEnv("DRUPAL_REVALIDATE_SECRET", ""); + for (const query of [{ path: "/about" }, { path: "/about", secret: "" }, { path: "/about", secret: "x" }]) { + const res = await call(revalidate, query); + expect(res.statusCode).toBe(401); + expect(res.revalidated).toEqual([]); + } + }); + + it("refuses a wrong secret and revalidates the path with the right one", async () => { + vi.stubEnv("DRUPAL_REVALIDATE_SECRET", "s3cret"); + expect((await call(revalidate, { path: "/about", secret: "nope" })).statusCode).toBe(401); + expect((await call(revalidate, { secret: "s3cret" })).statusCode).toBe(400); + const ok = await call(revalidate, { path: "/about", secret: "s3cret" }); + expect([ok.statusCode, ok.revalidated]).toEqual([200, ["/about"]]); + // Drupal names the front page by its own path. + expect((await call(revalidate, { path: "/home", secret: "s3cret" })).revalidated).toEqual(["/"]); + }); +}); + +describe("/api/preview", () => { + it("has nothing to preview before a Drupal site is connected", async () => { + const res = await call(preview, { path: "/about", secret: "anything" }); + expect(res.statusCode).toBe(401); + expect((res.body as { message: string }).message).toMatch(/No Drupal site is connected/); + }); +}); diff --git a/tests/web/src/sample.test.ts b/tests/web/src/sample.test.ts new file mode 100644 index 0000000..3e685f8 --- /dev/null +++ b/tests/web/src/sample.test.ts @@ -0,0 +1,84 @@ +import { describe, expect, it } from "vitest"; + +import { connected, drupal } from "lib/drupal"; +import { getMenus } from "lib/get-menus"; +import { getParams } from "lib/get-params"; + +// With no Drupal connected (no DRUPAL_BASE_URL at build), next-drupal reads +// the bundled sample site: the same calls the pages make, answered in the +// Worker, deserialised by next-drupal itself. +const en = { locale: "en", defaultLocale: "en" }; +const es = { locale: "es", defaultLocale: "en" }; + +describe("the sample Drupal, read through next-drupal", () => { + it("is what an unconnected site reads", () => { + expect(connected).toBe(false); + }); + + it("resolves the front page to a landing page built from paragraphs", async () => { + const path = await drupal.translatePathFromContext({ params: {}, ...en }); + expect(path?.jsonapi?.resourceName).toBe("node--landing_page"); + const node = await drupal.getResourceFromContext<any>(path!, { params: {}, ...en }, { params: getParams("node--landing_page") }); + expect(node.title).toBe("Home"); + const types = node.field_sections.map((p: any) => p.type); + expect(types).toEqual(["paragraph--hero", "paragraph--feature", "paragraph--cards", "paragraph--faq"]); + const hero = node.field_sections[0]; + expect(hero.field_heading).toBe("Build Something Amazing"); + expect(hero.field_media.field_media_image.uri.url).toBe("/sample/hero.webp"); + expect(hero.field_media.field_media_image.resourceIdObjMeta).toMatchObject({ alt: "Hero", width: 3200, height: 1800 }); + expect(node.field_sections[3].field_items[0].field_heading).toBe("Move weight here just either attorney?"); + }); + + it("serves the Spanish translation under /es", async () => { + const path = await drupal.translatePathFromContext({ params: { slug: ["home"] }, ...es }); + expect(path?.entity?.langcode).toBe("es"); + const node = await drupal.getResourceFromContext<any>(path!, { params: { slug: ["home"] }, ...es }, { params: getParams("node--landing_page") }); + expect(node.field_sections[0].field_heading).toBe("Construye Algo Asombroso"); + }); + + it("does not resolve a path Drupal has no node at", async () => { + expect(await drupal.translatePathFromContext({ params: { slug: ["no-such-page"] }, ...en })).toBeNull(); + }); + + it("lists the articles newest first, two to a page, with their author", async () => { + const result = await drupal.getResourceCollectionFromContext<any>("node--article", { params: {}, ...en }, { + deserialize: false, + params: { "filter[status]": "1", sort: "-created", include: "uid,field_image", "page[limit]": 2, "page[offset]": 0 }, + }); + expect(result.meta.count).toBe(3); + const nodes = drupal.deserialize(result) as any[]; + expect(nodes.map((n) => n.title)).toEqual([ + "Learn How to Pre-render Pages Using Static Generation with Next.js", + "Dynamic Routing and Static Generation", + ]); + expect(nodes[0].uid.field_name).toBe("Arshad"); + }); + + it("gives every page path to getStaticPaths, in both languages", async () => { + const paths = await drupal.getStaticPathsFromContext(["node--page", "node--landing_page", "node--article"], { locales: ["en", "es"], defaultLocale: "en" }); + const es = paths.filter((p: any) => p.locale === "es").map((p: any) => (p.params.slug as string[]).join("/")); + expect(es).toContain("about"); + expect(paths).toHaveLength(12); + }); + + it("answers the properties view four at a time, and its filters", async () => { + const view = await drupal.getView<any>("properties--listing", { params: { include: "field_location,field_images.field_media_image" } }); + expect(view.meta.count).toBe(12); + expect(view.results).toHaveLength(4); + expect(view.results[0].title).toBe("484 Robert Crest Apt. 875"); + expect(view.results[0].field_location.name).toBe("San Francisco, CA"); + // The browser follows the view's own link: on this site for the sample. + expect((view.links.self as { href: string }).href.startsWith("/api/sample-drupal/jsonapi/views/properties/listing")).toBe(true); + const filtered = await drupal.getView<any>("properties--listing", { + params: { "views-filter[location]": "1", "views-filter[status]": "sale", "views-filter[beds]": "4" }, + }); + expect(filtered.results.map((r: any) => r.title)).toEqual(["17 Grand View Avenue"]); + }); + + it("builds both menus, localised, as data getStaticProps can serialise", async () => { + const menus = await getMenus({ ...es } as any); + expect(menus.main.map((l: any) => l.title)).toEqual(["Inicio", "Blog", "Propiedades", "Acerca", "GitHub"]); + expect(JSON.parse(JSON.stringify(menus))).toEqual(menus); + expect(Object.values(menus.main[0]).includes(undefined)).toBe(false); + }); +}); diff --git a/tests/web/src/site.test.ts b/tests/web/src/site.test.ts new file mode 100644 index 0000000..4c22780 --- /dev/null +++ b/tests/web/src/site.test.ts @@ -0,0 +1,42 @@ +import * as fs from "node:fs"; +import * as path from "node:path"; +import { DrupalJsonApiParams } from "drupal-jsonapi-params"; +import { afterEach, describe, expect, it, vi } from "vitest"; + +import { siteFilter } from "lib/get-params"; +import { absoluteURL } from "lib/utils/absolute-url"; +import { SITE_NAME } from "site"; + +const app = path.resolve(__dirname, "../../../apps/web"); +afterEach(() => vi.unstubAllEnvs()); + +describe("the site's name", () => { + it("is one literal line, which the rename finds", () => { + expect(fs.readFileSync(path.join(app, "site.ts"), "utf8")).toMatch(/^export const SITE_NAME = ".+";$/m); + expect(SITE_NAME.length).toBeGreaterThan(0); + }); + + it("is what the navbar, the titles and the footer say", () => { + for (const f of ["components/navbar.tsx", "components/meta.tsx", "components/footer.tsx"]) { + expect(fs.readFileSync(path.join(app, f), "utf8")).toContain("SITE_NAME"); + } + }); +}); + +describe("Drupal's files", () => { + it("load from this site for the sample photos", () => { + expect(absoluteURL("/sample/hero.webp")).toBe("/sample/hero.webp"); + expect(absoluteURL("sample/hero.webp")).toBe("/sample/hero.webp"); + }); +}); + +describe("the multi-site filter", () => { + it("applies only when DRUPAL_SITE_ID is set", () => { + vi.stubEnv("DRUPAL_SITE_ID", ""); + expect(siteFilter(new DrupalJsonApiParams()).getQueryString()).toBe(""); + vi.stubEnv("DRUPAL_SITE_ID", "example_marketing"); + expect(decodeURIComponent(siteFilter(new DrupalJsonApiParams()).getQueryString())).toBe( + "filter[field_site.meta.drupal_internal__target_id]=example_marketing", + ); + }); +}); diff --git a/tests/web/src/stand-in.ts b/tests/web/src/stand-in.ts new file mode 100644 index 0000000..d5816f4 --- /dev/null +++ b/tests/web/src/stand-in.ts @@ -0,0 +1,38 @@ +import { spawn, type ChildProcess } from "node:child_process"; +import * as net from "node:net"; +import * as path from "node:path"; + +// The stand-in Drupal (fake-drupal.mjs) on a free port, for the tests that +// read a connected site over HTTP. Spawned async: a child that talks to this +// process's own fetches must not block it. +export const CLIENT = { id: "site-client", secret: "client-secret" }; +export const PREVIEW_SECRET = "preview-secret"; + +async function freePort(): Promise<number> { + return new Promise((resolve) => { + const s = net.createServer().listen(0, "127.0.0.1", () => { + const { port } = s.address() as net.AddressInfo; + s.close(() => resolve(port)); + }); + }); +} + +export async function startStandIn(): Promise<{ origin: string; stop: () => void }> { + const port = await freePort(); + const child: ChildProcess = spawn( + process.execPath, + [ + path.join(__dirname, "../fake-drupal.mjs"), + "--port", String(port), + "--client", CLIENT.id, + "--client-secret", CLIENT.secret, + "--preview-secret", PREVIEW_SECRET, + ], + { stdio: ["ignore", "pipe", "inherit"] }, + ); + await new Promise<void>((resolve, reject) => { + child.stdout!.on("data", (b: Buffer) => b.toString().includes("stand-in Drupal on") && resolve()); + child.on("exit", (code) => reject(new Error(`fake-drupal exited ${code}`))); + }); + return { origin: `http://127.0.0.1:${port}`, stop: () => child.kill() }; +} diff --git a/tests/web/tsconfig.json b/tests/web/tsconfig.json new file mode 100644 index 0000000..da37f1b --- /dev/null +++ b/tests/web/tsconfig.json @@ -0,0 +1,20 @@ +{ + // The site'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 and the files differ. + "extends": "../../apps/web/tsconfig.json", + "compilerOptions": { + "noEmit": true, + "incremental": false, + "types": ["node"], + "baseUrl": ".", + "paths": { + "components/*": ["../../apps/web/components/*"], + "lib/*": ["../../apps/web/lib/*"], + "site": ["../../apps/web/site.ts"] + }, + "plugins": [] + }, + "include": ["src/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/tests/web/vitest.config.ts b/tests/web/vitest.config.ts new file mode 100644 index 0000000..8e86625 --- /dev/null +++ b/tests/web/vitest.config.ts @@ -0,0 +1,21 @@ +import { defineConfig } from "vitest/config"; +import * as path from "node:path"; + +// Upstream imports its own modules by bare path (`lib/drupal`, +// `components/…`, `site`) through tsconfig `baseUrl: "."`; the aliases make +// the same specifiers resolve from here. +const app = path.resolve(__dirname, "../../apps/web"); + +export default defineConfig({ + resolve: { + alias: [ + { find: /^components\//, replacement: `${app}/components/` }, + { find: /^lib\//, replacement: `${app}/lib/` }, + { find: /^site$/, replacement: `${app}/site.ts` }, + ], + }, + test: { + include: ["src/**/*.test.ts"], + 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|(?<![\w.-])(testing|specs|tasks|docs/phases|hooks)/" + r"|\.baseline/|tooling/(rebrand|bootstrap|catalog)/") + + +# ── reading what is declared ───────────────────────────────────────────── + +def strip_jsonc(text: str) -> 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())