diff --git a/apps/.gitkeep b/apps/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/apps/web/.dev.vars.example b/apps/web/.dev.vars.example new file mode 100644 index 0000000..398e95d --- /dev/null +++ b/apps/web/.dev.vars.example @@ -0,0 +1,10 @@ +# Copy to .dev.vars for `pnpm preview` (wrangler dev reads it as the Worker's +# secrets; `vite dev` reads it too, through the platform proxy). Never commit +# .dev.vars. On stage and prod these come from Orun secrets (README → Stripe, +# Email); the service-role key from the environment's Supabase project. +PRIVATE_SUPABASE_SERVICE_ROLE="your project's service_role key" +# Optional — Stripe (billing) and Resend (email) +# PRIVATE_STRIPE_API_KEY="sk_test_…" +# PRIVATE_RESEND_API_KEY="re_…" +# PRIVATE_ADMIN_EMAIL="you@example.com" +# PRIVATE_FROM_ADMIN_EMAIL="no-reply@your-verified-domain.example" diff --git a/apps/web/.env.example b/apps/web/.env.example new file mode 100644 index 0000000..5e0d1ab --- /dev/null +++ b/apps/web/.env.example @@ -0,0 +1,8 @@ +# For `vite dev`: the Supabase project the dev server talks to. A build reads +# these from wrangler.jsonc instead (tooling/wire/with-vars.mjs), and the +# deploy renders that file from the environment's own project — so this file +# is for local work only. Secrets go in .dev.vars (see .dev.vars.example). +PUBLIC_SUPABASE_URL='https://REPLACE_ME.supabase.co' +PUBLIC_SUPABASE_ANON_KEY='REPLACE_ME' +# The site's public origin (sitemap, RSS, emails). Empty: http://localhost:5173 +PUBLIC_SITE_URL='' diff --git a/apps/web/.eslintignore b/apps/web/.eslintignore new file mode 100644 index 0000000..3897265 --- /dev/null +++ b/apps/web/.eslintignore @@ -0,0 +1,13 @@ +.DS_Store +node_modules +/build +/.svelte-kit +/package +.env +.env.* +!.env.example + +# Ignore files for PNPM, NPM and YARN +pnpm-lock.yaml +package-lock.json +yarn.lock diff --git a/apps/web/.eslintrc.cjs b/apps/web/.eslintrc.cjs new file mode 100644 index 0000000..1a5c8ae --- /dev/null +++ b/apps/web/.eslintrc.cjs @@ -0,0 +1,48 @@ +module.exports = { + root: true, + extends: [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:svelte/recommended", + "prettier", + ], + parser: "@typescript-eslint/parser", + plugins: ["@typescript-eslint"], + parserOptions: { + sourceType: "module", + ecmaVersion: 2020, + extraFileExtensions: [".svelte"], + }, + overrides: [ + { + files: ["*.svelte"], + parser: "svelte-eslint-parser", + parserOptions: { + parser: { + // Specify a parser for each lang. + ts: "@typescript-eslint/parser", + js: "espree", + typescript: "@typescript-eslint/parser", + }, + }, + }, + { + // Apply to all test files. Proper type checking in tests with mocks can be tedious and counterproductive. + files: ["**/*.test.ts", "**/*.spec.ts"], + rules: { + "@typescript-eslint/no-explicit-any": "off", + }, + }, + ], + env: { + browser: true, + es2017: true, + node: true, + }, + rules: { + "no-undef": "off", + // no-undef has been turned off because of this: + // basically, it causes issues and TS does those checks so it's redundant + // https://typescript-eslint.io/linting/troubleshooting#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors + }, +} diff --git a/apps/web/.gitignore b/apps/web/.gitignore new file mode 100644 index 0000000..6635cf5 --- /dev/null +++ b/apps/web/.gitignore @@ -0,0 +1,10 @@ +.DS_Store +node_modules +/build +/.svelte-kit +/package +.env +.env.* +!.env.example +vite.config.js.timestamp-* +vite.config.ts.timestamp-* diff --git a/apps/web/.npmrc b/apps/web/.npmrc new file mode 100644 index 0000000..0c05da4 --- /dev/null +++ b/apps/web/.npmrc @@ -0,0 +1,2 @@ +engine-strict=true +resolution-mode=highest diff --git a/apps/web/.prettierignore b/apps/web/.prettierignore new file mode 100644 index 0000000..715ce76 --- /dev/null +++ b/apps/web/.prettierignore @@ -0,0 +1,13 @@ +**/.svelte-kit/ +**/node_modules/ +**/package-lock.json + +# Don't format plaintext email templates, the new lines are important +src/lib/emails/*_text.svelte +src/lib/emails/*_text.hbs +# The Worker's config: the committed render is byte for byte what +# tooling/wire writes (tests/web holds it to that), and the template keeps +# the comments the render carries over. +wrangler.jsonc +wrangler.template.jsonc +component.yaml diff --git a/apps/web/.prettierrc b/apps/web/.prettierrc new file mode 100644 index 0000000..0367da2 --- /dev/null +++ b/apps/web/.prettierrc @@ -0,0 +1,7 @@ +{ + "plugins": ["prettier-plugin-svelte"], + "useTabs": false, + "tabWidth": 2, + "semi": false, + "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] +} diff --git a/apps/web/LICENSE b/apps/web/LICENSE new file mode 100644 index 0000000..6cfb86e --- /dev/null +++ b/apps/web/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Steve Cosman + +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..c808519 --- /dev/null +++ b/apps/web/README.md @@ -0,0 +1,20 @@ +# apps/web + +[CMSaasStarter](https://github.com/scosman/CMSaasStarter) (MIT, © 2023 Steve +Cosman — see [LICENSE](LICENSE)) on Cloudflare Workers + Static Assets through +`@sveltejs/adapter-cloudflare`. + +```bash +pnpm install # from the repository root +pnpm --filter @app/web wire:fixture # render wrangler.jsonc from the fixture +cp apps/web/.env.example apps/web/.env # your project's URL and anon key, for `vite dev` +cp apps/web/.dev.vars.example apps/web/.dev.vars # its service-role key (and Stripe / Resend, optional) +pnpm --filter @app/web dev # http://localhost:5173 +pnpm --filter @app/web build # vite build → .svelte-kit/cloudflare (the Worker and its assets) +pnpm --filter @app/web preview # wrangler dev over the build +``` + +`pnpm build` reads the Supabase project's URL and anon key from +`wrangler.jsonc` (`tooling/wire/with-vars.mjs`), so the build always inlines +the project the Worker is configured for. Secrets are never inlined: the +Worker reads them at request time (`$env/dynamic/private`). diff --git a/apps/web/component.yaml b/apps/web/component.yaml new file mode 100644 index 0000000..e7163c0 --- /dev/null +++ b/apps/web/component.yaml @@ -0,0 +1,107 @@ +apiVersion: sourceplane.io/v1 +kind: Component +metadata: + name: web + description: The SaaS site (SvelteKit on Cloudflare Workers + Static Assets via @sveltejs/adapter-cloudflare, per environment) +spec: + type: cloudflare-workers-assets-turbo + lifecycle: production + owner: platform + # `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 framework build is the longest job in + # the plan, and a shared lane would wait on it. + lane: isolated + # The project this environment talks to: its URL and anon key, in the wiring + # document the `supabase` Terraform root lease-publishes after its apply. + # Rendered into wrangler.jsonc by the build (and inlined into the bundle), + # so a job resolves it when it STARTS. + secretEnv: + WIRING_SUPABASE_STAGE: "secret://sveltekit-saas/sveltekit-saas/stage/WIRING_SUPABASE" + WIRING_SUPABASE_PROD: "secret://sveltekit-saas/sveltekit-saas/prod/WIRING_SUPABASE" + # The Worker's SECRETS, each read at request time ($env/dynamic/private), + # never inlined: the project's service-role key, which the `supabase` root + # publishes beside the wiring, and the owner's Stripe and Resend settings + # (README → Stripe, Email). The build hands each one that is set to the + # Worker as a secret (tooling/wire/worker-secrets.mjs, the value over + # stdin). BEST-EFFORT, wire-now-seed-later: a key nobody has stored is + # skipped when the job resolves its secrets (no env var, no failure), and + # the site without it says what to connect — so a fresh product deploys and + # serves before its owner has a Stripe or Resend account at all. + optionalSecretEnv: + PRIVATE_SUPABASE_SERVICE_ROLE: "secret://sveltekit-saas/sveltekit-saas/{{ .environment }}/SUPABASE_SERVICE_ROLE_KEY" + PRIVATE_STRIPE_API_KEY: "secret://sveltekit-saas/sveltekit-saas/{{ .environment }}/STRIPE_API_KEY" + PRIVATE_RESEND_API_KEY: "secret://sveltekit-saas/sveltekit-saas/{{ .environment }}/RESEND_API_KEY" + PRIVATE_ADMIN_EMAIL: "secret://sveltekit-saas/sveltekit-saas/{{ .environment }}/ADMIN_EMAIL" + PRIVATE_FROM_ADMIN_EMAIL: "secret://sveltekit-saas/sveltekit-saas/{{ .environment }}/FROM_ADMIN_EMAIL" + 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 + + # @sveltejs/adapter-cloudflare emits the Worker as + # .svelte-kit/cloudflare/_worker.js and the static output (pre-rendered + # pages, _app/* hashed assets, static/) beside it — both deploy in one + # `wrangler deploy`. + workerEntrypoint: .svelte-kit/cloudflare/_worker.js + assetsDir: .svelte-kit/cloudflare + + # Per-env worker name: sveltekit-saas-web-{dev,stage,prod}. + workerName: sveltekit-saas-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, then hand the + # Worker its secrets. stage and prod render from the wiring document their + # supabase 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 build inlines the rendered + # project's URL and anon key (tooling/wire/with-vars.mjs) and the site's + # public origin, PUBLIC_SITE_URL — the environment's SITE_URL + # (intent.yaml), or its workers.dev URL — into the sitemap, the feed and + # the emails. No secret reaches the build (`env -u`): the Worker reads each + # at request time. Then every secret the environment has goes to the + # Worker (`wrangler secret bulk`, the value over stdin) before the + # composition deploys it; only the deploy lane holds a Cloudflare + # credential, so a verify lane builds the same and pushes nothing. + buildCommand: node ../../tooling/wire/live.mjs --template wrangler.template.jsonc --out wrangler.jsonc --components supabase --env "${ORUN_ENVIRONMENT}" --fixture wiring.fixture.json --fixture-envs dev && env -u PRIVATE_SUPABASE_SERVICE_ROLE -u PRIVATE_STRIPE_API_KEY -u PRIVATE_RESEND_API_KEY -u PRIVATE_ADMIN_EMAIL -u PRIVATE_FROM_ADMIN_EMAIL PUBLIC_SITE_URL="${SITE_URL:-https://sveltekit-saas-web-${ORUN_ENVIRONMENT}.your-workers-subdomain.workers.dev}" pnpm exec turbo run build --filter=@app/web && node ../../tooling/wire/worker-secrets.mjs --worker "sveltekit-saas-web-${ORUN_ENVIRONMENT}" --config wrangler.jsonc --secret PRIVATE_SUPABASE_SERVICE_ROLE --secret PRIVATE_STRIPE_API_KEY --secret PRIVATE_RESEND_API_KEY --secret PRIVATE_ADMIN_EMAIL --secret PRIVATE_FROM_ADMIN_EMAIL + + # Smoke: the home page renders to its end (``), and /api/health + # answers ok — which only the Worker can, by counting the profiles table + # in its project with the service-role key, so it proves the project's + # wiring and key reached the Worker, the migrations ran and the Worker is + # serving, whether or not Stripe and email are connected. Read-only. Each + # response is buffered before grep so an early match cannot SIGPIPE curl. + smokeCommand: "html=$(curl -sfL \"${DEPLOYED_URL}/\") && echo \"${html}\" | grep -q '' && health=$(curl -sf \"${DEPLOYED_URL}/api/health\") && echo \"${health}\" | grep -q '\"ok\":true'" + labels: + team: platform + layer: delivery + surface: web + runtime: cloudflare diff --git a/apps/web/package.json b/apps/web/package.json new file mode 100644 index 0000000..cee0d0c --- /dev/null +++ b/apps/web/package.json @@ -0,0 +1,57 @@ +{ + "name": "@app/web", + "version": "0.0.0", + "private": true, + "scripts": { + "dev": "vite dev", + "build": "node ../../tooling/wire/with-vars.mjs --config wrangler.jsonc -- vite build", + "preview": "wrangler dev --config wrangler.jsonc", + "check": "node ../../tooling/wire/with-vars.mjs --config wrangler.jsonc -- svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "typecheck": "node ../../tooling/wire/with-vars.mjs --config wrangler.jsonc -- svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "test:unit": "node ../../tooling/wire/with-vars.mjs --config wrangler.jsonc -- svelte-kit sync && node ../../tooling/wire/with-vars.mjs --config wrangler.jsonc -- vitest run", + "lint": "eslint . && prettier --check --plugin prettier-plugin-svelte .", + "format": "prettier --write --plugin prettier-plugin-svelte .", + "wire:fixture": "node ../../tooling/wire/render.mjs --template wrangler.template.jsonc --out wrangler.jsonc --map wiring.fixture.json --env stage" + }, + "devDependencies": { + "@sveltejs/adapter-cloudflare": "^7.2.9", + "@sveltejs/kit": "^2.21.1", + "@sveltejs/vite-plugin-svelte": "^5.0.3", + "@tailwindcss/postcss": "^4.0.9", + "@tailwindcss/typography": "^0.5.13", + "@types/glob": "^8.1.0", + "@types/html-to-text": "^9.0.4", + "@types/jsdom": "^21.1.7", + "@typescript-eslint/eslint-plugin": "^8.57.1", + "@typescript-eslint/parser": "^8.57.1", + "daisyui": "^5.0.0", + "eslint": "^8.28.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-svelte": "^2.45.1", + "fuse.js": "~7.0.0", + "glob": "^10.4.5", + "html-to-text": "^9.0.5", + "jsdom": "^24.1.1", + "postcss": "^8.4.31", + "prettier": "~3.4.2", + "prettier-plugin-svelte": "~3.3.2", + "super-sitemap": "^1.0.7", + "svelte": "^5.0.0", + "svelte-check": "^4.0.0", + "tailwindcss": "^4.0.9", + "typescript": "^5.5.0", + "vite": "^6.3.5", + "vitest": "^3.0.7", + "wrangler": "^4.151.0" + }, + "type": "module", + "dependencies": { + "@supabase/auth-ui-shared": "^0.1.8", + "@supabase/auth-ui-svelte": "^0.2.9", + "@supabase/ssr": "^0.5.2", + "@supabase/supabase-js": "^2.45.2", + "handlebars": "^4.7.8", + "resend": "^3.5.0", + "stripe": "^13.3.0" + } +} diff --git a/apps/web/postcss.config.js b/apps/web/postcss.config.js new file mode 100644 index 0000000..fb05b56 --- /dev/null +++ b/apps/web/postcss.config.js @@ -0,0 +1,5 @@ +export default { + plugins: { + "@tailwindcss/postcss": {}, + }, +} diff --git a/apps/web/src/DatabaseDefinitions.ts b/apps/web/src/DatabaseDefinitions.ts new file mode 100644 index 0000000..3d9122a --- /dev/null +++ b/apps/web/src/DatabaseDefinitions.ts @@ -0,0 +1,121 @@ +export type Json = + | string + | number + | boolean + | null + | { [key: string]: Json | undefined } + | Json[] + +export interface Database { + public: { + Tables: { + contact_requests: { + Row: { + company_name: string | null + email: string | null + first_name: string | null + id: string + last_name: string | null + message_body: string | null + phone: string | null + updated_at: Date | null + } + Insert: { + company_name?: string | null + email?: string | null + first_name?: string | null + id?: string + last_name?: string | null + message_body?: string | null + phone?: string | null + updated_at?: Date | null + } + Update: { + company_name?: string | null + email?: string | null + first_name?: string | null + id?: string + last_name?: string | null + message_body?: string | null + phone?: string | null + updated_at?: Date | null + } + Relationships: [] + } + profiles: { + Row: { + avatar_url: string | null + full_name: string | null + id: string + updated_at: string | null + company_name: string | null + website: string | null + unsubscribed: boolean + } + Insert: { + avatar_url?: string | null + full_name?: string | null + id: string + updated_at?: Date | null + company_name?: string | null + website?: string | null + unsubscribed: boolean + } + Update: { + avatar_url?: string | null + full_name?: string | null + id?: string + updated_at?: string | null + company_name?: string | null + website?: string | null + unsubscribed: boolean + } + Relationships: [ + { + foreignKeyName: "profiles_id_fkey" + columns: ["id"] + referencedRelation: "users" + referencedColumns: ["id"] + }, + ] + } + stripe_customers: { + Row: { + stripe_customer_id: string + updated_at: Date | null + user_id: string + } + Insert: { + stripe_customer_id: string + updated_at?: Date | null + user_id: string + } + Update: { + stripe_customer_id?: string + updated_at?: Date | null + user_id?: string + } + Relationships: [ + { + foreignKeyName: "stripe_customers_user_id_fkey" + columns: ["user_id"] + referencedRelation: "users" + referencedColumns: ["id"] + }, + ] + } + } + Views: { + [_ in never]: never + } + Functions: { + [_ in never]: never + } + Enums: { + [_ in never]: never + } + CompositeTypes: { + [_ in never]: never + } + } +} diff --git a/apps/web/src/ambient.d.ts b/apps/web/src/ambient.d.ts new file mode 100644 index 0000000..a637375 --- /dev/null +++ b/apps/web/src/ambient.d.ts @@ -0,0 +1,12 @@ +declare global { + type FormAccountUpdateResult = { + errorMessage?: string + errorFields?: string[] + fullName?: string + companyName?: string + website?: string + email?: string + } +} + +export {} diff --git a/apps/web/src/app.css b/apps/web/src/app.css new file mode 100644 index 0000000..cad81b5 --- /dev/null +++ b/apps/web/src/app.css @@ -0,0 +1,88 @@ +@import "tailwindcss"; + +@plugin '@tailwindcss/typography'; +@plugin "daisyui" { + /* Disable all other themes which forces the default theme created below. You can add a dark mode theme using daisyui if you like, and it will automatically use it when the user's system is in dark mode. Docs: https://daisyui.com/docs/themes/ */ + themes: false; +} + +@plugin "daisyui/theme" { + name: "saasstartertheme"; + default: true; /* set as default */ + prefersdark: false; /* set as default dark mode (prefers-color-scheme:dark) */ + color-scheme: light; /* color of browser-provided UI */ + + --color-primary: #180042; + --color-primary-content: #fefbf6; + --color-secondary: #c7b9f8; + --color-secondary-content: oklch(95% 0 0); + --color-accent: #db2777; + --color-accent-content: #180042; + --color-neutral: #180042; + --color-neutral-content: #fefbf6; + --color-base-100: #fefbf6; + --color-base-200: #faedd6; + --color-base-300: oklch(92% 0.04 240); + --color-base-content: #180042; + --color-info: oklch(70% 0.2 220); + --color-info-content: oklch(98% 0.01 220); + --color-success: #37d399; + --color-success-content: oklch(98% 0.01 140); + --color-warning: oklch(80% 0.25 80); + --color-warning-content: oklch(20% 0.05 80); + --color-error: #f77272; + --color-error-content: oklch(98% 0.01 30); + + /* border radius */ + --radius-selector: 1rem; + --radius-field: 0.5rem; + --radius-box: 0.5rem; + + /* base sizes */ + --size-selector: 0.25rem; + --size-field: 0.25rem; + + /* border size */ + --border: 1px; + + /* effects */ + --depth: 1; + --noise: 0; +} + +/* + Tailwind CSS v4 Migration: + The default border color has changed to `currentColor` in Tailwind CSS v4, + so we've added these compatibility styles to make sure everything still + looks the same as it did with Tailwind CSS v3. + + If we ever want to remove these styles, we need to add an explicit border + color utility to any element that depends on these defaults. +*/ +@layer base { + *, + ::after, + ::before, + ::backdrop, + ::file-selector-button { + border-color: var(--color-gray-200, currentColor); + } +} + +a { + @apply cursor-pointer; +} + +/* Hack to temporarily solve https://github.com/supabase/auth-ui/issues/219 */ +.authBtn { + @apply btn; +} +button[disabled].authBtn { + font-size: 0.001px; + filter: brightness(65%); +} +button[disabled].authBtn::before { + font-size: 14px; + content: "Loading..."; + color: oklch(var(--pc)); +} diff --git a/apps/web/src/app.d.ts b/apps/web/src/app.d.ts new file mode 100644 index 0000000..a6ae296 --- /dev/null +++ b/apps/web/src/app.d.ts @@ -0,0 +1,27 @@ +import { Session, SupabaseClient, type AMREntry } from "@supabase/supabase-js" +import { Database } from "./DatabaseDefinitions" + +// See https://kit.svelte.dev/docs/types#app +// for information about these interfaces +declare global { + namespace App { + interface Locals { + supabase: SupabaseClient + supabaseServiceRole: SupabaseClient + safeGetSession: () => Promise<{ + session: Session | null + user: User | null + amr: AMREntry[] | null + }> + session: Session | null + user: User | null + } + interface PageData { + session: Session | null + } + // interface Error {} + // interface Platform {} + } +} + +export {} diff --git a/apps/web/src/app.html b/apps/web/src/app.html new file mode 100644 index 0000000..101c87b --- /dev/null +++ b/apps/web/src/app.html @@ -0,0 +1,15 @@ + + + + + + + %sveltekit.head% + + +
%sveltekit.body%
+ + diff --git a/apps/web/src/config.ts b/apps/web/src/config.ts new file mode 100644 index 0000000..4908e6b --- /dev/null +++ b/apps/web/src/config.ts @@ -0,0 +1,12 @@ +import { PUBLIC_SITE_URL } from "$env/static/public" + +export const WebsiteName: string = "SaaS Starter" +// The site's public origin: the environment's SITE_URL, or its workers.dev +// URL, handed to the build by the deploy (apps/web/component.yaml). A local +// build has none and names the dev server. +export const WebsiteBaseUrl: string = ( + PUBLIC_SITE_URL || "http://localhost:5173" +).replace(/\/+$/, "") +export const WebsiteDescription: string = + "Open source, fast, and free to host SaaS template. Built with SvelteKit, Supabase, Stripe, Tailwind, DaisyUI, and Postgres" +export const CreateProfileStep: boolean = true diff --git a/apps/web/src/hooks.server.ts b/apps/web/src/hooks.server.ts new file mode 100644 index 0000000..eb3b1ed --- /dev/null +++ b/apps/web/src/hooks.server.ts @@ -0,0 +1,124 @@ +// src/hooks.server.ts +import { env } from "$env/dynamic/private" +import { + PUBLIC_SUPABASE_ANON_KEY, + PUBLIC_SUPABASE_URL, +} from "$env/static/public" +import { createServerClient } from "@supabase/ssr" +import { createClient, type AMREntry } from "@supabase/supabase-js" +import type { Handle } from "@sveltejs/kit" +import { sequence } from "@sveltejs/kit/hooks" + +export const supabase: Handle = async ({ event, resolve }) => { + event.locals.supabase = createServerClient( + PUBLIC_SUPABASE_URL, + PUBLIC_SUPABASE_ANON_KEY, + { + cookies: { + getAll: () => event.cookies.getAll(), + /** + * SvelteKit's cookies API requires `path` to be explicitly set in + * the cookie options. Setting `path` to `/` replicates previous/ + * standard behavior. + */ + setAll: ( + cookiesToSet: { + name: string + value: string + options: Record + }[], + ) => { + cookiesToSet.forEach(({ name, value, options }) => { + event.cookies.set(name, value, { ...options, path: "/" }) + }) + }, + }, + }, + ) + + // The service-role key is a Worker secret (the project's own, pushed by the + // deploy lane), read at request time — never inlined into a bundle. + event.locals.supabaseServiceRole = serviceRoleClient() + + // https://github.com/supabase/auth-js/issues/888#issuecomment-2189298518 + if ("suppressGetSessionWarning" in event.locals.supabase.auth) { + // @ts-expect-error - suppressGetSessionWarning is not part of the official API + event.locals.supabase.auth.suppressGetSessionWarning = true + } else { + console.warn( + "SupabaseAuthClient#suppressGetSessionWarning was removed. See https://github.com/supabase/auth-js/issues/888.", + ) + } + + /** + * Unlike `supabase.auth.getSession()`, which returns the session _without_ + * validating the JWT, this function also calls `getUser()` to validate the + * JWT before returning the session. + */ + event.locals.safeGetSession = async () => { + const { + data: { session }, + } = await event.locals.supabase.auth.getSession() + if (!session) { + return { session: null, user: null, amr: null } + } + + const { + data: { user }, + error: userError, + } = await event.locals.supabase.auth.getUser() + if (userError) { + // JWT validation has failed + return { session: null, user: null, amr: null } + } + + const { data: aal, error: amrError } = + await event.locals.supabase.auth.mfa.getAuthenticatorAssuranceLevel() + if (amrError) { + return { session, user, amr: null } + } + + return { + session, + user, + amr: aal.currentAuthenticationMethods as AMREntry[], + } + } + + return resolve(event, { + filterSerializedResponseHeaders(name) { + return name === "content-range" || name === "x-supabase-api-version" + }, + }) +} + +// A client with the service-role key, or — when the key is not set (a local +// run without .dev.vars) — one whose every use fails saying so, instead of a +// createClient() that throws on every request, public pages included. +const serviceRoleClient = (): App.Locals["supabaseServiceRole"] => { + const key = env.PRIVATE_SUPABASE_SERVICE_ROLE + if (key) { + return createClient(PUBLIC_SUPABASE_URL, key, { + auth: { persistSession: false }, + }) + } + return new Proxy({} as App.Locals["supabaseServiceRole"], { + get() { + throw new Error( + "PRIVATE_SUPABASE_SERVICE_ROLE is not set: the deploy sets it from the project's SUPABASE_SERVICE_ROLE_KEY; locally, put it in apps/web/.dev.vars", + ) + }, + }) +} + +// Not called for prerendered marketing pages so generally okay to call on ever server request +// Next-page CSR will mean relatively minimal calls to this hook +const authGuard: Handle = async ({ event, resolve }) => { + const { session, user } = await event.locals.safeGetSession() + event.locals.session = session + event.locals.user = user + + return resolve(event) +} + +export const handle: Handle = sequence(supabase, authGuard) diff --git a/apps/web/src/index.test.ts b/apps/web/src/index.test.ts new file mode 100644 index 0000000..39617cd --- /dev/null +++ b/apps/web/src/index.test.ts @@ -0,0 +1,7 @@ +import { describe, it, expect } from "vitest" + +describe("sum test", () => { + it("adds 1 + 2 to equal 3", () => { + expect(1 + 2).toBe(3) + }) +}) diff --git a/apps/web/src/lib/build_index.ts b/apps/web/src/lib/build_index.ts new file mode 100644 index 0000000..6d51e34 --- /dev/null +++ b/apps/web/src/lib/build_index.ts @@ -0,0 +1,77 @@ +import path from "path" +import fs from "fs" +import { glob } from "glob" +import { convert } from "html-to-text" +import JSDOM from "jsdom" +import Fuse from "fuse.js" + +const excludePaths = ["/search"] + +export async function buildSearchIndex() { + const indexData = [] + + // iterate all files with html extension in ./svelte-kit/output/prerendered/pages + const fileRoot = path.resolve(".") + const pagesPath = path.join(fileRoot, ".svelte-kit/output/prerendered/pages") + + const allFiles = glob.sync(path.join(pagesPath, "**/*.html")) + for (const file of allFiles) { + try { + const webPath = file + .replace(pagesPath, "") + .replace("/index.html", "") + .replace(".html", "") + + // check if path is excluded + if (excludePaths.includes(webPath)) { + continue + } + + // read the file + const data = fs.readFileSync(file, "utf8") + const plaintext = convert(data, { + selectors: [ + { selector: "a", options: { ignoreHref: true, linkBrackets: false } }, + { selector: "img", format: "skip" }, + ], + }) + const dom = new JSDOM.JSDOM(data) + const title = + dom.window.document.querySelector("title")?.textContent || + "Page " + webPath + const description = + dom.window.document + .querySelector('meta[name="description"]') + ?.getAttribute("content") || "" + indexData.push({ + title, + description, + body: plaintext, + path: webPath, + }) + } catch (e) { + console.log("Blog search indexing error", file, e) + } + } + + const index = Fuse.createIndex(["title", "description", "body"], indexData) + const jsonIndex = index.toJSON() + const data = { index: jsonIndex, indexData, buildTime: Date.now() } + return data +} + +// Build search index into the output directory, for use in the build process (see vite.config.js) +export async function buildAndCacheSearchIndex() { + const data = await buildSearchIndex() + + const dir = path.resolve("./.svelte-kit/output/client/search") + if (!fs.existsSync(dir)) { + fs.mkdirSync(dir, { recursive: true }) + } + + fs.writeFileSync( + path.resolve("./.svelte-kit/output/client/search/api.json"), + JSON.stringify(data), + ) + console.log("Search index built") +} diff --git a/apps/web/src/lib/emails/templates.test.ts b/apps/web/src/lib/emails/templates.test.ts new file mode 100644 index 0000000..c3af27c --- /dev/null +++ b/apps/web/src/lib/emails/templates.test.ts @@ -0,0 +1,53 @@ +import { describe, it, expect } from "vitest" +import Handlebars from "handlebars" +import fs from "node:fs" +import path from "node:path" +import { renderTemplate, templateNames } from "./templates" + +const dir = path.resolve("src/lib/emails") + +describe("precompiled email templates", () => { + it("cover every .hbs file", () => { + const files = fs + .readdirSync(dir) + .filter((f) => f.endsWith(".hbs")) + .map((f) => f.replace(/\.hbs$/, "")) + .sort() + expect([...templateNames].sort()).toEqual(files) + expect(files).toEqual(["welcome_email_html", "welcome_email_text"]) + }) + + it("render exactly what handlebars.compile rendered", () => { + const props = { + companyName: "Acme & Co ", + WebsiteBaseUrl: "https://acme.example.com", + } + for (const name of templateNames) { + const source = fs.readFileSync(path.join(dir, `${name}.hbs`), "utf8") + expect(renderTemplate(name, props)).toBe( + Handlebars.compile(source)(props), + ) + } + }) + + it("refuse a template that does not exist", () => { + expect(() => renderTemplate("no_such_email", {})).toThrow(/no_such_email/) + }) + + it("need no code generation at runtime: no handlebars.compile in the app", () => { + const walk = (d: string): string[] => + fs.readdirSync(d, { withFileTypes: true }).flatMap((e) => { + const p = path.join(d, e.name) + return e.isDirectory() ? walk(p) : [p] + }) + const offenders = walk(path.resolve("src")) + .filter((p) => /\.(ts|js|svelte)$/.test(p) && !p.endsWith(".test.ts")) + .filter((p) => + fs + .readFileSync(p, "utf8") + .split("\n") + .some((l) => !/^\s*(\/\/|\*)/.test(l) && /\.compile\(/.test(l)), + ) + expect(offenders).toEqual([]) + }) +}) diff --git a/apps/web/src/lib/emails/templates.ts b/apps/web/src/lib/emails/templates.ts new file mode 100644 index 0000000..2432164 --- /dev/null +++ b/apps/web/src/lib/emails/templates.ts @@ -0,0 +1,29 @@ +// The email templates, precompiled. +// +// Upstream compiled each .hbs file with handlebars.compile() when an email was +// sent. That generates JavaScript from a string, which Workers refuse. So the +// Vite plugin in vite.config.ts precompiles every template at build +// (`?hbs` imports) into a template spec, and this renders it with the +// Handlebars runtime alone, which generates no code. The templates and their +// output are unchanged. +const compiled = import.meta.glob<(context: Record) => string>( + "./*.hbs", + { query: "?hbs", import: "default", eager: true }, +) + +export const templateNames = Object.keys(compiled).map((p) => + p.replace(/^\.\//, "").replace(/\.hbs$/, ""), +) + +// Renders `.hbs` (e.g. "welcome_email_text"), or throws if there is no +// such template. +export const renderTemplate = ( + name: string, + properties: Record, +): string => { + const template = compiled[`./${name}.hbs`] + if (!template) { + throw new Error(`no email template ${name}.hbs`) + } + return template(properties) +} diff --git a/apps/web/src/lib/emails/welcome_email_html.hbs b/apps/web/src/lib/emails/welcome_email_html.hbs new file mode 100644 index 0000000..668b6b4 --- /dev/null +++ b/apps/web/src/lib/emails/welcome_email_html.hbs @@ -0,0 +1,211 @@ + + + + + Welcome Email + + + + + + + + + + + + \ No newline at end of file diff --git a/apps/web/src/lib/emails/welcome_email_text.hbs b/apps/web/src/lib/emails/welcome_email_text.hbs new file mode 100644 index 0000000..1feaad5 --- /dev/null +++ b/apps/web/src/lib/emails/welcome_email_text.hbs @@ -0,0 +1,5 @@ +Welcome to {{{companyName}}}! + +This is a quick sample of a welcome email. You can customize this email to fit your needs. + +To unsubscribe, visit: {{{WebsiteBaseUrl}}}/account/settings/change_email_subscription \ No newline at end of file diff --git a/apps/web/src/lib/index.js b/apps/web/src/lib/index.js new file mode 100644 index 0000000..856f2b6 --- /dev/null +++ b/apps/web/src/lib/index.js @@ -0,0 +1 @@ +// place files you want to import through the `$lib` alias in this folder. diff --git a/apps/web/src/lib/load_helpers.ts b/apps/web/src/lib/load_helpers.ts new file mode 100644 index 0000000..cf16f46 --- /dev/null +++ b/apps/web/src/lib/load_helpers.ts @@ -0,0 +1,47 @@ +import { isBrowser } from "@supabase/ssr" +import type { Session, SupabaseClient } from "@supabase/supabase-js" +import type { Database } from "../DatabaseDefinitions.js" + +export const load_helper = async ( + server_session: Session | null, + supabase: SupabaseClient, +) => { + // on server populated on server by LayoutData, using authGuard hook + let session = server_session + if (isBrowser()) { + // Only call getSession in browser where it's safe. + const getSessionResponse = await supabase.auth.getSession() + session = getSessionResponse.data.session + } + if (!session) { + return { + session: null, + user: null, + } + } + + // https://github.com/supabase/auth-js/issues/888#issuecomment-2189298518 + if ("suppressGetSessionWarning" in supabase.auth) { + // @ts-expect-error - suppressGetSessionWarning is not part of the official API + supabase.auth.suppressGetSessionWarning = true + } else { + console.warn( + "SupabaseAuthClient#suppressGetSessionWarning was removed. See https://github.com/supabase/auth-js/issues/888.", + ) + } + const { + data: { user }, + error: userError, + } = await supabase.auth.getUser() + if (userError || !user) { + return { + session: null, + user: null, + } + } + + return { + session, + user, + } +} diff --git a/apps/web/src/lib/mailer.test.ts b/apps/web/src/lib/mailer.test.ts new file mode 100644 index 0000000..69acb8c --- /dev/null +++ b/apps/web/src/lib/mailer.test.ts @@ -0,0 +1,134 @@ +import { vi, describe, it, expect, beforeEach } from "vitest" + +vi.mock("@supabase/supabase-js") +vi.mock("$env/dynamic/private") +vi.mock("resend") + +import { createClient, type User } from "@supabase/supabase-js" +import { Resend } from "resend" +import * as mailer from "./mailer" + +describe("mailer", () => { + const mockSend = vi.fn().mockResolvedValue({ id: "mock-email-id" }) + + const mockSupabaseClient = { + auth: { + admin: { + getUserById: vi.fn(), + }, + }, + from: vi.fn().mockReturnThis(), + select: vi.fn().mockReturnThis(), + eq: vi.fn().mockReturnThis(), + single: vi.fn(), + } + + beforeEach(async () => { + vi.clearAllMocks() + const { env } = await import("$env/dynamic/private") + env.PRIVATE_RESEND_API_KEY = "mock_resend_api_key" + // eslint-disable-next-line @typescript-eslint/no-explicit-any + ;(createClient as any).mockReturnValue(mockSupabaseClient) + + vi.mocked(Resend).mockImplementation( + () => + ({ + emails: { + send: mockSend, + }, + }) as unknown as Resend, + ) + }) + + describe("sendUserEmail", () => { + const mockUser = { id: "user123", email: "user@example.com" } + + it("sends welcome email", async () => { + mockSupabaseClient.auth.admin.getUserById.mockResolvedValue({ + data: { user: { email_confirmed_at: new Date().toISOString() } }, + error: null, + }) + + mockSupabaseClient.single.mockResolvedValue({ + data: { unsubscribed: false }, + error: null, + }) + + await mailer.sendUserEmail({ + user: mockUser as User, + subject: "Test", + from_email: "test@example.com", + template_name: "welcome_email", + template_properties: { + companyName: "Test Company", + WebsiteBaseUrl: "https://test.com", + }, + }) + + expect(mockSend).toHaveBeenCalled() + const email = mockSend.mock.calls[0][0] + expect(email.to).toEqual(["user@example.com"]) + }) + + it("should not send email if user is unsubscribed", async () => { + const originalConsoleLog = console.log + console.log = vi.fn() + + mockSupabaseClient.auth.admin.getUserById.mockResolvedValue({ + data: { user: { email_confirmed_at: new Date().toISOString() } }, + error: null, + }) + + mockSupabaseClient.single.mockResolvedValue({ + data: { unsubscribed: true }, + error: null, + }) + + await mailer.sendUserEmail({ + user: mockUser as User, + subject: "Test", + from_email: "test@example.com", + template_name: "welcome_email", + template_properties: {}, + }) + + expect(mockSend).not.toHaveBeenCalled() + + expect(console.log).toHaveBeenCalledWith( + "User unsubscribed. Aborting email. ", + mockUser.id, + mockUser.email, + ) + + console.log = originalConsoleLog + }) + }) + + describe("sendTemplatedEmail", () => { + it("sends templated email", async () => { + await mailer.sendTemplatedEmail({ + subject: "Test subject", + from_email: "from@example.com", + to_emails: ["to@example.com"], + template_name: "welcome_email", + template_properties: { + companyName: "Test Company", + WebsiteBaseUrl: "https://test.com", + }, + }) + + expect(mockSend).toHaveBeenCalled() + const email = mockSend.mock.calls[0][0] + expect(email.from).toEqual("from@example.com") + expect(email.to).toEqual(["to@example.com"]) + expect(email.subject).toEqual("Test subject") + expect(email.text).toContain("This is a quick sample of a welcome email") + expect(email.html).toContain("This is a quick sample of a welcome email") + expect(email.html).toContain(" { + // Check admin email is setup + if (!env.PRIVATE_ADMIN_EMAIL) { + return + } + + try { + const resend = new Resend(env.PRIVATE_RESEND_API_KEY) + const resp = await resend.emails.send({ + from: env.PRIVATE_FROM_ADMIN_EMAIL || env.PRIVATE_ADMIN_EMAIL, + to: [env.PRIVATE_ADMIN_EMAIL], + subject: "ADMIN_MAIL: " + subject, + text: body, + }) + + if (resp.error) { + console.log("Failed to send admin email, error:", resp.error) + } + } catch (e) { + console.log("Failed to send admin email, error:", e) + } +} + +export const sendUserEmail = async ({ + user, + subject, + from_email, + template_name, + template_properties, +}: { + user: User + subject: string + from_email: string + template_name: string + template_properties: Record +}) => { + const email = user.email + if (!email) { + console.log("No email for user. Aborting email. ", user.id) + return + } + + // Check if the user email is verified using the full user object from service role + // Oauth uses email_verified, and email auth uses email_confirmed_at + const serverSupabase = createClient( + PUBLIC_SUPABASE_URL, + env.PRIVATE_SUPABASE_SERVICE_ROLE ?? "", + { auth: { persistSession: false } }, + ) + const { data: serviceUserData } = await serverSupabase.auth.admin.getUserById( + user.id, + ) + const emailVerified = + serviceUserData.user?.email_confirmed_at || + serviceUserData.user?.user_metadata?.email_verified + + if (!emailVerified) { + console.log("User email not verified. Aborting email. ", user.id, email) + return + } + + // Fetch user profile to check unsubscribed status + const { data: profile, error: profileError } = await serverSupabase + .from("profiles") + .select("unsubscribed") + .eq("id", user.id) + .single() + + if (profileError) { + console.log("Error fetching user profile. Aborting email. ", user.id, email) + return + } + + if (profile?.unsubscribed) { + console.log("User unsubscribed. Aborting email. ", user.id, email) + return + } + + await sendTemplatedEmail({ + subject, + to_emails: [email], + from_email, + template_name, + template_properties, + }) +} + +export const sendTemplatedEmail = async ({ + subject, + to_emails, + from_email, + template_name, + template_properties, +}: { + subject: string + to_emails: string[] + from_email: string + template_name: string + template_properties: Record +}) => { + if (!env.PRIVATE_RESEND_API_KEY) { + // email not configured. Emails are optional so no error is thrown + return + } + + // Precompiled at build (./emails/templates.ts): Workers forbid generating + // code from strings, which is what handlebars.compile does. + let plaintextBody: string | undefined = undefined + try { + plaintextBody = renderTemplate(`${template_name}_text`, template_properties) + } catch { + // ignore, plaintextBody is optional + plaintextBody = undefined + } + + let htmlBody: string | undefined = undefined + try { + htmlBody = renderTemplate(`${template_name}_html`, template_properties) + } catch { + // ignore, htmlBody is optional + htmlBody = undefined + } + + if (!plaintextBody && !htmlBody) { + console.log( + "No email body: requires plaintextBody or htmlBody. Template: ", + template_name, + ) + return + } + + try { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const email: any = { + from: from_email, + to: to_emails, + subject: subject, + } + if (plaintextBody) { + email.text = plaintextBody + } + if (htmlBody) { + email.html = htmlBody + } + const resend = new Resend(env.PRIVATE_RESEND_API_KEY) + const resp = await resend.emails.send(email) + + if (resp.error) { + console.log("Failed to send email, error:", resp.error) + } + } catch (e) { + console.log("Failed to send email, error:", e) + } +} diff --git a/apps/web/src/lib/server/stripe.test.ts b/apps/web/src/lib/server/stripe.test.ts new file mode 100644 index 0000000..5b08709 --- /dev/null +++ b/apps/web/src/lib/server/stripe.test.ts @@ -0,0 +1,28 @@ +import { describe, it, expect, vi, beforeEach } from "vitest" + +vi.mock("$env/dynamic/private", () => ({ env: {} as Record })) + +import { env } from "$env/dynamic/private" +import { getStripe, stripeConnected } from "./stripe" + +describe("stripe", () => { + beforeEach(() => { + delete (env as Record).PRIVATE_STRIPE_API_KEY + }) + + it("is not connected until the key is set, and says how to connect it", () => { + expect(stripeConnected()).toBe(false) + expect(() => getStripe()).toThrow(/STRIPE_API_KEY/) + }) + + it("talks over fetch once the key is set — Workers have no Node http", () => { + ;(env as Record).PRIVATE_STRIPE_API_KEY = "sk_test_x" + expect(stripeConnected()).toBe(true) + const stripe = getStripe() + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const client = + (stripe as any)._api?.httpClient ?? + (stripe as any).getApiField?.("httpClient") + expect(client?.getClientName?.()).toBe("fetch") + }) +}) diff --git a/apps/web/src/lib/server/stripe.ts b/apps/web/src/lib/server/stripe.ts new file mode 100644 index 0000000..6d9cbdc --- /dev/null +++ b/apps/web/src/lib/server/stripe.ts @@ -0,0 +1,27 @@ +// Stripe, connected or not. +// +// The Stripe secret key is an OPTIONAL Orun secret (STRIPE_API_KEY), which the +// deploy lane hands the Worker as the secret PRIVATE_STRIPE_API_KEY. It is read +// at request time ($env/dynamic/private), never inlined into a bundle. A +// product goes live before its owner has a Stripe account: until the key is +// set, the billing page says to connect Stripe and the checkout and portal +// routes send the visitor there. +// +// Workers have no Node `http`: Stripe talks over `fetch`. +import { env } from "$env/dynamic/private" +import Stripe from "stripe" + +export const stripeConnected = (): boolean => !!env.PRIVATE_STRIPE_API_KEY + +export const getStripe = (): Stripe => { + const key = env.PRIVATE_STRIPE_API_KEY + if (!key) { + throw new Error( + "Stripe is not connected: store the product's Stripe secret key as the Orun secret STRIPE_API_KEY and redeploy", + ) + } + return new Stripe(key, { + apiVersion: "2023-08-16", + httpClient: Stripe.createFetchHttpClient(), + }) +} diff --git a/apps/web/src/routes/(admin)/account/(menu)/+layout.svelte b/apps/web/src/routes/(admin)/account/(menu)/+layout.svelte new file mode 100644 index 0000000..aaef7a0 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/+layout.svelte @@ -0,0 +1,148 @@ + + +
+ +
+ +
+ {@render children?.()} +
+
+ + +
diff --git a/apps/web/src/routes/(admin)/account/(menu)/+page.server.ts b/apps/web/src/routes/(admin)/account/(menu)/+page.server.ts new file mode 100644 index 0000000..1056d14 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/+page.server.ts @@ -0,0 +1,11 @@ +import { redirect } from "@sveltejs/kit" + +export const actions = { + signout: async ({ locals: { supabase, safeGetSession } }) => { + const { session } = await safeGetSession() + if (session) { + await supabase.auth.signOut() + redirect(303, "/") + } + }, +} diff --git a/apps/web/src/routes/(admin)/account/(menu)/+page.svelte b/apps/web/src/routes/(admin)/account/(menu)/+page.svelte new file mode 100644 index 0000000..ebac0ba --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/+page.svelte @@ -0,0 +1,88 @@ + + + + Account + + +

