diff --git a/.gitignore b/.gitignore index d5a18de..3e3822b 100644 --- a/.gitignore +++ b/.gitignore @@ -427,3 +427,8 @@ FodyWeavers.xsd *.msix *.msm *.msp + +# Sample setup output (ms app init / add data-source); it belongs in your own app repository +samples/*/ms.config.json +samples/*/generated/ +samples/*/.ms/ diff --git a/README.md b/README.md index f143265..8a13a3c 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ See the [Quickstart - CLI](https://go.microsoft.com/fwlink/?LinkId=2368962) to s ## Repository structure - [`templates/`](templates/) — first-party project templates (currently [`vite8`](templates/vite8), a React + TypeScript + Vite 8 starter). +- [`samples/`](samples/) — complete sample apps you can set up in your own environment. Each sample's README and setup skill walk through copying it into its own folder, `ms app init` (which creates the app's platform-managed repository) and adding its connectors; app data is stored in the browser by default, and the bundled `add-data-source` skill moves it to SharePoint, Dataverse or your own API. - [`plugins/`](plugins/) — the [`microsoft-managed-apps`](plugins/microsoft-managed-apps) plugin: skills, agents, and hooks for building apps hosted on Copilot Managed Runtime with AI coding agents (works with Claude Code and GitHub Copilot). - [`.claude-plugin/`](.claude-plugin/) — marketplace manifest (`marketplace.json`) that registers the plugin so agents can install it via `/plugin marketplace add`. diff --git a/samples/LearningHub/.claude/skills/add-data-source/SKILL.md b/samples/LearningHub/.claude/skills/add-data-source/SKILL.md new file mode 100644 index 0000000..bed2d34 --- /dev/null +++ b/samples/LearningHub/.claude/skills/add-data-source/SKILL.md @@ -0,0 +1,185 @@ +--- +name: add-data-source +description: Moves this app's data from browser-local storage to a shared backend (SharePoint lists, Dataverse tables, a REST API, or any other store) by adding a storage provider. Use when the user wants app data shared between people or devices, kept outside the browser, or stored in a specific system. +--- + +# Add a data source + +Every read and write of app-owned data in this template goes through one storage interface +(`src/storage/core/types.ts`). By default the `local` provider keeps data in the browser +(`localStorage`). This skill adds another provider and switches the app to it **without +changing UI or domain code**. + +## Ground rules + +- **Never edit `src/storage/core/`.** It is shared, tested code. Build on it. +- **Never change UI, hooks or domain modules** to make a backend work. If the interface seems + insufficient, stop and explain the gap to the user. +- Generated connector code is imported **only** from `src/connectors/` (an ESLint rule enforces + this). The provider in `src/storage/providers/` depends on that thin wrapper, not on + `generated/` directly, so it can be tested with fakes. +- A provider is finished when `runProviderContract()` passes against it (step 6). +- Authorization belongs to the backend. Configure list/table permissions; never rely on hiding + UI (step 7). + +## Step 1: Understand what is stored + +1. Read `src/storage/collections.ts`. Every collection is a zod schema plus a name. +2. Run `npm run storage:describe`. It prints each collection as JSON Schema; you will create one + list/table per collection. +3. Note which data uses `provider.kv(...)` (preferences, drafts, UI state). These usually stay + **device-local**, which is the default described in step 5. +4. Ask the user which collections should move (usually all of them) and who should be able to + read and write each one. + +## Step 2: Choose the backend + +| Backend | Good for | Needs | Reference | +|---|---|---|---| +| **SharePoint lists** | Teams that already use SharePoint; simple setup | A SharePoint site where the user can create lists | `references/sharepoint.md` | +| **Dataverse tables** | Relational/business data; role-based security; large volumes | A Power Platform environment with Dataverse, and the matching licenses | `references/dataverse.md` | +| **Your own API** | Existing systems or databases | A connector (or custom connector) that exposes CRUD operations | `references/custom-api.md` | + +If the user has no preference, recommend SharePoint lists for small teams and Dataverse for +anything with roles, auditing or large data. + +## Step 3: Provision the backing store + +Use the **document-in-a-row** layout for every collection. It maps any record shape onto any +tabular store and keeps the provider generic: + +| Column | Type | Purpose | +|---|---|---| +| `RecordKey` | Single line of text, **indexed, unique, required** | Record id (`BackendRow.key`) | +| `Data` | Multiple lines of **plain** text (no rich text, no length cap below ~1 MB) | The record body as JSON | +| *(built-in)* ETag / row version | backend-managed | `BackendRow.etag` | +| *(built-in)* Created / Modified | backend-managed | `createdAt` / `updatedAt` | + +Name each list/table after the collection, optionally with an app prefix, e.g. `LearningHub_sessions`. +You *may* add extra "promoted" columns for fields you want to search in the backend UI, but the +app reads only `RecordKey` and `Data`. + +Create the lists/tables yourself only if the user asks and has permission. Otherwise give them +the exact list of names and columns. + +## Step 4: Add the connector + +Always use the CLI (pinned in `package.json`) so codegen and `ms.config.json` stay consistent. Run +`npx ms app add data-source --help` to see every flag. + +```bash +# SharePoint: one command per list +npx ms app add data-source --connector shared_sharepointonline --as table --dataset "" --table "" + +# Dataverse: one command per table (no connection id needed) +npx ms app add data-source --connector dataverse --as table --table "" + +# Any other connector +npx ms connector list --search "" +npx ms app add data-source --connector --as action +``` + +Then find the generated operations. **Do not read whole generated files**; they are large: + +```bash +# list method names of a generated service +rg "async \w+\(" generated/services/Service.ts +# then read one method and its model +rg "async " -A 25 generated/services/Service.ts +``` + +## Step 5: Implement the provider + +The core already provides `createTableBackedProvider()`. You implement **one `TableBackend` per +collection**, which is five methods. Everything else (validation, queries, paging, conflicts, +export/import) is handled for you. + +1. **Connector wrapper**: `src/connectors/Tables.ts`. This is the only file that imports + `generated/`. Expose plain functions such as `listRows(table, cursor)`, `getRow`, + `createRow`, `updateRow(table, key, data, etag)` and `deleteRow`, and translate connector + results into `BackendRow` (`{ key, data, etag, createdAt, updatedAt }`). +2. **Provider**: `src/storage/providers/.ts`. + +```ts +// Adjust names (config fields, table prefix) to match this app's src/config.ts. +import { createLocalProvider, createTableBackedProvider, type TableBackend } from '../core'; +import * as rows from '../../connectors/sharepointTables'; +import { config } from '../../config'; + +function backendFor(collectionName: string): TableBackend { + const table = `${config.storageTablePrefix}${collectionName}`; + return { + list: (cursor) => rows.listRows(table, cursor), + get: (key) => rows.getRow(table, key), + create: (key, data) => rows.createRow(table, key, data), // ConflictError if key exists + update: (key, data, etag) => rows.updateRow(table, key, data, etag), // ConflictError on etag mismatch, NotFoundError if missing + delete: (key, etag) => rows.deleteRow(table, key, etag), // idempotent; ConflictError on etag mismatch + }; +} + +export function createSharePointProvider() { + const local = createLocalProvider({ prefix: config.storagePrefix }); + return createTableBackedProvider({ + id: 'sharepoint', + shared: true, + tableFor: backendFor, + kv: (namespace) => local.kv(namespace), // keep preferences on the device + }); +} +``` + +3. **Register it** in `src/storage/index.ts` by adding `sharepoint: createSharePointProvider` to + the provider registry. Then set `VITE_STORAGE_PROVIDER=sharepoint` (plus any new variables, + such as the table prefix) in `.env.local`. Document the new variables in `.env.example` and in `src/config.ts`. +4. Remote stores do not push changes. Call `provider.refresh()` on window focus, and optionally + on a timer, so other users' edits appear. + +### Mapping rules every backend must follow + +- `etag` must change on **every** write, and the backend must reject stale etags with a + "precondition failed" error (HTTP 412). Map that error to `ConflictError` from `../core`. +- `create` with an existing key must throw `ConflictError`. Enforce uniqueness on `RecordKey`, + or check first. +- A missing record on `update` throws `NotFoundError`. `delete` of a missing record succeeds. +- `list` must page with the backend's continuation token. Never assume one page holds everything. +- Store `Data` exactly as given. Never reformat the JSON. + +## Step 6: Prove it with the contract suite + +Create `src/storage/providers/.test.ts`: + +```ts +import { runProviderContract } from '../core/contract'; +// Fake the connector wrapper (src/connectors/Tables.ts) with an in-memory map that +// reproduces the backend's real behaviour: etags, 412s, paging. See createInMemoryTableBackend +// in core/providers/tableBacked.ts for the reference behaviour. +runProviderContract('sharepoint', () => createSharePointProviderWithFakeRows()); +``` + +Run `npm test`, `npm run lint` and `npm run typecheck`. All must pass. Then run the app against the +real backend and try each feature, ideally in two browsers with different accounts to see +sharing and conflicts. + +## Step 7: Security and privacy + +- Grant list/table permissions to exactly the people who should read or write each collection. + The app's UI is not a security boundary. +- Review what becomes visible once data is shared. Collections that were per-browser (drafts, + personal notes) may now be readable by others; keep those in `kv` (device-local), or use a + per-user table with item-level permissions. +- Keep connector permissions least-privilege. Add only the tables the app uses. + +## Step 8: Move existing data + +Users can move what they already have: in the app's Settings, choose **Export data** while still +on the `local` provider, switch to the new provider, then **Import data**. Import validates every +record and skips anything invalid. + +## Done checklist + +- [ ] One list/table per moved collection, with `RecordKey` (unique) and `Data` columns +- [ ] Connector added with the CLI; the updated `generated/`, `.ms/` and `ms.config.json` are committed to the app's repository. +- [ ] `src/connectors/Tables.ts` plus `src/storage/providers/.ts`, registered in `src/storage/index.ts` +- [ ] The contract suite passes for the new provider, and `npm test`, `npm run lint` and `npm run typecheck` are green +- [ ] Permissions configured in the backend +- [ ] `.env.example`, `src/config.ts` and the README's "Storage" section updated diff --git a/samples/LearningHub/.claude/skills/add-data-source/references/custom-api.md b/samples/LearningHub/.claude/skills/add-data-source/references/custom-api.md new file mode 100644 index 0000000..97b921e --- /dev/null +++ b/samples/LearningHub/.claude/skills/add-data-source/references/custom-api.md @@ -0,0 +1,45 @@ +# Your own API as a backend + +Use this when data must live in an existing system (an internal service, a SQL database behind an +API, a SaaS product). + +## Requirements for the API + +Expose, per collection (or with the collection as a path segment): + +| Operation | Example | Must | +|---|---|---| +| List | `GET /collections/{name}/rows?cursor=…` | Return `{ rows: BackendRow[], nextCursor? }` and page results | +| Get | `GET /collections/{name}/rows/{key}` | Return 404 when missing | +| Create | `POST /collections/{name}/rows` with `{ key, data }` | Return 409 when the key exists | +| Update | `PUT /collections/{name}/rows/{key}` with `If-Match: ` | Return 412 on a stale etag and 404 when missing | +| Delete | `DELETE /collections/{name}/rows/{key}` with optional `If-Match` | Succeed when already gone; return 412 on a stale etag | + +Rows carry `key`, `data` (an opaque JSON string, stored verbatim), `etag` (changes on every +write), `createdAt` and `updatedAt`. The API must authenticate the caller and enforce +authorization itself. + +## Reach it through a connector + +Wrap the API in a **custom connector** (OpenAPI definition plus authentication) in your Power +Platform environment. Then add it like any other connector: + +```bash +npx ms connector list --search "" +npx ms app add data-source --connector --as action +``` + +Calling arbitrary URLs with `fetch` from the app is discouraged: it bypasses connector +authentication, data-loss-prevention policies and auditing. + +## Map responses + +In `src/connectors/Tables.ts`, translate: + +- 404 on get → `undefined` +- 409 on create → `ConflictError` +- 412 on update/delete → `ConflictError` +- 404 on update → `NotFoundError` + +Then build the provider with `createTableBackedProvider()` exactly as in `SKILL.md` step 5, and +run the contract suite against a fake of the wrapper. diff --git a/samples/LearningHub/.claude/skills/add-data-source/references/dataverse.md b/samples/LearningHub/.claude/skills/add-data-source/references/dataverse.md new file mode 100644 index 0000000..5ca3734 --- /dev/null +++ b/samples/LearningHub/.claude/skills/add-data-source/references/dataverse.md @@ -0,0 +1,49 @@ +# Dataverse tables backend + +## Provision + +For each collection, create a table (for example display name `LearningHub Session`, logical +name `_learninghubsession`): + +| Column | Dataverse type | Settings | +|---|---|---| +| `RecordKey` | Text (single line), max length 200 | Business required, plus an **alternate key** on this column | +| `Data` | Multiline text (plain) | Max length 1,048,576 | + +The primary name column can hold a readable label (for example the record's title) for +browsing in Dataverse. Ownership: choose **User or team** if you need per-user security, or +**Organization** for data everyone shares. + +Security: create or extend a **security role** with Create/Read/Write/Delete privileges on each +table at the right depth (User, Business Unit or Organization), and assign it to the app's users. + +## Add the connector + +```bash +npx ms app add data-source --connector dataverse --as table --table "_learninghubsession" +``` + +No connection id is needed; the CLI binds to the active environment's Dataverse. Repeat per +table, then inspect the generated services with `rg "async \w+\(" generated/services`. + +## Mapping to `BackendRow` + +| BackendRow | Dataverse row | +|---|---| +| `key` | `RecordKey` column (the alternate key) | +| `data` | `Data` column | +| `etag` | `@odata.etag` | +| `createdAt` / `updatedAt` | `createdon` / `modifiedon` | + +- **Lookups by key**: retrieve by alternate key, or filter `RecordKey eq ''`. Keep the row's + primary GUID in the wrapper for updates and deletes. +- **Paging**: follow `@odata.nextLink`, or the paging cookie the generated list operation exposes. +- **Conflicts**: Dataverse supports optimistic concurrency. Send `If-Match: ` on update + and delete, and map HTTP 412 to `ConflictError`. A duplicate alternate key on create fails, so + map that to `ConflictError` too. +- **Timestamps** are UTC ISO strings, so pass them through unchanged. + +## Notes + +- Use a **solution** to hold the tables and security role, so the setup can be exported to other environments. +- Dataverse capacity is metered. JSON in `Data` is compact, but avoid storing large blobs; use file columns or SharePoint for documents. diff --git a/samples/LearningHub/.claude/skills/add-data-source/references/sharepoint.md b/samples/LearningHub/.claude/skills/add-data-source/references/sharepoint.md new file mode 100644 index 0000000..a1a5484 --- /dev/null +++ b/samples/LearningHub/.claude/skills/add-data-source/references/sharepoint.md @@ -0,0 +1,59 @@ +# SharePoint lists backend + +## Provision + +For each collection, create a list (for example `LearningHub_sessions`): + +| Column | SharePoint type | Settings | +|---|---|---| +| `RecordKey` | Single line of text | Required, **Enforce unique values: Yes** (this also indexes it) | +| `Data` | Multiple lines of text | **Plain text** (not rich/enhanced), "Append changes" **off** | + +Rename or hide the built-in `Title` column if you like; the app does not use it. You can set +`Title` to a human-readable value (e.g. the record's name) in `createRow` to make the list browsable. + +Permissions: break inheritance on each list only if it needs different access than the site. +Grant **Contribute** to people who write and **Read** to people who only read. + +## Add the connector + +```bash +npx ms app add data-source --connector shared_sharepointonline --as table --dataset "https://.sharepoint.com/sites/" --table "LearningHub_sessions" +``` + +Repeat for each list. Then inspect the generated services: + +```bash +rg "async \w+\(" generated/services +``` + +Typical operations are "get items" (with `$filter`, `$top` and a continuation/skip token), +"get item", "create item", "update item" and "delete item". Exact names depend on the CLI version, +so use what the grep shows. + +## Mapping to `BackendRow` + +| BackendRow | SharePoint item | +|---|---| +| `key` | `RecordKey` | +| `data` | `Data` | +| `etag` | `@odata.etag` (or `ETag`) from the item | +| `createdAt` / `updatedAt` | `Created` / `Modified` | + +- **Lookups by key**: SharePoint item ids are numeric and differ from `RecordKey`. Find items with + a filter such as `$filter=RecordKey eq ''` (escape single quotes by doubling them). Cache + `RecordKey → item id` inside the wrapper if you want fewer calls. +- **Paging**: follow the continuation value the "get items" operation returns (`@odata.nextLink` + or a skip token). Return it as `nextCursor`. +- **Conflicts**: if the update/delete operation accepts an `If-Match` header or etag parameter, pass + the etag and map HTTP 412 to `ConflictError`. If it does not, re-read the item, compare `etag`, + then write. Document in the README that a small race window remains. +- **Create uniqueness**: with "Enforce unique values" on, a duplicate `RecordKey` fails. Map that + failure to `ConflictError`. +- **Size**: keep each record well under a few hundred KB. Large attachments belong in a document + library, with only a link stored in the record. + +## Throttling + +SharePoint throttles bursts. Keep `list` page sizes moderate (100–500). If the connector reports +HTTP 429, wait for `Retry-After` and retry. diff --git a/samples/LearningHub/.claude/skills/setup-learninghub/SKILL.md b/samples/LearningHub/.claude/skills/setup-learninghub/SKILL.md new file mode 100644 index 0000000..72b26d2 --- /dev/null +++ b/samples/LearningHub/.claude/skills/setup-learninghub/SKILL.md @@ -0,0 +1,153 @@ +--- +name: setup-learninghub +description: Set up the Learning Hub sample after cloning it - copy it into its own folder, install dependencies, sign in with the ms CLI, create the app and its platform-managed git repository with ms app init (writes ms.config.json), hide the host header, add the Office 365 Users connector, configure .env.local, verify with check-setup, start local development, and commit and push to the app's repository. Use when someone asks to set up, configure, run or deploy this app for the first time, or when `npm run dev`/`npm run build` stops with "Learning Hub is not set up yet". +--- + +# Set up Learning Hub + +Learning Hub is a React + Vite + TypeScript app hosted on Copilot Managed Runtime (public +preview). It uses the public `@microsoft/managed-apps` packages and the `ms` CLI +(`@microsoft/managed-apps-cli`, installed as a dev dependency, so every command below runs through +`npx`). Background: [Quickstart](https://go.microsoft.com/fwlink/?LinkId=2368962) and +[documentation](https://go.microsoft.com/fwlink/?LinkId=2372842). + +The sample ships **without** `ms.config.json`; step 3 creates it for your own app. Follow the steps +in order. The app gets its own platform-managed git repository: commit `ms.config.json`, +`generated/` and `.ms/` to it with the rest of the app; only `.env.local` stays local (gitignored). + +## 1. Prerequisites + +- Node.js 24.11 or later and npm. +- Git 2.27 or later. +- The sample in **its own folder**, not inside a clone of the samples repository: that folder + becomes the app's repository. If `git rev-parse --show-toplevel` succeeds in the sample folder, + copy the folder out first (for example `cp -r Managed-Apps/samples/LearningHub my-learninghub`; + PowerShell: `Copy-Item -Recurse`) and continue from the copy. +- A work account that can create apps in a Power Platform environment, and permission to use the + **Office 365 Users** connector there. + +```sh +node --version +npm install +``` + +`npm test` and `npm run lint` already work at this point; they don't need the steps below. + +## 2. Sign in + +```sh +npx ms auth login # opens a browser; use --device-code on a machine without one +npx ms auth status # confirm the account and tenant +``` + +If several accounts are cached, pick one with `npx ms auth switch`. + +## 3. Create the app (writes `ms.config.json`) + +From this folder run: + +```sh +npx ms app init --display-name "Learning Hub" +``` + +Options (see `npx ms app init --help`): + +- `--environment-id ` (`-e`) to choose the environment; otherwise the CLI picks or prompts. +- Don't pass `--repo`: with no git repository in the folder, `init` creates the app's + platform-managed git repository and sets it up as `origin`. +- The defaults for `--build-path` (`./dist`) and `--build-command` (`npm run build`) are correct + for this app; don't change them. + +Check the result with `npx ms app info`. `ms.config.json` must now contain an `appId`, an +`environmentId` and `"repoType": "native"`. + +## 4. Hide the host header + +The app draws its own top bar, so turn off the host's header: + +```sh +npx ms app set-setting --show-header false +``` + +## 5. Add every required connector + +The app needs exactly one connector. Always add it, even if you think it's already there: this is +what generates the `generated/` folder the app compiles against. + +| Connector | Connector id | Mode | Used for | +|---|---|---|---| +| Office 365 Users | `shared_office365users` | action | Signed-in user, people search, profiles and photos | + +```sh +npx ms app add data-source --connector shared_office365users --as action +``` + +The CLI asks you to pick or create a connection (use `--connection-id ` or `--use-sso` to skip +the prompt; see `npx ms app add data-source --help`). It writes `generated/` and `.ms/`; commit +both with the app. Only `src/connectors/office365Users.ts` imports the generated code. If the CLI reports +actions "skipped due to your organization's connector policy", continue: `npm run check-setup` +(step 7) reports any operation the app needs that is missing. + +## 6. Configure `.env.local` + +```sh +cp .env.example .env.local # PowerShell: Copy-Item .env.example .env.local +``` + +Every variable is optional and documented in `.env.example`. The usual ones to change: +`VITE_APP_NAME`, `VITE_SERIES_NAME`, `VITE_SERIES_DESCRIPTION`, `VITE_SERIES_WEEKDAY`, +`VITE_SERIES_START_TIME`, `VITE_SERIES_END_TIME` and `VITE_SERIES_TIME_ZONE`. Values are baked into +the browser bundle, so never put secrets in them. + +## 7. Verify and run + +```sh +npm run check-setup # must print "Setup looks good" +npm run typecheck +npm test +npm run dev # or: npx ms app dev; open the "Local Play" URL it prints +``` + +`npm run dev` and `npm run build` run `check-setup` first and stop with these steps if one is +missing. + +Then commit everything and push it to the app's repository (git asks you to sign in the first +time): + +```sh +git fetch origin +git reset origin/main # start from the new repository's initial commit; your files stay as they are +git branch -M main +git add -A +git commit -m "Set up Learning Hub" +git push -u origin main +``` + +## 8. Storage and sharing data + +Data is stored **locally in each user's browser by default** (`VITE_STORAGE_PROVIDER=local`). The +app shows a "Local mode" notice, and **Settings and data** offers Export/Import of everything as +JSON. To share sessions and topics between people (SharePoint lists, Dataverse, or your own API), +follow `.github/skills/add-data-source/SKILL.md`. That skill also covers permissions: with a shared +backend, who may edit is enforced by the backend, never by the browser. + +## 9. Deploy (when you're ready) + +Deploy from a pushed commit: + +```sh +npm run build +npx ms app deploy +``` + +Deploying publishes the app to your environment. Share it with `npx ms app share` (see +`npx ms app share --help`). + +## Troubleshooting + +- **"Learning Hub is not set up yet"**: read the listed problems; each maps to step 3 or 5. +- **"... is missing operations used by the app"**: re-run step 5 to refresh the generated code. +- **`ms app` commands say the environment or app is invalid**: run `npx ms app info` and re-run + step 3 if `ms.config.json` is missing or incomplete. +- **Profiles or photos don't load**: check the Office 365 Users connection in the environment and + that your account can sign in to it. diff --git a/samples/LearningHub/.env.example b/samples/LearningHub/.env.example new file mode 100644 index 0000000..91a761e --- /dev/null +++ b/samples/LearningHub/.env.example @@ -0,0 +1,38 @@ +# Copy to .env.local and adjust. Every variable is optional; the defaults are shown. +# Values are baked into the build (Vite exposes VITE_* variables to the browser), so never put secrets here. + +# --- Branding ------------------------------------------------------------------------------- +# Product name in the top bar and browser tab. +VITE_APP_NAME=Learning Hub +# Heading on the home page and the series description under it. +VITE_SERIES_NAME=Learning Series +VITE_SERIES_DESCRIPTION=Weekly sessions where people share what they’ve learned. Catch up on past sessions and see what’s next. + +# --- Schedule ------------------------------------------------------------------------------- +# Day of the week sessions happen: 0 = Sunday, 1 = Monday, ... 6 = Saturday. +VITE_SERIES_WEEKDAY=4 +# Start and end time (24-hour HH:MM) in VITE_SERIES_TIME_ZONE. +VITE_SERIES_START_TIME=09:00 +VITE_SERIES_END_TIME=10:00 +# IANA time zone name, e.g. America/New_York, Europe/London, Asia/Tokyo. +VITE_SERIES_TIME_ZONE=America/Los_Angeles +# Last date of the series (yyyy-mm-dd). Leave empty for an open-ended series. +VITE_SERIES_END_DATE= +# How many upcoming weeks the sign-up page lists when there is no end date (1-104). +VITE_SERIES_WEEKS_AHEAD=12 +# Comma-separated dates (yyyy-mm-dd) to label as holiday weeks. +VITE_SERIES_SKIP_DATES= + +# --- Storage -------------------------------------------------------------------------------- +# Which provider in src/storage/index.ts stores the data. "local" keeps data in this browser. +# Add shared providers (SharePoint, Dataverse, ...) with .github/skills/add-data-source/SKILL.md. +VITE_STORAGE_PROVIDER=local +# Prefix for this app's keys in browser storage (letters, digits, - and _). +VITE_APP_STORAGE_PREFIX=learninghub +# Seed a few fictional past sessions on first run (local storage only). true or false. +VITE_SEED_SAMPLE_DATA=true + +# --- Sharing -------------------------------------------------------------------------------- +# Public https URL of the deployed app, used to build share links. Leave empty to derive it +# from the page that hosts the app. +VITE_PUBLIC_APP_URL= \ No newline at end of file diff --git a/samples/LearningHub/.github/skills/add-data-source/SKILL.md b/samples/LearningHub/.github/skills/add-data-source/SKILL.md new file mode 100644 index 0000000..bed2d34 --- /dev/null +++ b/samples/LearningHub/.github/skills/add-data-source/SKILL.md @@ -0,0 +1,185 @@ +--- +name: add-data-source +description: Moves this app's data from browser-local storage to a shared backend (SharePoint lists, Dataverse tables, a REST API, or any other store) by adding a storage provider. Use when the user wants app data shared between people or devices, kept outside the browser, or stored in a specific system. +--- + +# Add a data source + +Every read and write of app-owned data in this template goes through one storage interface +(`src/storage/core/types.ts`). By default the `local` provider keeps data in the browser +(`localStorage`). This skill adds another provider and switches the app to it **without +changing UI or domain code**. + +## Ground rules + +- **Never edit `src/storage/core/`.** It is shared, tested code. Build on it. +- **Never change UI, hooks or domain modules** to make a backend work. If the interface seems + insufficient, stop and explain the gap to the user. +- Generated connector code is imported **only** from `src/connectors/` (an ESLint rule enforces + this). The provider in `src/storage/providers/` depends on that thin wrapper, not on + `generated/` directly, so it can be tested with fakes. +- A provider is finished when `runProviderContract()` passes against it (step 6). +- Authorization belongs to the backend. Configure list/table permissions; never rely on hiding + UI (step 7). + +## Step 1: Understand what is stored + +1. Read `src/storage/collections.ts`. Every collection is a zod schema plus a name. +2. Run `npm run storage:describe`. It prints each collection as JSON Schema; you will create one + list/table per collection. +3. Note which data uses `provider.kv(...)` (preferences, drafts, UI state). These usually stay + **device-local**, which is the default described in step 5. +4. Ask the user which collections should move (usually all of them) and who should be able to + read and write each one. + +## Step 2: Choose the backend + +| Backend | Good for | Needs | Reference | +|---|---|---|---| +| **SharePoint lists** | Teams that already use SharePoint; simple setup | A SharePoint site where the user can create lists | `references/sharepoint.md` | +| **Dataverse tables** | Relational/business data; role-based security; large volumes | A Power Platform environment with Dataverse, and the matching licenses | `references/dataverse.md` | +| **Your own API** | Existing systems or databases | A connector (or custom connector) that exposes CRUD operations | `references/custom-api.md` | + +If the user has no preference, recommend SharePoint lists for small teams and Dataverse for +anything with roles, auditing or large data. + +## Step 3: Provision the backing store + +Use the **document-in-a-row** layout for every collection. It maps any record shape onto any +tabular store and keeps the provider generic: + +| Column | Type | Purpose | +|---|---|---| +| `RecordKey` | Single line of text, **indexed, unique, required** | Record id (`BackendRow.key`) | +| `Data` | Multiple lines of **plain** text (no rich text, no length cap below ~1 MB) | The record body as JSON | +| *(built-in)* ETag / row version | backend-managed | `BackendRow.etag` | +| *(built-in)* Created / Modified | backend-managed | `createdAt` / `updatedAt` | + +Name each list/table after the collection, optionally with an app prefix, e.g. `LearningHub_sessions`. +You *may* add extra "promoted" columns for fields you want to search in the backend UI, but the +app reads only `RecordKey` and `Data`. + +Create the lists/tables yourself only if the user asks and has permission. Otherwise give them +the exact list of names and columns. + +## Step 4: Add the connector + +Always use the CLI (pinned in `package.json`) so codegen and `ms.config.json` stay consistent. Run +`npx ms app add data-source --help` to see every flag. + +```bash +# SharePoint: one command per list +npx ms app add data-source --connector shared_sharepointonline --as table --dataset "" --table "" + +# Dataverse: one command per table (no connection id needed) +npx ms app add data-source --connector dataverse --as table --table "
" + +# Any other connector +npx ms connector list --search "" +npx ms app add data-source --connector --as action +``` + +Then find the generated operations. **Do not read whole generated files**; they are large: + +```bash +# list method names of a generated service +rg "async \w+\(" generated/services/Service.ts +# then read one method and its model +rg "async " -A 25 generated/services/Service.ts +``` + +## Step 5: Implement the provider + +The core already provides `createTableBackedProvider()`. You implement **one `TableBackend` per +collection**, which is five methods. Everything else (validation, queries, paging, conflicts, +export/import) is handled for you. + +1. **Connector wrapper**: `src/connectors/Tables.ts`. This is the only file that imports + `generated/`. Expose plain functions such as `listRows(table, cursor)`, `getRow`, + `createRow`, `updateRow(table, key, data, etag)` and `deleteRow`, and translate connector + results into `BackendRow` (`{ key, data, etag, createdAt, updatedAt }`). +2. **Provider**: `src/storage/providers/.ts`. + +```ts +// Adjust names (config fields, table prefix) to match this app's src/config.ts. +import { createLocalProvider, createTableBackedProvider, type TableBackend } from '../core'; +import * as rows from '../../connectors/sharepointTables'; +import { config } from '../../config'; + +function backendFor(collectionName: string): TableBackend { + const table = `${config.storageTablePrefix}${collectionName}`; + return { + list: (cursor) => rows.listRows(table, cursor), + get: (key) => rows.getRow(table, key), + create: (key, data) => rows.createRow(table, key, data), // ConflictError if key exists + update: (key, data, etag) => rows.updateRow(table, key, data, etag), // ConflictError on etag mismatch, NotFoundError if missing + delete: (key, etag) => rows.deleteRow(table, key, etag), // idempotent; ConflictError on etag mismatch + }; +} + +export function createSharePointProvider() { + const local = createLocalProvider({ prefix: config.storagePrefix }); + return createTableBackedProvider({ + id: 'sharepoint', + shared: true, + tableFor: backendFor, + kv: (namespace) => local.kv(namespace), // keep preferences on the device + }); +} +``` + +3. **Register it** in `src/storage/index.ts` by adding `sharepoint: createSharePointProvider` to + the provider registry. Then set `VITE_STORAGE_PROVIDER=sharepoint` (plus any new variables, + such as the table prefix) in `.env.local`. Document the new variables in `.env.example` and in `src/config.ts`. +4. Remote stores do not push changes. Call `provider.refresh()` on window focus, and optionally + on a timer, so other users' edits appear. + +### Mapping rules every backend must follow + +- `etag` must change on **every** write, and the backend must reject stale etags with a + "precondition failed" error (HTTP 412). Map that error to `ConflictError` from `../core`. +- `create` with an existing key must throw `ConflictError`. Enforce uniqueness on `RecordKey`, + or check first. +- A missing record on `update` throws `NotFoundError`. `delete` of a missing record succeeds. +- `list` must page with the backend's continuation token. Never assume one page holds everything. +- Store `Data` exactly as given. Never reformat the JSON. + +## Step 6: Prove it with the contract suite + +Create `src/storage/providers/.test.ts`: + +```ts +import { runProviderContract } from '../core/contract'; +// Fake the connector wrapper (src/connectors/Tables.ts) with an in-memory map that +// reproduces the backend's real behaviour: etags, 412s, paging. See createInMemoryTableBackend +// in core/providers/tableBacked.ts for the reference behaviour. +runProviderContract('sharepoint', () => createSharePointProviderWithFakeRows()); +``` + +Run `npm test`, `npm run lint` and `npm run typecheck`. All must pass. Then run the app against the +real backend and try each feature, ideally in two browsers with different accounts to see +sharing and conflicts. + +## Step 7: Security and privacy + +- Grant list/table permissions to exactly the people who should read or write each collection. + The app's UI is not a security boundary. +- Review what becomes visible once data is shared. Collections that were per-browser (drafts, + personal notes) may now be readable by others; keep those in `kv` (device-local), or use a + per-user table with item-level permissions. +- Keep connector permissions least-privilege. Add only the tables the app uses. + +## Step 8: Move existing data + +Users can move what they already have: in the app's Settings, choose **Export data** while still +on the `local` provider, switch to the new provider, then **Import data**. Import validates every +record and skips anything invalid. + +## Done checklist + +- [ ] One list/table per moved collection, with `RecordKey` (unique) and `Data` columns +- [ ] Connector added with the CLI; the updated `generated/`, `.ms/` and `ms.config.json` are committed to the app's repository. +- [ ] `src/connectors/Tables.ts` plus `src/storage/providers/.ts`, registered in `src/storage/index.ts` +- [ ] The contract suite passes for the new provider, and `npm test`, `npm run lint` and `npm run typecheck` are green +- [ ] Permissions configured in the backend +- [ ] `.env.example`, `src/config.ts` and the README's "Storage" section updated diff --git a/samples/LearningHub/.github/skills/add-data-source/references/custom-api.md b/samples/LearningHub/.github/skills/add-data-source/references/custom-api.md new file mode 100644 index 0000000..97b921e --- /dev/null +++ b/samples/LearningHub/.github/skills/add-data-source/references/custom-api.md @@ -0,0 +1,45 @@ +# Your own API as a backend + +Use this when data must live in an existing system (an internal service, a SQL database behind an +API, a SaaS product). + +## Requirements for the API + +Expose, per collection (or with the collection as a path segment): + +| Operation | Example | Must | +|---|---|---| +| List | `GET /collections/{name}/rows?cursor=…` | Return `{ rows: BackendRow[], nextCursor? }` and page results | +| Get | `GET /collections/{name}/rows/{key}` | Return 404 when missing | +| Create | `POST /collections/{name}/rows` with `{ key, data }` | Return 409 when the key exists | +| Update | `PUT /collections/{name}/rows/{key}` with `If-Match: ` | Return 412 on a stale etag and 404 when missing | +| Delete | `DELETE /collections/{name}/rows/{key}` with optional `If-Match` | Succeed when already gone; return 412 on a stale etag | + +Rows carry `key`, `data` (an opaque JSON string, stored verbatim), `etag` (changes on every +write), `createdAt` and `updatedAt`. The API must authenticate the caller and enforce +authorization itself. + +## Reach it through a connector + +Wrap the API in a **custom connector** (OpenAPI definition plus authentication) in your Power +Platform environment. Then add it like any other connector: + +```bash +npx ms connector list --search "" +npx ms app add data-source --connector --as action +``` + +Calling arbitrary URLs with `fetch` from the app is discouraged: it bypasses connector +authentication, data-loss-prevention policies and auditing. + +## Map responses + +In `src/connectors/Tables.ts`, translate: + +- 404 on get → `undefined` +- 409 on create → `ConflictError` +- 412 on update/delete → `ConflictError` +- 404 on update → `NotFoundError` + +Then build the provider with `createTableBackedProvider()` exactly as in `SKILL.md` step 5, and +run the contract suite against a fake of the wrapper. diff --git a/samples/LearningHub/.github/skills/add-data-source/references/dataverse.md b/samples/LearningHub/.github/skills/add-data-source/references/dataverse.md new file mode 100644 index 0000000..5ca3734 --- /dev/null +++ b/samples/LearningHub/.github/skills/add-data-source/references/dataverse.md @@ -0,0 +1,49 @@ +# Dataverse tables backend + +## Provision + +For each collection, create a table (for example display name `LearningHub Session`, logical +name `_learninghubsession`): + +| Column | Dataverse type | Settings | +|---|---|---| +| `RecordKey` | Text (single line), max length 200 | Business required, plus an **alternate key** on this column | +| `Data` | Multiline text (plain) | Max length 1,048,576 | + +The primary name column can hold a readable label (for example the record's title) for +browsing in Dataverse. Ownership: choose **User or team** if you need per-user security, or +**Organization** for data everyone shares. + +Security: create or extend a **security role** with Create/Read/Write/Delete privileges on each +table at the right depth (User, Business Unit or Organization), and assign it to the app's users. + +## Add the connector + +```bash +npx ms app add data-source --connector dataverse --as table --table "_learninghubsession" +``` + +No connection id is needed; the CLI binds to the active environment's Dataverse. Repeat per +table, then inspect the generated services with `rg "async \w+\(" generated/services`. + +## Mapping to `BackendRow` + +| BackendRow | Dataverse row | +|---|---| +| `key` | `RecordKey` column (the alternate key) | +| `data` | `Data` column | +| `etag` | `@odata.etag` | +| `createdAt` / `updatedAt` | `createdon` / `modifiedon` | + +- **Lookups by key**: retrieve by alternate key, or filter `RecordKey eq ''`. Keep the row's + primary GUID in the wrapper for updates and deletes. +- **Paging**: follow `@odata.nextLink`, or the paging cookie the generated list operation exposes. +- **Conflicts**: Dataverse supports optimistic concurrency. Send `If-Match: ` on update + and delete, and map HTTP 412 to `ConflictError`. A duplicate alternate key on create fails, so + map that to `ConflictError` too. +- **Timestamps** are UTC ISO strings, so pass them through unchanged. + +## Notes + +- Use a **solution** to hold the tables and security role, so the setup can be exported to other environments. +- Dataverse capacity is metered. JSON in `Data` is compact, but avoid storing large blobs; use file columns or SharePoint for documents. diff --git a/samples/LearningHub/.github/skills/add-data-source/references/sharepoint.md b/samples/LearningHub/.github/skills/add-data-source/references/sharepoint.md new file mode 100644 index 0000000..a1a5484 --- /dev/null +++ b/samples/LearningHub/.github/skills/add-data-source/references/sharepoint.md @@ -0,0 +1,59 @@ +# SharePoint lists backend + +## Provision + +For each collection, create a list (for example `LearningHub_sessions`): + +| Column | SharePoint type | Settings | +|---|---|---| +| `RecordKey` | Single line of text | Required, **Enforce unique values: Yes** (this also indexes it) | +| `Data` | Multiple lines of text | **Plain text** (not rich/enhanced), "Append changes" **off** | + +Rename or hide the built-in `Title` column if you like; the app does not use it. You can set +`Title` to a human-readable value (e.g. the record's name) in `createRow` to make the list browsable. + +Permissions: break inheritance on each list only if it needs different access than the site. +Grant **Contribute** to people who write and **Read** to people who only read. + +## Add the connector + +```bash +npx ms app add data-source --connector shared_sharepointonline --as table --dataset "https://.sharepoint.com/sites/" --table "LearningHub_sessions" +``` + +Repeat for each list. Then inspect the generated services: + +```bash +rg "async \w+\(" generated/services +``` + +Typical operations are "get items" (with `$filter`, `$top` and a continuation/skip token), +"get item", "create item", "update item" and "delete item". Exact names depend on the CLI version, +so use what the grep shows. + +## Mapping to `BackendRow` + +| BackendRow | SharePoint item | +|---|---| +| `key` | `RecordKey` | +| `data` | `Data` | +| `etag` | `@odata.etag` (or `ETag`) from the item | +| `createdAt` / `updatedAt` | `Created` / `Modified` | + +- **Lookups by key**: SharePoint item ids are numeric and differ from `RecordKey`. Find items with + a filter such as `$filter=RecordKey eq ''` (escape single quotes by doubling them). Cache + `RecordKey → item id` inside the wrapper if you want fewer calls. +- **Paging**: follow the continuation value the "get items" operation returns (`@odata.nextLink` + or a skip token). Return it as `nextCursor`. +- **Conflicts**: if the update/delete operation accepts an `If-Match` header or etag parameter, pass + the etag and map HTTP 412 to `ConflictError`. If it does not, re-read the item, compare `etag`, + then write. Document in the README that a small race window remains. +- **Create uniqueness**: with "Enforce unique values" on, a duplicate `RecordKey` fails. Map that + failure to `ConflictError`. +- **Size**: keep each record well under a few hundred KB. Large attachments belong in a document + library, with only a link stored in the record. + +## Throttling + +SharePoint throttles bursts. Keep `list` page sizes moderate (100–500). If the connector reports +HTTP 429, wait for `Retry-After` and retry. diff --git a/samples/LearningHub/.github/skills/setup-learninghub/SKILL.md b/samples/LearningHub/.github/skills/setup-learninghub/SKILL.md new file mode 100644 index 0000000..72b26d2 --- /dev/null +++ b/samples/LearningHub/.github/skills/setup-learninghub/SKILL.md @@ -0,0 +1,153 @@ +--- +name: setup-learninghub +description: Set up the Learning Hub sample after cloning it - copy it into its own folder, install dependencies, sign in with the ms CLI, create the app and its platform-managed git repository with ms app init (writes ms.config.json), hide the host header, add the Office 365 Users connector, configure .env.local, verify with check-setup, start local development, and commit and push to the app's repository. Use when someone asks to set up, configure, run or deploy this app for the first time, or when `npm run dev`/`npm run build` stops with "Learning Hub is not set up yet". +--- + +# Set up Learning Hub + +Learning Hub is a React + Vite + TypeScript app hosted on Copilot Managed Runtime (public +preview). It uses the public `@microsoft/managed-apps` packages and the `ms` CLI +(`@microsoft/managed-apps-cli`, installed as a dev dependency, so every command below runs through +`npx`). Background: [Quickstart](https://go.microsoft.com/fwlink/?LinkId=2368962) and +[documentation](https://go.microsoft.com/fwlink/?LinkId=2372842). + +The sample ships **without** `ms.config.json`; step 3 creates it for your own app. Follow the steps +in order. The app gets its own platform-managed git repository: commit `ms.config.json`, +`generated/` and `.ms/` to it with the rest of the app; only `.env.local` stays local (gitignored). + +## 1. Prerequisites + +- Node.js 24.11 or later and npm. +- Git 2.27 or later. +- The sample in **its own folder**, not inside a clone of the samples repository: that folder + becomes the app's repository. If `git rev-parse --show-toplevel` succeeds in the sample folder, + copy the folder out first (for example `cp -r Managed-Apps/samples/LearningHub my-learninghub`; + PowerShell: `Copy-Item -Recurse`) and continue from the copy. +- A work account that can create apps in a Power Platform environment, and permission to use the + **Office 365 Users** connector there. + +```sh +node --version +npm install +``` + +`npm test` and `npm run lint` already work at this point; they don't need the steps below. + +## 2. Sign in + +```sh +npx ms auth login # opens a browser; use --device-code on a machine without one +npx ms auth status # confirm the account and tenant +``` + +If several accounts are cached, pick one with `npx ms auth switch`. + +## 3. Create the app (writes `ms.config.json`) + +From this folder run: + +```sh +npx ms app init --display-name "Learning Hub" +``` + +Options (see `npx ms app init --help`): + +- `--environment-id ` (`-e`) to choose the environment; otherwise the CLI picks or prompts. +- Don't pass `--repo`: with no git repository in the folder, `init` creates the app's + platform-managed git repository and sets it up as `origin`. +- The defaults for `--build-path` (`./dist`) and `--build-command` (`npm run build`) are correct + for this app; don't change them. + +Check the result with `npx ms app info`. `ms.config.json` must now contain an `appId`, an +`environmentId` and `"repoType": "native"`. + +## 4. Hide the host header + +The app draws its own top bar, so turn off the host's header: + +```sh +npx ms app set-setting --show-header false +``` + +## 5. Add every required connector + +The app needs exactly one connector. Always add it, even if you think it's already there: this is +what generates the `generated/` folder the app compiles against. + +| Connector | Connector id | Mode | Used for | +|---|---|---|---| +| Office 365 Users | `shared_office365users` | action | Signed-in user, people search, profiles and photos | + +```sh +npx ms app add data-source --connector shared_office365users --as action +``` + +The CLI asks you to pick or create a connection (use `--connection-id ` or `--use-sso` to skip +the prompt; see `npx ms app add data-source --help`). It writes `generated/` and `.ms/`; commit +both with the app. Only `src/connectors/office365Users.ts` imports the generated code. If the CLI reports +actions "skipped due to your organization's connector policy", continue: `npm run check-setup` +(step 7) reports any operation the app needs that is missing. + +## 6. Configure `.env.local` + +```sh +cp .env.example .env.local # PowerShell: Copy-Item .env.example .env.local +``` + +Every variable is optional and documented in `.env.example`. The usual ones to change: +`VITE_APP_NAME`, `VITE_SERIES_NAME`, `VITE_SERIES_DESCRIPTION`, `VITE_SERIES_WEEKDAY`, +`VITE_SERIES_START_TIME`, `VITE_SERIES_END_TIME` and `VITE_SERIES_TIME_ZONE`. Values are baked into +the browser bundle, so never put secrets in them. + +## 7. Verify and run + +```sh +npm run check-setup # must print "Setup looks good" +npm run typecheck +npm test +npm run dev # or: npx ms app dev; open the "Local Play" URL it prints +``` + +`npm run dev` and `npm run build` run `check-setup` first and stop with these steps if one is +missing. + +Then commit everything and push it to the app's repository (git asks you to sign in the first +time): + +```sh +git fetch origin +git reset origin/main # start from the new repository's initial commit; your files stay as they are +git branch -M main +git add -A +git commit -m "Set up Learning Hub" +git push -u origin main +``` + +## 8. Storage and sharing data + +Data is stored **locally in each user's browser by default** (`VITE_STORAGE_PROVIDER=local`). The +app shows a "Local mode" notice, and **Settings and data** offers Export/Import of everything as +JSON. To share sessions and topics between people (SharePoint lists, Dataverse, or your own API), +follow `.github/skills/add-data-source/SKILL.md`. That skill also covers permissions: with a shared +backend, who may edit is enforced by the backend, never by the browser. + +## 9. Deploy (when you're ready) + +Deploy from a pushed commit: + +```sh +npm run build +npx ms app deploy +``` + +Deploying publishes the app to your environment. Share it with `npx ms app share` (see +`npx ms app share --help`). + +## Troubleshooting + +- **"Learning Hub is not set up yet"**: read the listed problems; each maps to step 3 or 5. +- **"... is missing operations used by the app"**: re-run step 5 to refresh the generated code. +- **`ms app` commands say the environment or app is invalid**: run `npx ms app info` and re-run + step 3 if `ms.config.json` is missing or incomplete. +- **Profiles or photos don't load**: check the Office 365 Users connection in the environment and + that your account can sign in to it. diff --git a/samples/LearningHub/.gitignore b/samples/LearningHub/.gitignore new file mode 100644 index 0000000..54905bd --- /dev/null +++ b/samples/LearningHub/.gitignore @@ -0,0 +1,34 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local +.local/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +# Managed Apps: ms.config.json, generated/ and .ms/ belong in your app's repository; +# only the packed build output stays local. +.ms/packed/ + +# Local environment +.env +.env.* +!.env.example diff --git a/samples/LearningHub/.npmrc b/samples/LearningHub/.npmrc new file mode 100644 index 0000000..214c29d --- /dev/null +++ b/samples/LearningHub/.npmrc @@ -0,0 +1 @@ +registry=https://registry.npmjs.org/ diff --git a/samples/LearningHub/AGENTS.md b/samples/LearningHub/AGENTS.md new file mode 100644 index 0000000..b761b5d --- /dev/null +++ b/samples/LearningHub/AGENTS.md @@ -0,0 +1,62 @@ +# AGENTS.md + +Guidance for coding agents working in this repository. + +## What this is + +Learning Hub is a React 19 + Vite + TypeScript app for a recurring learning series: past sessions, +sign-ups for upcoming dates, and topic requests with votes. It is hosted on Copilot Managed Runtime +(`@microsoft/managed-apps` packages, `ms` CLI) and uses the Office 365 Users connector for people. + +## Layout + +| Path | What lives there | +|---|---| +| `src/pages/` | One component per route (`Home`, `Present`, `Topics`, `SessionDetail`, `Person`, `Settings`). | +| `src/components/` | Presentational pieces (cards, dialogs, pickers). No storage or connector calls. | +| `src/lib/` | Domain logic and hooks: `sessions.ts`, `topics.ts`, `pastSessions.ts`, `sampleData.ts`, optimistic writes (`*Actions.ts`), `router.ts` (hash routes and deep links), `share.ts`, `time.ts`, `logger.ts`, `safeUrl.ts`. | +| `src/storage/` | `collections.ts` (zod schemas, the source of truth for stored data), `index.ts` (provider registry and `createStorage()`), `edit.ts` (conflict-safe read-modify-write). | +| `src/storage/core/` | Shared storage core, synced from upstream. **Do not edit.** | +| `src/connectors/` | App-owned adapters: `users.ts` (directory interface) with `office365Users.ts`, and `host.ts` with `managedAppsHost.ts`. The only code allowed to import `generated/` or `@microsoft/managed-apps/*`. | +| `src/config.ts` | Typed `VITE_*` configuration with defaults; documented in `.env.example`. | +| `scripts/` | `check-setup.mjs` (runs before dev/build) and `storage-describe.ts`. | + +## Rules + +- **Storage boundary.** Read and write data only through `src/storage` (collections and key/value + stores from `useAppStorage()` or an `AppStorage` passed in). Never use `localStorage`, + `sessionStorage` or `indexedDB` directly; ESLint enforces this outside + `src/storage/core/providers/`. +- **Connector boundary.** Only `src/connectors/*` imports `generated/`. Everything else depends on + the adapter interface (`UsersDirectory` in `src/connectors/users.ts`) so tests can use + `createFakeUsersDirectory()`. `generated/` and `.ms/` are created by the setup skill and + committed to the user's own app repository, never to this sample. +- **People are stored by directory user id**, never by email. +- **Links** from data or connectors go through `safeUrl()`. +- **No authorization in the browser.** With local storage the user owns their data. Shared backends + enforce permissions server-side (see the add-data-source skill). +- **Logging** goes through `src/lib/logger.ts` (no-op in production); never log payloads or identities. +- Keep domain logic in `src/lib` testable with `createMemoryProvider()`; add tests in `src/test/`. + +## Skills + +- `.github/skills/setup-learninghub/SKILL.md`: first-time setup (`ms auth login`, `ms app init` to create + `ms.config.json`, `ms app set-setting --show-header false`, add the Office 365 Users connector, + `.env.local`, `check-setup`). The sample ships without `ms.config.json`. +- `.github/skills/add-data-source/SKILL.md`: move storage from the browser to SharePoint, + Dataverse or a custom API. + +Both are mirrored under `.claude/skills/`. + +## Commands + +```sh +npm install +npm test # vitest; works without generated/ +npm run lint # eslint; works without generated/ +npm run typecheck # tsc -b; needs generated/ (setup skill) +npm run check-setup # verifies ms.config.json (from `npx ms app init`) and generated connector code +npm run dev # vite dev server (via `npx ms app dev` for the hosted player) +npm run build # check-setup + typecheck + vite build +npm run storage:describe # JSON Schema for every collection +``` diff --git a/samples/LearningHub/README.md b/samples/LearningHub/README.md new file mode 100644 index 0000000..4224607 --- /dev/null +++ b/samples/LearningHub/README.md @@ -0,0 +1,220 @@ +# Learning Hub + +> **Preview:** Copilot Managed Runtime is in public preview. This sample and the APIs it uses may +> change. New to the platform? Start with the [Quickstart](https://go.microsoft.com/fwlink/?LinkId=2368962) +> and the [documentation](https://go.microsoft.com/fwlink/?LinkId=2372842). + +A sample app hosted on Copilot Managed Runtime for running a recurring learning series: browse past +sessions and recordings, sign up to present on an upcoming date, and request and vote on topics. +It's built with React, Vite and TypeScript on the public +[`@microsoft/managed-apps`](https://www.npmjs.com/package/@microsoft/managed-apps) packages and the +`ms` CLI. + +## What it demonstrates + +- **A storage interface as the whole data layer.** Every read and write goes through typed + collections (`src/storage`). Data lives in the browser by default, and you can switch to a shared + backend (SharePoint, Dataverse, your own API) without touching UI code. +- **A connector behind an adapter.** The Office 365 Users connector (signed-in user, people search, + profiles and photos) is wrapped in `src/connectors/office365Users.ts`; the rest of the app and + every test use the `UsersDirectory` interface. +- **Conflict-safe, optimistic updates** with TanStack Query: votes and detail edits update + instantly and roll back with a message on failure; sign-ups re-check fresh data and use + version-checked writes (`ConflictError`) so two people can't claim the same date. +- **Hash routing with deep links** that survive being embedded in a host page (`?page=` links, + reload memory) and share links that work locally and when deployed. + +## Architecture + +```mermaid +flowchart LR + subgraph UI + P[pages/*] --> C[components/*] + end + P --> L[lib/*: sessions, topics, pastSessions, actions] + L --> S[storage: collections.ts + index.ts] + S --> R{provider registry} + R -->|local default| LS[(browser storage)] + R -.->|add-data-source skill| SH[(SharePoint / Dataverse / API)] + L --> A[connectors/users.ts interface] + A --> O[connectors/office365Users.ts] + O --> G[generated/ connector code] +``` + +| Path | Purpose | +|---|---| +| `src/pages/` | Routes: Home, Present (sign-ups and session management), Topics, Session detail, Person, Settings and data | +| `src/lib/` | Domain logic and hooks (no direct storage or connector access outside the interfaces) | +| `src/storage/collections.ts` | zod schemas for `sessions`, `topics` and `pastSessions` | +| `src/storage/index.ts` | `createStorage()` and the provider registry selected by `VITE_STORAGE_PROVIDER` | +| `src/storage/core/` | Shared storage core (providers, queries, export/import, React hooks). Don't edit. | +| `src/connectors/` | Connector and host SDK adapters; the only code that imports `generated/` or the SDK | +| `src/config.ts` | Typed configuration from `VITE_*` variables | + +## Prerequisites + +- Node.js 24.11 or later and npm +- Git 2.27 or later +- A work account that can create apps in a Power Platform environment and use the + **Office 365 Users** connector + +## Setup + +These steps mirror the setup skill in `.github/skills/setup-learninghub/SKILL.md`, which a coding +agent can follow for you ("set up this app"). For AI-assisted setup you can optionally install this +repository's agent plugin from [`../../plugins/microsoft-managed-apps`](../../plugins/microsoft-managed-apps). + +The sample doesn't include `ms.config.json` or connector code; the steps below create them for your +app. Your app gets its own platform-managed git repository, and you commit everything to it except +`.env.local`. + +1. Copy the sample into its own folder. It becomes your app's repository, so it can't stay inside a + clone of this samples repository: + + ```sh + git clone --depth 1 https://github.com/microsoft/Managed-Apps + cp -r Managed-Apps/samples/LearningHub my-learninghub # PowerShell: Copy-Item -Recurse Managed-Apps/samples/LearningHub my-learninghub + cd my-learninghub + ``` + +2. Install dependencies: + + ```sh + npm install + ``` + +3. Sign in to the CLI: + + ```sh + npx ms auth login + ``` + +4. Create the app. This creates the app, its platform-managed git repository (set up as `origin`) + and `ms.config.json`; add `--environment-id ` to pick an environment: + + ```sh + npx ms app init --display-name "Learning Hub" + ``` + +5. Hide the host header (the app draws its own top bar): + + ```sh + npx ms app set-setting --show-header false + ``` + +6. Add the Office 365 Users connector (required; it generates `generated/` and `.ms/`, which you + commit with the app): + + ```sh + npx ms app add data-source --connector shared_office365users --as action + ``` + +7. Configure the app (optional; every value has a default): + + ```sh + cp .env.example .env.local + ``` + +8. Verify and run: + + ```sh + npm run check-setup + npm run dev # or: npx ms app dev + ``` + + Open the **Local Play** URL that the dev server prints to run the app inside the player with + the live connector. + +9. Commit and push to your app's repository (git asks you to sign in the first time), then deploy + from the pushed commit: + + ```sh + git fetch origin + git reset origin/main # start from the new repository's initial commit; your files stay as they are + git branch -M main + git add -A + git commit -m "Set up Learning Hub" + git push -u origin main + npm run build && npx ms app deploy + ``` + +`npm run dev` and `npm run build` run `check-setup` first and stop with these steps if one is +missing. `npm test` and `npm run lint` work right after `npm install`. + +## Storage modes, data and privacy + +| Mode | `VITE_STORAGE_PROVIDER` | Who sees the data | +|---|---|---| +| Local (default) | `local` | Only the current browser profile. A "Local mode" notice is shown. | +| Shared | e.g. `sharepoint`, `dataverse` (added with the skill) | Everyone with access to the backend, governed by its permissions | + +What is stored: + +- **sessions**: date, status (claimed or cancelled), title, description, presenters (directory + user id plus a display-name snapshot), owner user id, linked topic id +- **topics**: title, details, requester user id, status, voter user ids, linked session date +- **pastSessions**: date, title, presenters, recording and resource links, tags, duration +- **preferences**: theme, plus small app flags (whether sample data was added, last route) + +Emails are never stored. Names, job titles and photos are fetched from the directory through the +Office 365 Users connector when shown, and cached only in memory. + +**Settings and data** (gear icon) lets each user **export** everything as a JSON file and +**import** it again, for backups or for moving from local mode to a shared backend. + +On first run in local mode the app adds a few **obviously fictional sample sessions** (marked +"Sample", with `example.com` links). Remove them with one click on the home page or in Settings; +they won't be added again. Set `VITE_SEED_SAMPLE_DATA=false` to skip them entirely. + +To share data between people, follow `.github/skills/add-data-source/SKILL.md`. In local mode +everyone manages their own copy, so any user can edit, cancel or release any session. With a shared +backend, decide who may change what in the backend's permissions; the browser is never a security +boundary. + +## Configuration + +All variables are optional. See `.env.example` for the full list with comments. + +| Variable | Default | Purpose | +|---|---|---| +| `VITE_APP_NAME` | `Learning Hub` | Name in the top bar and tab title | +| `VITE_SERIES_NAME` | `Learning Series` | Home page heading | +| `VITE_SERIES_DESCRIPTION` | (generic sentence) | Text under the heading | +| `VITE_SERIES_WEEKDAY` | `4` (Thursday) | Day of the week, 0 = Sunday | +| `VITE_SERIES_START_TIME` / `VITE_SERIES_END_TIME` | `09:00` / `10:00` | Session time (24-hour) | +| `VITE_SERIES_TIME_ZONE` | `America/Los_Angeles` | IANA time zone for dates and times | +| `VITE_SERIES_END_DATE` | (none) | Last date of the series, `yyyy-mm-dd` | +| `VITE_SERIES_WEEKS_AHEAD` | `12` | Upcoming weeks listed when there's no end date | +| `VITE_SERIES_SKIP_DATES` | (none) | Comma-separated holiday weeks | +| `VITE_STORAGE_PROVIDER` | `local` | Storage provider key in `src/storage/index.ts` | +| `VITE_APP_STORAGE_PREFIX` | `learninghub` | Prefix for this app's browser storage keys | +| `VITE_SEED_SAMPLE_DATA` | `true` | Add fictional sample sessions on first run | +| `VITE_PUBLIC_APP_URL` | (derived) | Public https URL used for share links | + +## Customization + +- **Branding:** set the variables above; replace `public/favicon.svg` and `BrandMark` in + `src/components/TopBar.tsx`; adjust colors in `src/styles/tokens.css`. +- **Data shape:** change the zod schemas in `src/storage/collections.ts`, then update the domain + functions in `src/lib/`. Run `npm run storage:describe` to see the resulting schema. +- **Another backend:** use the add-data-source skill; register the provider in + `src/storage/index.ts`. +- **Another directory:** implement `UsersDirectory` (`src/connectors/users.ts`) and pass it to + `UsersDirectoryContext.Provider` in `src/main.tsx`. + +## Scripts + +| Script | What it does | +|---|---| +| `npm run dev` | `check-setup`, then the Vite dev server; open the "Local Play" URL it prints to run the app in the player (`npx ms app dev` does the same) | +| `npm run build` | `check-setup`, `tsc -b`, `vite build` | +| `npm run typecheck` | `tsc -b` (needs the generated connector code) | +| `npm test` | Vitest unit tests (no connector code needed) | +| `npm run lint` | ESLint, including the storage and connector boundary rules | +| `npm run check-setup` | Checks `ms.config.json` and the generated Office 365 Users code | +| `npm run storage:describe` | Prints every collection as JSON Schema | +| `npm run preview` | Serves the production build locally | + +## License + +MIT. See the [LICENSE](../../LICENSE) file at the root of this repository. diff --git a/samples/LearningHub/eslint.config.js b/samples/LearningHub/eslint.config.js new file mode 100644 index 0000000..bb7d895 --- /dev/null +++ b/samples/LearningHub/eslint.config.js @@ -0,0 +1,90 @@ +import js from '@eslint/js' +import globals from 'globals' +import reactHooks from 'eslint-plugin-react-hooks' +import reactRefresh from 'eslint-plugin-react-refresh' +import tseslint from 'typescript-eslint' +import { defineConfig, globalIgnores } from 'eslint/config' + +// Storage boundary: browser storage is only touched by the providers in src/storage/core/providers. +const storageGlobals = ['localStorage', 'sessionStorage', 'indexedDB'].map((name) => ({ + name, + message: 'Use the storage interface (src/storage) instead of browser storage.', +})) +const storageProperties = ['localStorage', 'sessionStorage', 'indexedDB'].flatMap((property) => + ['window', 'globalThis', 'self'].map((object) => ({ + object, + property, + message: 'Use the storage interface (src/storage) instead of browser storage.', + })), +) +const reservedRoutes = [ + { + selector: 'Literal[value=/\\/\\.ms\\//]', + message: 'Platform-reserved /.ms/ routes are not used by this app; go through src/storage or src/connectors.', + }, + { + selector: 'TemplateElement[value.raw=/\\/\\.ms\\//]', + message: 'Platform-reserved /.ms/ routes are not used by this app; go through src/storage or src/connectors.', + }, +] + +export default defineConfig([ + globalIgnores(['dist', 'generated', '.ms', 'node_modules', 'coverage']), + { + files: ['**/*.{ts,tsx}'], + extends: [ + js.configs.recommended, + tseslint.configs.recommended, + reactHooks.configs.flat.recommended, + reactRefresh.configs.vite, + ], + languageOptions: { + globals: globals.browser, + }, + rules: { + '@typescript-eslint/no-explicit-any': 'error', + '@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true, varsIgnorePattern: '^_', argsIgnorePattern: '^_' }], + }, + }, + { + files: ['src/**/*.{ts,tsx}'], + ignores: ['src/storage/core/providers/**'], + rules: { + 'no-restricted-globals': ['error', ...storageGlobals], + 'no-restricted-properties': ['error', ...storageProperties], + 'no-restricted-syntax': ['error', ...reservedRoutes], + }, + }, + { + // Connector codegen is only imported by the app-owned adapters in src/connectors. + files: ['src/**/*.{ts,tsx}', 'scripts/**/*.ts'], + ignores: ['src/connectors/**'], + rules: { + 'no-restricted-imports': [ + 'error', + { + patterns: [ + { + group: ['**/generated', '**/generated/**'], + message: 'Import connector code only from an adapter in src/connectors.', + }, + { + group: ['@microsoft/managed-apps/*'], + message: 'Call the host SDK only from an adapter in src/connectors.', + }, + ], + }, + ], + }, + }, + { + files: ['scripts/**/*.{js,mjs,ts}', '*.config.{js,ts}'], + languageOptions: { + globals: globals.node, + }, + }, + { + files: ['scripts/**/*.{js,mjs}'], + extends: [js.configs.recommended], + }, +]) diff --git a/samples/LearningHub/index.html b/samples/LearningHub/index.html new file mode 100644 index 0000000..db11e0a --- /dev/null +++ b/samples/LearningHub/index.html @@ -0,0 +1,14 @@ + + + + + + + + Learning Hub + + +
+ + + diff --git a/samples/LearningHub/package-lock.json b/samples/LearningHub/package-lock.json new file mode 100644 index 0000000..dbde34b --- /dev/null +++ b/samples/LearningHub/package-lock.json @@ -0,0 +1,4827 @@ +{ + "name": "learninghub-template", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "learninghub-template", + "version": "0.1.0", + "license": "MIT", + "dependencies": { + "@fluentui/react-icons": "^2.0.344", + "@microsoft/managed-apps": "^0.6.3", + "@tanstack/react-query": "^5.104.2", + "react": "^19.2.6", + "react-dom": "^19.2.6", + "zod": "^4.6.7" + }, + "devDependencies": { + "@eslint/js": "^10.0.1", + "@microsoft/managed-apps-cli": "0.32.2", + "@microsoft/managed-apps-vite-plugin": "^0.4.8", + "@testing-library/react": "^16.3.3", + "@types/node": "^24.12.3", + "@types/react": "^19.2.14", + "@types/react-dom": "^19.2.3", + "@vitejs/plugin-react": "^6.0.1", + "eslint": "^10.3.0", + "eslint-plugin-react-hooks": "^7.1.1", + "eslint-plugin-react-refresh": "^0.5.2", + "globals": "^17.6.0", + "jsdom": "^30.1.3", + "tsx": "^4.23.15", + "typescript": "~6.0.2", + "typescript-eslint": "^8.59.2", + "vite": "^8.0.12", + "vitest": "^5.1.0" + }, + "engines": { + "node": ">=24.11.0" + } + }, + "node_modules/@asamuzakjp/css-color": { + "version": "7.1.9", + "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-7.1.9.tgz", + "integrity": "sha512-vZ6JQVq8Ivgz6b/IBlAf90wZviXdluY13cQOPO+nJHbmXwGrPl2GcpqUY7a55/8ZVdfONXpCFMpRijOBCHNlcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@csstools/css-calc": "^3.4.3", + "@csstools/css-color-parser": "^4.2.6", + "@csstools/css-parser-algorithms": "^4.0.2", + "@csstools/css-tokenizer": "^4.0.2", + "lru-cache": "^11.5.3" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/@asamuzakjp/css-color/node_modules/lru-cache": { + "version": "11.5.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", + "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@asamuzakjp/dom-selector": { + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-10.0.5.tgz", + "integrity": "sha512-EgmJ7oEaGQECTn3H3wmnQpEy4hKY66VvM7VQndwPIQob3p877BgbyOUE3EX0LgXQCciF2H8KMdR+RznqjMNOLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "bidi-js": "^1.1.0", + "css-tree": "^3.2.1", + "is-potential-custom-element-name": "^1.0.1", + "lru-cache": "^11.5.3" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/@asamuzakjp/dom-selector/node_modules/lru-cache": { + "version": "11.5.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", + "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/@azure/msal-node-runtime": { + "version": "0.20.6", + "resolved": "https://registry.npmjs.org/@azure/msal-node-runtime/-/msal-node-runtime-0.20.6.tgz", + "integrity": "sha512-89Al7l5c8sOEA954d35WZOg1sCa2WKfgf7KyTbN9vIkKsoZrXdJ5+CPjy8+tQqWcsJTAMbQD4OWr7V09/xN8KA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", + "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz", + "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helpers": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz", + "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.8", + "@babel/types": "^7.29.8", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", + "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", + "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", + "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.29.10", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.10.tgz", + "integrity": "sha512-EMCx3AGZ3WfAl6ht7AyQoPm2Lh+BGYEMdc4Q6Hf7uSCDOZFuLq44qNwL+iaim8VlyYhRAo4X43+weadK8ZB4Yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.8" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz", + "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.8" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.29.10", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.10.tgz", + "integrity": "sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.29.10", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.10.tgz", + "integrity": "sha512-B3lYAs2nkKskbgQ1nfy8Ma9ao9Q1rntTAQHrzzyDuj+TSO+X3le6PfWwqDvodsb+OumE10eMFfuMCTQSQ5iuIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.8", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.9", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.8", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz", + "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bramus/specificity": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/@bramus/specificity/-/specificity-2.4.3.tgz", + "integrity": "sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "css-tree": "^3.2.1" + }, + "bin": { + "specificity": "bin/cli.js" + } + }, + "node_modules/@cacheable/memory": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz", + "integrity": "sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/utils": "^2.5.0", + "@keyv/bigmap": "^1.3.1", + "hookified": "^1.15.1", + "keyv": "^5.6.0" + } + }, + "node_modules/@cacheable/utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@cacheable/utils/-/utils-2.5.0.tgz", + "integrity": "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.5.1", + "keyv": "^5.6.0" + } + }, + "node_modules/@csstools/color-helpers": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.1.2.tgz", + "integrity": "sha512-grhRy3OKmniaAEKXMjua5z/EODX0MSqBGjunw8+j/3HQjOnahs2AGhvEOIYVUWcU6ScApbhLhVrQTX8XqrMrow==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT-0", + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/@csstools/css-calc": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.4.3.tgz", + "integrity": "sha512-iex20d8CHVkyvg6B7UKV7uHnI2Bqo9g+EFfT9E0y+GvTvhZ/DwONJ+9aKb1dlqm0ZiGsL5RXjp0fCoJYnkeDjA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "@csstools/css-parser-algorithms": "^4.0.2", + "@csstools/css-tokenizer": "^4.0.2" + } + }, + "node_modules/@csstools/css-color-parser": { + "version": "4.2.7", + "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.2.7.tgz", + "integrity": "sha512-zgm9yjQz5iJB4VL8RyVwd71TWB8Q89FSxt/NzXoWqPSkEBOVtn9L6vAPtSc9hpKfB0Awo/AL2VKFHjYetBLFHQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "dependencies": { + "@csstools/color-helpers": "^6.1.2", + "@csstools/css-calc": "^3.4.3" + }, + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "@csstools/css-parser-algorithms": "^4.0.2", + "@csstools/css-tokenizer": "^4.0.2" + } + }, + "node_modules/@csstools/css-parser-algorithms": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.2.tgz", + "integrity": "sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "@csstools/css-tokenizer": "^4.0.2" + } + }, + "node_modules/@csstools/css-syntax-patches-for-csstree": { + "version": "1.1.16", + "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.16.tgz", + "integrity": "sha512-LsDbJPP/B8cPasUJyTA5S99F7C4G93ngW8hUluXz8CFeOaaRnBPtBiIlvgcPYU0HmHNz8CXg+1vwFrIB4F6Dgw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT-0", + "peerDependencies": { + "css-tree": "^3.2.1" + }, + "peerDependenciesMeta": { + "css-tree": { + "optional": true + } + } + }, + "node_modules/@csstools/css-tokenizer": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.2.tgz", + "integrity": "sha512-OoKoR0f76dCY666JlcbhmVTs2drYj1GUXZTYTcbUgJjh9Nv41aFfZ21bPQTERm5+L5cBDo466NltB2lplS5GBw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/@emotion/hash": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz", + "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==", + "license": "MIT" + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.1.tgz", + "integrity": "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.1.tgz", + "integrity": "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.1.tgz", + "integrity": "sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.1.tgz", + "integrity": "sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.1.tgz", + "integrity": "sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.1.tgz", + "integrity": "sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.1.tgz", + "integrity": "sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.1.tgz", + "integrity": "sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.1.tgz", + "integrity": "sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.1.tgz", + "integrity": "sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.1.tgz", + "integrity": "sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.1.tgz", + "integrity": "sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.1.tgz", + "integrity": "sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.1.tgz", + "integrity": "sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.1.tgz", + "integrity": "sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.1.tgz", + "integrity": "sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz", + "integrity": "sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.1.tgz", + "integrity": "sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.1.tgz", + "integrity": "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.1.tgz", + "integrity": "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.1.tgz", + "integrity": "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.1.tgz", + "integrity": "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.1.tgz", + "integrity": "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.1.tgz", + "integrity": "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.1.tgz", + "integrity": "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.1.tgz", + "integrity": "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz", + "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.23.5", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", + "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^3.0.5", + "debug": "^4.3.1", + "minimatch": "^10.2.4" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz", + "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/core": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", + "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/js": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", + "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "eslint": "^10.0.0" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/@eslint/object-schema": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz", + "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.3.tgz", + "integrity": "sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1", + "levn": "^0.4.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@exodus/bytes": { + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/@exodus/bytes/-/bytes-1.16.0.tgz", + "integrity": "sha512-IcpW84uEn3N7ETtNZMlxKhfl6Pec8rUNGOTBtWbK1FKhJxIFAptZyVrvVRVBimAJxJCgc3PxepxkdWWG4DVzfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + }, + "peerDependencies": { + "@noble/hashes": "^1.8.0 || ^2.0.0" + }, + "peerDependenciesMeta": { + "@noble/hashes": { + "optional": true + } + } + }, + "node_modules/@fluentui/react-icons": { + "version": "2.0.344", + "resolved": "https://registry.npmjs.org/@fluentui/react-icons/-/react-icons-2.0.344.tgz", + "integrity": "sha512-pvEVFOUrrtmIglqdfhDVX6XT80a5z9kX+Tso6NAzgmkko8nlURhOzNwvZZlsCK4yQseH/4NQdYoN8ijO7IHdNw==", + "license": "MIT", + "dependencies": { + "@griffel/react": "^1.6.1", + "tslib": "^2.1.0" + }, + "peerDependencies": { + "react": ">=16.8.0 <20.0.0" + } + }, + "node_modules/@griffel/core": { + "version": "1.21.4", + "resolved": "https://registry.npmjs.org/@griffel/core/-/core-1.21.4.tgz", + "integrity": "sha512-Pt6tjaBCOYYC76L7U5yl3r+UqOGXEbeskvYuqUsUzaVQR2ueoMErA2+bRjvVPFr8NvvhPVU+QNBqd9Deg5st2A==", + "license": "MIT", + "dependencies": { + "@emotion/hash": "^0.9.0", + "@griffel/style-types": "^1.4.3", + "csstype": "^3.2.3", + "rtl-css-js": "^1.16.1", + "stylis": "^4.4.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@griffel/react": { + "version": "1.7.8", + "resolved": "https://registry.npmjs.org/@griffel/react/-/react-1.7.8.tgz", + "integrity": "sha512-kTegyzZoRqpRNUQ8Fd6QWLC8MUqSyO+/GDC/ffbEG8Y6JDole98rBrOVA/NN9PDD61/ktsd2UqtsTNwtAG6q3w==", + "license": "MIT", + "dependencies": { + "@griffel/core": "^1.21.4", + "tslib": "^2.1.0" + }, + "peerDependencies": { + "react": ">=16.14.0 <20.0.0" + } + }, + "node_modules/@griffel/style-types": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/@griffel/style-types/-/style-types-1.4.3.tgz", + "integrity": "sha512-sFxMK19oFUPQSmyCKT1Pvj5Nu/ODvhMczqhGjVAoksDTXUj1za40WA0CXqV3o+xxKWPec+K/rbS78jJLmomsQA==", + "license": "MIT", + "dependencies": { + "csstype": "^3.2.3" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/types": "^0.15.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.2", + "@humanfs/types": "^0.15.0", + "@humanwhocodes/retry": "^0.4.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/types": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@keyv/bigmap": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz", + "integrity": "sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.4.0", + "hookified": "^1.15.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "keyv": "^5.6.0" + } + }, + "node_modules/@keyv/serialize": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.1.1.tgz", + "integrity": "sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@microsoft/managed-apps": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@microsoft/managed-apps/-/managed-apps-0.6.3.tgz", + "integrity": "sha512-KQOybxGr/+PNqJiOsa2I4lQ1A6rH/tjXxRlc7EtMkH3NDE1rYq2EfShVMICfvcSnx6ZgREwsJWtDCf7cEsv2Jg==", + "license": "MIT", + "dependencies": { + "@microsoft/managed-apps-common": "0.32.0" + } + }, + "node_modules/@microsoft/managed-apps-cli": { + "version": "0.32.2", + "resolved": "https://registry.npmjs.org/@microsoft/managed-apps-cli/-/managed-apps-cli-0.32.2.tgz", + "integrity": "sha512-rxege9CH0hFBzDKOIAXgALapG3k8iRFGlXPXOys+yaCuAylWilQmUvfJKdnxp/HHJHkyq/NCvleCK8JsbpH1BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/msal-node-runtime": "0.20.6", + "@napi-rs/keyring": "2.1.0", + "esbuild": "0.28.1", + "open": "11.0.0" + }, + "bin": { + "ms": "dist/Bin.js" + }, + "engines": { + "git": ">=2.27.0", + "node": ">=24.11.0" + } + }, + "node_modules/@microsoft/managed-apps-common": { + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/@microsoft/managed-apps-common/-/managed-apps-common-0.32.0.tgz", + "integrity": "sha512-qAjkEhuJtyVSCYfJexA9ukJkbO355VvAqF7IKAqKHesAuITY+20RMvVYvHaXbPQruCZsSf6sXfwy/S2fVra+oA==", + "license": "MIT", + "dependencies": { + "zod": "4.4.3" + }, + "peerDependencies": { + "@microsoft/1ds-core-js": "4.3.11", + "@microsoft/1ds-post-js": "4.3.11" + }, + "peerDependenciesMeta": { + "@microsoft/1ds-core-js": { + "optional": true + }, + "@microsoft/1ds-post-js": { + "optional": true + } + } + }, + "node_modules/@microsoft/managed-apps-common/node_modules/zod": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", + "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/@microsoft/managed-apps-dev-gateway": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@microsoft/managed-apps-dev-gateway/-/managed-apps-dev-gateway-0.5.1.tgz", + "integrity": "sha512-cS7HM7/sXc27uCryYMdR2DWr9/gPQ95cxROlq/yJ9g+1pPc2tkDDTsfdPWQh/MM6aPdg8NfkDhQ0iEVp5e1PzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@microsoft/managed-apps-common": "0.32.0", + "zod": "4.4.3" + } + }, + "node_modules/@microsoft/managed-apps-dev-gateway/node_modules/zod": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", + "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/@microsoft/managed-apps-vite-plugin": { + "version": "0.4.8", + "resolved": "https://registry.npmjs.org/@microsoft/managed-apps-vite-plugin/-/managed-apps-vite-plugin-0.4.8.tgz", + "integrity": "sha512-2Se8S+yMuoFtcjIF57PZ8/jCzm90abY+a+w0rrTztR1VV1/PdhOARUTyqk03uwoqvxaiKSxHpLLTkQ74cq0P8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@microsoft/managed-apps-common": "0.32.0", + "@microsoft/managed-apps-dev-gateway": "0.5.1", + "picocolors": "1.1.1" + }, + "peerDependencies": { + "vite": ">=5.0.0" + } + }, + "node_modules/@napi-rs/keyring": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring/-/keyring-2.1.0.tgz", + "integrity": "sha512-km9J3fomkGSLpImpelq0cMvLBrJ5eVlTzuWdG3Iy0laP6gU90MmHYjqhUhG32aYq0/0++r2TLuAA9xlnh4XU1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "optionalDependencies": { + "@napi-rs/keyring-darwin-arm64": "2.1.0", + "@napi-rs/keyring-darwin-x64": "2.1.0", + "@napi-rs/keyring-freebsd-x64": "2.1.0", + "@napi-rs/keyring-linux-arm-gnueabihf": "2.1.0", + "@napi-rs/keyring-linux-arm64-gnu": "2.1.0", + "@napi-rs/keyring-linux-arm64-musl": "2.1.0", + "@napi-rs/keyring-linux-riscv64-gnu": "2.1.0", + "@napi-rs/keyring-linux-x64-gnu": "2.1.0", + "@napi-rs/keyring-linux-x64-musl": "2.1.0", + "@napi-rs/keyring-win32-arm64-msvc": "2.1.0", + "@napi-rs/keyring-win32-ia32-msvc": "2.1.0", + "@napi-rs/keyring-win32-x64-msvc": "2.1.0" + } + }, + "node_modules/@napi-rs/keyring-darwin-arm64": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-darwin-arm64/-/keyring-darwin-arm64-2.1.0.tgz", + "integrity": "sha512-j6ATTOhmPW+N5EKwi8Yzn6P4Bz/uqnxzyYvqOL73/dgzDSYG5pS5eprqpVmOLse68WUTf79ZMqz97HnfvirJ9g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-darwin-x64": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-darwin-x64/-/keyring-darwin-x64-2.1.0.tgz", + "integrity": "sha512-54Q803nguiOaQzBG2h4uIkacI0eLGAlzzdpxPNi6IZtXbjqbPI4AQ86GrQy25tw3czBqRPBoGu0lHP2U+/f5iA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-freebsd-x64": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-freebsd-x64/-/keyring-freebsd-x64-2.1.0.tgz", + "integrity": "sha512-BL7ngJAYQBrUp1PTF8enOXOIVfxN51RbwVOEQ+8eAjWypF/5Ipqs8oQoMqkuc0wAbk+vatnNVjdKCIFa/HPglg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-linux-arm-gnueabihf": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-arm-gnueabihf/-/keyring-linux-arm-gnueabihf-2.1.0.tgz", + "integrity": "sha512-JYgbCDk+giss7lKla8NTXhM/fLj+Hrfgr3xwKQ8jKn8qMD6vXLwYcfK8HJ9VoAcjIeYEUpCL6dRszJC5M4zFNg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-linux-arm64-gnu": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-arm64-gnu/-/keyring-linux-arm64-gnu-2.1.0.tgz", + "integrity": "sha512-+PMONFQ+2GkBXG7vRG2spgR73bNCMeVpNopHoSmhj2E+5Gu6zJooRBjoaIZKj6hCyrOU8pXAhoZ22EEFQ/4YeQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-linux-arm64-musl": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-arm64-musl/-/keyring-linux-arm64-musl-2.1.0.tgz", + "integrity": "sha512-dKjiXKTHQjAS57hL0HVzLpW9XYNGFpfYkr/51FzIIvbZR08PAnzIDYKwShoNYGvjQP6+rDFf1a5Utl0aWwcFrA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-linux-riscv64-gnu": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-riscv64-gnu/-/keyring-linux-riscv64-gnu-2.1.0.tgz", + "integrity": "sha512-tqhb0ofhtEJ2+ZfmlKTDHbmIoNSz+SSTPWRgMfSVCgI4JVkqDdfcmIOcThZfRffJ3QI9C3Tng+rZL24acmD+GA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-linux-x64-gnu": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-x64-gnu/-/keyring-linux-x64-gnu-2.1.0.tgz", + "integrity": "sha512-7ZA0ssxfpuGXV8S5Ct1ZJoEL3sKg/8u7mIL4SK9/PwKBhxIq7K+FVcjnggNsuFnEhHTX+HYl9hHDrlX0odZnHg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-linux-x64-musl": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-linux-x64-musl/-/keyring-linux-x64-musl-2.1.0.tgz", + "integrity": "sha512-dI74Fzl03CrN2TEP7YVBtUBFgyRTRPyK1LMcIgAUfgW3o6f5SD1a8EsfT82+brpFOltjOhacIlFiYOkYtSI5Fg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-win32-arm64-msvc": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-win32-arm64-msvc/-/keyring-win32-arm64-msvc-2.1.0.tgz", + "integrity": "sha512-SltrXXkEe9a+Jv8ConDkZW2Mdr0srpWurS7oYkYP1Mp07DNBpFyqawRnyo4p7ZvQU3e+R6irj/Fq0epCCvVUXA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-win32-ia32-msvc": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-win32-ia32-msvc/-/keyring-win32-ia32-msvc-2.1.0.tgz", + "integrity": "sha512-l5wJQhqXkAfQ4FGxoRh0wMpL9VxVmfiYI5TTeOGNupuVsQvbHmysh8gfDQBBWVhyMENHJS2OqOSYIuqVjumAtA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/keyring-win32-x64-msvc": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@napi-rs/keyring-win32-x64-msvc/-/keyring-win32-x64-msvc-2.1.0.tgz", + "integrity": "sha512-3zYwO7dhJiUNyv2te81ujXm2vGxHwgx+z2eBm0dTYe3aWpvKQVzpfxCp/7cViJs8duVYE04wVOgXiRhRCMEq2w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@oxc-project/types": { + "version": "0.155.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.155.0.tgz", + "integrity": "sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/oxc-project" + } + }, + "node_modules/@rolldown/binding-android-arm-eabi": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.15.tgz", + "integrity": "sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.15.tgz", + "integrity": "sha512-xD7DdZCrbThKuxNg7ooQmvp07ys4J/pnSEMTG3/OdOWl6daC67m/Q4fL78sRHMxTH/N4fGUbYhcPM0MF5WFHkg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.15.tgz", + "integrity": "sha512-m2WuQ6r0B4OTYxyPpNLtXaMRbRDUbG8YQV2Q3KTdSSK8Th6KHCnC8jVCJt8bvYeSB5WivkkNbc85mKadaSdOxA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.15.tgz", + "integrity": "sha512-5RtnsHM36nodM9WbMy+zip0LGS/G+y5wro5RHrpOlr4ac24+1zSi9kiV2MP1myZeZ/ifEHfulQcWjnAXzc2C2A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.15.tgz", + "integrity": "sha512-g3l09pyFqhu+135JKkbkwiKGQmwU5hUMUPJ4VdBADvuqR8d33L6H578rh8m7rtxbdp+VmX/+nzI7nvhSZlzpUQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.15.tgz", + "integrity": "sha512-nIe3VugI97nGQtspPxDqA4sXMUpeiocKIP/CqpY/u/vgbT+alX+cVxu1C/oVBPKg4feNTmYovE91v4DgXvXNwQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.15.tgz", + "integrity": "sha512-iTBjXx+B5QSvgI89lJfmqh4wTh8NabR1YZIIN3hNx4zSG0EVfVqkOvLulNpG4251pbd6/IAmZ/LefVk1Y4rPhw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.15.tgz", + "integrity": "sha512-uN26XOnVR7rqQupG3V9oAG2EGGatWjcJHOeDOHUFCh4TBWmP2tHTFoVN13aYbwfm0aHqJAEmcwhAu6sooIjfqQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.15.tgz", + "integrity": "sha512-9nWkcdd+H+XhaA3fQIwpHnKIrfx/PQ6rO0pivr78Og07tXlUlctBBJoEYLPfhTmCR/QxEVdn6uPjHV5SymPhdw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.15.tgz", + "integrity": "sha512-Ggh0ciFjLwIusLSLz7LZYEaGdxOAUJXI+Qu5JCbhPJJHEt8vP+IjRATTJheiJsdzzTYgUiHUiw3X1Ea3ZpMBdA==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.15.tgz", + "integrity": "sha512-FHg60rS6DBePAYZ9X9F67x+JObFdmgn6tupA1C/a3B+CufFmTD4mX+e8M75tCiAO3foR/6xwVBI0KQiI7sn/rw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.15.tgz", + "integrity": "sha512-/cvV/7v5VGz/moiz0XKRj2dE8DzsKyhIu1KpOvJGPjRywg3yscON889UGvAe8zfiJLHup7VLjBduoGWi3HusWQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.15.tgz", + "integrity": "sha512-MyzC5Hrv/sm+Z7TSGKP/j8001RO2xQm1zOpCNVL4j0cY/VhBZviludA2YFQ7i4lH6ZAXxQm0lcMdBzM+99mE7w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.15.tgz", + "integrity": "sha512-+PgYiS+AH5omy6L45ZLxybasauJaj3M8buoT83D+nzPmCayXlxUV9hydhciCKVyIg0B/v0BtXPDE1uGqNwCPpg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.15.tgz", + "integrity": "sha512-HFZd2QNQYn1JbIi+Hpd7H+r/lkWxcfIu28nirZ6eCn2LafuvmExMlb/P96Sfx5tf7pPArw39IdhmCF8vmV+NhQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tanstack/query-core": { + "version": "5.104.5", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.104.5.tgz", + "integrity": "sha512-Q94gI8Opd+CbdVNOdj8ZCyV8WqLYitrDq1t96Xc8WZT6lY0r5iRnJLXYDxMex7EEf2v+mXvn4FcjaBKSxXZQ9A==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "node_modules/@tanstack/react-query": { + "version": "5.104.5", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.104.5.tgz", + "integrity": "sha512-RORgFe052U+93weaNuqg7qHq7vNVNzXN/VrXqD4bbAuQCWUqOl2lV5Ui9flWk5CVvMyL/Bh27QWhzwH0aaOx9g==", + "license": "MIT", + "dependencies": { + "@tanstack/query-core": "5.104.5" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "@types/react": "^18 || ^19", + "react": "^18 || ^19" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@testing-library/dom": { + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.2.tgz", + "integrity": "sha512-yzr2S9HyAIdhz2/6qHgbs665Q7PKVcDF05vsOlHPxG1mo36gKVesdYVeDLnXgfjJ03CrKRk08knc6+E/9m8v2Q==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/code-frame": "^7.10.4", + "@babel/runtime": "^7.12.5", + "@types/aria-query": "^5.0.1", + "aria-query": "5.3.0", + "dom-accessibility-api": "^0.5.9", + "lz-string": "^1.5.0", + "picocolors": "1.1.1", + "pretty-format": "^27.0.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@testing-library/react": { + "version": "16.3.3", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.3.tgz", + "integrity": "sha512-Uo193NgQbPMz6lrrhtRQQFcMC6Re/ELLFbbuVL30WDlZxlpZf9/lMHTAVxPRLw1q1iu9OJmR1c2BLiENRstdBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.12.5" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@testing-library/dom": "^10.0.0", + "@types/react": "^18.0.0 || ^19.0.0", + "@types/react-dom": "^18.0.0 || ^19.0.0", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@types/aria-query": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", + "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/@types/chai": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz", + "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/deep-eql": "*", + "assertion-error": "^2.0.1" + } + }, + "node_modules/@types/deep-eql": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", + "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/esrecurse": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", + "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "24.19.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.2.tgz", + "integrity": "sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": ">=7.24.0 <7.24.7" + } + }, + "node_modules/@types/react": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz", + "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz", + "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.3.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.0.tgz", + "integrity": "sha512-aysKgysPX9XOv/dk95UkvUDe++Q3n3dJPG9CEWT3RUccxfkPJ+Qn6nhKPDhZXU6Ofo9kgwGWwKyQCnZIXTgngg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.72.0", + "@typescript-eslint/type-utils": "8.72.0", + "@typescript-eslint/utils": "8.72.0", + "@typescript-eslint/visitor-keys": "8.72.0", + "ignore": "^7.0.5", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.72.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { + "version": "7.0.13", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.13.tgz", + "integrity": "sha512-2E8Q6rh+1RRSq/YdaGsNfXsEZy9FVqv6BSSrkmZJP7BnaoPnRfKL+YaofPvP+5rzdk144qSm6i4+hvPgUcbV4Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.0.tgz", + "integrity": "sha512-0O+x3ynciD6zuXb1CKSu165haQV6ey53DKhHHUnujP7U+XlltJG+/keT0Xhd1HXCze+IHf7Tvt39ovyepX/LNw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.72.0", + "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/typescript-estree": "8.72.0", + "@typescript-eslint/visitor-keys": "8.72.0", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/project-service": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.0.tgz", + "integrity": "sha512-bzHngBbmIgzj6TsTjVUCntGx6FFLgE7mPjpO0PzHycOaZHXqS43XnrkFIHRS16LLr/xO6FHSXG3GJFo/F4bSBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/tsconfig-utils": "^8.72.0", + "@typescript-eslint/types": "^8.72.0", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.0.tgz", + "integrity": "sha512-JewPyJOYcXBSAS7PIgufscHOwZqhTGyBRiQJhhuDln66tMchxvvt7nJ90JKKIoOelmdHA3kAQbm9cEUHc4JSEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/visitor-keys": "8.72.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.0.tgz", + "integrity": "sha512-0vbxCf7xLVPSjcOdm6eQbgViH8EDJ8xnl1laLT9yoqSz2YmcSfSg5Vdl0JUvZf6rcuJ0ZivJIuMD4edTg8obaA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.0.tgz", + "integrity": "sha512-gEXxmmbSTSOVTC37IYYvremOM31v+UN2W772bJxmVYPhAOPSUxtacyb7wkm1EhkYKU6KzFJsdU44DCV4to0LWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/typescript-estree": "8.72.0", + "@typescript-eslint/utils": "8.72.0", + "debug": "^4.4.3", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.0.tgz", + "integrity": "sha512-Adfoy59kxNEjT5E5fnyrp7GpHYuWs8ONbdohu4ez6IU46qDq8LltG90tLmkucZB2uhYL8mqBjtXqGd8yhfjXqQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.0.tgz", + "integrity": "sha512-gwLfFgWcw15tN2KXDCJvxEOQjPn+P3j/n3eSqkZ5sX4VpW9Cosodr+tWwBZRvJT3TcKx6HnPRGZMCNAiP1Xhug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/project-service": "8.72.0", + "@typescript-eslint/tsconfig-utils": "8.72.0", + "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/visitor-keys": "8.72.0", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.0.tgz", + "integrity": "sha512-0up3oArJZBYnzOaEXKo8DmI43QvMZyPoFEt9LWzRJcyl/RcJjfKKPebknN1VbTgXBf3M/KggUh5uUMdURLnseg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.72.0", + "@typescript-eslint/types": "8.72.0", + "@typescript-eslint/typescript-estree": "8.72.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.0.tgz", + "integrity": "sha512-E2mroviasaWecDzTGiGMtuEguuLVOeRggnrIn93CJuxYJzQBHbyymlT08aVQydbBal5538o+JkBKXh2sRuCyIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.72.0", + "eslint-visitor-keys": "^5.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@vitejs/plugin-react": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.1.2.tgz", + "integrity": "sha512-fhJNGUdscQa4HkI0xFxwonWyhnVReCPDbXI7FH7jmzpnVCrFQI7PRrhWecO263610vOrs9tr2Y4xcf8uAdFxbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rolldown/pluginutils": "^1.0.1" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", + "babel-plugin-react-compiler": "^1.0.0", + "oxc-transform-react": "^0.152.0", + "vite": "^8.0.0" + }, + "peerDependenciesMeta": { + "@rolldown/plugin-babel": { + "optional": true + }, + "babel-plugin-react-compiler": { + "optional": true + }, + "oxc-transform-react": { + "optional": true + } + } + }, + "node_modules/@vitest/mocker": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.1.0.tgz", + "integrity": "sha512-5umB9/jlWcqVS6fsrFmv5Gdnpu6wAUio/lEOwAmvB7v+lFo/IW2B9FhAD0p19GCULTgMzLCdUmuCDCnAzWgppQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.31", + "@vitest/spy": "5.1.0", + "estree-walker": "^3.0.3", + "magic-string": "^1.4.3" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "msw": "^2.4.9 || ^3.0.0", + "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } + } + }, + "node_modules/@vitest/spy": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.1.0.tgz", + "integrity": "sha512-2DPO5OMHWKrBngC+fCmTQqemNF0gidRhp3lxbBmRhW+M1XJrfgPpqNqWVevXtn2f2ufD5ZaR1B6B641aAlcX5A==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/acorn": { + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.19.0.tgz", + "integrity": "sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/aria-query": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", + "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "dequal": "^2.0.3" + } + }, + "node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.11.31", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.31.tgz", + "integrity": "sha512-b0k7wXlWjpuL/Uxb/pYlpjY0ej5BjAmurtPUk3eRGuloI4yjK32m8TiKUQ81l1ptcLjKS/KH2+uqIolZti1x4Q==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/bidi-js": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.1.0.tgz", + "integrity": "sha512-fX1Onk0tdVPC7obPWB5EbJ1z7NVhLq4m2xZLq2YXBkxzMXIGRpNMU88n0EPgWseKl12J7zXs7qrDxPK4sRs2fg==", + "dev": true, + "license": "MIT", + "dependencies": { + "require-from-string": "^2.0.2" + } + }, + "node_modules/brace-expansion": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/browserslist": { + "version": "4.29.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.4.tgz", + "integrity": "sha512-2TcbbiwXEq+N0kD36tykpCfyyQigUXmuwNQbnPp4Xk4PX9JOqVIKjJlIDjpH7uY6tmRGoAd+apeT1p60T8wsdA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.11.29", + "caniuse-lite": "^1.0.30001816", + "electron-to-chromium": "^1.5.459", + "node-releases": "^2.0.59", + "update-browserslist-db": "^1.3.4" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bundle-name": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.1.tgz", + "integrity": "sha512-DdH81/zPLVS11EUgWq3tEu/xn+EzljlMYooDNdzWEnFha3R3NBMpMV1UqYIpjYHV/SgpFKMIX1Oh7o06SjM/oA==", + "dev": true, + "license": "MIT", + "dependencies": { + "run-applescript": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cacheable": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz", + "integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/memory": "^2.2.0", + "@cacheable/utils": "^2.5.0", + "hookified": "^1.15.0", + "keyv": "^5.6.0", + "qified": "^0.10.1" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001819", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001819.tgz", + "integrity": "sha512-LFUqIIAwpzsIuevnKnsR9qnStBcgzPShTX61lBwN9uFkkf8o8zLiebEjbW8AYtZiF+1YKDWfdt/pWDtMuG8Xwg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chai": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-6.3.0.tgz", + "integrity": "sha512-XWAtwJ6OHO+tj0EKCs0Y2UamnyOxseZWltU4x2U2wh8g4AigdjwvtUjvLP2tqkA/avxHEtzxNaqGq/YGNwckKg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-tree": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", + "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdn-data": "2.27.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + } + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "license": "MIT" + }, + "node_modules/data-urls": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-8.0.0.tgz", + "integrity": "sha512-JQUCCK+/CAGbGGx618PlFZMXH81Jtj7t73CHv9dd/zVWvxgGT2zLFRjnKb+Ng46GIwcy+f7f88qd4duqllK+WQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-mimetype": "^5.0.0", + "whatwg-url": "^17.1.2" + }, + "engines": { + "node": "^22.14.0 || >=24.0.0" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decimal.js": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz", + "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==", + "dev": true, + "license": "MIT" + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/default-browser": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.1.tgz", + "integrity": "sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", + "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/dom-accessibility-api": { + "version": "0.5.16", + "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz", + "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/electron-to-chromium": { + "version": "1.5.463", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.463.tgz", + "integrity": "sha512-nVWNU6ltFjopvOdD44J4zoBkgO0M+WZiFKKFV7EjebOH9z0KNphk6bCEjplXtJofL21ARIuuwWOCsFkBVklm6w==", + "dev": true, + "license": "ISC" + }, + "node_modules/entities": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-9.0.0.tgz", + "integrity": "sha512-oJFNDJg3kTPwAD1cNn2+WmUq4wFoo09npc3Ydf1D7ED4smRiWrsKnaLxykrTWgyGEcusc87P5dxlAleol9kpkg==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/es-module-lexer": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.2.tgz", + "integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==", + "dev": true, + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.28.1", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz", + "integrity": "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.28.1", + "@esbuild/android-arm": "0.28.1", + "@esbuild/android-arm64": "0.28.1", + "@esbuild/android-x64": "0.28.1", + "@esbuild/darwin-arm64": "0.28.1", + "@esbuild/darwin-x64": "0.28.1", + "@esbuild/freebsd-arm64": "0.28.1", + "@esbuild/freebsd-x64": "0.28.1", + "@esbuild/linux-arm": "0.28.1", + "@esbuild/linux-arm64": "0.28.1", + "@esbuild/linux-ia32": "0.28.1", + "@esbuild/linux-loong64": "0.28.1", + "@esbuild/linux-mips64el": "0.28.1", + "@esbuild/linux-ppc64": "0.28.1", + "@esbuild/linux-riscv64": "0.28.1", + "@esbuild/linux-s390x": "0.28.1", + "@esbuild/linux-x64": "0.28.1", + "@esbuild/netbsd-arm64": "0.28.1", + "@esbuild/netbsd-x64": "0.28.1", + "@esbuild/openbsd-arm64": "0.28.1", + "@esbuild/openbsd-x64": "0.28.1", + "@esbuild/openharmony-arm64": "0.28.1", + "@esbuild/sunos-x64": "0.28.1", + "@esbuild/win32-arm64": "0.28.1", + "@esbuild/win32-ia32": "0.28.1", + "@esbuild/win32-x64": "0.28.1" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "10.13.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.13.0.tgz", + "integrity": "sha512-UohDjD4zSzEwhf58M3O7vc/ycc8O1I7dNlhtD0WxE8Px8EHNJKtUwzBqrzeGhisRuv2ag4sAYswszCJRgKXYUg==", + "dev": true, + "license": "MIT", + "workspaces": [ + "packages/*" + ], + "dependencies": { + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.2", + "@eslint/config-array": "^0.23.5", + "@eslint/config-helpers": "^0.7.0", + "@eslint/core": "^1.2.1", + "@eslint/plugin-kit": "^0.7.3", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^9.1.2", + "eslint-visitor-keys": "^5.0.1", + "espree": "^11.2.0", + "esquery": "^1.7.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "11.1.5 || >11.1.6 <12", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "minimatch": "^10.2.5", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.1.1.tgz", + "integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.24.4", + "@babel/parser": "^7.24.4", + "hermes-parser": "^0.25.1", + "zod": "^3.25.0 || ^4.0.0", + "zod-validation-error": "^3.5.0 || ^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.7.tgz", + "integrity": "sha512-XhJSzLljuYD4UjNuFGJu2v7aD3sqNVK12w5/DCUfrNfHWegZo2+TsavNx8MuxMwEquuFAzNbNfXKU0WoZ+YUIg==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": "^9 || ^10" + } + }, + "node_modules/eslint-scope": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", + "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@types/esrecurse": "^4.3.1", + "@types/estree": "^1.0.8", + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", + "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.16.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^5.0.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expect-type": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz", + "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/file-entry-cache": { + "version": "11.1.5", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-11.1.5.tgz", + "integrity": "sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^6.1.23" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "6.1.23", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.23.tgz", + "integrity": "sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cacheable": "^2.5.0", + "flatted": "^3.4.2", + "hookified": "^1.15.0" + } + }, + "node_modules/flatted": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", + "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "17.13.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.13.0.tgz", + "integrity": "sha512-RwMTC61u7hrG3ZJMkZQOK4JLJrKS8QtoTii63EmWvFXHqycY9FObBJQCbsLxSO8kjKhWE5kV1GC+Vb1g3RI0Zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/hashery": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz", + "integrity": "sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^1.15.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/hermes-estree": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz", + "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==", + "dev": true, + "license": "MIT" + }, + "node_modules/hermes-parser": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz", + "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hermes-estree": "0.25.1" + } + }, + "node_modules/hookified": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.15.1.tgz", + "integrity": "sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==", + "dev": true, + "license": "MIT" + }, + "node_modules/html-encoding-sniffer": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-7.0.0.tgz", + "integrity": "sha512-UikN5yr7xsCDAq87Or5or0PAlD3HJJOKVzM05az588WnpDJ4Ux7a2A53Qi6gofGg2/EtvF/H4hCi/TXfCW4Y6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@exodus/bytes": "^1.15.1" + }, + "engines": { + "node": "^22.13.0 || >=24.0.0" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-in-ssh": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-in-ssh/-/is-in-ssh-1.0.0.tgz", + "integrity": "sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-wsl": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz", + "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-inside-container": "^1.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsdom": { + "version": "30.1.3", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-30.1.3.tgz", + "integrity": "sha512-hQMUPvRgN7KxsfIytDQji7bimuJeRQa6Qo5+iuiZQk5CafeRxLIA10/cG5YCBFNpD9RO3oqIiN4CO1Y44kxqXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@asamuzakjp/css-color": "^7.1.3", + "@asamuzakjp/dom-selector": "^10.0.3", + "@bramus/specificity": "^2.4.2", + "@csstools/css-syntax-patches-for-csstree": "^1.1.15", + "@exodus/bytes": "^1.16.0", + "css-tree": "^3.2.1", + "data-urls": "^8.0.0", + "decimal.js": "^10.6.0", + "html-encoding-sniffer": "^7.0.0", + "is-potential-custom-element-name": "^1.0.1", + "lru-cache": "^11.5.3", + "parse5": "^8.0.1", + "saxes": "^6.0.0", + "tough-cookie": "^6.0.2", + "undici": "^8.12.1", + "w3c-xmlserializer": "^6.0.0", + "webidl-conversions": "^8.0.1", + "whatwg-mimetype": "^5.0.0", + "whatwg-url": "^17.2.0", + "xml-name-validator": "^5.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + }, + "peerDependencies": { + "canvas": "^3.2.3" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/jsdom/node_modules/lru-cache": { + "version": "11.5.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", + "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/keyv": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz", + "integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@keyv/serialize": "^1.1.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lightningcss": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", + "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.33.0", + "lightningcss-darwin-arm64": "1.33.0", + "lightningcss-darwin-x64": "1.33.0", + "lightningcss-freebsd-x64": "1.33.0", + "lightningcss-linux-arm-gnueabihf": "1.33.0", + "lightningcss-linux-arm64-gnu": "1.33.0", + "lightningcss-linux-arm64-musl": "1.33.0", + "lightningcss-linux-x64-gnu": "1.33.0", + "lightningcss-linux-x64-musl": "1.33.0", + "lightningcss-win32-arm64-msvc": "1.33.0", + "lightningcss-win32-x64-msvc": "1.33.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz", + "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz", + "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz", + "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz", + "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz", + "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz", + "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz", + "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz", + "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz", + "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz", + "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz", + "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/lz-string": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz", + "integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==", + "dev": true, + "license": "MIT", + "peer": true, + "bin": { + "lz-string": "bin/bin.js" + } + }, + "node_modules/magic-string": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.5.tgz", + "integrity": "sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0" + } + }, + "node_modules/mdn-data": { + "version": "2.27.1", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz", + "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.60", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.60.tgz", + "integrity": "sha512-OmO8+GM1JUZqXET720VrJCwkjUCXmCMQm0Z3UDDRbfNLHS4NEAvY60j5jiFv0tkKw2PNNlqOLhahVmwJIOLDIQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.0" + } + }, + "node_modules/open": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/open/-/open-11.0.0.tgz", + "integrity": "sha512-smsWv2LzFjP03xmvFoJ331ss6h+jixfA4UUV/Bsiyuu4YJPfN+FIQGOIiv4w9/+MoHkfkJ22UIaQWRVFRfH6Vw==", + "dev": true, + "license": "MIT", + "dependencies": { + "default-browser": "^5.4.0", + "define-lazy-prop": "^3.0.0", + "is-in-ssh": "^1.0.0", + "is-inside-container": "^1.0.0", + "powershell-utils": "^0.1.0", + "wsl-utils": "^0.3.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse5": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.1.0.tgz", + "integrity": "sha512-sq3qBFpee5jeocbFbO48VHlGr8sT7mbXS0vxlKN6sottBtJzrOG3998sr0llSZcQAGgfpdmEYAIZE0P9z0dE8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^9.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.31.tgz", + "integrity": "sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.20", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/powershell-utils": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/powershell-utils/-/powershell-utils-0.1.0.tgz", + "integrity": "sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/pretty-format": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/qified": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/qified/-/qified-0.10.1.tgz", + "integrity": "sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^2.1.1" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/qified/node_modules/hookified": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-2.2.0.tgz", + "integrity": "sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==", + "dev": true, + "license": "MIT" + }, + "node_modules/react": { + "version": "19.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-19.3.1.tgz", + "integrity": "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.1.tgz", + "integrity": "sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.28.0" + }, + "peerDependencies": { + "react": "^19.3.1" + } + }, + "node_modules/react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rolldown": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.15.tgz", + "integrity": "sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@oxc-project/types": "=0.155.0", + "@rolldown/pluginutils": "^1.0.0" + }, + "bin": { + "rolldown": "bin/cli.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "optionalDependencies": { + "@rolldown/binding-android-arm-eabi": "1.2.15", + "@rolldown/binding-android-arm64": "1.2.15", + "@rolldown/binding-darwin-arm64": "1.2.15", + "@rolldown/binding-darwin-x64": "1.2.15", + "@rolldown/binding-freebsd-x64": "1.2.15", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.15", + "@rolldown/binding-linux-arm64-gnu": "1.2.15", + "@rolldown/binding-linux-arm64-musl": "1.2.15", + "@rolldown/binding-linux-ppc64-gnu": "1.2.15", + "@rolldown/binding-linux-s390x-gnu": "1.2.15", + "@rolldown/binding-linux-x64-gnu": "1.2.15", + "@rolldown/binding-linux-x64-musl": "1.2.15", + "@rolldown/binding-openharmony-arm64": "1.2.15", + "@rolldown/binding-win32-arm64-msvc": "1.2.15", + "@rolldown/binding-win32-x64-msvc": "1.2.15" + } + }, + "node_modules/rtl-css-js": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/rtl-css-js/-/rtl-css-js-1.16.1.tgz", + "integrity": "sha512-lRQgou1mu19e+Ya0LsTvKrVJ5TYUbqCVPAiImX3UfLTenarvPUl1QFdvu5Z3PYmHT9RCcwIfbjRQBntExyj3Zg==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.1.2" + } + }, + "node_modules/run-applescript": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", + "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/saxes": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", + "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==", + "dev": true, + "license": "ISC", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=v12.22.7" + } + }, + "node_modules/scheduler": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz", + "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/std-env": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-4.3.0.tgz", + "integrity": "sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag==", + "dev": true, + "license": "MIT" + }, + "node_modules/stylis": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.4.0.tgz", + "integrity": "sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==", + "license": "MIT" + }, + "node_modules/tinybench": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.3.tgz", + "integrity": "sha512-Al01C2JIBnO2CXCAPbpAl6sUiOZHeThGtHYNTa51JRw9PyWOCdr+9Ong05R4qg/Sk3+H645E8ov1h2c58ityNw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/tinyexec": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.1.tgz", + "integrity": "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tldts": { + "version": "7.4.19", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.4.19.tgz", + "integrity": "sha512-48dH6aSpQnpbzDUc4vIQZ1VjB8tkK+e8c1yx05/SZK+rkssgjEOlxDd/yU8/a4vGYQ9vRgJr9dwMq9TJ0b3X2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "tldts-core": "^7.4.19" + }, + "bin": { + "tldts": "bin/cli.js" + } + }, + "node_modules/tldts-core": { + "version": "7.4.20", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.4.20.tgz", + "integrity": "sha512-C630TWXZCZmLq0F2bW4QqwnaaxCQ/svpAqvJwnC4JvgEM5ohhBnGsEzTLSOXcN+xjz+kEaHS5uoWIw2klnqd0A==", + "dev": true, + "license": "MIT" + }, + "node_modules/tough-cookie": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.2.tgz", + "integrity": "sha512-exgYmnmL/sJpR3upZfXG5PoatXQii55xAiXGXzY+sROLZ/Y+SLcp9PgJNI9Vz37HpQ74WvDcLT8eqm+kV3FzrA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "tldts": "^7.0.5" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/tr46": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-7.0.0.tgz", + "integrity": "sha512-BcDSDW+SIGWVOns1Zm6Yg91q9AEj7eaID0QDY9oIqJD1A8dscNwMcl9Sms2DeuWCNov1X0/oXanHGYQBSLwZsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "punycode": "^2.3.1" + }, + "engines": { + "node": "^22.14.0 || >=24.0.0" + } + }, + "node_modules/ts-api-utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", + "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/tsx": { + "version": "4.23.15", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.15.tgz", + "integrity": "sha512-Yiex1Ovn8z2xPpOWckIiysV1SSyRMY9BkLF++q0yKiDxCqRhosKfMg3janKkiLBwZ5c/YryloKwGZcrEmtwxKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "~0.28.0" + }, + "bin": { + "tsx": "dist/cli.mjs" + }, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/typescript": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/typescript-eslint": { + "version": "8.72.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.72.0.tgz", + "integrity": "sha512-r26Fkc8As+mZvqp7SLsMmNFyYUup/6CjK7/eHBHmhOw6GH6n6YFxHVFrG0jN1c5CMpDzelLPxvgeCOzx7BjN+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.72.0", + "@typescript-eslint/parser": "8.72.0", + "@typescript-eslint/typescript-estree": "8.72.0", + "@typescript-eslint/utils": "8.72.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/undici": { + "version": "8.12.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz", + "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22.19.0" + } + }, + "node_modules/undici-types": { + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", + "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", + "dev": true, + "license": "MIT" + }, + "node_modules/update-browserslist-db": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz", + "integrity": "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/vite": { + "version": "8.3.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.5.tgz", + "integrity": "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "lightningcss": "^1.33.0", + "picomatch": "^4.0.7", + "postcss": "^8.5.30", + "rolldown": "~1.2.14", + "tinyglobby": "^0.2.17" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "@vitejs/devtools": "^0.7.1 || ^0.8.0", + "esbuild": "^0.27.0 || ^0.28.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "@vitejs/devtools": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vitest": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.1.0.tgz", + "integrity": "sha512-MzmNFnrwa8v8lF1bLxw3UJ4EREwVOVb75VqJZmUDRjJ6EluK/x9th7qTbaeDk41WxE1GxWqmTXcdsfobfH5sOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/chai": "^5.2.2", + "@vitest/mocker": "5.1.0", + "chai": "^6.3.0", + "es-module-lexer": "^2.3.2", + "expect-type": "^1.4.0", + "magic-string": "^1.4.3", + "obug": "^3.0.0", + "picomatch": "^4.0.7", + "std-env": "^4.3.0", + "tinybench": "^6.2.2", + "tinyexec": "^1.3.1", + "tinyglobby": "^0.2.17", + "why-is-node-running": "3.2.1" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^22.12.0 || ^24.0.0 || >=26.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@opentelemetry/api": "^1.9.0", + "@types/node": "^22.0.0 || >=24.0.0", + "@vitest/browser-playwright": "5.1.0", + "@vitest/browser-preview": "5.1.0", + "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0", + "@vitest/coverage-istanbul": "5.1.0", + "@vitest/coverage-v8": "5.1.0", + "@vitest/ui": "5.1.0", + "happy-dom": "*", + "jsdom": "*", + "vite": "^6.4.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@opentelemetry/api": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser-playwright": { + "optional": true + }, + "@vitest/browser-preview": { + "optional": true + }, + "@vitest/browser-webdriverio": { + "optional": true + }, + "@vitest/coverage-istanbul": { + "optional": true + }, + "@vitest/coverage-v8": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + }, + "vite": { + "optional": false + } + } + }, + "node_modules/w3c-xmlserializer": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-6.0.0.tgz", + "integrity": "sha512-4Nsy8K5Tr6SPDH9jhKJOHf7ChDrc1zufZTVSF7x72hwuEXBqxqk9G6cK+K2NRUtB3iELRJqjXb4JPDMBjMTl2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "xml-name-validator": "^5.0.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + } + }, + "node_modules/webidl-conversions": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-8.0.1.tgz", + "integrity": "sha512-BMhLD/Sw+GbJC21C/UgyaZX41nPt8bUTg+jWyDeg7e7YN4xOM05YPSIXceACnXVtqyEw/LMClUQMtMZ+PGGpqQ==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=20" + } + }, + "node_modules/whatwg-mimetype": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-5.0.0.tgz", + "integrity": "sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + } + }, + "node_modules/whatwg-url": { + "version": "17.3.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-17.3.0.tgz", + "integrity": "sha512-KwOAJrpf+GTgBvcBQJcP38sMF0DsQKdwtG+TxM2pW44P6E5k0hDbWrDmyuJDIF0Uef0aQq0ZoJs+5oI+k8ddhg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@exodus/bytes": "^1.16.0", + "tr46": "^7.0.0", + "webidl-conversions": "^8.0.1" + }, + "engines": { + "node": "^22.14.0 || >=24.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/why-is-node-running": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-3.2.1.tgz", + "integrity": "sha512-Tb2FUhB4vUsGQlfSquQLYkApkuPAFQXGFzxWKHHumVz2dK+X1RUm/HnID4+TfIGYJ1kTcwOaCk/buYCEJr6YjQ==", + "dev": true, + "license": "MIT", + "bin": { + "why-is-node-running": "cli.js" + }, + "engines": { + "node": ">=20.11" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wsl-utils": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-0.3.1.tgz", + "integrity": "sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-wsl": "^3.1.0", + "powershell-utils": "^0.1.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/xml-name-validator": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz", + "integrity": "sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true, + "license": "MIT" + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-validation-error": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz", + "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + } + } + } +} diff --git a/samples/LearningHub/package.json b/samples/LearningHub/package.json new file mode 100644 index 0000000..1ef3c29 --- /dev/null +++ b/samples/LearningHub/package.json @@ -0,0 +1,50 @@ +{ + "name": "learninghub-template", + "private": true, + "version": "0.1.0", + "license": "MIT", + "type": "module", + "engines": { + "node": ">=24.11.0" + }, + "scripts": { + "predev": "node scripts/check-setup.mjs", + "dev": "vite", + "prebuild": "node scripts/check-setup.mjs", + "build": "tsc -b && vite build", + "check-setup": "node scripts/check-setup.mjs", + "typecheck": "tsc -b", + "lint": "eslint .", + "test": "vitest run", + "storage:describe": "tsx scripts/storage-describe.ts", + "preview": "vite preview" + }, + "dependencies": { + "@fluentui/react-icons": "^2.0.344", + "@microsoft/managed-apps": "^0.6.3", + "@tanstack/react-query": "^5.104.2", + "react": "^19.2.6", + "react-dom": "^19.2.6", + "zod": "^4.6.7" + }, + "devDependencies": { + "@eslint/js": "^10.0.1", + "@microsoft/managed-apps-cli": "0.32.2", + "@microsoft/managed-apps-vite-plugin": "^0.4.8", + "@testing-library/react": "^16.3.3", + "@types/node": "^24.12.3", + "@types/react": "^19.2.14", + "@types/react-dom": "^19.2.3", + "@vitejs/plugin-react": "^6.0.1", + "eslint": "^10.3.0", + "eslint-plugin-react-hooks": "^7.1.1", + "eslint-plugin-react-refresh": "^0.5.2", + "globals": "^17.6.0", + "jsdom": "^30.1.3", + "tsx": "^4.23.15", + "typescript": "~6.0.2", + "typescript-eslint": "^8.59.2", + "vite": "^8.0.12", + "vitest": "^5.1.0" + } +} diff --git a/samples/LearningHub/public/favicon.svg b/samples/LearningHub/public/favicon.svg new file mode 100644 index 0000000..9fdafc7 --- /dev/null +++ b/samples/LearningHub/public/favicon.svg @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file diff --git a/samples/LearningHub/scripts/check-setup.mjs b/samples/LearningHub/scripts/check-setup.mjs new file mode 100644 index 0000000..f324739 --- /dev/null +++ b/samples/LearningHub/scripts/check-setup.mjs @@ -0,0 +1,71 @@ +#!/usr/bin/env node +// Verifies local setup before `npm run dev` / `npm run build` (wired as predev and prebuild): +// 1. ms.config.json exists (created by `npx ms app init`) with an appId and environmentId; +// 2. the Office 365 Users connector code was generated into generated/ with the expected exports. +// `npm test` and `npm run lint` don't need any of this. +import { existsSync, readFileSync } from 'node:fs'; +import { join } from 'node:path'; +import { fileURLToPath } from 'node:url'; + +const root = fileURLToPath(new URL('..', import.meta.url)); +const problems = []; + +const configPath = join(root, 'ms.config.json'); +if (!existsSync(configPath)) { + problems.push('ms.config.json is missing: the app hasn\'t been created yet (npx ms app init).'); +} else { + let config; + try { + config = JSON.parse(readFileSync(configPath, 'utf8')); + } catch { + problems.push('ms.config.json is not valid JSON.'); + } + if (config) { + for (const key of ['appId', 'environmentId']) { + const value = config[key]; + if (typeof value !== 'string' || value.trim() === '') problems.push(`ms.config.json has no "${key}".`); + } + } +} + +// The adapter in src/connectors/office365Users.ts depends on exactly these operations. +const REQUIRED = { + service: 'Office365UsersService', + file: join(root, 'generated', 'services', 'Office365UsersService.ts'), + operations: ['MyProfile_V2', 'UserProfile_V2', 'UserPhotoMetadata', 'UserPhoto_V2', 'SearchUserV2'], +}; + +if (!existsSync(join(root, 'generated'))) { + problems.push('The generated/ folder is missing: the Office 365 Users connector has not been added yet.'); +} else if (!existsSync(REQUIRED.file)) { + problems.push(`generated/services/${REQUIRED.service}.ts is missing: add the Office 365 Users connector.`); +} else { + const source = readFileSync(REQUIRED.file, 'utf8'); + if (!new RegExp(`export class ${REQUIRED.service}\\b`).test(source)) { + problems.push(`generated/services/${REQUIRED.service}.ts does not export ${REQUIRED.service}.`); + } + const missing = REQUIRED.operations.filter((op) => !new RegExp(`\\b${op}\\s*\\(`).test(source)); + if (missing.length) { + problems.push(`${REQUIRED.service} is missing operations used by the app: ${missing.join(', ')}. Re-add the connector to refresh the generated code.`); + } +} + +if (problems.length) { + console.error('\nLearning Hub is not set up yet:\n'); + for (const problem of problems) console.error(` - ${problem}`); + console.error(` +To fix it, follow the setup skill: .github/skills/setup-learninghub/SKILL.md +(or ask your coding agent to "set up this app"). In short: + + npx ms auth login + npx ms app init --display-name "Learning Hub" # optional: --environment-id + npx ms app set-setting --show-header false + npx ms app add data-source --connector shared_office365users --as action + cp .env.example .env.local # then adjust the values + npm run check-setup + npm run dev # or: npx ms app dev +`); + process.exit(1); +} + +console.log('Setup looks good: ms.config.json exists and the Office 365 Users connector is generated.'); diff --git a/samples/LearningHub/scripts/storage-describe.ts b/samples/LearningHub/scripts/storage-describe.ts new file mode 100644 index 0000000..b3d5b75 --- /dev/null +++ b/samples/LearningHub/scripts/storage-describe.ts @@ -0,0 +1,7 @@ +// Prints a provider-neutral description of every collection (JSON Schema per record shape). +// The add-data-source skill uses it to create SharePoint lists, Dataverse tables, etc. +// Run with: npm run storage:describe +import { allCollections } from '../src/storage/collections'; +import { describeCollections } from '../src/storage/core/describe'; + +console.log(JSON.stringify(describeCollections(allCollections), null, 2)); diff --git a/samples/LearningHub/src/App.tsx b/samples/LearningHub/src/App.tsx new file mode 100644 index 0000000..2b4328e --- /dev/null +++ b/samples/LearningHub/src/App.tsx @@ -0,0 +1,145 @@ +import { useEffect, useRef } from 'react'; +import { TopBar } from './components/TopBar'; +import { EmptyState } from './components/States'; +import { config } from './config'; +import { findPastSession, usePastSessions } from './lib/pastSessions'; +import { useThemePreference } from './lib/preferences'; +import { href, paths, useRoute, type Route } from './lib/router'; +import { Home } from './pages/Home'; +import { Person } from './pages/Person'; +import { Present } from './pages/Present'; +import { SessionDetail } from './pages/SessionDetail'; +import { Settings } from './pages/Settings'; +import { Topics } from './pages/Topics'; +import { useAppStorage } from './storage/useAppStorage'; + +function pageKey(route: Route): string { + switch (route.name) { + case 'session': + return `session:${route.id}`; + case 'person': + return `person:${route.id}`; + case 'notfound': + return `notfound:${route.path}`; + default: + return route.name; + } +} + +function usePageTitle(route: Route): string { + const past = usePastSessions(); + switch (route.name) { + case 'home': + return config.seriesName; + case 'session': + return findPastSession(past.data, route.id)?.title ?? 'Session'; + case 'person': + return 'Presenter'; + case 'present': + return 'Present a session'; + case 'topics': + return 'Topic requests'; + case 'settings': + return 'Settings and data'; + default: + return 'Page not found'; + } +} + +function Page({ route }: { route: Route }) { + switch (route.name) { + case 'home': + return ; + case 'session': + return ; + case 'person': + return ; + case 'present': + return ; + case 'topics': + return ; + case 'settings': + return ; + default: + return ( +
+

Page not found

+ + Go to sessions + + } + /> +
+ ); + } +} + +/** Shown while data lives only in this browser (`capabilities.shared === false`). */ +function LocalModeNotice() { + const { provider } = useAppStorage(); + if (provider.capabilities.shared) return null; + return ( + + ); +} + +/** Remote providers don't push changes; ask them to re-read when the window regains focus. */ +function useRefreshOnFocus() { + const { provider } = useAppStorage(); + useEffect(() => { + const refreshable = provider as { refresh?: () => void }; + if (typeof refreshable.refresh !== 'function') return; + const onFocus = () => refreshable.refresh?.(); + window.addEventListener('focus', onFocus); + return () => window.removeEventListener('focus', onFocus); + }, [provider]); +} + +export default function App() { + const route = useRoute(); + const { theme, setTheme } = useThemePreference(); + const title = usePageTitle(route); + const key = pageKey(route); + const firstRender = useRef(true); + useRefreshOnFocus(); + + useEffect(() => { + document.title = `${title} · ${config.appName}`; + }, [title]); + + useEffect(() => { + if (firstRender.current) { + firstRender.current = false; + return; + } + window.scrollTo(0, 0); + // Leave focus alone if the page already placed it (e.g. the topic composer with ?focus=1). + const main = document.getElementById('main'); + const active = document.activeElement; + if (main && active && active !== main && main.contains(active)) return; + const heading = document.querySelector('#main h1'); + (heading ?? main)?.focus({ preventScroll: true }); + }, [key]); + + return ( + <> + + +
+
+ +
+
+ + + ); +} diff --git a/samples/LearningHub/src/components/Avatar.tsx b/samples/LearningHub/src/components/Avatar.tsx new file mode 100644 index 0000000..941dc33 --- /dev/null +++ b/samples/LearningHub/src/components/Avatar.tsx @@ -0,0 +1,87 @@ +import { hashString, initials } from '../lib/format'; +import type { Presenter } from '../lib/pastSessions'; +import { usePhoto, useProfile } from '../lib/people'; +import { href, paths } from '../lib/router'; + +export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'; + +const TINTS = 6; + +interface AvatarProps { + /** Directory user id; omit for people outside the directory (initials only). */ + userId?: string; + name: string; + size?: AvatarSize; + className?: string; + /** Skip the photo lookup (e.g. transient search results). */ + noPhoto?: boolean; +} + +/** Profile photo via the users directory adapter, with an initials fallback. */ +export function Avatar({ userId, name, size = 'sm', className, noPhoto }: AvatarProps) { + const photo = usePhoto(noPhoto ? undefined : userId); + const url = photo.data; + const tint = hashString((userId || name).toLowerCase()) % TINTS; + return ( + + {url ? : } + + ); +} + +/** Uses the directory display name when the stored snapshot name is missing. */ +function usePresenterName(presenter: Presenter): string { + const profile = useProfile(presenter.name ? undefined : presenter.id); + return presenter.name || profile.data?.displayName || 'Unknown person'; +} + +function PresenterName({ presenter, link }: { presenter: Presenter; link: boolean }) { + const name = usePresenterName(presenter); + if (!link || !presenter.id) return <>{name}; + return ( + + {name} + + ); +} + +interface PresenterListProps { + presenters: Presenter[]; + size?: AvatarSize; + link?: boolean; + /** Max names shown before "and N others". */ + maxNames?: number; + emptyLabel?: string; +} + +/** Overlapping avatars followed by the presenters' names. */ +export function PresenterList({ presenters, size = 'sm', link = true, maxNames = 3, emptyLabel }: PresenterListProps) { + if (presenters.length === 0) { + return emptyLabel ?

{emptyLabel}

: null; + } + const shown = presenters.slice(0, maxNames); + const hidden = presenters.length - shown.length; + const parts = shown.map((p) => ); + return ( +
+ + {presenters.slice(0, 4).map((p) => ( + + ))} + + + {parts.map((part, i) => ( + + {i > 0 && (i === parts.length - 1 && hidden === 0 ? (parts.length > 2 ? ', and ' : ' and ') : ', ')} + {part} + + ))} + {hidden > 0 && {` and ${hidden} ${hidden === 1 ? 'other' : 'others'}`}} + +
+ ); +} diff --git a/samples/LearningHub/src/components/Controls.tsx b/samples/LearningHub/src/components/Controls.tsx new file mode 100644 index 0000000..5832233 --- /dev/null +++ b/samples/LearningHub/src/components/Controls.tsx @@ -0,0 +1,83 @@ +import { useState, type ReactNode } from 'react'; +import { ArrowUpRegular } from '@fluentui/react-icons/headless/svg/arrow-up'; +import { PlayRegular } from '@fluentui/react-icons/headless/svg/play'; +import { formatDuration, formatDurationLong } from '../lib/time'; +import { safeUrl } from '../lib/safeUrl'; +import type { Topic } from '../lib/topics'; + +interface WatchProps { + url: string | null; + title: string; + primary?: boolean; + small?: boolean; +} + +/** Opens the recording in a new tab. Renders nothing unless the link passes safeUrl(). */ +export function WatchButton({ url, title, primary, small }: WatchProps) { + const safe = safeUrl(url); + if (!safe) return null; + return ( + + + Watch recording + + {' '} + of {title} (opens in a new tab) + + + ); +} + +interface VoteProps { + topic: Topic; + voted: boolean; + disabled?: boolean; + /** Inline pill (arrow and count side by side) for dense lists. */ + compact?: boolean; + onToggle: () => void; +} + +export function VoteButton({ topic, voted, disabled, compact, onToggle }: VoteProps) { + const [bumps, setBumps] = useState(0); + return ( + + ); +} + +type Tone = 'success' | 'info' | 'warning' | 'quiet' | 'plain'; + +export function StatusChip({ tone = 'plain', children }: { tone?: Tone; children: ReactNode }) { + return {children}; +} + +/** Recording length chip ("52 min"); renders nothing when the length is unknown. */ +export function Duration({ seconds, className = '' }: { seconds: number | null | undefined; className?: string }) { + if (!seconds) return null; + return ( + + + {formatDurationLong(seconds)} + + ); +} diff --git a/samples/LearningHub/src/components/Modal.tsx b/samples/LearningHub/src/components/Modal.tsx new file mode 100644 index 0000000..8915592 --- /dev/null +++ b/samples/LearningHub/src/components/Modal.tsx @@ -0,0 +1,147 @@ +import { useEffect, useId, useRef, type ReactNode } from 'react'; +import { DismissRegular } from '@fluentui/react-icons/headless/svg/dismiss'; +import { Spinner } from './Spinner'; + +interface ModalProps { + open: boolean; + onClose: () => void; + title: string; + description?: ReactNode; + children: ReactNode; + footer?: ReactNode; + size?: 'sm' | 'md'; + /** Prevents Esc / close button while a save is in flight. */ + busy?: boolean; +} + +/** + * Native modal : the browser traps focus and makes the page inert. + * Focus returns to the element that opened it. + */ +export function Modal({ open, onClose, title, description, children, footer, size = 'md', busy = false }: ModalProps) { + const ref = useRef(null); + const opener = useRef(null); + const titleId = useId(); + const descriptionId = useId(); + + useEffect(() => { + const dialog = ref.current; + if (!dialog) return; + if (open && !dialog.open) { + opener.current = document.activeElement instanceof HTMLElement ? document.activeElement : null; + dialog.showModal(); + const preferred = dialog.querySelector('[data-autofocus]'); + preferred?.focus(); + } else if (!open && dialog.open) { + dialog.close(); + } + }, [open]); + + useEffect(() => { + const dialog = ref.current; + return () => { + if (dialog?.open) dialog.close(); + }; + }, []); + + const handleClose = () => { + const dialog = ref.current; + // A stale close event (e.g. StrictMode's effect replay) after the dialog was re-shown. + if (!dialog || dialog.open) return; + if (open) { + // The browser closed it on its own (Chromium force-closes on a repeated Esc even when + // cancel is prevented). Keep it up while saving so the result stays visible; otherwise sync state. + if (busy) { + dialog.showModal(); + return; + } + onClose(); + } + const target = opener.current; + opener.current = null; + if (target && target.isConnected) target.focus(); + else document.getElementById('main')?.focus(); + }; + + return ( + { + event.preventDefault(); + if (!busy) onClose(); + }} + onClose={handleClose} + > + {open && ( +
+
+

+ {title} +

+ +
+ {description && ( +
+ {description} +
+ )} +
{children}
+ {footer &&
{footer}
} +
+ )} +
+ ); +} + +interface ConfirmProps { + open: boolean; + title: string; + message: ReactNode; + confirmLabel: string; + danger?: boolean; + busy?: boolean; + error?: string; + onConfirm: () => void; + onCancel: () => void; +} + +export function ConfirmDialog({ open, title, message, confirmLabel, danger, busy, error, onConfirm, onCancel }: ConfirmProps) { + return ( + + + + + } + > +
{message}
+ {error && ( +

+ {error} +

+ )} +
+ ); +} diff --git a/samples/LearningHub/src/components/Motif.tsx b/samples/LearningHub/src/components/Motif.tsx new file mode 100644 index 0000000..1beab35 --- /dev/null +++ b/samples/LearningHub/src/components/Motif.tsx @@ -0,0 +1,172 @@ +import { hashString, seededRandom } from '../lib/format'; + +const W = 640; +const H = 120; + +function round(n: number): number { + return Math.round(n * 10) / 10; +} + +function rows(rand: () => number) { + const bandY = round(20 + rand() * 50); + const lines = Array.from({ length: 4 }, (_, i) => { + const y = round(18 + i * 26 + rand() * 6); + const x1 = round(24 + rand() * 180); + const x2 = round(x1 + 120 + rand() * 260); + return { y, x1, x2 }; + }); + const dashX = round(W - 140 + rand() * 40); + return ( + <> + + {lines.map((l, i) => ( + + ))} + {lines.slice(0, 3).map((l, i) => ( + + ))} + + ); +} + +function blocks(rand: () => number) { + const count = 3; + const items = Array.from({ length: count }, (_, i) => { + const w = round(70 + rand() * 90); + const x = round(40 + i * 190 + rand() * 40); + const top = rand() > 0.5; + return { x, w, y: top ? 0 : round(48 + rand() * 20), h: top ? round(54 + rand() * 20) : H }; + }); + const barX = round(items[1].x + items[1].w - 8); + const lineY = round(70 + rand() * 20); + return ( + <> + {items.map((b, i) => ( + + ))} + + + + ); +} + +function orb(rand: () => number) { + const cx = round(120 + rand() * 400); + const cy = round(50 + rand() * 20); + const r = round(18 + rand() * 10); + const boxX = round(cx - 70); + return ( + <> + + + + + + + ); +} + +function steps(rand: () => number) { + const start = round(30 + rand() * 120); + const size = 34; + const items = Array.from({ length: 6 }, (_, i) => ({ + x: round(start + i * (size + 22)), + y: round(H - 24 - i * 14 - rand() * 6), + })); + const dot = items[Math.floor(rand() * items.length)]; + return ( + <> + + {items.map((s, i) => ( + + ))} + + + ); +} + +const PATTERNS = [rows, blocks, orb, steps]; + +/* Square thumbnails (100 × 100), for the suggestion-card illustrations. */ +const S = 100; + +function squareLines(rand: () => number) { + const bandY = round(38 + rand() * 10); + const ys = [12, 24, bandY + 6, bandY + 13, 74, 86]; + return ( + <> + + {ys.map((y, i) => ( + + ))} + {ys.filter((_, i) => i % 2 === 0).map((y, i) => ( + + ))} + + ); +} + +function squareBlocks(rand: () => number) { + const topW = round(28 + rand() * 10); + const bottomY = round(46 + rand() * 8); + return ( + <> + + + + + + + ); +} + +function squarePitch(rand: () => number) { + const r = round(12 + rand() * 4); + return ( + <> + + + + + + + + ); +} + +const SQUARE_PATTERNS = [squareLines, squareBlocks, squarePitch]; + +/** + * Decorative coral motif, generated deterministically from a seed: a wide band by default, + * or a square thumbnail. + */ +export function Motif({ + seed, + className, + square = false, + variant, +}: { + seed: string; + className?: string; + square?: boolean; + /** Forces the pattern style (e.g. a card's position in a row) so neighbours never match. */ + variant?: number; +}) { + const hash = hashString(seed); + const rand = seededRandom(hash); + const patterns = square ? SQUARE_PATTERNS : PATTERNS; + const pattern = patterns[(variant ?? hash) % patterns.length]; + const [w, h] = square ? [S, S] : [W, H]; + return ( + + ); +} diff --git a/samples/LearningHub/src/components/PeoplePicker.tsx b/samples/LearningHub/src/components/PeoplePicker.tsx new file mode 100644 index 0000000..f40be6f --- /dev/null +++ b/samples/LearningHub/src/components/PeoplePicker.tsx @@ -0,0 +1,192 @@ +import { useEffect, useId, useRef, useState, type KeyboardEvent } from 'react'; +import { DismissRegular } from '@fluentui/react-icons/headless/svg/dismiss'; +import type { Presenter } from '../lib/pastSessions'; +import type { DirectoryUser } from '../connectors/users'; +import { usePeopleSearch } from '../lib/people'; +import { useDebounced } from '../lib/useDebounced'; +import { Avatar } from './Avatar'; + +interface PeoplePickerProps { + label: string; + hint?: string; + /** People who are always included and can't be removed here (e.g. the owner). */ + fixed?: (Presenter & { note?: string })[]; + value: Presenter[]; + onChange: (value: Presenter[]) => void; + disabled?: boolean; +} + +/** Combobox that searches the directory (via the users adapter) for people. */ +export function PeoplePicker({ label, hint, fixed = [], value, onChange, disabled }: PeoplePickerProps) { + const [text, setText] = useState(''); + const [open, setOpen] = useState(false); + const [activeIndex, setActiveIndex] = useState(0); + const term = useDebounced(text, 250); + const search = usePeopleSearch(term); + const inputId = useId(); + const listId = useId(); + const hintId = useId(); + + const taken = new Set([...fixed, ...value].map((p) => p.id).filter(Boolean)); + const options: DirectoryUser[] = (search.data ?? []).filter((p) => !taken.has(p.id)); + const typing = text.trim().length >= 2; + const settled = term.trim() === text.trim(); + const showList = open && typing; + const active = Math.min(activeIndex, Math.max(0, options.length - 1)); + + const add = (person: DirectoryUser) => { + onChange([...value, { id: person.id, name: person.displayName }]); + setText(''); + setActiveIndex(0); + }; + + const remove = (person: Presenter) => onChange(value.filter((p) => p !== person)); + + const onKeyDown = (event: KeyboardEvent) => { + if (event.key === 'ArrowDown') { + event.preventDefault(); + setOpen(true); + setActiveIndex(options.length ? (active + 1) % options.length : 0); + } else if (event.key === 'ArrowUp') { + event.preventDefault(); + setOpen(true); + setActiveIndex(options.length ? (active - 1 + options.length) % options.length : 0); + } else if (event.key === 'Enter') { + if (showList && options[active]) { + event.preventDefault(); + add(options[active]); + } else if (showList) { + event.preventDefault(); + } + } else if (event.key === 'Escape') { + if (showList) { + event.preventDefault(); + event.stopPropagation(); + setOpen(false); + } + } else if (event.key === 'Backspace' && text === '' && value.length > 0) { + remove(value[value.length - 1]); + } + }; + + let status: string; + if (!typing) status = ''; + else if (!settled || search.isFetching) status = 'Searching…'; + else if (search.isError) status = 'Couldn’t search people.'; + else if (options.length === 0) status = 'No matching people.'; + else status = `${options.length} ${options.length === 1 ? 'person' : 'people'} found.`; + + const activeId = showList && options[active] ? `${listId}-${active}` : undefined; + const listRef = useRef(null); + const resultsShown = showList && settled && !search.isFetching && options.length > 0; + + // In a scrolling dialog the results can open below the fold: bring them into view, and keep the + // keyboard-highlighted option visible inside the list. + useEffect(() => { + if (resultsShown) listRef.current?.scrollIntoView({ block: 'nearest' }); + }, [resultsShown]); + useEffect(() => { + if (activeId) document.getElementById(activeId)?.scrollIntoView({ block: 'nearest' }); + }, [activeId]); + + return ( +
+ + {hint && ( +

+ {hint} +

+ )} + {(fixed.length > 0 || value.length > 0) && ( +
    + {fixed.map((p) => ( +
  • + + + {p.name} + {p.note && · {p.note}} + +
  • + ))} + {value.map((p) => ( +
  • + + {p.name} + +
  • + ))} +
+ )} +
+ { + setText(event.target.value); + setOpen(true); + setActiveIndex(0); + }} + onFocus={() => setOpen(true)} + onBlur={() => setOpen(false)} + onKeyDown={onKeyDown} + /> + + {showList && status && (!options.length || !settled || search.isFetching || search.isError) && ( +
+ {status} + {search.isError && settled && ( + + )} +
+ )} +
+