Dashboard

+
+ +
+
Demo Content
+
+ This page is just a placeholder. Replace this page with your app's content + and functionality. +
+
+ The billing and + settings pages are functional + demos. +
+
+
+ +
+

Users

+
+
+
Downloads
+
31K
+
↗︎ 546 (2%)
+
+ +
+
Users
+
4,200
+
↗︎ 40 (2%)
+
+
+
+
+

Accounts

+
+
+
New Registers
+
1,200
+
↘︎ 90 (14%)
+
+ +
+
Churned Accounts
+
42
+
↘︎ 6 (12%)
+
+
+
+
+

Revenue

+
+
+
Revenue
+
$4200
+
↗︎ $180 (4%)
+
+ +
+
New Subscribers
+
16
+
↘︎ 1 (%7)
+
+
+
diff --git a/apps/web/src/routes/(admin)/account/(menu)/billing/+page.server.ts b/apps/web/src/routes/(admin)/account/(menu)/billing/+page.server.ts new file mode 100644 index 0000000..9d40a53 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/billing/+page.server.ts @@ -0,0 +1,59 @@ +import { error, redirect } from "@sveltejs/kit" +import { + fetchSubscription, + getOrCreateCustomerId, +} from "../../subscription_helpers.server" +import { stripeConnected } from "$lib/server/stripe" +import type { PageServerLoad } from "./$types" + +export const load: PageServerLoad = async ({ + locals: { safeGetSession, supabaseServiceRole }, +}) => { + const { session, user } = await safeGetSession() + if (!session || !user?.id) { + redirect(303, "/login") + } + + // No Stripe yet: every visitor is on the free plan, and the page says how + // to connect Stripe. + if (!stripeConnected()) { + return { + stripeConnected: false, + isActiveCustomer: false, + hasEverHadSubscription: false, + currentPlanId: undefined, + } + } + + const { error: idError, customerId } = await getOrCreateCustomerId({ + supabaseServiceRole, + user, + }) + if (idError || !customerId) { + console.error("Error creating customer id", idError) + error(500, { + message: "Unknown error. If issue persists, please contact us.", + }) + } + + const { + primarySubscription, + hasEverHadSubscription, + error: fetchErr, + } = await fetchSubscription({ + customerId, + }) + if (fetchErr) { + console.error("Error fetching subscription", fetchErr) + error(500, { + message: "Unknown error. If issue persists, please contact us.", + }) + } + + return { + stripeConnected: true, + isActiveCustomer: !!primarySubscription, + hasEverHadSubscription, + currentPlanId: primarySubscription?.appSubscription?.id, + } +} diff --git a/apps/web/src/routes/(admin)/account/(menu)/billing/+page.svelte b/apps/web/src/routes/(admin)/account/(menu)/billing/+page.svelte new file mode 100644 index 0000000..2bd0352 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/billing/+page.svelte @@ -0,0 +1,67 @@ + + + + Billing + + +

+ {data.isActiveCustomer ? "Billing" : "Select a Plan"} +

+
+ View our pricing page for details. +
+ +{#if !data.stripeConnected} + +{/if} + +{#if !data.isActiveCustomer} +
+ +
+ + {#if data.hasEverHadSubscription} + + {/if} +{:else} + +{/if} diff --git a/apps/web/src/routes/(admin)/account/(menu)/billing/billing.test.ts b/apps/web/src/routes/(admin)/account/(menu)/billing/billing.test.ts new file mode 100644 index 0000000..8f3c492 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/billing/billing.test.ts @@ -0,0 +1,28 @@ +import { describe, it, expect, vi } from "vitest" + +vi.mock("$env/dynamic/private", () => ({ env: {} as Record })) + +import { load } from "./+page.server" + +describe("the billing page without Stripe", () => { + it("puts everyone on the free plan and asks for no Stripe call", async () => { + const supabaseServiceRole = { from: vi.fn() } + const data = await load({ + locals: { + safeGetSession: async () => ({ + session: { user: { id: "u1" } }, + user: { id: "u1", email: "a@example.com" }, + }), + supabaseServiceRole, + }, + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } as any) + expect(data).toEqual({ + stripeConnected: false, + isActiveCustomer: false, + hasEverHadSubscription: false, + currentPlanId: undefined, + }) + expect(supabaseServiceRole.from).not.toHaveBeenCalled() + }) +}) diff --git a/apps/web/src/routes/(admin)/account/(menu)/billing/manage/+page.server.ts b/apps/web/src/routes/(admin)/account/(menu)/billing/manage/+page.server.ts new file mode 100644 index 0000000..14609be --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/billing/manage/+page.server.ts @@ -0,0 +1,44 @@ +import { error, redirect } from "@sveltejs/kit" +import { getStripe, stripeConnected } from "$lib/server/stripe" +import { getOrCreateCustomerId } from "../../../subscription_helpers.server" +import type { PageServerLoad } from "./$types" + +export const load: PageServerLoad = async ({ + url, + locals: { safeGetSession, supabaseServiceRole }, +}) => { + const { session, user } = await safeGetSession() + if (!session) { + redirect(303, "/login") + } + + // No Stripe yet: the billing page says how to connect it. + if (!stripeConnected()) { + redirect(303, "/account/billing") + } + + const { error: idError, customerId } = await getOrCreateCustomerId({ + supabaseServiceRole, + user, + }) + if (idError || !customerId) { + console.error("Error creating customer id", idError) + error(500, { + message: "Unknown error (PCID). If issue persists, please contact us.", + }) + } + + let portalLink + try { + const portalSession = await getStripe().billingPortal.sessions.create({ + customer: customerId, + return_url: `${url.origin}/account/billing`, + }) + portalLink = portalSession?.url + } catch (e) { + console.error("Error creating billing portal session", e) + error(500, "Unknown error (PSE). If issue persists, please contact us.") + } + + redirect(303, portalLink ?? "/account/billing") +} diff --git a/apps/web/src/routes/(admin)/account/(menu)/settings/+page.svelte b/apps/web/src/routes/(admin)/account/(menu)/settings/+page.svelte new file mode 100644 index 0000000..032ae59 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/settings/+page.svelte @@ -0,0 +1,76 @@ + + + + Settings + + +

Settings

+ + + + + + + + + + diff --git a/apps/web/src/routes/(admin)/account/(menu)/settings/change_email/+page.svelte b/apps/web/src/routes/(admin)/account/(menu)/settings/change_email/+page.svelte new file mode 100644 index 0000000..68c7dff --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/settings/change_email/+page.svelte @@ -0,0 +1,34 @@ + + + + Change Email + + +

Settings

+ + diff --git a/apps/web/src/routes/(admin)/account/(menu)/settings/change_email_subscription/+page.svelte b/apps/web/src/routes/(admin)/account/(menu)/settings/change_email_subscription/+page.svelte new file mode 100644 index 0000000..e6d7615 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/settings/change_email_subscription/+page.svelte @@ -0,0 +1,26 @@ + + + + Change Email Subscription + + +

Email Subscription

+ + diff --git a/apps/web/src/routes/(admin)/account/(menu)/settings/change_password/+page.svelte b/apps/web/src/routes/(admin)/account/(menu)/settings/change_password/+page.svelte new file mode 100644 index 0000000..5b44f8a --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/settings/change_password/+page.svelte @@ -0,0 +1,117 @@ + + + + Change Password + + +

Change Password

+ +{#if hasPassword} + +{:else} +
+
+ {#if usingOAuth} +
Set Password By Email
+
+ You use oAuth to sign in ("Sign in with Github" or similar). You can + continue to access your account using only oAuth if you like! +
+ {:else} +
Change Password By Email
+ {/if} +
+ The button below will send you an email at {user?.email} which will allow + you to set your password. +
+ +
+ Sent email! Please check your inbox and use the link to set your + password. +
+
+
+{/if} diff --git a/apps/web/src/routes/(admin)/account/(menu)/settings/delete_account/+page.svelte b/apps/web/src/routes/(admin)/account/(menu)/settings/delete_account/+page.svelte new file mode 100644 index 0000000..d8f0449 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/settings/delete_account/+page.svelte @@ -0,0 +1,37 @@ + + + + Delete Account + + +

Settings

+ + diff --git a/apps/web/src/routes/(admin)/account/(menu)/settings/edit_profile/+page.svelte b/apps/web/src/routes/(admin)/account/(menu)/settings/edit_profile/+page.svelte new file mode 100644 index 0000000..9a8abb8 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/settings/edit_profile/+page.svelte @@ -0,0 +1,46 @@ + + + + Edit Profile + + +

Settings

+ + diff --git a/apps/web/src/routes/(admin)/account/(menu)/settings/reset_password/+page.svelte b/apps/web/src/routes/(admin)/account/(menu)/settings/reset_password/+page.svelte new file mode 100644 index 0000000..e8a7dcf --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/settings/reset_password/+page.svelte @@ -0,0 +1,37 @@ + + + + Reset Password + + +

Settings

+ + diff --git a/apps/web/src/routes/(admin)/account/(menu)/settings/settings_module.svelte b/apps/web/src/routes/(admin)/account/(menu)/settings/settings_module.svelte new file mode 100644 index 0000000..6b115ca --- /dev/null +++ b/apps/web/src/routes/(admin)/account/(menu)/settings/settings_module.svelte @@ -0,0 +1,173 @@ + + +
+ {#if title} +
{title}
+ {/if} + +
+ {#if !showSuccess} + {#if message} +
+ {#if dangerous} + + {/if} + + {message} +
+ {/if} +
+ {#each fields as field} + {#if field.label} + + {/if} + {#if editable} + + {:else} +
{field.initialValue}
+ {/if} + {/each} + + {#if $page?.form?.errorMessage} +

+ {$page?.form?.errorMessage} +

+ {/if} + + {#if editable} +
+ +
+ {:else if editButtonTitle && editLink} + + + + + {/if} +
+ {:else} + +
+
{successTitle}
+
{successBody}
+
+ + + + {/if} +
+
diff --git a/apps/web/src/routes/(admin)/account/+layout.server.ts b/apps/web/src/routes/(admin)/account/+layout.server.ts new file mode 100644 index 0000000..2a11974 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/+layout.server.ts @@ -0,0 +1,13 @@ +import type { LayoutServerLoad } from "./$types" + +export const load: LayoutServerLoad = async ({ + locals: { session }, + cookies, +}) => { + // Session here is from authGuard hook + + return { + session, + cookies: cookies.getAll(), + } +} diff --git a/apps/web/src/routes/(admin)/account/+layout.svelte b/apps/web/src/routes/(admin)/account/+layout.svelte new file mode 100644 index 0000000..5ff9818 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/+layout.svelte @@ -0,0 +1,21 @@ + + +{@render children?.()} diff --git a/apps/web/src/routes/(admin)/account/+layout.ts b/apps/web/src/routes/(admin)/account/+layout.ts new file mode 100644 index 0000000..b3e5efc --- /dev/null +++ b/apps/web/src/routes/(admin)/account/+layout.ts @@ -0,0 +1,86 @@ +import { + PUBLIC_SUPABASE_ANON_KEY, + PUBLIC_SUPABASE_URL, +} from "$env/static/public" +import { + createBrowserClient, + createServerClient, + isBrowser, +} from "@supabase/ssr" +import { redirect } from "@sveltejs/kit" +import type { Database } from "../../../DatabaseDefinitions.js" +import { CreateProfileStep } from "../../../config" +import { load_helper } from "$lib/load_helpers" + +export const load = async ({ fetch, data, depends, url }) => { + depends("supabase:auth") + + const supabase = isBrowser() + ? createBrowserClient(PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY, { + global: { + fetch, + }, + }) + : createServerClient(PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY, { + global: { + fetch, + }, + cookies: { + getAll() { + return data.cookies + }, + }, + }) + + const { session, user } = await load_helper(data.session, supabase) + if (!session || !user) { + redirect(303, "/login") + } + + const { data: profile } = await supabase + .from("profiles") + .select(`*`) + .eq("id", user.id) + .single() + + const { data: aal } = await supabase.auth.mfa.getAuthenticatorAssuranceLevel() + + const createProfilePath = "/account/create_profile" + const signOutPath = "/account/sign_out" + if ( + profile && + !_hasFullProfile(profile) && + url.pathname !== createProfilePath && + url.pathname !== signOutPath && + CreateProfileStep + ) { + redirect(303, createProfilePath) + } + + return { + supabase, + session, + profile, + user, + amr: aal?.currentAuthenticationMethods, + } +} + +export const _hasFullProfile = ( + profile: Database["public"]["Tables"]["profiles"]["Row"] | null, +) => { + if (!profile) { + return false + } + if (!profile.full_name) { + return false + } + if (!profile.company_name) { + return false + } + if (!profile.website) { + return false + } + + return true +} diff --git a/apps/web/src/routes/(admin)/account/api/+page.server.ts b/apps/web/src/routes/(admin)/account/api/+page.server.ts new file mode 100644 index 0000000..3286782 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/api/+page.server.ts @@ -0,0 +1,346 @@ +import { fail, redirect } from "@sveltejs/kit" +import { sendAdminEmail, sendUserEmail } from "$lib/mailer" +import { WebsiteBaseUrl, WebsiteName } from "../../../../config" +import { env } from "$env/dynamic/private" + +export const actions = { + toggleEmailSubscription: async ({ locals: { supabase, safeGetSession } }) => { + const { session } = await safeGetSession() + + if (!session) { + redirect(303, "/login") + } + + const { data: currentProfile } = await supabase + .from("profiles") + .select("unsubscribed") + .eq("id", session.user.id) + .single() + + const newUnsubscribedStatus = !currentProfile?.unsubscribed + + const { error } = await supabase + .from("profiles") + .update({ unsubscribed: newUnsubscribedStatus }) + .eq("id", session.user.id) + + if (error) { + console.error("Error updating subscription status", error) + return fail(500, { message: "Failed to update subscription status" }) + } + + return { + unsubscribed: newUnsubscribedStatus, + } + }, + updateEmail: async ({ request, locals: { supabase, safeGetSession } }) => { + const { session } = await safeGetSession() + if (!session) { + redirect(303, "/login") + } + + const formData = await request.formData() + const email = formData.get("email") as string + + let validationError + if (!email || email === "") { + validationError = "An email address is required" + } + // Dead simple check -- there's no standard here (which is followed), + // and lots of errors will be missed until we actually email to verify, so + // just do that + else if (!email.includes("@")) { + validationError = "A valid email address is required" + } + if (validationError) { + return fail(400, { + errorMessage: validationError, + errorFields: ["email"], + email, + }) + } + + // Supabase does not change the email until the user verifies both + // if 'Secure email change' is enabled in the Supabase dashboard + const { error } = await supabase.auth.updateUser({ email: email }) + + if (error) { + console.error("Error updating email", error) + return fail(500, { + errorMessage: "Unknown error. If this persists please contact us.", + email, + }) + } + + return { + email, + } + }, + updatePassword: async ({ request, locals: { supabase, safeGetSession } }) => { + const { session, user, amr } = await safeGetSession() + if (!session) { + redirect(303, "/login") + } + + const formData = await request.formData() + const newPassword1 = formData.get("newPassword1") as string + const newPassword2 = formData.get("newPassword2") as string + const currentPassword = formData.get("currentPassword") as string + + // Can check if we're a "password recovery" session by checking session amr + // let currentPassword take priority if provided (user can use either form) + const recoveryAmr = amr?.find((x) => x.method === "recovery") + const isRecoverySession = recoveryAmr && !currentPassword + + // if this is password recovery session, check timestamp of recovery session + if (isRecoverySession) { + const timeSinceLogin = Date.now() - recoveryAmr.timestamp * 1000 + if (timeSinceLogin > 1000 * 60 * 15) { + // 15 mins in milliseconds + return fail(400, { + errorMessage: + 'Recovery code expired. Please log out, then use "Forgot Password" on the sign in page to reset your password. Codes are valid for 15 minutes.', + errorFields: [], + newPassword1, + newPassword2, + currentPassword: "", + }) + } + } + + let validationError + const errorFields = [] + if (!newPassword1) { + validationError = "You must type a new password" + errorFields.push("newPassword1") + } + if (!newPassword2) { + validationError = "You must type the new password twice" + errorFields.push("newPassword2") + } + if (newPassword1.length < 6) { + validationError = "The new password must be at least 6 charaters long" + errorFields.push("newPassword1") + } + if (newPassword1.length > 72) { + validationError = "The new password can be at most 72 charaters long" + errorFields.push("newPassword1") + } + if (newPassword1 != newPassword2) { + validationError = "The passwords don't match" + errorFields.push("newPassword1") + errorFields.push("newPassword2") + } + if (!currentPassword && !isRecoverySession) { + validationError = + "You must include your current password. If you forgot it, sign out then use 'forgot password' on the sign in page." + errorFields.push("currentPassword") + } + if (validationError) { + return fail(400, { + errorMessage: validationError, + errorFields: [...new Set(errorFields)], // unique values + newPassword1, + newPassword2, + currentPassword, + }) + } + + // Check current password is correct before updating, but only if they didn't log in with "recover" link + // Note: to make this truly enforced you need to contact supabase. See: https://www.reddit.com/r/Supabase/comments/12iw7o1/updating_password_in_supabase_seems_insecure/ + // However, having the UI accessible route still verify password is still helpful, and needed once you get the setting above enabled + if (!isRecoverySession) { + const { error } = await supabase.auth.signInWithPassword({ + email: user?.email || "", + password: currentPassword, + }) + if (error) { + // The user was logged out because of bad password. Redirect to error page explaining. + redirect(303, "/login/current_password_error") + } + } + + const { error } = await supabase.auth.updateUser({ + password: newPassword1, + }) + if (error) { + console.error("Error updating password", error) + return fail(500, { + errorMessage: "Unknown error. If this persists please contact us.", + newPassword1, + newPassword2, + currentPassword, + }) + } + + return { + newPassword1, + newPassword2, + currentPassword, + } + }, + deleteAccount: async ({ + request, + locals: { supabase, supabaseServiceRole, safeGetSession }, + }) => { + const { session, user } = await safeGetSession() + if (!session || !user?.id) { + redirect(303, "/login") + } + + const formData = await request.formData() + const currentPassword = formData.get("currentPassword") as string + + if (!currentPassword) { + return fail(400, { + errorMessage: + "You must provide your current password to delete your account. If you forgot it, sign out then use 'forgot password' on the sign in page.", + errorFields: ["currentPassword"], + currentPassword, + }) + } + + // Check current password is correct before deleting account + const { error: pwError } = await supabase.auth.signInWithPassword({ + email: user?.email || "", + password: currentPassword, + }) + if (pwError) { + // The user was logged out because of bad password. Redirect to error page explaining. + redirect(303, "/login/current_password_error") + } + + const { error } = await supabaseServiceRole.auth.admin.deleteUser( + user.id, + true, + ) + if (error) { + console.error("Error deleting user", error) + return fail(500, { + errorMessage: "Unknown error. If this persists please contact us.", + currentPassword, + }) + } + + await supabase.auth.signOut() + redirect(303, "/") + }, + updateProfile: async ({ request, locals: { supabase, safeGetSession } }) => { + const { session, user } = await safeGetSession() + if (!session || !user?.id) { + redirect(303, "/login") + } + + const formData = await request.formData() + const fullName = formData.get("fullName") as string + const companyName = formData.get("companyName") as string + const website = formData.get("website") as string + + let validationError + const fieldMaxTextLength = 50 + const errorFields = [] + if (!fullName) { + validationError = "Name is required" + errorFields.push("fullName") + } else if (fullName.length > fieldMaxTextLength) { + validationError = `Name must be less than ${fieldMaxTextLength} characters` + errorFields.push("fullName") + } + if (!companyName) { + validationError = + "Company name is required. If this is a hobby project or personal app, please put your name." + errorFields.push("companyName") + } else if (companyName.length > fieldMaxTextLength) { + validationError = `Company name must be less than ${fieldMaxTextLength} characters` + errorFields.push("companyName") + } + if (!website) { + validationError = + "Company website is required. An app store URL is a good alternative if you don't have a website." + errorFields.push("website") + } else if (website.length > fieldMaxTextLength) { + validationError = `Company website must be less than ${fieldMaxTextLength} characters` + errorFields.push("website") + } + if (validationError) { + return fail(400, { + errorMessage: validationError, + errorFields, + fullName, + companyName, + website, + }) + } + + // To check if created or updated, check if priorProfile exists + const { data: priorProfile, error: priorProfileError } = await supabase + .from("profiles") + .select(`*`) + .eq("id", session?.user.id) + .single() + + const { error } = await supabase + .from("profiles") + .upsert({ + id: user.id, + full_name: fullName, + company_name: companyName, + website: website, + updated_at: new Date(), + unsubscribed: priorProfile?.unsubscribed ?? false, + }) + .select() + + if (error) { + console.error("Error updating profile", error) + return fail(500, { + errorMessage: "Unknown error. If this persists please contact us.", + fullName, + companyName, + website, + }) + } + + // If the profile was just created, send an email to the user and admin + const newProfile = + priorProfile?.updated_at === null && priorProfileError === null + if (newProfile) { + await sendAdminEmail({ + subject: "Profile Created", + body: `Profile created by ${session.user.email}\nFull name: ${fullName}\nCompany name: ${companyName}\nWebsite: ${website}`, + }) + + // Send welcome email, from the product's own sender (Resend sends only + // from a domain verified on its account), once one is set. + const fromEmail = + env.PRIVATE_FROM_ADMIN_EMAIL || env.PRIVATE_ADMIN_EMAIL || "" + if (fromEmail) { + await sendUserEmail({ + user: session.user, + subject: "Welcome!", + from_email: fromEmail, + template_name: "welcome_email", + template_properties: { + companyName: WebsiteName, + WebsiteBaseUrl: WebsiteBaseUrl, + }, + }) + } + } + + return { + fullName, + companyName, + website, + } + }, + signout: async ({ locals: { supabase, safeGetSession } }) => { + const { session } = await safeGetSession() + if (session) { + await supabase.auth.signOut() + redirect(303, "/") + } else { + redirect(303, "/") + } + }, +} diff --git a/apps/web/src/routes/(admin)/account/api/page.server.test.ts b/apps/web/src/routes/(admin)/account/api/page.server.test.ts new file mode 100644 index 0000000..5d63e8d --- /dev/null +++ b/apps/web/src/routes/(admin)/account/api/page.server.test.ts @@ -0,0 +1,123 @@ +import { describe, it, expect, vi, beforeEach } from "vitest" +import { actions } from "./+page.server" +import { fail, redirect } from "@sveltejs/kit" + +vi.mock("@sveltejs/kit", async () => { + const actual = await vi.importActual("@sveltejs/kit") + return { + ...actual, + fail: vi.fn(), + redirect: vi.fn().mockImplementation(() => { + throw new Error("Redirect error") + }), + } +}) + +describe("toggleEmailSubscription", () => { + const mockSupabase = { + from: vi.fn().mockReturnThis(), + select: vi.fn().mockReturnThis(), + eq: vi.fn().mockReturnThis(), + single: vi.fn().mockResolvedValue({ data: null }), + update: vi.fn().mockReturnThis(), + } + + const mockSafeGetSession = vi.fn() + + beforeEach(() => { + vi.clearAllMocks() + }) + + it("should redirect if no session", async () => { + mockSafeGetSession.mockResolvedValue({ session: null }) + + await expect( + actions.toggleEmailSubscription({ + locals: { + supabase: mockSupabase, + safeGetSession: mockSafeGetSession, + }, + } as any), + ).rejects.toThrow("Redirect") + + expect(redirect).toHaveBeenCalledWith(303, "/login") + }) + + it("should toggle subscription status from false to true", async () => { + const mockSession = { user: { id: "user123" } } + mockSafeGetSession.mockResolvedValue({ session: mockSession }) + + // Mock the first query to get the current status + mockSupabase.single.mockResolvedValueOnce({ data: { unsubscribed: false } }) + + // Mock the update query + const mockUpdateChain = { + eq: vi.fn().mockResolvedValue({ error: null }), + } + + mockSupabase.update.mockReturnValue(mockUpdateChain) + + const result = await actions.toggleEmailSubscription({ + locals: { supabase: mockSupabase, safeGetSession: mockSafeGetSession }, + } as any) + + expect(mockSupabase.from).toHaveBeenCalledWith("profiles") + expect(mockSupabase.select).toHaveBeenCalledWith("unsubscribed") + expect(mockSupabase.eq).toHaveBeenCalledWith("id", "user123") + expect(mockSupabase.single).toHaveBeenCalled() + expect(mockSupabase.update).toHaveBeenCalledWith({ unsubscribed: true }) + expect(mockUpdateChain.eq).toHaveBeenCalledWith("id", "user123") + expect(result).toEqual({ unsubscribed: true }) + }) + + it("should toggle subscription status from true to false", async () => { + const mockSession = { user: { id: "user123" } } + mockSafeGetSession.mockResolvedValue({ session: mockSession }) + + // Mock the first query to get the current status + mockSupabase.single.mockResolvedValueOnce({ data: { unsubscribed: true } }) + + // Mock the update query + const mockUpdateChain = { + eq: vi.fn().mockResolvedValue({ error: null }), + } + + mockSupabase.update.mockReturnValue(mockUpdateChain) + + const result = await actions.toggleEmailSubscription({ + locals: { supabase: mockSupabase, safeGetSession: mockSafeGetSession }, + } as any) + + expect(mockSupabase.from).toHaveBeenCalledWith("profiles") + expect(mockSupabase.select).toHaveBeenCalledWith("unsubscribed") + expect(mockSupabase.eq).toHaveBeenCalledWith("id", "user123") + expect(mockSupabase.single).toHaveBeenCalled() + expect(mockSupabase.update).toHaveBeenCalledWith({ unsubscribed: false }) + expect(mockUpdateChain.eq).toHaveBeenCalledWith("id", "user123") + expect(result).toEqual({ unsubscribed: false }) + }) + + it("should return fail response if update operation fails", async () => { + const mockSession = { user: { id: "user123" } } + mockSafeGetSession.mockResolvedValue({ session: mockSession }) + + // Mock the first query to get the current status + mockSupabase.single.mockResolvedValueOnce({ data: { unsubscribed: false } }) + + // Mock the update query to return an error + const mockUpdateChain = { + eq: vi.fn().mockResolvedValue({ error: new Error("Update failed") }), + } + + mockSupabase.update.mockReturnValue(mockUpdateChain) + + await actions.toggleEmailSubscription({ + locals: { supabase: mockSupabase, safeGetSession: mockSafeGetSession }, + } as any) + + // Check if fail was called with the correct arguments + expect(fail).toHaveBeenCalledWith(500, { + message: "Failed to update subscription status", + }) + }) +}) diff --git a/apps/web/src/routes/(admin)/account/create_profile/+page.svelte b/apps/web/src/routes/(admin)/account/create_profile/+page.svelte new file mode 100644 index 0000000..ebae633 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/create_profile/+page.svelte @@ -0,0 +1,135 @@ + + + + Create Profile + + +
+
+
+

Create Profile

+
+
+ + +
+ +
+ + +
+ +
+ + +
+ + {#if form?.errorMessage} +

+ {form?.errorMessage} +

+ {/if} +
+ +
+
+ +
+ You are logged in as {user?.email}. +
+ Sign out +
+
+
+
diff --git a/apps/web/src/routes/(admin)/account/create_profile/+page.ts b/apps/web/src/routes/(admin)/account/create_profile/+page.ts new file mode 100644 index 0000000..dea7c5f --- /dev/null +++ b/apps/web/src/routes/(admin)/account/create_profile/+page.ts @@ -0,0 +1,13 @@ +import { _hasFullProfile } from "../+layout.js" +import { redirect } from "@sveltejs/kit" + +export async function load({ parent }) { + const data = await parent() + + // They completed their profile! Redirect to "Select a Plan" screen. + if (_hasFullProfile(data?.profile)) { + redirect(303, "/account/select_plan") + } + + return data +} diff --git a/apps/web/src/routes/(admin)/account/select_plan/+page.svelte b/apps/web/src/routes/(admin)/account/select_plan/+page.svelte new file mode 100644 index 0000000..696812d --- /dev/null +++ b/apps/web/src/routes/(admin)/account/select_plan/+page.svelte @@ -0,0 +1,22 @@ + + + + Select a Plan + + +
+
+
+

Select a Plan

+
+ View our pricing page for details. +
+ +
+
+
diff --git a/apps/web/src/routes/(admin)/account/sign_out/+page.svelte b/apps/web/src/routes/(admin)/account/sign_out/+page.svelte new file mode 100644 index 0000000..8dd8bac --- /dev/null +++ b/apps/web/src/routes/(admin)/account/sign_out/+page.svelte @@ -0,0 +1,22 @@ + + +

{message}

diff --git a/apps/web/src/routes/(admin)/account/subscribe/[slug]/+page.server.ts b/apps/web/src/routes/(admin)/account/subscribe/[slug]/+page.server.ts new file mode 100644 index 0000000..f34be91 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/subscribe/[slug]/+page.server.ts @@ -0,0 +1,69 @@ +import { error, redirect } from "@sveltejs/kit" +import { getStripe, stripeConnected } from "$lib/server/stripe" +import { + fetchSubscription, + getOrCreateCustomerId, +} from "../../subscription_helpers.server" +import type { PageServerLoad } from "./$types" + +export const load: PageServerLoad = async ({ + params, + url, + locals: { safeGetSession, supabaseServiceRole }, +}) => { + const { session, user } = await safeGetSession() + if (!session) { + redirect(303, "/login") + } + + if (params.slug === "free_plan") { + // plan with no stripe_price_id. Redirect to account home + redirect(303, "/account") + } + + // No Stripe yet: the billing page says how to connect it. + if (!stripeConnected()) { + redirect(303, "/account/billing") + } + + const { error: idError, customerId } = await getOrCreateCustomerId({ + supabaseServiceRole, + user, + }) + if (idError || !customerId) { + console.error("Error creating customer id", idError) + error(500, { + message: "Unknown error. If issue persists, please contact us.", + }) + } + + const { primarySubscription } = await fetchSubscription({ + customerId, + }) + if (primarySubscription) { + // User already has plan, we shouldn't let them buy another + redirect(303, "/account/billing") + } + + let checkoutUrl + try { + const stripeSession = await getStripe().checkout.sessions.create({ + line_items: [ + { + price: params.slug, + quantity: 1, + }, + ], + customer: customerId, + mode: "subscription", + success_url: `${url.origin}/account`, + cancel_url: `${url.origin}/account/billing`, + }) + checkoutUrl = stripeSession.url + } catch (e) { + console.error("Error creating checkout session", e) + error(500, "Unknown Error (SSE): If issue persists please contact us.") + } + + redirect(303, checkoutUrl ?? "/pricing") +} diff --git a/apps/web/src/routes/(admin)/account/subscription_helpers.server.ts b/apps/web/src/routes/(admin)/account/subscription_helpers.server.ts new file mode 100644 index 0000000..6151295 --- /dev/null +++ b/apps/web/src/routes/(admin)/account/subscription_helpers.server.ts @@ -0,0 +1,128 @@ +import type { SupabaseClient, User } from "@supabase/supabase-js" +import type { Database } from "../../../DatabaseDefinitions" + +import { getStripe } from "$lib/server/stripe" +import { pricingPlans } from "../../(marketing)/pricing/pricing_plans" + +export const getOrCreateCustomerId = async ({ + supabaseServiceRole, + user, +}: { + supabaseServiceRole: SupabaseClient + user: User +}) => { + const { data: dbCustomer, error } = await supabaseServiceRole + .from("stripe_customers") + .select("stripe_customer_id") + .eq("user_id", user.id) + .single() + + if (error && error.code != "PGRST116") { + // PGRST116 == no rows + return { error: error } + } + + if (dbCustomer?.stripe_customer_id) { + return { customerId: dbCustomer.stripe_customer_id } + } + + // Fetch data needed to create customer + const { data: profile, error: profileError } = await supabaseServiceRole + .from("profiles") + .select(`full_name, website, company_name`) + .eq("id", user.id) + .single() + if (profileError) { + return { error: profileError } + } + + // Create a stripe customer + let customer + try { + customer = await getStripe().customers.create({ + email: user.email, + name: profile.full_name ?? "", + metadata: { + user_id: user.id, + company_name: profile.company_name ?? "", + website: profile.website ?? "", + }, + }) + } catch (e) { + return { error: e } + } + + if (!customer.id) { + return { error: "Unknown stripe user creation error" } + } + + // insert instead of upsert so we never over-write. PK ensures later attempts error. + const { error: insertError } = await supabaseServiceRole + .from("stripe_customers") + .insert({ + user_id: user.id, + stripe_customer_id: customer.id, + updated_at: new Date(), + }) + + if (insertError) { + return { error: insertError } + } + + return { customerId: customer.id } +} + +export const fetchSubscription = async ({ + customerId, +}: { + customerId: string +}) => { + // Fetch user's subscriptions + let stripeSubscriptions + try { + stripeSubscriptions = await getStripe().subscriptions.list({ + customer: customerId, + limit: 100, + status: "all", + }) + } catch (e) { + return { error: e } + } + + // find "primary". The user may have several old ones, we want an active one (including trials, and past_due in grace period). + const primaryStripeSubscription = stripeSubscriptions.data.find((x) => { + return ( + x.status === "active" || + x.status === "trialing" || + x.status === "past_due" + ) + }) + let appSubscription = null + if (primaryStripeSubscription) { + const productId = + primaryStripeSubscription?.items?.data?.[0]?.price.product ?? "" + appSubscription = pricingPlans.find((x) => { + return x.stripe_product_id === productId + }) + if (!appSubscription) { + return { + error: + "Stripe subscription does not have matching app subscription in pricing_plans.ts (via product id match)", + } + } + } + let primarySubscription = null + if (primaryStripeSubscription && appSubscription) { + primarySubscription = { + stripeSubscription: primaryStripeSubscription, + appSubscription: appSubscription, + } + } + + const hasEverHadSubscription = stripeSubscriptions.data.length > 0 + + return { + primarySubscription, + hasEverHadSubscription, + } +} diff --git a/apps/web/src/routes/(marketing)/+layout.svelte b/apps/web/src/routes/(marketing)/+layout.svelte new file mode 100644 index 0000000..110a708 --- /dev/null +++ b/apps/web/src/routes/(marketing)/+layout.svelte @@ -0,0 +1,115 @@ + + + + +
+ {@render children?.()} +
+ + +
+ diff --git a/apps/web/src/routes/(marketing)/+page.svelte b/apps/web/src/routes/(marketing)/+page.svelte new file mode 100644 index 0000000..ff4ddd0 --- /dev/null +++ b/apps/web/src/routes/(marketing)/+page.svelte @@ -0,0 +1,432 @@ + + + + {WebsiteName} + + + {@html jsonldScript} + + +
+
+
+
+ SaaS Starter Demo +
+ +
+ The + open source, + fast, and + free to host + SaaS template +
+
+ Built with SvelteKit, + Supabase, + Stripe, + Tailwind, + DaisyUI, and + Postgres +
+ +
+
+
+
+
+
+
+ Explore the Features +
+
+ And try them on this + + fully functional demo + +
+
+ +
+ {#each features as feature} +
+
+
+ + + {@html feature.svgContent} + +
+

+ {feature.name} +

+

+ {feature.description} +

+ {#if feature.link} + + + + {/if} +
+
+ {/each} +
+
+
+
+
+ +
+
diff --git a/apps/web/src/routes/(marketing)/+page.ts b/apps/web/src/routes/(marketing)/+page.ts new file mode 100644 index 0000000..176ae64 --- /dev/null +++ b/apps/web/src/routes/(marketing)/+page.ts @@ -0,0 +1 @@ +export const prerender = true diff --git a/apps/web/src/routes/(marketing)/auth/callback/+server.js b/apps/web/src/routes/(marketing)/auth/callback/+server.js new file mode 100644 index 0000000..92e8b43 --- /dev/null +++ b/apps/web/src/routes/(marketing)/auth/callback/+server.js @@ -0,0 +1,27 @@ +// src/routes/auth/callback/+server.js +import { redirect } from "@sveltejs/kit" +import { isAuthApiError } from "@supabase/supabase-js" + +export const GET = async ({ url, locals: { supabase } }) => { + const code = url.searchParams.get("code") + if (code) { + try { + await supabase.auth.exchangeCodeForSession(code) + } catch (error) { + // If you open in another browser, need to redirect to login. + // Should not display error + if (isAuthApiError(error)) { + redirect(303, "/login/sign_in?verified=true") + } else { + throw error + } + } + } + + const next = url.searchParams.get("next") + if (next) { + redirect(303, next) + } + + redirect(303, "/account") +} diff --git a/apps/web/src/routes/(marketing)/blog/(posts)/+layout.svelte b/apps/web/src/routes/(marketing)/blog/(posts)/+layout.svelte new file mode 100644 index 0000000..c8bb4ae --- /dev/null +++ b/apps/web/src/routes/(marketing)/blog/(posts)/+layout.svelte @@ -0,0 +1,78 @@ + + + + {currentPost.title} + + + + + + + + + + + + + + + + + + + {@html jsonldScript} + + +
+
+ {currentPost.parsedDate?.toLocaleDateString("en-US", { + month: "short", + day: "numeric", + year: "numeric", + })} +
+

{currentPost.title}

+ {@render children?.()} +
diff --git a/apps/web/src/routes/(marketing)/blog/(posts)/awesome_post/+page.svelte b/apps/web/src/routes/(marketing)/blog/(posts)/awesome_post/+page.svelte new file mode 100644 index 0000000..36e36e2 --- /dev/null +++ b/apps/web/src/routes/(marketing)/blog/(posts)/awesome_post/+page.svelte @@ -0,0 +1,26 @@ +

A sample post

+ +

+ This is a sample blog post to demonstrate the blog engine. It shows some of + the formatting options included in the template. +

+ +

Section Titles are great

+ +

As are more paragraphs.

+ +
+

Block quotes are styled

+
+ +
# Code blocks work too!
+npm install 
+
+ +

+ Check out more formatting options like lists, headers, and more in the tailwind/typograpy docs. +

diff --git a/apps/web/src/routes/(marketing)/blog/(posts)/example_blog_post/+page.svelte b/apps/web/src/routes/(marketing)/blog/(posts)/example_blog_post/+page.svelte new file mode 100644 index 0000000..36e36e2 --- /dev/null +++ b/apps/web/src/routes/(marketing)/blog/(posts)/example_blog_post/+page.svelte @@ -0,0 +1,26 @@ +

A sample post

+ +

+ This is a sample blog post to demonstrate the blog engine. It shows some of + the formatting options included in the template. +

+ +

Section Titles are great

+ +

As are more paragraphs.

+ +
+

Block quotes are styled

+
+ +
# Code blocks work too!
+npm install 
+
+ +

+ Check out more formatting options like lists, headers, and more in the tailwind/typograpy docs. +

diff --git a/apps/web/src/routes/(marketing)/blog/(posts)/how_we_built_our_41kb_saas_website/+page.svelte b/apps/web/src/routes/(marketing)/blog/(posts)/how_we_built_our_41kb_saas_website/+page.svelte new file mode 100644 index 0000000..7aafde6 --- /dev/null +++ b/apps/web/src/routes/(marketing)/blog/(posts)/how_we_built_our_41kb_saas_website/+page.svelte @@ -0,0 +1,36 @@ +

How to use this template you to bootstrap your own site.

+ +

+ We've written a detailed blog post about how we took this template, and + created a real SaaS company website. Topics include: +

+ +
    +
  • Optimizing the stack for performance and developer productivity
  • +
  • Creating rich interactive animations with Svelte
  • +
  • Creating pixel perfect designs without rasterization
  • +
  • Speed measurements: how we kept it small and lightning fast
  • +
+ + + + + +

+ The blog post is over on criticalmoments.io, a page which uses this boilerplate as a starting point. +

+ +

+ If you are looking for examples of blog posts with rich content rendered + inside this template, checkout the other demo posts here. +

diff --git a/apps/web/src/routes/(marketing)/blog/+layout.ts b/apps/web/src/routes/(marketing)/blog/+layout.ts new file mode 100644 index 0000000..176ae64 --- /dev/null +++ b/apps/web/src/routes/(marketing)/blog/+layout.ts @@ -0,0 +1 @@ +export const prerender = true diff --git a/apps/web/src/routes/(marketing)/blog/+page.svelte b/apps/web/src/routes/(marketing)/blog/+page.svelte new file mode 100644 index 0000000..ca82e82 --- /dev/null +++ b/apps/web/src/routes/(marketing)/blog/+page.svelte @@ -0,0 +1,47 @@ + + + + {blogInfo.name} + + + + diff --git a/apps/web/src/routes/(marketing)/blog/posts.ts b/apps/web/src/routes/(marketing)/blog/posts.ts new file mode 100644 index 0000000..6199262 --- /dev/null +++ b/apps/web/src/routes/(marketing)/blog/posts.ts @@ -0,0 +1,52 @@ +export const blogInfo = { + name: "SaaS Starter Blog", + description: "A sample blog", +} + +export type BlogPost = { + link: string + date: string // date is a string 'YYYY-MM-DD' + title: string + description: string + parsedDate?: Date // Optional because it's added dynamically +} + +// Update this list with the actual blog post list +// Create a page in the "(posts)" directory for each entry +const blogPosts: BlogPost[] = [ + { + title: "How we built a beautiful 41kb SaaS website with this template", + description: "How to use this template you to bootstrap your own site.", + link: "/blog/how_we_built_our_41kb_saas_website", + date: "2024-03-10", + }, + { + title: "Example Blog Post 2", + description: "Even more example content!", + link: "/blog/awesome_post", + date: "2022-9-23", + }, + { + title: "Example Blog Post", + description: "A sample blog post, showing our blog engine", + link: "/blog/example_blog_post", + date: "2023-03-13", + }, +] + +// Parse post dates from strings to Date objects +for (const post of blogPosts) { + if (!post.parsedDate) { + const dateParts = post.date.split("-") + post.parsedDate = new Date( + parseInt(dateParts[0]), + parseInt(dateParts[1]) - 1, + parseInt(dateParts[2]), + ) // Note: months are 0-based + } +} + +export const sortedBlogPosts = blogPosts.sort( + (a: BlogPost, b: BlogPost) => + (b.parsedDate?.getTime() ?? 0) - (a.parsedDate?.getTime() ?? 0), +) diff --git a/apps/web/src/routes/(marketing)/blog/rss.xml/+server.ts b/apps/web/src/routes/(marketing)/blog/rss.xml/+server.ts new file mode 100644 index 0000000..ab20ba0 --- /dev/null +++ b/apps/web/src/routes/(marketing)/blog/rss.xml/+server.ts @@ -0,0 +1,37 @@ +import { sortedBlogPosts, blogInfo } from "../posts" + +const encodeXML = (str: string) => + str + .replace(/&/g, "&") + .replace(//g, ">") + .replace(/"/g, """) + .replace(/'/g, "'") + +/** @type {import('./$types').RequestHandler} */ +export function GET({ url }) { + const headers = { + "Cache-Control": "max-age=0, s-maxage=3600", + "Content-Type": "application/xml", + } + + let body = ` + + ${encodeXML(blogInfo.name)} + ${url.origin}/blog + ${encodeXML(blogInfo.description)} + ` + for (const post of sortedBlogPosts) { + body += ` + + ${encodeXML(post.title)} + ${encodeXML(post.description)} + ${url.origin + post.link}/ + ${post.parsedDate?.toUTCString()} + \n` + } + body += ` \n\n` + return new Response(body, { + headers: headers, + }) +} diff --git a/apps/web/src/routes/(marketing)/contact_us/+page.server.ts b/apps/web/src/routes/(marketing)/contact_us/+page.server.ts new file mode 100644 index 0000000..c7ce5c7 --- /dev/null +++ b/apps/web/src/routes/(marketing)/contact_us/+page.server.ts @@ -0,0 +1,78 @@ +import { fail } from "@sveltejs/kit" +import { sendAdminEmail } from "$lib/mailer.js" + +/** @type {import('./$types').Actions} */ +export const actions = { + submitContactUs: async ({ request, locals: { supabaseServiceRole } }) => { + const formData = await request.formData() + const errors: { [fieldName: string]: string } = {} + + const firstName = formData.get("first_name")?.toString() ?? "" + if (firstName.length < 2) { + errors["first_name"] = "First name is required" + } + if (firstName.length > 500) { + errors["first_name"] = "First name too long" + } + + const lastName = formData.get("last_name")?.toString() ?? "" + if (lastName.length < 2) { + errors["last_name"] = "Last name is required" + } + if (lastName.length > 500) { + errors["last_name"] = "Last name too long" + } + + const email = formData.get("email")?.toString() ?? "" + if (email.length < 6) { + errors["email"] = "Email is required" + } else if (email.length > 500) { + errors["email"] = "Email too long" + } else if (!email.includes("@") || !email.includes(".")) { + errors["email"] = "Invalid email" + } + + const company = formData.get("company")?.toString() ?? "" + if (company.length > 500) { + errors["company"] = "Company too long" + } + + const phone = formData.get("phone")?.toString() ?? "" + if (phone.length > 100) { + errors["phone"] = "Phone number too long" + } + + const message = formData.get("message")?.toString() ?? "" + if (message.length > 2000) { + errors["message"] = "Message too long (" + message.length + " of 2000)" + } + + if (Object.keys(errors).length > 0) { + return fail(400, { errors }) + } + + // Save to database + const { error: insertError } = await supabaseServiceRole + .from("contact_requests") + .insert({ + first_name: firstName, + last_name: lastName, + email, + company_name: company, + phone, + message_body: message, + updated_at: new Date(), + }) + + if (insertError) { + console.error("Error saving contact request", insertError) + return fail(500, { errors: { _: "Error saving" } }) + } + + // Send email to admin + await sendAdminEmail({ + subject: "New contact request", + body: `New contact request from ${firstName} ${lastName}.\n\nEmail: ${email}\n\nPhone: ${phone}\n\nCompany: ${company}\n\nMessage: ${message}`, + }) + }, +} diff --git a/apps/web/src/routes/(marketing)/contact_us/+page.svelte b/apps/web/src/routes/(marketing)/contact_us/+page.svelte new file mode 100644 index 0000000..489d501 --- /dev/null +++ b/apps/web/src/routes/(marketing)/contact_us/+page.svelte @@ -0,0 +1,164 @@ + + +
+
+
+

Contact Us

+

Talk to one of our service professionals to:

+
    +
  • Get a live demo
  • +
  • Discuss your specific needs
  • +
  • Get a quote
  • +
  • Answer any technical questions you have
  • +
+

Once you complete the form, we'll reach out to you! *

+

+ *Not really for this demo page, but you should say something like that + 😉 +

+
+
+ +
+ {#if showSuccess} +
+
+
Thank you!
+

We've received your message and will be in touch soon.

+
+
+ {:else} +
+
+ {#each formFields as field} + + {/each} + + {#if Object.keys(errors).length > 0} +

+ Please resolve above issues. +

+ {/if} + + +
+
+ {/if} +
+
diff --git a/apps/web/src/routes/(marketing)/login/+layout.server.ts b/apps/web/src/routes/(marketing)/login/+layout.server.ts new file mode 100644 index 0000000..4749e49 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/+layout.server.ts @@ -0,0 +1,13 @@ +import type { LayoutServerLoad } from "./$types" + +export const load: LayoutServerLoad = async ({ + locals: { session }, + cookies, + url, +}) => { + return { + url: url.origin, + cookies: cookies.getAll(), + session, + } +} diff --git a/apps/web/src/routes/(marketing)/login/+layout.svelte b/apps/web/src/routes/(marketing)/login/+layout.svelte new file mode 100644 index 0000000..306f9b2 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/+layout.svelte @@ -0,0 +1,26 @@ + + +
+
+ {@render children?.()} +
+ 🍪 Logging in uses Cookies 🍪 +
+
+
diff --git a/apps/web/src/routes/(marketing)/login/+layout.ts b/apps/web/src/routes/(marketing)/login/+layout.ts new file mode 100644 index 0000000..2163909 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/+layout.ts @@ -0,0 +1,42 @@ +import { + PUBLIC_SUPABASE_ANON_KEY, + PUBLIC_SUPABASE_URL, +} from "$env/static/public" +import { + createBrowserClient, + createServerClient, + isBrowser, +} from "@supabase/ssr" +import { redirect } from "@sveltejs/kit" +import { load_helper } from "$lib/load_helpers.js" + +export const load = async ({ fetch, data, depends }) => { + depends("supabase:auth") + + const supabase = isBrowser() + ? createBrowserClient(PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY, { + global: { + fetch, + }, + }) + : createServerClient(PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY, { + global: { + fetch, + }, + cookies: { + getAll() { + return data.cookies + }, + }, + }) + + // Redirect if already logged in + const { session, user } = await load_helper(data.session, supabase) + if (session && user) { + redirect(303, "/account") + } + + const url = data.url + + return { supabase, url } +} diff --git a/apps/web/src/routes/(marketing)/login/+page.svelte b/apps/web/src/routes/(marketing)/login/+page.svelte new file mode 100644 index 0000000..adfdec4 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/+page.svelte @@ -0,0 +1,16 @@ + + Log In + + +
+

Get Started

+ + +

Already have an account?

+ +
diff --git a/apps/web/src/routes/(marketing)/login/current_password_error/+page.svelte b/apps/web/src/routes/(marketing)/login/current_password_error/+page.svelte new file mode 100644 index 0000000..b15e245 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/current_password_error/+page.svelte @@ -0,0 +1,19 @@ + + Current Password Incorrect + + +

Current Password Incorrect

+ +

+ You attempted edit your account with an incorrect current password, and have + been logged out. +

+

+ If you remember your password sign in and try again. +

+

+ If you forget your password reset it. +

diff --git a/apps/web/src/routes/(marketing)/login/forgot_password/+page.server.ts b/apps/web/src/routes/(marketing)/login/forgot_password/+page.server.ts new file mode 100644 index 0000000..62ad4e4 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/forgot_password/+page.server.ts @@ -0,0 +1 @@ +export const ssr = false diff --git a/apps/web/src/routes/(marketing)/login/forgot_password/+page.svelte b/apps/web/src/routes/(marketing)/login/forgot_password/+page.svelte new file mode 100644 index 0000000..b471ad1 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/forgot_password/+page.svelte @@ -0,0 +1,26 @@ + + + + Forgot Password + + +

Forgot Password

+ +
+ Remember your password? Sign in. +
diff --git a/apps/web/src/routes/(marketing)/login/login_config.ts b/apps/web/src/routes/(marketing)/login/login_config.ts new file mode 100644 index 0000000..eed1cb8 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/login_config.ts @@ -0,0 +1,34 @@ +import { ThemeSupa } from "@supabase/auth-ui-shared" +import type { Provider } from "@supabase/supabase-js" + +// OAuth sign-in, beside email and password. Each provider must be turned on in +// the environment's Supabase project first (Authentication → Providers, with +// the provider's OAuth app), or its button fails: so a product starts with +// none. Add "github" here once GitHub is set up (README, "OAuth providers"). +export const oauthProviders = [] as Provider[] + +// use the css variables from DaisyUI to style Supabase auth template +export const sharedAppearance = { + theme: ThemeSupa, + variables: { + default: { + colors: { + brand: "oklch(var(--p))", + brandAccent: "oklch(var(--ac))", + inputText: "oklch(var(--n))", + brandButtonText: "oklch(var(--pc))", + messageText: "oklch(var(--b))", + dividerBackground: "oklch(var(--n))", + inputLabelText: "oklch(var(--n))", + defaultButtonText: "oklch(var(--n))", + anchorTextColor: "oklch(var(--p))", + }, + fontSizes: { + baseInputSize: "16px", + }, + }, + }, + className: { + button: "authBtn", + }, +} diff --git a/apps/web/src/routes/(marketing)/login/sign_in/+page.server.ts b/apps/web/src/routes/(marketing)/login/sign_in/+page.server.ts new file mode 100644 index 0000000..62ad4e4 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/sign_in/+page.server.ts @@ -0,0 +1 @@ +export const ssr = false diff --git a/apps/web/src/routes/(marketing)/login/sign_in/+page.svelte b/apps/web/src/routes/(marketing)/login/sign_in/+page.svelte new file mode 100644 index 0000000..73ce00c --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/sign_in/+page.svelte @@ -0,0 +1,65 @@ + + + + Sign in + + +{#if $page.url.searchParams.get("verified") == "true"} + +{/if} +

Sign In

+ + +
+ Don't have an account? Sign up. +
diff --git a/apps/web/src/routes/(marketing)/login/sign_up/+page.server.ts b/apps/web/src/routes/(marketing)/login/sign_up/+page.server.ts new file mode 100644 index 0000000..62ad4e4 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/sign_up/+page.server.ts @@ -0,0 +1 @@ +export const ssr = false diff --git a/apps/web/src/routes/(marketing)/login/sign_up/+page.svelte b/apps/web/src/routes/(marketing)/login/sign_up/+page.svelte new file mode 100644 index 0000000..7fe4471 --- /dev/null +++ b/apps/web/src/routes/(marketing)/login/sign_up/+page.svelte @@ -0,0 +1,25 @@ + + + + Sign up + + +

Sign Up

+ +
+ Have an account? Sign in. +
diff --git a/apps/web/src/routes/(marketing)/pricing/+page.svelte b/apps/web/src/routes/(marketing)/pricing/+page.svelte new file mode 100644 index 0000000..21d8e36 --- /dev/null +++ b/apps/web/src/routes/(marketing)/pricing/+page.svelte @@ -0,0 +1,215 @@ + + + + Pricing + + + +
+

Pricing

+

+ Totally free, scale to millions of users +

+ +
+ +

Pricing FAQ

+
+
+
+ +
+ Is this template free to use? +
+
+

Yup! This template is free to use for any project.

+
+
+
+ +
+ Why does a free template have a pricing page? +
+
+

+ The pricing page is part of the boilerplate. It shows how the + pricing page integrates into the billing portal and the Stripe + Checkout flows. +

+
+
+
+ +
+ What license is the template under? +
+
+

The template is under the MIT license.

+
+
+
+ +
+ Can I try out purchase flows without real a credit card? +
+
+

+ Our demo page SaasStarter.work has a functional demo page, using Stripe's test environment. +

+

+ You can use the credit card number 4242 4242 4242 4242 with any + future expiry date to test the payment and upgrade flows. +

+
+
+
+
+ + + + + + + + + + + + + + + + + +

Plan Features

+

+ Example feature table +

+ +
+ + + + + + + + + + {#each planFeatures as feature} + {#if feature.header} + + + + {:else} + + + + + + {/if} + {/each} + +
FreePro
{feature.name}
{feature.name} + {#if feature.freeString} + {feature.freeString} + {:else if feature.freeIncluded} + + + + {:else} + + + + {/if} + + {#if feature.proString} + {feature.proString} + {:else if feature.proIncluded} + + + + {:else} + + + + {/if} +
+
+
+
diff --git a/apps/web/src/routes/(marketing)/pricing/+page.ts b/apps/web/src/routes/(marketing)/pricing/+page.ts new file mode 100644 index 0000000..176ae64 --- /dev/null +++ b/apps/web/src/routes/(marketing)/pricing/+page.ts @@ -0,0 +1 @@ +export const prerender = true diff --git a/apps/web/src/routes/(marketing)/pricing/pricing_module.svelte b/apps/web/src/routes/(marketing)/pricing/pricing_module.svelte new file mode 100644 index 0000000..1c9599e --- /dev/null +++ b/apps/web/src/routes/(marketing)/pricing/pricing_module.svelte @@ -0,0 +1,69 @@ + + +
+ {#each pricingPlans as plan} +
+
+
{plan.name}
+

+ {plan.description} +

+
+ Plan Includes: +
    + {#each plan.features as feature} +
  • {feature}
  • + {/each} +
      +
    +
    +
    + {plan.price} + {plan.priceIntervalName} +
    + {#if plan.id === currentPlanId} +
    + Current Plan +
    + {:else} + + {callToAction} + + {/if} +
    +
    +
    +
    + {/each} +
    diff --git a/apps/web/src/routes/(marketing)/pricing/pricing_plans.ts b/apps/web/src/routes/(marketing)/pricing/pricing_plans.ts new file mode 100644 index 0000000..e214ce5 --- /dev/null +++ b/apps/web/src/routes/(marketing)/pricing/pricing_plans.ts @@ -0,0 +1,43 @@ +export const defaultPlanId = "free" + +export const pricingPlans = [ + { + id: "free", + name: "Free", + description: "A free plan to get you started!", + price: "$0", + priceIntervalName: "per month", + stripe_price_id: null, + features: ["MIT Licence", "Fast Performance", "Stripe Integration"], + }, + { + id: "pro", + name: "Pro", + description: + "A plan to test the purchase experience. Try buying this with the test credit card 4242424242424242.", + price: "$5", + priceIntervalName: "per month", + stripe_price_id: "price_1NkdZCHMjzZ8mGZnRSjUm4yA", + stripe_product_id: "prod_OXj1CcemGMWOlU", + features: [ + "Everything in Free", + "Support us with fake money", + "Test the purchase experience", + ], + }, + { + id: "enterprise", + name: "Enterprise", + description: + "A plan to test the upgrade experience. Try buying this with the test credit card 4242424242424242.", + price: "$15", + priceIntervalName: "per month", + stripe_price_id: "price_1Nkda2HMjzZ8mGZn4sKvbDAV", + stripe_product_id: "prod_OXj20YNpHYOXi7", + features: [ + "Everything in Pro", + "Try the 'upgrade plan' UX", + "Still actually free!", + ], + }, +] diff --git a/apps/web/src/routes/(marketing)/search/+page.server.ts b/apps/web/src/routes/(marketing)/search/+page.server.ts new file mode 100644 index 0000000..176ae64 --- /dev/null +++ b/apps/web/src/routes/(marketing)/search/+page.server.ts @@ -0,0 +1 @@ +export const prerender = true diff --git a/apps/web/src/routes/(marketing)/search/+page.svelte b/apps/web/src/routes/(marketing)/search/+page.svelte new file mode 100644 index 0000000..f0bd5ed --- /dev/null +++ b/apps/web/src/routes/(marketing)/search/+page.svelte @@ -0,0 +1,156 @@ + + + + + + Search + + + +
    +
    +
    + Search +
    +
    + + + {#if loading && searchQuery.length > 0} +
    Loading...
    + {/if} + + {#if error} +
    + Error connecting to search. Please try again later. +
    + {/if} + + {#if !loading && searchQuery.length > 0 && results.length === 0 && !error} +
    No results found
    + {#if dev} +
    + Development mode only message: if you're missing content, rebuild your + local search index with `npm run build` +
    + {/if} + {/if} + + + +
    +
    diff --git a/apps/web/src/routes/(marketing)/search/api.json/+server.ts b/apps/web/src/routes/(marketing)/search/api.json/+server.ts new file mode 100644 index 0000000..de285e0 --- /dev/null +++ b/apps/web/src/routes/(marketing)/search/api.json/+server.ts @@ -0,0 +1,14 @@ +import { dev } from "$app/environment" +import { error } from "@sveltejs/kit" + +export async function GET() { + // only build search index in dev mode. It will be pre-built in production (see vite.config.js) + if (dev) { + const { buildSearchIndex } = await import("$lib/build_index") + const searchData = await buildSearchIndex() + return new Response(JSON.stringify(searchData), { + headers: { "Content-Type": "application/json" }, + }) + } + error(404, "Search index not found") +} diff --git a/apps/web/src/routes/(marketing)/sitemap.xml/+server.ts b/apps/web/src/routes/(marketing)/sitemap.xml/+server.ts new file mode 100644 index 0000000..8ed4a5a --- /dev/null +++ b/apps/web/src/routes/(marketing)/sitemap.xml/+server.ts @@ -0,0 +1,14 @@ +import type { RequestHandler } from "@sveltejs/kit" +import * as sitemap from "super-sitemap" +import { WebsiteBaseUrl } from "../../../config" + +export const prerender = true + +export const GET: RequestHandler = async () => { + return await sitemap.response({ + origin: WebsiteBaseUrl, + excludeRoutePatterns: [ + ".*\\(admin\\).*", // i.e. exclude routes within admin group + ], + }) +} diff --git a/apps/web/src/routes/+error.svelte b/apps/web/src/routes/+error.svelte new file mode 100644 index 0000000..b744a48 --- /dev/null +++ b/apps/web/src/routes/+error.svelte @@ -0,0 +1,16 @@ + + +
    +
    +
    +

    This is embarrassing...

    +

    There was an error: {$page?.error?.message}

    + +
    +
    +
    diff --git a/apps/web/src/routes/+layout.svelte b/apps/web/src/routes/+layout.svelte new file mode 100644 index 0000000..45621e4 --- /dev/null +++ b/apps/web/src/routes/+layout.svelte @@ -0,0 +1,26 @@ + + +{#if $navigating} + +
    +{/if} +{@render children?.()} diff --git a/apps/web/src/routes/api/health/+server.ts b/apps/web/src/routes/api/health/+server.ts new file mode 100644 index 0000000..69bfaae --- /dev/null +++ b/apps/web/src/routes/api/health/+server.ts @@ -0,0 +1,36 @@ +// GET /api/health — what this environment's Worker is connected to. +// +// Only the Worker answers it, and only by reaching its Supabase project with +// the service-role key: it counts the `profiles` table (a HEAD request, no +// rows read), so `ok: true` says the project's URL and key reached the +// Worker, the migrations ran, and the Worker is serving. Stripe and email are +// optional, so they are reported, never required. The deploy's smoke reads +// it (apps/web/component.yaml). +import { json } from "@sveltejs/kit" +import { env } from "$env/dynamic/private" +import { stripeConnected } from "$lib/server/stripe" +import type { RequestHandler } from "./$types" + +export const GET: RequestHandler = async ({ + locals: { supabaseServiceRole }, +}) => { + let database: string + try { + const { error } = await supabaseServiceRole + .from("profiles") + .select("id", { count: "exact", head: true }) + database = error ? `error: ${error.message || error.code}` : "ok" + } catch (e) { + database = `error: ${e instanceof Error ? e.message : String(e)}` + } + const body = { + ok: database === "ok", + database, + stripe: stripeConnected(), + email: !!env.PRIVATE_RESEND_API_KEY && !!env.PRIVATE_ADMIN_EMAIL, + } + return json(body, { + status: body.ok ? 200 : 503, + headers: { "cache-control": "no-store" }, + }) +} diff --git a/apps/web/src/routes/api/health/health.test.ts b/apps/web/src/routes/api/health/health.test.ts new file mode 100644 index 0000000..abb6175 --- /dev/null +++ b/apps/web/src/routes/api/health/health.test.ts @@ -0,0 +1,79 @@ +import { describe, it, expect, vi, beforeEach } from "vitest" + +vi.mock("$env/dynamic/private", () => ({ env: {} as Record })) + +import { env } from "$env/dynamic/private" +import { GET } from "./+server" + +const event = ( + result: { error: { message?: string; code?: string } | null } | Error, +) => { + const select = vi.fn(() => + result instanceof Error ? Promise.reject(result) : Promise.resolve(result), + ) + return { + locals: { supabaseServiceRole: { from: vi.fn(() => ({ select })) } }, + select, + } +} + +describe("GET /api/health", () => { + beforeEach(() => { + for (const k of Object.keys(env)) delete (env as Record)[k] + }) + + it("is ok when the project's profiles table answers the service-role key", async () => { + const e = event({ error: null }) + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const res = await GET(e as any) + expect(res.status).toBe(200) + expect(await res.json()).toEqual({ + ok: true, + database: "ok", + stripe: false, + email: false, + }) + expect(e.select).toHaveBeenCalledWith("id", { count: "exact", head: true }) + }) + + it("reports Stripe and email once both are set", async () => { + Object.assign(env, { + PRIVATE_STRIPE_API_KEY: "sk_test_x", + PRIVATE_RESEND_API_KEY: "re_x", + PRIVATE_ADMIN_EMAIL: "admin@example.com", + }) + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const res = await GET(event({ error: null }) as any) + expect(await res.json()).toMatchObject({ + ok: true, + stripe: true, + email: true, + }) + }) + + it("is 503 when the table is missing (the migrations did not run)", async () => { + const res = await GET( + // eslint-disable-next-line @typescript-eslint/no-explicit-any + event({ + error: { message: 'relation "public.profiles" does not exist' }, + }) as any, + ) + expect(res.status).toBe(503) + expect(await res.json()).toMatchObject({ + ok: false, + database: expect.stringContaining("does not exist"), + }) + }) + + it("is 503 when the service-role key never reached the Worker", async () => { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const res = await GET( + event(new Error("PRIVATE_SUPABASE_SERVICE_ROLE is not set")) as any, + ) + expect(res.status).toBe(503) + expect(await res.json()).toMatchObject({ + ok: false, + database: expect.stringContaining("not set"), + }) + }) +}) diff --git a/apps/web/static/favicon.png b/apps/web/static/favicon.png new file mode 100644 index 0000000..7841249 Binary files /dev/null and b/apps/web/static/favicon.png differ diff --git a/apps/web/static/images/cm_logo.svg b/apps/web/static/images/cm_logo.svg new file mode 100644 index 0000000..bae2a82 --- /dev/null +++ b/apps/web/static/images/cm_logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/web/static/images/example-home.png b/apps/web/static/images/example-home.png new file mode 100644 index 0000000..ff2e9f3 Binary files /dev/null and b/apps/web/static/images/example-home.png differ diff --git a/apps/web/static/images/rss.svg b/apps/web/static/images/rss.svg new file mode 100644 index 0000000..14a6f3f --- /dev/null +++ b/apps/web/static/images/rss.svg @@ -0,0 +1 @@ +RSS \ No newline at end of file diff --git a/apps/web/static/robots.txt b/apps/web/static/robots.txt new file mode 100644 index 0000000..4738d6a --- /dev/null +++ b/apps/web/static/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Disallow: + diff --git a/apps/web/svelte.config.js b/apps/web/svelte.config.js new file mode 100644 index 0000000..1972d69 --- /dev/null +++ b/apps/web/svelte.config.js @@ -0,0 +1,20 @@ +import adapter from "@sveltejs/adapter-cloudflare" +import { vitePreprocess } from "@sveltejs/vite-plugin-svelte" + +/** @type {import('@sveltejs/kit').Config} */ +const config = { + kit: { + // adapter-auto becomes adapter-cloudflare: the build emits one Worker + // (.svelte-kit/cloudflare/_worker.js) with the pre-rendered pages and the + // hashed assets beside it, which wrangler.jsonc deploys as Workers Static + // Assets. `platformProxy` points `vite dev` at the same config, so the + // dev server sees the vars and secrets the Worker does. + adapter: adapter({ platformProxy: { configPath: "wrangler.jsonc" } }), + // allow up to 150kb of style to be inlined with the HTML + // Faster FCP (First Contentful Paint) by reducing the number of requests + inlineStyleThreshold: 150000, + }, + preprocess: vitePreprocess(), +} + +export default config diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json new file mode 100644 index 0000000..59aa71c --- /dev/null +++ b/apps/web/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "./.svelte-kit/tsconfig.json", + "compilerOptions": { + "allowJs": true, + "checkJs": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "skipLibCheck": true, + "sourceMap": true, + "strict": true, + "types": ["vitest/globals"] // allows to skip import of test functions like `describe`, `it`, `expect`, etc. + } + // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files + // + // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes + // from the referenced tsconfig.json - TypeScript does not merge them in +} diff --git a/apps/web/turbo.json b/apps/web/turbo.json new file mode 100644 index 0000000..9db5c64 --- /dev/null +++ b/apps/web/turbo.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["^build"], + "outputs": [".svelte-kit/**"], + "env": ["PUBLIC_SITE_URL"] + } + } +} diff --git a/apps/web/vite.config.ts b/apps/web/vite.config.ts new file mode 100644 index 0000000..17c2eb0 --- /dev/null +++ b/apps/web/vite.config.ts @@ -0,0 +1,49 @@ +import { sveltekit } from "@sveltejs/kit/vite" +import { defineConfig, type Plugin } from "vitest/config" +import Handlebars from "handlebars" +import fs from "node:fs" +import { buildAndCacheSearchIndex } from "./src/lib/build_index" + +// The site's public origin, which `$env/static/public` inlines into the +// sitemap, the RSS feed and the emails (src/config.ts). A deploy sets it to +// the environment's SITE_URL or its workers.dev URL (component.yaml); a local +// build leaves it empty and config.ts falls back to the dev server's origin. +// `$env/static/public` refuses a name that is not set at all, hence the +// default here. +process.env.PUBLIC_SITE_URL ??= "" + +// Workers refuse to generate code from strings, so email templates are +// precompiled here: `import x from "./t.hbs?hbs"` is the template, ready to +// render with the Handlebars runtime alone (src/lib/emails/templates.ts). +const precompiledHandlebars = (): Plugin => ({ + name: "precompiled-handlebars", + enforce: "pre", + load(id) { + const [file, query] = id.split("?") + if (!file.endsWith(".hbs") || query !== "hbs") return null + const spec = Handlebars.precompile(fs.readFileSync(file, "utf8")) + return `import Handlebars from "handlebars/runtime"\nexport default Handlebars.template(${spec})\n` + }, +}) + +export default defineConfig({ + plugins: [ + precompiledHandlebars(), + sveltekit(), + { + name: "vite-build-search-index", + writeBundle: { + order: "post", + sequential: false, + handler: async () => { + console.log("Building search index...") + await buildAndCacheSearchIndex() + }, + }, + }, + ], + test: { + include: ["src/**/*.{test,spec}.{js,ts}"], + globals: true, /// allows to skip import of test functions like `describe`, `it`, `expect`, etc. + }, +}) diff --git a/apps/web/wiring.fixture.json b/apps/web/wiring.fixture.json new file mode 100644 index 0000000..8f5f41a --- /dev/null +++ b/apps/web/wiring.fixture.json @@ -0,0 +1,14 @@ +{ + "supabase/dev": { + "supabase_url": "https://dev-project-ref.supabase.co", + "supabase_anon_key": "sb_publishable_fixture_dev" + }, + "supabase/stage": { + "supabase_url": "https://stage-project-ref.supabase.co", + "supabase_anon_key": "sb_publishable_fixture_stage" + }, + "supabase/prod": { + "supabase_url": "https://prod-project-ref.supabase.co", + "supabase_anon_key": "sb_publishable_fixture_prod" + } +} diff --git a/apps/web/wrangler.jsonc b/apps/web/wrangler.jsonc new file mode 100644 index 0000000..928cd15 --- /dev/null +++ b/apps/web/wrangler.jsonc @@ -0,0 +1,24 @@ +// 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": "sveltekit-saas-web", + // @sveltejs/adapter-cloudflare's output: the Worker, and beside it the + // pre-rendered pages, the hashed _app/ assets and static/. + "main": ".svelte-kit/cloudflare/_worker.js", + "compatibility_date": "2026-10-01", + "compatibility_flags": ["nodejs_compat"], + "assets": { + "directory": ".svelte-kit/cloudflare", + "binding": "ASSETS" + }, + "observability": { "enabled": true }, + // The Supabase project this environment talks to. The anon key is public by + // design — row-level security protects the data — so it is a var, not a + // secret. + "vars": { + "PUBLIC_SUPABASE_URL": "https://stage-project-ref.supabase.co", + "PUBLIC_SUPABASE_ANON_KEY": "sb_publishable_fixture_stage" + } +} diff --git a/apps/web/wrangler.template.jsonc b/apps/web/wrangler.template.jsonc new file mode 100644 index 0000000..e051304 --- /dev/null +++ b/apps/web/wrangler.template.jsonc @@ -0,0 +1,40 @@ +// wrangler.template.jsonc is the source and wrangler.jsonc is rendered from it +// by tooling/wire: edit the template, never the render. Two renders: +// +// - committed: the render from wiring.fixture.json (`pnpm run wire:fixture`), +// a placeholder project URL and key. `wrangler dev`, the dev verify lane +// and the composition's structure check (which runs BEFORE the build, in a +// fresh checkout) all read it, so it has to exist without a build. +// - deployed: the stage and prod lanes re-render it inside their own job +// tree, before the build, from the wiring document the `supabase` +// Terraform root lease-publishes (WIRING_SUPABASE_, +// apps/web/component.yaml). +// +// The build (`pnpm build`, tooling/wire/with-vars.mjs) hands the two vars +// below to `vite build`, so `$env/static/public` inlines whichever render it +// finds into the browser bundle and the Worker alike: they always talk to the +// same project. The workers-assets composition deploys one environment per +// job with no wrangler `--env`, so a placeholder token names the environment +// a render is for. Secrets are not here: the service-role key and Stripe's +// and Resend's keys are Worker secrets, read at request time. +{ + "$schema": "node_modules/wrangler/config-schema.json", + "name": "sveltekit-saas-web", + // @sveltejs/adapter-cloudflare's output: the Worker, and beside it the + // pre-rendered pages, the hashed _app/ assets and static/. + "main": ".svelte-kit/cloudflare/_worker.js", + "compatibility_date": "2026-10-01", + "compatibility_flags": ["nodejs_compat"], + "assets": { + "directory": ".svelte-kit/cloudflare", + "binding": "ASSETS" + }, + "observability": { "enabled": true }, + // The Supabase project this environment talks to. The anon key is public by + // design — row-level security protects the data — so it is a var, not a + // secret. + "vars": { + "PUBLIC_SUPABASE_URL": "@@wiring(supabase/__ENV__:supabase_url)@@", + "PUBLIC_SUPABASE_ANON_KEY": "@@wiring(supabase/__ENV__:supabase_anon_key)@@" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 556857a..965dfe6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,13 +10,13 @@ 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@2.7.0))(typescript@5.9.3))(eslint@9.39.5(jiti@2.7.0))(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@2.7.0))(typescript@5.9.3) eslint: specifier: ^9.27.0 - version: 9.39.5 + version: 9.39.5(jiti@2.7.0) turbo: specifier: ^2.5.4 version: 2.11.10 @@ -24,22 +24,555 @@ importers: specifier: ^5.8.3 version: 5.9.3 + apps/web: + dependencies: + '@supabase/auth-ui-shared': + specifier: ^0.1.8 + version: 0.1.8(@supabase/supabase-js@2.118.0) + '@supabase/auth-ui-svelte': + specifier: ^0.2.9 + version: 0.2.9(@supabase/supabase-js@2.118.0) + '@supabase/ssr': + specifier: ^0.5.2 + version: 0.5.2(@supabase/supabase-js@2.118.0) + '@supabase/supabase-js': + specifier: ^2.45.2 + version: 2.118.0 + handlebars: + specifier: ^4.7.8 + version: 4.7.10 + resend: + specifier: ^3.5.0 + version: 3.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + stripe: + specifier: ^13.3.0 + version: 13.11.0 + devDependencies: + '@sveltejs/adapter-cloudflare': + specifier: ^7.2.9 + version: 7.2.9(@sveltejs/kit@2.70.3(@sveltejs/vite-plugin-svelte@5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)))(svelte@5.57.3(@typescript-eslint/types@8.72.1))(typescript@5.9.3)(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)))(wrangler@4.155.0(@types/node@22.20.5)) + '@sveltejs/kit': + specifier: ^2.21.1 + version: 2.70.3(@sveltejs/vite-plugin-svelte@5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)))(svelte@5.57.3(@typescript-eslint/types@8.72.1))(typescript@5.9.3)(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)) + '@sveltejs/vite-plugin-svelte': + specifier: ^5.0.3 + version: 5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)) + '@tailwindcss/postcss': + specifier: ^4.0.9 + version: 4.3.3 + '@tailwindcss/typography': + specifier: ^0.5.13 + version: 0.5.20(tailwindcss@4.3.3) + '@types/glob': + specifier: ^8.1.0 + version: 8.1.0 + '@types/html-to-text': + specifier: ^9.0.4 + version: 9.0.4 + '@types/jsdom': + specifier: ^21.1.7 + version: 21.1.7 + '@typescript-eslint/eslint-plugin': + specifier: ^8.57.1 + version: 8.72.1(@typescript-eslint/parser@8.72.1(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) + '@typescript-eslint/parser': + specifier: ^8.57.1 + version: 8.72.1(eslint@8.57.1)(typescript@5.9.3) + daisyui: + specifier: ^5.0.0 + version: 5.7.50 + eslint: + specifier: ^8.28.0 + version: 8.57.1 + eslint-config-prettier: + specifier: ^9.1.0 + version: 9.1.2(eslint@8.57.1) + eslint-plugin-svelte: + specifier: ^2.45.1 + version: 2.46.1(eslint@8.57.1)(svelte@5.57.3(@typescript-eslint/types@8.72.1)) + fuse.js: + specifier: ~7.0.0 + version: 7.0.0 + glob: + specifier: ^10.4.5 + version: 10.5.0 + html-to-text: + specifier: ^9.0.5 + version: 9.0.5 + jsdom: + specifier: ^24.1.1 + version: 24.1.3 + postcss: + specifier: ^8.4.31 + version: 8.5.32 + prettier: + specifier: ~3.4.2 + version: 3.4.2 + prettier-plugin-svelte: + specifier: ~3.3.2 + version: 3.3.3(prettier@3.4.2)(svelte@5.57.3(@typescript-eslint/types@8.72.1)) + super-sitemap: + specifier: ^1.0.7 + version: 1.0.12(svelte@5.57.3(@typescript-eslint/types@8.72.1)) + svelte: + specifier: ^5.0.0 + version: 5.57.3(@typescript-eslint/types@8.72.1) + svelte-check: + specifier: ^4.0.0 + version: 4.7.7(picomatch@4.0.7)(svelte@5.57.3(@typescript-eslint/types@8.72.1))(typescript@5.9.3) + tailwindcss: + specifier: ^4.0.9 + version: 4.3.3 + typescript: + specifier: ^5.5.0 + version: 5.9.3 + vite: + specifier: ^6.3.5 + version: 6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0) + vitest: + specifier: ^3.0.7 + version: 3.2.7(@types/node@22.20.5)(jiti@2.7.0)(jsdom@24.1.3)(lightningcss@1.32.0) + wrangler: + specifier: ^4.151.0 + version: 4.155.0(@types/node@22.20.5) + + tests/web: + devDependencies: + '@app/eslint-config': + specifier: workspace:* + version: link:../../tooling/eslint + '@app/tsconfig': + specifier: workspace:* + version: link:../../tooling/tsconfig + '@app/web': + specifier: workspace:* + version: link:../../apps/web + '@types/node': + specifier: ^22.9.0 + version: 22.20.5 + typescript: + specifier: ^5.8.3 + version: 5.9.3 + vitest: + specifier: ^3.2.4 + version: 3.2.7(@types/node@22.20.5)(jiti@2.7.0)(jsdom@24.1.3)(lightningcss@1.32.0) + 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@2.7.0))(typescript@5.9.3))(eslint@9.39.5(jiti@2.7.0))(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@2.7.0))(typescript@5.9.3) eslint: specifier: ^9.27.0 - version: 9.39.5 + version: 9.39.5(jiti@2.7.0) tooling/tsconfig: {} packages: + '@alloc/quick-lru@5.3.0': + resolution: {integrity: sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==} + engines: {node: '>=10'} + + '@asamuzakjp/css-color@3.2.0': + resolution: {integrity: sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw==} + + '@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] + + '@cloudflare/workers-types@4.20260702.1': + resolution: {integrity: sha512-mOhf5TUEB1m2vPrxtqoIGfz0fUC9xyxRDx5gWHy5s+OCo6dcV+g7wI1R7gYCMFohhqF/2y2xeKVwMwCJjfn/WA==} + + '@cspotcode/source-map-support@0.8.1': + resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} + engines: {node: '>=12'} + + '@csstools/color-helpers@5.1.0': + resolution: {integrity: sha512-S11EXWJyy0Mz5SYvRmY8nJYTFFd1LCNV+7cXyAgQtOOuzb4EsgfqDufL+9esx72/eLhsRdGZwaldu/h+E4t4BA==} + engines: {node: '>=18'} + + '@csstools/css-calc@2.1.4': + resolution: {integrity: sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-parser-algorithms': ^3.0.5 + '@csstools/css-tokenizer': ^3.0.4 + + '@csstools/css-color-parser@3.1.0': + resolution: {integrity: sha512-nbtKwh3a6xNVIp/VRuXV64yTKnb1IjTAEEh3irzS+HkKjAOYLTGNb9pmVNntZ8iVBHcWDA2Dof0QtPgFI1BaTA==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-parser-algorithms': ^3.0.5 + '@csstools/css-tokenizer': ^3.0.4 + + '@csstools/css-parser-algorithms@3.0.5': + resolution: {integrity: sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-tokenizer': ^3.0.4 + + '@csstools/css-tokenizer@3.0.4': + resolution: {integrity: sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==} + engines: {node: '>=18'} + + '@emnapi/runtime@1.11.3': + resolution: {integrity: sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==} + + '@esbuild/aix-ppc64@0.25.12': + resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/aix-ppc64@0.28.2': + resolution: {integrity: sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.25.12': + resolution: {integrity: sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm64@0.28.2': + resolution: {integrity: sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.25.12': + resolution: {integrity: sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-arm@0.28.2': + resolution: {integrity: sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.25.12': + resolution: {integrity: sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/android-x64@0.28.2': + resolution: {integrity: sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.25.12': + resolution: {integrity: sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-arm64@0.28.2': + resolution: {integrity: sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.25.12': + resolution: {integrity: sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==} + engines: {node: '>=18'} + cpu: [x64] + 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.25.12': + resolution: {integrity: sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-arm64@0.28.2': + resolution: {integrity: sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.25.12': + resolution: {integrity: sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==} + engines: {node: '>=18'} + cpu: [x64] + 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.25.12': + resolution: {integrity: sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm64@0.28.2': + resolution: {integrity: sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.25.12': + resolution: {integrity: sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==} + engines: {node: '>=18'} + cpu: [arm] + 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.25.12': + resolution: {integrity: sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==} + engines: {node: '>=18'} + cpu: [ia32] + 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.25.12': + resolution: {integrity: sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==} + engines: {node: '>=18'} + cpu: [loong64] + 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.25.12': + resolution: {integrity: sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==} + engines: {node: '>=18'} + cpu: [mips64el] + 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.25.12': + resolution: {integrity: sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==} + engines: {node: '>=18'} + cpu: [ppc64] + 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.25.12': + resolution: {integrity: sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==} + engines: {node: '>=18'} + cpu: [riscv64] + 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.25.12': + resolution: {integrity: sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-s390x@0.28.2': + resolution: {integrity: sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.25.12': + resolution: {integrity: sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==} + engines: {node: '>=18'} + cpu: [x64] + 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.25.12': + resolution: {integrity: sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-arm64@0.28.2': + resolution: {integrity: sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.25.12': + resolution: {integrity: sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==} + engines: {node: '>=18'} + cpu: [x64] + 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.25.12': + resolution: {integrity: sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-arm64@0.28.2': + resolution: {integrity: sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.25.12': + resolution: {integrity: sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.28.2': + resolution: {integrity: sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openharmony-arm64@0.25.12': + resolution: {integrity: sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/openharmony-arm64@0.28.2': + resolution: {integrity: sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/sunos-x64@0.25.12': + resolution: {integrity: sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/sunos-x64@0.28.2': + resolution: {integrity: sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.25.12': + resolution: {integrity: sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-arm64@0.28.2': + resolution: {integrity: sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.25.12': + resolution: {integrity: sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==} + engines: {node: '>=18'} + cpu: [ia32] + 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.25.12': + resolution: {integrity: sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==} + engines: {node: '>=18'} + cpu: [x64] + 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} @@ -62,10 +595,18 @@ packages: resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/eslintrc@2.1.4': + resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/eslintrc@3.3.7': resolution: {integrity: sha512-F42g89Qd5oAWtp0k0nnSrjziAKza7w8SVT4mStc18LZMaRb4J1HQAHLCalEtDCxrTuksx7NU9qsmeLwpOfPqWw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/js@8.57.1': + resolution: {integrity: sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/js@9.39.5': resolution: {integrity: sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -90,68 +631,644 @@ packages: resolution: {integrity: sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==} engines: {node: '>=18.18.0'} + '@humanwhocodes/config-array@0.13.0': + resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==} + engines: {node: '>=10.10.0'} + deprecated: Use @eslint/config-array instead + '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} + '@humanwhocodes/object-schema@2.0.3': + resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} + deprecated: Use @eslint/object-schema instead + '@humanwhocodes/retry@0.4.3': 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: [win32] + os: [linux] + + '@img/sharp-linux-arm@0.35.5': + resolution: {integrity: sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==} + engines: {node: '>=20.9.0'} + cpu: [arm] + os: [linux] + + '@img/sharp-linux-ppc64@0.35.5': + resolution: {integrity: sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==} + engines: {node: '>=20.9.0'} + cpu: [ppc64] + os: [linux] + + '@img/sharp-linux-riscv64@0.35.5': + resolution: {integrity: sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==} + engines: {node: '>=20.9.0'} + cpu: [riscv64] + os: [linux] + + '@img/sharp-linux-s390x@0.35.5': + resolution: {integrity: sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==} + engines: {node: '>=20.9.0'} + cpu: [s390x] + os: [linux] + + '@img/sharp-linux-x64@0.35.5': + resolution: {integrity: sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [linux] - '@types/estree@1.0.9': - resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} + '@img/sharp-linuxmusl-arm64@0.35.5': + resolution: {integrity: sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + os: [linux] - '@types/json-schema@7.0.15': - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + '@img/sharp-linuxmusl-x64@0.35.5': + resolution: {integrity: sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [linux] - '@typescript-eslint/eslint-plugin@8.72.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' + '@img/sharp-wasm32@0.35.5': + resolution: {integrity: sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==} + engines: {node: '>=20.9.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' + '@img/sharp-webcontainers-wasm32@0.35.5': + resolution: {integrity: sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==} + engines: {node: '>=20.9.0'} + cpu: [wasm32] - '@typescript-eslint/project-service@8.72.1': - resolution: {integrity: sha512-fAuVMkwdO/huI8nyo/WKnNKf6Gag93S56Rh3Ts5mGcavwSdaN8tRg1gCeIGX8PF+nzp1BjGfO4gHhGzW1J6jTg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@img/sharp-win32-arm64@0.35.5': + resolution: {integrity: sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + os: [win32] + + '@img/sharp-win32-ia32@0.35.5': + resolution: {integrity: sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==} + engines: {node: ^20.9.0} + cpu: [ia32] + os: [win32] + + '@img/sharp-win32-x64@0.35.5': + resolution: {integrity: sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [win32] + + '@isaacs/cliui@8.0.2': + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} + + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + + '@jridgewell/remapping@2.3.5': + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/sourcemap-codec@1.6.0': + resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==} + + '@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] + + '@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'} + + '@one-ini/wasm@0.1.1': + resolution: {integrity: sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==} + + '@pkgjs/parseargs@0.11.0': + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + + '@polka/url@1.0.0-next.29': + resolution: {integrity: sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==} + + '@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==} + + '@react-email/render@0.0.16': + resolution: {integrity: sha512-wDaMy27xAq1cJHtSFptp0DTKPuV2GYhloqia95ub/DH9Dea1aWYsbdM918MOc/b/HvVS3w1z8DWzfAk13bGStQ==} + engines: {node: '>=18.0.0'} + peerDependencies: + react: ^18.2.0 + react-dom: ^18.2.0 + + '@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] + + '@selderee/plugin-htmlparser2@0.11.0': + resolution: {integrity: sha512-P33hHGdldxGabLFjPPpaTxVolMrzrcegejx+0GxjrIb9Zv48D8yAIA/QTDR2dFl7Uz7urX8aX6+5bCZslr+gWQ==} + + '@sindresorhus/is@7.2.0': + resolution: {integrity: sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==} + engines: {node: '>=18'} + + '@speed-highlight/core@1.2.24': + resolution: {integrity: sha512-qeW2e1l78afw8VhRPfPQ1Gjj+KU5XFQ/OFV5ti6eTa9bruO7mJyZtA4vw0ofqmA3tKCkROE9xLk3VZoeRc98nw==} + + '@standard-schema/spec@1.1.0': + resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} + + '@stitches/core@1.2.8': + resolution: {integrity: sha512-Gfkvwk9o9kE9r9XNBmJRfV8zONvXThnm1tcuojL04Uy5uRyqg93DC83lDebl0rocZCfKSjUv+fWYtMQmEDJldg==} + + '@supabase/auth-js@2.118.0': + resolution: {integrity: sha512-xWfPXyhS2KDSfAneMtI6p/tBnbdiz/5vaRKXEqUfzfC9WCniKr2Ds5o5G7RIGig0bom4z6wUY9zaV07WDVTfnQ==} + engines: {node: '>=22.0.0'} + + '@supabase/auth-ui-shared@0.1.8': + resolution: {integrity: sha512-ouQ0DjKcEFg+0gZigFIEgu01V3e6riGZPzgVD0MJsCBNsMsiDT74+GgCEIElMUpTGkwSja3xLwdFRFgMNFKcjg==} + peerDependencies: + '@supabase/supabase-js': ^2.21.0 + + '@supabase/auth-ui-svelte@0.2.9': + resolution: {integrity: sha512-oc+SRS7ykc5FCssoqT0IiK5KF/obwnWko5ePaaMTDwUEQOavv+O8/poAh2lRTKRJCqJMqOOpMS/lUE6pHcma3g==} + peerDependencies: + '@supabase/supabase-js': ^2.21.0 + + '@supabase/functions-js@2.118.0': + resolution: {integrity: sha512-4ofletPa/noKAU6KHeqsd3FztGzRPUEJRey1MKY0o+PIHaVePqRPShIXtl37gcVyIWaFM+zNg6r9zh0uUSFOSA==} + engines: {node: '>=22.0.0'} + + '@supabase/phoenix@0.4.5': + resolution: {integrity: sha512-aAn9H9ovVyeApKy11OWOrrOGq8DV68yWeH4ud2lN9fzn4aO8Zb5GLL9m1pUg9nLqIcT+ZDfAcsZe0E/nqdv2lw==} + + '@supabase/postgrest-js@2.118.0': + resolution: {integrity: sha512-JXy+37KPApHsyotaQACovv/Jy9E22rfiWLRuT+2UjoEAcAIelDFIrsF/FY47Dy19mO7lI0Tq+zDCX8oJ2Ozfiw==} + engines: {node: '>=22.0.0'} + + '@supabase/realtime-js@2.118.0': + resolution: {integrity: sha512-pzCIEWjqD5/xqEZQerpt+q9rsgYkcrkgCJgf0W2ULqC4fYUeB/p9CFa3t9vn+IVh6dMN9r4ZCE262lZvUC+Bfw==} + engines: {node: '>=22.0.0'} + + '@supabase/ssr@0.5.2': + resolution: {integrity: sha512-n3plRhr2Bs8Xun1o4S3k1CDv17iH5QY9YcoEvXX3bxV1/5XSasA0mNXYycFmADIdtdE6BG9MRjP5CGIs8qxC8A==} + peerDependencies: + '@supabase/supabase-js': ^2.43.4 + + '@supabase/storage-js@2.118.0': + resolution: {integrity: sha512-5MNkKt2Moy7Jud/sPX7/28BwdDxZMCVHGJT00b8op3KRa9LKSjOAYU5IcfGWIstaasAqY8GkbA6oI3IRDgB1YQ==} + engines: {node: '>=22.0.0'} + + '@supabase/supabase-js@2.118.0': + resolution: {integrity: sha512-FxI8UXMVC2UG7IkeiI8fuQZqq2oI3JeSuN8MPIC2RLVaoEAxKS0nqE6kii9Ewpq8f9gNPM6git1Y8f0vN/QLFw==} + engines: {node: '>=22.0.0'} + peerDependencies: + '@opentelemetry/api': '>=1.0.0' + peerDependenciesMeta: + '@opentelemetry/api': + optional: true + + '@sveltejs/acorn-typescript@1.0.13': + resolution: {integrity: sha512-wgKggnhZVL9Bfx1OaKKTrYY9BFRk6C8UAkQNUcIv1+llzYrIqy+RZm5HPKzn0NpEBvTVhTqB4kQyllZywsRBRQ==} + peerDependencies: + acorn: ^8.9.0 + + '@sveltejs/adapter-cloudflare@7.2.9': + resolution: {integrity: sha512-LEfLRYKZIiNYBPYk9Cu4dFCCIX37NO96jESNRDv7yr3vvblKU4Yh05FPUMRSrOWFKtG6bJcGIvdG/M2DSf4D1w==} + peerDependencies: + '@sveltejs/kit': ^2.0.0 + wrangler: ^4.0.0 + + '@sveltejs/kit@2.70.3': + resolution: {integrity: sha512-UDvEYuZqAMbfB/oXIoqKvbKcb7YczK5zYrzmsGV1zRJk03jntwp8dXiYoIJotxAndsKvcPFtx9H1GRSKFdSHgg==} + engines: {node: '>=18.13'} + hasBin: true + peerDependencies: + '@opentelemetry/api': ^1.0.0 + '@sveltejs/vite-plugin-svelte': ^3.0.0 || ^4.0.0-next.1 || ^5.0.0 || ^6.0.0-next.0 || ^7.0.0 + svelte: ^4.0.0 || ^5.0.0-next.0 + typescript: ^5.3.3 || ^6.0.0 + vite: ^5.0.3 || ^6.0.0 || ^7.0.0-beta.0 || ^8.0.0 + peerDependenciesMeta: + '@opentelemetry/api': + optional: true + typescript: + optional: true + + '@sveltejs/load-config@0.2.3': + resolution: {integrity: sha512-VT3qmUb8pRV2QrZjd8iAmtg8lf4W0TIjZbvXtz5MKei/q96teWZgGJyyidJzOjzZzvdq616eSRVeMYIQChUTAQ==} + engines: {node: '>= 18.0.0'} + + '@sveltejs/vite-plugin-svelte-inspector@4.0.1': + resolution: {integrity: sha512-J/Nmb2Q2y7mck2hyCX4ckVHcR5tu2J+MtBEQqpDrrgELZ2uvraQcK/ioCV61AqkdXFgriksOKIceDcQmqnGhVw==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22} + peerDependencies: + '@sveltejs/vite-plugin-svelte': ^5.0.0 + svelte: ^5.0.0 + vite: ^6.0.0 + + '@sveltejs/vite-plugin-svelte@5.1.1': + resolution: {integrity: sha512-Y1Cs7hhTc+a5E9Va/xwKlAJoariQyHY+5zBgCZg4PFWNYQ1nMN9sjK1zhw1gK69DuqVP++sht/1GZg1aRwmAXQ==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22} + peerDependencies: + svelte: ^5.0.0 + vite: ^6.0.0 + + '@tailwindcss/node@4.3.3': + resolution: {integrity: sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==} + + '@tailwindcss/oxide-android-arm64@4.3.3': + resolution: {integrity: sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [android] + + '@tailwindcss/oxide-darwin-arm64@4.3.3': + resolution: {integrity: sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [darwin] + + '@tailwindcss/oxide-darwin-x64@4.3.3': + resolution: {integrity: sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==} + engines: {node: '>= 20'} + cpu: [x64] + os: [darwin] + + '@tailwindcss/oxide-freebsd-x64@4.3.3': + resolution: {integrity: sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==} + engines: {node: '>= 20'} + cpu: [x64] + os: [freebsd] + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3': + resolution: {integrity: sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==} + engines: {node: '>= 20'} + cpu: [arm] + os: [linux] + + '@tailwindcss/oxide-linux-arm64-gnu@4.3.3': + resolution: {integrity: sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [linux] + + '@tailwindcss/oxide-linux-arm64-musl@4.3.3': + resolution: {integrity: sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [linux] + + '@tailwindcss/oxide-linux-x64-gnu@4.3.3': + resolution: {integrity: sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==} + engines: {node: '>= 20'} + cpu: [x64] + os: [linux] + + '@tailwindcss/oxide-linux-x64-musl@4.3.3': + resolution: {integrity: sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==} + engines: {node: '>= 20'} + cpu: [x64] + os: [linux] + + '@tailwindcss/oxide-wasm32-wasi@4.3.3': + resolution: {integrity: sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==} + engines: {node: '>=14.0.0'} + cpu: [wasm32] + bundledDependencies: + - '@napi-rs/wasm-runtime' + - '@emnapi/core' + - '@emnapi/runtime' + - '@tybys/wasm-util' + - '@emnapi/wasi-threads' + - tslib + + '@tailwindcss/oxide-win32-arm64-msvc@4.3.3': + resolution: {integrity: sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [win32] + + '@tailwindcss/oxide-win32-x64-msvc@4.3.3': + resolution: {integrity: sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==} + engines: {node: '>= 20'} + cpu: [x64] + os: [win32] + + '@tailwindcss/oxide@4.3.3': + resolution: {integrity: sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==} + engines: {node: '>= 20'} + + '@tailwindcss/postcss@4.3.3': + resolution: {integrity: sha512-JTSZZGQi1AyKirbLN3azmjVzef92tcX7h+iSqPdaeStyFpGpDlKvvpxeOE8njhbUanbRwr3z8DyzhICWnMtQeg==} + + '@tailwindcss/typography@0.5.20': + resolution: {integrity: sha512-hwbzQuNUfcPvbegQFatVPl/MY/tcM9KLl963hQ5laJKPh81TEZ1+dNG9PirGvcaDBkp+BCshExAyKVPW91dozw==} + peerDependencies: + tailwindcss: '>=3.0.0 || >=4.0.0 || insiders' + + '@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/cookie@0.6.0': + resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} + + '@types/deep-eql@4.0.2': + resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} + + '@types/estree@1.0.9': + resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} + + '@types/glob@8.1.0': + resolution: {integrity: sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w==} + + '@types/html-to-text@9.0.4': + resolution: {integrity: sha512-pUY3cKH/Nm2yYrEmDlPR1mR7yszjGx4DrwPjQ702C4/D5CwHuZTgZdIdwPkRbcuhs7BAh2L5rg3CL5cbRiGTCQ==} + + '@types/jsdom@21.1.7': + resolution: {integrity: sha512-yOriVnggzrnQ3a9OKOCxaVuSug3w3/SbOj5i7VwXWZEyUNl3bLF9V3MfxGbZKuwqJOQyRfqXyROBB1CoZLFWzA==} + + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + + '@types/minimatch@5.1.2': + resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==} + + '@types/node@22.20.5': + resolution: {integrity: sha512-U2+DNr+wSjpsTS/wZGYHq7GcwfuSmKiKvoPvK22zwTlRhU91yOniN4qRR5KhIjvif7ysw/dz/hKmfDH0Ris4aA==} + + '@types/tough-cookie@4.0.5': + resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} + + '@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' @@ -193,6 +1310,42 @@ packages: resolution: {integrity: sha512-SB8xqipSzZHUePCCLNeYxqnxq83X61/qzNhjQGbTfjxGZIeOEP7tBgWYX05Tcd6CgE02WdTJnh5b8kMZJ/+bnQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@ungap/structured-clone@1.4.0': + resolution: {integrity: sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==} + + '@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==} + + abbrev@2.0.0: + resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -203,16 +1356,47 @@ packages: engines: {node: '>=0.4.0'} hasBin: true + agent-base@7.1.4: + resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==} + engines: {node: '>= 14'} + ajv@6.15.0: resolution: {integrity: sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==} + 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'} + argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + aria-query@5.3.1: + resolution: {integrity: sha512-Z/ZeOgVl7bcSYZ/u/rh0fOpvEpq//LZmdbkXyc7syVzjPAhfOa9ebsdTSjEBDU4vs5nC98Kfduj1uFo0qyET3g==} + engines: {node: '>= 0.4'} + + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + + asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + + axobject-query@4.1.0: + resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==} + engines: {node: '>= 0.4'} + balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -220,21 +1404,55 @@ packages: resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} engines: {node: 18 || 20 || >=22} + blake3-wasm@2.1.5: + resolution: {integrity: sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==} + 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} + 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'} + 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'} + check-error@2.1.3: + resolution: {integrity: sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==} + engines: {node: '>= 16'} + + chokidar@4.0.3: + resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} + engines: {node: '>= 14.16.0'} + + clsx@2.1.1: + resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} + engines: {node: '>=6'} + color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} engines: {node: '>=7.0.0'} @@ -242,13 +1460,52 @@ 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@10.0.1: + resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} + engines: {node: '>=14'} + concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + config-chain@1.1.13: + resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} + + cookie@0.6.0: + resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} + engines: {node: '>= 0.6'} + + 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 + + cssstyle@4.6.0: + resolution: {integrity: sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg==} + engines: {node: '>=18'} + + daisyui@5.7.50: + resolution: {integrity: sha512-+/LRqnTCoc7s/bJEKKwtJSwzeXCVdAmRdNmZeZzgHCaQ9PJyl7j+2V2U32GQDMyD+VDkP9e/+JGoC72Y1hLk7w==} + + data-urls@5.0.0: + resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==} + engines: {node: '>=18'} + debug@4.4.3: resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} engines: {node: '>=6.0'} @@ -258,13 +1515,140 @@ packages: supports-color: optional: true + decimal.js@10.6.0: + resolution: {integrity: sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==} + + 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==} - escape-string-regexp@4.0.0: - resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + deepmerge@4.3.1: + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} + engines: {node: '>=0.10.0'} + + delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + + devalue@5.9.4: + resolution: {integrity: sha512-sPAT4pztbu6586/hrhOnMKS17IJrvg12mXiSPSS3W5qDeN2RGgvZ0diZCm31dBbnevfVmujNO3IM2wrS4Y2Rhg==} + + doctrine@3.0.0: + resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} + engines: {node: '>=6.0.0'} + + 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==} + + dunder-proto@1.0.1: + resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} + engines: {node: '>= 0.4'} + + eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + + editorconfig@1.0.7: + resolution: {integrity: sha512-e0GOtq/aTQhVdNyDU9e02+wz9oDDM+SIOQxWME2QRjzRX5yyLAuHDE+0aE8vHb9XRC8XD37eO2u57+F09JqFhw==} + engines: {node: '>=14'} + hasBin: true + + emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + + enhanced-resolve@5.26.0: + resolution: {integrity: sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==} + engines: {node: '>=10.13.0'} + + entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + entities@6.0.1: + resolution: {integrity: sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==} + 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.25.12: + resolution: {integrity: sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==} + engines: {node: '>=18'} + hasBin: true + + esbuild@0.28.2: + resolution: {integrity: sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==} + engines: {node: '>=18'} + hasBin: true + + escape-string-regexp@4.0.0: + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} + eslint-compat-utils@0.5.1: + resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==} + engines: {node: '>=12'} + peerDependencies: + eslint: '>=6.0.0' + + eslint-config-prettier@9.1.2: + resolution: {integrity: sha512-iI1f+D2ViGn+uvv5HuHVUamg8ll4tN+JRHGc6IJi4TP9Kl976C57fzPXgseXNs8v0iA8aSJpHsTWjDb9QJamGQ==} + hasBin: true + peerDependencies: + eslint: '>=7.0.0' + + eslint-plugin-svelte@2.46.1: + resolution: {integrity: sha512-7xYr2o4NID/f9OEYMqxsEQsCsj4KaMy4q5sANaKkAb6/QeCjYFxRmDm2S3YC3A3pl1kyPZ/syOx/i7LcWYSbIw==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0-0 || ^9.0.0-0 + svelte: ^3.37.0 || ^4.0.0 || ^5.0.0 + peerDependenciesMeta: + svelte: + optional: true + + eslint-scope@7.2.2: + resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-scope@8.4.0: resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -281,6 +1665,12 @@ packages: resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} + eslint@8.57.1: + resolution: {integrity: sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. + hasBin: true + eslint@9.39.5: resolution: {integrity: sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -292,14 +1682,29 @@ packages: jiti: optional: true + esm-env@1.2.2: + resolution: {integrity: sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==} + espree@10.4.0: resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + espree@9.6.1: + resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + esquery@1.7.0: resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==} engines: {node: '>=0.10'} + esrap@2.4.0: + resolution: {integrity: sha512-CQPcneEHw/czj32uwQC52nYnax8H4SXt25FCM+LIwGZ49cMIxpOj3bP8wmzcI+Z0HIy5KkClaPhRLfCySzwHPA==} + peerDependencies: + '@typescript-eslint/types': ^8.2.0 + peerDependenciesMeta: + '@typescript-eslint/types': + optional: true + esrecurse@4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} @@ -308,10 +1713,20 @@ 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'} + expect-type@1.4.0: + resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==} + engines: {node: '>=12.0.0'} + + fast-deep-equal@2.0.1: + resolution: {integrity: sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w==} + fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -321,6 +1736,9 @@ packages: 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'} @@ -330,6 +1748,10 @@ packages: picomatch: optional: true + file-entry-cache@6.0.1: + resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} + engines: {node: ^10.12.0 || >=12.0.0} + file-entry-cache@8.0.0: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} @@ -338,6 +1760,10 @@ packages: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} + flat-cache@3.2.0: + resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} + engines: {node: ^10.12.0 || >=12.0.0} + flat-cache@4.0.1: resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} engines: {node: '>=16'} @@ -345,18 +1771,116 @@ 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@4.0.6: + resolution: {integrity: sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==} + engines: {node: '>= 6'} + + fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + 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==} + + fuse.js@7.0.0: + resolution: {integrity: sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q==} + engines: {node: '>=10'} + + get-intrinsic@1.3.0: + resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} + engines: {node: '>= 0.4'} + + get-proto@1.0.1: + resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} + engines: {node: '>= 0.4'} + glob-parent@6.0.2: resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} engines: {node: '>=10.13.0'} + glob@10.5.0: + resolution: {integrity: sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==} + 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@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + 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 + + globals@13.24.0: + resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} + engines: {node: '>=8'} + 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'} + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + + graphemer@1.4.0: + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + + handlebars@4.7.10: + resolution: {integrity: sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==} + engines: {node: '>=0.4.7'} + hasBin: true + 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-encoding-sniffer@4.0.0: + resolution: {integrity: sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==} + engines: {node: '>=18'} + + html-to-text@9.0.5: + resolution: {integrity: sha512-qY60FjREgVZL03vJU6IfMV4GDjGBIoOyvuFdpBDIX9yTlDw0TjxVBQp+P8NvpdIXNJvfWBTNul7fsAQJq2FNpg==} + engines: {node: '>=14'} + + htmlparser2@8.0.2: + resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==} + + http-proxy-agent@7.0.2: + resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} + engines: {node: '>= 14'} + + https-proxy-agent@7.0.6: + resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==} + engines: {node: '>= 14'} + + iceberg-js@0.8.1: + resolution: {integrity: sha512-1dhVQZXhcHje7798IVM+xoo/1ZdVfzOMIc8/rgVSijRK38EDqOJoGula9N/8ZI5RD8QTxNQtK/Gozpr+qUqRRA==} + engines: {node: '>=20.0.0'} + + iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + ignore@5.3.2: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} @@ -373,21 +1897,75 @@ packages: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} + inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. + + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + ini@1.3.8: + resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + 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-path-inside@3.0.3: + resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} + engines: {node: '>=8'} + + is-potential-custom-element-name@1.0.1: + resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} + + is-reference@3.0.3: + resolution: {integrity: sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw==} + isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + jackspeak@3.4.3: + resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} + + jiti@2.7.0: + resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==} + hasBin: true + + js-beautify@1.15.4: + resolution: {integrity: sha512-9/KXeZUKKJwqCXUdBxFJ3vPh467OCckSBmYDwSK/EtV090K+iMJ7zx2S3HLVDIWFQdqMIsZWbnaGiba18aWhaA==} + engines: {node: '>=14'} + hasBin: true + + js-cookie@3.0.8: + resolution: {integrity: sha512-yeJd4aNAdYZQjaon2bpD/Gb0B/omw7HQOsynXXcOiWVCacbBcPlgn8S/d1X6blFSaHao7ozqtW7NZW19xpCtIw==} + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + + 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 + jsdom@24.1.3: + resolution: {integrity: sha512-MyL55p3Ut3cXbeBEG7Hcv0mVM8pp8PBNWxRqchZnSfAiES1v1mRnMeFfaHWIPULpwsYfvO+ZmMZz5tGCnjzDUQ==} + engines: {node: '>=18'} + peerDependencies: + canvas: ^2.11.2 + peerDependenciesMeta: + canvas: + optional: true + json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} @@ -400,10 +1978,97 @@ packages: 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'} + + known-css-properties@0.35.0: + resolution: {integrity: sha512-a/RAk2BfKk+WFGhhOCAYqSiFLc34k8Mt/6NWRI4joER0EYUzXIcFivjjnoD3+XU1DggLn/tZc3DOAgke7l8a4A==} + + leac@0.6.0: + resolution: {integrity: sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg==} + levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} + lightningcss-android-arm64@1.32.0: + resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [android] + + lightningcss-darwin-arm64@1.32.0: + resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [darwin] + + lightningcss-darwin-x64@1.32.0: + resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [darwin] + + lightningcss-freebsd-x64@1.32.0: + resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [freebsd] + + lightningcss-linux-arm-gnueabihf@1.32.0: + resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==} + engines: {node: '>= 12.0.0'} + cpu: [arm] + os: [linux] + + lightningcss-linux-arm64-gnu@1.32.0: + resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + + lightningcss-linux-arm64-musl@1.32.0: + resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + + lightningcss-linux-x64-gnu@1.32.0: + resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + + lightningcss-linux-x64-musl@1.32.0: + resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + + lightningcss-win32-arm64-msvc@1.32.0: + resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [win32] + + lightningcss-win32-x64-msvc@1.32.0: + resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [win32] + + lightningcss@1.32.0: + resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==} + engines: {node: '>= 12.0.0'} + + lilconfig@2.1.0: + resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} + engines: {node: '>=10'} + + locate-character@3.0.0: + resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==} + locate-path@6.0.0: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} @@ -411,6 +2076,35 @@ packages: lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + loose-envify@1.4.0: + resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} + hasBin: true + + loupe@3.2.1: + resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==} + + lru-cache@10.4.3: + resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + + 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'} + + mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + + mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + + 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} @@ -418,12 +2112,54 @@ packages: 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'} + + minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + + minipass@7.1.3: + resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==} + engines: {node: '>=16 || 14 >=14.17'} + + mri@1.2.0: + resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} + engines: {node: '>=4'} + + mrmime@2.0.1: + resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==} + engines: {node: '>=10'} + ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + nanoid@3.3.20: + resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + neo-async@2.6.2: + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + + nopt@7.2.1: + resolution: {integrity: sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + hasBin: true + + nwsapi@2.2.28: + resolution: {integrity: sha512-IlVB7OS7qrOsVYlpnFIkETjMwT9jwvmocJmmM+GZU/PAB3uGi9Ezd7vcWhWBUnSc0ya4ppmQITOyP1ez9gg8cg==} + + object-inspect@1.13.4: + resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} + engines: {node: '>= 0.4'} + + 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'} @@ -436,39 +2172,214 @@ packages: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} engines: {node: '>=10'} + package-json-from-dist@1.0.1: + resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} + parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} + parse5@7.3.0: + resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==} + + parseley@0.12.1: + resolution: {integrity: sha512-e6qHKe3a9HWr0oMRVDTRhKce+bRO8VGQR3NyVwcjwrbhMmFCX9KszEV35+rn4AdilFAq9VPxP/Fe1wC9Qjd2lw==} + path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} + path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} + path-scurry@1.11.1: + resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} + engines: {node: '>=16 || 14 >=14.18'} + + path-to-regexp@6.3.0: + resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==} + + 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'} + + peberminta@0.9.0: + resolution: {integrity: sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + picomatch@4.0.7: resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} engines: {node: '>=12'} + postcss-load-config@3.1.4: + resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} + engines: {node: '>= 10'} + peerDependencies: + postcss: '>=8.0.9' + ts-node: '>=9.0.0' + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + + postcss-safe-parser@6.0.0: + resolution: {integrity: sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==} + engines: {node: '>=12.0'} + peerDependencies: + postcss: ^8.3.3 + + postcss-scss@4.0.9: + resolution: {integrity: sha512-AjKOeiwAitL/MXxQW2DliT28EKukvvbEWx3LBmJIRN8KfBGZbRTxNYW0kSqi1COiTZ57nZ9NW06S6ux//N1c9A==} + engines: {node: '>=12.0'} + peerDependencies: + postcss: ^8.4.29 + + 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@8.5.32: + resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==} + engines: {node: ^10 || ^12 || >=14} + prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} + prettier-plugin-svelte@3.3.3: + resolution: {integrity: sha512-yViK9zqQ+H2qZD1w/bH7W8i+bVfKrD8GIFjkFe4Thl6kCT9SlAsXVNmt3jCvQOCsnOhcvYgsoVlRV/Eu6x5nNw==} + peerDependencies: + prettier: ^3.0.0 + svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0 + + prettier@3.4.2: + resolution: {integrity: sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==} + engines: {node: '>=14'} + hasBin: true + + proto-list@1.2.4: + resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} + + psl@1.15.0: + resolution: {integrity: sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==} + punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} + qs@6.17.0: + resolution: {integrity: sha512-5LK5BZ2XDHMvcUJaf0CQ5HL3aVgKbpklvByC7qLSxYkfE8COEEbJg5xCHWCTqzqi0Gs4Jn5Mv5v3R38W6edscA==} + engines: {node: '>=0.6'} + + querystringify@2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + + queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + + react-dom@18.3.1: + resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} + peerDependencies: + react: ^18.3.1 + + react-promise-suspense@0.3.4: + resolution: {integrity: sha512-I42jl7L3Ze6kZaq+7zXWSunBa3b1on5yfvUW6Eo/3fFOj6dZ5Bqmcd264nJbTK/gn1HjjILAjSwnZbV4RpSaNQ==} + + react@18.3.1: + resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} + engines: {node: '>=0.10.0'} + + readdirp@4.1.2: + resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==} + engines: {node: '>= 14.18.0'} + + regexparam@3.0.0: + resolution: {integrity: sha512-RSYAtP31mvYLkAHrOlh25pCNQ5hWnT106VukGaaFfuJrZFkGRX5GhUAdPqpSDXxOhA2c4akmRuplv1mRqnBn6Q==} + engines: {node: '>=8'} + + requires-port@1.0.0: + resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} + + resend@3.5.0: + resolution: {integrity: sha512-bKu4LhXSecP6krvhfDzyDESApYdNfjirD5kykkT1xO0Cj9TKSiGh5Void4pGTs3Am+inSnp4dg0B5XzdwHBJOQ==} + engines: {node: '>=18'} + resolve-from@4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} + reusify@1.1.0: + resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + + rimraf@3.0.2: + resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + deprecated: Rimraf versions prior to v4 are no longer supported + hasBin: true + + rollup@4.66.0: + resolution: {integrity: sha512-Onq6/qO4ARhxIs+jYiHE0pYehadLyMECAiGEqQ+0/aWND3+2PmifJIIqBLYtuBODqHTlOUEQFtIVPyCy0Lck7A==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + rrweb-cssom@0.7.1: + resolution: {integrity: sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==} + + rrweb-cssom@0.8.0: + resolution: {integrity: sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==} + + run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + + sade@1.8.1: + resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} + engines: {node: '>=6'} + + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + + saxes@6.0.0: + resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} + engines: {node: '>=v12.22.7'} + + scheduler@0.23.2: + resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + + selderee@0.11.0: + resolution: {integrity: sha512-5TF+l7p4+OsnP8BCCvSyZiSPc4x4//p5uPwK8TCnVPJYRmU2aYKMpOXvw8zM5a5JvuuCGN1jmsMwuU2W02ukfA==} + semver@7.8.5: resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==} engines: {node: '>=10'} hasBin: true + set-cookie-parser@3.2.1: + resolution: {integrity: sha512-Npd1Pt+4zb3BrSZDPd2qFwRpS6b1EUEasRrO8xS0zMJi0fApXXK5YuzP0minyJnxwnFHoVoJwA55q0A0cu63gQ==} + + 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'} @@ -477,23 +2388,167 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} + side-channel-list@1.0.1: + resolution: {integrity: sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==} + engines: {node: '>= 0.4'} - supports-color@7.2.0: - resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} - engines: {node: '>=8'} + side-channel-map@1.0.1: + resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==} + engines: {node: '>= 0.4'} - tinyglobby@0.2.17: - resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} - engines: {node: '>=12.0.0'} + side-channel-weakmap@1.0.2: + resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==} + engines: {node: '>= 0.4'} - ts-api-utils@2.5.0: - resolution: {integrity: sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==} - engines: {node: '>=18.12'} - peerDependencies: - typescript: '>=4.8.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'} + + sirv@3.0.2: + resolution: {integrity: sha512-2wcC/oGxHis/BoHkkPwldgiPSYcpZK3JU28WoMVv55yHJgcZ8rlXvuG9iZggz+sU1d4bRgIGASwyWqjxu3FM0g==} + engines: {node: '>=18'} + + source-map-js@1.2.2: + resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} + engines: {node: '>=0.10.0'} + + 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==} + + 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'} + + 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==} + + stripe@13.11.0: + resolution: {integrity: sha512-yPxVJxUzP1QHhHeFnYjJl48QwDS1+5befcL7ju7+t+i88D5r0rbsL+GkCCS6zgcU+TiV5bF9eMGcKyJfLf8BZQ==} + engines: {node: '>=12.*'} + + super-sitemap@1.0.12: + resolution: {integrity: sha512-C3gfAS1RZxL5bbZGtgnIOitMhfqAt8RmhW8AWTia6c8n9RW3Zx7f/SxVeFWZD0I1nUAx2pkxuWazVtev0Nmb5w==} + peerDependencies: + svelte: '>=4.0.0 <6.0.0' + + 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'} + + svelte-check@4.7.7: + resolution: {integrity: sha512-Ge2IMdeTpbJuzNFGRiiMg0RWgbScysKQu7xwcyFJ22+DU9F5nPX51+Q3gHmGqRxYQMx2knreVWt5oCtfe0vf2g==} + engines: {node: '>= 18.0.0'} + hasBin: true + peerDependencies: + svelte: ^4.0.0 || ^5.0.0-next.0 + typescript: ^5.0.0 || ^6.0.0 + + svelte-eslint-parser@0.43.0: + resolution: {integrity: sha512-GpU52uPKKcVnh8tKN5P4UZpJ/fUDndmq7wfsvoVXsyP+aY0anol7Yqo01fyrlaWGMFfm4av5DyrjlaXdLRJvGA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + svelte: ^3.37.0 || ^4.0.0 || ^5.0.0 + peerDependenciesMeta: + svelte: + optional: true + + svelte@3.59.2: + resolution: {integrity: sha512-vzSyuGr3eEoAtT/A6bmajosJZIUWySzY2CzB3w2pgPvnkUjGqlDnsNnA0PMO+mMAhuyMul6C2uuZzY6ELSkzyA==} + engines: {node: '>= 8'} + + svelte@5.57.3: + resolution: {integrity: sha512-5mAftM3SoDV9X0zdF386F9p2pv8iKOwi/KfBS1XnBAkVCKFzVOLHUoa8iGWAt4buoicLmyWVRpuuD5wplXOQsg==} + engines: {node: '>=18'} + + symbol-tree@3.2.4: + resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + + tailwindcss@4.3.3: + resolution: {integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==} + + tapable@2.3.3: + resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} + engines: {node: '>=6'} + + text-table@0.2.0: + resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} + + 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'} + + totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + + tough-cookie@4.1.4: + resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} + engines: {node: '>=6'} + + tr46@5.1.1: + resolution: {integrity: sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==} + engines: {node: '>=18'} + + ts-api-utils@2.5.0: + resolution: {integrity: sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==} + engines: {node: '>=18.12'} + peerDependencies: + typescript: '>=4.8.4' + + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} turbo@2.11.10: resolution: {integrity: sha512-3GJYwig8ygEI89oaOZdduJX8/aw6O9eRPYHoIt6T3FZl9hkKjiyIspufJoVgqXihPoJu8M5CSV0DlZvzfohBCw==} @@ -503,137 +2558,1106 @@ packages: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} + type-fest@0.20.2: + resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} + engines: {node: '>=10'} + typescript@5.9.3: resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} engines: {node: '>=14.17'} hasBin: true + uglify-js@3.19.3: + resolution: {integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==} + engines: {node: '>=0.8.0'} + hasBin: true + + undici-types@6.21.0: + resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + + 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==} + + universalify@0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + url-parse@1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + + util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + + 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@6.4.5: + resolution: {integrity: sha512-4enwjFfi4IwtEh0w+jPzpLVOFQiPHmmzPxcHXQOyEur47o6u0jE573DmGpjA+7irXoMLYRZD5ZaFUEneS3abPg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + jiti: '>=1.21.0' + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + jiti: + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + vitefu@1.1.3: + resolution: {integrity: sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg==} + peerDependencies: + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + vite: + 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 + + w3c-xmlserializer@5.0.0: + resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} + engines: {node: '>=18'} + + webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + + whatwg-encoding@3.1.1: + resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==} + engines: {node: '>=18'} + deprecated: Use @exodus/bytes instead for a more spec-conformant and faster implementation + + whatwg-mimetype@4.0.0: + resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==} + engines: {node: '>=18'} + + whatwg-url@14.2.0: + resolution: {integrity: sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==} + engines: {node: '>=18'} + 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'} + wordwrap@1.0.0: + resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} + + workerd@1.20261023.1: + resolution: {integrity: sha512-NeofJFyaYNpqKpFRJW3ApuonaerPd6/JWlfTtLDYf2A6ygqrDEFnYgEXmc0hhOxqnJsSM+kXJN6VebPojzRrsg==} + engines: {node: '>=16'} + hasBin: true + + worktop@0.8.0-next.18: + resolution: {integrity: sha512-+TvsA6VAVoMC3XDKR5MoC/qlLqDixEfOBysDEKnPIPou/NvoPWCAuXHXMsswwlvmEuvX56lQjvELLyLuzTKvRw==} + engines: {node: '>=12'} + + 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'} + + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + 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 + + ws@8.22.0: + resolution: {integrity: sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==} + 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 + + xml-name-validator@5.0.0: + resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==} + engines: {node: '>=18'} + + xmlchars@2.2.0: + resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} + + yaml@1.10.3: + resolution: {integrity: sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA==} + engines: {node: '>= 6'} + yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + youch-core@0.3.3: + resolution: {integrity: sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA==} + + youch@4.1.0-beta.10: + resolution: {integrity: sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==} + + zimmerframe@1.1.5: + resolution: {integrity: sha512-msJxIvYDYcoNL+PJsu+7qmpDWsYmAxTY+2TNYXXF0hzBzBk0BMecOqDOG/EckUoKCuKwObfbugIl8QpqHDXeFA==} + snapshots: - '@eslint-community/eslint-utils@4.10.1(eslint@9.39.5)': + '@alloc/quick-lru@5.3.0': {} + + '@asamuzakjp/css-color@3.2.0': dependencies: - eslint: 9.39.5 - eslint-visitor-keys: 3.4.3 + '@csstools/css-calc': 2.1.4(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4) + '@csstools/css-color-parser': 3.1.0(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4) + '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4) + '@csstools/css-tokenizer': 3.0.4 + lru-cache: 10.4.3 - '@eslint-community/regexpp@4.12.2': {} + '@cloudflare/kv-asset-handler@0.5.0': {} - '@eslint/config-array@0.21.2': + '@cloudflare/unenv-preset@2.16.2(unenv@2.0.0-rc.24)(workerd@1.20261023.1)': dependencies: - '@eslint/object-schema': 2.1.7 - debug: 4.4.3 - minimatch: 3.1.5 - transitivePeerDependencies: - - supports-color + unenv: 2.0.0-rc.24 + optionalDependencies: + workerd: 1.20261023.1 - '@eslint/config-helpers@0.4.2': - dependencies: - '@eslint/core': 0.17.0 + '@cloudflare/workerd-darwin-64@1.20261023.1': + optional: true - '@eslint/core@0.17.0': - dependencies: - '@types/json-schema': 7.0.15 + '@cloudflare/workerd-darwin-arm64@1.20261023.1': + optional: true - '@eslint/eslintrc@3.3.7': + '@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 + + '@cloudflare/workers-types@4.20260702.1': {} + + '@cspotcode/source-map-support@0.8.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 + '@jridgewell/trace-mapping': 0.3.9 - '@eslint/js@9.39.5': {} + '@csstools/color-helpers@5.1.0': {} - '@eslint/object-schema@2.1.7': {} + '@csstools/css-calc@2.1.4(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)': + dependencies: + '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4) + '@csstools/css-tokenizer': 3.0.4 - '@eslint/plugin-kit@0.4.1': + '@csstools/css-color-parser@3.1.0(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)': dependencies: - '@eslint/core': 0.17.0 - levn: 0.4.1 + '@csstools/color-helpers': 5.1.0 + '@csstools/css-calc': 2.1.4(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4) + '@csstools/css-parser-algorithms': 3.0.5(@csstools/css-tokenizer@3.0.4) + '@csstools/css-tokenizer': 3.0.4 - '@humanfs/core@0.19.2': + '@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4)': dependencies: - '@humanfs/types': 0.15.0 + '@csstools/css-tokenizer': 3.0.4 - '@humanfs/node@0.16.8': + '@csstools/css-tokenizer@3.0.4': {} + + '@emnapi/runtime@1.11.3': dependencies: - '@humanfs/core': 0.19.2 - '@humanfs/types': 0.15.0 - '@humanwhocodes/retry': 0.4.3 + tslib: 2.8.1 + optional: true - '@humanfs/types@0.15.0': {} + '@esbuild/aix-ppc64@0.25.12': + optional: true - '@humanwhocodes/module-importer@1.0.1': {} + '@esbuild/aix-ppc64@0.28.2': + optional: true - '@humanwhocodes/retry@0.4.3': {} + '@esbuild/android-arm64@0.25.12': + optional: true - '@turbo/darwin-64@2.11.10': + '@esbuild/android-arm64@0.28.2': optional: true - '@turbo/darwin-arm64@2.11.10': + '@esbuild/android-arm@0.25.12': optional: true - '@turbo/linux-64@2.11.10': + '@esbuild/android-arm@0.28.2': optional: true - '@turbo/linux-arm64@2.11.10': + '@esbuild/android-x64@0.25.12': optional: true - '@turbo/windows-64@2.11.10': + '@esbuild/android-x64@0.28.2': optional: true - '@turbo/windows-arm64@2.11.10': + '@esbuild/darwin-arm64@0.25.12': optional: true - '@types/estree@1.0.9': {} + '@esbuild/darwin-arm64@0.28.2': + optional: true - '@types/json-schema@7.0.15': {} + '@esbuild/darwin-x64@0.25.12': + optional: true + + '@esbuild/darwin-x64@0.28.2': + optional: true + + '@esbuild/freebsd-arm64@0.25.12': + optional: true + + '@esbuild/freebsd-arm64@0.28.2': + optional: true + + '@esbuild/freebsd-x64@0.25.12': + optional: true + + '@esbuild/freebsd-x64@0.28.2': + optional: true + + '@esbuild/linux-arm64@0.25.12': + optional: true + + '@esbuild/linux-arm64@0.28.2': + optional: true + + '@esbuild/linux-arm@0.25.12': + optional: true + + '@esbuild/linux-arm@0.28.2': + optional: true + + '@esbuild/linux-ia32@0.25.12': + optional: true + + '@esbuild/linux-ia32@0.28.2': + optional: true + + '@esbuild/linux-loong64@0.25.12': + optional: true + + '@esbuild/linux-loong64@0.28.2': + optional: true + + '@esbuild/linux-mips64el@0.25.12': + optional: true + + '@esbuild/linux-mips64el@0.28.2': + optional: true + + '@esbuild/linux-ppc64@0.25.12': + optional: true + + '@esbuild/linux-ppc64@0.28.2': + optional: true + + '@esbuild/linux-riscv64@0.25.12': + optional: true + + '@esbuild/linux-riscv64@0.28.2': + optional: true + + '@esbuild/linux-s390x@0.25.12': + optional: true + + '@esbuild/linux-s390x@0.28.2': + optional: true + + '@esbuild/linux-x64@0.25.12': + optional: true + + '@esbuild/linux-x64@0.28.2': + optional: true + + '@esbuild/netbsd-arm64@0.25.12': + optional: true + + '@esbuild/netbsd-arm64@0.28.2': + optional: true + + '@esbuild/netbsd-x64@0.25.12': + optional: true + + '@esbuild/netbsd-x64@0.28.2': + optional: true + + '@esbuild/openbsd-arm64@0.25.12': + optional: true + + '@esbuild/openbsd-arm64@0.28.2': + optional: true + + '@esbuild/openbsd-x64@0.25.12': + optional: true + + '@esbuild/openbsd-x64@0.28.2': + optional: true + + '@esbuild/openharmony-arm64@0.25.12': + optional: true + + '@esbuild/openharmony-arm64@0.28.2': + optional: true + + '@esbuild/sunos-x64@0.25.12': + optional: true + + '@esbuild/sunos-x64@0.28.2': + optional: true + + '@esbuild/win32-arm64@0.25.12': + optional: true + + '@esbuild/win32-arm64@0.28.2': + optional: true + + '@esbuild/win32-ia32@0.25.12': + optional: true + + '@esbuild/win32-ia32@0.28.2': + optional: true + + '@esbuild/win32-x64@0.25.12': + optional: true + + '@esbuild/win32-x64@0.28.2': + optional: true + + '@eslint-community/eslint-utils@4.10.1(eslint@8.57.1)': + dependencies: + eslint: 8.57.1 + eslint-visitor-keys: 3.4.3 + + '@eslint-community/eslint-utils@4.10.1(eslint@9.39.5(jiti@2.7.0))': + dependencies: + eslint: 9.39.5(jiti@2.7.0) + 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@2.1.4': + dependencies: + ajv: 6.15.0 + debug: 4.4.3 + espree: 9.6.1 + globals: 13.24.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/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@8.57.1': {} + + '@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/config-array@0.13.0': + dependencies: + '@humanwhocodes/object-schema': 2.0.3 + debug: 4.4.3 + minimatch: 3.1.5 + transitivePeerDependencies: + - supports-color + + '@humanwhocodes/module-importer@1.0.1': {} + + '@humanwhocodes/object-schema@2.0.3': {} + + '@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/remapping@2.3.5': + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@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 + + '@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 + + '@one-ini/wasm@0.1.1': {} + + '@pkgjs/parseargs@0.11.0': + optional: true + + '@polka/url@1.0.0-next.29': {} + + '@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': {} + + '@react-email/render@0.0.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + html-to-text: 9.0.5 + js-beautify: 1.15.4 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-promise-suspense: 0.3.4 + + '@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 + + '@selderee/plugin-htmlparser2@0.11.0': + dependencies: + domhandler: 5.0.3 + selderee: 0.11.0 + + '@sindresorhus/is@7.2.0': {} + + '@speed-highlight/core@1.2.24': {} + + '@standard-schema/spec@1.1.0': {} + + '@stitches/core@1.2.8': {} + + '@supabase/auth-js@2.118.0': + dependencies: + tslib: 2.8.1 + + '@supabase/auth-ui-shared@0.1.8(@supabase/supabase-js@2.118.0)': + dependencies: + '@supabase/supabase-js': 2.118.0 + + '@supabase/auth-ui-svelte@0.2.9(@supabase/supabase-js@2.118.0)': + dependencies: + '@stitches/core': 1.2.8 + '@supabase/auth-ui-shared': 0.1.8(@supabase/supabase-js@2.118.0) + '@supabase/supabase-js': 2.118.0 + svelte: 3.59.2 + + '@supabase/functions-js@2.118.0': + dependencies: + tslib: 2.8.1 + + '@supabase/phoenix@0.4.5': {} + + '@supabase/postgrest-js@2.118.0': + dependencies: + tslib: 2.8.1 + + '@supabase/realtime-js@2.118.0': + dependencies: + '@supabase/phoenix': 0.4.5 + tslib: 2.8.1 + + '@supabase/ssr@0.5.2(@supabase/supabase-js@2.118.0)': + dependencies: + '@supabase/supabase-js': 2.118.0 + '@types/cookie': 0.6.0 + cookie: 0.7.2 + + '@supabase/storage-js@2.118.0': + dependencies: + iceberg-js: 0.8.1 + tslib: 2.8.1 + + '@supabase/supabase-js@2.118.0': + dependencies: + '@supabase/auth-js': 2.118.0 + '@supabase/functions-js': 2.118.0 + '@supabase/postgrest-js': 2.118.0 + '@supabase/realtime-js': 2.118.0 + '@supabase/storage-js': 2.118.0 + + '@sveltejs/acorn-typescript@1.0.13(acorn@8.19.0)': + dependencies: + acorn: 8.19.0 + + '@sveltejs/adapter-cloudflare@7.2.9(@sveltejs/kit@2.70.3(@sveltejs/vite-plugin-svelte@5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)))(svelte@5.57.3(@typescript-eslint/types@8.72.1))(typescript@5.9.3)(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)))(wrangler@4.155.0(@types/node@22.20.5))': + dependencies: + '@cloudflare/workers-types': 4.20260702.1 + '@sveltejs/kit': 2.70.3(@sveltejs/vite-plugin-svelte@5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)))(svelte@5.57.3(@typescript-eslint/types@8.72.1))(typescript@5.9.3)(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)) + worktop: 0.8.0-next.18 + wrangler: 4.155.0(@types/node@22.20.5) + + '@sveltejs/kit@2.70.3(@sveltejs/vite-plugin-svelte@5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)))(svelte@5.57.3(@typescript-eslint/types@8.72.1))(typescript@5.9.3)(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0))': + dependencies: + '@standard-schema/spec': 1.1.0 + '@sveltejs/acorn-typescript': 1.0.13(acorn@8.19.0) + '@sveltejs/vite-plugin-svelte': 5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)) + '@types/cookie': 0.6.0 + acorn: 8.19.0 + cookie: 0.6.0 + devalue: 5.9.4 + esm-env: 1.2.2 + kleur: 4.1.5 + magic-string: 0.30.21 + mrmime: 2.0.1 + set-cookie-parser: 3.2.1 + sirv: 3.0.2 + svelte: 5.57.3(@typescript-eslint/types@8.72.1) + vite: 6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0) + optionalDependencies: + typescript: 5.9.3 + + '@sveltejs/load-config@0.2.3': {} + + '@sveltejs/vite-plugin-svelte-inspector@4.0.1(@sveltejs/vite-plugin-svelte@5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)))(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0))': + dependencies: + '@sveltejs/vite-plugin-svelte': 5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)) + debug: 4.4.3 + svelte: 5.57.3(@typescript-eslint/types@8.72.1) + vite: 6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0) + transitivePeerDependencies: + - supports-color + + '@sveltejs/vite-plugin-svelte@5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0))': + dependencies: + '@sveltejs/vite-plugin-svelte-inspector': 4.0.1(@sveltejs/vite-plugin-svelte@5.1.1(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)))(svelte@5.57.3(@typescript-eslint/types@8.72.1))(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)) + debug: 4.4.3 + deepmerge: 4.3.1 + kleur: 4.1.5 + magic-string: 0.30.21 + svelte: 5.57.3(@typescript-eslint/types@8.72.1) + vite: 6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0) + vitefu: 1.1.3(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)) + transitivePeerDependencies: + - supports-color + + '@tailwindcss/node@4.3.3': + dependencies: + '@jridgewell/remapping': 2.3.5 + enhanced-resolve: 5.26.0 + jiti: 2.7.0 + lightningcss: 1.32.0 + magic-string: 0.30.21 + source-map-js: 1.2.2 + tailwindcss: 4.3.3 + + '@tailwindcss/oxide-android-arm64@4.3.3': + optional: true + + '@tailwindcss/oxide-darwin-arm64@4.3.3': + optional: true + + '@tailwindcss/oxide-darwin-x64@4.3.3': + optional: true + + '@tailwindcss/oxide-freebsd-x64@4.3.3': + optional: true + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3': + optional: true + + '@tailwindcss/oxide-linux-arm64-gnu@4.3.3': + optional: true + + '@tailwindcss/oxide-linux-arm64-musl@4.3.3': + optional: true + + '@tailwindcss/oxide-linux-x64-gnu@4.3.3': + optional: true + + '@tailwindcss/oxide-linux-x64-musl@4.3.3': + optional: true + + '@tailwindcss/oxide-wasm32-wasi@4.3.3': + optional: true + + '@tailwindcss/oxide-win32-arm64-msvc@4.3.3': + optional: true + + '@tailwindcss/oxide-win32-x64-msvc@4.3.3': + optional: true + + '@tailwindcss/oxide@4.3.3': + optionalDependencies: + '@tailwindcss/oxide-android-arm64': 4.3.3 + '@tailwindcss/oxide-darwin-arm64': 4.3.3 + '@tailwindcss/oxide-darwin-x64': 4.3.3 + '@tailwindcss/oxide-freebsd-x64': 4.3.3 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.3 + '@tailwindcss/oxide-linux-arm64-gnu': 4.3.3 + '@tailwindcss/oxide-linux-arm64-musl': 4.3.3 + '@tailwindcss/oxide-linux-x64-gnu': 4.3.3 + '@tailwindcss/oxide-linux-x64-musl': 4.3.3 + '@tailwindcss/oxide-wasm32-wasi': 4.3.3 + '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3 + '@tailwindcss/oxide-win32-x64-msvc': 4.3.3 + + '@tailwindcss/postcss@4.3.3': + dependencies: + '@alloc/quick-lru': 5.3.0 + '@tailwindcss/node': 4.3.3 + '@tailwindcss/oxide': 4.3.3 + postcss: 8.5.32 + tailwindcss: 4.3.3 + + '@tailwindcss/typography@0.5.20(tailwindcss@4.3.3)': + dependencies: + postcss-selector-parser: 6.0.10 + tailwindcss: 4.3.3 + + '@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/cookie@0.6.0': {} + + '@types/deep-eql@4.0.2': {} + + '@types/estree@1.0.9': {} + + '@types/glob@8.1.0': + dependencies: + '@types/minimatch': 5.1.2 + '@types/node': 22.20.5 + + '@types/html-to-text@9.0.4': {} + + '@types/jsdom@21.1.7': + dependencies: + '@types/node': 22.20.5 + '@types/tough-cookie': 4.0.5 + parse5: 7.3.0 + + '@types/json-schema@7.0.15': {} + + '@types/minimatch@5.1.2': {} + + '@types/node@22.20.5': + dependencies: + undici-types: 6.21.0 + + '@types/tough-cookie@4.0.5': {} + + '@typescript-eslint/eslint-plugin@8.72.1(@typescript-eslint/parser@8.72.1(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3)': + dependencies: + '@eslint-community/regexpp': 4.12.2 + '@typescript-eslint/parser': 8.72.1(eslint@8.57.1)(typescript@5.9.3) + '@typescript-eslint/scope-manager': 8.72.1 + '@typescript-eslint/type-utils': 8.72.1(eslint@8.57.1)(typescript@5.9.3) + '@typescript-eslint/utils': 8.72.1(eslint@8.57.1)(typescript@5.9.3) + '@typescript-eslint/visitor-keys': 8.72.1 + eslint: 8.57.1 + 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/eslint-plugin@8.72.1(@typescript-eslint/parser@8.72.1(eslint@9.39.5(jiti@2.7.0))(typescript@5.9.3))(eslint@9.39.5(jiti@2.7.0))(typescript@5.9.3)': + dependencies: + '@eslint-community/regexpp': 4.12.2 + '@typescript-eslint/parser': 8.72.1(eslint@9.39.5(jiti@2.7.0))(typescript@5.9.3) + '@typescript-eslint/scope-manager': 8.72.1 + '@typescript-eslint/type-utils': 8.72.1(eslint@9.39.5(jiti@2.7.0))(typescript@5.9.3) + '@typescript-eslint/utils': 8.72.1(eslint@9.39.5(jiti@2.7.0))(typescript@5.9.3) + '@typescript-eslint/visitor-keys': 8.72.1 + eslint: 9.39.5(jiti@2.7.0) + 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/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)': + '@typescript-eslint/parser@8.72.1(eslint@8.57.1)(typescript@5.9.3)': 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/types': 8.72.1 + '@typescript-eslint/typescript-estree': 8.72.1(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) + debug: 4.4.3 + eslint: 8.57.1 typescript: 5.9.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.72.1(eslint@9.39.5)(typescript@5.9.3)': + '@typescript-eslint/parser@8.72.1(eslint@9.39.5(jiti@2.7.0))(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 + eslint: 9.39.5(jiti@2.7.0) typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -656,13 +3680,25 @@ snapshots: dependencies: typescript: 5.9.3 - '@typescript-eslint/type-utils@8.72.1(eslint@9.39.5)(typescript@5.9.3)': + '@typescript-eslint/type-utils@8.72.1(eslint@8.57.1)(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@8.57.1)(typescript@5.9.3) + debug: 4.4.3 + eslint: 8.57.1 + ts-api-utils: 2.5.0(typescript@5.9.3) + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/type-utils@8.72.1(eslint@9.39.5(jiti@2.7.0))(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)(typescript@5.9.3) + '@typescript-eslint/utils': 8.72.1(eslint@9.39.5(jiti@2.7.0))(typescript@5.9.3) debug: 4.4.3 - eslint: 9.39.5 + eslint: 9.39.5(jiti@2.7.0) ts-api-utils: 2.5.0(typescript@5.9.3) typescript: 5.9.3 transitivePeerDependencies: @@ -685,13 +3721,24 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.72.1(eslint@9.39.5)(typescript@5.9.3)': + '@typescript-eslint/utils@8.72.1(eslint@8.57.1)(typescript@5.9.3)': dependencies: - '@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5) + '@eslint-community/eslint-utils': 4.10.1(eslint@8.57.1) '@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 + eslint: 8.57.1 + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/utils@8.72.1(eslint@9.39.5(jiti@2.7.0))(typescript@5.9.3)': + dependencies: + '@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5(jiti@2.7.0)) + '@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@2.7.0) typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -701,12 +3748,60 @@ snapshots: '@typescript-eslint/types': 8.72.1 eslint-visitor-keys: 5.0.1 + '@ungap/structured-clone@1.4.0': {} + + '@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@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0))': + dependencies: + '@vitest/spy': 3.2.7 + estree-walker: 3.0.3 + magic-string: 0.30.21 + optionalDependencies: + vite: 6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0) + + '@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 + + abbrev@2.0.0: {} + acorn-jsx@5.3.2(acorn@8.19.0): dependencies: acorn: 8.19.0 acorn@8.19.0: {} + agent-base@7.1.4: {} + ajv@6.15.0: dependencies: fast-deep-equal: 3.1.3 @@ -714,54 +3809,305 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 + 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: {} + argparse@2.0.1: {} + aria-query@5.3.1: {} + + assertion-error@2.0.1: {} + + asynckit@0.4.0: {} + + axobject-query@4.1.0: {} + balanced-match@1.0.2: {} balanced-match@4.0.4: {} + blake3-wasm@2.1.5: {} + 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 + 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: {} + 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 + check-error@2.1.3: {} + + chokidar@4.0.3: + dependencies: + readdirp: 4.1.2 + + clsx@2.1.1: {} + 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@10.0.1: {} + concat-map@0.0.1: {} + config-chain@1.1.13: + dependencies: + ini: 1.3.8 + proto-list: 1.2.4 + + cookie@0.6.0: {} + + 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: {} + + cssstyle@4.6.0: + dependencies: + '@asamuzakjp/css-color': 3.2.0 + rrweb-cssom: 0.8.0 + + daisyui@5.7.50: {} + + data-urls@5.0.0: + dependencies: + whatwg-mimetype: 4.0.0 + whatwg-url: 14.2.0 + debug@4.4.3: dependencies: ms: 2.1.3 + decimal.js@10.6.0: {} + + deep-eql@5.0.2: {} + deep-is@0.1.4: {} + deepmerge@4.3.1: {} + + delayed-stream@1.0.0: {} + + detect-libc@2.1.2: {} + + devalue@5.9.4: {} + + doctrine@3.0.0: + dependencies: + esutils: 2.0.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 + + dunder-proto@1.0.1: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-errors: 1.3.0 + gopd: 1.2.0 + + eastasianwidth@0.2.0: {} + + editorconfig@1.0.7: + dependencies: + '@one-ini/wasm': 0.1.1 + commander: 10.0.1 + minimatch: 9.0.9 + semver: 7.8.5 + + emoji-regex@8.0.0: {} + + emoji-regex@9.2.2: {} + + enhanced-resolve@5.26.0: + dependencies: + graceful-fs: 4.2.11 + tapable: 2.3.3 + + entities@4.5.0: {} + + entities@6.0.1: {} + + error-stack-parser-es@1.0.5: {} + + es-define-property@1.0.1: {} + + es-errors@1.3.0: {} + + es-module-lexer@1.7.0: {} + + es-object-atoms@1.1.2: + dependencies: + es-errors: 1.3.0 + + es-set-tostringtag@2.1.0: + dependencies: + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + has-tostringtag: 1.0.2 + hasown: 2.0.4 + + esbuild@0.25.12: + optionalDependencies: + '@esbuild/aix-ppc64': 0.25.12 + '@esbuild/android-arm': 0.25.12 + '@esbuild/android-arm64': 0.25.12 + '@esbuild/android-x64': 0.25.12 + '@esbuild/darwin-arm64': 0.25.12 + '@esbuild/darwin-x64': 0.25.12 + '@esbuild/freebsd-arm64': 0.25.12 + '@esbuild/freebsd-x64': 0.25.12 + '@esbuild/linux-arm': 0.25.12 + '@esbuild/linux-arm64': 0.25.12 + '@esbuild/linux-ia32': 0.25.12 + '@esbuild/linux-loong64': 0.25.12 + '@esbuild/linux-mips64el': 0.25.12 + '@esbuild/linux-ppc64': 0.25.12 + '@esbuild/linux-riscv64': 0.25.12 + '@esbuild/linux-s390x': 0.25.12 + '@esbuild/linux-x64': 0.25.12 + '@esbuild/netbsd-arm64': 0.25.12 + '@esbuild/netbsd-x64': 0.25.12 + '@esbuild/openbsd-arm64': 0.25.12 + '@esbuild/openbsd-x64': 0.25.12 + '@esbuild/openharmony-arm64': 0.25.12 + '@esbuild/sunos-x64': 0.25.12 + '@esbuild/win32-arm64': 0.25.12 + '@esbuild/win32-ia32': 0.25.12 + '@esbuild/win32-x64': 0.25.12 + + 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 + escape-string-regexp@4.0.0: {} + eslint-compat-utils@0.5.1(eslint@8.57.1): + dependencies: + eslint: 8.57.1 + semver: 7.8.5 + + eslint-config-prettier@9.1.2(eslint@8.57.1): + dependencies: + eslint: 8.57.1 + + eslint-plugin-svelte@2.46.1(eslint@8.57.1)(svelte@5.57.3(@typescript-eslint/types@8.72.1)): + dependencies: + '@eslint-community/eslint-utils': 4.10.1(eslint@8.57.1) + '@jridgewell/sourcemap-codec': 1.6.0 + eslint: 8.57.1 + eslint-compat-utils: 0.5.1(eslint@8.57.1) + esutils: 2.0.3 + known-css-properties: 0.35.0 + postcss: 8.5.32 + postcss-load-config: 3.1.4(postcss@8.5.32) + postcss-safe-parser: 6.0.0(postcss@8.5.32) + postcss-selector-parser: 6.1.5 + semver: 7.8.5 + svelte-eslint-parser: 0.43.0(svelte@5.57.3(@typescript-eslint/types@8.72.1)) + optionalDependencies: + svelte: 5.57.3(@typescript-eslint/types@8.72.1) + transitivePeerDependencies: + - ts-node + + eslint-scope@7.2.2: + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + eslint-scope@8.4.0: dependencies: esrecurse: 4.3.0 @@ -773,9 +4119,52 @@ snapshots: eslint-visitor-keys@5.0.1: {} - eslint@9.39.5: + eslint@8.57.1: + dependencies: + '@eslint-community/eslint-utils': 4.10.1(eslint@8.57.1) + '@eslint-community/regexpp': 4.12.2 + '@eslint/eslintrc': 2.1.4 + '@eslint/js': 8.57.1 + '@humanwhocodes/config-array': 0.13.0 + '@humanwhocodes/module-importer': 1.0.1 + '@nodelib/fs.walk': 1.2.8 + '@ungap/structured-clone': 1.4.0 + ajv: 6.15.0 + chalk: 4.1.2 + cross-spawn: 7.0.6 + debug: 4.4.3 + doctrine: 3.0.0 + escape-string-regexp: 4.0.0 + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + esquery: 1.7.0 + esutils: 2.0.3 + fast-deep-equal: 3.1.3 + file-entry-cache: 6.0.1 + find-up: 5.0.0 + glob-parent: 6.0.2 + globals: 13.24.0 + graphemer: 1.4.0 + ignore: 5.3.2 + imurmurhash: 0.1.4 + is-glob: 4.0.3 + is-path-inside: 3.0.3 + js-yaml: 4.3.2 + json-stable-stringify-without-jsonify: 1.0.1 + levn: 0.4.1 + lodash.merge: 4.6.2 + minimatch: 3.1.5 + natural-compare: 1.4.0 + optionator: 0.9.4 + strip-ansi: 6.0.1 + text-table: 0.2.0 + transitivePeerDependencies: + - supports-color + + eslint@9.39.5(jiti@2.7.0): dependencies: - '@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5) + '@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5(jiti@2.7.0)) '@eslint-community/regexpp': 4.12.2 '@eslint/config-array': 0.21.2 '@eslint/config-helpers': 0.4.2 @@ -809,37 +4198,69 @@ snapshots: minimatch: 3.1.5 natural-compare: 1.4.0 optionator: 0.9.4 + optionalDependencies: + jiti: 2.7.0 transitivePeerDependencies: - supports-color + esm-env@1.2.2: {} + espree@10.4.0: dependencies: acorn: 8.19.0 acorn-jsx: 5.3.2(acorn@8.19.0) eslint-visitor-keys: 4.2.1 + espree@9.6.1: + dependencies: + acorn: 8.19.0 + acorn-jsx: 5.3.2(acorn@8.19.0) + eslint-visitor-keys: 3.4.3 + esquery@1.7.0: dependencies: estraverse: 5.3.0 + esrap@2.4.0(@typescript-eslint/types@8.72.1): + dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 + optionalDependencies: + '@typescript-eslint/types': 8.72.1 + 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: {} + expect-type@1.4.0: {} + + fast-deep-equal@2.0.1: {} + fast-deep-equal@3.1.3: {} 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@6.0.1: + dependencies: + flat-cache: 3.2.0 + file-entry-cache@8.0.0: dependencies: flat-cache: 4.0.1 @@ -849,6 +4270,12 @@ snapshots: locate-path: 6.0.0 path-exists: 4.0.0 + flat-cache@3.2.0: + dependencies: + flatted: 3.4.4 + keyv: 4.5.4 + rimraf: 3.0.2 + flat-cache@4.0.1: dependencies: flatted: 3.4.4 @@ -856,14 +4283,140 @@ snapshots: flatted@3.4.4: {} + foreground-child@3.3.1: + dependencies: + cross-spawn: 7.0.6 + signal-exit: 4.1.0 + + 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 + + fs.realpath@1.0.0: {} + + fsevents@2.3.3: + optional: true + + function-bind@1.1.2: {} + + fuse.js@7.0.0: {} + + get-intrinsic@1.3.0: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.2 + function-bind: 1.1.2 + get-proto: 1.0.1 + gopd: 1.2.0 + has-symbols: 1.1.0 + hasown: 2.0.4 + math-intrinsics: 1.1.0 + + get-proto@1.0.1: + dependencies: + dunder-proto: 1.0.1 + es-object-atoms: 1.1.2 + glob-parent@6.0.2: dependencies: is-glob: 4.0.3 + glob@10.5.0: + dependencies: + foreground-child: 3.3.1 + jackspeak: 3.4.3 + minimatch: 9.0.9 + minipass: 7.1.3 + package-json-from-dist: 1.0.1 + path-scurry: 1.11.1 + + glob@7.2.3: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.5 + once: 1.4.0 + path-is-absolute: 1.0.1 + + globals@13.24.0: + dependencies: + type-fest: 0.20.2 + globals@14.0.0: {} + gopd@1.2.0: {} + + graceful-fs@4.2.11: {} + + graphemer@1.4.0: {} + + handlebars@4.7.10: + dependencies: + minimist: 1.2.8 + neo-async: 2.6.2 + source-map: 0.6.1 + wordwrap: 1.0.0 + optionalDependencies: + uglify-js: 3.19.3 + 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-encoding-sniffer@4.0.0: + dependencies: + whatwg-encoding: 3.1.1 + + html-to-text@9.0.5: + dependencies: + '@selderee/plugin-htmlparser2': 0.11.0 + deepmerge: 4.3.1 + dom-serializer: 2.0.0 + htmlparser2: 8.0.2 + selderee: 0.11.0 + + htmlparser2@8.0.2: + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + domutils: 3.2.2 + entities: 4.5.0 + + http-proxy-agent@7.0.2: + dependencies: + agent-base: 7.1.4 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + https-proxy-agent@7.0.6: + dependencies: + agent-base: 7.1.4 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + iceberg-js@0.8.1: {} + + iconv-lite@0.6.3: + dependencies: + safer-buffer: 2.1.2 + ignore@5.3.2: {} ignore@7.0.14: {} @@ -875,18 +4428,87 @@ snapshots: imurmurhash@0.1.4: {} + inflight@1.0.6: + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + inherits@2.0.4: {} + + ini@1.3.8: {} + is-extglob@2.1.1: {} + is-fullwidth-code-point@3.0.0: {} + is-glob@4.0.3: dependencies: is-extglob: 2.1.1 + is-path-inside@3.0.3: {} + + is-potential-custom-element-name@1.0.1: {} + + is-reference@3.0.3: + dependencies: + '@types/estree': 1.0.9 + isexe@2.0.0: {} + jackspeak@3.4.3: + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 + + jiti@2.7.0: {} + + js-beautify@1.15.4: + dependencies: + config-chain: 1.1.13 + editorconfig: 1.0.7 + glob: 10.5.0 + js-cookie: 3.0.8 + nopt: 7.2.1 + + js-cookie@3.0.8: {} + + js-tokens@4.0.0: {} + + js-tokens@9.0.1: {} + js-yaml@4.3.2: dependencies: argparse: 2.0.1 + jsdom@24.1.3: + dependencies: + cssstyle: 4.6.0 + data-urls: 5.0.0 + decimal.js: 10.6.0 + form-data: 4.0.6 + html-encoding-sniffer: 4.0.0 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.6 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.28 + parse5: 7.3.0 + rrweb-cssom: 0.7.1 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.4 + w3c-xmlserializer: 5.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 3.1.1 + whatwg-mimetype: 4.0.0 + whatwg-url: 14.2.0 + ws: 8.22.0 + xml-name-validator: 5.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + json-buffer@3.0.1: {} json-schema-traverse@0.4.1: {} @@ -897,17 +4519,109 @@ snapshots: dependencies: json-buffer: 3.0.1 + kleur@4.1.5: {} + + known-css-properties@0.35.0: {} + + leac@0.6.0: {} + levn@0.4.1: dependencies: prelude-ls: 1.2.1 type-check: 0.4.0 + lightningcss-android-arm64@1.32.0: + optional: true + + lightningcss-darwin-arm64@1.32.0: + optional: true + + lightningcss-darwin-x64@1.32.0: + optional: true + + lightningcss-freebsd-x64@1.32.0: + optional: true + + lightningcss-linux-arm-gnueabihf@1.32.0: + optional: true + + lightningcss-linux-arm64-gnu@1.32.0: + optional: true + + lightningcss-linux-arm64-musl@1.32.0: + optional: true + + lightningcss-linux-x64-gnu@1.32.0: + optional: true + + lightningcss-linux-x64-musl@1.32.0: + optional: true + + lightningcss-win32-arm64-msvc@1.32.0: + optional: true + + lightningcss-win32-x64-msvc@1.32.0: + optional: true + + lightningcss@1.32.0: + dependencies: + detect-libc: 2.1.2 + optionalDependencies: + lightningcss-android-arm64: 1.32.0 + lightningcss-darwin-arm64: 1.32.0 + lightningcss-darwin-x64: 1.32.0 + lightningcss-freebsd-x64: 1.32.0 + lightningcss-linux-arm-gnueabihf: 1.32.0 + lightningcss-linux-arm64-gnu: 1.32.0 + lightningcss-linux-arm64-musl: 1.32.0 + lightningcss-linux-x64-gnu: 1.32.0 + lightningcss-linux-x64-musl: 1.32.0 + lightningcss-win32-arm64-msvc: 1.32.0 + lightningcss-win32-x64-msvc: 1.32.0 + + lilconfig@2.1.0: {} + + locate-character@3.0.0: {} + locate-path@6.0.0: dependencies: p-locate: 5.0.0 lodash.merge@4.6.2: {} + loose-envify@1.4.0: + dependencies: + js-tokens: 4.0.0 + + loupe@3.2.1: {} + + lru-cache@10.4.3: {} + + magic-string@0.30.21: + dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 + + math-intrinsics@1.1.0: {} + + mime-db@1.52.0: {} + + mime-types@2.1.35: + dependencies: + mime-db: 1.52.0 + + miniflare@5.20261023.2-beta(@types/node@22.20.5): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + sharp: 0.35.5(@types/node@22.20.5) + 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 @@ -916,10 +4630,38 @@ snapshots: dependencies: brace-expansion: 1.1.21 + minimatch@9.0.9: + dependencies: + brace-expansion: 2.1.7 + + minimist@1.2.8: {} + + minipass@7.1.3: {} + + mri@1.2.0: {} + + mrmime@2.0.1: {} + ms@2.1.3: {} + nanoid@3.3.20: {} + natural-compare@1.4.0: {} + neo-async@2.6.2: {} + + nopt@7.2.1: + dependencies: + abbrev: 2.0.0 + + nwsapi@2.2.28: {} + + object-inspect@1.13.4: {} + + once@1.4.0: + dependencies: + wrappy: 1.0.2 + optionator@0.9.4: dependencies: deep-is: 0.1.4 @@ -937,45 +4679,411 @@ snapshots: dependencies: p-limit: 3.1.0 + package-json-from-dist@1.0.1: {} + parent-module@1.0.1: dependencies: callsites: 3.1.0 + parse5@7.3.0: + dependencies: + entities: 6.0.1 + + parseley@0.12.1: + dependencies: + leac: 0.6.0 + peberminta: 0.9.0 + path-exists@4.0.0: {} + path-is-absolute@1.0.1: {} + path-key@3.1.1: {} + path-scurry@1.11.1: + dependencies: + lru-cache: 10.4.3 + minipass: 7.1.3 + + path-to-regexp@6.3.0: {} + + pathe@2.0.3: {} + + pathval@2.0.1: {} + + peberminta@0.9.0: {} + + picocolors@1.1.1: {} + picomatch@4.0.7: {} + postcss-load-config@3.1.4(postcss@8.5.32): + dependencies: + lilconfig: 2.1.0 + yaml: 1.10.3 + optionalDependencies: + postcss: 8.5.32 + + postcss-safe-parser@6.0.0(postcss@8.5.32): + dependencies: + postcss: 8.5.32 + + postcss-scss@4.0.9(postcss@8.5.32): + dependencies: + postcss: 8.5.32 + + postcss-selector-parser@6.0.10: + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + + postcss-selector-parser@6.1.5: + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + + postcss@8.5.32: + dependencies: + nanoid: 3.3.20 + picocolors: 1.1.1 + source-map-js: 1.2.2 + prelude-ls@1.2.1: {} + prettier-plugin-svelte@3.3.3(prettier@3.4.2)(svelte@5.57.3(@typescript-eslint/types@8.72.1)): + dependencies: + prettier: 3.4.2 + svelte: 5.57.3(@typescript-eslint/types@8.72.1) + + prettier@3.4.2: {} + + proto-list@1.2.4: {} + + psl@1.15.0: + dependencies: + punycode: 2.3.1 + punycode@2.3.1: {} + qs@6.17.0: + dependencies: + es-define-property: 1.0.1 + side-channel: 1.1.1 + + querystringify@2.2.0: {} + + queue-microtask@1.2.3: {} + + react-dom@18.3.1(react@18.3.1): + dependencies: + loose-envify: 1.4.0 + react: 18.3.1 + scheduler: 0.23.2 + + react-promise-suspense@0.3.4: + dependencies: + fast-deep-equal: 2.0.1 + + react@18.3.1: + dependencies: + loose-envify: 1.4.0 + + readdirp@4.1.2: {} + + regexparam@3.0.0: {} + + requires-port@1.0.0: {} + + resend@3.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + dependencies: + '@react-email/render': 0.0.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + transitivePeerDependencies: + - react + - react-dom + resolve-from@4.0.0: {} + reusify@1.1.0: {} + + rimraf@3.0.2: + dependencies: + glob: 7.2.3 + + rollup@4.66.0: + dependencies: + '@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 + + rrweb-cssom@0.7.1: {} + + rrweb-cssom@0.8.0: {} + + run-parallel@1.2.0: + dependencies: + queue-microtask: 1.2.3 + + sade@1.8.1: + dependencies: + mri: 1.2.0 + + safer-buffer@2.1.2: {} + + saxes@6.0.0: + dependencies: + xmlchars: 2.2.0 + + scheduler@0.23.2: + dependencies: + loose-envify: 1.4.0 + + selderee@0.11.0: + dependencies: + parseley: 0.12.1 + semver@7.8.5: {} + set-cookie-parser@3.2.1: {} + + sharp@0.35.5(@types/node@22.20.5): + dependencies: + '@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.20.5 + shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 shebang-regex@3.0.0: {} + side-channel-list@1.0.1: + dependencies: + es-errors: 1.3.0 + object-inspect: 1.13.4 + + side-channel-map@1.0.1: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 + + side-channel-weakmap@1.0.2: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 + side-channel-map: 1.0.1 + + side-channel@1.1.1: + dependencies: + es-errors: 1.3.0 + object-inspect: 1.13.4 + side-channel-list: 1.0.1 + side-channel-map: 1.0.1 + side-channel-weakmap: 1.0.2 + + siginfo@2.0.0: {} + + signal-exit@4.1.0: {} + + sirv@3.0.2: + dependencies: + '@polka/url': 1.0.0-next.29 + mrmime: 2.0.1 + totalist: 3.0.1 + + source-map-js@1.2.2: {} + + source-map@0.6.1: {} + + stackback@0.0.2: {} + + std-env@3.10.0: {} + + string-width@4.2.3: + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + string-width@5.1.2: + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.2.0 + + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + + strip-ansi@7.2.0: + dependencies: + ansi-regex: 6.4.0 + strip-json-comments@3.1.1: {} + strip-literal@3.1.0: + dependencies: + js-tokens: 9.0.1 + + stripe@13.11.0: + dependencies: + '@types/node': 22.20.5 + qs: 6.17.0 + + super-sitemap@1.0.12(svelte@5.57.3(@typescript-eslint/types@8.72.1)): + dependencies: + svelte: 5.57.3(@typescript-eslint/types@8.72.1) + + supports-color@10.2.2: {} + supports-color@7.2.0: dependencies: has-flag: 4.0.0 + svelte-check@4.7.7(picomatch@4.0.7)(svelte@5.57.3(@typescript-eslint/types@8.72.1))(typescript@5.9.3): + dependencies: + '@jridgewell/trace-mapping': 0.3.31 + '@sveltejs/load-config': 0.2.3 + chokidar: 4.0.3 + fdir: 6.5.0(picomatch@4.0.7) + picocolors: 1.1.1 + sade: 1.8.1 + svelte: 5.57.3(@typescript-eslint/types@8.72.1) + typescript: 5.9.3 + transitivePeerDependencies: + - picomatch + + svelte-eslint-parser@0.43.0(svelte@5.57.3(@typescript-eslint/types@8.72.1)): + dependencies: + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + postcss: 8.5.32 + postcss-scss: 4.0.9(postcss@8.5.32) + optionalDependencies: + svelte: 5.57.3(@typescript-eslint/types@8.72.1) + + svelte@3.59.2: {} + + svelte@5.57.3(@typescript-eslint/types@8.72.1): + dependencies: + '@jridgewell/remapping': 2.3.5 + '@jridgewell/sourcemap-codec': 1.6.0 + '@sveltejs/acorn-typescript': 1.0.13(acorn@8.19.0) + '@types/estree': 1.0.9 + acorn: 8.19.0 + aria-query: 5.3.1 + axobject-query: 4.1.0 + clsx: 2.1.1 + devalue: 5.9.4 + esm-env: 1.2.2 + esrap: 2.4.0(@typescript-eslint/types@8.72.1) + is-reference: 3.0.3 + locate-character: 3.0.0 + magic-string: 0.30.21 + zimmerframe: 1.1.5 + transitivePeerDependencies: + - '@typescript-eslint/types' + + symbol-tree@3.2.4: {} + + tailwindcss@4.3.3: {} + + tapable@2.3.3: {} + + text-table@0.2.0: {} + + tinybench@2.9.0: {} + + tinyexec@0.3.2: {} + tinyglobby@0.2.17: dependencies: fdir: 6.5.0(picomatch@4.0.7) picomatch: 4.0.7 + tinypool@1.1.1: {} + + tinyrainbow@2.0.0: {} + + tinyspy@4.0.6: {} + + totalist@3.0.1: {} + + tough-cookie@4.1.4: + dependencies: + psl: 1.15.0 + punycode: 2.3.1 + universalify: 0.2.0 + url-parse: 1.5.10 + + tr46@5.1.1: + dependencies: + punycode: 2.3.1 + ts-api-utils@2.5.0(typescript@5.9.3): dependencies: typescript: 5.9.3 + tslib@2.8.1: {} + turbo@2.11.10: optionalDependencies: '@turbo/darwin-64': 2.11.10 @@ -989,16 +5097,212 @@ snapshots: dependencies: prelude-ls: 1.2.1 + type-fest@0.20.2: {} + typescript@5.9.3: {} + uglify-js@3.19.3: + optional: true + + undici-types@6.21.0: {} + + undici@7.30.1: {} + + unenv@2.0.0-rc.24: + dependencies: + pathe: 2.0.3 + + universalify@0.2.0: {} + uri-js@4.4.1: dependencies: punycode: 2.3.1 + url-parse@1.5.10: + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + + util-deprecate@1.0.2: {} + + vite-node@3.2.4(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0): + dependencies: + cac: 6.7.14 + debug: 4.4.3 + es-module-lexer: 1.7.0 + pathe: 2.0.3 + vite: 6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0) + transitivePeerDependencies: + - '@types/node' + - jiti + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0): + dependencies: + esbuild: 0.25.12 + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 + postcss: 8.5.32 + rollup: 4.66.0 + tinyglobby: 0.2.17 + optionalDependencies: + '@types/node': 22.20.5 + fsevents: 2.3.3 + jiti: 2.7.0 + lightningcss: 1.32.0 + + vitefu@1.1.3(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)): + optionalDependencies: + vite: 6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0) + + vitest@3.2.7(@types/node@22.20.5)(jiti@2.7.0)(jsdom@24.1.3)(lightningcss@1.32.0): + dependencies: + '@types/chai': 5.2.3 + '@vitest/expect': 3.2.7 + '@vitest/mocker': 3.2.7(vite@6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0)) + '@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: 6.4.5(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0) + vite-node: 3.2.4(@types/node@22.20.5)(jiti@2.7.0)(lightningcss@1.32.0) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 22.20.5 + jsdom: 24.1.3 + transitivePeerDependencies: + - jiti + - less + - lightningcss + - msw + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + w3c-xmlserializer@5.0.0: + dependencies: + xml-name-validator: 5.0.0 + + webidl-conversions@7.0.0: {} + + whatwg-encoding@3.1.1: + dependencies: + iconv-lite: 0.6.3 + + whatwg-mimetype@4.0.0: {} + + whatwg-url@14.2.0: + dependencies: + tr46: 5.1.1 + webidl-conversions: 7.0.0 + which@2.0.2: dependencies: isexe: 2.0.0 + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + word-wrap@1.2.5: {} + wordwrap@1.0.0: {} + + 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 + + worktop@0.8.0-next.18: + dependencies: + mrmime: 2.0.1 + regexparam: 3.0.0 + + wrangler@4.155.0(@types/node@22.20.5): + 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.20.5) + 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 + + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrap-ansi@8.1.0: + dependencies: + ansi-styles: 6.2.3 + string-width: 5.1.2 + strip-ansi: 7.2.0 + + wrappy@1.0.2: {} + + ws@8.21.0: {} + + ws@8.22.0: {} + + xml-name-validator@5.0.0: {} + + xmlchars@2.2.0: {} + + yaml@1.10.3: {} + yocto-queue@0.1.0: {} + + youch-core@0.3.3: + dependencies: + '@poppinss/exception': 1.2.3 + error-stack-parser-es: 1.0.5 + + youch@4.1.0-beta.10: + dependencies: + '@poppinss/colors': 4.1.6 + '@poppinss/dumper': 0.6.5 + '@speed-highlight/core': 1.2.24 + cookie: 1.1.1 + youch-core: 0.3.3 + + zimmerframe@1.1.5: {} diff --git a/tests/.gitkeep b/tests/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/tests/web/component.yaml b/tests/web/component.yaml new file mode 100644 index 0000000..63f6a0b --- /dev/null +++ b/tests/web/component.yaml @@ -0,0 +1,23 @@ +apiVersion: sourceplane.io/v1 +kind: Component +metadata: + name: web-tests + description: The SaaS site's tests (the Worker's config and its secrets, then the app's own suite in its Vite config), run on every pull request +spec: + type: turbo-package + lifecycle: production + owner: platform + 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/eslint.config.js b/tests/web/eslint.config.js new file mode 100644 index 0000000..2e905dc --- /dev/null +++ b/tests/web/eslint.config.js @@ -0,0 +1,2 @@ +import config from "../../tooling/eslint/index.js"; +export default config; diff --git a/tests/web/package.json b/tests/web/package.json new file mode 100644 index 0000000..85c7069 --- /dev/null +++ b/tests/web/package.json @@ -0,0 +1,20 @@ +{ + "name": "@app/web-tests", + "version": "0.0.0", + "private": true, + "type": "module", + "scripts": { + "build": "tsc --noEmit", + "typecheck": "tsc --noEmit", + "test": "vitest run && pnpm --dir ../../apps/web run test:unit", + "lint": "eslint src" + }, + "devDependencies": { + "@app/eslint-config": "workspace:*", + "@app/tsconfig": "workspace:*", + "@app/web": "workspace:*", + "@types/node": "^22.9.0", + "typescript": "^5.8.3", + "vitest": "^3.2.4" + } +} diff --git a/tests/web/src/wrangler-config.test.ts b/tests/web/src/wrangler-config.test.ts new file mode 100644 index 0000000..73f5840 --- /dev/null +++ b/tests/web/src/wrangler-config.test.ts @@ -0,0 +1,85 @@ +// The Worker's config, held to what the build and the deploy rely on. +import { execFileSync } from "node:child_process"; +import * as fs from "node:fs"; +import * as os from "node:os"; +import * as path from "node:path"; +import { describe, expect, it } from "vitest"; + +const app = path.resolve(__dirname, "../../../apps/web"); +const read = (rel: string) => fs.readFileSync(path.join(app, rel), "utf8"); + +// JSONC → JSON, as tooling/wire/with-vars.mjs reads it. +function parse(text: string): Record { + const noComments = text.replace(/("(?:\\.|[^"\\])*")|\/\/[^\n]*|\/\*[\s\S]*?\*\//g, (_m, str) => str ?? ""); + return JSON.parse(noComments.replace(/,(\s*[}\]])/g, "$1")); +} + +describe("wrangler.jsonc", () => { + it("is the committed fixture render of wrangler.template.jsonc", () => { + const out = path.join(fs.mkdtempSync(path.join(os.tmpdir(), "wire-")), "wrangler.jsonc"); + execFileSync("node", [ + "../../tooling/wire/render.mjs", + "--template", "wrangler.template.jsonc", + "--out", out, + "--map", "wiring.fixture.json", + "--env", "stage", + ], { cwd: app, stdio: "pipe" }); + expect(read("wrangler.jsonc")).toBe(fs.readFileSync(out, "utf8")); + }); + + it("deploys adapter-cloudflare's Worker with its static output as assets", () => { + const c = parse(read("wrangler.jsonc")); + expect(c.main).toBe(".svelte-kit/cloudflare/_worker.js"); + expect(c.assets).toEqual({ directory: ".svelte-kit/cloudflare", binding: "ASSETS" }); + expect(c.compatibility_flags).toContain("nodejs_compat"); + }); + + it("carries the project's URL and anon key as vars, rendered per environment, and no secret", () => { + const t = parse(read("wrangler.template.jsonc")); + expect(t.vars).toEqual({ + PUBLIC_SUPABASE_URL: "@@wiring(supabase/__ENV__:supabase_url)@@", + PUBLIC_SUPABASE_ANON_KEY: "@@wiring(supabase/__ENV__:supabase_anon_key)@@", + }); + for (const k of Object.keys(t.vars as object)) expect(k.startsWith("PUBLIC_")).toBe(true); + }); + + it("has a fixture for every environment the build renders", () => { + const f = JSON.parse(read("wiring.fixture.json")); + for (const env of ["dev", "stage", "prod"]) { + expect(f[`supabase/${env}`]).toEqual({ + supabase_url: expect.stringMatching(/^https:\/\/[a-z-]+\.supabase\.co$/), + supabase_anon_key: expect.any(String), + }); + } + }); +}); + +describe("the app's secrets", () => { + // $env/static/private would inline a secret into the server bundle at + // build time. Every secret is a Worker secret, read at request time. + it("are never read through $env/static/private", () => { + const hits: string[] = []; + const walk = (dir: string) => { + for (const e of fs.readdirSync(dir, { withFileTypes: true })) { + const p = path.join(dir, e.name); + if (e.isDirectory()) walk(p); + else if (/\.(ts|js|svelte)$/.test(e.name) && fs.readFileSync(p, "utf8").includes("$env/static/private")) { + hits.push(path.relative(app, p)); + } + } + }; + walk(path.join(app, "src")); + expect(hits).toEqual([]); + }); + + it("are the five the component hands the Worker, and none reaches the build", () => { + const component = read("component.yaml"); + const names = ["PRIVATE_SUPABASE_SERVICE_ROLE", "PRIVATE_STRIPE_API_KEY", "PRIVATE_RESEND_API_KEY", "PRIVATE_ADMIN_EMAIL", "PRIVATE_FROM_ADMIN_EMAIL"]; + const build = component.match(/^\s+buildCommand: (.*)$/m)?.[1] ?? ""; + for (const n of names) { + expect(component).toMatch(new RegExp(`^\\s+${n}: "secret://`, "m")); + expect(build).toContain(`-u ${n} `); + expect(build).toContain(`--secret ${n}`); + } + }); +}); diff --git a/tests/web/tsconfig.json b/tests/web/tsconfig.json new file mode 100644 index 0000000..c16512d --- /dev/null +++ b/tests/web/tsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "../../tooling/tsconfig/base.json", + "compilerOptions": { + "composite": false, + "declaration": false, + "declarationMap": false, + "noEmit": true, + "types": ["node"] + }, + "include": ["src/**/*.ts", "vitest.config.ts"] +} diff --git a/tests/web/turbo.json b/tests/web/turbo.json new file mode 100644 index 0000000..d448572 --- /dev/null +++ b/tests/web/turbo.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "tasks": { + "test": { + "dependsOn": [], + "outputs": [] + } + } +} diff --git a/tests/web/vitest.config.ts b/tests/web/vitest.config.ts new file mode 100644 index 0000000..a736684 --- /dev/null +++ b/tests/web/vitest.config.ts @@ -0,0 +1,12 @@ +import { defineConfig } from "vitest/config"; + +// The port's own checks on the app's configuration, in Node. The app's unit +// tests — upstream's and the port's — run in the app's own Vite config +// (`pnpm --dir ../../apps/web run test:unit`), where SvelteKit resolves $lib +// and $env. +export default defineConfig({ + test: { + include: ["src/**/*.test.ts"], + environment: "node", + }, +}); diff --git a/tooling/wire/with-vars.mjs b/tooling/wire/with-vars.mjs new file mode 100644 index 0000000..1a631b7 --- /dev/null +++ b/tooling/wire/with-vars.mjs @@ -0,0 +1,68 @@ +#!/usr/bin/env node +// Run a command with a wrangler config's `vars` in its environment +// (zero-dependency). +// +// node with-vars.mjs --config wrangler.jsonc -- vite build +// +// SvelteKit's `$env/static/public` is inlined at BUILD time, into the browser +// bundle and the Worker alike, from the build's environment. The Worker's own +// `vars` are only there at request time. So the build reads them from the +// config it is about to deploy — the render tooling/wire just wrote for this +// environment (from the wiring document on stage and prod, the fixture +// otherwise) — and the browser and the Worker always name the same Supabase +// project. A var in the config wins over the same name already in the +// environment: the render is what deploys. +// +// Only `vars` are read. Secrets never pass through here: they reach the Worker +// at request time (`$env/dynamic/private`), never a bundle. +import * as fs from "node:fs"; +import { spawnSync } from "node:child_process"; + +const argv = process.argv.slice(2); +const sep = argv.indexOf("--"); +const ci = argv.indexOf("--config"); +if (sep < 0 || ci < 0 || ci > sep || !argv[ci + 1] || sep === argv.length - 1) { + console.error("usage: with-vars.mjs --config -- [args…]"); + process.exit(2); +} +const configPath = argv[ci + 1]; +const command = argv.slice(sep + 1); + +// JSONC → JSON: drop // and /* */ comments outside strings, then trailing commas. +function stripJsonc(text) { + let out = ""; + for (let i = 0; i < text.length; i++) { + const c = text[i]; + if (c === '"') { + let j = i + 1; + while (j < text.length && text[j] !== '"') j += text[j] === "\\" ? 2 : 1; + out += text.slice(i, j + 1); + i = j; + } else if (c === "/" && text[i + 1] === "/") { + while (i < text.length && text[i] !== "\n") i++; + out += "\n"; + } else if (c === "/" && text[i + 1] === "*") { + i = text.indexOf("*/", i + 2); + if (i < 0) break; + i++; + } else { + out += c; + } + } + return out.replace(/,(\s*[}\]])/g, "$1"); +} + +const config = JSON.parse(stripJsonc(fs.readFileSync(configPath, "utf8"))); +const vars = config.vars ?? {}; +const env = { ...process.env }; +for (const [k, v] of Object.entries(vars)) { + if (typeof v !== "string") continue; + if (/@@wiring\(/.test(v)) { + console.error(`with-vars: ${configPath} var ${k} is an unrendered wiring token — render the config first`); + process.exit(1); + } + env[k] = v; +} +console.log(`with-vars: ${Object.keys(vars).join(", ") || "no vars"} from ${configPath}`); +const result = spawnSync(command[0], command.slice(1), { stdio: "inherit", env, shell: false }); +process.exit(result.status ?? 1);