+ {status} +

+
+ ); +} diff --git a/samples/LearningHub/src/components/SessionDialog.tsx b/samples/LearningHub/src/components/SessionDialog.tsx new file mode 100644 index 0000000..a5d179a --- /dev/null +++ b/samples/LearningHub/src/components/SessionDialog.tsx @@ -0,0 +1,341 @@ +import { useEffect, useId, useMemo, useRef, useState, type FormEvent } from 'react'; +import { useQueryClient } from '@tanstack/react-query'; +import { errorMessage } from '../lib/format'; +import type { Me } from '../lib/identity'; +import type { Presenter } from '../lib/pastSessions'; +import { + buildSlots, + claimSession, + ClaimConflictError, + nextOpenDate, + SESSION_TIME, + sessionsKey, + updateSession, + type MutationOutcome, + type Owner, + type SessionDraft, + type SessionRecord, + type Slot, +} from '../lib/sessions'; +import { formatDate, formatLongDate, formatTimeRange, formatWeekdayDate, isDateKey, useNow } from '../lib/time'; +import { refreshSessionsWhenIdle, sessionMutationKey, useSessionActions } from '../lib/sessionActions'; +import { useAppStorage } from '../storage/useAppStorage'; +import { useToast } from '../lib/toast'; +import { refreshTopicsWhenIdle } from '../lib/topicActions'; +import { linkBlocker, type Topic } from '../lib/topics'; +import { Modal } from './Modal'; +import { Spinner } from './Spinner'; +import { PeoplePicker } from './PeoplePicker'; + +/** claim: sign up. dit: your own session (date fixed). manage: any session, including its date. */ +export type SessionDialogMode = 'claim' | 'edit' | 'manage'; + +interface SessionDialogProps { + open: boolean; + mode: SessionDialogMode; + onClose: () => void; + onSaved: (outcome: MutationOutcome, draft: SessionDraft) => void; + me: Me | undefined; + slots: Slot[]; + topics: Topic[] | undefined; + topicsError?: boolean; + record?: SessionRecord; + initialDate?: string; + initialTopicId?: string; +} + +const TITLES: Record = { + claim: 'Sign up to present', + edit: 'Edit your session', + manage: 'Edit session', +}; + +export function SessionDialog(props: SessionDialogProps) { + const [busy, setBusy] = useState(false); + const { open, mode, onClose } = props; + return ( + + + + ); +} + +interface FormProps extends SessionDialogProps { + busy: boolean; + onBusyChange: (busy: boolean) => void; +} + +function ownerOf(record: SessionRecord): Presenter | undefined { + if (!record.ownerId) return undefined; + return record.presenters.find((p) => p.id === record.ownerId) ?? { id: record.ownerId, name: '' }; +} + +function SessionForm({ + mode, + onClose, + onSaved, + me, + slots, + topics, + topicsError, + record: openedWith, + initialDate, + initialTopicId, + busy, + onBusyChange, +}: FormProps) { + // The record as it was when the dialog opened: the form starts from it, and a save applies only + // what the user changed relative to it (see updateSession). + const [record] = useState(openedWith); + const client = useQueryClient(); + const storage = useAppStorage(); + const sessionEdits = useSessionActions(); + const toast = useToast(); + const now = useNow(); + // A save can outlive the form (e.g. browser Back closes a route-driven dialog); errors then go to a toast. + const mounted = useRef(true); + useEffect(() => { + mounted.current = true; + return () => { + mounted.current = false; + }; + }, []); + const formId = useId(); + const owner: Presenter | undefined = + mode === 'claim' ? (me ? { id: me.id, name: me.displayName } : undefined) : mode === 'edit' && record ? ownerOf(record) : undefined; + + const requested = record ? undefined : topics?.find((t) => t.itemId === initialTopicId); + const requestedBlocker = requested ? linkBlocker(requested, initialDate ?? '') : null; + const initialTopic = record ? topics?.find((t) => t.itemId === record.topicId) : requestedBlocker ? undefined : requested; + const [date, setDate] = useState(record?.key ?? initialDate ?? ''); + const [topicId, setTopicId] = useState(record?.topicId || initialTopic?.itemId || ''); + const [name, setName] = useState(record?.name ?? initialTopic?.name ?? ''); + const [description, setDescription] = useState(record?.description ?? ''); + const [presenters, setPresenters] = useState(() => + record ? record.presenters.filter((p) => !owner || p.id !== owner.id) : [], + ); + const [error, setError] = useState(requestedBlocker ? `${requestedBlocker}, so it can’t be linked here.` : null); + const [conflict, setConflict] = useState<{ message: string; suggestion?: string } | null>(null); + + const openDates = useMemo(() => slots.filter((s) => s.state === 'open'), [slots]); + const topicOptions = useMemo( + () => + (topics ?? []) + .filter((t) => linkBlocker(t, date, record?.key) === null || t.itemId === topicId || t.itemId === record?.topicId) + .sort((a, b) => b.voteCount - a.voteCount || a.name.localeCompare(b.name)), + [topics, topicId, record?.topicId, record?.key, date], + ); + + const ownerNote = owner && me && owner.id === me.id ? 'you' : 'owner'; + + const chooseTopic = (id: string) => { + const previous = topics?.find((t) => t.itemId === topicId); + const next = topics?.find((t) => t.itemId === id); + setTopicId(id); + if (next && (!name.trim() || name === previous?.name)) setName(next.name); + }; + + const submit = async (event: FormEvent) => { + event.preventDefault(); + setError(null); + const title = name.trim(); + if (!isDateKey(date)) return setError('Choose a date.'); + if (!title) return setError('Add a session title.'); + const allPresenters = owner ? [owner, ...presenters] : presenters; + if (JSON.stringify(allPresenters).length > 3800) return setError('That’s too many presenters to save. Remove a few.'); + const draft: SessionDraft = { key: date, name: title, description: description.trim(), presenters: allPresenters, topicId }; + + // Detail-only edits are optimistic: close now, roll back with a message if the save fails. + // Sign-ups, date moves and topic changes wait for the server (conflict checks, topic guards). + if (mode !== 'claim' && record && draft.key === record.key && draft.topicId === record.topicId) { + void sessionEdits.editDetails(record, draft); + onSaved({}, draft); + return; + } + + onBusyChange(true); + try { + let outcome: MutationOutcome; + if (mode === 'claim') { + if (!owner) throw new Error('Your profile hasn’t loaded yet. Try again in a moment.'); + const claimant: Owner = { id: owner.id, name: owner.name }; + outcome = await claimSession(storage, draft, claimant); + } else { + if (!record) throw new Error('This session no longer exists.'); + outcome = await updateSession(storage, record, draft); + } + setConflict(null); + onSaved(outcome, draft); + } catch (caught) { + if (!mounted.current) { + toast({ tone: 'error', message: errorMessage(caught) }); + } else if (caught instanceof ClaimConflictError) { + if (client.isMutating({ mutationKey: sessionMutationKey }) === 0) { + client.setQueryData(sessionsKey, caught.records); + } + const suggestion = nextOpenDate(buildSlots(caught.records, now), caught.key); + setConflict({ message: caught.message, suggestion }); + } else { + setError(errorMessage(caught)); + } + } finally { + onBusyChange(false); + refreshSessionsWhenIdle(client); + refreshTopicsWhenIdle(client); + } + }; + + if (mode === 'claim' && openDates.length === 0 && !date) { + return ( +
+

There are no open dates right now. Check back later, or request a topic instead.

+
+ +
+
+ ); + } + + const dateIsOpen = openDates.some((s) => s.key === date); + + return ( +
+ {mode === 'claim' && ( +
+ + +

{formatTimeRange(SESSION_TIME.start, SESSION_TIME.end)}

+
+ )} + {mode === 'edit' && record && ( +

+ {formatLongDate(record.key)} + · {formatTimeRange(SESSION_TIME.start, SESSION_TIME.end)} +
+ To change the date, release this one and sign up for another. +

+ )} + {mode === 'manage' && ( +
+ + setDate(e.target.value)} + disabled={busy} + required + /> +

The time stays {formatTimeRange(SESSION_TIME.start, SESSION_TIME.end)}.

+
+ )} + + {conflict && ( +
+

+ {conflict.message} Your draft is still here. + {conflict.suggestion ? ` The next open date is ${formatWeekdayDate(conflict.suggestion)}.` : ' There are no other open dates right now.'} +

+ {conflict.suggestion && ( + + )} +
+ )} + +
+ + +

+ {topicsError + ? 'Topic requests couldn’t load, so you can’t link one right now.' + : 'Linking a request marks it as scheduled for this date.'} +

+
+ +
+ + setName(e.target.value)} + disabled={busy} + required + data-autofocus + /> +
+ +
+ +