Peach: Local-first video metadata scraper and media manager.
feat(web): 访问密码试点改用 React 与 BoardUI 原版组件
longmeidao7dd159ecab6f
diff --git a/docs/FRONTEND.md b/docs/FRONTEND.mdindex fc97b58fe..1b7db6696 100644--- a/docs/FRONTEND.md+++ b/docs/FRONTEND.md@@ -18,8 +18,11 @@ Vite + TypeScript + Preact。迁移方式是 strangler:**遗留路由继续拥| `frontend/src/api.ts` | 带 `AbortController` 的取数封装 || `frontend/src/management.ts` | 数据管理首屏 Fieldset、网盘能力显隐与浏览历史导入指南 || `frontend/src/legacy/*.d.ts` | `/js/core.js`、`/js/ui-components.js` 的手写类型 |-| `frontend/test/` | vitest 用例与遗留模块的桩 |+| `frontend/src/react/` | React 子树:`entry.tsx` 是构建入口,`bundle.d.ts` 是对外契约,`boardui/` 逐字复制 BoardUI 源码 |+| `frontend/src/react-slot.tsx` | Preact island 里挂 React 子树的交接组件 |+| `frontend/test/` | vitest 用例与遗留模块的桩;`test/react/` 按 React JSX 转换 || `web/dist/peach-ui.js` | 构建产物,**进 Git**,由 `/dist/{name}` 提供 |+| `web/dist/peach-react.js`、`peach-react.css` | React 子树的构建产物,**进 Git** |首次运行页(未配置时的 `GET /` 与 `POST /setup`)不在这张表里:它是 SPA 外壳之外的一张独立页面,HTML 与样式都自包含在 `src/peach/routes_pages.py`,只借 `/js/ui-components.js` 的 `attachOverlayScrollbar` 与 `wireCollapse` 画整页滚动条和「高级设置」的折叠,此外不引 `web/` 的资产,也不是@@ -204,8 +207,10 @@ await ui.refreshStore('quality-goals'); // 挂着的那屏自己重画,不6. 按顺序跑 `npm --prefix frontend run typecheck`、`& .\scripts\test.ps1 -Scope web`,再 `npm --prefix frontend run build` 并把 `web/dist/` 一起提交。-样式暂时继续用 `web/css/` 下的分区:已迁的页面复用原有的类名,产物这一轮不出 `peach-ui.css`。-`/dist/{name}` 已经允许 `.css`,等某个 island 真的需要自己的样式时再开。+Preact island 继续用 `web/css/` 下的分区,复用原有的类名,`peach-ui.js` 不出样式表。+React 子树的样式是 Tailwind v4 加 BoardUI 主题,产物 `peach-react.css`;它与旧样式表同处一页的+三条约束(工具类不分层、只扫描 `src/react/`、Preflight 限定在 `.peach-react` 里)写在+`frontend/src/react/styles.css` 开头,逐字复制与没有复制的上游文件见 `frontend/src/react/boardui/ORIGIN.md`。## 依赖清单@@ -222,6 +227,16 @@ vendor 到 `web/vendor/` 的四个包(video.js、swiper、lucide-static、heal| `typescript` | 类型即契约:注册表、props 与端点响应都靠它在编译期拦住漂移 || `vitest` | 前端测试运行器。与 Vite 共用同一份配置解析,不必再维护第二套转译 || `happy-dom` | vitest 的 DOM 环境。断言的是真实 DOM 结构,比 jsdom 轻且启动快 |+| `react`、`react-dom` | React 子树的渲染层。BoardUI 源码是 React 组件,交互建在 React Aria 上,Preact 的兼容层不在 React Aria 的支持范围内 |+| `react-aria-components` | BoardUI 输入框与勾选框的交互和无障碍语义:标签关联、键盘操作、`aria-invalid` |+| `tailwind-merge` | BoardUI 的 `cx()` 合并类名时去掉互相冲突的工具类 |+| `@remixicon/react` | BoardUI 组件内置的图标 |+| `tailwindcss`、`@tailwindcss/vite` | 按 `src/react/` 里实际用到的类名生成 `peach-react.css` |+| `@types/react`、`@types/react-dom` | React 子树的类型检查 |++React 子树单独构建(`vite.react.config.ts`)。`peach-react.js` 424 kB(gzip 110.6 kB),+只在页面挂 React 子树时由 island 动态加载;`peach-react.css` 67 kB(gzip 11.8 kB),+由 `index.html` 在旧样式表之前引入。`@preact/signals` 钉在 2.11.1:它对 `preact` 的 peer 要求是 `>= 10.25.0`,和这里的10.29.8 对得上;运行时另外带一个 `@preact/signals-core`,是它自己的依赖,由 lockfilediff --git a/docs/HANDOFF.md b/docs/HANDOFF.mdindex a6d6b470c..44526c6e9 100644--- a/docs/HANDOFF.md+++ b/docs/HANDOFF.md@@ -82,7 +82,7 @@`.claude/skills/peach-reference-evidence/SKILL.md`。本节只索引快照,不复制测量值。React 渲染的规格页、用户截图这类给不出可重抓字节的实测不进登记表,但要在快照正文写明理由——`tests/test_reference_updates.py` 会拒绝既没登记也没说明的快照。-- 复核页的中间内容与右侧分类布局见 [BoardUI 复核布局取证](reference-snapshots/board-review-layout.md)。+- BoardUI:[复核布局](reference-snapshots/board-review-layout.md);React 源码 `frontend/src/react/boardui/ORIGIN.md`。- 相关推荐算法:`openaver-related-ranking`,固定 revision,只参考 Tag IDF 与结构化共同点,MMR 和稳定破同分是 Peach 自加,不复制上游界面或源码。- 网格、控件半径、语义 token 与中间省略:`vercel-geist-grid`、`vercel-geist-controls-measured`、`vercel-geist-middle-truncate`;中间省略只用于路径、URL、ID、SHA 这类首尾都有信息的值,必须显式 `data-middle-truncate`,标题、说明、人名和标签保留末尾省略。diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 6e22170dc..f4612256e 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -7,12 +7,21 @@"name": "peach-frontend","dependencies": {"@preact/signals": "2.11.1",+ "@remixicon/react": "4.9.0","d3-sankey": "0.12.3",- "preact": "10.29.8"+ "preact": "10.29.8",+ "react": "19.3.0",+ "react-aria-components": "1.21.1",+ "react-dom": "19.3.0",+ "tailwind-merge": "3.7.0"},"devDependencies": {+ "@tailwindcss/vite": "4.3.3","@types/d3-sankey": "0.12.5",+ "@types/react": "19.3.0",+ "@types/react-dom": "19.3.0","happy-dom": "20.14.0",+ "tailwindcss": "4.3.3","typescript": "7.0.2","vite": "8.2.2","vitest": "5.0.0"@@ -21,6 +30,55 @@"node": ">=24"}},+ "node_modules/@internationalized/date": {+ "version": "3.12.4",+ "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.12.4.tgz",+ "integrity": "sha512-M1dEn4c1U1HsSlaVR8upZtSqvXrTkHDfv18H01uCSJyjVLDxnBR38v/fMxecmlwXKR4i9HeZcmgQAPE6A+aGJQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@swc/helpers": "^0.5.0"+ }+ },+ "node_modules/@internationalized/number": {+ "version": "3.6.8",+ "resolved": "https://registry.npmjs.org/@internationalized/number/-/number-3.6.8.tgz",+ "integrity": "sha512-8UmMFia46DUt+k97zKd9fKWXcWHR+k8ae3eYzILETuT2KbIvLyOfac7zesw+sJdRAAZ7Q9pM1Mk22aXp2LD0Ig==",+ "license": "Apache-2.0",+ "dependencies": {+ "@swc/helpers": "^0.5.0"+ }+ },+ "node_modules/@internationalized/string": {+ "version": "3.2.10",+ "resolved": "https://registry.npmjs.org/@internationalized/string/-/string-3.2.10.tgz",+ "integrity": "sha512-PDx6//vHSpRnHfxqMqto11zQvhsaU74O3mKv2F/0eicGZcl9NLjQmGlbHz/LsJh5tLKp4A4L7ZVTzN1/MmMTvA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@swc/helpers": "^0.5.0"+ }+ },+ "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",@@ -85,154 +143,727 @@"url": "https://opencollective.com/preact"}},+ "node_modules/@react-types/shared": {+ "version": "3.36.1",+ "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.36.1.tgz",+ "integrity": "sha512-AzsuD9OfxTOZMMvTRhlN3oHBwOmFN7tDh27LzqmHt4+uOgPhJT7ZM7/kVs/8/o0WxayMUIk3hBmCFRHv1FUoag==",+ "license": "Apache-2.0",+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"+ }+ },+ "node_modules/@remixicon/react": {+ "version": "4.9.0",+ "resolved": "https://registry.npmjs.org/@remixicon/react/-/react-4.9.0.tgz",+ "integrity": "sha512-5/jLDD4DtKxH2B4QVXTobvV1C2uL8ab9D5yAYNtFt+w80O0Ys1xFOrspqROL3fjrZi+7ElFUWE37hBfaAl6U+Q==",+ "license": "Remix Icon License 1.0",+ "peerDependencies": {+ "react": ">=18.2.0"+ }+ },"node_modules/@rolldown/binding-android-arm-eabi": {"version": "1.2.6","resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.6.tgz","integrity": "sha512-b+jTcARdTiFLI6jB4a5XjTm0RWd6KcRfQj/I2356fxUZemiho9zQLxo0RtCuMDAyKcLo6cEltkgbQp6d1+sjjQ==","cpu": [- "arm"+ "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.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.6.tgz",+ "integrity": "sha512-lkWU8ZJaRk9q3CIEY1Tc7vIFALp3Xw5NfGJo2hQg5oIqNgxWi1zI+IiDEK3r70BF5Dzol1tcXsnzsRc8NLhG+Q==",+ "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.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.6.tgz",+ "integrity": "sha512-dgR56NYnvAszm7Ob1B2/Vn0e8bUQYZH2UjVaMMtMVOCKFSfjhfLmuA/9+O+F+ajUdG6B/bSssrKW6JJYASa8jA==",+ "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.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.6.tgz",+ "integrity": "sha512-vpVxFvUCFioJqug7OTvqptkc4yb8UX0AwfDmJpaR/0sWz+BUmqSVAf7c8JkUgnN8YLspb4a/N6NhTyMAmdyQ7Q==",+ "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.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.6.tgz",+ "integrity": "sha512-h1wG6Y6K3JlRswxsI64qQJqBAy4vrLuHgRbc8CZMGSWTOFRY6ghMApM1NKzB2I0n5xV1fjkE18SuVl2QpLeNpA==",+ "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.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.6.tgz",+ "integrity": "sha512-tbCiqub0q2MVWJKgF5PoAlNWCtQydiOYSLIkd8sByqK/6MMYLJRcSXSYodqYtd0O+Fw7QaVmKKlS4oL94YRZ0w==",+ "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.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.6.tgz",+ "integrity": "sha512-oxK9+baEBPhZG5HB4URY+uU04zJWeZlH6Tb9rB5DK4DF9XR1uXNLXt5Q5ZsugTKayNCNLhkcwz/ye74hRI98dg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "libc": [+ "glibc"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-arm64-musl": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.6.tgz",+ "integrity": "sha512-muWCk27FVBEZtv0MsK8gnfSmgczA8KQ0uRVJbTABKhkRfQc38aUrcb7fhi3BNiyseFmgcRsoMfQsSNJ+DbZdSw==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "libc": [+ "musl"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-ppc64-gnu": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.6.tgz",+ "integrity": "sha512-eWDoSfU7Co2qj3vgB3Dt4lj1mG6CoWbcJQkRMP3XJplyCMtuaq3LHvPFjS9QIPvMGWVadJC04Xiy0IdcVPtnwQ==",+ "cpu": [+ "ppc64"+ ],+ "dev": true,+ "libc": [+ "glibc"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-s390x-gnu": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.6.tgz",+ "integrity": "sha512-2bWNjRSIayvupRKxXUY2tWG9fYdoUlTqWywHRvE8Eq3GvuQ+f2HeIkve697fIt+IQs/PV8yFsdWuhp1aJ1PdnA==",+ "cpu": [+ "s390x"+ ],+ "dev": true,+ "libc": [+ "glibc"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-x64-gnu": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.6.tgz",+ "integrity": "sha512-KekI0gS0wLxe1UBSQSjenBVwou/JkcQPDzBPICGZjxUv9k3RteHDPBQaiOicZUFKRIH2wKEimGwVpnJsbPzu7w==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "libc": [+ "glibc"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-x64-musl": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.6.tgz",+ "integrity": "sha512-TvtPnfVr+HtyGiDmPK4VWmlNm7QhNNAcK5Q9A7aOXsI8545yCyaoMaicXrFZ72JzeYjaUVk7yT243zT0jzjFKQ==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "libc": [+ "musl"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-openharmony-arm64": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.6.tgz",+ "integrity": "sha512-iOo0VEay2XFhaCcH0sps5XIimkSuOnNaZrf6+ZkoSOQBJPKNU48RkmJv0/lSpipexu5P+ouFgafe5IGr/DiQfg==",+ "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.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.6.tgz",+ "integrity": "sha512-y5NTmmasMS455JlOCO4ZM9krIchv3Mvm1crL1iUPGOPgEzSkves9n0SdC5Sjz6+qWDFhd8/JpfWMH8NSWNHe+A==",+ "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.6",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.6.tgz",+ "integrity": "sha512-np8iZSLfXlAD4kWhiyq/u0Yt8oZDtRQ8lGhQaCXo2rl37KNjeU0GjJuwr4P3oeZ++ROfofsKNBqR5LTO8aXyWQ==",+ "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/@swc/helpers": {+ "version": "0.5.23",+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.23.tgz",+ "integrity": "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.8.0"+ }+ },+ "node_modules/@tailwindcss/node": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz",+ "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jridgewell/remapping": "^2.3.5",+ "enhanced-resolve": "^5.24.1",+ "jiti": "^2.7.0",+ "lightningcss": "1.32.0",+ "magic-string": "^0.30.21",+ "source-map-js": "^1.2.1",+ "tailwindcss": "4.3.3"+ }+ },+ "node_modules/@tailwindcss/node/node_modules/lightningcss": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",+ "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",+ "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.32.0",+ "lightningcss-darwin-arm64": "1.32.0",+ "lightningcss-darwin-x64": "1.32.0",+ "lightningcss-freebsd-x64": "1.32.0",+ "lightningcss-linux-arm-gnueabihf": "1.32.0",+ "lightningcss-linux-arm64-gnu": "1.32.0",+ "lightningcss-linux-arm64-musl": "1.32.0",+ "lightningcss-linux-x64-gnu": "1.32.0",+ "lightningcss-linux-x64-musl": "1.32.0",+ "lightningcss-win32-arm64-msvc": "1.32.0",+ "lightningcss-win32-x64-msvc": "1.32.0"+ }+ },+ "node_modules/@tailwindcss/node/node_modules/lightningcss-android-arm64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",+ "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",+ "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/@tailwindcss/node/node_modules/lightningcss-darwin-arm64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",+ "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",+ "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/@tailwindcss/node/node_modules/lightningcss-darwin-x64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",+ "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",+ "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/@tailwindcss/node/node_modules/lightningcss-freebsd-x64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",+ "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",+ "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/@tailwindcss/node/node_modules/lightningcss-linux-arm-gnueabihf": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",+ "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",+ "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/@tailwindcss/node/node_modules/lightningcss-linux-arm64-gnu": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",+ "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "libc": [+ "glibc"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-arm64-musl": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",+ "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "libc": [+ "musl"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-x64-gnu": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",+ "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "libc": [+ "glibc"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-x64-musl": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",+ "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",+ "cpu": [+ "x64"],"dev": true,- "license": "MIT",+ "libc": [+ "musl"+ ],+ "license": "MPL-2.0","optional": true,"os": [- "android"+ "linux"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"}},- "node_modules/@rolldown/binding-android-arm64": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.6.tgz",- "integrity": "sha512-lkWU8ZJaRk9q3CIEY1Tc7vIFALp3Xw5NfGJo2hQg5oIqNgxWi1zI+IiDEK3r70BF5Dzol1tcXsnzsRc8NLhG+Q==",+ "node_modules/@tailwindcss/node/node_modules/lightningcss-win32-arm64-msvc": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",+ "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==","cpu": ["arm64"],"dev": true,- "license": "MIT",+ "license": "MPL-2.0","optional": true,"os": [- "android"+ "win32"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"}},- "node_modules/@rolldown/binding-darwin-arm64": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.6.tgz",- "integrity": "sha512-dgR56NYnvAszm7Ob1B2/Vn0e8bUQYZH2UjVaMMtMVOCKFSfjhfLmuA/9+O+F+ajUdG6B/bSssrKW6JJYASa8jA==",+ "node_modules/@tailwindcss/node/node_modules/lightningcss-win32-x64-msvc": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",+ "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==","cpu": [- "arm64"+ "x64"],"dev": true,- "license": "MIT",+ "license": "MPL-2.0","optional": true,"os": [- "darwin"+ "win32"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"}},- "node_modules/@rolldown/binding-darwin-x64": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.6.tgz",- "integrity": "sha512-vpVxFvUCFioJqug7OTvqptkc4yb8UX0AwfDmJpaR/0sWz+BUmqSVAf7c8JkUgnN8YLspb4a/N6NhTyMAmdyQ7Q==",+ "node_modules/@tailwindcss/node/node_modules/magic-string": {+ "version": "0.30.21",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jridgewell/sourcemap-codec": "^1.5.5"+ }+ },+ "node_modules/@tailwindcss/oxide": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz",+ "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 20"+ },+ "optionalDependencies": {+ "@tailwindcss/oxide-android-arm64": "4.3.3",+ "@tailwindcss/oxide-darwin-arm64": "4.3.3",+ "@tailwindcss/oxide-darwin-x64": "4.3.3",+ "@tailwindcss/oxide-freebsd-x64": "4.3.3",+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3",+ "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3",+ "@tailwindcss/oxide-linux-arm64-musl": "4.3.3",+ "@tailwindcss/oxide-linux-x64-gnu": "4.3.3",+ "@tailwindcss/oxide-linux-x64-musl": "4.3.3",+ "@tailwindcss/oxide-wasm32-wasi": "4.3.3",+ "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3",+ "@tailwindcss/oxide-win32-x64-msvc": "4.3.3"+ }+ },+ "node_modules/@tailwindcss/oxide-android-arm64": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz",+ "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==","cpu": [- "x64"+ "arm64"],"dev": true,"license": "MIT","optional": true,"os": [- "darwin"+ "android"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "node_modules/@rolldown/binding-freebsd-x64": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.6.tgz",- "integrity": "sha512-h1wG6Y6K3JlRswxsI64qQJqBAy4vrLuHgRbc8CZMGSWTOFRY6ghMApM1NKzB2I0n5xV1fjkE18SuVl2QpLeNpA==",+ "node_modules/@tailwindcss/oxide-darwin-arm64": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz",+ "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==","cpu": [- "x64"+ "arm64"],"dev": true,"license": "MIT","optional": true,"os": [- "freebsd"+ "darwin"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "node_modules/@rolldown/binding-linux-arm-gnueabihf": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.6.tgz",- "integrity": "sha512-tbCiqub0q2MVWJKgF5PoAlNWCtQydiOYSLIkd8sByqK/6MMYLJRcSXSYodqYtd0O+Fw7QaVmKKlS4oL94YRZ0w==",+ "node_modules/@tailwindcss/oxide-darwin-x64": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz",+ "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==","cpu": [- "arm"+ "x64"],"dev": true,"license": "MIT","optional": true,"os": [- "linux"+ "darwin"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "node_modules/@rolldown/binding-linux-arm64-gnu": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.6.tgz",- "integrity": "sha512-oxK9+baEBPhZG5HB4URY+uU04zJWeZlH6Tb9rB5DK4DF9XR1uXNLXt5Q5ZsugTKayNCNLhkcwz/ye74hRI98dg==",+ "node_modules/@tailwindcss/oxide-freebsd-x64": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz",+ "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==","cpu": [- "arm64"+ "x64"],"dev": true,- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [- "linux"+ "freebsd"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "node_modules/@rolldown/binding-linux-arm64-musl": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.6.tgz",- "integrity": "sha512-muWCk27FVBEZtv0MsK8gnfSmgczA8KQ0uRVJbTABKhkRfQc38aUrcb7fhi3BNiyseFmgcRsoMfQsSNJ+DbZdSw==",+ "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz",+ "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==","cpu": [- "arm64"+ "arm"],"dev": true,- "libc": [- "musl"- ],"license": "MIT","optional": true,"os": ["linux"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "node_modules/@rolldown/binding-linux-ppc64-gnu": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.6.tgz",- "integrity": "sha512-eWDoSfU7Co2qj3vgB3Dt4lj1mG6CoWbcJQkRMP3XJplyCMtuaq3LHvPFjS9QIPvMGWVadJC04Xiy0IdcVPtnwQ==",+ "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz",+ "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==","cpu": [- "ppc64"+ "arm64"],"dev": true,"libc": [@@ -244,19 +875,19 @@"linux"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "node_modules/@rolldown/binding-linux-s390x-gnu": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.6.tgz",- "integrity": "sha512-2bWNjRSIayvupRKxXUY2tWG9fYdoUlTqWywHRvE8Eq3GvuQ+f2HeIkve697fIt+IQs/PV8yFsdWuhp1aJ1PdnA==",+ "node_modules/@tailwindcss/oxide-linux-arm64-musl": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz",+ "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==","cpu": [- "s390x"+ "arm64"],"dev": true,"libc": [- "glibc"+ "musl"],"license": "MIT","optional": true,@@ -264,13 +895,13 @@"linux"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "node_modules/@rolldown/binding-linux-x64-gnu": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.6.tgz",- "integrity": "sha512-KekI0gS0wLxe1UBSQSjenBVwou/JkcQPDzBPICGZjxUv9k3RteHDPBQaiOicZUFKRIH2wKEimGwVpnJsbPzu7w==",+ "node_modules/@tailwindcss/oxide-linux-x64-gnu": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz",+ "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==","cpu": ["x64"],@@ -284,13 +915,13 @@"linux"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "node_modules/@rolldown/binding-linux-x64-musl": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.6.tgz",- "integrity": "sha512-TvtPnfVr+HtyGiDmPK4VWmlNm7QhNNAcK5Q9A7aOXsI8545yCyaoMaicXrFZ72JzeYjaUVk7yT243zT0jzjFKQ==",+ "node_modules/@tailwindcss/oxide-linux-x64-musl": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz",+ "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==","cpu": ["x64"],@@ -304,30 +935,43 @@"linux"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "node_modules/@rolldown/binding-openharmony-arm64": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.6.tgz",- "integrity": "sha512-iOo0VEay2XFhaCcH0sps5XIimkSuOnNaZrf6+ZkoSOQBJPKNU48RkmJv0/lSpipexu5P+ouFgafe5IGr/DiQfg==",+ "node_modules/@tailwindcss/oxide-wasm32-wasi": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz",+ "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==",+ "bundleDependencies": [+ "@napi-rs/wasm-runtime",+ "@emnapi/core",+ "@emnapi/runtime",+ "@tybys/wasm-util",+ "@emnapi/wasi-threads",+ "tslib"+ ],"cpu": [- "arm64"+ "wasm32"],"dev": true,"license": "MIT","optional": true,- "os": [- "openharmony"- ],+ "dependencies": {+ "@emnapi/core": "^1.11.1",+ "@emnapi/runtime": "^1.11.1",+ "@emnapi/wasi-threads": "^1.2.2",+ "@napi-rs/wasm-runtime": "^1.1.4",+ "@tybys/wasm-util": "^0.10.2",+ "tslib": "^2.8.1"+ },"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">=14.0.0"}},- "node_modules/@rolldown/binding-win32-arm64-msvc": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.6.tgz",- "integrity": "sha512-y5NTmmasMS455JlOCO4ZM9krIchv3Mvm1crL1iUPGOPgEzSkves9n0SdC5Sjz6+qWDFhd8/JpfWMH8NSWNHe+A==",+ "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz",+ "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==","cpu": ["arm64"],@@ -338,13 +982,13 @@"win32"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "node_modules/@rolldown/binding-win32-x64-msvc": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.6.tgz",- "integrity": "sha512-np8iZSLfXlAD4kWhiyq/u0Yt8oZDtRQ8lGhQaCXo2rl37KNjeU0GjJuwr4P3oeZ++ROfofsKNBqR5LTO8aXyWQ==",+ "node_modules/@tailwindcss/oxide-win32-x64-msvc": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz",+ "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==","cpu": ["x64"],@@ -355,15 +999,23 @@"win32"],"engines": {- "node": "^20.19.0 || >=22.12.0"+ "node": ">= 20"}},- "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==",+ "node_modules/@tailwindcss/vite": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.3.tgz",+ "integrity": "sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==","dev": true,- "license": "MIT"+ "license": "MIT",+ "dependencies": {+ "@tailwindcss/node": "4.3.3",+ "@tailwindcss/oxide": "4.3.3",+ "tailwindcss": "4.3.3"+ },+ "peerDependencies": {+ "vite": "^5.2.0 || ^6 || ^7 || ^8"+ }},"node_modules/@types/chai": {"version": "5.2.3",@@ -427,6 +1079,26 @@"undici-types": "~8.3.0"}},+ "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==",+ "dev": 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/@types/whatwg-mimetype": {"version": "3.0.2","resolved": "https://registry.npmjs.org/@types/whatwg-mimetype/-/whatwg-mimetype-3.0.2.tgz",@@ -822,6 +1494,18 @@"url": "https://opencollective.com/vitest"}},+ "node_modules/aria-hidden": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz",+ "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==",+ "license": "MIT",+ "dependencies": {+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ }+ },"node_modules/assertion-error": {"version": "2.0.1","resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",@@ -855,6 +1539,28 @@"node": ">=18"}},+ "node_modules/client-only": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",+ "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",+ "license": "MIT"+ },+ "node_modules/clsx": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "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==",+ "dev": true,+ "license": "MIT"+ },"node_modules/d3-array": {"version": "2.12.1","resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz",@@ -899,6 +1605,20 @@"node": ">=8"}},+ "node_modules/enhanced-resolve": {+ "version": "5.25.1",+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.25.1.tgz",+ "integrity": "sha512-nGXts5znJzmWPu+mIE9izCOzdg63oJca2mDzGWWTth7sr4aCToKcoyFVBQwN75Ij5Pf6p510EwkTqViTRzDV+w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "graceful-fs": "^4.2.4",+ "tapable": "^2.3.3"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },"node_modules/entities": {"version": "7.0.1","resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz",@@ -972,6 +1692,13 @@"node": "^8.16.0 || ^10.6.0 || >=11.0.0"}},+ "node_modules/graceful-fs": {+ "version": "4.2.11",+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",+ "dev": true,+ "license": "ISC"+ },"node_modules/happy-dom": {"version": "20.14.0","resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-20.14.0.tgz",@@ -997,6 +1724,16 @@"integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==","license": "ISC"},+ "node_modules/jiti": {+ "version": "2.7.0",+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz",+ "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "jiti": "lib/jiti-cli.mjs"+ }+ },"node_modules/lightningcss": {"version": "1.33.0","resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz",@@ -1380,6 +2117,84 @@}}},+ "node_modules/react": {+ "version": "19.3.0",+ "resolved": "https://registry.npmjs.org/react/-/react-19.3.0.tgz",+ "integrity": "sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/react-aria": {+ "version": "3.52.1",+ "resolved": "https://registry.npmjs.org/react-aria/-/react-aria-3.52.1.tgz",+ "integrity": "sha512-fdZZruC9/x/joCg0mhKGs5aHpwrXLCSZ4GOJmhhYyiE0ffyEsk9MLFt9LCOCF9tn8ErTD+UDQP4oDUSlZkmpCg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@internationalized/date": "^3.12.4",+ "@internationalized/number": "^3.6.8",+ "@internationalized/string": "^3.2.10",+ "@react-types/shared": "^3.36.1",+ "@swc/helpers": "^0.5.0",+ "aria-hidden": "^1.2.3",+ "clsx": "^2.0.0",+ "react-stately": "3.50.0",+ "use-sync-external-store": "^1.6.0"+ },+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",+ "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"+ }+ },+ "node_modules/react-aria-components": {+ "version": "1.21.1",+ "resolved": "https://registry.npmjs.org/react-aria-components/-/react-aria-components-1.21.1.tgz",+ "integrity": "sha512-J88WflYY0z+EhLX0ce+GjFlQ3ag3ubIgfUTjpKSrBQBu92Xtl4Ub9o118HItUddtbk1Ido0jzyPy94/klZy1hg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@internationalized/date": "^3.12.4",+ "@internationalized/string": "^3.2.10",+ "@react-types/shared": "^3.36.1",+ "@swc/helpers": "^0.5.0",+ "client-only": "^0.0.1",+ "react-aria": "3.52.1",+ "react-stately": "3.50.0"+ },+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",+ "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"+ }+ },+ "node_modules/react-dom": {+ "version": "19.3.0",+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.0.tgz",+ "integrity": "sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==",+ "license": "MIT",+ "dependencies": {+ "scheduler": "^0.28.0"+ },+ "peerDependencies": {+ "react": "^19.3.0"+ }+ },+ "node_modules/react-stately": {+ "version": "3.50.0",+ "resolved": "https://registry.npmjs.org/react-stately/-/react-stately-3.50.0.tgz",+ "integrity": "sha512-TnckvpDQGU0672wEaLZqdzvhuSeXWjgW6vijMWxiKOxc8CosQUfPGISdcZyfHqjX3XMjEtRxj4w9HumvX4h4mw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@internationalized/date": "^3.12.4",+ "@internationalized/number": "^3.6.8",+ "@internationalized/string": "^3.2.10",+ "@react-types/shared": "^3.36.1",+ "@swc/helpers": "^0.5.0",+ "use-sync-external-store": "^1.6.0"+ },+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"+ }+ },"node_modules/rolldown": {"version": "1.2.6","resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.6.tgz",@@ -1414,6 +2229,12 @@"@rolldown/binding-win32-x64-msvc": "1.2.6"}},+ "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/siginfo": {"version": "2.0.0","resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",@@ -1445,6 +2266,37 @@"dev": true,"license": "MIT"},+ "node_modules/tailwind-merge": {+ "version": "3.7.0",+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.7.0.tgz",+ "integrity": "sha512-XPPUyAc+cvspz3lHTcR/QgPfW2A0lv/xQNIjX3HGhLR+Nq2lHaLq5MtTesHn8GUr3W3DguT2KT5x3NVgRtYwmA==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/dcastil"+ }+ },+ "node_modules/tailwindcss": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz",+ "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/tapable": {+ "version": "2.3.3",+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz",+ "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ }+ },"node_modules/tinybench": {"version": "6.1.4","resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.1.4.tgz",@@ -1482,6 +2334,12 @@"url": "https://github.com/sponsors/SuperchupuDev"}},+ "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/typescript": {"version": "7.0.2","resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz",@@ -1524,6 +2382,15 @@"dev": true,"license": "MIT"},+ "node_modules/use-sync-external-store": {+ "version": "1.7.0",+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz",+ "integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==",+ "license": "MIT",+ "peerDependencies": {+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"+ }+ },"node_modules/vite": {"version": "8.2.2","resolved": "https://registry.npmjs.org/vite/-/vite-8.2.2.tgz",diff --git a/frontend/package.json b/frontend/package.jsonindex eb5dc5a23..4cde300b7 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -7,19 +7,29 @@},"scripts": {"dev": "vite build --watch",- "build": "vite build",- "typecheck": "tsc --noEmit",+ "dev:react": "vite build -c vite.react.config.ts --watch",+ "build": "vite build && vite build -c vite.react.config.ts",+ "typecheck": "tsc --noEmit && tsc --noEmit -p src/react","test": "vitest run","test:watch": "vitest"},"dependencies": {"@preact/signals": "2.11.1",+ "@remixicon/react": "4.9.0","d3-sankey": "0.12.3",- "preact": "10.29.8"+ "preact": "10.29.8",+ "react": "19.3.0",+ "react-aria-components": "1.21.1",+ "react-dom": "19.3.0",+ "tailwind-merge": "3.7.0"},"devDependencies": {+ "@tailwindcss/vite": "4.3.3","@types/d3-sankey": "0.12.5",+ "@types/react": "19.3.0",+ "@types/react-dom": "19.3.0","happy-dom": "20.14.0",+ "tailwindcss": "4.3.3","typescript": "7.0.2","vite": "8.2.2","vitest": "5.0.0"diff --git a/frontend/src/islands/access-settings.tsx b/frontend/src/islands/access-settings.tsxdeleted file mode 100644index 7130dcb83..000000000--- a/frontend/src/islands/access-settings.tsx+++ /dev/null@@ -1,74 +0,0 @@-/** 本机访问密码;表单值只留在提交期间的组件内存中。 */-import { useRef, useState } from 'preact/hooks';-import type { JSX } from 'preact';-import { noteHtml } from '@peach/legacy/ui';-import { SettingsSection, useSubmitAction } from '../settings-controls';-import { ApiError, apiSend, errorMessage } from '../api';--export interface AccessState { mode: 'open' | 'password' | 'legacy' | 'locked'; revision: string }-type FieldErrors = Partial<Record<'current_password' | 'password' | 'confirmation', string>>;--function PasswordField({ id, label, value, onInput, error, help, current = false, disabled = false }: {- id: string; label: string; value: string; onInput(value: string): void; error?: string | undefined; help?: string; current?: boolean; disabled?: boolean;-}) {- return <div class="configfield">- <label for={id}>{label}</label>- <input id={id} class="geist-input" type="password" autoComplete={current ? 'current-password' : 'new-password'}- maxLength={256} value={value} onInput={(event) => onInput(event.currentTarget.value)} required={!disabled} disabled={disabled}- aria-invalid={Boolean(error)} aria-describedby={error || help ? `${id}-hint` : undefined} />- {error || help ? <p id={`${id}-hint`} class={error ? 'configbad' : 'confighelp'} role={error ? 'alert' : undefined}>{error || help}</p> : null}- </div>;-}--export function AccessSettings({ initial, receipt }: { initial: AccessState; receipt(message: string): void }) {- const [state, setState] = useState(initial);- const [current, setCurrent] = useState('');- const [password, setPassword] = useState('');- const [confirmation, setConfirmation] = useState('');- const [disable, setDisable] = useState(false);- const [fields, setFields] = useState<FieldErrors>({});- const form = useRef<HTMLFormElement>(null);- const button = useRef<HTMLButtonElement>(null);- const {run, error, setError, busy} = useSubmitAction(button);- const submit = async (event: JSX.TargetedEvent<HTMLFormElement>) => {- event.preventDefault();- if (busy.current) return;- setError('');- const issues: FieldErrors = {};- if (state.mode === 'password' && !current) issues.current_password = '请输入当前访问密码';- if (!disable) {- if (password.length < 8 || password.length > 256) issues.password = '访问密码需为 8–256 个字符';- if (password !== confirmation) issues.confirmation = '两次输入的密码不一致';- }- setFields(issues);- if (Object.keys(issues).length) {- requestAnimationFrame(() => form.current?.querySelector<HTMLInputElement>('[aria-invalid="true"]')?.focus());- return;- }- await run(signal => apiSend<AccessState>('/api/configuration/access', {- revision: state.revision, action: disable ? 'disable' : 'set', confirm_disable: disable,- current_password: current, password: disable ? '' : password, confirmation: disable ? '' : confirmation,- }, 'POST', signal), next => {- setState(next); setCurrent(''); setPassword(''); setConfirmation(''); setDisable(false); setFields({});- receipt(next.mode === 'open' ? '已关闭访问密码' : '已保存访问密码');- }, cause => {- const payload = cause instanceof ApiError ? cause.body as { errors?: FieldErrors; detail?: { errors?: FieldErrors } } : null;- const errors = payload?.errors || payload?.detail?.errors;- if (errors) setFields(errors); else setError(errorMessage(cause));- });- };- return <SettingsSection titleId="accessTitle" title="访问密码" warning={disable} onSubmit={submit} noValidate formRef={form} error={error}- help={state.mode === 'legacy' ? '当前使用系统生成的访问口令。你可以设置自己的密码,或关闭登录要求。' : state.mode === 'locked' ? '访问设置无法读取,请在本机检查配置文件。' : state.mode === 'password' ? '已设置密码。新设备需要登录,保持登录时间在登录页选择。' : undefined}- footer={state.mode !== 'locked' && <><p>保存后立即生效。</p><button class="geist-button primary" type="submit" ref={button}>保存配置</button></>}>- {/* 没有密码是这台机器当前的状态,不是填表时的一句说明:同一个局域网里任何一台- 设备打开地址就进馆藏。灰色小字和其他字段的提示长得一样,扫一眼会滑过去。 */}- {state.mode === 'open' ? <div dangerouslySetInnerHTML={{__html:noteHtml('能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。',{variant:'warning',label:'未设置访问密码'})}} /> : null}- {state.mode === 'password' || state.mode === 'legacy' ?<label class="configcheck"><span class="pcheck"><input type="checkbox" checked={disable} onChange={(event) => setDisable(event.currentTarget.checked)} /><span aria-hidden="true"><svg viewBox="0 0 24 24"><use href="#i-check" /></svg></span></span><span>关闭访问密码,允许能连接到 Peach 的设备直接访问</span></label> : null}- {state.mode === 'password' ? <PasswordField id="access-current" label="当前访问密码" value={current} onInput={setCurrent} error={fields.current_password} current /> : null}- {state.mode !== 'locked' ? <>- <PasswordField id="access-password" label={state.mode === 'password' ? '新访问密码' : '设置访问密码'} value={password} onInput={setPassword} disabled={disable} error={disable ? undefined : fields.password} help={disable ? '关闭访问密码时无需填写。' : '至少 8 个字符。保存后其他设备需要重新登录。'} />- <PasswordField id="access-confirm" label="确认访问密码" value={confirmation} onInput={setConfirmation} disabled={disable} error={disable ? undefined : fields.confirmation} />- </> : null}- {disable && <div dangerouslySetInnerHTML={{__html:noteHtml('保存后,能连接到 Peach 的设备将直接访问馆藏。',{variant:'warning',label:'访问范围'})}} />}- </SettingsSection>;-}diff --git a/frontend/src/islands/configuration.tsx b/frontend/src/islands/configuration.tsxindex 0da8a07ae..bd7e336db 100644--- a/frontend/src/islands/configuration.tsx+++ b/frontend/src/islands/configuration.tsx@@ -13,7 +13,8 @@ import type { JSX } from 'preact';import { fieldsetTitle, noteHtml, setActionBusy, MEDIA_SOURCE_ICONS, selectOptionIconHtml } from '@peach/legacy/ui';import { SelectField } from '../settings-controls';import { ApiError, apiGet, apiSend, errorMessage } from '../api';-import { AccessSettings, type AccessState } from './access-settings';+import type { AccessState } from '@peach/react';+import { ReactSlot } from '../react-slot';import { ReleaseUpdates, type ReleaseState, type UpdateJob } from './release-updates';import { AutomaticUpdateSettings, type AutomaticUpdateState } from './automatic-updates';import { PeachProxy, type PeachProxyState } from './peach-proxy';@@ -358,7 +359,7 @@ export function Configuration({ receipt, data, error }: ConfigurationProps & Sta<MountStatus data={data} />{data.peach_proxy || data.access ? <h2 class="configgroup">网络与访问</h2> : null}{data.peach_proxy ? <PeachProxy initial={data.peach_proxy} receipt={receipt} /> : null}- {data.access ? <AccessSettings initial={data.access} receipt={receipt} /> : null}+ {data.access ? <ReactSlot mount="mountAccessSettings" props={{ initial: data.access, receipt }} /> : null}<h2 class="configgroup">更新与维护</h2>{data.automatic_updates ? <AutomaticUpdateSettings initial={data.automatic_updates} receipt={receipt} /> : null}{data.updates ? <ReleaseUpdates initial={data.updates} initialJob={data.update_job} /> : null}diff --git a/frontend/src/react-slot.tsx b/frontend/src/react-slot.tsxnew file mode 100644index 000000000..255433741--- /dev/null+++ b/frontend/src/react-slot.tsx@@ -0,0 +1,40 @@+/* Preact island 与 React 子树的交接点。+ *+ * Preact 只画一个空的 `.peach-react` 容器,React 根挂在它里面:Preact 的 diff 只处理自己+ * 画过的子节点,React 画进去的 DOM 它不碰。React 产物在第一次用到时才加载,+ * 没有 React 子树的页面不取 `peach-react.js`。 */+import { useEffect, useRef, useState } from 'preact/hooks';+import type * as ReactBundle from '@peach/react';++type MountName = 'mountAccessSettings';+type PropsOf<N extends MountName> = Parameters<(typeof ReactBundle)[N]>[1];++export function ReactSlot<N extends MountName>({ mount, props }: { mount: N; props: PropsOf<N> }) {+ const host = useRef<HTMLDivElement>(null);+ const root = useRef<ReactBundle.ReactMount<PropsOf<N>> | null>(null);+ const latest = useRef(props);+ latest.current = props;+ const [failure, setFailure] = useState('');++ useEffect(() => {+ let cancelled = false;+ import('@peach/react').then((bundle) => {+ if (cancelled || !host.current) return;+ const create = bundle[mount] as (el: Element, next: PropsOf<N>) => ReactBundle.ReactMount<PropsOf<N>>;+ root.current = create(host.current, latest.current);+ }, (cause: unknown) => {+ if (!cancelled) setFailure(cause instanceof Error ? cause.message : String(cause));+ });+ return () => {+ cancelled = true;+ root.current?.unmount();+ root.current = null;+ };+ }, [mount]);++ useEffect(() => { root.current?.update(props); });++ return failure+ ? <p class="configbad" role="alert">界面组件没有加载:{failure}</p>+ : <div ref={host} class="peach-react" />;+}diff --git a/frontend/src/react/boardui/ORIGIN.md b/frontend/src/react/boardui/ORIGIN.mdnew file mode 100644index 000000000..469c871cb--- /dev/null+++ b/frontend/src/react/boardui/ORIGIN.md@@ -0,0 +1,30 @@+# BoardUI 源码++来源是 BoardUI 的 shadcn 注册表条目 `https://www.boardui.com/r/<条目>.json`,2026-09-15 取得。+许可证为 MIT,原文见 `web/vendor/boardui-LICENSE.txt`。++本目录逐字复制条目里 `files[].content`,相对路径与上游 `path` 相同,上游源码里的+`@/utils/cx` 因此不用改写。这里的文件不做修改:Peach 需要不同的组合或外观时,+在 `../settings/` 这类 Peach 自己的目录里组合,差异写进下表。++| 条目 | 注册表 JSON 的 SHA-256 | 复制的文件 |+| --- | --- | --- |+| `theme` | `ee1cb0e973b108b90fd4999796a595fff6a1e5e453e115a6966c43b6e53ed428` | `styles/theme.css` |+| `typography` | `5b7eca25350829755eb15cb474ab009fd1f8b929e62d54182f648b4f2e97bf8e` | `styles/typography.css` |+| `cx` | `d118c2ace1454a92fbfb69ad0d03b2916fece06ef5102ae26dcedaa6da2e390c` | `utils/cx.ts` |+| `button` | `89cc2c176d1d94d481bbfc6e34f233ccf109c10d319533cc7c1e98923b6e7d69` | `components/base/buttons/button.tsx` |+| `input` | `ac1e66c9ed15f9db2750dd528bc894c856ac84e79f72ff4acb96f14b1ab9c249` | `components/base/input/{input,label,hint-text}.tsx` |+| `checkbox` | `6210fdb4c54aab6dd89db3ae1bc387596a2dbacde62896aecaa2a7e15ece859c` | `components/base/checkbox/{checkbox,checkbox-glyph}.tsx` |+| `settings-modal` | `eb01742ca56daa473f042244176cd697fc20010ab18f680e3a3a8012d69f6c5b` | `components/application/settings/settings-rows.tsx` |++## 没有逐字复制的部分++| 上游 | 处理 | 原因 |+| --- | --- | --- |+| `globals`(`693885494e6f229637fe118852efbfb3df820dd8d174a2a7e47f65dadfcd96bf`) | 不复制整份;试点用到的 `check-draw` 动画和根元素的字体平滑搬进 `../styles.css`,作用域是 `.peach-react` | 整份 `@import "tailwindcss"` 会把 Preflight 和 `html`、`body` 的底色铺到整页,未迁移页面仍由旧样式表绘制 |+| Tailwind Preflight | `../preflight-scoped.css` 逐字包进 `@scope (.peach-react)` | 同上 |+| 深色模式 | 上游读 `<html class="dark">`;`web/app.js` 的 `applyTheme()` 与 `index.html` 首帧脚本按实际深浅加减这个类 | Peach 的主题选择写在 `data-theme`,跟随系统时不写属性 |+| 与 `web/board.css` 同名的 `--color-*` token | 由 `board.css` 定值 | `peach-react.css` 排在旧样式表之前,未迁移页面的颜色保持不变 |+| 焦点环 | 输入框只画 BoardUI 外框上的 `ring`;`web/css/01-base.css` 的全局 `:focus-visible` 排除 `.peach-react` 子树 | 旧样式表排在后面,同特指度时会盖过 `outline-none`,内层输入框多出一圈 |+| 提交键忙态 | 写 `aria-busy` 与 `aria-disabled`,不画 Spinner | `button` 条目没有加载态 |+| 行内警示 | `../settings/access-settings.tsx` 的 `Warning` 用 `status-yellow` token 组合 | 注册表里没有行内 Note 组件 |diff --git a/frontend/src/react/boardui/components/application/settings/settings-rows.tsx b/frontend/src/react/boardui/components/application/settings/settings-rows.tsxnew file mode 100644index 000000000..f29091ca2--- /dev/null+++ b/frontend/src/react/boardui/components/application/settings/settings-rows.tsx@@ -0,0 +1,107 @@+import type { ComponentType, ReactNode } from "react";+import { cx } from "@/utils/cx";++/**+ * Shared row chrome for the settings modal pages (Figma "Settings/Profile"+ * node 4081:13943 and "Settings/General" node 4079:13037).+ *+ * Every settings group is the same recipe:+ * card bg background/secondary, radius/2xl (16px), pl 12 — the left+ * padding lives on the card so each row's bottom border stops+ * 12px short of the left edge, exactly like Figma.+ * row py 10 pr 10, min-height 52, 1px border/button/default under+ * every row except the last, label left / control right.+ * label Body 1/Regular text/primary, optional Body 2/Regular+ * text/secondary description underneath.+ */++type IconComponent = ComponentType<{+ className?: string;+ "aria-hidden"?: boolean | "true" | "false";+}>;++/** Grouped card — rows divide themselves with borders that respect pl-12. */+export function SettingsCard({ className, children }: { className?: string; children: ReactNode }) {+ return (+ <div+ className={cx(+ "flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3",+ className,+ )}+ >+ {children}+ </div>+ );+}++/** Muted 13px section heading above a card ("Pull Requests", "Notifications"). */+export function SettingsSectionLabel({ className, children }: { className?: string; children: ReactNode }) {+ return (+ <p className={cx("w-full px-3 text-body-2-medium text-text-secondary", className)}>{children}</p>+ );+}++/** One label + control row. Rows separate themselves; the last has no border. */+export function SettingsRow({+ label,+ description,+ children,+}: {+ label: string;+ description?: string;+ children?: ReactNode;+}) {+ return (+ <div+ className={cx(+ "flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5",+ "border-b border-separator-border last:border-b-0",+ )}+ >+ <div className="flex min-w-0 flex-col">+ <p className="text-body-regular text-text-primary">{label}</p>+ {description && (+ <p className="text-body-2-regular text-text-secondary">{description}</p>+ )}+ </div>+ {children}+ </div>+ );+}++/**+ * The grey read-only value field (Figma "Input" instances — bg+ * background/tertiary, h 32, radius/2lg, 202px wide). Not an editable input+ * in the design: it presents the stored value.+ */+export function SettingsValueField({+ icon: Icon,+ children,+ muted = false,+ className,+}: {+ icon?: IconComponent;+ children: ReactNode;+ /** Secondary text color (e.g. the truncated Device ID). */+ muted?: boolean;+ className?: string;+}) {+ return (+ <div+ className={cx(+ "flex h-8 w-[202px] shrink-0 items-center gap-0.5 rounded-2lg bg-background-tertiary-default px-1.5",+ className,+ )}+ >+ {Icon && <Icon className="size-5 shrink-0 text-foreground-icon-secondary" aria-hidden />}+ <span+ className={cx(+ "truncate pl-1 text-body-regular",+ muted ? "text-text-secondary" : "text-text-primary",+ )}+ >+ {children}+ </span>+ </div>+ );+}diff --git a/frontend/src/react/boardui/components/base/buttons/button.tsx b/frontend/src/react/boardui/components/base/buttons/button.tsxnew file mode 100644index 000000000..3f66d42a0--- /dev/null+++ b/frontend/src/react/boardui/components/base/buttons/button.tsx@@ -0,0 +1,216 @@+import type {+ AnchorHTMLAttributes,+ ButtonHTMLAttributes,+ ComponentType,+ ReactNode,+ Ref,+} from "react";+import { cx, sortCx } from "@/utils/cx";++/**+ * Figma source: Board UI → Buttons (node 3656:13819).+ *+ * Variant matrix from Figma:+ * Type = Primary | Secondary | Ghost | Danger+ * Size = Medium | Small | Xs+ * State = Default | Hover | Active | Disabled (CSS pseudo)+ * OnlyIcon = false | true+ *+ * Sizing (1:1 with Figma):+ *+ * Medium Small Xs+ * container h=36, p=8, r=10 h=32, px=8 py=6, r=8 h=24, px=8, r=4+ * gap 2px 2px 1.33px→1+ * icon 20×20 18×18 14×14+ * label wrapper px=4 px=2 px=2+ * text style Body 1/Medium Body 1/Medium Caption 1/Semibold+ * icon-only square 36×36 (content-derived) 32×32 (forced size) 24×24 (forced size)+ *+ * `xs` is the smallest tier — first needed for the calendar template's+ * event-details modal ("Join" / edit-icon buttons, node 3920:10954), which+ * scales every dimension down by the same ~0.667 factor from Figma; the+ * table above rounds those to clean pixel values rather than reproducing+ * the fractional source numbers.+ *+ * Icons are rendered by the component itself via the `leadingIcon` /+ * `trailingIcon` props so the consumer can't pass the wrong size. Pass+ * a Remix Icon component reference (`RiAddLine`, not `<RiAddLine />`).+ *+ * For icon-only buttons:+ * <Button iconOnly leadingIcon={RiAddLine} aria-label="Add" />+ *+ * The HTML `type` prop is preserved; Figma's "Type" enum is renamed to+ * `variant` to avoid the clash.+ */++type ButtonVariant = "primary" | "secondary" | "ghost" | "danger";+type ButtonSize = "medium" | "small" | "xs";++type IconComponent = ComponentType<{+ className?: string;+ "aria-hidden"?: boolean | "true" | "false";+}>;++export interface ButtonProps+ extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {+ variant?: ButtonVariant;+ size?: ButtonSize;+ iconOnly?: boolean;+ leadingIcon?: IconComponent;+ trailingIcon?: IconComponent;+ children?: ReactNode;+ ref?: Ref<HTMLButtonElement>;+}++export interface ButtonLinkProps+ extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children"> {+ variant?: ButtonVariant;+ size?: ButtonSize;+ iconOnly?: boolean;+ leadingIcon?: IconComponent;+ trailingIcon?: IconComponent;+ children?: ReactNode;+ ref?: Ref<HTMLAnchorElement>;+}++const styles = sortCx({+ base: [+ "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",+ "font-sans select-none cursor-pointer",+ "button-press-motion",+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",+ "disabled:cursor-not-allowed aria-disabled:cursor-not-allowed",+ ].join(" "),++ // Base shape per size (used when label is present OR medium icon-only).+ size: {+ medium: "h-9 rounded-2lg p-2 text-body-medium",+ small: "h-8 rounded-lg px-2 py-1.5 text-body-medium",+ xs: "h-6 rounded-sm px-2 text-caption-1-semibold",+ },++ // Icon-only override:+ // Medium → keep p-2; w expands from content (8+20+8 = 36) → square.+ // Small → Figma forces 32×32 even though 8+18+8=34, so we hard-set size-8+ // and zero the padding; the inner flex centers the 18px icon.+ // Xs → forces 24×24, content-centered — used for the calendar+ // template's edit-icon buttons (timezone/participants/reminder).+ iconOnlySize: {+ medium: "", // base size already produces 36×36 with a 20px icon+ small: "size-8 p-0", // hard 32×32, content-centered+ xs: "size-6 p-0", // hard 24×24, content-centered+ },++ icon: {+ medium: "size-5 shrink-0", // 20px+ small: "size-[18px] shrink-0", // 18px+ xs: "size-3.5 shrink-0", // 14px+ },++ label: {+ medium: "inline-flex items-center justify-center px-1 shrink-0", // px=4+ small: "inline-flex items-center justify-center px-0.5 shrink-0", // px=2+ xs: "inline-flex items-center justify-center px-0.5 shrink-0", // px=2+ },++ variant: {+ primary: [+ "bg-button-primary text-text-white shadow-xs",+ "disabled:text-button-primary-disabled-foreground disabled:shadow-none",+ "aria-disabled:text-button-primary-disabled-foreground aria-disabled:shadow-none",+ ].join(" "),+ danger: [+ "bg-button-danger text-text-white shadow-xs",+ "disabled:text-foreground-disabled-danger disabled:shadow-none",+ "aria-disabled:text-foreground-disabled-danger aria-disabled:shadow-none",+ ].join(" "),+ secondary: [+ "bg-background-primary-default text-text-primary",+ "border border-border-button-default shadow-xs",+ "hover:bg-background-primary-hover hover:border-border-button-hover",+ "active:bg-background-primary-active active:border-border-button-active",+ "disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-text-tertiary disabled:shadow-none",+ "aria-disabled:bg-background-primary-disabled aria-disabled:border-border-button-default aria-disabled:text-text-tertiary aria-disabled:shadow-none",+ ].join(" "),+ ghost: [+ "bg-button-ghost-background text-button-ghost-foreground",+ "hover:bg-button-ghost-hover active:bg-button-ghost-active",+ "disabled:bg-button-ghost-disabled disabled:text-button-ghost-disabled-foreground disabled:shadow-none",+ "aria-disabled:bg-button-ghost-disabled aria-disabled:text-button-ghost-disabled-foreground aria-disabled:shadow-none",+ ].join(" "),+ },+});++export function Button({+ variant = "primary",+ size = "medium",+ iconOnly = false,+ leadingIcon: Leading,+ trailingIcon: Trailing,+ children,+ className,+ type = "button",+ ref,+ ...props+}: ButtonProps) {+ return (+ <button+ ref={ref}+ type={type}+ className={cx(+ styles.base,+ styles.size[size],+ styles.variant[variant],+ iconOnly && styles.iconOnlySize[size],+ className,+ )}+ {...props}+ >+ {Leading ? <Leading className={styles.icon[size]} aria-hidden /> : null}+ {!iconOnly && children !== undefined && children !== null && (+ <span className={styles.label[size]}>{children}</span>+ )}+ {!iconOnly && Trailing ? (+ <Trailing className={styles.icon[size]} aria-hidden />+ ) : null}+ </button>+ );+}++/** Anchor counterpart to Button for navigational actions. */+export function ButtonLink({+ variant = "primary",+ size = "medium",+ iconOnly = false,+ leadingIcon: Leading,+ trailingIcon: Trailing,+ children,+ className,+ ref,+ ...props+}: ButtonLinkProps) {+ return (+ <a+ ref={ref}+ className={cx(+ styles.base,+ styles.size[size],+ styles.variant[variant],+ iconOnly && styles.iconOnlySize[size],+ className,+ )}+ {...props}+ >+ {Leading ? <Leading className={styles.icon[size]} aria-hidden /> : null}+ {!iconOnly && children !== undefined && children !== null && (+ <span className={styles.label[size]}>{children}</span>+ )}+ {!iconOnly && Trailing ? (+ <Trailing className={styles.icon[size]} aria-hidden />+ ) : null}+ </a>+ );+}++/** Style maps, exported for advanced composition and the dev Design Tuner. */+export const buttonStyles = styles;diff --git a/frontend/src/react/boardui/components/base/checkbox/checkbox-glyph.tsx b/frontend/src/react/boardui/components/base/checkbox/checkbox-glyph.tsxnew file mode 100644index 000000000..245cbe37e--- /dev/null+++ b/frontend/src/react/boardui/components/base/checkbox/checkbox-glyph.tsx@@ -0,0 +1,74 @@+import { cx } from "@/utils/cx";++export type CheckboxSize = "sm" | "md";++export const checkboxSizes: Record<+ CheckboxSize,+ { box: string; glyph: string; label: string; gap: string }+> = {+ md: { box: "size-4", glyph: "size-4", label: "text-body-medium", gap: "gap-2" },+ sm: { box: "size-3.5", glyph: "size-3.5", label: "text-body-2-medium", gap: "gap-1.5" },+};++export interface CheckboxGlyphState {+ isSelected: boolean;+ isIndeterminate: boolean;+ isFocusVisible: boolean;+ isDisabled: boolean;+ isHovered: boolean;+}++/**+ * The 16px (or 14px) checkbox box + tick/indeterminate glyph. Shared by the+ * standalone Checkbox and the CheckboxCard so their visuals stay identical.+ */+export function CheckboxGlyph({+ state,+ size = "md",+}: {+ state: CheckboxGlyphState;+ size?: CheckboxSize;+}) {+ const { isSelected, isIndeterminate, isFocusVisible, isDisabled, isHovered } = state;+ const s = checkboxSizes[size];+ const isMarked = isSelected || isIndeterminate;+ const hover = isHovered && !isDisabled;++ return (+ <span+ aria-hidden+ className={cx(+ "flex shrink-0 items-center justify-center rounded-sm",+ "transition-[background-color,border-color,box-shadow] duration-150 ease",+ s.box,+ isMarked+ ? cx(+ "bg-linear-to-b shadow-checkbox-selected",+ hover ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600",+ )+ : cx(+ "border bg-background-primary-default shadow-xs",+ hover ? "border-border-checkbox-hover" : "border-border-checkbox-default",+ ),+ isDisabled && "opacity-50",+ isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2",+ )}+ >+ <svg viewBox="0 0 16 16" fill="none" className={s.glyph}>+ {isIndeterminate ? (+ <path d="M4.5 8H8H11.5" stroke="white" strokeWidth="2" strokeLinecap="round" />+ ) : isSelected ? (+ <path+ d="M4 7.7002L6.64645 10.3466C6.84171 10.5419 7.15829 10.5419 7.35355 10.3466L12 5.7002"+ stroke="white"+ strokeWidth="2"+ strokeLinecap="round"+ strokeLinejoin="round"+ pathLength={1}+ className="animate-check-draw"+ />+ ) : null}+ </svg>+ </span>+ );+}diff --git a/frontend/src/react/boardui/components/base/checkbox/checkbox.tsx b/frontend/src/react/boardui/components/base/checkbox/checkbox.tsxnew file mode 100644index 000000000..2b55ba5a1--- /dev/null+++ b/frontend/src/react/boardui/components/base/checkbox/checkbox.tsx@@ -0,0 +1,63 @@+"use client";++import type { ReactNode, Ref } from "react";+import { Checkbox as AriaCheckbox } from "react-aria-components";+import type { CheckboxProps as AriaCheckboxProps } from "react-aria-components";+import { cx } from "@/utils/cx";+import { CheckboxGlyph, checkboxSizes } from "./checkbox-glyph";+import type { CheckboxSize } from "./checkbox-glyph";++/**+ * Figma source: Board UI → Checkbox (node 3699:2557 family; used in+ * dashboard 1 table, nodes 3731:3258 etc.).+ *+ * radius/sm (4px). Two sizes:+ * md 16×16, label Body 1/Medium (14)+ * sm 14×14, label Body 2/Medium (13)+ *+ * States (per Figma):+ * default bg background/primary/default, 1px border/checkbox/default,+ * shadow/xs+ * hover border darkens to neutral/400+ * checked / Button/Primary gradient (blue/500 → blue/600) with the+ * indeterminate checkbox inner highlight (see --shadow-checkbox-selected),+ * white 2px rounded stroke glyph; on hover the gradient+ * lightens to blue/400 → blue/500+ *+ * Built on react-aria Checkbox: keyboard toggling, aria-checked="mixed" for+ * indeterminate, label association when `children` is passed.+ */++export interface CheckboxProps extends Omit<AriaCheckboxProps, "children"> {+ children?: ReactNode;+ size?: CheckboxSize;+ ref?: Ref<HTMLLabelElement>;+}++export function Checkbox({ className, children, size = "md", ref, ...props }: CheckboxProps) {+ const s = checkboxSizes[size];++ return (+ <AriaCheckbox+ ref={ref}+ {...props}+ className={(state) =>+ cx(+ "group inline-flex items-center select-none",+ s.gap,+ state.isDisabled ? "cursor-not-allowed" : "cursor-pointer",+ typeof className === "function" ? className(state) : className,+ )+ }+ >+ {(state) => (+ <>+ <CheckboxGlyph state={state} size={size} />+ {children !== undefined && children !== null && (+ <span className={cx(s.label, "text-text-primary")}>{children}</span>+ )}+ </>+ )}+ </AriaCheckbox>+ );+}diff --git a/frontend/src/react/boardui/components/base/input/hint-text.tsx b/frontend/src/react/boardui/components/base/input/hint-text.tsxnew file mode 100644index 000000000..8da48490d--- /dev/null+++ b/frontend/src/react/boardui/components/base/input/hint-text.tsx@@ -0,0 +1,41 @@+"use client";++import type { ReactNode, Ref } from "react";+import type { TextProps as AriaTextProps } from "react-aria-components";+import { Text as AriaText } from "react-aria-components";+import { cx } from "@/utils/cx";++/**+ * Caption text rendered below a field. Wraps `react-aria-components`' Text+ * so the parent `TextField` automatically wires `aria-describedby` (when+ * `slot="description"`) or `aria-errormessage` (when `slot="errorMessage"`).+ *+ * Visuals come from Figma:+ * - Inter Medium 12/16, letter-spacing 0.15px+ * - color text/secondary (default) or text/error-primary (invalid)+ * - 1px top padding to align with the field's bottom edge+ */++export interface HintTextProps extends AriaTextProps {+ children: ReactNode;+ isInvalid?: boolean;+ ref?: Ref<HTMLElement>;+}++export function HintText({+ isInvalid = false,+ className,+ ...props+}: HintTextProps) {+ return (+ <AriaText+ slot={isInvalid ? "errorMessage" : "description"}+ {...props}+ className={cx(+ "pt-px text-caption-1-medium text-text-secondary",+ isInvalid && "text-text-error-primary",+ className,+ )}+ />+ );+}diff --git a/frontend/src/react/boardui/components/base/input/input.tsx b/frontend/src/react/boardui/components/base/input/input.tsxnew file mode 100644index 000000000..ad2537ee7--- /dev/null+++ b/frontend/src/react/boardui/components/base/input/input.tsx@@ -0,0 +1,305 @@+"use client";++import {+ createContext,+ useContext,+ type ComponentType,+ type ReactNode,+ type Ref,+} from "react";+import {+ Group as AriaGroup,+ Input as AriaInput,+ TextField as AriaTextField,+} from "react-aria-components";+import type {+ InputProps as AriaInputProps,+ TextFieldProps as AriaTextFieldProps,+} from "react-aria-components";+import { Label } from "./label";+import { HintText } from "./hint-text";+import { cx, sortCx } from "@/utils/cx";++/**+ * Figma source: Board UI → Input (node 3665:1849).+ *+ * Architecture (mirrors the Untitled UI / React Aria pattern):+ *+ * InputBase — the styled field shell. Renders <AriaGroup> + adornments+ * + <AriaInput>. State (hover / focus / disabled / invalid)+ * arrives as render-prop booleans from Aria.+ * TextField — wraps <AriaTextField> and a TextFieldContext so size /+ * classes can flow from the composer down into InputBase+ * without prop drilling.+ * Input — opinionated composition: TextField → Label → InputBase+ * → HintText. The component most consumers use.+ *+ * Why React Aria:+ * - Label ↔ input ↔ hint association via aria-labelledby / aria-describedby+ * - aria-required, aria-invalid auto-applied+ * - Form library / native validation integration+ * - i18n, RTL, autofill edge cases handled+ * - Render-prop state surfaces `isFocusWithin`, `isHovered`, `isDisabled`,+ * `isInvalid`, `isRequired` — no CSS pseudo gymnastics+ *+ * Visuals stay 1:1 with Figma — see `styles/theme.css` for the tokens.+ */++export type InputSize = "medium" | "small";++type IconComponent = ComponentType<{+ className?: string;+ "aria-hidden"?: boolean | "true" | "false";+}>;++/* -------------------------------------------------------------------------- */+/* TextFieldContext */+/* -------------------------------------------------------------------------- */++export interface TextFieldContextValue {+ size?: InputSize;+ fieldClassName?: string;+ inputClassName?: string;+}++/**+ * Shared by every field that wants Input's shell — `Textarea` reads the same+ * size and class overrides out of it, so a composed form stays consistent.+ */+export const TextFieldContext = createContext<TextFieldContextValue>({});++/* -------------------------------------------------------------------------- */+/* TextField */+/* -------------------------------------------------------------------------- */++export interface TextFieldProps+ extends Omit<AriaTextFieldProps, "className">,+ TextFieldContextValue {+ className?: string;+ children?: ReactNode | ((state: { isRequired: boolean; isInvalid: boolean; isDisabled: boolean; isReadOnly: boolean }) => ReactNode);+}++export function TextField({+ size = "medium",+ fieldClassName,+ inputClassName,+ className,+ children,+ ...props+}: TextFieldProps) {+ return (+ <TextFieldContext.Provider value={{ size, fieldClassName, inputClassName }}>+ <AriaTextField+ {...props}+ data-input-size={size}+ className={cx(+ "group flex h-max w-full flex-col items-start gap-1",+ className,+ )}+ >+ {children as never /* RAC accepts render-prop children */}+ </AriaTextField>+ </TextFieldContext.Provider>+ );+}++TextField.displayName = "TextField";++/* -------------------------------------------------------------------------- */+/* InputBase */+/* -------------------------------------------------------------------------- */++export interface InputBaseProps extends Omit<AriaInputProps, "size" | "className"> {+ size?: InputSize;+ className?: string;+ leadingIcon?: IconComponent;+ trailingIcon?: IconComponent;+ /** Custom element rendered in the leading slot (Phone basic uses this). */+ leadingAddon?: ReactNode;+ /** Class for the field shell. */+ fieldClassName?: string;+ /** Ref to the <input> element. */+ ref?: Ref<HTMLInputElement>;+ /** Ref to the field shell wrapper. */+ groupRef?: Ref<HTMLDivElement>;+}++const inputStyles = sortCx({+ field: [+ "relative flex w-full items-center",+ "rounded-2lg",+ "bg-background-tertiary-default text-foreground-icon-tertiary",+ "ring-2 ring-inset ring-transparent",+ "transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",+ ].join(" "),++ fieldSize: {+ medium: "p-2", // 8px all sides → h auto = 36+ small: "h-8 px-1.5 py-2", // 32 / 6 / 8+ },++ // When a leadingAddon is present (Phone basic): tighten left padding.+ fieldWithAddonSize: {+ medium: "h-9 pl-1 pr-2 py-2", // 36 / 4 / 8 / 8+ small: "h-8 pl-1 pr-1.5 py-2",+ },++ content: "flex w-full items-center gap-2 min-w-0",+ leftSection: "flex flex-1 items-center gap-0.5 min-w-0",++ input: [+ "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0",+ "font-sans text-body-regular text-text-primary pl-1",+ "placeholder:text-text-tertiary",+ "focus:placeholder:text-text-primary",+ "disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text",+ "disabled:cursor-not-allowed",+ "aria-invalid:placeholder:text-text-error-placeholder",+ ].join(" "),++ icon: "size-5 shrink-0",+});++export function InputBase({+ size: sizeProp,+ leadingIcon: Leading,+ trailingIcon: Trailing,+ leadingAddon,+ fieldClassName,+ className,+ ref,+ groupRef,+ ...inputProps+}: InputBaseProps) {+ const ctx = useContext(TextFieldContext);+ const size: InputSize = sizeProp ?? ctx.size ?? "medium";+ const hasAddon = leadingAddon !== undefined && leadingAddon !== null;++ return (+ <AriaGroup+ ref={groupRef}+ className={({ isFocusWithin, isHovered, isDisabled, isInvalid }) =>+ cx(+ inputStyles.field,+ hasAddon+ ? inputStyles.fieldWithAddonSize[size]+ : inputStyles.fieldSize[size],+ // Hover: idle, no focus, no disabled, no invalid+ isHovered &&+ !isFocusWithin &&+ !isDisabled &&+ !isInvalid &&+ "ring-border-button-hover",+ // Focus wins over hover+ isFocusWithin &&+ !isDisabled &&+ !isInvalid &&+ "ring-border-button-active",+ // Disabled+ isDisabled &&+ "bg-input-disabled-background text-input-disabled-foreground",+ // Invalid+ isInvalid && "bg-background-tertiary-error text-foreground-icon-error",+ ctx.fieldClassName,+ fieldClassName,+ )+ }+ >+ <div className={inputStyles.content}>+ <div className={inputStyles.leftSection}>+ {hasAddon ? (+ leadingAddon+ ) : Leading ? (+ <Leading className={inputStyles.icon} aria-hidden />+ ) : null}+ <AriaInput+ ref={ref}+ {...inputProps}+ className={cx(inputStyles.input, ctx.inputClassName, className)}+ />+ </div>+ {Trailing ? (+ <Trailing className={inputStyles.icon} aria-hidden />+ ) : null}+ </div>+ </AriaGroup>+ );+}++InputBase.displayName = "InputBase";++/* -------------------------------------------------------------------------- */+/* Input (composed) */+/* -------------------------------------------------------------------------- */++export interface InputProps+ extends Omit<TextFieldProps, "children">,+ Pick<+ InputBaseProps,+ | "leadingIcon"+ | "trailingIcon"+ | "leadingAddon"+ | "fieldClassName"+ | "groupRef"+ | "ref"+ > {+ label?: ReactNode;+ hint?: ReactNode;+ /** Show an info icon next to the label. Replace with tooltip when Tooltip lands. */+ tooltip?: boolean | string;+ placeholder?: string;+}++export function Input({+ label,+ hint,+ tooltip,+ placeholder,+ leadingIcon,+ trailingIcon,+ leadingAddon,+ fieldClassName,+ ref,+ groupRef,+ className,+ ...textFieldProps+}: InputProps) {+ return (+ <TextField+ {...textFieldProps}+ className={className}+ // Don't clobber an explicit aria-label; fall back to the placeholder+ // only for unlabelled fields that don't provide one.+ aria-label={+ textFieldProps["aria-label"] ??+ (!label && typeof placeholder === "string" ? placeholder : undefined)+ }+ >+ {({ isRequired, isInvalid }) => (+ <>+ {label && (+ <Label+ isRequired={isRequired}+ isInvalid={isInvalid}+ tooltip={tooltip}+ >+ {label}+ </Label>+ )}+ <InputBase+ ref={ref}+ groupRef={groupRef}+ placeholder={placeholder}+ leadingIcon={leadingIcon}+ trailingIcon={trailingIcon}+ leadingAddon={leadingAddon}+ fieldClassName={fieldClassName}+ />+ {hint && <HintText isInvalid={isInvalid}>{hint}</HintText>}+ </>+ )}+ </TextField>+ );+}++Input.displayName = "Input";diff --git a/frontend/src/react/boardui/components/base/input/label.tsx b/frontend/src/react/boardui/components/base/input/label.tsxnew file mode 100644index 000000000..0796dc9a3--- /dev/null+++ b/frontend/src/react/boardui/components/base/input/label.tsx@@ -0,0 +1,70 @@+"use client";++import type { ReactNode, Ref } from "react";+import { RiInformationFill } from "@remixicon/react";+import type { LabelProps as AriaLabelProps } from "react-aria-components";+import { Label as AriaLabel } from "react-aria-components";+import { cx } from "@/utils/cx";++/**+ * Field label. Wraps `react-aria-components`' Label so the parent `TextField`+ * automatically wires `htmlFor` / `aria-labelledby`.+ *+ * Visuals come from Figma:+ * - Inter Medium 14/20, color text/primary+ * - 2px gap between label + required asterisk + info icon+ * - asterisk is text/error-primary (red/500)+ * - info icon is 16×16 in foreground/icon/quaternary+ *+ * Pass `isRequired` to show the asterisk. Pass `tooltip` to show the info+ * icon (currently a static glyph — when the Tooltip component lands it'll+ * wire up here).+ */++export interface LabelProps extends AriaLabelProps {+ children: ReactNode;+ isRequired?: boolean;+ /** Reserved for invalid-aware styling (asterisk color, etc.) once we need it. */+ isInvalid?: boolean;+ /** Show the info icon next to the label. */+ tooltip?: boolean | string;+ ref?: Ref<HTMLLabelElement>;+}++export function Label({+ isRequired = false,+ isInvalid: _isInvalid,+ tooltip,+ className,+ children,+ ...props+}: LabelProps) {+ void _isInvalid;+ return (+ <AriaLabel+ data-label="true"+ {...props}+ className={cx(+ "flex cursor-default items-center gap-0.5",+ "text-body-medium text-text-primary",+ className,+ )}+ >+ {children}+ {isRequired && (+ <span+ aria-hidden="true"+ className="text-body-medium text-text-error-primary"+ >+ *+ </span>+ )}+ {tooltip && (+ <RiInformationFill+ className="size-4 shrink-0 text-foreground-icon-quaternary"+ aria-hidden+ />+ )}+ </AriaLabel>+ );+}diff --git a/frontend/src/react/boardui/styles/theme.css b/frontend/src/react/boardui/styles/theme.cssnew file mode 100644index 000000000..3c9113d92--- /dev/null+++ b/frontend/src/react/boardui/styles/theme.css@@ -0,0 +1,903 @@+/* ---------------------------------------------------------------------------+ * BoardUI theme tokens+ *+ * Layered as Tailwind v4 expects:+ * @theme { ... } primitives + ramp overrides → Tailwind utilities+ * :root { ... } semantic tokens (light mode) — reference primitives+ * .dark { ... } semantic overrides (dark mode) — landed when designed+ * @theme inline {..} re-export of semantic tokens so they become utilities+ *+ * See docs/FIGMA_WORKFLOW.md for how tokens get added (Figma is source of truth).+ * --------------------------------------------------------------------------- */++@theme {+ /* ----- Color primitives ----------------------------------------------------+ * Almost the entire palette matches Tailwind v4's OKLCH defaults. The four+ * overrides below are the only intentional deviations (see Figma → variables+ * → color/...).+ * --------------------------------------------------------------------------*/+ --color-slate-200: #ebeff5;+ --color-neutral-100: #f7f7f7;+ --color-neutral-200: #ebebeb;+ --color-neutral-925: #121212;+ --color-blue-400: #3392ff;++ /* ----- Accent ramp ---------------------------------------------------------+ * The CTA hue. Interactive/selection surfaces (primary button gradient,+ * ghost + link buttons, checkbox, radio, switch, slider, tabs, sidebar+ * selected, focus ring, date-range selection) reference accent-* instead of+ * a raw hue, so the whole system re-tints by overriding these eleven+ * variables at runtime (see components/application/theme/accent.ts) or in+ * a customer project after importing this file. Defaults to the blue+ * primitives above. Content/data blues (charts, status chips, calendar+ * events, info notifications) deliberately keep referencing blue-*.+ * --------------------------------------------------------------------------*/+ --color-accent-50: var(--color-blue-50);+ --color-accent-100: var(--color-blue-100);+ --color-accent-200: var(--color-blue-200);+ --color-accent-300: var(--color-blue-300);+ --color-accent-400: var(--color-blue-400);+ --color-accent-500: var(--color-blue-500);+ --color-accent-600: var(--color-blue-600);+ --color-accent-700: var(--color-blue-700);+ --color-accent-800: var(--color-blue-800);+ --color-accent-900: var(--color-blue-900);+ --color-accent-950: var(--color-blue-950);++ /* ----- Typography ----------------------------------------------------------+ * Font sizes, weights, line-heights, and tracking all match Tailwind v4+ * defaults. The only override is the family: Inter, loaded via next/font+ * in app/layout.tsx, which exposes --font-inter to the document.+ * --------------------------------------------------------------------------*/+ --font-sans: var(--font-inter), ui-sans-serif, system-ui, sans-serif,+ "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",+ "Noto Color Emoji";++ /* Monospace ramp for code blocks. Loaded via next/font in app/layout.tsx+ * (--font-mono-source → JetBrains Mono). Figma's spec uses IBM Plex Mono;+ * JetBrains Mono is the closest already-bundled face. */+ --font-mono: var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo,+ Consolas, "Liberation Mono", monospace;++ /* ----- Radii ---------------------------------------------------------------+ * Extra step between lg (8) and xl (12). Used by medium-size buttons.+ * Figma name: radius/2lg.+ * --------------------------------------------------------------------------*/+ --radius-2lg: 10px;+ --radius-notification-card: 10px;++ /* ----- Shadows -------------------------------------------------------------+ * 2xs, xs, 2xl and the inner shadows already match Tailwind v4. Sizes sm, md,+ * lg, xl follow the Figma 6%/10% recipe (slightly softer than Tailwind v4's+ * 10%/10% default).+ * --------------------------------------------------------------------------*/+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.10);+ --shadow-md: 0 2px 4px -1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.10);+ --shadow-lg: 0 4px 6px -2px rgb(0 0 0 / 0.05), 0 10px 15px -3px rgb(0 0 0 / 0.10);+ --shadow-xl: 0 10px 10px -5px rgb(0 0 0 / 0.04), 0 20px 25px -5px rgb(0 0 0 / 0.10);++ /* Figma effect style "Background/Sidebar Elevation" — copied 1:1:+ * DROP_SHADOW #00000005 offset(0,1) radius 0 spread 0 → 0 1px 0px 0 / 0.0196+ * DROP_SHADOW #0000000F offset(0,1) radius 12 spread 0 → 0 1px 12px 0 / 0.0588+ * DROP_SHADOW #00000052 offset(0,0) radius 1 spread 0 → 0 0 1px 0 / 0.3216+ * (alpha = hex byte / 255: 05→0.0196, 0F→0.0588, 52→0.3216). */+ --shadow-sidebar:+ 0 1px 0 0 rgb(0 0 0 / 0.0196),+ 0 1px 12px 0 rgb(0 0 0 / 0.0588),+ 0 0 1px 0 rgb(0 0 0 / 0.3216);++ /* Figma effect style "Sidebar selected" — copied 1:1:+ * DROP_SHADOW color/blue/500 offset(0,0) radius 0 spread 1 → 0 0 0 1px blue-500+ * INNER_SHADOW #FFFFFF40 offset(0,1) radius 0 spread 0 → inset 0 1px 0 0 / 0.251+ * (#FFFFFF40 alpha = 0x40/255 = 0.251). */+ --shadow-nav-selected:+ 0 0 0 1px var(--color-accent-500),+ inset 0 1px 0 0 rgb(255 255 255 / 0.251);++ /* Checkbox checked/indeterminate surface (from the Figma Checkbox component):+ * inner top highlight + 1px inner blue edge over the primary gradient. */+ --shadow-checkbox-selected:+ inset 0 2px 0 0 rgb(255 255 255 / 0.25),+ inset 0 0 0 1px var(--color-accent-500);++ /* 1px contact shadow used on white cards/dropdown triggers sitting on the+ * secondary background (Figma drop shadow 0 1 1 5%). */+ --shadow-card: 0 1px 1px 0 rgb(0 0 0 / 0.05);++ /* Floating menu/dropdown panel (Figma → sidebar profile menu node 3823:3699):+ * DROP_SHADOW #0000000A offset(0,1) radius 1 → 0 1px 1px 0 / 0.04+ * DROP_SHADOW #00000005 offset(0,4) radius 4 → 0 4px 4px 0 / 0.02 */+ --shadow-dropdown:+ 0 1px 1px 0 rgb(0 0 0 / 0.04),+ 0 4px 4px 0 rgb(0 0 0 / 0.02);++ /* Floating template waitlist (Figma node 4117:32737). This extends the+ * sidebar elevation recipe with the two broad ambient layers used by the+ * signup surface. */+ --shadow-waitlist:+ 0 0 6px 0 rgb(0 0 0 / 0.06),+ 0 0 64px 0 rgb(0 0 0 / 0.16),+ 0 0 1px 0 rgb(0 0 0 / 0.32),+ 0 1px 12px 0 rgb(0 0 0 / 0.06),+ 0 1px 0 0 rgb(0 0 0 / 0.02);++ /* Inner shadows (Figma names inner-shadow/*; Tailwind utility prefix is+ * inset-shadow-*).+ */+ --inset-shadow-2xs: inset 0 1px 0 0 rgb(0 0 0 / 0.05);+ --inset-shadow-xs: inset 0 1px 1px 0 rgb(0 0 0 / 0.05);+ --inset-shadow-sm: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);+}++/* ---------------------------------------------------------------------------+ * Semantic tokens — light mode.+ *+ * All values reference primitives via var(--color-{family}-{shade}). Edit the+ * primitives in @theme above and these update automatically.+ *+ * Figma name on the left, var name on the right:+ * foreground/full → --color-foreground-full+ * foreground/icon/primary → --color-foreground-icon-primary+ * foreground/disabled → --color-foreground-disabled+ * foreground/disabled-danger → --color-foreground-disabled-danger+ * text/primary → --color-text-primary+ * text/tertiary → --color-text-tertiary+ * text/disabled-danger → --color-text-disabled-danger+ * background/primary/default → --color-background-primary-default+ * background/primary/hover → --color-background-primary-hover+ * background/primary/active → --color-background-primary-active+ * background/primary/disabled → --color-background-primary-disabled+ * background/secondary/default → --color-background-secondary-default+ * border/button/default → --color-border-button-default+ * border/button/hover → --color-border-button-hover+ * border/button/active → --color-border-button-active+ *+ * Button gradients (linear, 180°, light stop → dark stop) sourced from the+ * blue/red primitives that each Button/{type}/{state} style references in+ * Figma. Direction inferred — confirm visually against Figma.+ * --------------------------------------------------------------------------- */+:root {+ /* Foreground (icons + on-fill content) */+ --color-foreground-full: var(--color-white);+ --color-foreground-icon-primary: var(--color-neutral-950);+ --color-foreground-icon-hover: var(--color-black);+ --color-foreground-icon-secondary: var(--color-neutral-500);+ --color-foreground-icon-tertiary: var(--color-neutral-400);+ --color-foreground-icon-quaternary: var(--color-neutral-300);+ --color-foreground-icon-error: var(--color-red-600);+ --color-foreground-icon-disabled: var(--color-neutral-300);+ --color-foreground-disabled: var(--color-neutral-400);+ --color-foreground-disabled-danger: var(--color-red-300);+ --color-input-disabled-foreground: var(--color-neutral-300);+ --color-icon-button-disabled-foreground: var(--color-neutral-300);+ --color-button-primary-disabled-foreground: var(--color-neutral-400);++ /* Text */+ --color-text-primary: var(--color-neutral-950);+ --color-text-secondary: var(--color-neutral-500);+ --color-text-tertiary: var(--color-neutral-400);+ --color-text-disabled: var(--color-neutral-300);+ --color-text-disabled-danger: var(--color-red-300);+ --color-text-placeholder: var(--color-neutral-400);+ --color-text-error-primary: var(--color-red-500);+ --color-input-disabled-text: var(--color-neutral-300);+ --color-text-white: var(--color-white);++ /* Background */+ --color-background-full: var(--color-white);+ --color-background-primary-default: var(--color-white);+ --color-background-inner-default: var(--color-white);+ --color-background-primary-hover: var(--color-neutral-100);+ --color-background-primary-active: var(--color-neutral-200);+ --color-background-primary-disabled: var(--color-neutral-100);+ --color-input-disabled-background: var(--color-neutral-100);+ --color-background-secondary-default: var(--color-neutral-100);+ --color-background-secondary-hover: var(--color-neutral-200);+ --color-background-tertiary-default: var(--color-neutral-200);+ --color-background-tertiary-hover: var(--color-neutral-300);+ --color-background-tertiary-error: var(--color-red-100);+ --color-background-recent-hire-role: var(--color-neutral-100);+ --color-avatar-neutral-background: var(--color-neutral-300);+ /* Figma background/quaternary/default — first used by the Storage+ * dropzone's upload-icon disc (node 4106:26587). */+ --color-background-quaternary-default: var(--color-neutral-300);+ --color-background-quaternary-hover: var(--color-neutral-400);+ --color-background-quaternary-error: var(--color-red-200);+ --color-file-upload-icon-background: var(--color-neutral-300);+ --color-file-upload-icon-foreground: var(--color-neutral-400);+ --color-file-upload-icon-foreground-hover: var(--color-neutral-500);++ /* Border */+ --color-border-button-default: var(--color-neutral-200);+ --color-border-button-hover: var(--color-neutral-300);+ --color-border-button-active: var(--color-neutral-400);+ --color-border-button-white: var(--color-white);+ /* The system had no red border. Matches text/error/primary so an invalid+ field's edge and its message are the same red. */+ --color-border-error-default: var(--color-red-500);+ --color-border-checkbox-default: var(--color-neutral-300);+ --color-border-checkbox-hover: var(--color-neutral-400);+ --color-border-checkbox-active: var(--color-neutral-400);+ --color-border-checkbox-white: var(--color-white);+ --color-border-component-detail-container: var(--color-neutral-200);+ --color-border-ai-profile-card: var(--color-neutral-200);+ --color-border-table: var(--color-neutral-200);+ --color-border-button-group: var(--color-neutral-200);+ --color-border-sidebar-profile-hover: var(--color-neutral-300);+ --color-separator-border: var(--color-neutral-200);+ --color-separator-border-strong: var(--color-neutral-200);+ --color-border-focus-ring: var(--color-accent-500);++ /* State */+ --color-state-success-text: var(--color-lime-800);+ --color-state-success-base: var(--color-lime-200);++ /* Selected control interiors remain light on colored tracks in both themes. */+ --color-control-indicator-background: var(--color-white);+ --color-control-indicator-background-subtle: var(--color-neutral-100);+ --color-switch-off-chip-start: var(--color-white);+ --color-switch-off-chip-end: var(--color-neutral-100);+ /* Selected switch chip: the Figma comps use hexes a touch deeper than the+ * plain 500→600 ramp (#2473fe → #0450e2 for blue). Expressed as oklab mixes+ * of neighbouring accent stops so the recipe survives a re-tint. */+ --color-switch-on-chip-start: color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600));+ --color-switch-on-chip-end: color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700));+ --color-stat-card-icon-background: var(--color-white);+ --color-segmented-control-background: var(--color-neutral-100);+ --color-segmented-control-selected-background: var(--color-white);+ --color-theme-toggle-sidebar-background: var(--color-neutral-200);+ --color-theme-toggle-sidebar-selected-background: var(--color-white);+ /* Stepped against the composer: the pill is white and the add button is the+ * subtle grey sitting on it, so the control separates from the surface it+ * shares an edge with. Dark mode keeps its own pair, where the pill is the+ * lighter of the two and the button steps the other way. */+ --color-ai-chat-composer-add-background: var(--color-neutral-100);+ --color-ai-chat-composer-add-hover-background: var(--color-neutral-200);+ /* Composer Panel (Figma node 4430:12203): the status tab hanging off the+ * card's top edge and the card's plus button are both neutral-200 in light+ * mode. Dark mode steps them up instead, so they still separate from the+ * neutral-800 card they touch. */+ --color-composer-panel-tab-background: var(--color-neutral-200);+ --color-composer-panel-add-background: var(--color-neutral-200);+ --color-composer-panel-add-hover-background: var(--color-neutral-300);+ /* Attachment tile edge: the Figma neutral-200 in light mode; dark mode+ * uses a translucent white so the ring reads on the neutral-800 card+ * (border/button/default is one neutral step away there and vanishes). */+ --color-composer-panel-tile-border: var(--color-neutral-200);+ /* Model picker provider rail: background/secondary in light mode, at+ * half opacity in dark so it recedes on the neutral-800 panel. */+ --color-composer-panel-rail-background: var(--color-neutral-100);+ /* Questionnaire (Figma nodes 4435:14749 / 4435:15042): the answer rows share+ * the card's background/primary surface in both modes, separated by their+ * border alone, and the "Other" row uses the stock Input untouched. The+ * single-select number key is background/secondary in light mode and one+ * tone lighter than the row in dark mode (never darker), stepping again+ * while its row is hovered so it stays legible on the lifted fill. */+ --color-questionnaire-key-background: var(--color-neutral-100);+ --color-questionnaire-key-hover-background: var(--color-neutral-200);+ --color-agent-progress-ring: var(--color-neutral-700);+ --color-button-ghost-background: var(--color-accent-100);+ --color-button-ghost-hover: var(--color-accent-200);+ --color-button-ghost-active: var(--color-accent-300);+ --color-button-ghost-disabled: var(--color-accent-50);+ --color-button-ghost-foreground: var(--color-accent-700);+ --color-button-ghost-disabled-foreground: var(--color-accent-300);+ --color-dropdown-item-hover-background: var(--color-neutral-100);+ --color-kbd-background: var(--color-neutral-300);+ --color-kbd-foreground: var(--color-neutral-500);+ --color-docs-file-chip-background: var(--color-purple-50);+ --color-docs-file-chip-border: var(--color-purple-100);+ --color-docs-file-chip-foreground: var(--color-purple-500);+ --color-docs-command-accent: var(--color-purple-400);+ --color-docs-code-background: var(--color-background-primary-default);+ --color-docs-install-rail: var(--color-border-button-default);++ /* Recently shipped component badge. Kept semantic so its compact blue+ * surface can retain the same hierarchy in both themes. */+ --color-badge-neutral-background: var(--color-neutral-200);+ --color-team-menu-count-background: var(--color-neutral-200);+ --color-team-menu-count-foreground: var(--color-neutral-500);+ --color-badge-new-background: var(--color-accent-100);+ --color-badge-new-text: var(--color-accent-600);+ --color-tab-count-selected-background: var(--color-accent-100);+ --color-pill-tab-blue-selected-background: var(--color-accent-50);+ --color-pill-tab-blue-hover-background: var(--color-neutral-100);++ /* Notification status-icon surfaces. */+ --color-notification-information-background: var(--color-blue-100);+ --color-notification-information-foreground: var(--color-blue-600);+ --color-notification-success-background: var(--color-lime-100);+ --color-notification-success-foreground: var(--color-lime-600);+ --color-notification-error-background: var(--color-rose-100);+ --color-notification-error-foreground: var(--color-rose-600);+ --color-notification-center-background: var(--color-white);++ /* Table status chips. Dark mappings come from the medical dashboard table+ * in Figma (4139:7202, 4139:7240, 4139:7278, 4139:7315). */+ --color-status-lime-background: var(--color-lime-200);+ --color-status-lime-text: var(--color-lime-800);+ --color-status-yellow-background: var(--color-yellow-200);+ --color-status-yellow-text: var(--color-yellow-800);+ --color-status-rose-background: var(--color-rose-200);+ --color-status-rose-text: var(--color-rose-800);+ --color-status-cyan-background: var(--color-cyan-200);+ --color-status-cyan-text: var(--color-cyan-800);+ --color-status-blue-background: var(--color-blue-200);+ --color-status-blue-text: var(--color-blue-800);+ --color-status-purple-background: var(--color-purple-100);+ --color-status-purple-text: var(--color-purple-600);+ --color-status-dot-green-halo: var(--color-green-100);+ --color-status-dot-yellow-halo: var(--color-yellow-200);+ --color-status-dot-indigo-halo: var(--color-indigo-100);++ /* Date range selection: the connecting band and its start/end caps. */+ --color-date-range-background: var(--color-accent-100);+ --color-date-range-edge-background: var(--color-accent-300);++ /* Calendar event chips. Title/time stay separate so the original light+ * hierarchy remains intact while dark mode can normalize both to /300. */+ --color-calendar-event-blue-background: var(--color-blue-100);+ --color-calendar-event-blue-title: var(--color-blue-700);+ --color-calendar-event-blue-time: var(--color-blue-700);+ --color-calendar-event-pink-background: var(--color-pink-100);+ --color-calendar-event-pink-title: var(--color-pink-700);+ --color-calendar-event-pink-time: var(--color-pink-700);+ --color-calendar-event-purple-background: var(--color-purple-100);+ --color-calendar-event-purple-title: var(--color-purple-700);+ --color-calendar-event-purple-time: var(--color-purple-700);+ --color-calendar-event-lime-background: var(--color-lime-100);+ --color-calendar-event-lime-title: var(--color-lime-800);+ --color-calendar-event-lime-time: var(--color-lime-700);+ --color-calendar-event-emerald-background: var(--color-emerald-100);+ --color-calendar-event-emerald-title: var(--color-emerald-800);+ --color-calendar-event-emerald-time: var(--color-emerald-700);++ /* Placeholder colors that don't map cleanly to existing text tokens */+ --color-text-error-placeholder: var(--color-red-400);++ /* Charts (graphs) — shared neutrals + a categorical accent ramp.+ * `track` is the background bar/ring behind a series; `cursor` the hover+ * outline / dashed reference line; `neutral` a data color for "other"-style+ * slices. Each numbered accent pairs a base fill with a one-tone-darker+ * `-active` used for hover emphasis (the 400 → 500 recipe every chart+ * follows). Numbered (not hue-named) so the palette can be retuned without+ * renaming, mirroring the chart-1…n convention common to chart systems. */+ --color-chart-track: var(--color-neutral-200);+ --color-chart-cursor: var(--color-neutral-300);+ --color-chart-neutral: var(--color-neutral-300);+ --color-chart-1: var(--color-teal-400);+ --color-chart-1-active: var(--color-teal-500);+ --color-chart-2: var(--color-lime-400);+ --color-chart-2-active: var(--color-lime-500);+ --color-chart-3: var(--color-pink-400);+ --color-chart-3-active: var(--color-pink-500);+ --color-chart-4: var(--color-sky-400);+ --color-chart-4-active: var(--color-sky-500);+ --color-chart-5: var(--color-purple-400);+ --color-chart-5-active: var(--color-purple-500);+ --color-chart-6: var(--color-blue-400);+ --color-chart-6-active: var(--color-blue-500);+ --color-chart-7: var(--color-emerald-400);+ --color-chart-7-active: var(--color-emerald-500);+ --color-chart-8: var(--color-yellow-400);+ --color-chart-8-active: var(--color-yellow-500);+ --color-chart-9: var(--color-indigo-400);+ --color-chart-9-active: var(--color-indigo-500);+ --color-chart-agents-bar: var(--color-purple-300);+ --color-chart-agents-bar-active: var(--color-purple-400);++ /* Button gradients */+ --gradient-button-primary-default: linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);+ --gradient-button-primary-hover: linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);+ --gradient-button-primary-active: linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);+ --gradient-button-primary-disabled: linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);++ --gradient-button-danger-default: linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);+ --gradient-button-danger-hover: linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);+ --gradient-button-danger-active: linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);+ --gradient-button-danger-disabled: linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%);+}++.dark {+ /* Foreground */+ --color-foreground-full: var(--color-neutral-700);+ --color-foreground-icon-primary: var(--color-neutral-50);+ --color-foreground-icon-hover: var(--color-white);+ --color-foreground-icon-error: var(--color-red-400);+ --color-foreground-icon-tertiary: var(--color-neutral-600);+ --color-foreground-icon-quaternary: var(--color-neutral-700);+ --color-foreground-icon-disabled: var(--color-neutral-800);+ --color-foreground-disabled: var(--color-neutral-700);+ --color-foreground-disabled-danger: var(--color-red-400);+ --color-input-disabled-foreground: var(--color-neutral-600);+ --color-icon-button-disabled-foreground: var(--color-neutral-500);+ --color-button-primary-disabled-foreground: var(--color-neutral-500);++ /* Text */+ --color-text-primary: var(--color-neutral-50);+ --color-text-tertiary: var(--color-neutral-600);+ --color-text-disabled: var(--color-neutral-800);+ --color-text-error-primary: var(--color-red-400);+ --color-input-disabled-text: color-mix(in srgb, var(--color-neutral-500) 40%, transparent);++ /* Background */+ --color-background-full: var(--color-neutral-925);+ --color-background-primary-default: var(--color-neutral-800);+ --color-background-inner-default: color-mix(in srgb, var(--color-neutral-800) 60%, transparent);+ --color-background-primary-hover: color-mix(in srgb, var(--color-neutral-700) 60%, transparent);+ --color-background-primary-active: var(--color-neutral-800);+ --color-background-primary-disabled: var(--color-neutral-800);+ --color-input-disabled-background: color-mix(in srgb, var(--color-neutral-800) 30%, transparent);+ --color-switch-off-chip-start: var(--color-background-tertiary-default);+ --color-switch-off-chip-end: var(--color-background-tertiary-default);+ --color-background-secondary-default: var(--color-neutral-900);+ --color-background-secondary-hover: var(--color-neutral-800);+ --color-background-tertiary-default: var(--color-neutral-800);+ --color-background-tertiary-hover: var(--color-neutral-700);+ --color-background-tertiary-error: color-mix(in srgb, var(--color-red-950) 60%, transparent);+ --color-background-quaternary-default: var(--color-neutral-700);+ --color-background-quaternary-hover: var(--color-neutral-600);+ --color-background-recent-hire-role: color-mix(in srgb, var(--color-neutral-900) 60%, transparent);+ --color-avatar-neutral-background: var(--color-background-primary-default);+ --color-file-upload-icon-background: var(--color-neutral-600);+ --color-file-upload-icon-foreground: var(--color-neutral-400);+ --color-file-upload-icon-foreground-hover: var(--color-neutral-300);+ --color-stat-card-icon-background: var(--color-neutral-800);+ --color-segmented-control-background: var(--color-neutral-925);+ --color-segmented-control-selected-background: var(--color-neutral-800);+ --color-theme-toggle-sidebar-background: var(--color-neutral-800);+ --color-theme-toggle-sidebar-selected-background: var(--color-neutral-700);+ --color-ai-chat-composer-add-background: var(--color-neutral-700);+ --color-ai-chat-composer-add-hover-background: var(--color-neutral-600);+ --color-composer-panel-tab-background: color-mix(in srgb, var(--color-neutral-700) 50%, transparent);+ --color-composer-panel-add-background: var(--color-neutral-700);+ --color-composer-panel-add-hover-background: var(--color-neutral-600);+ --color-composer-panel-tile-border: color-mix(in srgb, var(--color-white) 14%, transparent);+ --color-composer-panel-rail-background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);+ --color-questionnaire-key-background: var(--color-neutral-700);+ --color-questionnaire-key-hover-background: var(--color-neutral-600);+ --color-agent-progress-ring: color-mix(in srgb, var(--color-white) 50%, transparent);+ --color-button-ghost-background: var(--color-accent-900);+ --color-button-ghost-hover: var(--color-accent-800);+ --color-button-ghost-active: var(--color-accent-700);+ --color-button-ghost-disabled: var(--color-neutral-800);+ --color-button-ghost-foreground: var(--color-accent-300);+ --color-button-ghost-disabled-foreground: var(--color-neutral-600);+ --color-dropdown-item-hover-background: color-mix(in srgb, var(--color-neutral-700) 60%, transparent);+ --color-kbd-background: var(--color-neutral-700);+ --color-kbd-foreground: var(--color-neutral-400);+ --color-docs-file-chip-background: color-mix(in srgb, var(--color-purple-950) 50%, transparent);+ --color-docs-file-chip-border: var(--color-purple-800);+ --color-docs-file-chip-foreground: var(--color-purple-400);+ --color-docs-code-background: var(--color-background-full);+ --color-docs-install-rail: color-mix(in srgb, var(--color-neutral-800) 60%, transparent);++ /* Dark surfaces absorb low-alpha shadows more readily than white ones.+ * Preserve the light-mode geometry and raise only the black alpha: tighter+ * contact shadows stay crisp, while higher elevations receive a restrained+ * ambient layer without introducing a grey glow. */+ --shadow-2xs: 0 1px rgb(0 0 0 / 0.16);+ --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.18);+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.12), 0 1px 3px 0 rgb(0 0 0 / 0.16);+ --shadow-md: 0 2px 4px -1px rgb(0 0 0 / 0.12), 0 4px 6px -1px rgb(0 0 0 / 0.18);+ --shadow-lg: 0 4px 6px -2px rgb(0 0 0 / 0.10), 0 10px 15px -3px rgb(0 0 0 / 0.18);+ --shadow-xl: 0 10px 10px -5px rgb(0 0 0 / 0.08), 0 20px 25px -5px rgb(0 0 0 / 0.20);+ --shadow-card: 0 1px 1px 0 rgb(0 0 0 / 0.14);+ --shadow-dropdown:+ 0 1px 1px 0 rgb(0 0 0 / 0.14),+ 0 4px 4px 0 rgb(0 0 0 / 0.10);+ --shadow-sidebar:+ 0 1px 0 0 rgb(0 0 0 / 0.10),+ 0 1px 12px 0 rgb(0 0 0 / 0.16),+ 0 0 1px 0 rgb(0 0 0 / 0.42);+ --shadow-waitlist:+ 0 0 6px 0 rgb(0 0 0 / 0.12),+ 0 0 64px 0 rgb(0 0 0 / 0.22),+ 0 0 1px 0 rgb(0 0 0 / 0.42),+ 0 1px 12px 0 rgb(0 0 0 / 0.14),+ 0 1px 0 0 rgb(0 0 0 / 0.08);++ /* Badges */+ --color-badge-neutral-background: var(--color-neutral-800);+ --color-team-menu-count-background: var(--color-neutral-700);+ --color-team-menu-count-foreground: var(--color-neutral-400);+ --color-badge-new-background: var(--color-accent-950);+ --color-badge-new-text: var(--color-accent-400);+ --color-tab-count-selected-background: color-mix(in srgb, var(--color-accent-800) 60%, transparent);++ /* Dark status discs use /800 surfaces with /300 foregrounds so the icon+ * remains crisp without reverting to a bright pastel circle. */+ --color-notification-information-background: color-mix(in srgb, var(--color-blue-800) 50%, transparent);+ --color-notification-information-foreground: var(--color-blue-300);+ --color-notification-success-background: color-mix(in srgb, var(--color-lime-800) 50%, transparent);+ --color-notification-success-foreground: var(--color-lime-300);+ --color-notification-error-background: color-mix(in srgb, var(--color-rose-800) 50%, transparent);+ --color-notification-error-foreground: var(--color-rose-300);+ --color-notification-center-background: var(--color-neutral-900);++ /* Borders and separators */+ --color-border-button-default: var(--color-neutral-700);+ --color-border-button-hover: var(--color-neutral-500);+ --color-border-button-active: var(--color-neutral-600);+ --color-border-button-white: var(--color-zinc-800);+ --color-border-error-default: var(--color-red-400);+ --color-border-checkbox-default: var(--color-neutral-700);+ --color-border-checkbox-hover: var(--color-neutral-500);+ --color-border-checkbox-active: var(--color-neutral-500);+ --color-border-component-detail-container: var(--color-neutral-800);+ --color-border-ai-profile-card: var(--color-neutral-800);+ --color-border-table: var(--color-neutral-800);+ --color-border-button-group: color-mix(in srgb, var(--color-neutral-600) 60%, transparent);+ --color-border-sidebar-profile-hover: var(--color-neutral-600);+ --color-separator-border: var(--color-neutral-800);+ --color-separator-border-strong: color-mix(in srgb, var(--color-neutral-700) 60%, transparent);++ /* Figma's dark table status pairs. */+ --color-status-lime-background: color-mix(in srgb, var(--color-lime-950) 60%, transparent);+ --color-status-lime-text: var(--color-lime-500);+ --color-status-yellow-background: color-mix(in srgb, var(--color-yellow-950) 60%, transparent);+ --color-status-yellow-text: var(--color-yellow-500);+ --color-status-rose-background: color-mix(in srgb, var(--color-rose-950) 60%, transparent);+ --color-status-rose-text: var(--color-rose-500);+ --color-status-cyan-background: color-mix(in srgb, var(--color-cyan-950) 60%, transparent);+ --color-status-cyan-text: var(--color-cyan-400);+ --color-status-blue-background: color-mix(in srgb, var(--color-blue-950) 60%, transparent);+ --color-status-blue-text: var(--color-blue-300);+ --color-status-purple-background: color-mix(in srgb, var(--color-purple-900) 50%, transparent);+ --color-status-purple-text: var(--color-purple-300);+ --color-status-dot-green-halo: color-mix(in srgb, var(--color-green-800) 40%, transparent);+ --color-status-dot-yellow-halo: color-mix(in srgb, var(--color-yellow-800) 40%, transparent);+ --color-status-dot-indigo-halo: color-mix(in srgb, var(--color-indigo-800) 40%, transparent);++ --color-date-range-background: var(--color-accent-950);+ --color-date-range-edge-background: var(--color-accent-800);++ --color-pill-tab-blue-selected-background: color-mix(in srgb, var(--color-accent-950) 60%, transparent);+ --color-pill-tab-blue-hover-background: var(--color-neutral-800);++ /* Calendar event families share the same dark-mode depth/contrast recipe. */+ --color-calendar-event-blue-background: var(--color-blue-950);+ --color-calendar-event-blue-title: var(--color-blue-300);+ --color-calendar-event-blue-time: var(--color-blue-300);+ --color-calendar-event-pink-background: var(--color-pink-950);+ --color-calendar-event-pink-title: var(--color-pink-300);+ --color-calendar-event-pink-time: var(--color-pink-300);+ --color-calendar-event-purple-background: var(--color-purple-950);+ --color-calendar-event-purple-title: var(--color-purple-300);+ --color-calendar-event-purple-time: var(--color-purple-300);+ --color-calendar-event-lime-background: var(--color-lime-950);+ --color-calendar-event-lime-title: var(--color-lime-300);+ --color-calendar-event-lime-time: var(--color-lime-300);+ --color-calendar-event-emerald-background: var(--color-emerald-950);+ --color-calendar-event-emerald-title: var(--color-emerald-300);+ --color-calendar-event-emerald-time: var(--color-emerald-300);++ /* Disabled primary CTA: dark, low-emphasis fill with readable muted text. */+ --gradient-button-primary-disabled: linear-gradient(+ 180deg,+ var(--color-neutral-700) 0%,+ var(--color-neutral-800) 100%+ );+ --gradient-button-danger-disabled: linear-gradient(+ 180deg,+ var(--color-red-900) 0%,+ var(--color-red-950) 100%+ );++ /* Neutral graph structure; categorical and status colors stay unchanged. */+ --color-chart-track: var(--color-neutral-800);+ --color-chart-cursor: var(--color-neutral-700);+ --color-chart-neutral: var(--color-neutral-800);+ --color-chart-agents-bar: var(--color-purple-500);+ --color-chart-agents-bar-active: var(--color-purple-600);+}++/* Non-default accents (data-accent set by the accent engine) can land on a+ * /950 that glows too loudly against the dark sidebar; halve the NEW badge+ * fill there. Light mode keeps the solid /100 surface. */+.dark[data-accent] {+ --color-badge-new-background: color-mix(in srgb, var(--color-accent-950) 50%, transparent);+}++/* Re-export semantic tokens as Tailwind utilities. The `inline` form means+ * Tailwind reads the *current* computed value of the variable, so light↔dark+ * flips work without rebuild. */+@theme inline {+ --color-foreground-full: var(--color-foreground-full);+ --color-foreground-icon-primary: var(--color-foreground-icon-primary);+ --color-foreground-icon-hover: var(--color-foreground-icon-hover);+ --color-foreground-icon-secondary: var(--color-foreground-icon-secondary);+ --color-foreground-icon-tertiary: var(--color-foreground-icon-tertiary);+ --color-foreground-icon-quaternary: var(--color-foreground-icon-quaternary);+ --color-foreground-icon-error: var(--color-foreground-icon-error);+ --color-foreground-icon-disabled: var(--color-foreground-icon-disabled);+ --color-foreground-disabled: var(--color-foreground-disabled);+ --color-foreground-disabled-danger: var(--color-foreground-disabled-danger);+ --color-input-disabled-foreground: var(--color-input-disabled-foreground);+ --color-icon-button-disabled-foreground: var(--color-icon-button-disabled-foreground);+ --color-button-primary-disabled-foreground: var(--color-button-primary-disabled-foreground);++ --color-text-primary: var(--color-text-primary);+ --color-text-secondary: var(--color-text-secondary);+ --color-text-tertiary: var(--color-text-tertiary);+ --color-text-disabled: var(--color-text-disabled);+ --color-text-disabled-danger: var(--color-text-disabled-danger);+ --color-text-placeholder: var(--color-text-placeholder);+ --color-text-error-primary: var(--color-text-error-primary);+ --color-input-disabled-text: var(--color-input-disabled-text);+ --color-text-white: var(--color-text-white);++ --color-background-full: var(--color-background-full);+ --color-background-primary-default: var(--color-background-primary-default);+ --color-background-inner-default: var(--color-background-inner-default);+ --color-background-primary-hover: var(--color-background-primary-hover);+ --color-background-primary-active: var(--color-background-primary-active);+ --color-background-primary-disabled: var(--color-background-primary-disabled);+ --color-input-disabled-background: var(--color-input-disabled-background);+ --color-background-secondary-default: var(--color-background-secondary-default);+ --color-background-secondary-hover: var(--color-background-secondary-hover);+ --color-background-tertiary-default: var(--color-background-tertiary-default);+ --color-background-tertiary-hover: var(--color-background-tertiary-hover);+ --color-background-tertiary-error: var(--color-background-tertiary-error);+ --color-background-recent-hire-role: var(--color-background-recent-hire-role);+ --color-avatar-neutral-background: var(--color-avatar-neutral-background);+ --color-background-quaternary-default: var(--color-background-quaternary-default);+ --color-background-quaternary-hover: var(--color-background-quaternary-hover);+ --color-background-quaternary-error: var(--color-background-quaternary-error);+ --color-file-upload-icon-background: var(--color-file-upload-icon-background);+ --color-file-upload-icon-foreground: var(--color-file-upload-icon-foreground);+ --color-file-upload-icon-foreground-hover: var(--color-file-upload-icon-foreground-hover);++ --color-border-button-default: var(--color-border-button-default);+ --color-border-button-hover: var(--color-border-button-hover);+ --color-border-button-active: var(--color-border-button-active);+ --color-border-button-white: var(--color-border-button-white);+ --color-border-error-default: var(--color-border-error-default);+ --color-border-checkbox-default: var(--color-border-checkbox-default);+ --color-border-checkbox-hover: var(--color-border-checkbox-hover);+ --color-border-checkbox-active: var(--color-border-checkbox-active);+ --color-border-checkbox-white: var(--color-border-checkbox-white);+ --color-border-component-detail-container: var(--color-border-component-detail-container);+ --color-border-ai-profile-card: var(--color-border-ai-profile-card);+ --color-border-table: var(--color-border-table);+ --color-border-button-group: var(--color-border-button-group);+ --color-border-sidebar-profile-hover: var(--color-border-sidebar-profile-hover);+ --color-separator-border: var(--color-separator-border);+ --color-separator-border-strong: var(--color-separator-border-strong);+ --color-border-focus-ring: var(--color-border-focus-ring);++ --color-state-success-text: var(--color-state-success-text);+ --color-state-success-base: var(--color-state-success-base);+ --color-control-indicator-background: var(--color-control-indicator-background);+ --color-control-indicator-background-subtle: var(--color-control-indicator-background-subtle);+ --color-switch-off-chip-start: var(--color-switch-off-chip-start);+ --color-switch-off-chip-end: var(--color-switch-off-chip-end);+ --color-switch-on-chip-start: var(--color-switch-on-chip-start);+ --color-switch-on-chip-end: var(--color-switch-on-chip-end);+ --color-stat-card-icon-background: var(--color-stat-card-icon-background);+ --color-segmented-control-background: var(--color-segmented-control-background);+ --color-segmented-control-selected-background: var(--color-segmented-control-selected-background);+ --color-theme-toggle-sidebar-background: var(--color-theme-toggle-sidebar-background);+ --color-theme-toggle-sidebar-selected-background: var(--color-theme-toggle-sidebar-selected-background);+ --color-ai-chat-composer-add-background: var(--color-ai-chat-composer-add-background);+ --color-ai-chat-composer-add-hover-background: var(--color-ai-chat-composer-add-hover-background);+ --color-composer-panel-tab-background: var(--color-composer-panel-tab-background);+ --color-composer-panel-add-background: var(--color-composer-panel-add-background);+ --color-composer-panel-add-hover-background: var(--color-composer-panel-add-hover-background);+ --color-composer-panel-tile-border: var(--color-composer-panel-tile-border);+ --color-composer-panel-rail-background: var(--color-composer-panel-rail-background);+ --color-questionnaire-key-background: var(--color-questionnaire-key-background);+ --color-questionnaire-key-hover-background: var(--color-questionnaire-key-hover-background);+ --color-agent-progress-ring: var(--color-agent-progress-ring);+ --color-button-ghost-background: var(--color-button-ghost-background);+ --color-button-ghost-hover: var(--color-button-ghost-hover);+ --color-button-ghost-active: var(--color-button-ghost-active);+ --color-button-ghost-disabled: var(--color-button-ghost-disabled);+ --color-button-ghost-foreground: var(--color-button-ghost-foreground);+ --color-button-ghost-disabled-foreground: var(--color-button-ghost-disabled-foreground);+ --color-dropdown-item-hover-background: var(--color-dropdown-item-hover-background);+ --color-kbd-background: var(--color-kbd-background);+ --color-kbd-foreground: var(--color-kbd-foreground);+ --color-docs-file-chip-background: var(--color-docs-file-chip-background);+ --color-docs-file-chip-border: var(--color-docs-file-chip-border);+ --color-docs-file-chip-foreground: var(--color-docs-file-chip-foreground);+ --color-docs-command-accent: var(--color-docs-command-accent);+ --color-docs-code-background: var(--color-docs-code-background);+ --color-docs-install-rail: var(--color-docs-install-rail);+ --color-badge-neutral-background: var(--color-badge-neutral-background);+ --color-team-menu-count-background: var(--color-team-menu-count-background);+ --color-team-menu-count-foreground: var(--color-team-menu-count-foreground);+ --color-badge-new-background: var(--color-badge-new-background);+ --color-badge-new-text: var(--color-badge-new-text);+ --color-tab-count-selected-background: var(--color-tab-count-selected-background);+ --color-pill-tab-blue-selected-background: var(--color-pill-tab-blue-selected-background);+ --color-pill-tab-blue-hover-background: var(--color-pill-tab-blue-hover-background);+ --color-notification-information-background: var(--color-notification-information-background);+ --color-notification-information-foreground: var(--color-notification-information-foreground);+ --color-notification-success-background: var(--color-notification-success-background);+ --color-notification-success-foreground: var(--color-notification-success-foreground);+ --color-notification-error-background: var(--color-notification-error-background);+ --color-notification-error-foreground: var(--color-notification-error-foreground);+ --color-notification-center-background: var(--color-notification-center-background);+ --color-status-lime-background: var(--color-status-lime-background);+ --color-status-lime-text: var(--color-status-lime-text);+ --color-status-yellow-background: var(--color-status-yellow-background);+ --color-status-yellow-text: var(--color-status-yellow-text);+ --color-status-rose-background: var(--color-status-rose-background);+ --color-status-rose-text: var(--color-status-rose-text);+ --color-status-cyan-background: var(--color-status-cyan-background);+ --color-status-cyan-text: var(--color-status-cyan-text);+ --color-status-blue-background: var(--color-status-blue-background);+ --color-status-blue-text: var(--color-status-blue-text);+ --color-status-purple-background: var(--color-status-purple-background);+ --color-status-purple-text: var(--color-status-purple-text);+ --color-status-dot-green-halo: var(--color-status-dot-green-halo);+ --color-status-dot-yellow-halo: var(--color-status-dot-yellow-halo);+ --color-status-dot-indigo-halo: var(--color-status-dot-indigo-halo);+ --color-date-range-background: var(--color-date-range-background);+ --color-date-range-edge-background: var(--color-date-range-edge-background);+ --color-calendar-event-blue-background: var(--color-calendar-event-blue-background);+ --color-calendar-event-blue-title: var(--color-calendar-event-blue-title);+ --color-calendar-event-blue-time: var(--color-calendar-event-blue-time);+ --color-calendar-event-pink-background: var(--color-calendar-event-pink-background);+ --color-calendar-event-pink-title: var(--color-calendar-event-pink-title);+ --color-calendar-event-pink-time: var(--color-calendar-event-pink-time);+ --color-calendar-event-purple-background: var(--color-calendar-event-purple-background);+ --color-calendar-event-purple-title: var(--color-calendar-event-purple-title);+ --color-calendar-event-purple-time: var(--color-calendar-event-purple-time);+ --color-calendar-event-lime-background: var(--color-calendar-event-lime-background);+ --color-calendar-event-lime-title: var(--color-calendar-event-lime-title);+ --color-calendar-event-lime-time: var(--color-calendar-event-lime-time);+ --color-calendar-event-emerald-background: var(--color-calendar-event-emerald-background);+ --color-calendar-event-emerald-title: var(--color-calendar-event-emerald-title);+ --color-calendar-event-emerald-time: var(--color-calendar-event-emerald-time);++ --color-text-error-placeholder: var(--color-text-error-placeholder);++ --color-chart-track: var(--color-chart-track);+ --color-chart-cursor: var(--color-chart-cursor);+ --color-chart-neutral: var(--color-chart-neutral);+ --color-chart-1: var(--color-chart-1);+ --color-chart-1-active: var(--color-chart-1-active);+ --color-chart-2: var(--color-chart-2);+ --color-chart-2-active: var(--color-chart-2-active);+ --color-chart-3: var(--color-chart-3);+ --color-chart-3-active: var(--color-chart-3-active);+ --color-chart-4: var(--color-chart-4);+ --color-chart-4-active: var(--color-chart-4-active);+ --color-chart-5: var(--color-chart-5);+ --color-chart-5-active: var(--color-chart-5-active);+ --color-chart-6: var(--color-chart-6);+ --color-chart-6-active: var(--color-chart-6-active);+ --color-chart-7: var(--color-chart-7);+ --color-chart-7-active: var(--color-chart-7-active);+ --color-chart-8: var(--color-chart-8);+ --color-chart-8-active: var(--color-chart-8-active);+ --color-chart-9: var(--color-chart-9);+ --color-chart-9-active: var(--color-chart-9-active);+ --color-chart-agents-bar: var(--color-chart-agents-bar);+ --color-chart-agents-bar-active: var(--color-chart-agents-bar-active);+}++/* ---------------------------------------------------------------------------+ * Component utilities — Buttons+ *+ * Each variant collapses the four interactive states (default / hover / active+ * / disabled) into a single class. Use them on the component:+ *+ * <button class="bg-button-primary">…</button>+ * <button class="bg-button-danger">…</button>+ *+ * Smooth default→hover transition trick:+ * CSS can't interpolate `background-image`, so swapping gradients on :hover+ * would snap. Instead we keep the *default* gradient on the element and+ * layer the *hover* gradient on a `::before` pseudo-element whose opacity+ * fades 0→1 over `--button-transition-ms`. Active/disabled gradients still+ * swap instantly (we hide the pseudo to reveal them).+ *+ * Stacking: `isolation: isolate` keeps the pseudo behind the button's text+ * and icons (z-index -1) while staying above the element's own background.+ * `border-radius: inherit` + `overflow: hidden` keeps it within the rounded+ * corners.+ * --------------------------------------------------------------------------- */+@theme {+ --button-transition-ms: 150ms;+ --input-transition-ms: 150ms;+}++/* Keep color feedback quick while the physical press motion remains soft.+ * The transform uses a shorter duration on press and the slower duration only+ * when returning to rest, so hover styles never inherit the 700ms timing. */+@utility button-press-motion {+ transition:+ background-color var(--button-transition-ms) ease,+ border-color var(--button-transition-ms) ease,+ box-shadow var(--button-transition-ms) ease,+ color var(--button-transition-ms) ease,+ transform 420ms cubic-bezier(0.4, 0, 0.2, 1);++ &:active:not(:disabled):not([aria-disabled="true"]) {+ transform: scale(0.98);+ transition-duration: 150ms, 150ms, 150ms, 150ms, 220ms;+ }++ &:disabled,+ &[aria-disabled="true"] {+ transform: none;+ }++ @media (prefers-reduced-motion: reduce) {+ transition: none;+ transform: none;+ }+}++@utility bg-button-primary {+ position: relative;+ isolation: isolate;+ background-image: var(--gradient-button-primary-default);++ &::before {+ content: "";+ position: absolute;+ inset: 0;+ z-index: -1;+ pointer-events: none;+ border-radius: inherit;+ background-image: var(--gradient-button-primary-hover);+ opacity: 0;+ transition: opacity var(--button-transition-ms) ease;+ }+ &:hover:not(:disabled):not([aria-disabled="true"])::before {+ opacity: 1;+ }+ &:active:not(:disabled):not([aria-disabled="true"]) {+ background-image: var(--gradient-button-primary-active);+ }+ &:active:not(:disabled):not([aria-disabled="true"])::before {+ opacity: 0;+ }+ &:disabled,+ &[aria-disabled="true"] {+ background-image: var(--gradient-button-primary-disabled);+ }+ &:disabled::before,+ &[aria-disabled="true"]::before {+ display: none;+ }+}++@utility bg-button-danger {+ position: relative;+ isolation: isolate;+ background-image: var(--gradient-button-danger-default);++ &::before {+ content: "";+ position: absolute;+ inset: 0;+ z-index: -1;+ pointer-events: none;+ border-radius: inherit;+ background-image: var(--gradient-button-danger-hover);+ opacity: 0;+ transition: opacity var(--button-transition-ms) ease;+ }+ &:hover:not(:disabled):not([aria-disabled="true"])::before {+ opacity: 1;+ }+ &:active:not(:disabled):not([aria-disabled="true"]) {+ background-image: var(--gradient-button-danger-active);+ }+ &:active:not(:disabled):not([aria-disabled="true"])::before {+ opacity: 0;+ }+ &:disabled,+ &[aria-disabled="true"] {+ background-image: var(--gradient-button-danger-disabled);+ }+ &:disabled::before,+ &[aria-disabled="true"]::before {+ display: none;+ }+}diff --git a/frontend/src/react/boardui/styles/typography.css b/frontend/src/react/boardui/styles/typography.cssnew file mode 100644index 000000000..296fa92ed--- /dev/null+++ b/frontend/src/react/boardui/styles/typography.css@@ -0,0 +1,257 @@+/* ---------------------------------------------------------------------------+ * BoardUI typography+ *+ * Type ramp from Figma → text styles. Each style registers a Tailwind v4+ * text utility — `text-{name}` applies font-size + line-height + letter-spacing+ * + font-weight in one go.+ *+ * Family: Inter for the whole ramp. (The Figma export marks Large Title /+ * Regular as "Inter Display"; we map everything to Inter for consistency since+ * Inter ships a variable optical-size axis. Flag if a true Inter Display load+ * is needed.)+ *+ * Weight mapping (mirrors Figma variables — font/weight/*):+ * Regular = 400+ * Medium = 500+ * Semibold = 600 (Figma variable font/weight/semibold = 600)+ * Bold = 700+ *+ * Naming: `<family>-<weight>` in lowercase kebab — e.g. `text-body-medium`,+ * `text-title-1-semibold`, `text-caption-2-bold`.+ * --------------------------------------------------------------------------- */++@theme {+ /* ===== Large Title — 64 / 80 ============================================= */+ --text-large-title-regular: 4rem;+ --text-large-title-regular--line-height: 5rem;+ --text-large-title-regular--letter-spacing: 0;+ --text-large-title-regular--font-weight: 400;+ --text-large-title-medium: 4rem;+ --text-large-title-medium--line-height: 5rem;+ --text-large-title-medium--letter-spacing: 0;+ --text-large-title-medium--font-weight: 500;+ --text-large-title-semibold: 4rem;+ --text-large-title-semibold--line-height: 5rem;+ --text-large-title-semibold--letter-spacing: 0;+ --text-large-title-semibold--font-weight: 600;+ --text-large-title-bold: 4rem;+ --text-large-title-bold--line-height: 5rem;+ --text-large-title-bold--letter-spacing: 0;+ --text-large-title-bold--font-weight: 700;++ /* ===== Display 1 — 56 / 72 =============================================== */+ --text-display-1-regular: 3.5rem;+ --text-display-1-regular--line-height: 4.5rem;+ --text-display-1-regular--letter-spacing: 0;+ --text-display-1-regular--font-weight: 400;+ --text-display-1-medium: 3.5rem;+ --text-display-1-medium--line-height: 4.5rem;+ --text-display-1-medium--letter-spacing: 0;+ --text-display-1-medium--font-weight: 500;+ --text-display-1-semibold: 3.5rem;+ --text-display-1-semibold--line-height: 4.5rem;+ --text-display-1-semibold--letter-spacing: 0;+ --text-display-1-semibold--font-weight: 600;+ --text-display-1-bold: 3.5rem;+ --text-display-1-bold--line-height: 4.5rem;+ --text-display-1-bold--letter-spacing: 0;+ --text-display-1-bold--font-weight: 700;++ /* ===== Display 2 — 48 / 64 =============================================== */+ --text-display-2-regular: 3rem;+ --text-display-2-regular--line-height: 4rem;+ --text-display-2-regular--letter-spacing: 0;+ --text-display-2-regular--font-weight: 400;+ --text-display-2-medium: 3rem;+ --text-display-2-medium--line-height: 4rem;+ --text-display-2-medium--letter-spacing: 0;+ --text-display-2-medium--font-weight: 500;+ --text-display-2-semibold: 3rem;+ --text-display-2-semibold--line-height: 4rem;+ --text-display-2-semibold--letter-spacing: 0;+ --text-display-2-semibold--font-weight: 600;+ --text-display-2-bold: 3rem;+ --text-display-2-bold--line-height: 4rem;+ --text-display-2-bold--letter-spacing: 0;+ --text-display-2-bold--font-weight: 700;++ /* ===== Display 3 — 40 / 54 =============================================== */+ --text-display-3-regular: 2.5rem;+ --text-display-3-regular--line-height: 3.375rem;+ --text-display-3-regular--letter-spacing: 0;+ --text-display-3-regular--font-weight: 400;+ --text-display-3-medium: 2.5rem;+ --text-display-3-medium--line-height: 3.375rem;+ --text-display-3-medium--letter-spacing: 0;+ --text-display-3-medium--font-weight: 500;+ --text-display-3-semibold: 2.5rem;+ --text-display-3-semibold--line-height: 3.375rem;+ --text-display-3-semibold--letter-spacing: 0;+ --text-display-3-semibold--font-weight: 600;+ --text-display-3-bold: 2.5rem;+ --text-display-3-bold--line-height: 3.375rem;+ --text-display-3-bold--letter-spacing: 0;+ --text-display-3-bold--font-weight: 700;++ /* ===== Display 4 — 32 / 44 =============================================== */+ --text-display-4-regular: 2rem;+ --text-display-4-regular--line-height: 2.75rem;+ --text-display-4-regular--letter-spacing: 0;+ --text-display-4-regular--font-weight: 400;+ --text-display-4-medium: 2rem;+ --text-display-4-medium--line-height: 2.75rem;+ --text-display-4-medium--letter-spacing: 0;+ --text-display-4-medium--font-weight: 500;+ --text-display-4-semibold: 2rem;+ --text-display-4-semibold--line-height: 2.75rem;+ --text-display-4-semibold--letter-spacing: 0;+ --text-display-4-semibold--font-weight: 600;+ --text-display-4-bold: 2rem;+ --text-display-4-bold--line-height: 2.75rem;+ --text-display-4-bold--letter-spacing: 0;+ --text-display-4-bold--font-weight: 700;++ /* ===== Title 1 — 24 / 34 ================================================= */+ --text-title-1-regular: 1.5rem;+ --text-title-1-regular--line-height: 2.125rem;+ --text-title-1-regular--letter-spacing: 0;+ --text-title-1-regular--font-weight: 400;+ --text-title-1-medium: 1.5rem;+ --text-title-1-medium--line-height: 2.125rem;+ --text-title-1-medium--letter-spacing: 0;+ --text-title-1-medium--font-weight: 500;+ --text-title-1-semibold: 1.5rem;+ --text-title-1-semibold--line-height: 2.125rem;+ --text-title-1-semibold--letter-spacing: 0;+ --text-title-1-semibold--font-weight: 600;+ --text-title-1-bold: 1.5rem;+ --text-title-1-bold--line-height: 2.125rem;+ --text-title-1-bold--letter-spacing: 0;+ --text-title-1-bold--font-weight: 700;++ /* ===== Title 2 — 20 / 26 ================================================= */+ --text-title-2-regular: 1.25rem;+ --text-title-2-regular--line-height: 1.625rem;+ --text-title-2-regular--letter-spacing: 0;+ --text-title-2-regular--font-weight: 400;+ --text-title-2-medium: 1.25rem;+ --text-title-2-medium--line-height: 1.625rem;+ --text-title-2-medium--letter-spacing: 0;+ --text-title-2-medium--font-weight: 500;+ --text-title-2-semibold: 1.25rem;+ --text-title-2-semibold--line-height: 1.625rem;+ --text-title-2-semibold--letter-spacing: 0;+ --text-title-2-semibold--font-weight: 600;+ --text-title-2-bold: 1.25rem;+ --text-title-2-bold--line-height: 1.625rem;+ --text-title-2-bold--letter-spacing: 0;+ --text-title-2-bold--font-weight: 700;++ /* ===== Title 3 — 18 / 24-26 ============================================== */+ --text-title-3-regular: 1.125rem;+ --text-title-3-regular--line-height: 1.5rem; /* 24 per Figma */+ --text-title-3-regular--letter-spacing: 0;+ --text-title-3-regular--font-weight: 400;+ --text-title-3-medium: 1.125rem;+ --text-title-3-medium--line-height: 1.625rem; /* 26 per Figma */+ --text-title-3-medium--letter-spacing: 0;+ --text-title-3-medium--font-weight: 500;+ --text-title-3-semibold: 1.125rem;+ --text-title-3-semibold--line-height: 1.625rem;+ --text-title-3-semibold--letter-spacing: 0;+ --text-title-3-semibold--font-weight: 600;+ --text-title-3-bold: 1.125rem;+ --text-title-3-bold--line-height: 1.625rem;+ --text-title-3-bold--letter-spacing: 0;+ --text-title-3-bold--font-weight: 700;++ /* ===== Headline — 16 / 22 ================================================ */+ --text-headline-regular: 1rem;+ --text-headline-regular--line-height: 1.375rem;+ --text-headline-regular--letter-spacing: 0;+ --text-headline-regular--font-weight: 400;+ --text-headline-medium: 1rem;+ --text-headline-medium--line-height: 1.375rem;+ --text-headline-medium--letter-spacing: 0;+ --text-headline-medium--font-weight: 500;+ --text-headline-semibold: 1rem;+ --text-headline-semibold--line-height: 1.375rem;+ --text-headline-semibold--letter-spacing: 0;+ --text-headline-semibold--font-weight: 600;+ --text-headline-bold: 1rem;+ --text-headline-bold--line-height: 1.375rem;+ --text-headline-bold--letter-spacing: 0;+ --text-headline-bold--font-weight: 700;++ /* ===== Body — 14 / 20 ==================================================== */+ --text-body-regular: 0.875rem;+ --text-body-regular--line-height: 1.25rem;+ --text-body-regular--letter-spacing: 0;+ --text-body-regular--font-weight: 400;+ --text-body-medium: 0.875rem;+ --text-body-medium--line-height: 1.25rem;+ --text-body-medium--letter-spacing: 0;+ --text-body-medium--font-weight: 500;+ --text-body-semibold: 0.875rem;+ --text-body-semibold--line-height: 1.25rem;+ --text-body-semibold--letter-spacing: 0;+ --text-body-semibold--font-weight: 600;+ --text-body-bold: 0.875rem;+ --text-body-bold--line-height: 1.25rem;+ --text-body-bold--letter-spacing: 0;+ --text-body-bold--font-weight: 700;++ /* ===== Body 2 — 13 / 18 ================================================== */+ --text-body-2-regular: 0.8125rem;+ --text-body-2-regular--line-height: 1.125rem;+ --text-body-2-regular--letter-spacing: 0;+ --text-body-2-regular--font-weight: 400;+ --text-body-2-medium: 0.8125rem;+ --text-body-2-medium--line-height: 1.125rem;+ --text-body-2-medium--letter-spacing: 0;+ --text-body-2-medium--font-weight: 500;+ --text-body-2-semibold: 0.8125rem;+ --text-body-2-semibold--line-height: 1.125rem;+ --text-body-2-semibold--letter-spacing: 0;+ --text-body-2-semibold--font-weight: 600;+ --text-body-2-bold: 0.8125rem;+ --text-body-2-bold--line-height: 1.125rem;+ --text-body-2-bold--letter-spacing: 0;+ --text-body-2-bold--font-weight: 700;++ /* ===== Caption 1 — 12 / 16 (tracking 0.15) =============================== */+ --text-caption-1-regular: 0.75rem;+ --text-caption-1-regular--line-height: 1rem;+ --text-caption-1-regular--letter-spacing: 0.15px;+ --text-caption-1-regular--font-weight: 400;+ --text-caption-1-medium: 0.75rem;+ --text-caption-1-medium--line-height: 1rem;+ --text-caption-1-medium--letter-spacing: 0.15px;+ --text-caption-1-medium--font-weight: 500;+ --text-caption-1-semibold: 0.75rem;+ --text-caption-1-semibold--line-height: 1rem;+ --text-caption-1-semibold--letter-spacing: 0.15px;+ --text-caption-1-semibold--font-weight: 600;+ --text-caption-1-bold: 0.75rem;+ --text-caption-1-bold--line-height: 1rem;+ --text-caption-1-bold--letter-spacing: 0.15px;+ --text-caption-1-bold--font-weight: 700;++ /* ===== Caption 2 — 11 / 15 (tracking 0.2) ================================ */+ --text-caption-2-regular: 0.6875rem;+ --text-caption-2-regular--line-height: 0.9375rem;+ --text-caption-2-regular--letter-spacing: 0.2px;+ --text-caption-2-regular--font-weight: 400;+ --text-caption-2-medium: 0.6875rem;+ --text-caption-2-medium--line-height: 0.9375rem;+ --text-caption-2-medium--letter-spacing: 0.2px;+ --text-caption-2-medium--font-weight: 500;+ --text-caption-2-semibold: 0.6875rem;+ --text-caption-2-semibold--line-height: 0.9375rem;+ --text-caption-2-semibold--letter-spacing: 0.2px;+ --text-caption-2-semibold--font-weight: 600;+ --text-caption-2-bold: 0.6875rem;+ --text-caption-2-bold--line-height: 0.9375rem;+ --text-caption-2-bold--letter-spacing: 0.2px;+ --text-caption-2-bold--font-weight: 700;+}diff --git a/frontend/src/react/boardui/utils/cx.ts b/frontend/src/react/boardui/utils/cx.tsnew file mode 100644index 000000000..e9b877647--- /dev/null+++ b/frontend/src/react/boardui/utils/cx.ts@@ -0,0 +1,61 @@+import { extendTailwindMerge } from "tailwind-merge";++/**+ * Text-style classes from styles/typography.css.+ *+ * IMPORTANT: every text-* utility we define via @theme (e.g. `text-body-medium`,+ * `text-title-1-semibold`) must be listed here. Otherwise tailwind-merge — which+ * has no view of our Tailwind theme — treats them as text-color utilities and+ * silently drops them when they appear in the same className as a real color+ * (`text-foreground-full`, `text-text-primary`, etc).+ *+ * If you add or rename a text style in typography.css, mirror the change here.+ */+const TEXT_FAMILIES = [+ "large-title",+ "display-1",+ "display-2",+ "display-3",+ "display-4",+ "title-1",+ "title-2",+ "title-3",+ "headline",+ "body",+ "body-2",+ "caption-1",+ "caption-2",+] as const;++const TEXT_WEIGHTS = ["regular", "medium", "semibold", "bold"] as const;++const TEXT_STYLE_SUFFIXES = TEXT_FAMILIES.flatMap((family) =>+ TEXT_WEIGHTS.map((weight) => `${family}-${weight}`),+);++const twMerge = extendTailwindMerge({+ extend: {+ classGroups: {+ "font-size": [{ text: TEXT_STYLE_SUFFIXES }],+ },+ },+});++/**+ * Merge Tailwind classes safely. Last-write-wins on conflicting utilities.+ */+export const cx = twMerge;++/**+ * Identity helper that gives the Tailwind IntelliSense extension a hook for+ * sorting classes inside style objects (the extension doesn't sort inside+ * plain object literals otherwise).+ */+export function sortCx<+ T extends Record<+ string,+ string | number | Record<string, string | number | Record<string, string | number>>+ >,+>(classes: T): T {+ return classes;+}diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.tsnew file mode 100644index 000000000..2f7985050--- /dev/null+++ b/frontend/src/react/bundle.d.ts@@ -0,0 +1,19 @@+/* `web/dist/peach-react.js` 的对外契约。+ *+ * Preact 那一侧按 `@peach/react` 引用这份产物,构建时改写成 `/dist/peach-react.js`;+ * `entry.tsx` 按这里的签名实现,两边的类型检查各自对照同一份声明。 */++export interface AccessState { mode: 'open' | 'password' | 'legacy' | 'locked'; revision: string }++export interface AccessSettingsProps {+ initial: AccessState;+ receipt(message: string): void;+}++/** 一棵挂在遗留容器里的 React 根。`unmount` 之后容器归还给挂载方。 */+export interface ReactMount<P> {+ update(props: P): void;+ unmount(): void;+}++export declare function mountAccessSettings(el: Element, props: AccessSettingsProps): ReactMount<AccessSettingsProps>;diff --git a/frontend/src/react/entry.tsx b/frontend/src/react/entry.tsxnew file mode 100644index 000000000..19f005431--- /dev/null+++ b/frontend/src/react/entry.tsx@@ -0,0 +1,19 @@+/* React 子树的构建入口(`web/dist/peach-react.js`),按 `bundle.d.ts` 的签名导出挂载函数。 */+import './styles.css';++import type { ComponentType } from 'react';+import { createRoot } from 'react-dom/client';++import type * as Bundle from './bundle';+import { AccessSettings } from './settings/access-settings';++function mounter<P extends object>(Component: ComponentType<P>) {+ return (el: Element, props: P): Bundle.ReactMount<P> => {+ const root = createRoot(el);+ const paint = (next: P) => root.render(<Component {...next} />);+ paint(props);+ return { update: paint, unmount: () => root.unmount() };+ };+}++export const mountAccessSettings: typeof Bundle.mountAccessSettings = mounter(AccessSettings);diff --git a/frontend/src/react/preflight-scoped.css b/frontend/src/react/preflight-scoped.cssnew file mode 100644index 000000000..49bce2d27--- /dev/null+++ b/frontend/src/react/preflight-scoped.css@@ -0,0 +1,406 @@+/* Tailwind CSS 4.3.3 的 preflight.css,逐字包进 `@scope (.peach-react)`。+ *+ * 旧样式表与 React 子树同处一页,Preflight 铺到整页会清掉未迁移页面依赖的默认外边距、+ * 标题字号和列表样式;限定在 React 子树里,BoardUI 源码依赖的基线照样成立。+ * `test/react/preflight-scope.test.ts` 核对包进来的正文与依赖里的原文逐字一致,+ * 升级 tailwindcss 后按同一方式重新生成。 */+@scope (.peach-react) {+/*+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)+ 2. Remove default margins and padding+ 3. Reset all borders.+*/++*,+::after,+::before,+::backdrop,+::file-selector-button {+ box-sizing: border-box; /* 1 */+ margin: 0; /* 2 */+ padding: 0; /* 2 */+ border: 0 solid; /* 3 */+}++/*+ 1. Use a consistent sensible line-height in all browsers.+ 2. Prevent adjustments of font size after orientation changes in iOS.+ 3. Use a more readable tab size.+ 4. Use the user's configured `sans` font-family by default.+ 5. Use the user's configured `sans` font-feature-settings by default.+ 6. Use the user's configured `sans` font-variation-settings by default.+ 7. Disable tap highlights on iOS.+*/++html,+:host {+ line-height: 1.5; /* 1 */+ -webkit-text-size-adjust: 100%; /* 2 */+ tab-size: 4; /* 3 */+ font-family: --theme(+ --default-font-family,+ -apple-system,+ BlinkMacSystemFont,+ 'Segoe UI',+ Roboto,+ 'Helvetica Neue',+ 'Noto Sans',+ Arial,+ sans-serif,+ 'Apple Color Emoji',+ 'Segoe UI Emoji',+ 'Segoe UI Symbol',+ 'Noto Color Emoji'+ ); /* 4 */+ font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */+ font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */+ -webkit-tap-highlight-color: transparent; /* 7 */+}++/*+ 1. Add the correct height in Firefox.+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)+ 3. Reset the default border style to a 1px solid border.+*/++hr {+ height: 0; /* 1 */+ color: inherit; /* 2 */+ border-top-width: 1px; /* 3 */+}++/*+ Add the correct text decoration in Chrome, Edge, and Safari.+*/++abbr:where([title]) {+ -webkit-text-decoration: underline dotted;+ text-decoration: underline dotted;+}++/*+ Remove the default font size and weight for headings.+*/++h1,+h2,+h3,+h4,+h5,+h6 {+ font-size: inherit;+ font-weight: inherit;+}++/*+ Reset links to optimize for opt-in styling instead of opt-out.+*/++a {+ color: inherit;+ -webkit-text-decoration: inherit;+ text-decoration: inherit;+}++/*+ Add the correct font weight in Edge and Safari.+*/++b,+strong {+ font-weight: bolder;+}++/*+ 1. Use the user's configured `mono` font-family by default.+ 2. Use the user's configured `mono` font-feature-settings by default.+ 3. Use the user's configured `mono` font-variation-settings by default.+ 4. Correct the odd `em` font sizing in all browsers.+*/++code,+kbd,+samp,+pre {+ font-family: --theme(+ --default-mono-font-family,+ ui-monospace,+ SFMono-Regular,+ Menlo,+ Monaco,+ Consolas,+ 'Liberation Mono',+ 'Courier New',+ monospace+ ); /* 1 */+ font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */+ font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */+ font-size: 1em; /* 4 */+}++/*+ Add the correct font size in all browsers.+*/++small {+ font-size: 80%;+}++/*+ Prevent `sub` and `sup` elements from affecting the line height in all browsers.+*/++sub,+sup {+ font-size: 75%;+ line-height: 0;+ position: relative;+ vertical-align: baseline;+}++sub {+ bottom: -0.25em;+}++sup {+ top: -0.5em;+}++/*+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)+ 3. Remove gaps between table borders by default.+*/++table {+ text-indent: 0; /* 1 */+ border-color: inherit; /* 2 */+ border-collapse: collapse; /* 3 */+}++/*+ Use the modern Firefox focus style for all focusable elements.+*/++:-moz-focusring:where(:not(iframe)) {+ outline: auto;+}++/*+ Add the correct vertical alignment in Chrome and Firefox.+*/++progress {+ vertical-align: baseline;+}++/*+ Add the correct display in Chrome and Safari.+*/++summary {+ display: list-item;+}++/*+ Make lists unstyled by default.+*/++ol,+ul,+menu {+ list-style: none;+}++/*+ 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)+ 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)+ This can trigger a poorly considered lint error in some tools but is included by design.+*/++img,+svg,+video,+canvas,+audio,+iframe,+embed,+object {+ display: block; /* 1 */+ vertical-align: middle; /* 2 */+}++/*+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)+*/++img,+video {+ max-width: 100%;+ height: auto;+}++/*+ 1. Inherit font styles in all browsers.+ 2. Remove border radius in all browsers.+ 3. Remove background color in all browsers.+ 4. Ensure consistent opacity for disabled states in all browsers.+*/++button,+input,+select,+optgroup,+textarea,+::file-selector-button {+ font: inherit; /* 1 */+ font-feature-settings: inherit; /* 1 */+ font-variation-settings: inherit; /* 1 */+ letter-spacing: inherit; /* 1 */+ color: inherit; /* 1 */+ border-radius: 0; /* 2 */+ background-color: transparent; /* 3 */+ opacity: 1; /* 4 */+}++/*+ Restore default font weight.+*/++:where(select:is([multiple], [size])) optgroup {+ font-weight: bolder;+}++/*+ Restore indentation.+*/++:where(select:is([multiple], [size])) optgroup option {+ padding-inline-start: 20px;+}++/*+ Restore space after button.+*/++::file-selector-button {+ margin-inline-end: 4px;+}++/*+ Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)+*/++::placeholder {+ opacity: 1;+}++/*+ Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not+ crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)+*/++@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or+ (contain-intrinsic-size: 1px) /* Safari 17+ */ {+ ::placeholder {+ color: color-mix(in oklab, currentcolor 50%, transparent);+ }+}++/*+ Prevent resizing textareas horizontally by default.+*/++textarea {+ resize: vertical;+}++/*+ Remove the inner padding in Chrome and Safari on macOS.+*/++::-webkit-search-decoration {+ -webkit-appearance: none;+}++/*+ 1. Ensure date/time inputs have the same height when empty in iOS Safari.+ 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.+*/++::-webkit-date-and-time-value {+ min-height: 1lh; /* 1 */+ text-align: inherit; /* 2 */+}++/*+ Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.+*/++::-webkit-datetime-edit {+ display: inline-flex;+}++/*+ Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.+*/++::-webkit-datetime-edit-fields-wrapper {+ padding: 0;+}++::-webkit-datetime-edit,+::-webkit-datetime-edit-year-field,+::-webkit-datetime-edit-month-field,+::-webkit-datetime-edit-day-field,+::-webkit-datetime-edit-hour-field,+::-webkit-datetime-edit-minute-field,+::-webkit-datetime-edit-second-field,+::-webkit-datetime-edit-millisecond-field,+::-webkit-datetime-edit-meridiem-field {+ padding-block: 0;+}++/*+ Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)+*/++::-webkit-calendar-picker-indicator {+ line-height: 1;+}++/*+ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)+*/++:-moz-ui-invalid {+ box-shadow: none;+}++/*+ Correct the inability to style the border radius in iOS Safari.+*/++button,+input:where([type='button'], [type='reset'], [type='submit']),+::file-selector-button {+ appearance: button;+}++/*+ Correct the cursor style of increment and decrement buttons in Safari.+*/++::-webkit-inner-spin-button,+::-webkit-outer-spin-button {+ height: auto;+}++/*+ Make elements with the HTML hidden attribute stay hidden by default.+*/++[hidden]:where(:not([hidden='until-found'])) {+ display: none !important;+}+}diff --git a/frontend/src/react/settings/access-settings.tsx b/frontend/src/react/settings/access-settings.tsxnew file mode 100644index 000000000..8b5ede81e--- /dev/null+++ b/frontend/src/react/settings/access-settings.tsx@@ -0,0 +1,123 @@+/* 本机访问密码,由 BoardUI 原版组件组合;表单值只留在提交期间的组件内存中。+ *+ * 分区外观取 BoardUI 设置弹层的 `SettingsSectionLabel` + `SettingsCard`,字段是 BoardUI+ * `Input`(React Aria TextField),开关是 BoardUI `Checkbox`,提交键是 BoardUI `Button`。+ * BoardUI 没有行内持久提示组件,`Warning` 用它的黄色状态 token 组合。 */+import { useEffect, useRef, useState, type FormEvent, type ReactNode } from 'react';++import { SettingsCard, SettingsSectionLabel } from '@/components/application/settings/settings-rows';+import { Button } from '@/components/base/buttons/button';+import { Checkbox } from '@/components/base/checkbox/checkbox';+import { Input } from '@/components/base/input/input';++import { ApiError, apiSend, errorMessage } from '../../api';+import type { AccessSettingsProps, AccessState } from '../bundle';++type FieldErrors = Partial<Record<'current_password' | 'password' | 'confirmation', string>>;++const HELP: Partial<Record<AccessState['mode'], string>> = {+ legacy: '当前使用系统生成的访问口令。你可以设置自己的密码,或关闭登录要求。',+ locked: '访问设置无法读取,请在本机检查配置文件。',+ password: '已设置密码。新设备需要登录,保持登录时间在登录页选择。',+};++/** 持久警示。没有密码是这台机器当前的状态,不是填表提示,所以不和字段说明共用灰色小字。 */+function Warning({ label, children }: { label: string; children: ReactNode }) {+ return (+ <div role="note" className="flex flex-col gap-0.5 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text">+ <p className="text-body-medium">{label}</p>+ <p className="text-body-2-regular">{children}</p>+ </div>+ );+}++export function AccessSettings({ initial, receipt }: AccessSettingsProps) {+ const [state, setState] = useState(initial);+ const [current, setCurrent] = useState('');+ const [password, setPassword] = useState('');+ const [confirmation, setConfirmation] = useState('');+ const [disable, setDisable] = useState(false);+ const [fields, setFields] = useState<FieldErrors>({});+ const [error, setError] = useState('');+ const [busy, setBusy] = useState(false);+ const form = useRef<HTMLFormElement>(null);+ const pending = useRef<AbortController | null>(null);+ useEffect(() => () => pending.current?.abort(), []);++ const submit = async (event: FormEvent<HTMLFormElement>) => {+ event.preventDefault();+ if (pending.current) return;+ setError('');+ const issues: FieldErrors = {};+ if (state.mode === 'password' && !current) issues.current_password = '请输入当前访问密码';+ if (!disable) {+ if (password.length < 8 || password.length > 256) issues.password = '访问密码需为 8–256 个字符';+ if (password !== confirmation) issues.confirmation = '两次输入的密码不一致';+ }+ setFields(issues);+ if (Object.keys(issues).length) {+ requestAnimationFrame(() => form.current?.querySelector<HTMLInputElement>('input[aria-invalid="true"]')?.focus());+ return;+ }+ const controller = new AbortController();+ pending.current = controller;+ setBusy(true);+ try {+ const next = await apiSend<AccessState>('/api/configuration/access', {+ revision: state.revision, action: disable ? 'disable' : 'set', confirm_disable: disable,+ current_password: current, password: disable ? '' : password, confirmation: disable ? '' : confirmation,+ }, 'POST', controller.signal);+ if (controller.signal.aborted) return;+ setState(next); setCurrent(''); setPassword(''); setConfirmation(''); setDisable(false); setFields({});+ receipt(next.mode === 'open' ? '已关闭访问密码' : '已保存访问密码');+ } catch (cause) {+ if (controller.signal.aborted) return;+ const payload = cause instanceof ApiError ? cause.body as { errors?: FieldErrors; detail?: { errors?: FieldErrors } } : null;+ const errors = payload?.errors || payload?.detail?.errors;+ if (errors) setFields(errors); else setError(errorMessage(cause));+ } finally {+ if (pending.current === controller) pending.current = null;+ if (!controller.signal.aborted) setBusy(false);+ }+ };++ const help = HELP[state.mode];+ const editable = state.mode !== 'locked';+ return (+ <form ref={form} aria-label="访问密码" noValidate onSubmit={submit} className="flex w-full flex-col gap-2">+ <SettingsSectionLabel>访问密码</SettingsSectionLabel>+ <SettingsCard className="gap-4 py-4 pr-3">+ {help ? <p className="text-body-2-regular text-text-secondary">{help}</p> : null}+ {state.mode === 'open'+ ? <Warning label="未设置访问密码">能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。</Warning>+ : null}+ {state.mode === 'password' || state.mode === 'legacy'+ ? <Checkbox isSelected={disable} onChange={setDisable}>关闭访问密码,允许能连接到 Peach 的设备直接访问</Checkbox>+ : null}+ {state.mode === 'password'+ ? <Input id="access-current" type="password" label="当前访问密码" autoComplete="current-password" maxLength={256}+ value={current} onChange={setCurrent} isRequired validationBehavior="aria"+ isInvalid={Boolean(fields.current_password)} hint={fields.current_password} />+ : null}+ {editable ? <>+ <Input id="access-password" type="password" label={state.mode === 'password' ? '新访问密码' : '设置访问密码'}+ autoComplete="new-password" maxLength={256} value={password} onChange={setPassword}+ isDisabled={disable} isRequired={!disable} validationBehavior="aria"+ isInvalid={!disable && Boolean(fields.password)}+ hint={disable ? '关闭访问密码时无需填写。' : fields.password || '至少 8 个字符。保存后其他设备需要重新登录。'} />+ <Input id="access-confirm" type="password" label="确认访问密码" autoComplete="new-password" maxLength={256}+ value={confirmation} onChange={setConfirmation} isDisabled={disable} isRequired={!disable} validationBehavior="aria"+ isInvalid={!disable && Boolean(fields.confirmation)} hint={disable ? undefined : fields.confirmation} />+ </> : null}+ {disable ? <Warning label="访问范围">保存后,能连接到 Peach 的设备将直接访问馆藏。</Warning> : null}+ {error ? <p role="alert" className="text-body-2-regular text-text-error-primary">{error}</p> : null}+ {editable+ ? <div className="flex items-center justify-between gap-4 border-t border-separator-border pt-3">+ <p className="text-body-2-regular text-text-secondary">保存后立即生效。</p>+ <Button type="submit" aria-busy={busy || undefined} aria-disabled={busy || undefined}>保存配置</Button>+ </div>+ : null}+ </SettingsCard>+ </form>+ );+}diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.cssnew file mode 100644index 000000000..a792405d6--- /dev/null+++ b/frontend/src/react/styles.css@@ -0,0 +1,59 @@+/* React 子树的样式入口(`web/dist/peach-react.css`)。+ *+ * 旧样式表仍在同一页面上,所以和上游 globals.css 的写法有三处不同,来源与原因见+ * `boardui/ORIGIN.md`:+ * - 工具类不进层叠层。旧样式表不分层,`button,input,textarea{color:inherit}` 这类标签规则+ * 在层外,会压过层里的任何工具类;不分层时工具类凭类名的优先级胜出。+ * - 只扫描 `src/react/`。Preact 与遗留层里的 `hidden`、`flex` 这类类名不生成工具类,+ * 页面上生成出来的全局类名只来自 React 子树。+ * - Preflight 与根元素基线限定在 `.peach-react` 容器里。 */+@import "tailwindcss/theme.css" layer(theme);+@import "tailwindcss/utilities.css" source(none);+@import "./preflight-scoped.css";+@import "./boardui/styles/theme.css";+@import "./boardui/styles/typography.css";++@source "./";++@custom-variant dark (&:where(.dark, .dark *));++/* 上游 `--font-sans` 引用 Next.js 字体加载器注入的 `--font-inter`;Peach 的 Inter 由+ * board.css 引入的 `/vendor/inter/` 提供。 */+:root {+ --font-inter: "Inter Variable", "Inter";+}++/* 上游 globals.css 里 html、body 的基线,落在 React 子树的容器上。 */+.peach-react {+ font-family: var(--font-sans);+ line-height: 1.5;+ color: var(--color-text-primary);+ -webkit-font-smoothing: antialiased;+ -moz-osx-font-smoothing: grayscale;+ font-variant-ligatures: contextual;+ font-kerning: normal;+}++/* 以下逐字取自上游 globals.css:Checkbox 打勾的描线动画。 */++/* Checkbox tick: draws the stroke on like it's being ticked by hand.+ * The path sets pathLength=1 so the dash math is resolution-independent. */+@keyframes check-draw {+ from {+ stroke-dashoffset: 1;+ }+ to {+ stroke-dashoffset: 0;+ }+}+.animate-check-draw {+ stroke-dasharray: 1;+ stroke-dashoffset: 1;+ animation: check-draw 200ms cubic-bezier(0.65, 0, 0.35, 1) forwards;+}+@media (prefers-reduced-motion: reduce) {+ .animate-check-draw {+ animation: none;+ stroke-dashoffset: 0;+ }+}diff --git a/frontend/src/react/tsconfig.json b/frontend/src/react/tsconfig.jsonnew file mode 100644index 000000000..2b22c17f5--- /dev/null+++ b/frontend/src/react/tsconfig.json@@ -0,0 +1,18 @@+{+ // React 子树(ADR-0022 试点)。Vite 与 tsc 都按「离文件最近的 tsconfig」决定 JSX 运行时,+ // 所以这一层只换 jsxImportSource,其余继承 frontend/tsconfig.json。+ "extends": "../../tsconfig.json",+ "compilerOptions": {+ "jsxImportSource": "react",+ // boardui/ 逐字复制上游源码,上游没有按这两条写;在这里放宽,而不是改上游文件。+ "exactOptionalPropertyTypes": false,+ "noUncheckedIndexedAccess": false,+ "paths": {+ "@/*": ["./boardui/*"],+ "@peach/legacy/core": ["../legacy/core.d.ts"],+ "@peach/legacy/ui": ["../legacy/ui.d.ts"]+ }+ },+ "include": ["./", "../../test/react"],+ "exclude": []+}diff --git a/frontend/test/access-settings.test.tsx b/frontend/test/access-settings.test.tsxdeleted file mode 100644index 0da654145..000000000--- a/frontend/test/access-settings.test.tsx+++ /dev/null@@ -1,90 +0,0 @@-import { render } from 'preact';-import { afterEach, expect, it, vi } from 'vitest';-import { AccessSettings } from '../src/islands/access-settings';--const settle = async () => { for (let i = 0; i < 6; i++) await Promise.resolve(); };-afterEach(() => { for (const el of [...document.body.children]) render(null, el); document.body.innerHTML = ''; vi.unstubAllGlobals(); });--it('系统口令可直接转为可选密码且关闭需要明确提交', async () => {- const host = document.createElement('div'); document.body.append(host);- const receipt = vi.fn();- const fetcher = vi.fn(async () => ({ ok: true, json: async () => ({ mode: 'open', revision: 'next' }) }));- vi.stubGlobal('fetch', fetcher);- render(<AccessSettings initial={{ mode: 'legacy', revision: 'legacy' }} receipt={receipt} />, host);- expect(host.querySelector('[autocomplete="current-password"]')).toBeNull();- expect(host.querySelector('.geist-fieldset-footer .primary')?.textContent).toBe('保存配置');- const toggle = host.querySelector<HTMLInputElement>('[type="checkbox"]')!;- toggle.checked = true; toggle.dispatchEvent(new Event('change', { bubbles: true })); await settle();- const passwordFields = [...host.querySelectorAll<HTMLInputElement>('[autocomplete="new-password"]')];- expect(passwordFields).toHaveLength(2);- expect(passwordFields.every((input) => input.disabled && !input.required)).toBe(true);- expect(host.querySelector('form')?.getAttribute('data-fieldset-type')).toBe('warning');- expect(host.querySelector('.geist-note-warning')?.textContent).toContain('直接访问馆藏');- expect(fetcher).not.toHaveBeenCalled();- host.querySelector('form')!.dispatchEvent(new Event('submit', { cancelable: true })); await settle();- expect(JSON.parse((fetcher.mock.calls[0] as unknown as [string, RequestInit])[1].body as string)).toMatchObject({ action: 'disable', confirm_disable: true });- expect(receipt).toHaveBeenCalledWith('已关闭访问密码');- expect(host.querySelector('.geist-note-warning')?.textContent).toContain('未设置访问密码');-});--it('关闭选项位于输入上方且保留草稿并要求当前密码验证', async () => {- const host = document.createElement('div'); document.body.append(host);- const fetcher = vi.fn(async () => ({ ok: true, json: async () => ({ mode: 'open', revision: 'next' }) }));- vi.stubGlobal('fetch', fetcher);- render(<AccessSettings initial={{ mode: 'password', revision: 'one' }} receipt={vi.fn()} />, host);- const toggle = host.querySelector<HTMLInputElement>('[type="checkbox"]')!;- const current = host.querySelector<HTMLInputElement>('#access-current')!;- const fields = [...host.querySelectorAll<HTMLInputElement>('[autocomplete="new-password"]')];- expect(toggle.compareDocumentPosition(current) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();- for (const input of fields) {- input.value = 'draft-password'; input.dispatchEvent(new Event('input', { bubbles: true }));- }- await settle();- toggle.checked = true; toggle.dispatchEvent(new Event('change', { bubbles: true })); await settle();- expect(fields.every((input) => input.disabled && input.value === 'draft-password')).toBe(true);- expect(current.disabled).toBe(false);- expect(current.required).toBe(true);- toggle.checked = false; toggle.dispatchEvent(new Event('change', { bubbles: true })); await settle();- expect(fields.every((input) => !input.disabled && input.required && input.value === 'draft-password')).toBe(true);- toggle.checked = true; toggle.dispatchEvent(new Event('change', { bubbles: true })); await settle();- expect(fetcher).not.toHaveBeenCalled();- host.querySelector('form')!.dispatchEvent(new Event('submit', { cancelable: true })); await settle();- expect(current.getAttribute('aria-invalid')).toBe('true');- expect(fetcher).not.toHaveBeenCalled();- current.value = 'current-password'; current.dispatchEvent(new Event('input', { bubbles: true })); await settle();- host.querySelector('form')!.dispatchEvent(new Event('submit', { cancelable: true })); await settle();- expect(JSON.parse((fetcher.mock.calls[0] as unknown as [string, RequestInit])[1].body as string)).toMatchObject({- action: 'disable', confirm_disable: true, current_password: 'current-password', password: '', confirmation: '',- });-});--it('已设置的密码需要当前密码且失败原因留在表单中', async () => {- const host = document.createElement('div'); document.body.append(host);- vi.stubGlobal('fetch', vi.fn(async () => ({ ok: false, status: 400, json: async () => ({ message: '当前访问密码不正确', errors: { current_password: '当前访问密码不正确' } }) })));- render(<AccessSettings initial={{ mode: 'password', revision: 'one' }} receipt={vi.fn()} />, host);- expect(host.querySelector('[autocomplete="current-password"]')).not.toBeNull();- for (const input of host.querySelectorAll<HTMLInputElement>('input[type="password"]')) {- input.value = 'example-password'; input.dispatchEvent(new Event('input', { bubbles: true }));- }- await settle();- host.querySelector('form')!.dispatchEvent(new Event('submit', { cancelable: true })); await settle();- expect(host.querySelector('[role="alert"]')?.textContent).toBe('当前访问密码不正确');- expect(host.querySelector('[autocomplete="current-password"]')?.getAttribute('aria-invalid')).toBe('true');-});--it('长度提示紧贴字段且提交不合法内容时变为字段错误', async () => {- const host = document.createElement('div'); document.body.append(host);- const fetcher = vi.fn(); vi.stubGlobal('fetch', fetcher);- render(<AccessSettings initial={{ mode: 'open', revision: 'one' }} receipt={vi.fn()} />, host);- expect(host.querySelector('.configfieldset-heading #accessTitle')).not.toBeNull();- // 没有密码是当前状态,画成警示 Note;标题下那行灰色小字只留给填表提示。- expect(host.querySelector('.geist-note-warning')?.textContent).toContain('未设置访问密码');- expect(host.querySelector('.configfieldset-heading > .confighelp')).toBeNull();- const field = host.querySelector<HTMLInputElement>('#access-password')!;- expect(field.nextElementSibling?.textContent).toContain('至少 8 个字符');- host.querySelector('form')!.dispatchEvent(new Event('submit', { cancelable: true })); await settle();- expect(field.getAttribute('aria-invalid')).toBe('true');- expect(field.nextElementSibling?.className).toBe('configbad');- expect(field.nextElementSibling?.getAttribute('role')).toBe('alert');- expect(fetcher).not.toHaveBeenCalled();-});diff --git a/frontend/test/react/access-settings.test.tsx b/frontend/test/react/access-settings.test.tsxnew file mode 100644index 000000000..2e87f3c4b--- /dev/null+++ b/frontend/test/react/access-settings.test.tsx@@ -0,0 +1,115 @@+import { act } from 'react';+import { createRoot, type Root } from 'react-dom/client';+import { afterEach, expect, it, vi } from 'vitest';++import type { AccessState } from '../../src/react/bundle';+import { AccessSettings } from '../../src/react/settings/access-settings';++(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;++const roots: Root[] = [];+afterEach(() => {+ for (const root of roots.splice(0)) act(() => root.unmount());+ document.body.innerHTML = '';+ vi.unstubAllGlobals();+});++async function mount(initial: AccessState, receipt = vi.fn()) {+ const host = document.createElement('div');+ host.className = 'peach-react';+ document.body.append(host);+ const root = createRoot(host);+ roots.push(root);+ await act(async () => root.render(<AccessSettings initial={initial} receipt={receipt} />));+ return host;+}++/** React 用自己记下的值判断输入有没有变,只派发事件不经过原生 setter 时它会忽略。 */+async function type(input: HTMLInputElement, value: string) {+ await act(async () => {+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value')!.set!.call(input, value);+ input.dispatchEvent(new Event('input', { bubbles: true }));+ });+}++const click = (el: HTMLElement) => act(async () => el.click());+const submit = (host: HTMLElement) => act(async () => {+ host.querySelector('form')!.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true }));+});+const sentBody = (fetcher: ReturnType<typeof vi.fn>) =>+ JSON.parse((fetcher.mock.calls[0] as unknown as [string, RequestInit])[1].body as string);+const checkbox = (host: HTMLElement) => host.querySelector<HTMLInputElement>('input[type="checkbox"]')!;+const newPasswords = (host: HTMLElement) => [...host.querySelectorAll<HTMLInputElement>('input[autocomplete="new-password"]')];++it('系统口令可直接转为可选密码且关闭需要明确提交', async () => {+ const receipt = vi.fn();+ const fetcher = vi.fn(async () => ({ ok: true, json: async () => ({ mode: 'open', revision: 'next' }) }));+ vi.stubGlobal('fetch', fetcher);+ const host = await mount({ mode: 'legacy', revision: 'legacy' }, receipt);+ expect(host.querySelector('[autocomplete="current-password"]')).toBeNull();+ expect(host.querySelector('button[type="submit"]')?.textContent).toBe('保存配置');+ await click(checkbox(host));+ expect(newPasswords(host)).toHaveLength(2);+ expect(newPasswords(host).every((input) => input.disabled)).toBe(true);+ expect(host.querySelector('[role="note"]')?.textContent).toContain('直接访问馆藏');+ expect(fetcher).not.toHaveBeenCalled();+ await submit(host);+ expect(sentBody(fetcher)).toMatchObject({ action: 'disable', confirm_disable: true });+ expect(receipt).toHaveBeenCalledWith('已关闭访问密码');+ expect(host.querySelector('[role="note"]')?.textContent).toContain('未设置访问密码');+});++it('关闭选项位于输入上方且保留草稿并要求当前密码验证', async () => {+ const fetcher = vi.fn(async () => ({ ok: true, json: async () => ({ mode: 'open', revision: 'next' }) }));+ vi.stubGlobal('fetch', fetcher);+ const host = await mount({ mode: 'password', revision: 'one' });+ const current = host.querySelector<HTMLInputElement>('#access-current')!;+ expect(checkbox(host).compareDocumentPosition(current) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();+ for (const input of newPasswords(host)) await type(input, 'draft-password');+ await click(checkbox(host));+ expect(newPasswords(host).every((input) => input.disabled && input.value === 'draft-password')).toBe(true);+ expect(current.disabled).toBe(false);+ expect(current.getAttribute('aria-required')).toBe('true');+ await click(checkbox(host));+ expect(newPasswords(host).every((input) => !input.disabled && input.value === 'draft-password')).toBe(true);+ await click(checkbox(host));+ await submit(host);+ expect(current.getAttribute('aria-invalid')).toBe('true');+ expect(fetcher).not.toHaveBeenCalled();+ await type(current, 'current-password');+ await submit(host);+ expect(sentBody(fetcher)).toMatchObject({+ action: 'disable', confirm_disable: true, current_password: 'current-password', password: '', confirmation: '',+ });+});++it('服务端按字段给的原因写回对应字段', async () => {+ vi.stubGlobal('fetch', vi.fn(async () => ({+ ok: false, status: 400,+ json: async () => ({ message: '当前访问密码不正确', errors: { current_password: '当前访问密码不正确' } }),+ })));+ const host = await mount({ mode: 'password', revision: 'one' });+ for (const input of host.querySelectorAll<HTMLInputElement>('input[type="password"]')) await type(input, 'example-password');+ await submit(host);+ const current = host.querySelector<HTMLInputElement>('#access-current')!;+ expect(current.getAttribute('aria-invalid')).toBe('true');+ const described = (current.getAttribute('aria-describedby') || '').split(' ').filter(Boolean);+ expect(described.map((id) => document.getElementById(id)?.textContent)).toContain('当前访问密码不正确');+});++it('没有密码时画成警示,提交不合法内容变为字段错误且不发请求', async () => {+ const fetcher = vi.fn();+ vi.stubGlobal('fetch', fetcher);+ const host = await mount({ mode: 'open', revision: 'one' });+ expect(host.querySelector('[role="note"]')?.textContent).toContain('未设置访问密码');+ expect(host.textContent).toContain('至少 8 个字符');+ const [password, confirm] = newPasswords(host) as [HTMLInputElement, HTMLInputElement];+ await type(password, 'short');+ await type(confirm, 'other');+ await submit(host);+ expect(password.getAttribute('aria-invalid')).toBe('true');+ expect(confirm.getAttribute('aria-invalid')).toBe('true');+ expect(host.textContent).toContain('访问密码需为 8–256 个字符');+ expect(host.textContent).toContain('两次输入的密码不一致');+ expect(fetcher).not.toHaveBeenCalled();+});diff --git a/frontend/test/react/tsconfig.json b/frontend/test/react/tsconfig.jsonnew file mode 100644index 000000000..a205e5cd8--- /dev/null+++ b/frontend/test/react/tsconfig.json@@ -0,0 +1,12 @@+{+ // 让 test/react 下的用例按 React JSX 转换;类型检查入口是 src/react/tsconfig.json。+ "extends": "../../src/react/tsconfig.json",+ "compilerOptions": {+ "paths": {+ "@/*": ["../../src/react/boardui/*"],+ "@peach/legacy/core": ["../../src/legacy/core.d.ts"],+ "@peach/legacy/ui": ["../../src/legacy/ui.d.ts"]+ }+ },+ "include": ["./", "../../src/react"]+}diff --git a/frontend/tsconfig.json b/frontend/tsconfig.jsonindex 6819aefc8..07aa5212e 100644--- a/frontend/tsconfig.json+++ b/frontend/tsconfig.json@@ -23,8 +23,11 @@"paths": {"@peach/legacy/core": ["./src/legacy/core.d.ts"],- "@peach/legacy/ui": ["./src/legacy/ui.d.ts"]+ "@peach/legacy/ui": ["./src/legacy/ui.d.ts"],+ "@peach/react": ["./src/react/bundle.d.ts"]}},- "include": ["src", "test", "vite.config.ts", "vitest.config.ts"]+ "include": ["src", "test", "vite.config.ts", "vite.react.config.ts", "vitest.config.ts"],+ // React 子树按 React JSX 检查,入口是 src/react/tsconfig.json(`npm run typecheck` 两份都跑)。+ "exclude": ["src/react", "test/react"]}diff --git a/frontend/vite.config.ts b/frontend/vite.config.tsindex 49bb7aba7..726bc5370 100644--- a/frontend/vite.config.ts+++ b/frontend/vite.config.ts@@ -16,6 +16,11 @@ export const LEGACY_MODULES = {'@peach/legacy/ui': '/js/ui-components.js',} as const;+/** React 子树的产物(`vite.react.config.ts`)。island 只在挂 React 子树时动态 import 它。 */+export const REACT_BUNDLE = {+ '@peach/react': '/dist/peach-react.js',+} as const;+export default defineConfig({build: {outDir: '../web/dist',@@ -32,9 +37,9 @@ export default defineConfig({fileName: () => 'peach-ui.js',},rollupOptions: {- external: Object.keys(LEGACY_MODULES),+ external: [...Object.keys(LEGACY_MODULES), ...Object.keys(REACT_BUNDLE)],output: {- paths: LEGACY_MODULES,+ paths: { ...LEGACY_MODULES, ...REACT_BUNDLE },// island 之间不做代码分割:入口是浏览器直接 import 的单一模块。codeSplitting: false,assetFileNames: 'peach-ui.[ext]',diff --git a/frontend/vite.react.config.ts b/frontend/vite.react.config.tsnew file mode 100644index 000000000..e46aceaa1--- /dev/null+++ b/frontend/vite.react.config.ts@@ -0,0 +1,43 @@+/* React 子树的构建配置:`web/dist/peach-react.js` 与 `web/dist/peach-react.css`。+ *+ * 和 `vite.config.ts` 分开构建,Preact 那份产物里就没有 React:island 按+ * `@peach/react` 引用这份产物,构建时改写成 `/dist/peach-react.js`,只有挂到 React 子树时+ * 浏览器才去取它。`npm run build` 先跑 Preact 那份(它会清空 web/dist),再跑这份。+ *+ * `@/` 指向 `src/react/boardui/`,上游 BoardUI 源码里的 `@/utils/cx` 因此原样成立。 */+import { fileURLToPath } from 'node:url';++import tailwindcss from '@tailwindcss/vite';+import { defineConfig } from 'vite';++import { LEGACY_MODULES } from './vite.config.ts';++export default defineConfig({+ plugins: [tailwindcss()],+ resolve: {+ alias: { '@': fileURLToPath(new URL('./src/react/boardui', import.meta.url)) },+ },+ // 库模式不替换 `process.env.NODE_ENV`,React 会在浏览器里读到一个不存在的 `process`。+ define: { 'process.env.NODE_ENV': JSON.stringify('production') },+ build: {+ outDir: '../web/dist',+ emptyOutDir: false,+ target: 'es2022',+ minify: 'oxc',+ sourcemap: false,+ cssCodeSplit: false,+ lib: {+ entry: 'src/react/entry.tsx',+ formats: ['es'],+ fileName: () => 'peach-react.js',+ },+ rollupOptions: {+ external: Object.keys(LEGACY_MODULES),+ output: {+ paths: LEGACY_MODULES,+ codeSplitting: false,+ assetFileNames: 'peach-react.[ext]',+ },+ },+ },+});diff --git a/frontend/vitest.config.ts b/frontend/vitest.config.tsindex 3924bc703..c674225eb 100644--- a/frontend/vitest.config.ts+++ b/frontend/vitest.config.ts@@ -7,12 +7,16 @@ import { defineConfig, mergeConfig } from 'vitest/config';import base from './vite.config.ts';const stub = (name: string) => fileURLToPath(new URL(`./test/stubs/${name}`, import.meta.url));+const source = (path: string) => fileURLToPath(new URL(`./src/${path}`, import.meta.url));export default mergeConfig(base, defineConfig({resolve: {alias: {'@peach/legacy/core': stub('legacy-core.ts'),'@peach/legacy/ui': stub('legacy-ui.ts'),+ // 测试里 island 直接拿到 React 子树的源码入口,不经过 web/dist 产物。+ '@peach/react': source('react/entry.tsx'),+ '@': source('react/boardui'),},},test: {diff --git a/tests/test_desktop_settings.py b/tests/test_desktop_settings.pyindex af8be420a..1b6437a9e 100644--- a/tests/test_desktop_settings.py+++ b/tests/test_desktop_settings.py@@ -18,7 +18,7 @@ class DesktopSettingsTests(unittest.TestCase):def test_configuration_order_and_danger_area_share_the_ui_contract(self):root = Path(__file__).resolve().parents[1]configuration = (root / 'frontend/src/islands/configuration.tsx').read_text(encoding='utf-8')- names = ['<StartupSettings', '<ConfigurationForm', '<MountStatus', '<PeachProxy', '<AccessSettings', '<ReleaseUpdates', '<Facts', '<UninstallSettings']+ names = ['<StartupSettings', '<ConfigurationForm', '<MountStatus', '<PeachProxy', '<ReactSlot mount="mountAccessSettings"', '<ReleaseUpdates', '<Facts', '<UninstallSettings']# 定位配置主页面,排除同文件中组件定义的内部 JSX。page = configuration[configuration.index('export function Configuration('):]self.assertEqual(sorted(names, key=page.index), names)diff --git a/tests/test_frontend_build.py b/tests/test_frontend_build.pyindex 15c211209..c9f505131 100644--- a/tests/test_frontend_build.py+++ b/tests/test_frontend_build.py@@ -84,6 +84,77 @@ class IslandBundleTests(unittest.TestCase):self.assertIn("await import('/dist/peach-ui.js')", app_js)+REACT_BUNDLE = DIST / "peach-react.js"+REACT_STYLES = DIST / "peach-react.css"+++class ReactBundleTests(unittest.TestCase):+ """React 子树(BoardUI 源码 + Tailwind)与旧样式表同处一页的门槛。++ 这几条都是「tsc 和 vitest 看不见、页面上才出事」的约束:产物引用路径、样式表顺序、+ 工具类有没有被层叠层压住、Preflight 有没有漏到整页。+ """++ @classmethod+ def setUpClass(cls):+ for path in (BUNDLE, REACT_BUNDLE, REACT_STYLES):+ if not path.is_file():+ raise unittest.SkipTest(+ f"{path.relative_to(ROOT)} 不在:先 `npm --prefix frontend run build`")+ cls.islands = BUNDLE.read_text(encoding="utf-8")+ cls.react = REACT_BUNDLE.read_text(encoding="utf-8")+ cls.css = REACT_STYLES.read_text(encoding="utf-8")++ def test_islands_load_the_react_bundle_by_its_served_path(self):+ """island 按 `@peach/react` 写,产物里必须改写成服务端真的提供的路径,且 React 不进 peach-ui.js。"""+ self.assertIn('import("/dist/peach-react.js")', self.islands)+ self.assertNotIn("react-dom", self.islands)+ self.assertIn("mountAccessSettings", self.react)++ def test_the_react_bundle_keeps_the_legacy_modules_external(self):+ self.assertIn('from "/js/core.js"', self.react)+ self.assertNotIn("process.env", self.react, "库模式没替换 NODE_ENV,浏览器里没有 process")++ def test_utilities_stay_outside_cascade_layers(self):+ """旧样式表不分层。工具类放进层里,`button,input,textarea{color:inherit}` 这类标签规则就会压过它。"""+ layers = set(re.findall(r"@layer\s+([\w-]+)", self.css))+ self.assertNotIn("utilities", layers)+ self.assertNotIn("base", layers)++ def test_preflight_only_reaches_the_react_subtree(self):+ self.assertEqual(self.css.count("@scope"), 1)+ self.assertRegex(self.css, r"@scope\s*\(\.peach-react\)")+ scoped = (FRONTEND / "src" / "react" / "preflight-scoped.css").read_text(encoding="utf-8")+ upstream = FRONTEND / "node_modules" / "tailwindcss" / "preflight.css"+ if not upstream.is_file():+ self.skipTest("跳过 Preflight 原文比对:frontend/node_modules 还没装")+ opening = "@scope (.peach-react) {\n"+ self.assertIn(opening, scoped)+ self.assertTrue(scoped.endswith("}\n"))+ self.assertEqual(scoped[scoped.index(opening) + len(opening):-2],+ upstream.read_text(encoding="utf-8"),+ "preflight-scoped.css 与 tailwindcss 依赖里的原文不一致,按文件开头的说明重新生成")++ def test_the_legacy_focus_ring_stays_out_of_the_react_subtree(self):+ """旧样式表排在后面,全局 `:focus-visible` 与 `outline-none` 同特指度时它赢,输入框会多画一圈。"""+ base = (ROOT / "web" / "css" / "01-base.css").read_text(encoding="utf-8")+ self.assertIn(":where(:not(.peach-react *)):focus-visible{outline:2px solid var(--tungsten);", base)+ self.assertNotRegex(base, r"(?m)^:focus-visible\{")++ def test_react_styles_load_before_the_legacy_stylesheets(self):+ """同名 `--color-*` token 由后面的 board.css 定值,未迁移页面的颜色才不受影响。"""+ index = (ROOT / "web" / "index.html").read_text(encoding="utf-8")+ order = [index.index(f'href="{href}"') for href in ("/dist/peach-react.css", "/app.css", "/board.css")]+ self.assertEqual(order, sorted(order))++ def test_the_dark_class_follows_the_theme_in_both_places(self):+ """BoardUI 的深色 token 挂在 `.dark` 上;首帧脚本和 applyTheme() 都要按实际深浅加减它。"""+ index = (ROOT / "web" / "index.html").read_text(encoding="utf-8")+ app_js = (ROOT / "web" / "app.js").read_text(encoding="utf-8")+ self.assertIn("classList.toggle('dark',", index)+ self.assertIn("root.classList.toggle('dark',dark)", app_js)++class FrontendManifestTests(unittest.TestCase):"""依赖清单和根 `package.json` 是两份,各自的口径都要精确。"""diff --git a/tests/test_web_ui.py b/tests/test_web_ui.pyindex f02d23bd0..1ec8fac46 100644--- a/tests/test_web_ui.py+++ b/tests/test_web_ui.py@@ -1401,10 +1401,12 @@ class WebUiSourceTests(unittest.TestCase):灰色小字和旁边「至少 8 个字符」那种填表提示长得一模一样,扫一眼就滑过去。"""access = (Path(__file__).resolve().parents[1]- / "frontend/src/islands/access-settings.tsx").read_text(encoding="utf-8")- note = access[access.index("state.mode === 'open' ?"):][:400]- self.assertIn("variant:'warning'", note)- self.assertIn("未设置访问密码", note)+ / "frontend/src/react/settings/access-settings.tsx").read_text(encoding="utf-8")+ note = access[access.index("state.mode === 'open'\n"):][:200]+ self.assertIn('<Warning label="未设置访问密码">', note)+ warning = access[access.index("function Warning("):access.index("export function AccessSettings(")]+ self.assertIn('role="note"', warning)+ self.assertIn("bg-status-yellow-background", warning)def test_a_spinner_announces_the_work_and_not_the_button_it_sits_in(self):"""`spinnerHtml()` 的名字说正在做什么,不复读按钮自己的名字。diff --git a/web/app.js b/web/app.jsindex 6b3710cf7..68a88cdee 100644--- a/web/app.js+++ b/web/app.js@@ -522,14 +522,17 @@ document.documentElement.style.setProperty('--hover-delay',`${appSettings.hoverDconst saveSettings=()=>localStorage.setItem(SETTINGS_KEY,JSON.stringify(appSettings));if(sortDefaultsMigrated)saveSettings();/* 主题只写属性,不写颜色:两套色板都在 web/css/01-base.css,选跟随系统就把属性摘掉,- 交还给 `prefers-color-scheme`。地址栏色块跟着同一次调用走——两枚 meta 各代表一档,+ 交还给 `prefers-color-scheme`。React 子树里的 BoardUI 源码把深色 token 挂在 `.dark` 上,+ 所以同一次调用按实际深浅给 <html> 加减 `dark` 类,跟随系统时也算上系统那一档。+ 地址栏色块跟着同一次调用走——两枚 meta 各代表一档,选中的那枚开到 `all`、另一枚关成 `not all`,否则手机上的地址栏还留在系统那一档。- `index.html` 的首屏内联脚本做的是同两件事,它只负责第一帧,之后都从这里出。 */+ `index.html` 的首屏内联脚本做的是同三件事,它只负责第一帧,之后都从这里出。 */const prefersDark=matchMedia('(prefers-color-scheme: dark)');function applyTheme(choice=appSettings.theme){const root=document.documentElement;if(choice==='system')delete root.dataset.theme;else root.dataset.theme=choice;const dark=choice==='dark'||(choice==='system'&&prefersDark.matches);+ root.classList.toggle('dark',dark);document.querySelectorAll('[data-board-theme]').forEach(button=>button.setAttribute('aria-pressed',String((button.dataset.boardTheme==='dark')===dark)));document.querySelector('.board-theme-toggle')?.classList.toggle('is-dark',dark);document.querySelectorAll('meta[data-theme-color]').forEach(meta=>{diff --git a/web/css/01-base.css b/web/css/01-base.cssindex 5ced97f9f..4dc8b82f5 100644--- a/web/css/01-base.css+++ b/web/css/01-base.css@@ -153,7 +153,8 @@ body::before{content:"";position:absolute;z-index:0;pointer-events:none;top:var(font-variant-numeric:tabular-nums;font-size:var(--fs-xs)}button,input,textarea{font:inherit;color:inherit}button,a,input,textarea,select,summary{touch-action:manipulation}-:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}+/* React 子树的焦点环由 BoardUI 组件自己画(输入框画在外框上);`:where` 让特指度保持 0,1,0。 */+:where(:not(.peach-react *)):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}/* Geist Spinner = 用户触发动作的即时反馈;Loading Dots = 后台任务仍在推进。 */@keyframes geist-spinner-opacity{0%{opacity:1}100%{opacity:.15}}diff --git a/web/dist/peach-react.css b/web/dist/peach-react.cssnew file mode 100644index 000000000..04af68129--- /dev/null+++ b/web/dist/peach-react.css@@ -0,0 +1,3 @@+/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial}::backdrop{--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:#ffe2e2;--color-red-200:#ffcaca;--color-red-300:#ffa3a3;--color-red-400:#ff6568;--color-red-500:#fb2c36;--color-red-600:#e40014;--color-red-700:#bf000f;--color-red-900:#82181a;--color-red-950:#460809;--color-yellow-200:#fff085;--color-yellow-400:#fac800;--color-yellow-500:#edb200;--color-yellow-800:#874b00;--color-yellow-950:#432004;--color-lime-100:#ecfcca;--color-lime-200:#d8f999;--color-lime-300:#bbf451;--color-lime-400:#9de500;--color-lime-500:#80cd00;--color-lime-600:#62a400;--color-lime-700:#4b7d00;--color-lime-800:#3d6300;--color-lime-950:#192e03;--color-green-100:#dcfce7;--color-green-800:#016630;--color-emerald-100:#d0fae5;--color-emerald-300:#5ee9b5;--color-emerald-400:#00d294;--color-emerald-500:#00bb7f;--color-emerald-700:#007956;--color-emerald-800:#005f46;--color-emerald-950:#002c22;--color-teal-400:#00d3bd;--color-teal-500:#00baa7;--color-cyan-200:#a2f4fd;--color-cyan-400:#00d2ef;--color-cyan-800:#005f78;--color-cyan-950:#053345;--color-sky-400:#00bcfe;--color-sky-500:#00a5ef;--color-blue-50:#eff6ff;--color-blue-100:#dbeafe;--color-blue-200:#bedbff;--color-blue-300:#90c5ff;--color-blue-400:#3392ff;--color-blue-500:#3080ff;--color-blue-600:#155dfc;--color-blue-700:#1447e6;--color-blue-800:#193cb8;--color-blue-900:#1c398e;--color-blue-950:#162456;--color-indigo-100:#e0e7ff;--color-indigo-400:#7d87ff;--color-indigo-500:#625fff;--color-indigo-800:#372aac;--color-purple-50:#faf5ff;--color-purple-100:#f3e8ff;--color-purple-300:#d9b3ff;--color-purple-400:#c07eff;--color-purple-500:#ac4bff;--color-purple-600:#9810fa;--color-purple-700:#8200da;--color-purple-800:#6e11b0;--color-purple-900:#59168b;--color-purple-950:#3c0366;--color-pink-100:#fce7f3;--color-pink-300:#fda5d5;--color-pink-400:#fb64b6;--color-pink-500:#f6339a;--color-pink-700:#c4005c;--color-pink-950:#510424;--color-rose-100:#ffe4e6;--color-rose-200:#ffccd3;--color-rose-300:#ffa2ae;--color-rose-500:#ff2357;--color-rose-600:#e70044;--color-rose-800:#a30037;--color-rose-950:#4d0218;--color-zinc-800:#27272a;--color-neutral-50:#fafafa;--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:#d4d4d4;--color-neutral-400:#a1a1a1;--color-neutral-500:#737373;--color-neutral-600:#525252;--color-neutral-700:#404040;--color-neutral-800:#262626;--color-neutral-900:#171717;--color-neutral-950:#0a0a0a;--color-black:#000;--color-white:#fff;--spacing:.25rem;--radius-sm:.25rem;--radius-lg:.5rem;--radius-2xl:1rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600}@supports (color:lab(0% 0 0)){:root,:host{--color-red-100:lab(92.243% 10.2865 3.83865);--color-red-200:lab(86.017% 19.8815 7.75869);--color-red-300:lab(76.5514% 36.4219 15.5335);--color-red-400:lab(63.7053% 60.7449 31.3109);--color-red-500:lab(55.4814% 75.0732 48.8528);--color-red-600:lab(48.4493% 77.4328 61.5452);--color-red-700:lab(40.4273% 67.2623 53.7441);--color-red-900:lab(28.5139% 44.5539 29.0463);--color-red-950:lab(13.003% 29.04 16.7519);--color-yellow-200:lab(94.3433% -5.00426 52.9663);--color-yellow-400:lab(83.2664% 8.65132 106.895);--color-yellow-500:lab(76.3898% 14.5258 98.4589);--color-yellow-800:lab(38.7484% 23.5833 51.4916);--color-yellow-950:lab(16.8146% 15.7422 23.1133);--color-lime-100:lab(96.8662% -11.7133 22.0854);--color-lime-200:lab(94.0718% -22.5338 42.5238);--color-lime-300:lab(89.9218% -35.6546 68.5254);--color-lime-400:lab(83.7876% -45.0447 88.4738);--color-lime-500:lab(75.3197% -46.6547 86.1778);--color-lime-600:lab(61.1055% -41.0235 73.1483);--color-lime-700:lab(47.246% -32.2589 55.8249);--color-lime-800:lab(37.7655% -25.1694 43.0683);--color-lime-950:lab(16.5113% -15.1841 22.0145);--color-green-100:lab(96.186% -13.8464 6.52362);--color-green-800:lab(37.4616% -36.7971 22.9692);--color-emerald-100:lab(94.9004% -17.0769 5.63836);--color-emerald-300:lab(83.9203% -48.7124 13.8849);--color-emerald-400:lab(75.0771% -60.7313 19.4146);--color-emerald-500:lab(66.9756% -58.27 19.5419);--color-emerald-700:lab(44.4871% -41.0396 11.0361);--color-emerald-800:lab(35.3675% -33.1188 8.04002);--color-emerald-950:lab(15.0582% -17.9507 2.38369);--color-teal-400:lab(76.0109% -53.3483 -2.27907);--color-teal-500:lab(67.3859% -49.0983 -2.63511);--color-cyan-200:lab(91.0821% -24.0435 -12.8306);--color-cyan-400:lab(76.6045% -40.9406 -29.6231);--color-cyan-800:lab(36.5114% -17.1989 -21.6292);--color-cyan-950:lab(19.1528% -9.68759 -15.5267);--color-sky-400:lab(70.687% -23.6078 -45.9483);--color-sky-500:lab(63.3038% -18.433 -51.0407);--color-blue-50:lab(96.492% -1.14647 -5.11479);--color-blue-100:lab(92.0301% -2.24757 -11.6453);--color-blue-200:lab(86.15% -4.04379 -21.0797);--color-blue-300:lab(77.5052% -6.4629 -36.42);--color-blue-500:lab(54.1736% 13.3368 -74.6839);--color-blue-600:lab(44.0605% 29.0279 -86.0352);--color-blue-700:lab(36.9089% 35.0961 -85.6872);--color-blue-800:lab(30.2514% 27.7854 -70.2699);--color-blue-900:lab(26.1542% 15.7545 -51.5504);--color-blue-950:lab(15.6723% 8.86233 -32.2945);--color-indigo-100:lab(91.6577% 1.04591 -12.7199);--color-indigo-400:lab(59.866% 22.4833 -64.4485);--color-indigo-500:lab(48.295% 38.3129 -81.9673);--color-indigo-800:lab(26.6645% 37.9804 -68.6402);--color-purple-50:lab(97.1626% 2.99937 -4.13398);--color-purple-100:lab(93.3333% 6.9744 -9.83434);--color-purple-300:lab(78.3298% 26.2195 -34.9499);--color-purple-400:lab(63.6946% 47.6127 -59.2066);--color-purple-500:lab(52.0183% 66.11 -78.2316);--color-purple-600:lab(43.0295% 75.21 -86.5669);--color-purple-700:lab(36.1758% 69.8525 -80.0381);--color-purple-800:lab(30.6017% 56.7637 -64.4751);--color-purple-900:lab(24.9401% 45.2703 -51.2728);--color-purple-950:lab(14.8253% 38.9005 -44.5861);--color-pink-100:lab(93.5864% 9.01193 -3.15077);--color-pink-300:lab(77.8308% 38.525 -10.5394);--color-pink-400:lab(64.5597% 64.3615 -12.7988);--color-pink-500:lab(56.9303% 76.8162 -8.07021);--color-pink-700:lab(42.1737% 71.8009 7.42233);--color-pink-950:lab(15.6116% 35.2166 3.53979);--color-rose-100:lab(92.8221% 9.86832 2.60077);--color-rose-200:lab(86.806% 19.1909 4.07754);--color-rose-300:lab(76.6339% 38.3549 9.68834);--color-rose-500:lab(56.101% 79.4329 31.4532);--color-rose-600:lab(49.1882% 81.577 36.0311);--color-rose-800:lab(34.6481% 60.802 20.1957);--color-rose-950:lab(14.2323% 34.0086 9.80922);--color-zinc-800:lab(15.7305% .613749 -2.16959);--color-neutral-50:lab(98.26% 0 0);--color-neutral-300:lab(84.92% 0 0);--color-neutral-400:lab(66.128% -.0000298023 .0000119209);--color-neutral-500:lab(48.496% 0 0);--color-neutral-600:lab(34.924% 0 0);--color-neutral-700:lab(27.036% 0 0);--color-neutral-800:lab(15.204% 0 0);--color-neutral-900:lab(7.78201% -.0000149012 0);--color-neutral-950:lab(2.75381% 0 0)}}}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.relative{position:relative}.static{position:static}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:0}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-\[18px\]{width:18px;height:18px}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-max{height:max-content}.min-h-\[52px\]{min-height:52px}.w-\[202px\]{width:202px}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-4{gap:calc(var(--spacing) * 4)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-border-button-default{border-color:var(--color-border-button-default)}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-separator-border{border-color:var(--color-separator-border)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-transparent{background-color:#0000}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.p-0{padding:0}.p-2{padding:calc(var(--spacing) * 2)}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.whitespace-nowrap{white-space:nowrap}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-white{color:var(--color-text-white)}.opacity-50{opacity:.5}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover{background-color:var(--color-background-primary-hover)}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}@scope(.peach-react){*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}:root{--font-inter:"Inter Variable", "Inter"}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;line-height:1.5}@keyframes check-draw{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}.animate-check-draw{stroke-dasharray:1;stroke-dashoffset:1px;animation:.2s cubic-bezier(.65,0,.35,1) forwards check-draw}@media (prefers-reduced-motion:reduce){.animate-check-draw{stroke-dashoffset:0;animation:none}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}+/*$vite$:1*/\ No newline at end of filediff --git a/web/dist/peach-react.js b/web/dist/peach-react.jsnew file mode 100644index 000000000..89eda0a87--- /dev/null+++ b/web/dist/peach-react.js@@ -0,0 +1,13544 @@+import { requestErrorMessage as e } from "/js/core.js";+//#region \0rolldown/runtime.js+var t = Object.create, n = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = Object.getOwnPropertyNames, a = Object.getPrototypeOf, o = Object.prototype.hasOwnProperty, s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, t, a, s) => {+ if (t && typeof t == "object" || typeof t == "function") for (var c = i(t), l = 0, u = c.length, d; l < u; l++) d = c[l], !o.call(e, d) && d !== a && n(e, d, {+ get: ((e) => t[e]).bind(null, d),+ enumerable: !(s = r(t, d)) || s.enumerable+ });+ return e;+}, l = (e, r, i) => (i = e == null ? {} : t(a(e)), c(r || !e || !e.__esModule || !o.call(e, "default") ? n(i, "default", {+ value: e,+ enumerable: !0+}) : i, e)), u = /* @__PURE__ */ s(((e) => {+ function t(e, t) {+ var n = e.length;+ e.push(t);+ a: for (; 0 < n;) {+ var r = n - 1 >>> 1, a = e[r];+ if (0 < i(a, t)) e[r] = t, e[n] = a, n = r;+ else break a;+ }+ }+ function n(e) {+ return e.length === 0 ? null : e[0];+ }+ function r(e) {+ if (e.length === 0) return null;+ var t = e[0], n = e.pop();+ if (n !== t) {+ e[0] = n;+ a: for (var r = 0, a = e.length, o = a >>> 1; r < o;) {+ var s = 2 * (r + 1) - 1, c = e[s], l = s + 1, u = e[l];+ if (0 > i(c, n)) l < a && 0 > i(u, c) ? (e[r] = u, e[l] = n, r = l) : (e[r] = c, e[s] = n, r = s);+ else if (l < a && 0 > i(u, n)) e[r] = u, e[l] = n, r = l;+ else break a;+ }+ }+ return t;+ }+ function i(e, t) {+ var n = e.sortIndex - t.sortIndex;+ return n === 0 ? e.id - t.id : n;+ }+ if (e.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {+ var a = performance;+ e.unstable_now = function() {+ return a.now();+ };+ } else {+ var o = Date, s = o.now();+ e.unstable_now = function() {+ return o.now() - s;+ };+ }+ var c = [], l = [], u = 1, d = null, f = 3, p = !1, m = !1, h = !1, g = !1, _ = typeof setTimeout == "function" ? setTimeout : null, v = typeof clearTimeout == "function" ? clearTimeout : null, y = typeof setImmediate < "u" ? setImmediate : null;+ function b(e) {+ for (var i = n(l); i !== null;) {+ if (i.callback === null) r(l);+ else if (i.startTime <= e) r(l), i.sortIndex = i.expirationTime, t(c, i);+ else break;+ i = n(l);+ }+ }+ function x(e) {+ if (h = !1, b(e), !m) {+ if (n(c) !== null) m = !0, S || (S = !0, ne());+ else {+ var t = n(l);+ t !== null && ae(x, t.startTime - e);+ }+ }+ }+ var S = !1, ee = -1, C = 5, w = -1;+ function te() {+ return g ? !0 : !(e.unstable_now() - w < C);+ }+ function T() {+ if (g = !1, S) {+ var t = e.unstable_now();+ w = t;+ var i = !0;+ try {+ a: {+ m = !1, h && (h = !1, v(ee), ee = -1), p = !0;+ var a = f;+ try {+ b: {+ for (b(t), d = n(c); d !== null && !(d.expirationTime > t && te());) {+ var o = d.callback;+ if (typeof o == "function") {+ d.callback = null, f = d.priorityLevel;+ var s = o(d.expirationTime <= t);+ if (t = e.unstable_now(), typeof s == "function") {+ d.callback = s, b(t), i = !0;+ break b;+ }+ d === n(c) && r(c), b(t);+ } else r(c);+ d = n(c);+ }+ if (d !== null) i = !0;+ else {+ var u = n(l);+ u !== null && ae(x, u.startTime - t), i = !1;+ }+ }+ break a;+ } finally {+ d = null, f = a, p = !1;+ }+ i = void 0;+ }+ } finally {+ i ? ne() : S = !1;+ }+ }+ }+ var ne;+ if (typeof y == "function") ne = function() {+ y(T);+ };+ else if (typeof MessageChannel < "u") {+ var re = new MessageChannel(), ie = re.port2;+ re.port1.onmessage = T, ne = function() {+ ie.postMessage(null);+ };+ } else ne = function() {+ _(T, 0);+ };+ function ae(t, n) {+ ee = _(function() {+ t(e.unstable_now());+ }, n);+ }+ e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(e) {+ e.callback = null;+ }, e.unstable_forceFrameRate = function(e) {+ 0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : C = 0 < e ? Math.floor(1e3 / e) : 5;+ }, e.unstable_getCurrentPriorityLevel = function() {+ return f;+ }, e.unstable_next = function(e) {+ switch (f) {+ case 1:+ case 2:+ case 3:+ var t = 3;+ break;+ default: t = f;+ }+ var n = f;+ f = t;+ try {+ return e();+ } finally {+ f = n;+ }+ }, e.unstable_requestPaint = function() {+ g = !0;+ }, e.unstable_runWithPriority = function(e, t) {+ switch (e) {+ case 1:+ case 2:+ case 3:+ case 4:+ case 5: break;+ default: e = 3;+ }+ var n = f;+ f = e;+ try {+ return t();+ } finally {+ f = n;+ }+ }, e.unstable_scheduleCallback = function(r, i, a) {+ var o = e.unstable_now();+ switch (typeof a == "object" && a ? (a = a.delay, a = typeof a == "number" && 0 < a ? o + a : o) : a = o, r) {+ case 1:+ var s = -1;+ break;+ case 2:+ s = 250;+ break;+ case 5:+ s = 1073741823;+ break;+ case 4:+ s = 1e4;+ break;+ default: s = 5e3;+ }+ return s = a + s, r = {+ id: u++,+ callback: i,+ priorityLevel: r,+ startTime: a,+ expirationTime: s,+ sortIndex: -1+ }, a > o ? (r.sortIndex = a, t(l, r), n(c) === null && r === n(l) && (h ? (v(ee), ee = -1) : h = !0, ae(x, a - o))) : (r.sortIndex = s, t(c, r), m || p || (m = !0, S || (S = !0, ne()))), r;+ }, e.unstable_shouldYield = te, e.unstable_wrapCallback = function(e) {+ var t = f;+ return function() {+ var n = f;+ f = t;+ try {+ return e.apply(this, arguments);+ } finally {+ f = n;+ }+ };+ };+})), d = /* @__PURE__ */ s(((e, t) => {+ t.exports = u();+})), f = /* @__PURE__ */ s(((e) => {+ var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.for("react.view_transition"), m = Symbol.iterator;+ function h(e) {+ return typeof e != "object" || !e ? null : (e = m && e[m] || e["@@iterator"], typeof e == "function" ? e : null);+ }+ var g = {+ isMounted: function() {+ return !1;+ },+ enqueueForceUpdate: function() {},+ enqueueReplaceState: function() {},+ enqueueSetState: function() {}+ }, _ = Object.assign, v = {};+ function y(e, t, n) {+ this.props = e, this.context = t, this.refs = v, this.updater = n || g;+ }+ y.prototype.isReactComponent = {}, y.prototype.setState = function(e, t) {+ if (typeof e != "object" && typeof e != "function" && e != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");+ this.updater.enqueueSetState(this, e, t, "setState");+ }, y.prototype.forceUpdate = function(e) {+ this.updater.enqueueForceUpdate(this, e, "forceUpdate");+ };+ function b() {}+ b.prototype = y.prototype;+ function x(e, t, n) {+ this.props = e, this.context = t, this.refs = v, this.updater = n || g;+ }+ var S = x.prototype = new b();+ S.constructor = x, _(S, y.prototype), S.isPureReactComponent = !0;+ var ee = Array.isArray;+ function C() {}+ var w = {+ H: null,+ A: null,+ T: null,+ S: null+ }, te = Object.prototype.hasOwnProperty;+ function T(e, n, r) {+ var i = r.ref;+ return {+ $$typeof: t,+ type: e,+ key: n,+ ref: i === void 0 ? null : i,+ props: r+ };+ }+ function ne(e, t) {+ return T(e.type, t, e.props);+ }+ function re(e) {+ return typeof e == "object" && !!e && e.$$typeof === t;+ }+ function ie(e) {+ var t = {+ "=": "=0",+ ":": "=2"+ };+ return "$" + e.replace(/[=:]/g, function(e) {+ return t[e];+ });+ }+ var ae = /\/+/g;+ function oe(e, t) {+ return typeof e == "object" && e && e.key != null ? ie("" + e.key) : t.toString(36);+ }+ function se(e) {+ switch (e.status) {+ case "fulfilled": return e.value;+ case "rejected": throw e.reason;+ default: switch (typeof e.status == "string" ? e.then(C, C) : (e.status = "pending", e.then(function(t) {+ e.status === "pending" && (e.status = "fulfilled", e.value = t);+ }, function(t) {+ e.status === "pending" && (e.status = "rejected", e.reason = t);+ })), e.status) {+ case "fulfilled": return e.value;+ case "rejected": throw e.reason;+ }+ }+ throw e;+ }+ function ce(e, r, i, a, o) {+ var s = typeof e;+ (s === "undefined" || s === "boolean") && (e = null);+ var c = !1;+ if (e === null) c = !0;+ else switch (s) {+ case "bigint":+ case "string":+ case "number":+ c = !0;+ break;+ case "object": switch (e.$$typeof) {+ case t:+ case n:+ c = !0;+ break;+ case d: return c = e._init, ce(c(e._payload), r, i, a, o);+ }+ }+ if (c) return o = o(e), c = a === "" ? "." + oe(e, 0) : a, ee(o) ? (i = "", c != null && (i = c.replace(ae, "$&/") + "/"), ce(o, r, i, "", function(e) {+ return e;+ })) : o != null && (re(o) && (o = ne(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(ae, "$&/") + "/") + c)), r.push(o)), 1;+ c = 0;+ var l = a === "" ? "." : a + ":";+ if (ee(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + oe(a, u), c += ce(a, r, i, s, o);+ else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + oe(a, u++), c += ce(a, r, i, s, o);+ else if (s === "object") {+ if (typeof e.then == "function") return ce(se(e), r, i, a, o);+ throw r = String(e), Error("Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead.");+ }+ return c;+ }+ function le(e, t, n) {+ if (e == null) return e;+ var r = [], i = 0;+ return ce(e, r, "", "", function(e) {+ return t.call(n, e, i++);+ }), r;+ }+ function E(e) {+ if (e._status === -1) {+ var t = e._result, n = t();+ n.then(function(t) {+ (e._status === 0 || e._status === -1) && (e._status = 1, e._result = t, n.status === void 0 && (n.status = "fulfilled", n.value = t));+ }, function(t) {+ (e._status === 0 || e._status === -1) && (e._status = 2, e._result = t, n.status === void 0 && (n.status = "rejected", n.reason = t));+ }), e._status === -1 && (e._status = 0, e._result = n);+ }+ if (e._status === 1) return e._result.default;+ throw e._result;+ }+ var ue = typeof reportError == "function" ? reportError : function(e) {+ if (typeof window == "object" && typeof window.ErrorEvent == "function") {+ var t = new window.ErrorEvent("error", {+ bubbles: !0,+ cancelable: !0,+ message: typeof e == "object" && e && typeof e.message == "string" ? String(e.message) : String(e),+ error: e+ });+ if (!window.dispatchEvent(t)) return;+ } else if (typeof process == "object" && typeof process.emit == "function") {+ process.emit("uncaughtException", e);+ return;+ }+ console.error(e);+ };+ function de(e) {+ var t = w.T, n = {};+ n.types = t === null ? null : t.types, w.T = n;+ try {+ var r = e(), i = w.S;+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(C, ue);+ } catch (e) {+ ue(e);+ } finally {+ t !== null && n.types !== null && (t.types = n.types), w.T = t;+ }+ }+ function fe(e) {+ var t = w.T;+ if (t !== null) {+ var n = t.types;+ n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);+ } else de(fe.bind(null, e));+ }+ var pe = {+ map: le,+ forEach: function(e, t, n) {+ le(e, function() {+ t.apply(this, arguments);+ }, n);+ },+ count: function(e) {+ var t = 0;+ return le(e, function() {+ t++;+ }), t;+ },+ toArray: function(e) {+ return le(e, function(e) {+ return e;+ }) || [];+ },+ only: function(e) {+ if (!re(e)) throw Error("React.Children.only expected to receive a single React element child.");+ return e;+ }+ };+ e.Activity = f, e.Children = pe, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = w, e.__COMPILER_RUNTIME = {+ __proto__: null,+ c: function(e) {+ return w.H.useMemoCache(e);+ }+ }, e.addTransitionType = fe, e.cache = function(e) {+ return function() {+ return e.apply(null, arguments);+ };+ }, e.cacheSignal = function() {+ return null;+ }, e.cloneElement = function(e, t, n) {+ if (e == null) throw Error("The argument must be a React element, but you passed " + e + ".");+ var r = _({}, e.props), i = e.key;+ if (t != null) for (a in t.key !== void 0 && (i = "" + t.key), t) !te.call(t, a) || a === "key" || a === "__self" || a === "__source" || a === "ref" && t.ref === void 0 || (r[a] = t[a]);+ var a = arguments.length - 2;+ if (a === 1) r.children = n;+ else if (1 < a) {+ for (var o = Array(a), s = 0; s < a; s++) o[s] = arguments[s + 2];+ r.children = o;+ }+ return T(e.type, i, r);+ }, e.createContext = function(e) {+ return e = {+ $$typeof: s,+ _currentValue: e,+ _currentValue2: e,+ _threadCount: 0,+ Provider: null,+ Consumer: null+ }, e.Provider = e, e.Consumer = {+ $$typeof: o,+ _context: e+ }, e;+ }, e.createElement = function(e, t, n) {+ var r, i = {}, a = null;+ if (t != null) for (r in t.key !== void 0 && (a = "" + t.key), t) te.call(t, r) && r !== "key" && r !== "__self" && r !== "__source" && (i[r] = t[r]);+ var o = arguments.length - 2;+ if (o === 1) i.children = n;+ else if (1 < o) {+ for (var s = Array(o), c = 0; c < o; c++) s[c] = arguments[c + 2];+ i.children = s;+ }+ if (e && e.defaultProps) for (r in o = e.defaultProps, o) i[r] === void 0 && (i[r] = o[r]);+ return T(e, a, i);+ }, e.createRef = function() {+ return { current: null };+ }, e.forwardRef = function(e) {+ return {+ $$typeof: c,+ render: e+ };+ }, e.isValidElement = re, e.lazy = function(e) {+ return {+ $$typeof: d,+ _payload: {+ _status: -1,+ _result: e+ },+ _init: E+ };+ }, e.memo = function(e, t) {+ return {+ $$typeof: u,+ type: e,+ compare: t === void 0 ? null : t+ };+ }, e.startTransition = de, e.unstable_useCacheRefresh = function() {+ return w.H.useCacheRefresh();+ }, e.use = function(e) {+ return w.H.use(e);+ }, e.useActionState = function(e, t, n) {+ return w.H.useActionState(e, t, n);+ }, e.useCallback = function(e, t) {+ return w.H.useCallback(e, t);+ }, e.useContext = function(e) {+ return w.H.useContext(e);+ }, e.useDebugValue = function() {}, e.useDeferredValue = function(e, t) {+ return w.H.useDeferredValue(e, t);+ }, e.useEffect = function(e, t) {+ return w.H.useEffect(e, t);+ }, e.useEffectEvent = function(e) {+ return w.H.useEffectEvent(e);+ }, e.useId = function() {+ return w.H.useId();+ }, e.useImperativeHandle = function(e, t, n) {+ return w.H.useImperativeHandle(e, t, n);+ }, e.useInsertionEffect = function(e, t) {+ return w.H.useInsertionEffect(e, t);+ }, e.useLayoutEffect = function(e, t) {+ return w.H.useLayoutEffect(e, t);+ }, e.useMemo = function(e, t) {+ return w.H.useMemo(e, t);+ }, e.useOptimistic = function(e, t) {+ return w.H.useOptimistic(e, t);+ }, e.useReducer = function(e, t, n) {+ return w.H.useReducer(e, t, n);+ }, e.useRef = function(e) {+ return w.H.useRef(e);+ }, e.useState = function(e) {+ return w.H.useState(e);+ }, e.useSyncExternalStore = function(e, t, n) {+ return w.H.useSyncExternalStore(e, t, n);+ }, e.useTransition = function() {+ return w.H.useTransition();+ }, e.version = "19.3.0";+})), p = /* @__PURE__ */ s(((e, t) => {+ t.exports = f();+})), m = /* @__PURE__ */ s(((e) => {+ var t = p();+ function n(e) {+ var t = "https://react.dev/errors/" + e;+ if (1 < arguments.length) {+ t += "?args[]=" + encodeURIComponent(arguments[1]);+ for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);+ }+ return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";+ }+ function r() {}+ var i = {+ d: {+ f: r,+ r: function() {+ throw Error(n(522));+ },+ D: r,+ C: r,+ L: r,+ m: r,+ X: r,+ S: r,+ M: r+ },+ p: 0,+ findDOMNode: null+ }, a = Symbol.for("react.portal"), o = Symbol.for("react.recoverable"), s = Symbol.for("react.optimistic_key");+ function c(e, t, n) {+ var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;+ return {+ $$typeof: a,+ key: r == null ? null : r === s ? s : "" + r,+ children: e,+ containerInfo: t,+ implementation: n+ };+ }+ var l = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;+ function u(e, t) {+ if (e === "font") return "";+ if (typeof t == "string") return t === "use-credentials" ? t : "";+ }+ e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, e.browser = function(e) {+ return {+ $$typeof: o,+ _reason: e+ };+ }, e.createPortal = function(e, t) {+ var r = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;+ if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error(n(299));+ return c(e, t, null, r);+ }, e.flushSync = function(e) {+ var t = l.T, n = i.p;+ try {+ if (l.T = null, i.p = 2, e) return e();+ } finally {+ l.T = t, i.p = n, i.d.f();+ }+ }, e.preconnect = function(e, t) {+ typeof e == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, i.d.C(e, t));+ }, e.prefetchDNS = function(e) {+ typeof e == "string" && i.d.D(e);+ }, e.preinit = function(e, t) {+ if (typeof e == "string" && t && typeof t.as == "string") {+ var n = t.as, r = u(n, t.crossOrigin), a = typeof t.integrity == "string" ? t.integrity : void 0, o = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;+ n === "style" ? i.d.S(e, typeof t.precedence == "string" ? t.precedence : void 0, {+ crossOrigin: r,+ integrity: a,+ fetchPriority: o+ }) : n === "script" && i.d.X(e, {+ crossOrigin: r,+ integrity: a,+ fetchPriority: o,+ nonce: typeof t.nonce == "string" ? t.nonce : void 0+ });+ }+ }, e.preinitModule = function(e, t) {+ if (typeof e == "string") {+ if (typeof t == "object" && t) {+ if (t.as == null || t.as === "script") {+ var n = u(t.as, t.crossOrigin);+ i.d.M(e, {+ crossOrigin: n,+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0+ });+ }+ } else t ?? i.d.M(e);+ }+ }, e.preload = function(e, t) {+ if (typeof e == "string" && typeof t == "object" && t && typeof t.as == "string") {+ var n = t.as, r = u(n, t.crossOrigin);+ i.d.L(e, n, {+ crossOrigin: r,+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,+ type: typeof t.type == "string" ? t.type : void 0,+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,+ referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,+ imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,+ imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,+ media: typeof t.media == "string" ? t.media : void 0+ });+ }+ }, e.preloadModule = function(e, t) {+ if (typeof e == "string") {+ if (t) {+ var n = u(t.as, t.crossOrigin);+ i.d.m(e, {+ as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,+ crossOrigin: n,+ integrity: typeof t.integrity == "string" ? t.integrity : void 0,+ nonce: typeof t.nonce == "string" ? t.nonce : void 0,+ fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0+ });+ } else i.d.m(e);+ }+ }, e.requestFormReset = function(e) {+ i.d.r(e);+ }, e.unstable_batchedUpdates = function(e, t) {+ return e(t);+ }, e.useFormState = function(e, t, n) {+ return l.H.useFormState(e, t, n);+ }, e.useFormStatus = function() {+ return l.H.useHostTransitionStatus();+ }, e.version = "19.3.0";+})), h = /* @__PURE__ */ s(((e, t) => {+ function n() {+ if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);+ } catch (e) {+ console.error(e);+ }+ }+ n(), t.exports = m();+})), g = /* @__PURE__ */ s(((e) => {+ var t = d(), n = p(), r = h();+ function i(e) {+ var t = "https://react.dev/errors/" + e;+ if (1 < arguments.length) {+ t += "?args[]=" + encodeURIComponent(arguments[1]);+ for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);+ }+ return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";+ }+ function a(e) {+ return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11);+ }+ function o(e) {+ for (var t = e, n = t; n && !n.alternate;) t = n, t.flags & 4098 && (e = t.return), n = t.return;+ for (; t.return;) t = t.return;+ return t.tag === 3 ? e : null;+ }+ function s(e) {+ if (e.tag === 13) {+ var t = e.memoizedState;+ if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;+ }+ return null;+ }+ function c(e) {+ if (e.tag === 31) {+ var t = e.memoizedState;+ if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;+ }+ return null;+ }+ function l(e) {+ if (o(e) !== e) throw Error(i(188));+ }+ function u(e) {+ var t = e.alternate;+ if (!t) {+ if (t = o(e), t === null) throw Error(i(188));+ return t === e ? e : null;+ }+ for (var n = e, r = t;;) {+ var a = n.return;+ if (a === null) break;+ var s = a.alternate;+ if (s === null) {+ if (r = a.return, r !== null) {+ n = r;+ continue;+ }+ break;+ }+ if (a.child === s.child) {+ for (s = a.child; s;) {+ if (s === n) return l(a), e;+ if (s === r) return l(a), t;+ s = s.sibling;+ }+ throw Error(i(188));+ }+ if (n.return !== r.return) n = a, r = s;+ else {+ for (var c = !1, u = a.child; u;) {+ if (u === n) {+ c = !0, n = a, r = s;+ break;+ }+ if (u === r) {+ c = !0, r = a, n = s;+ break;+ }+ u = u.sibling;+ }+ if (!c) {+ for (u = s.child; u;) {+ if (u === n) {+ c = !0, n = s, r = a;+ break;+ }+ if (u === r) {+ c = !0, r = s, n = a;+ break;+ }+ u = u.sibling;+ }+ if (!c) throw Error(i(189));+ }+ }+ if (n.alternate !== r) throw Error(i(190));+ }+ if (n.tag !== 3) throw Error(i(188));+ return n.stateNode.current === n ? e : t;+ }+ function f(e) {+ var t = e.tag;+ if (t === 5 || t === 26 || t === 27 || t === 6) return e;+ for (e = e.child; e !== null;) {+ if (t = f(e), t !== null) return t;+ e = e.sibling;+ }+ return null;+ }+ function m(e, t, n, r, i, a) {+ for (; e !== null;) {+ if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && n(e, r, i, a) || (e.tag !== 22 || e.memoizedState === null) && (t || e.tag !== 5 && e.tag !== 27) && m(e.child, t, n, r, i, a)) return !0;+ e = e.sibling;+ }+ return !1;+ }+ function g(e) {+ for (e = e.return; e !== null;) {+ if (e.tag === 3 || e.tag === 5 || e.tag === 27) return e;+ e = e.return;+ }+ return null;+ }+ function _(e) {+ var t = !1;+ for (e = e.return; e !== null && (e.tag === 4 && (t = !0), e.tag !== 3 && e.tag !== 5 && e.tag !== 27);) e = e.return;+ return t;+ }+ function v(e) {+ var t = [null, null], n = g(e);+ return n === null || y(t, e, n.child, { foundSelf: !1 }), t;+ }+ function y(e, t, n, r) {+ for (; n !== null;) {+ if (n === t) r.foundSelf = !0;+ else if (n.tag === 5 || n.tag === 27 || n.tag === 6) {+ if (r.foundSelf) return e[1] = n, !0;+ e[0] = n;+ } else if ((n.tag !== 22 || n.memoizedState === null) && y(e, t, n.child, r)) return !0;+ n = n.sibling;+ }+ return !1;+ }+ function b(e) {+ switch (e.tag) {+ case 5:+ case 27:+ case 6: return e.stateNode;+ case 3: return e.stateNode.containerInfo;+ default: throw Error(i(559));+ }+ }+ var x = null, S = null;+ function ee(e, t, n) {+ return e === n || e === t && (x = e, !0);+ }+ function C(e, t, n) {+ return e === n ? (S = e, !1) : e === t && (S !== null && (x = e), !0);+ }+ function w(e) {+ if (e === null) return null;+ do+ e = e === null ? null : e.return;+ while (e && e.tag !== 5 && e.tag !== 27 && e.tag !== 3);+ return e || null;+ }+ function te(e, t, n) {+ for (var r = 0, i = e; i; i = n(i)) r++;+ i = 0;+ for (var a = t; a; a = n(a)) i++;+ for (; 0 < r - i;) e = n(e), r--;+ for (; 0 < i - r;) t = n(t), i--;+ for (; r--;) {+ if (e === t || t !== null && e === t.alternate) return e;+ e = n(e), t = n(t);+ }+ return null;+ }+ var T = Object.assign, ne = Symbol.for("react.element"), re = Symbol.for("react.transitional.element"), ie = Symbol.for("react.portal"), ae = Symbol.for("react.fragment"), oe = Symbol.for("react.strict_mode"), se = Symbol.for("react.profiler"), ce = Symbol.for("react.consumer"), le = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), ue = Symbol.for("react.suspense"), de = Symbol.for("react.suspense_list"), fe = Symbol.for("react.memo"), pe = Symbol.for("react.lazy"), me = Symbol.for("react.activity"), he = Symbol.for("react.legacy_hidden"), ge = Symbol.for("react.memo_cache_sentinel"), _e = Symbol.for("react.view_transition"), ve = Symbol.for("react.recoverable"), ye = Symbol.iterator;+ function be(e) {+ return typeof e != "object" || !e ? null : (e = ye && e[ye] || e["@@iterator"], typeof e == "function" ? e : null);+ }+ var xe = Symbol.for("react.client.reference");+ function Se(e) {+ if (e == null) return null;+ if (typeof e == "function") return e.$$typeof === xe ? null : e.displayName || e.name || null;+ if (typeof e == "string") return e;+ switch (e) {+ case ae: return "Fragment";+ case se: return "Profiler";+ case oe: return "StrictMode";+ case ue: return "Suspense";+ case de: return "SuspenseList";+ case me: return "Activity";+ case _e: return "ViewTransition";+ }+ if (typeof e == "object") switch (e.$$typeof) {+ case ie: return "Portal";+ case le: return e.displayName || "Context";+ case ce: return (e._context.displayName || "Context") + ".Consumer";+ case E:+ var t = e.render;+ return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;+ case fe: return t = e.displayName || null, t === null ? Se(e.type) || "Memo" : t;+ case pe:+ t = e._payload, e = e._init;+ try {+ return Se(e(t));+ } catch {}+ }+ return null;+ }+ var Ce = Array.isArray, D = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, O = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, k = {+ pending: !1,+ data: null,+ method: null,+ action: null+ }, we = [], Te = -1;+ function Ee(e) {+ return { current: e };+ }+ function De(e) {+ 0 > Te || (e.current = we[Te], we[Te] = null, Te--);+ }+ function A(e, t) {+ Te++, we[Te] = e.current, e.current = t;+ }+ var Oe = Ee(null), ke = Ee(null), Ae = Ee(null), je = Ee(null);+ function j(e, t) {+ switch (A(Ae, t), A(ke, e), A(Oe, null), t.nodeType) {+ case 9:+ case 11:+ e = (e = t.documentElement) && (e = e.namespaceURI) ? up(e) : 0;+ break;+ default: if (e = t.tagName, t = t.namespaceURI) t = up(t), e = dp(t, e);+ else switch (e) {+ case "svg":+ e = 1;+ break;+ case "math":+ e = 2;+ break;+ default: e = 0;+ }+ }+ De(Oe), A(Oe, e);+ }+ function Me() {+ De(Oe), De(ke), De(Ae);+ }+ function Ne(e) {+ var t = e.memoizedState;+ t !== null && (sh._currentValue = t.memoizedState, A(je, e)), t = Oe.current;+ var n = dp(t, e.type);+ t !== n && (A(ke, e), A(Oe, n));+ }+ function Pe(e) {+ ke.current === e && (De(Oe), De(ke)), je.current === e && (De(je), sh._currentValue = k);+ }+ var Fe, Ie;+ function Le(e) {+ if (Fe === void 0) try {+ throw Error();+ } catch (e) {+ var t = e.stack.trim().match(/\n( *(at )?)/);+ Fe = t && t[1] || "", Ie = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";+ }+ return "\n" + Fe + e + Ie;+ }+ var Re = !1;+ function ze(e, t) {+ if (!e || Re) return "";+ Re = !0;+ var n = Error.prepareStackTrace;+ Error.prepareStackTrace = void 0;+ try {+ var r = { DetermineComponentFrameRoot: function() {+ try {+ if (t) {+ var n = function() {+ throw Error();+ };+ if (Object.defineProperty(n.prototype, "props", { set: function() {+ throw Error();+ } }), typeof Reflect == "object" && Reflect.construct) {+ try {+ Reflect.construct(n, []);+ } catch (e) {+ var r = e;+ }+ Reflect.construct(e, [], n);+ } else {+ try {+ n.call();+ } catch (e) {+ r = e;+ }+ n = !1;+ try {+ var i = Object.getOwnPropertyDescriptor(e.prototype, "props");+ Object.defineProperty(e.prototype, "props", {+ configurable: !0,+ set: function() {+ throw Error();+ }+ }), n = !0, new e();+ } finally {+ n && (i === void 0 ? delete e.prototype.props : Object.defineProperty(e.prototype, "props", i));+ }+ }+ } else {+ try {+ throw Error();+ } catch (e) {+ r = e;+ }+ (n = e()) && typeof n.catch == "function" && n.catch(function() {});+ }+ } catch (e) {+ if (e && r && typeof e.stack == "string") return [e.stack, r.stack];+ }+ return [null, null];+ } };+ r.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";+ var i = Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot, "name");+ i && i.configurable && Object.defineProperty(r.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });+ var a = r.DetermineComponentFrameRoot(), o = a[0], s = a[1];+ if (o && s) {+ var c = o.split("\n"), l = s.split("\n");+ for (i = r = 0; r < c.length && !c[r].includes("DetermineComponentFrameRoot");) r++;+ for (; i < l.length && !l[i].includes("DetermineComponentFrameRoot");) i++;+ if (r === c.length || i === l.length) for (r = c.length - 1, i = l.length - 1; 1 <= r && 0 <= i && c[r] !== l[i];) i--;+ for (; 1 <= r && 0 <= i; r--, i--) if (c[r] !== l[i]) {+ if (r !== 1 || i !== 1) do+ if (r--, i--, 0 > i || c[r] !== l[i]) {+ var u = "\n" + c[r].replace(" at new ", " at ");+ return e.displayName && u.includes("<anonymous>") && (u = u.replace("<anonymous>", e.displayName)), u;+ }+ while (1 <= r && 0 <= i);+ break;+ }+ }+ } finally {+ Re = !1, Error.prepareStackTrace = n;+ }+ return (n = e ? e.displayName || e.name : "") ? Le(n) : "";+ }+ function Be(e, t) {+ switch (e.tag) {+ case 26:+ case 27:+ case 5: return Le(e.type);+ case 16: return Le("Lazy");+ case 13: return e.child !== t && t !== null ? Le("Suspense Fallback") : Le("Suspense");+ case 19: return Le("SuspenseList");+ case 0:+ case 15: return ze(e.type, !1);+ case 11: return ze(e.type.render, !1);+ case 1: return ze(e.type, !0);+ case 31: return Le("Activity");+ case 30: return Le("ViewTransition");+ default: return "";+ }+ }+ function Ve(e) {+ try {+ var t = "", n = null;+ do+ t += Be(e, n), n = e, e = e.return;+ while (e);+ return t;+ } catch (e) {+ return "\nError generating stack: " + e.message + "\n" + e.stack;+ }+ }+ var He = Object.prototype.hasOwnProperty, M = t.unstable_scheduleCallback, Ue = t.unstable_cancelCallback, We = t.unstable_shouldYield, Ge = t.unstable_requestPaint, Ke = t.unstable_now, qe = t.unstable_getCurrentPriorityLevel, Je = t.unstable_ImmediatePriority, Ye = t.unstable_UserBlockingPriority, N = t.unstable_NormalPriority, Xe = t.unstable_LowPriority, Ze = t.unstable_IdlePriority, Qe = t.log, $e = t.unstable_setDisableYieldValue, et = null, tt = null;+ function nt(e) {+ if (typeof Qe == "function" && $e(e), tt && typeof tt.setStrictMode == "function") try {+ tt.setStrictMode(et, e);+ } catch {}+ }+ var rt = Math.clz32 ? Math.clz32 : ot, it = Math.log, at = Math.LN2;+ function ot(e) {+ return e >>>= 0, e === 0 ? 32 : 31 - (it(e) / at | 0) | 0;+ }+ var st = 256, ct = 262144, lt = 4194304;+ function ut(e) {+ var t = e & 42;+ if (t !== 0) return t;+ switch (e & -e) {+ case 1: return 1;+ case 2: return 2;+ case 4: return 4;+ case 8: return 8;+ case 16: return 16;+ case 32: return 32;+ case 64: return 64;+ case 128: return 128;+ case 256:+ case 512:+ case 1024:+ case 2048:+ case 4096:+ case 8192:+ case 16384:+ case 32768:+ case 65536:+ case 131072: return e & -e;+ case 262144:+ case 524288:+ case 1048576:+ case 2097152: return e & 3932160;+ case 4194304:+ case 8388608:+ case 16777216:+ case 33554432: return e & 62914560;+ case 67108864: return 67108864;+ case 134217728: return 134217728;+ case 268435456: return 268435456;+ case 536870912: return 536870912;+ case 1073741824: return 0;+ default: return e;+ }+ }+ function dt(e, t, n) {+ var r = e.pendingLanes;+ if (r === 0) return 0;+ var i = 0, a = e.suspendedLanes, o = e.pingedLanes;+ e = e.warmLanes;+ var s = r & 134217727;+ return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = ut(n))) : i = ut(o) : i = ut(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = ut(n))) : i = ut(o)) : i = ut(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;+ }+ function ft(e, t) {+ return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;+ }+ function pt(e, t) {+ t & 8 && (t |= t & 32);+ var n = e.entangledLanes;+ if (n !== 0) for (e = e.entanglements, n &= t; 0 < n;) {+ var r = 31 - rt(n), i = 1 << r;+ t |= e[r], n &= ~i;+ }+ return t;+ }+ function mt(e, t) {+ switch (e) {+ case 1:+ case 2:+ case 4:+ case 8:+ case 64: return t + 250;+ case 16:+ case 32:+ case 128:+ case 256:+ case 512:+ case 1024:+ case 2048:+ case 4096:+ case 8192:+ case 16384:+ case 32768:+ case 65536:+ case 131072:+ case 262144:+ case 524288:+ case 1048576:+ case 2097152: return t + 5e3;+ case 4194304:+ case 8388608:+ case 16777216:+ case 33554432: return -1;+ case 67108864:+ case 134217728:+ case 268435456:+ case 536870912:+ case 1073741824: return -1;+ default: return -1;+ }+ }+ function ht() {+ var e = lt;+ return lt <<= 1, !(lt & 62914560) && (lt = 4194304), e;+ }+ function gt(e) {+ for (var t = [], n = 0; 31 > n; n++) t.push(e);+ return t;+ }+ function _t(e, t) {+ e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);+ }+ function vt(e, t, n, r, i, a) {+ var o = e.pendingLanes;+ e.pendingLanes = n, e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0, e.expiredLanes &= n, e.entangledLanes &= n, e.errorRecoveryDisabledLanes &= n, e.shellSuspendCounter = 0;+ var s = e.entanglements, c = e.expirationTimes, l = e.hiddenUpdates;+ for (n = o & ~n; 0 < n;) {+ var u = 31 - rt(n), d = 1 << u;+ s[u] = 0, c[u] = -1;+ var f = l[u];+ if (f !== null) for (l[u] = null, u = 0; u < f.length; u++) {+ var p = f[u];+ p !== null && (p.lane &= -536870913);+ }+ n &= ~d;+ }+ r !== 0 && yt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));+ }+ function yt(e, t, n) {+ e.pendingLanes |= t, e.suspendedLanes &= ~t;+ var r = 31 - rt(t);+ e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;+ }+ function bt(e, t) {+ var n = e.entangledLanes |= t;+ for (e = e.entanglements; n;) {+ var r = 31 - rt(n), i = 1 << r;+ i & t | e[r] & t && (e[r] |= t), n &= ~i;+ }+ }+ function xt(e, t) {+ var n = t & -t;+ return n = n & 42 ? 1 : St(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;+ }+ function St(e) {+ switch (e) {+ case 2:+ e = 1;+ break;+ case 8:+ e = 4;+ break;+ case 32:+ e = 16;+ break;+ case 256:+ case 512:+ case 1024:+ case 2048:+ case 4096:+ case 8192:+ case 16384:+ case 32768:+ case 65536:+ case 131072:+ case 262144:+ case 524288:+ case 1048576:+ case 2097152:+ case 4194304:+ case 8388608:+ case 16777216:+ case 33554432:+ e = 128;+ break;+ case 268435456:+ e = 134217728;+ break;+ default: e = 0;+ }+ return e;+ }+ function Ct(e) {+ return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;+ }+ function wt() {+ var e = O.p;+ return e === 0 ? (e = window.event, e === void 0 ? 32 : Ch(e.type)) : e;+ }+ function P(e, t) {+ var n = O.p;+ try {+ return O.p = e, t();+ } finally {+ O.p = n;+ }+ }+ var Tt = Math.random().toString(36).slice(2), Et = "__reactFiber$" + Tt, Dt = "__reactProps$" + Tt, Ot = "__reactContainer$" + Tt, kt = "__reactEvents$" + Tt, At = "__reactListeners$" + Tt, jt = "__reactHandles$" + Tt, Mt = "__reactResources$" + Tt, Nt = "__reactMarker$" + Tt, Pt = "__reactLoad$" + Tt;+ function Ft(e) {+ delete e[Et], delete e[Dt], delete e[At], delete e[jt];+ }+ function It(e) {+ var t;+ if (t = e[Et]) return t;+ for (var n = e.parentNode; n;) {+ if (t = n[Ot] || n[Et]) {+ if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = fm(e); e !== null;) {+ if (n = e[Et]) return n;+ e = fm(e);+ }+ return t;+ }+ e = n, n = e.parentNode;+ }+ return null;+ }+ function Lt(e) {+ if (e = e[Et] || e[Ot]) {+ var t = e.tag;+ if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;+ }+ return null;+ }+ function Rt(e) {+ var t = e.tag;+ if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;+ throw Error(i(33));+ }+ function zt(e) {+ var t = e[Mt];+ return t ||= e[Mt] = {+ hoistableStyles: /* @__PURE__ */ new Map(),+ hoistableScripts: /* @__PURE__ */ new Map()+ }, t;+ }+ function Bt(e) {+ e[Nt] = !0;+ }+ function Vt(e) {+ e[Pt] = void 0;+ }+ var Ht = /* @__PURE__ */ new Set(), Ut = {};+ function Wt(e, t) {+ Gt(e, t), Gt(e + "Capture", t);+ }+ function Gt(e, t) {+ for (Ut[e] = t, e = 0; e < t.length; e++) Ht.add(t[e]);+ }+ var Kt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), qt = {}, Jt = {};+ function Yt(e) {+ return He.call(Jt, e) ? !0 : He.call(qt, e) ? !1 : Kt.test(e) ? Jt[e] = !0 : (qt[e] = !0, !1);+ }+ var F = !1;+ function Xt() {+ var e = F;+ return F = !1, e;+ }+ function Zt(e, t, n) {+ if (Yt(t)) {+ if (n === null) e.removeAttribute(t);+ else {+ switch (typeof n) {+ case "undefined":+ case "function":+ case "symbol":+ e.removeAttribute(t);+ return;+ case "boolean":+ var r = t.toLowerCase().slice(0, 5);+ if (r !== "data-" && r !== "aria-") {+ e.removeAttribute(t);+ return;+ }+ }+ e.setAttribute(t, n);+ }+ }+ }+ function Qt(e, t, n) {+ if (n === null) e.removeAttribute(t);+ else {+ switch (typeof n) {+ case "undefined":+ case "function":+ case "symbol":+ case "boolean":+ e.removeAttribute(t);+ return;+ }+ e.setAttribute(t, n);+ }+ }+ function $t(e, t, n, r) {+ if (r === null) e.removeAttribute(n);+ else {+ switch (typeof r) {+ case "undefined":+ case "function":+ case "symbol":+ case "boolean":+ e.removeAttribute(n);+ return;+ }+ e.setAttributeNS(t, n, r);+ }+ }+ function I(e) {+ switch (typeof e) {+ case "bigint":+ case "boolean":+ case "number":+ case "string":+ case "undefined": return e;+ case "object": return e;+ default: return "";+ }+ }+ function en(e) {+ var t = e.type;+ return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");+ }+ function tn(e, t, n) {+ var r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);+ if (!e.hasOwnProperty(t) && r !== void 0 && typeof r.get == "function" && typeof r.set == "function") {+ var i = r.get, a = r.set;+ return Object.defineProperty(e, t, {+ configurable: !0,+ get: function() {+ return i.call(this);+ },+ set: function(e) {+ n = "" + e, a.call(this, e);+ }+ }), Object.defineProperty(e, t, { enumerable: r.enumerable }), {+ getValue: function() {+ return n;+ },+ setValue: function(e) {+ n = "" + e;+ },+ stopTracking: function() {+ e._valueTracker = null, delete e[t];+ }+ };+ }+ }+ function nn(e) {+ if (!e._valueTracker) {+ var t = en(e) ? "checked" : "value";+ e._valueTracker = tn(e, t, "" + e[t]);+ }+ }+ function rn(e) {+ if (!e) return !1;+ var t = e._valueTracker;+ if (!t) return !0;+ var n = t.getValue(), r = "";+ return e && (r = en(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);+ }+ var an = /[\n"\\]/g;+ function on(e) {+ return e.replace(an, function(e) {+ return "\\" + e.charCodeAt(0).toString(16) + " ";+ });+ }+ function sn(e, t, n, r, i, a, o, s) {+ e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + I(t)) : e.value !== "" + I(t) && (e.value = "" + I(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : ln(e, I(n)) : o === "number" && e.value == t ? ln(e, I(e.value)) : ln(e, I(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + I(s) : e.removeAttribute("name");+ }+ function cn(e, t, n, r, i, a, o, s) {+ if (a != null && typeof a != "function" && typeof a != "symbol" && typeof a != "boolean" && (e.type = a), t != null || n != null) {+ if (!(a !== "submit" && a !== "reset" || t != null)) {+ nn(e);+ return;+ }+ n = n == null ? "" : "" + I(n), t = t == null ? n : "" + I(t), s || t === e.value || (e.value = t), e.defaultValue = t;+ }+ r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), nn(e);+ }+ function ln(e, t) {+ e.defaultValue !== "" + t && (e.defaultValue = "" + t);+ }+ function un(e, t, n, r) {+ if (e = e.options, t) {+ t = {};+ for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;+ for (n = 0; n < e.length; n++) i = t.hasOwnProperty("$" + e[n].value), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0);+ } else {+ for (n = "" + I(n), t = null, i = 0; i < e.length; i++) {+ if (e[i].value === n) {+ e[i].selected = !0, r && (e[i].defaultSelected = !0);+ return;+ }+ t !== null || e[i].disabled || (t = e[i]);+ }+ t !== null && (t.selected = !0);+ }+ }+ function dn(e, t, n) {+ if (t != null && (t = "" + I(t), t !== e.value && (e.value = t), n == null)) {+ e.defaultValue !== t && (e.defaultValue = t);+ return;+ }+ e.defaultValue = n == null ? "" : "" + I(n);+ }+ function fn(e, t, n, r) {+ if (t == null) {+ if (r != null) {+ if (n != null) throw Error(i(92));+ if (Ce(r)) {+ if (1 < r.length) throw Error(i(93));+ r = r[0];+ }+ n = r;+ }+ n ??= "", t = n;+ }+ n = I(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), nn(e);+ }+ function pn(e, t) {+ if (t) {+ var n = e.firstChild;+ if (n && n === e.lastChild && n.nodeType === 3) {+ n.nodeValue = t;+ return;+ }+ }+ e.textContent = t;+ }+ var mn = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));+ function hn(e, t, n) {+ var r = t.indexOf("--") === 0;+ n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || mn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";+ }+ function gn(e, t, n) {+ if (t != null && typeof t != "object") throw Error(i(62));+ if (e = e.style, n != null) {+ for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", F = !0);+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (hn(e, a, r), F = !0);+ } else for (var o in t) t.hasOwnProperty(o) && hn(e, o, t[o]);+ }+ function _n(e) {+ if (e.indexOf("-") === -1) return !1;+ switch (e) {+ case "annotation-xml":+ case "color-profile":+ case "font-face":+ case "font-face-src":+ case "font-face-uri":+ case "font-face-format":+ case "font-face-name":+ case "missing-glyph": return !1;+ default: return !0;+ }+ }+ var vn = /* @__PURE__ */ new Map([+ ["acceptCharset", "accept-charset"],+ ["htmlFor", "for"],+ ["httpEquiv", "http-equiv"],+ ["crossOrigin", "crossorigin"],+ ["accentHeight", "accent-height"],+ ["alignmentBaseline", "alignment-baseline"],+ ["arabicForm", "arabic-form"],+ ["baselineShift", "baseline-shift"],+ ["capHeight", "cap-height"],+ ["clipPath", "clip-path"],+ ["clipRule", "clip-rule"],+ ["colorInterpolation", "color-interpolation"],+ ["colorInterpolationFilters", "color-interpolation-filters"],+ ["colorProfile", "color-profile"],+ ["colorRendering", "color-rendering"],+ ["dominantBaseline", "dominant-baseline"],+ ["enableBackground", "enable-background"],+ ["fillOpacity", "fill-opacity"],+ ["fillRule", "fill-rule"],+ ["floodColor", "flood-color"],+ ["floodOpacity", "flood-opacity"],+ ["fontFamily", "font-family"],+ ["fontSize", "font-size"],+ ["fontSizeAdjust", "font-size-adjust"],+ ["fontStretch", "font-stretch"],+ ["fontStyle", "font-style"],+ ["fontVariant", "font-variant"],+ ["fontWeight", "font-weight"],+ ["glyphName", "glyph-name"],+ ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],+ ["glyphOrientationVertical", "glyph-orientation-vertical"],+ ["horizAdvX", "horiz-adv-x"],+ ["horizOriginX", "horiz-origin-x"],+ ["imageRendering", "image-rendering"],+ ["letterSpacing", "letter-spacing"],+ ["lightingColor", "lighting-color"],+ ["markerEnd", "marker-end"],+ ["markerMid", "marker-mid"],+ ["markerStart", "marker-start"],+ ["maskType", "mask-type"],+ ["overlinePosition", "overline-position"],+ ["overlineThickness", "overline-thickness"],+ ["paintOrder", "paint-order"],+ ["panose-1", "panose-1"],+ ["pointerEvents", "pointer-events"],+ ["renderingIntent", "rendering-intent"],+ ["shapeRendering", "shape-rendering"],+ ["stopColor", "stop-color"],+ ["stopOpacity", "stop-opacity"],+ ["strikethroughPosition", "strikethrough-position"],+ ["strikethroughThickness", "strikethrough-thickness"],+ ["strokeDasharray", "stroke-dasharray"],+ ["strokeDashoffset", "stroke-dashoffset"],+ ["strokeLinecap", "stroke-linecap"],+ ["strokeLinejoin", "stroke-linejoin"],+ ["strokeMiterlimit", "stroke-miterlimit"],+ ["strokeOpacity", "stroke-opacity"],+ ["strokeWidth", "stroke-width"],+ ["textAnchor", "text-anchor"],+ ["textDecoration", "text-decoration"],+ ["textRendering", "text-rendering"],+ ["transformOrigin", "transform-origin"],+ ["underlinePosition", "underline-position"],+ ["underlineThickness", "underline-thickness"],+ ["unicodeBidi", "unicode-bidi"],+ ["unicodeRange", "unicode-range"],+ ["unitsPerEm", "units-per-em"],+ ["vAlphabetic", "v-alphabetic"],+ ["vHanging", "v-hanging"],+ ["vIdeographic", "v-ideographic"],+ ["vMathematical", "v-mathematical"],+ ["vectorEffect", "vector-effect"],+ ["vertAdvY", "vert-adv-y"],+ ["vertOriginX", "vert-origin-x"],+ ["vertOriginY", "vert-origin-y"],+ ["wordSpacing", "word-spacing"],+ ["writingMode", "writing-mode"],+ ["xmlnsXlink", "xmlns:xlink"],+ ["xHeight", "x-height"]+ ]), yn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;+ function L(e) {+ return yn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;+ }+ function bn() {}+ var R = null;+ function xn(e) {+ return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;+ }+ var Sn = null, Cn = null;+ function wn(e) {+ var t = Lt(e);+ if (t && (e = t.stateNode)) {+ var n = e[Dt] || null;+ a: switch (e = t.stateNode, t.type) {+ case "input":+ if (sn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {+ for (n = e; n.parentNode;) n = n.parentNode;+ for (n = n.querySelectorAll("input[name=\"" + on("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {+ var r = n[t];+ if (r !== e && r.form === e.form) {+ var a = r[Dt] || null;+ if (!a) throw Error(i(90));+ sn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);+ }+ }+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && rn(r);+ }+ break a;+ case "textarea":+ dn(e, n.value, n.defaultValue);+ break a;+ case "select": t = n.value, t != null && un(e, !!n.multiple, t, !1);+ }+ }+ }+ var Tn = !1;+ function En(e, t, n) {+ if (Tn) return e(t, n);+ Tn = !0;+ try {+ return e(t);+ } finally {+ if (Tn = !1, (Sn !== null || Cn !== null) && (zd(), Sn && (t = Sn, e = Cn, Cn = Sn = null, wn(t), e))) for (t = 0; t < e.length; t++) wn(e[t]);+ }+ }+ function Dn(e, t) {+ var n = e.stateNode;+ if (n === null) return null;+ var r = n[Dt] || null;+ if (r === null) return null;+ n = r[t];+ a: switch (t) {+ case "onClick":+ case "onClickCapture":+ case "onDoubleClick":+ case "onDoubleClickCapture":+ case "onMouseDown":+ case "onMouseDownCapture":+ case "onMouseMove":+ case "onMouseMoveCapture":+ case "onMouseUp":+ case "onMouseUpCapture":+ case "onMouseEnter":+ (r = !r.disabled) || (e = e.type, r = e !== "button" && e !== "input" && e !== "select" && e !== "textarea"), e = !r;+ break a;+ default: e = !1;+ }+ if (e) return null;+ if (n && typeof n != "function") throw Error(i(231, t, typeof n));+ return n;+ }+ var On = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), kn = !1;+ if (On) try {+ var An = {};+ Object.defineProperty(An, "passive", { get: function() {+ kn = !0;+ } }), window.addEventListener("test", An, An), window.removeEventListener("test", An, An);+ } catch {+ kn = !1;+ }+ var jn = null, Mn = null, Nn = null;+ function Pn() {+ if (Nn) return Nn;+ var e, t = Mn, n = t.length, r, i = "value" in jn ? jn.value : jn.textContent, a = i.length;+ for (e = 0; e < n && t[e] === i[e]; e++);+ var o = n - e;+ for (r = 1; r <= o && t[n - r] === i[a - r]; r++);+ return Nn = i.slice(e, 1 < r ? 1 - r : void 0);+ }+ function Fn(e) {+ var t = e.keyCode;+ return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;+ }+ function In() {+ return !0;+ }+ function Ln() {+ return !1;+ }+ function Rn(e) {+ function t(t, n, r, i, a) {+ for (var o in this._reactName = t, this._targetInst = r, this.type = n, this.nativeEvent = i, this.target = a, this.currentTarget = null, e) e.hasOwnProperty(o) && (t = e[o], this[o] = t ? t(i) : i[o]);+ return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? In : Ln, this.isPropagationStopped = Ln, this;+ }+ return T(t.prototype, {+ preventDefault: function() {+ this.defaultPrevented = !0;+ var e = this.nativeEvent;+ e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = In);+ },+ stopPropagation: function() {+ var e = this.nativeEvent;+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = In);+ },+ persist: function() {},+ isPersistent: In+ }), t;+ }+ var zn = {+ eventPhase: 0,+ bubbles: 0,+ cancelable: 0,+ timeStamp: function(e) {+ return e.timeStamp || Date.now();+ },+ defaultPrevented: 0,+ isTrusted: 0+ }, Bn = Rn(zn), Vn = T({}, zn, {+ view: 0,+ detail: 0+ }), Hn = Rn(Vn), Un, Wn, Gn, Kn = T({}, Vn, {+ screenX: 0,+ screenY: 0,+ clientX: 0,+ clientY: 0,+ pageX: 0,+ pageY: 0,+ ctrlKey: 0,+ shiftKey: 0,+ altKey: 0,+ metaKey: 0,+ getModifierState: rr,+ button: 0,+ buttons: 0,+ relatedTarget: function(e) {+ return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;+ },+ movementX: function(e) {+ return "movementX" in e ? e.movementX : (e !== Gn && (Gn && e.type === "mousemove" ? (Un = e.screenX - Gn.screenX, Wn = e.screenY - Gn.screenY) : Wn = Un = 0, Gn = e), Un);+ },+ movementY: function(e) {+ return "movementY" in e ? e.movementY : Wn;+ }+ }), qn = Rn(Kn), Jn = Rn(T({}, Kn, { dataTransfer: 0 })), Yn = Rn(T({}, Vn, { relatedTarget: 0 })), Xn = Rn(T({}, zn, {+ animationName: 0,+ elapsedTime: 0,+ pseudoElement: 0+ })), Zn = Rn(T({}, zn, { clipboardData: function(e) {+ return "clipboardData" in e ? e.clipboardData : window.clipboardData;+ } })), Qn = Rn(T({}, zn, { data: 0 })), $n = {+ Esc: "Escape",+ Spacebar: " ",+ Left: "ArrowLeft",+ Up: "ArrowUp",+ Right: "ArrowRight",+ Down: "ArrowDown",+ Del: "Delete",+ Win: "OS",+ Menu: "ContextMenu",+ Apps: "ContextMenu",+ Scroll: "ScrollLock",+ MozPrintableKey: "Unidentified"+ }, er = {+ 8: "Backspace",+ 9: "Tab",+ 12: "Clear",+ 13: "Enter",+ 16: "Shift",+ 17: "Control",+ 18: "Alt",+ 19: "Pause",+ 20: "CapsLock",+ 27: "Escape",+ 32: " ",+ 33: "PageUp",+ 34: "PageDown",+ 35: "End",+ 36: "Home",+ 37: "ArrowLeft",+ 38: "ArrowUp",+ 39: "ArrowRight",+ 40: "ArrowDown",+ 45: "Insert",+ 46: "Delete",+ 112: "F1",+ 113: "F2",+ 114: "F3",+ 115: "F4",+ 116: "F5",+ 117: "F6",+ 118: "F7",+ 119: "F8",+ 120: "F9",+ 121: "F10",+ 122: "F11",+ 123: "F12",+ 144: "NumLock",+ 145: "ScrollLock",+ 224: "Meta"+ }, tr = {+ Alt: "altKey",+ Control: "ctrlKey",+ Meta: "metaKey",+ Shift: "shiftKey"+ };+ function nr(e) {+ var t = this.nativeEvent;+ return t.getModifierState ? t.getModifierState(e) : (e = tr[e]) ? !!t[e] : !1;+ }+ function rr() {+ return nr;+ }+ var ir = Rn(T({}, Vn, {+ key: function(e) {+ if (e.key) {+ var t = $n[e.key] || e.key;+ if (t !== "Unidentified") return t;+ }+ return e.type === "keypress" ? (e = Fn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? er[e.keyCode] || "Unidentified" : "";+ },+ code: 0,+ location: 0,+ ctrlKey: 0,+ shiftKey: 0,+ altKey: 0,+ metaKey: 0,+ repeat: 0,+ locale: 0,+ getModifierState: rr,+ charCode: function(e) {+ return e.type === "keypress" ? Fn(e) : 0;+ },+ keyCode: function(e) {+ return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;+ },+ which: function(e) {+ return e.type === "keypress" ? Fn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;+ }+ })), ar = Rn(T({}, Kn, {+ pointerId: 0,+ width: 0,+ height: 0,+ pressure: 0,+ tangentialPressure: 0,+ tiltX: 0,+ tiltY: 0,+ twist: 0,+ pointerType: 0,+ isPrimary: 0+ })), or = Rn(T({}, zn, { submitter: 0 })), sr = Rn(T({}, Vn, {+ touches: 0,+ targetTouches: 0,+ changedTouches: 0,+ altKey: 0,+ metaKey: 0,+ ctrlKey: 0,+ shiftKey: 0,+ getModifierState: rr+ })), cr = Rn(T({}, zn, {+ propertyName: 0,+ elapsedTime: 0,+ pseudoElement: 0+ })), lr = Rn(T({}, Kn, {+ deltaX: function(e) {+ return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;+ },+ deltaY: function(e) {+ return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0;+ },+ deltaZ: 0,+ deltaMode: 0+ })), ur = Rn(T({}, zn, {+ newState: 0,+ oldState: 0,+ source: 0+ })), dr = [+ 9,+ 13,+ 27,+ 32+ ], fr = On && "CompositionEvent" in window, pr = null;+ On && "documentMode" in document && (pr = document.documentMode);+ var mr = On && "TextEvent" in window && !pr, hr = On && (!fr || pr && 8 < pr && 11 >= pr), gr = " ", _r = !1;+ function vr(e, t) {+ switch (e) {+ case "keyup": return dr.indexOf(t.keyCode) !== -1;+ case "keydown": return t.keyCode !== 229;+ case "keypress":+ case "mousedown":+ case "focusout": return !0;+ default: return !1;+ }+ }+ function yr(e) {+ return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;+ }+ var br = !1;+ function xr(e, t) {+ switch (e) {+ case "compositionend": return yr(t);+ case "keypress": return t.which === 32 ? (_r = !0, gr) : null;+ case "textInput": return e = t.data, e === gr && _r ? null : e;+ default: return null;+ }+ }+ function Sr(e, t) {+ if (br) return e === "compositionend" || !fr && vr(e, t) ? (e = Pn(), Nn = Mn = jn = null, br = !1, e) : null;+ switch (e) {+ case "paste": return null;+ case "keypress":+ if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) {+ if (t.char && 1 < t.char.length) return t.char;+ if (t.which) return String.fromCharCode(t.which);+ }+ return null;+ case "compositionend": return hr && t.locale !== "ko" ? null : t.data;+ default: return null;+ }+ }+ var Cr = {+ color: !0,+ date: !0,+ datetime: !0,+ "datetime-local": !0,+ email: !0,+ month: !0,+ number: !0,+ password: !0,+ range: !0,+ search: !0,+ tel: !0,+ text: !0,+ time: !0,+ url: !0,+ week: !0+ };+ function wr(e) {+ var t = e && e.nodeName && e.nodeName.toLowerCase();+ return t === "input" ? !!Cr[e.type] : t === "textarea";+ }+ function Tr(e, t, n, r) {+ Sn ? Cn ? Cn.push(r) : Cn = [r] : Sn = r, t = Jf(t, "onChange"), 0 < t.length && (n = new Bn("onChange", "change", null, n, r), e.push({+ event: n,+ listeners: t+ }));+ }+ var Er = null, Dr = null;+ function Or(e) {+ Vf(e, 0);+ }+ function kr(e) {+ if (rn(Rt(e))) return e;+ }+ function Ar(e, t) {+ if (e === "change") return t;+ }+ var jr = !1;+ if (On) {+ var Mr;+ if (On) {+ var Nr = "oninput" in document;+ if (!Nr) {+ var Pr = document.createElement("div");+ Pr.setAttribute("oninput", "return;"), Nr = typeof Pr.oninput == "function";+ }+ Mr = Nr;+ } else Mr = !1;+ jr = Mr && (!document.documentMode || 9 < document.documentMode);+ }+ function Fr() {+ Er && (Er.detachEvent("onpropertychange", Ir), Dr = Er = null);+ }+ function Ir(e) {+ if (e.propertyName === "value" && kr(Dr)) {+ var t = [];+ Tr(t, Dr, e, xn(e)), En(Or, t);+ }+ }+ function Lr(e, t, n) {+ e === "focusin" ? (Fr(), Er = t, Dr = n, Er.attachEvent("onpropertychange", Ir)) : e === "focusout" && Fr();+ }+ function Rr(e) {+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return kr(Dr);+ }+ function zr(e, t) {+ if (e === "click") return kr(t);+ }+ function Br(e, t) {+ if (e === "input" || e === "change") return kr(t);+ }+ function Vr(e, t) {+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;+ }+ var Hr = typeof Object.is == "function" ? Object.is : Vr;+ function Ur(e, t) {+ if (Hr(e, t)) return !0;+ if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;+ var n = Object.keys(e), r = Object.keys(t);+ if (n.length !== r.length) return !1;+ for (r = 0; r < n.length; r++) {+ var i = n[r];+ if (!He.call(t, i) || !Hr(e[i], t[i])) return !1;+ }+ return !0;+ }+ function Wr(e) {+ if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;+ try {+ return e.activeElement || e.body;+ } catch {+ return e.body;+ }+ }+ function Gr(e) {+ for (; e && e.firstChild;) e = e.firstChild;+ return e;+ }+ function Kr(e, t) {+ var n = Gr(e);+ e = 0;+ for (var r; n;) {+ if (n.nodeType === 3) {+ if (r = e + n.textContent.length, e <= t && r >= t) return {+ node: n,+ offset: t - e+ };+ e = r;+ }+ a: {+ for (; n;) {+ if (n.nextSibling) {+ n = n.nextSibling;+ break a;+ }+ n = n.parentNode;+ }+ n = void 0;+ }+ n = Gr(n);+ }+ }+ function qr(e, t) {+ return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? qr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;+ }+ function Jr(e) {+ e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;+ for (var t = Wr(e.document); t instanceof e.HTMLIFrameElement;) {+ try {+ var n = typeof t.contentWindow.location.href == "string";+ } catch {+ n = !1;+ }+ if (n) e = t.contentWindow;+ else break;+ t = Wr(e.document);+ }+ return t;+ }+ function Yr(e) {+ var t = e && e.nodeName && e.nodeName.toLowerCase();+ return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true");+ }+ var Xr = On && "documentMode" in document && 11 >= document.documentMode, Zr = null, Qr = null, $r = null, ei = !1;+ function ti(e, t, n) {+ var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;+ ei || Zr == null || Zr !== Wr(r) || (r = Zr, "selectionStart" in r && Yr(r) ? r = {+ start: r.selectionStart,+ end: r.selectionEnd+ } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {+ anchorNode: r.anchorNode,+ anchorOffset: r.anchorOffset,+ focusNode: r.focusNode,+ focusOffset: r.focusOffset+ }), $r && Ur($r, r) || ($r = r, r = Jf(Qr, "onSelect"), 0 < r.length && (t = new Bn("onSelect", "select", null, t, n), e.push({+ event: t,+ listeners: r+ }), t.target = Zr)));+ }+ function ni(e, t) {+ var n = {};+ return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;+ }+ var ri = {+ animationend: ni("Animation", "AnimationEnd"),+ animationiteration: ni("Animation", "AnimationIteration"),+ animationstart: ni("Animation", "AnimationStart"),+ transitionrun: ni("Transition", "TransitionRun"),+ transitionstart: ni("Transition", "TransitionStart"),+ transitioncancel: ni("Transition", "TransitionCancel"),+ transitionend: ni("Transition", "TransitionEnd")+ }, ii = {}, ai = {};+ On && (ai = document.createElement("div").style, "AnimationEvent" in window || (delete ri.animationend.animation, delete ri.animationiteration.animation, delete ri.animationstart.animation), "TransitionEvent" in window || delete ri.transitionend.transition);+ function oi(e) {+ if (ii[e]) return ii[e];+ if (!ri[e]) return e;+ var t = ri[e], n;+ for (n in t) if (t.hasOwnProperty(n) && n in ai) return ii[e] = t[n];+ return e;+ }+ var si = oi("animationend"), ci = oi("animationiteration"), li = oi("animationstart"), ui = oi("transitionrun"), di = oi("transitionstart"), fi = oi("transitioncancel"), pi = oi("transitionend"), mi = /* @__PURE__ */ new Map(), hi = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");+ hi.push("scrollEnd");+ function gi(e, t) {+ mi.set(e, t), Wt(t, [e]);+ }+ var _i = 0;+ function vi(e, t) {+ if (e.name != null && e.name !== "auto") return e.name;+ if (t.autoName !== null) return t.autoName;+ e = bd.identifierPrefix;+ var n = _i++;+ return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;+ }+ function yi(e) {+ if (e == null || typeof e == "string") return e;+ var t = null, n = Od;+ if (n !== null) for (var r = 0; r < n.length; r++) {+ var i = e[n[r]];+ if (i != null) {+ if (i === "none") return "none";+ t = t == null ? i : t + (" " + i);+ }+ }+ return t ?? e.default;+ }+ function bi(e, t) {+ return e = yi(e), t = yi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;+ }+ var xi = typeof reportError == "function" ? reportError : function(e) {+ if (typeof window == "object" && typeof window.ErrorEvent == "function") {+ var t = new window.ErrorEvent("error", {+ bubbles: !0,+ cancelable: !0,+ message: typeof e == "object" && e && typeof e.message == "string" ? String(e.message) : String(e),+ error: e+ });+ if (!window.dispatchEvent(t)) return;+ } else if (typeof process == "object" && typeof process.emit == "function") {+ process.emit("uncaughtException", e);+ return;+ }+ console.error(e);+ }, Si = [], Ci = 0, wi = 0;+ function Ti() {+ for (var e = Ci, t = wi = Ci = 0; t < e;) {+ var n = Si[t];+ Si[t++] = null;+ var r = Si[t];+ Si[t++] = null;+ var i = Si[t];+ Si[t++] = null;+ var a = Si[t];+ if (Si[t++] = null, r !== null && i !== null) {+ var o = r.pending;+ o === null ? i.next = i : (i.next = o.next, o.next = i), r.pending = i;+ }+ a !== 0 && ki(n, i, a);+ }+ }+ function Ei(e, t, n, r) {+ Si[Ci++] = e, Si[Ci++] = t, Si[Ci++] = n, Si[Ci++] = r, wi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);+ }+ function Di(e, t, n, r) {+ return Ei(e, t, n, r), Ai(e);+ }+ function Oi(e, t) {+ return Ei(e, null, null, t), Ai(e);+ }+ function ki(e, t, n) {+ e.lanes |= n;+ var r = e.alternate;+ r !== null && (r.lanes |= n);+ for (var i = !1, a = e.return; a !== null;) a.childLanes |= n, r = a.alternate, r !== null && (r.childLanes |= n), a.tag === 22 && (e = a.stateNode, e === null || e._visibility & 1 || (i = !0)), e = a, a = a.return;+ return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - rt(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;+ }+ function Ai(e) {+ if (50 < kd) throw kd = 0, Ad = null, Error(i(185));+ for (var t = e.return; t !== null;) e = t, t = e.return;+ return e.tag === 3 ? e.stateNode : null;+ }+ var ji = {};+ function Mi(e, t, n, r) {+ this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;+ }+ function Ni(e, t, n, r) {+ return new Mi(e, t, n, r);+ }+ function Pi(e) {+ return e = e.prototype, !(!e || !e.isReactComponent);+ }+ function Fi(e, t) {+ var n = e.alternate;+ return n === null ? (n = Ni(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {+ lanes: t.lanes,+ firstContext: t.firstContext+ }, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n.refCleanup = e.refCleanup, n;+ }+ function Ii(e, t) {+ e.flags &= 1206910978;+ var n = e.alternate;+ return n === null ? (e.childLanes = 0, e.lanes = t, e.child = null, e.subtreeFlags = 0, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.stateNode = null) : (e.childLanes = n.childLanes, e.lanes = n.lanes, e.child = n.child, e.subtreeFlags = 0, e.deletions = null, e.memoizedProps = n.memoizedProps, e.memoizedState = n.memoizedState, e.updateQueue = n.updateQueue, e.type = n.type, t = n.dependencies, e.dependencies = t === null ? null : {+ lanes: t.lanes,+ firstContext: t.firstContext+ }), e;+ }+ function Li(e, t, n, r, a, o) {+ var s = 0;+ if (r = e, typeof r == "function") Pi(r) && (s = 1);+ else if (typeof r == "string") s = qm(e, n, Oe.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;+ else a: switch (r) {+ case me: return e = Ni(31, n, t, a), e.elementType = me, e.lanes = o, e;+ case ae: return Ri(n.children, a, o, t);+ case oe:+ s = 8, a |= 24;+ break;+ case se: return e = Ni(12, n, t, a | 2), e.elementType = se, e.lanes = o, e;+ case ue: return e = Ni(13, n, t, a), e.elementType = ue, e.lanes = o, e;+ case de: return e = Ni(19, n, t, a), e.elementType = de, e.lanes = o, e;+ case he:+ case _e: return e = a | 32, e = Ni(30, n, t, e), e.elementType = _e, e.lanes = o, e.stateNode = {+ autoName: null,+ paired: null,+ clones: null,+ ref: null+ }, e;+ default:+ if (typeof r == "object" && r) switch (r.$$typeof) {+ case le:+ s = 10;+ break a;+ case ce:+ s = 9;+ break a;+ case E:+ s = 11;+ break a;+ case fe:+ s = 14;+ break a;+ case pe:+ s = 16, r = null;+ break a;+ }+ s = 29, n = Error(i(130, e === null ? "null" : typeof e, "")), r = null;+ }+ return t = Ni(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;+ }+ function Ri(e, t, n, r) {+ return e = Ni(7, e, r, t), e.lanes = n, e;+ }+ function zi(e, t, n) {+ return e = Ni(6, e, null, t), e.lanes = n, e;+ }+ function Bi(e) {+ var t = Ni(18, null, null, 0);+ return t.stateNode = e, t;+ }+ function Vi(e, t, n) {+ return t = Ni(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {+ containerInfo: e.containerInfo,+ pendingChildren: null,+ implementation: e.implementation+ }, t;+ }+ var Hi = /* @__PURE__ */ new WeakMap();+ function Ui(e, t) {+ if (typeof e == "object" && e) {+ var n = Hi.get(e);+ return n === void 0 ? (t = {+ value: e,+ source: t,+ stack: Ve(t)+ }, Hi.set(e, t), t) : n;+ }+ return {+ value: e,+ source: t,+ stack: Ve(t)+ };+ }+ var Wi = [], Gi = 0, Ki = null, qi = 0, Ji = [], Yi = 0, Xi = null, Zi = 1, Qi = "";+ function $i(e, t) {+ Wi[Gi++] = qi, Wi[Gi++] = Ki, Ki = e, qi = t;+ }+ function ea(e, t, n) {+ Ji[Yi++] = Zi, Ji[Yi++] = Qi, Ji[Yi++] = Xi, Xi = e;+ var r = Zi;+ e = Qi;+ var i = 32 - rt(r) - 1;+ r &= ~(1 << i), n += 1;+ var a = 32 - rt(t) + i;+ if (30 < a) {+ var o = i - i % 5;+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Zi = 1 << 32 - rt(t) + i | n << i | r, Qi = a + e;+ } else Zi = 1 << a | n << i | r, Qi = e;+ }+ function ta(e) {+ e.return !== null && ($i(e, 1), ea(e, 1, 0));+ }+ function na(e) {+ for (; e === Ki;) Ki = Wi[--Gi], Wi[Gi] = null, qi = Wi[--Gi], Wi[Gi] = null;+ for (; e === Xi;) Xi = Ji[--Yi], Ji[Yi] = null, Qi = Ji[--Yi], Ji[Yi] = null, Zi = Ji[--Yi], Ji[Yi] = null;+ }+ function ra(e, t) {+ Ji[Yi++] = Zi, Ji[Yi++] = Qi, Ji[Yi++] = Xi, Zi = t.id, Qi = t.overflow, Xi = e;+ }+ var ia = null, z = null, B = !1, aa = null, oa = !1, sa = Error(i(519));+ function ca(e) {+ throw ma(Ui(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), sa;+ }+ function la(e) {+ var t = e.stateNode, n = e.type, r = e.memoizedProps;+ switch (t[Et] = e, t[Dt] = r, n) {+ case "dialog":+ Q("cancel", t), Q("close", t);+ break;+ case "iframe":+ case "object":+ case "embed":+ Q("load", t);+ break;+ case "video":+ case "audio":+ for (n = 0; n < zf.length; n++) Q(zf[n], t);+ break;+ case "source":+ Q("error", t);+ break;+ case "img":+ case "image":+ case "link":+ Q("error", t), Q("load", t);+ break;+ case "details":+ Q("toggle", t);+ break;+ case "input":+ Q("invalid", t), cn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);+ break;+ case "select":+ Q("invalid", t);+ break;+ case "textarea": Q("invalid", t), fn(t, r.value, r.defaultValue, r.children);+ }+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || ep(t.textContent, n) ? (r.popover != null && (Q("beforetoggle", t), Q("toggle", t)), r.onScroll != null && Q("scroll", t), r.onScrollEnd != null && Q("scrollend", t), r.onClick != null && (t.onclick = bn), t = !0) : t = !1, t || ca(e, !0);+ }+ function ua(e) {+ for (ia = e.return; ia;) switch (ia.tag) {+ case 5:+ case 31:+ case 13:+ oa = !1;+ return;+ case 27:+ case 3:+ oa = !0;+ return;+ default: ia = ia.return;+ }+ }+ function da(e) {+ if (e !== ia) return !1;+ if (!B) return ua(e), B = !0, !1;+ var t = e.tag, n;+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || pp(e.type, e.memoizedProps)), n = !n), n && z && ca(e), ua(e), t === 13) {+ if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));+ z = dm(e);+ } else if (t === 31) {+ if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));+ z = dm(e);+ } else t === 27 ? (t = z, Sp(e.type) ? (e = um, um = null, z = e) : z = t) : z = ia ? lm(e.stateNode.nextSibling) : null;+ return !0;+ }+ function fa() {+ z = ia = null, B = !1;+ }+ function pa() {+ var e = aa;+ return e !== null && (fd === null ? fd = e : fd.push.apply(fd, e), aa = null), e;+ }+ function ma(e) {+ aa === null ? aa = [e] : aa.push(e);+ }+ var ha = Ee(null), ga = null, _a = null;+ function va(e, t, n) {+ A(ha, t._currentValue), t._currentValue = n;+ }+ function ya(e) {+ e._currentValue = ha.current, De(ha);+ }+ function ba(e, t, n) {+ for (; e !== null;) {+ var r = e.alternate;+ if ((e.childLanes & t) === t ? r !== null && (r.childLanes & t) !== t && (r.childLanes |= t) : (e.childLanes |= t, r !== null && (r.childLanes |= t)), e === n) break;+ e = e.return;+ }+ }+ function xa(e, t, n, r) {+ var a = e.child;+ for (a !== null && (a.return = e); a !== null;) {+ var o = a.dependencies;+ if (o !== null) {+ var s = a.child;+ o = o.firstContext;+ a: for (; o !== null;) {+ var c = o;+ o = a;+ for (var l = 0; l < t.length; l++) if (c.context === t[l]) {+ o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), ba(o.return, n, e), r || (s = null);+ break a;+ }+ o = c.next;+ }+ } else if (a.tag === 18) {+ if (s = a.return, s === null) throw Error(i(341));+ s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), ba(s, n, e), s = null;+ } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), ba(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;+ if (s !== null) s.return = a;+ else for (s = a; s !== null;) {+ if (s === e) {+ s = null;+ break;+ }+ if (a = s.sibling, a !== null) {+ a.return = s.return, s = a;+ break;+ }+ s = s.return;+ }+ a = s;+ }+ }+ function Sa(e, t, n, r) {+ e = null;+ for (var a = t, o = !1; a !== null;) {+ if (!o) {+ if (a.flags & 524288) o = !0;+ else if (a.flags & 262144) break;+ }+ if (a.tag === 10) {+ var s = a.alternate;+ if (s === null) throw Error(i(387));+ if (s = s.memoizedProps, s !== null) {+ var c = a.type;+ Hr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));+ }+ } else if (a === je.current) {+ if (s = a.alternate, s === null) throw Error(i(387));+ s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [sh] : e.push(sh));+ }+ a = a.return;+ }+ return e !== null && xa(t, e, n, r), t.flags |= 262144, e !== null;+ }+ function Ca(e) {+ for (e = e.firstContext; e !== null;) {+ if (!Hr(e.context._currentValue, e.memoizedValue)) return !0;+ e = e.next;+ }+ return !1;+ }+ function wa(e) {+ ga = e, _a = null, e = e.dependencies, e !== null && (e.firstContext = null);+ }+ function Ta(e) {+ return Da(ga, e);+ }+ function Ea(e, t) {+ return ga === null && wa(e), Da(e, t);+ }+ function Da(e, t) {+ var n = t._currentValue;+ if (t = {+ context: t,+ memoizedValue: n,+ next: null+ }, _a === null) {+ if (e === null) throw Error(i(308));+ _a = t, e.dependencies = {+ lanes: 0,+ firstContext: t+ }, e.flags |= 524288;+ } else _a = _a.next = t;+ return n;+ }+ var Oa = typeof AbortController < "u" ? AbortController : function() {+ var e = [], t = this.signal = {+ aborted: !1,+ addEventListener: function(t, n) {+ e.push(n);+ }+ };+ this.abort = function() {+ t.aborted = !0, e.forEach(function(e) {+ return e();+ });+ };+ }, ka = t.unstable_scheduleCallback, Aa = t.unstable_NormalPriority, ja = {+ $$typeof: le,+ Consumer: null,+ Provider: null,+ _currentValue: null,+ _currentValue2: null,+ _threadCount: 0+ };+ function Ma() {+ return {+ controller: new Oa(),+ data: /* @__PURE__ */ new Map(),+ refCount: 0+ };+ }+ function Na(e) {+ e.refCount--, e.refCount === 0 && ka(Aa, function() {+ e.controller.abort();+ });+ }+ function Pa(e, t) {+ if (e.pendingLanes & 4194048) {+ var n = e.transitionTypes;+ for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {+ var r = t[e];+ n.indexOf(r) === -1 && n.push(r);+ }+ }+ }+ var Fa = null;+ function Ia(e) {+ var t = e.transitionTypes;+ return e.transitionTypes = null, t;+ }+ var La = null, Ra = 0, za = 0, Ba = null;+ function Va(e, t) {+ if (La === null) {+ var n = La = [];+ Ra = 0, za = Pf(), Ba = {+ status: "pending",+ value: void 0,+ then: function(e) {+ n.push(e);+ }+ };+ }+ return Ra++, t.then(Ha, Ha), t;+ }+ function Ha() {+ if (--Ra === 0 && (Fa = null, La !== null)) {+ Ba !== null && (Ba.status = "fulfilled");+ var e = La;+ La = null, za = 0, Ba = null;+ for (var t = 0; t < e.length; t++) (0, e[t])();+ }+ }+ function Ua(e, t) {+ var n = [], r = {+ status: "pending",+ value: null,+ reason: null,+ then: function(e) {+ n.push(e);+ }+ };+ return e.then(function() {+ r.status = "fulfilled", r.value = t;+ for (var e = 0; e < n.length; e++) (0, n[e])(t);+ }, function(e) {+ for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);+ }), r;+ }+ var Wa = D.S;+ D.S = function(e, t) {+ if (hd = Ke(), typeof t == "object" && t && typeof t.then == "function" && Va(e, t), Fa !== null) for (var n = bf; n !== null;) Pa(n, Fa), n = n.next;+ if (n = e.types, n !== null) {+ for (var r = bf; r !== null;) Pa(r, n), r = r.next;+ if (za !== 0) {+ r = Fa, r === null && (r = Fa = []);+ for (var i = 0; i < n.length; i++) {+ var a = n[i];+ r.indexOf(a) === -1 && r.push(a);+ }+ }+ }+ Wa !== null && Wa(e, t);+ };+ var Ga = Ee(null);+ function Ka() {+ var e = Ga.current;+ return e === null ? q.pooledCache : e;+ }+ function qa(e, t) {+ t === null ? A(Ga, Ga.current) : A(Ga, t.pool);+ }+ function Ja() {+ var e = Ka();+ return e === null ? null : {+ parent: ja._currentValue,+ pool: e+ };+ }+ var Ya = Error(i(460)), Xa = Error(i(474)), Za = Error(i(542)), Qa = { then: function() {} };+ function $a(e) {+ return e = e.status, e === "fulfilled" || e === "rejected";+ }+ function eo(e, t, n) {+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(bn, bn), t = n), t.status) {+ case "fulfilled": return t.value;+ case "rejected": throw e = t.reason, io(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;+ default:+ if (typeof t.status == "string") t.then(bn, bn);+ else {+ if (e = q, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));+ e = t, e.status = "pending", e.then(function(e) {+ if (t.status === "pending") {+ var n = t;+ n.status = "fulfilled", n.value = e;+ }+ }, function(e) {+ if (t.status === "pending") {+ var n = t;+ n.status = "rejected", n.reason = e;+ }+ });+ }+ switch (t.status) {+ case "fulfilled": return t.value;+ case "rejected": throw e = t.reason, io(e), e;+ }+ throw no = t, Ya;+ }+ }+ function to(e) {+ try {+ var t = e._init;+ return t(e._payload);+ } catch (e) {+ throw typeof e == "object" && e && typeof e.then == "function" ? (no = e, Ya) : e;+ }+ }+ var no = null;+ function ro() {+ if (no === null) throw Error(i(459));+ var e = no;+ return no = null, e;+ }+ function io(e) {+ if (e === Ya || e === Za) throw Error(i(483));+ }+ var ao = null, oo = 0;+ function so(e) {+ var t = oo;+ return oo += 1, ao === null && (ao = []), eo(ao, e, t);+ }+ function co(e, t) {+ t = t.props.ref, e.ref = t === void 0 ? null : t;+ }+ function lo(e, t) {+ throw t.$$typeof === ne ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));+ }+ function uo(e) {+ function t(t, n) {+ if (e) {+ var r = t.deletions;+ r === null ? (t.deletions = [n], t.flags |= 16) : r.push(n);+ }+ }+ function n(n, r) {+ if (!e) return null;+ for (; r !== null;) t(n, r), r = r.sibling;+ return null;+ }+ function r(e) {+ for (var t = /* @__PURE__ */ new Map(); e !== null;) e.key === null ? t.set(e.index, e) : t.set(e.key, e), e = e.sibling;+ return t;+ }+ function a(e, t) {+ return e = Fi(e, t), e.index = 0, e.sibling = null, e;+ }+ function o(t, n, r) {+ return t.index = r, e ? (r = t.alternate, r === null ? (t.flags |= 134217730, n) : (r = r.index, r < n ? (t.flags |= 2, n) : r)) : (t.flags |= 1048576, n);+ }+ function s(t) {+ return e && t.alternate === null && (t.flags |= 134217730), t;+ }+ function c(e, t, n, r) {+ return t === null || t.tag !== 6 ? (t = zi(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);+ }+ function l(e, t, n, r) {+ var i = n.type;+ return i === ae ? (e = d(e, t, n.props.children, r, n.key), co(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === pe && to(i) === t.type) ? (t = a(t, n.props), co(t, n), t.return = e, t) : (t = Li(n.type, n.key, n.props, null, e.mode, r), co(t, n), t.return = e, t);+ }+ function u(e, t, n, r) {+ return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Vi(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);+ }+ function d(e, t, n, r, i) {+ return t === null || t.tag !== 7 ? (t = Ri(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);+ }+ function f(e, t, n) {+ if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = zi("" + t, e.mode, n), t.return = e, t;+ if (typeof t == "object" && t) {+ switch (t.$$typeof) {+ case re: return n = Li(t.type, t.key, t.props, null, e.mode, n), co(n, t), n.return = e, n;+ case ie: return t = Vi(t, e.mode, n), t.return = e, t;+ case pe: return t = to(t), f(e, t, n);+ }+ if (Ce(t) || be(t)) return t = Ri(t, e.mode, n, null), t.return = e, t;+ if (typeof t.then == "function") return f(e, so(t), n);+ if (t.$$typeof === le) return f(e, Ea(e, t), n);+ lo(e, t);+ }+ return null;+ }+ function p(e, t, n, r) {+ var i = t === null ? null : t.key;+ if (typeof n == "string" && n !== "" || typeof n == "number" || typeof n == "bigint") return i === null ? c(e, t, "" + n, r) : null;+ if (typeof n == "object" && n) {+ switch (n.$$typeof) {+ case re: return n.key === i ? l(e, t, n, r) : null;+ case ie: return n.key === i ? u(e, t, n, r) : null;+ case pe: return n = to(n), p(e, t, n, r);+ }+ if (Ce(n) || be(n)) return i === null ? d(e, t, n, r, null) : null;+ if (typeof n.then == "function") return p(e, t, so(n), r);+ if (n.$$typeof === le) return p(e, t, Ea(e, n), r);+ lo(e, n);+ }+ return null;+ }+ function m(e, t, n, r, i) {+ if (typeof r == "string" && r !== "" || typeof r == "number" || typeof r == "bigint") return e = e.get(n) || null, c(t, e, "" + r, i);+ if (typeof r == "object" && r) {+ switch (r.$$typeof) {+ case re: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);+ case ie: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);+ case pe: return r = to(r), m(e, t, n, r, i);+ }+ if (Ce(r) || be(r)) return e = e.get(n) || null, d(t, e, r, i, null);+ if (typeof r.then == "function") return m(e, t, n, so(r), i);+ if (r.$$typeof === le) return m(e, t, n, Ea(t, r), i);+ lo(t, r);+ }+ return null;+ }+ function h(i, a, s, c) {+ for (var l = null, u = null, d = a, h = a = 0, g = null; d !== null && h < s.length; h++) {+ d.index > h ? (g = d, d = null) : g = d.sibling;+ var _ = p(i, d, s[h], c);+ if (_ === null) {+ d === null && (d = g);+ break;+ }+ e && d && _.alternate === null && t(i, d), a = o(_, a, h), u === null ? l = _ : u.sibling = _, u = _, d = g;+ }+ if (h === s.length) return n(i, d), B && $i(i, h), l;+ if (d === null) {+ for (; h < s.length; h++) d = f(i, s[h], c), d !== null && (a = o(d, a, h), u === null ? l = d : u.sibling = d, u = d);+ return B && $i(i, h), l;+ }+ for (d = r(d); h < s.length; h++) g = m(d, i, h, s[h], c), g !== null && (e && (_ = g.alternate, _ !== null && d.delete(_.key === null ? h : _.key)), a = o(g, a, h), u === null ? l = g : u.sibling = g, u = g);+ return e && d.forEach(function(e) {+ return t(i, e);+ }), B && $i(i, h), l;+ }+ function g(a, s, c, l) {+ if (c == null) throw Error(i(151));+ for (var u = null, d = null, h = s, g = s = 0, _ = null, v = c.next(); h !== null && !v.done; g++, v = c.next()) {+ h.index > g ? (_ = h, h = null) : _ = h.sibling;+ var y = p(a, h, v.value, l);+ if (y === null) {+ h === null && (h = _);+ break;+ }+ e && h && y.alternate === null && t(a, h), s = o(y, s, g), d === null ? u = y : d.sibling = y, d = y, h = _;+ }+ if (v.done) return n(a, h), B && $i(a, g), u;+ if (h === null) {+ for (; !v.done; g++, v = c.next()) v = f(a, v.value, l), v !== null && (s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);+ return B && $i(a, g), u;+ }+ for (h = r(h); !v.done; g++, v = c.next()) v = m(h, a, g, v.value, l), v !== null && (e && (_ = v.alternate, _ !== null && h.delete(_.key === null ? g : _.key)), s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);+ return e && h.forEach(function(e) {+ return t(a, e);+ }), B && $i(a, g), u;+ }+ function _(e, r, o, c) {+ if (typeof o == "object" && o && o.type === ae && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {+ switch (o.$$typeof) {+ case re:+ a: {+ for (var l = o.key; r !== null;) {+ if (r.key === l) {+ if (l = o.type, l === ae) {+ if (r.tag === 7) {+ n(e, r.sibling), c = a(r, o.props.children), co(c, o), c.return = e, e = c;+ break a;+ }+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === pe && to(l) === r.type) {+ n(e, r.sibling), c = a(r, o.props), co(c, o), c.return = e, e = c;+ break a;+ }+ n(e, r);+ break;+ }+ t(e, r), r = r.sibling;+ }+ o.type === ae ? (c = Ri(o.props.children, e.mode, c, o.key), co(c, o), c.return = e, e = c) : (c = Li(o.type, o.key, o.props, null, e.mode, c), co(c, o), c.return = e, e = c);+ }+ return s(e);+ case ie:+ a: {+ for (l = o.key; r !== null;) {+ if (r.key === l) {+ if (r.tag === 4 && r.stateNode.containerInfo === o.containerInfo && r.stateNode.implementation === o.implementation) {+ n(e, r.sibling), c = a(r, o.children || []), c.return = e, e = c;+ break a;+ }+ n(e, r);+ break;+ }+ t(e, r), r = r.sibling;+ }+ c = Vi(o, e.mode, c), c.return = e, e = c;+ }+ return s(e);+ case pe: return o = to(o), _(e, r, o, c);+ }+ if (Ce(o)) return h(e, r, o, c);+ if (be(o)) {+ if (l = be(o), typeof l != "function") throw Error(i(150));+ return o = l.call(o), g(e, r, o, c);+ }+ if (typeof o.then == "function") return _(e, r, so(o), c);+ if (o.$$typeof === le) return _(e, r, Ea(e, o), c);+ lo(e, o);+ }+ return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = zi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);+ }+ return function(e, t, n, r) {+ try {+ oo = 0;+ var i = _(e, t, n, r);+ return ao = null, i;+ } catch (t) {+ if (t === Ya || t === Za) throw t;+ var a = Ni(29, t, null, e.mode);+ return a.lanes = r, a.return = e, a;+ }+ };+ }+ var fo = uo(!0), po = uo(!1), mo = !1;+ function ho(e) {+ e.updateQueue = {+ baseState: e.memoizedState,+ firstBaseUpdate: null,+ lastBaseUpdate: null,+ shared: {+ pending: null,+ lanes: 0,+ hiddenCallbacks: null+ },+ callbacks: null+ };+ }+ function go(e, t) {+ e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {+ baseState: e.baseState,+ firstBaseUpdate: e.firstBaseUpdate,+ lastBaseUpdate: e.lastBaseUpdate,+ shared: e.shared,+ callbacks: null+ });+ }+ function _o(e) {+ return {+ lane: e,+ tag: 0,+ payload: null,+ callback: null,+ next: null+ };+ }+ function vo(e, t, n) {+ var r = e.updateQueue;+ if (r === null) return null;+ if (r = r.shared, K & 2) {+ var i = r.pending;+ return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Ai(e), ki(e, null, n), t;+ }+ return Ei(e, r, t, n), Ai(e);+ }+ function yo(e, t, n) {+ if (t = t.updateQueue, t !== null && (t = t.shared, n & 4194048)) {+ var r = t.lanes;+ r &= e.pendingLanes, n |= r, t.lanes = n, bt(e, n);+ }+ }+ function bo(e, t) {+ var n = e.updateQueue, r = e.alternate;+ if (r !== null && (r = r.updateQueue, n === r)) {+ var i = null, a = null;+ if (n = n.firstBaseUpdate, n !== null) {+ do {+ var o = {+ lane: n.lane,+ tag: n.tag,+ payload: n.payload,+ callback: null,+ next: null+ };+ a === null ? i = a = o : a = a.next = o, n = n.next;+ } while (n !== null);+ a === null ? i = a = t : a = a.next = t;+ } else i = a = t;+ n = {+ baseState: r.baseState,+ firstBaseUpdate: i,+ lastBaseUpdate: a,+ shared: r.shared,+ callbacks: r.callbacks+ }, e.updateQueue = n;+ return;+ }+ e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;+ }+ var xo = !1;+ function So() {+ if (xo) {+ var e = Ba;+ if (e !== null) throw e;+ }+ }+ function Co(e, t, n, r) {+ xo = !1;+ var i = e.updateQueue;+ mo = !1;+ var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;+ if (s !== null) {+ i.shared.pending = null;+ var c = s, l = c.next;+ c.next = null, o === null ? a = l : o.next = l, o = c;+ var u = e.alternate;+ u !== null && (u = u.updateQueue, s = u.lastBaseUpdate, s !== o && (s === null ? u.firstBaseUpdate = l : s.next = l, u.lastBaseUpdate = c));+ }+ if (a !== null) {+ var d = i.baseState;+ o = 0, u = l = c = null, s = a;+ do {+ var f = s.lane & -536870913, p = f !== s.lane;+ if (p ? (Y & f) === f : (r & f) === f) {+ f !== 0 && f === za && (xo = !0), u !== null && (u = u.next = {+ lane: 0,+ tag: s.tag,+ payload: s.payload,+ callback: null,+ next: null+ });+ a: {+ var m = e, h = s;+ f = t;+ var g = n;+ switch (h.tag) {+ case 1:+ if (m = h.payload, typeof m == "function") {+ d = m.call(g, d, f);+ break a;+ }+ d = m;+ break a;+ case 3: m.flags = m.flags & -65537 | 128;+ case 0:+ if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;+ d = T({}, d, f);+ break a;+ case 2: mo = !0;+ }+ }+ f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));+ } else p = {+ lane: f,+ tag: s.tag,+ payload: s.payload,+ callback: s.callback,+ next: null+ }, u === null ? (l = u = p, c = d) : u = u.next = p, o |= f;+ if (s = s.next, s === null) {+ if (s = i.shared.pending, s === null) break;+ p = s, s = p.next, p.next = null, i.lastBaseUpdate = p, i.shared.pending = null;+ }+ } while (1);+ u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), od |= o, e.lanes = o, e.memoizedState = d;+ }+ }+ function wo(e, t) {+ if (typeof e != "function") throw Error(i(191, e));+ e.call(t);+ }+ function To(e, t) {+ var n = e.callbacks;+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) wo(n[e], t);+ }+ var Eo = Ee(null), Do = Ee(0);+ function Oo(e, t) {+ e = id, A(Do, e), A(Eo, t), id = e | t.baseLanes;+ }+ function ko() {+ A(Do, id), A(Eo, Eo.current);+ }+ function Ao() {+ id = Do.current, De(Eo), De(Do);+ }+ var jo = Ee(null), Mo = null;+ function No(e) {+ var t = e.alternate;+ A(Ro, Ro.current & 1), A(jo, e), Mo === null && (t === null || Eo.current !== null || t.memoizedState !== null) && (Mo = e);+ }+ function Po(e) {+ A(Ro, Ro.current), A(jo, e), Mo === null && (Mo = e);+ }+ function Fo(e) {+ e.tag === 22 ? (A(Ro, Ro.current), A(jo, e), Mo === null && (Mo = e)) : Io();+ }+ function Io() {+ A(Ro, Ro.current), A(jo, jo.current);+ }+ function Lo(e) {+ De(jo), Mo === e && (Mo = null), De(Ro);+ }+ var Ro = Ee(0);+ function zo(e, t) {+ A(jo, jo.current), A(Ro, t);+ }+ function Bo(e) {+ De(Ro), De(jo), Mo === e && (Mo = null);+ }+ function Vo(e) {+ for (var t = e; t !== null;) {+ if (t.tag === 13) {+ var n = t.memoizedState;+ if (n !== null && (n = n.dehydrated, n === null || om(n) || sm(n))) return t;+ } else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") {+ if (t.flags & 128) return t;+ } else if (t.child !== null) {+ t.child.return = t, t = t.child;+ continue;+ }+ if (t === e) break;+ for (; t.sibling === null;) {+ if (t.return === null || t.return === e) return null;+ t = t.return;+ }+ t.sibling.return = t.return, t = t.sibling;+ }+ return null;+ }+ var Ho = 0, V = null, H = null, Uo = null, Wo = !1, Go = !1, Ko = !1, qo = 0, Jo = 0, Yo = null, Xo = 0;+ function Zo() {+ throw Error(i(321));+ }+ function Qo(e, t) {+ if (t === null) return !1;+ for (var n = 0; n < t.length && n < e.length; n++) if (!Hr(e[n], t[n])) return !1;+ return !0;+ }+ function $o(e, t, n, r, i, a) {+ return Ho = a, V = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, D.H = e === null || e.memoizedState === null ? gc : _c, Ko = !1, a = n(r, i), Ko = !1, Go && (a = ts(t, n, r, i)), es(e), a;+ }+ function es(e) {+ D.H = hc;+ var t = H !== null && H.next !== null;+ if (Ho = 0, Uo = H = V = null, Wo = !1, Jo = 0, Yo = null, t) throw Error(i(300));+ e === null || Pc || (e = e.dependencies, e !== null && Ca(e) && (Pc = !0));+ }+ function ts(e, t, n, r) {+ V = e;+ var a = 0;+ do {+ if (Go && (Yo = null), Jo = 0, Go = !1, 25 <= a) throw Error(i(301));+ if (a += 1, Uo = H = null, e.updateQueue != null) {+ var o = e.updateQueue;+ o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);+ }+ D.H = vc, o = t(n, r);+ } while (Go);+ return o;+ }+ function ns() {+ var e = D.H, t = e.useState()[0];+ return t = typeof t.then == "function" ? ls(t) : t, e = e.useState()[0], (H === null ? null : H.memoizedState) !== e && (V.flags |= 1024), t;+ }+ function rs() {+ var e = qo !== 0;+ return qo = 0, e;+ }+ function is(e, t, n) {+ t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;+ }+ function as(e) {+ if (Wo) {+ for (e = e.memoizedState; e !== null;) {+ var t = e.queue;+ t !== null && (t.pending = null), e = e.next;+ }+ Wo = !1;+ }+ Ho = 0, Uo = H = V = null, Go = !1, Jo = qo = 0, Yo = null;+ }+ function os() {+ var e = {+ memoizedState: null,+ baseState: null,+ baseQueue: null,+ queue: null,+ next: null+ };+ return Uo === null ? V.memoizedState = Uo = e : Uo = Uo.next = e, Uo;+ }+ function ss() {+ if (H === null) {+ var e = V.alternate;+ e = e === null ? null : e.memoizedState;+ } else e = H.next;+ var t = Uo === null ? V.memoizedState : Uo.next;+ if (t !== null) Uo = t, H = e;+ else {+ if (e === null) throw V.alternate === null ? Error(i(467)) : Error(i(310));+ H = e, e = {+ memoizedState: H.memoizedState,+ baseState: H.baseState,+ baseQueue: H.baseQueue,+ queue: H.queue,+ next: null+ }, Uo === null ? V.memoizedState = Uo = e : Uo = Uo.next = e;+ }+ return Uo;+ }+ function cs() {+ return {+ lastEffect: null,+ events: null,+ stores: null,+ memoCache: null+ };+ }+ function ls(e) {+ var t = Jo;+ return Jo += 1, Yo === null && (Yo = []), e = eo(Yo, e, t), t = V, (Uo === null ? t.memoizedState : Uo.next) === null && (t = t.alternate, D.H = t === null || t.memoizedState === null ? gc : _c), e;+ }+ function us(e) {+ if (typeof e == "object" && e) {+ if (typeof e.then == "function") return ls(e);+ if (e.$$typeof === ve) return;+ if (e.$$typeof === le) return Ta(e);+ }+ throw Error(i(438, String(e)));+ }+ function ds(e) {+ var t = null, n = V.updateQueue;+ if (n !== null && (t = n.memoCache), t == null) {+ var r = V.alternate;+ r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {+ data: r.data.map(function(e) {+ return e.slice();+ }),+ index: 0+ })));+ }+ if (t ??= {+ data: [],+ index: 0+ }, n === null && (n = cs(), V.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = ge;+ return t.index++, n;+ }+ function fs(e, t) {+ return typeof t == "function" ? t(e) : t;+ }+ function ps(e) {+ return ms(ss(), H, e);+ }+ function ms(e, t, n) {+ var r = e.queue;+ if (r === null) throw Error(i(311));+ r.lastRenderedReducer = n;+ var a = e.baseQueue, o = r.pending;+ if (o !== null) {+ if (a !== null) {+ var s = a.next;+ a.next = o.next, o.next = s;+ }+ t.baseQueue = a = o, r.pending = null;+ }+ if (o = e.baseState, a === null) e.memoizedState = o;+ else {+ t = a.next;+ var c = s = null, l = null, u = t, d = !1;+ do {+ var f = u.lane & -536870913;+ if (f === u.lane ? (Ho & f) === f : (Y & f) === f) {+ var p = u.revertLane;+ if (p === 0) l !== null && (l = l.next = {+ lane: 0,+ revertLane: 0,+ gesture: null,+ action: u.action,+ hasEagerState: u.hasEagerState,+ eagerState: u.eagerState,+ next: null+ }), f === za && (d = !0);+ else if ((Ho & p) === p) {+ u = u.next, p === za && (d = !0);+ continue;+ } else f = {+ lane: 0,+ revertLane: u.revertLane,+ gesture: null,+ action: u.action,+ hasEagerState: u.hasEagerState,+ eagerState: u.eagerState,+ next: null+ }, l === null ? (c = l = f, s = o) : l = l.next = f, V.lanes |= p, od |= p;+ f = u.action, Ko && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);+ } else p = {+ lane: f,+ revertLane: u.revertLane,+ gesture: u.gesture,+ action: u.action,+ hasEagerState: u.hasEagerState,+ eagerState: u.eagerState,+ next: null+ }, l === null ? (c = l = p, s = o) : l = l.next = p, V.lanes |= f, od |= f;+ u = u.next;+ } while (u !== null && u !== t);+ if (l === null ? s = o : l.next = c, !Hr(o, e.memoizedState) && (Pc = !0, d && (n = Ba, n !== null))) throw n;+ e.memoizedState = o, e.baseState = s, e.baseQueue = l, r.lastRenderedState = o;+ }+ return a === null && (r.lanes = 0), [e.memoizedState, r.dispatch];+ }+ function hs(e) {+ var t = ss(), n = t.queue;+ if (n === null) throw Error(i(311));+ n.lastRenderedReducer = e;+ var r = n.dispatch, a = n.pending, o = t.memoizedState;+ if (a !== null) {+ n.pending = null;+ var s = a = a.next;+ do+ o = e(o, s.action), s = s.next;+ while (s !== a);+ Hr(o, t.memoizedState) || (Pc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;+ }+ return [o, r];+ }+ function gs(e, t, n) {+ var r = V, a = ss(), o = B;+ if (o) {+ if (n === void 0) throw Error(i(407));+ n = n();+ } else n = t();+ var s = !Hr((H || a).memoizedState, n);+ if (s && (a.memoizedState = n, Pc = !0), a = a.queue, Vs(ys.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Uo !== null && !!(Uo.memoizedState.tag & 1), Is(e ? 9 : 8, { destroy: void 0 }, vs.bind(null, r, a, n, t), null), e) {+ if (r.flags |= 2048, q === null) throw Error(i(349));+ o || Ho & 127 || _s(r, t, n);+ }+ return n;+ }+ function _s(e, t, n) {+ e.flags |= 16384, e = {+ getSnapshot: t,+ value: n+ }, t = V.updateQueue, t === null ? (t = cs(), V.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));+ }+ function vs(e, t, n, r) {+ t.value = n, t.getSnapshot = r, bs(t) && xs(e);+ }+ function ys(e, t, n) {+ return n(function() {+ bs(t) && xs(e);+ });+ }+ function bs(e) {+ var t = e.getSnapshot;+ e = e.value;+ try {+ var n = t();+ return !Hr(e, n);+ } catch {+ return !0;+ }+ }+ function xs(e) {+ var t = Oi(e, 2);+ t !== null && Pd(t, e, 2);+ }+ function Ss(e) {+ var t = os();+ if (typeof e == "function") {+ var n = e;+ if (e = n(), Ko) {+ nt(!0);+ try {+ n();+ } finally {+ nt(!1);+ }+ }+ }+ return t.memoizedState = t.baseState = e, t.queue = {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: fs,+ lastRenderedState: e+ }, t;+ }+ function Cs(e, t, n, r) {+ return e.baseState = n, ms(e, H, typeof r == "function" ? r : fs);+ }+ function ws(e, t, n, r, a) {+ if (fc(e)) throw Error(i(485));+ if (e = t.action, e !== null) {+ var o = {+ payload: a,+ action: e,+ next: null,+ isTransition: !0,+ status: "pending",+ value: null,+ reason: null,+ listeners: [],+ then: function(e) {+ o.listeners.push(e);+ }+ };+ D.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Ts(t, o)) : (o.next = n.next, t.pending = n.next = o);+ }+ }+ function Ts(e, t) {+ var n = t.action, r = t.payload, i = e.state;+ if (t.isTransition) {+ var a = D.T, o = {};+ o.types = a === null ? null : a.types, D.T = o;+ try {+ var s = n(i, r), c = D.S;+ c !== null && c(o, s), Es(e, t, s);+ } catch (n) {+ Os(e, t, n);+ } finally {+ a !== null && o.types !== null && (a.types = o.types), D.T = a;+ }+ } else try {+ a = n(i, r), Es(e, t, a);+ } catch (n) {+ Os(e, t, n);+ }+ }+ function Es(e, t, n) {+ typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {+ Ds(e, t, n);+ }, function(n) {+ return Os(e, t, n);+ }) : Ds(e, t, n);+ }+ function Ds(e, t, n) {+ t.status = "fulfilled", t.value = n, ks(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, Ts(e, n)));+ }+ function Os(e, t, n) {+ var r = e.pending;+ if (e.pending = null, r !== null) {+ r = r.next;+ do+ t.status = "rejected", t.reason = n, ks(t), t = t.next;+ while (t !== r);+ }+ e.action = null;+ }+ function ks(e) {+ e = e.listeners;+ for (var t = 0; t < e.length; t++) (0, e[t])();+ }+ function As(e, t) {+ return t;+ }+ function js(e, t) {+ if (B) {+ var n = q.formState;+ if (n !== null) {+ a: {+ var r = V;+ if (B) {+ if (z) {+ b: {+ for (var i = z, a = oa; i.nodeType !== 8;) {+ if (!a) {+ i = null;+ break b;+ }+ if (i = lm(i.nextSibling), i === null) {+ i = null;+ break b;+ }+ }+ a = i.data, i = a === "F!" || a === "F" ? i : null;+ }+ if (i) {+ z = lm(i.nextSibling), r = i.data === "F!";+ break a;+ }+ }+ ca(r);+ }+ r = !1;+ }+ r && (t = n[0]);+ }+ }+ return n = os(), n.memoizedState = n.baseState = t, r = {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: As,+ lastRenderedState: t+ }, n.queue = r, n = lc.bind(null, V, r), r.dispatch = n, r = Ss(!1), a = dc.bind(null, V, !1, r.queue), r = os(), i = {+ state: t,+ dispatch: null,+ action: e,+ pending: null+ }, r.queue = i, n = ws.bind(null, V, i, a, n), i.dispatch = n, r.memoizedState = e, [+ t,+ n,+ !1+ ];+ }+ function Ms(e) {+ return Ns(ss(), H, e);+ }+ function Ns(e, t, n) {+ if (t = ms(e, t, As)[0], e = ps(fs)[0], typeof t == "object" && t && typeof t.then == "function") try {+ var r = ls(t);+ } catch (e) {+ throw e === Ya ? Za : e;+ }+ else r = t;+ t = ss();+ var i = t.queue, a = i.dispatch;+ return n !== t.memoizedState && (V.flags |= 2048, Is(9, { destroy: void 0 }, Ps.bind(null, i, n), null)), [+ r,+ a,+ e+ ];+ }+ function Ps(e, t) {+ e.action = t;+ }+ function Fs(e) {+ var t = ss(), n = H;+ if (n !== null) return Ns(t, n, e);+ ss(), t = t.memoizedState, n = ss();+ var r = n.queue.dispatch;+ return n.memoizedState = e, [+ t,+ r,+ !1+ ];+ }+ function Is(e, t, n, r) {+ return e = {+ tag: e,+ create: n,+ deps: r,+ inst: t,+ next: null+ }, t = V.updateQueue, t === null && (t = cs(), V.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;+ }+ function Ls() {+ return ss().memoizedState;+ }+ function Rs(e, t, n, r) {+ var i = os();+ V.flags |= e, i.memoizedState = Is(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);+ }+ function zs(e, t, n, r) {+ var i = ss();+ r = r === void 0 ? null : r;+ var a = i.memoizedState.inst;+ H !== null && r !== null && Qo(r, H.memoizedState.deps) ? i.memoizedState = Is(t, a, n, r) : (V.flags |= e, i.memoizedState = Is(1 | t, a, n, r));+ }+ function Bs(e, t) {+ Rs(8390656, 8, e, t);+ }+ function Vs(e, t) {+ zs(2048, 8, e, t);+ }+ function Hs(e) {+ V.flags |= 4;+ var t = V.updateQueue;+ if (t === null) t = cs(), V.updateQueue = t, t.events = [e];+ else {+ var n = t.events;+ n === null ? t.events = [e] : n.push(e);+ }+ }+ function Us(e) {+ var t = ss().memoizedState;+ return Hs({+ ref: t,+ nextImpl: e+ }), function() {+ if (K & 2) throw Error(i(440));+ return t.impl.apply(void 0, arguments);+ };+ }+ function Ws(e, t) {+ return zs(4, 2, e, t);+ }+ function Gs(e, t) {+ return zs(4, 4, e, t);+ }+ function Ks(e, t) {+ if (typeof t == "function") {+ e = e();+ var n = t(e);+ return function() {+ typeof n == "function" ? n() : t(null);+ };+ }+ if (t != null) return e = e(), t.current = e, function() {+ t.current = null;+ };+ }+ function qs(e, t, n) {+ n = n == null ? null : n.concat([e]), zs(4, 4, Ks.bind(null, t, e), n);+ }+ function Js() {}+ function Ys(e, t) {+ var n = ss();+ t = t === void 0 ? null : t;+ var r = n.memoizedState;+ return t !== null && Qo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);+ }+ function Xs(e, t) {+ var n = ss();+ t = t === void 0 ? null : t;+ var r = n.memoizedState;+ if (t !== null && Qo(t, r[1])) return r[0];+ if (r = e(), Ko) {+ nt(!0);+ try {+ e();+ } finally {+ nt(!1);+ }+ }+ return n.memoizedState = [r, t], r;+ }+ function Zs(e, t, n) {+ return n === void 0 || Ho & 1073741824 && !(Y & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Md(), V.lanes |= e, od |= e, n);+ }+ function Qs(e, t, n, r) {+ return Hr(n, t) ? n : Eo.current === null ? !(Ho & 106) || Ho & 1073741824 && !(Y & 261930) ? (Pc = !0, e.memoizedState = n) : (e = Md(), V.lanes |= e, od |= e, t) : (e = Zs(e, n, r), Hr(e, t) || (Pc = !0), e);+ }+ function $s(e, t, n, r, i) {+ var a = O.p;+ O.p = a !== 0 && 8 > a ? a : 8;+ var o = D.T, s = {};+ s.types = o === null ? null : o.types, D.T = s, dc(e, !1, t, n);+ try {+ var c = i(), l = D.S;+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? uc(e, t, Ua(c, r), jd(e)) : uc(e, t, r, jd(e));+ } catch (n) {+ uc(e, t, {+ then: function() {},+ status: "rejected",+ reason: n+ }, jd());+ } finally {+ O.p = a, o !== null && s.types !== null && (o.types = s.types), D.T = o;+ }+ }+ function ec() {}+ function tc(e, t, n, r) {+ if (e.tag !== 5) throw Error(i(476));+ var a = nc(e).queue;+ $s(e, a, t, k, n === null ? ec : function() {+ return rc(e), n(r);+ });+ }+ function nc(e) {+ var t = e.memoizedState;+ if (t !== null) return t;+ t = {+ memoizedState: k,+ baseState: k,+ baseQueue: null,+ queue: {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: fs,+ lastRenderedState: k+ },+ next: null+ };+ var n = {};+ return t.next = {+ memoizedState: n,+ baseState: n,+ baseQueue: null,+ queue: {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: fs,+ lastRenderedState: n+ },+ next: null+ }, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;+ }+ function rc(e) {+ var t = nc(e);+ t.next === null && (t = e.alternate.memoizedState), uc(e, t.next.queue, {}, jd());+ }+ function ic() {+ return Ta(sh);+ }+ function ac() {+ return ss().memoizedState;+ }+ function oc() {+ return ss().memoizedState;+ }+ function sc(e) {+ for (var t = e.return; t !== null;) {+ switch (t.tag) {+ case 24:+ case 3:+ var n = jd();+ e = _o(n);+ var r = vo(t, e, n);+ r !== null && (Pd(r, t, n), yo(r, t, n)), t = { cache: Ma() }, e.payload = t;+ return;+ }+ t = t.return;+ }+ }+ function cc(e, t, n) {+ var r = jd();+ n = {+ lane: r,+ revertLane: 0,+ gesture: null,+ action: n,+ hasEagerState: !1,+ eagerState: null,+ next: null+ }, fc(e) ? pc(t, n) : (n = Di(e, t, n, r), n !== null && (Pd(n, e, r), mc(n, t, r)));+ }+ function lc(e, t, n) {+ uc(e, t, n, jd());+ }+ function uc(e, t, n, r) {+ var i = {+ lane: r,+ revertLane: 0,+ gesture: null,+ action: n,+ hasEagerState: !1,+ eagerState: null,+ next: null+ };+ if (fc(e)) pc(t, i);+ else {+ var a = e.alternate;+ if (e.lanes === 0 && (a === null || a.lanes === 0) && (a = t.lastRenderedReducer, a !== null)) try {+ var o = t.lastRenderedState, s = a(o, n);+ if (i.hasEagerState = !0, i.eagerState = s, Hr(s, o)) return Ei(e, t, i, 0), q === null && Ti(), !1;+ } catch {}+ if (n = Di(e, t, i, r), n !== null) return Pd(n, e, r), mc(n, t, r), !0;+ }+ return !1;+ }+ function dc(e, t, n, r) {+ if (r = {+ lane: 2,+ revertLane: Pf(),+ gesture: null,+ action: r,+ hasEagerState: !1,+ eagerState: null,+ next: null+ }, fc(e)) {+ if (t) throw Error(i(479));+ } else t = Di(e, n, r, 2), t !== null && Pd(t, e, 2);+ }+ function fc(e) {+ var t = e.alternate;+ return e === V || t !== null && t === V;+ }+ function pc(e, t) {+ Go = Wo = !0;+ var n = e.pending;+ n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;+ }+ function mc(e, t, n) {+ if (n & 4194048) {+ var r = t.lanes;+ r &= e.pendingLanes, n |= r, t.lanes = n, bt(e, n);+ }+ }+ var hc = {+ readContext: Ta,+ use: us,+ useCallback: Zo,+ useContext: Zo,+ useEffect: Zo,+ useImperativeHandle: Zo,+ useLayoutEffect: Zo,+ useInsertionEffect: Zo,+ useMemo: Zo,+ useReducer: Zo,+ useRef: Zo,+ useState: Zo,+ useDebugValue: Zo,+ useDeferredValue: Zo,+ useTransition: Zo,+ useSyncExternalStore: Zo,+ useId: Zo,+ useHostTransitionStatus: Zo,+ useFormState: Zo,+ useActionState: Zo,+ useOptimistic: Zo,+ useMemoCache: Zo,+ useCacheRefresh: Zo,+ useEffectEvent: Zo+ }, gc = {+ readContext: Ta,+ use: us,+ useCallback: function(e, t) {+ return os().memoizedState = [e, t === void 0 ? null : t], e;+ },+ useContext: Ta,+ useEffect: Bs,+ useImperativeHandle: function(e, t, n) {+ n = n == null ? null : n.concat([e]), Rs(4194308, 4, Ks.bind(null, t, e), n);+ },+ useLayoutEffect: function(e, t) {+ return Rs(4194308, 4, e, t);+ },+ useInsertionEffect: function(e, t) {+ Rs(4, 2, e, t);+ },+ useMemo: function(e, t) {+ var n = os();+ t = t === void 0 ? null : t;+ var r = e();+ if (Ko) {+ nt(!0);+ try {+ e();+ } finally {+ nt(!1);+ }+ }+ return n.memoizedState = [r, t], r;+ },+ useReducer: function(e, t, n) {+ var r = os();+ if (n !== void 0) {+ var i = n(t);+ if (Ko) {+ nt(!0);+ try {+ n(t);+ } finally {+ nt(!1);+ }+ }+ } else i = t;+ return r.memoizedState = r.baseState = i, e = {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: e,+ lastRenderedState: i+ }, r.queue = e, e = e.dispatch = cc.bind(null, V, e), [r.memoizedState, e];+ },+ useRef: function(e) {+ var t = os();+ return e = { current: e }, t.memoizedState = e;+ },+ useState: function(e) {+ e = Ss(e);+ var t = e.queue, n = lc.bind(null, V, t);+ return t.dispatch = n, [e.memoizedState, n];+ },+ useDebugValue: Js,+ useDeferredValue: function(e, t) {+ return Zs(os(), e, t);+ },+ useTransition: function() {+ var e = Ss(!1);+ return e = $s.bind(null, V, e.queue, !0, !1), os().memoizedState = e, [!1, e];+ },+ useSyncExternalStore: function(e, t, n) {+ var r = V, a = os();+ if (B) {+ if (n === void 0) throw Error(i(407));+ n = n();+ } else {+ if (n = t(), q === null) throw Error(i(349));+ Y & 127 || _s(r, t, n);+ }+ a.memoizedState = n;+ var o = {+ value: n,+ getSnapshot: t+ };+ return a.queue = o, Bs(ys.bind(null, r, o, e), [e]), r.flags |= 2048, Is(9, { destroy: void 0 }, vs.bind(null, r, o, n, t), null), n;+ },+ useId: function() {+ var e = os(), t = q.identifierPrefix;+ if (B) {+ var n = Qi, r = Zi;+ n = (r & ~(1 << 32 - rt(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = qo++, 0 < n && (t += "H" + n.toString(32)), t += "_";+ } else n = Xo++, t = "_" + t + "r_" + n.toString(32) + "_";+ return e.memoizedState = t;+ },+ useHostTransitionStatus: ic,+ useFormState: js,+ useActionState: js,+ useOptimistic: function(e) {+ var t = os();+ t.memoizedState = t.baseState = e;+ var n = {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: null,+ lastRenderedState: null+ };+ return t.queue = n, t = dc.bind(null, V, !0, n), n.dispatch = t, [e, t];+ },+ useMemoCache: ds,+ useCacheRefresh: function() {+ return os().memoizedState = sc.bind(null, V);+ },+ useEffectEvent: function(e) {+ var t = os(), n = { impl: e };+ return t.memoizedState = n, function() {+ if (K & 2) throw Error(i(440));+ return n.impl.apply(void 0, arguments);+ };+ }+ }, _c = {+ readContext: Ta,+ use: us,+ useCallback: Ys,+ useContext: Ta,+ useEffect: Vs,+ useImperativeHandle: qs,+ useInsertionEffect: Ws,+ useLayoutEffect: Gs,+ useMemo: Xs,+ useReducer: ps,+ useRef: Ls,+ useState: function() {+ return ps(fs);+ },+ useDebugValue: Js,+ useDeferredValue: function(e, t) {+ return Qs(ss(), H.memoizedState, e, t);+ },+ useTransition: function() {+ var e = ps(fs)[0], t = ss().memoizedState;+ return [typeof e == "boolean" ? e : ls(e), t];+ },+ useSyncExternalStore: gs,+ useId: ac,+ useHostTransitionStatus: ic,+ useFormState: Ms,+ useActionState: Ms,+ useOptimistic: function(e, t) {+ return Cs(ss(), H, e, t);+ },+ useMemoCache: ds,+ useCacheRefresh: oc,+ useEffectEvent: Us+ }, vc = {+ readContext: Ta,+ use: us,+ useCallback: Ys,+ useContext: Ta,+ useEffect: Vs,+ useImperativeHandle: qs,+ useInsertionEffect: Ws,+ useLayoutEffect: Gs,+ useMemo: Xs,+ useReducer: hs,+ useRef: Ls,+ useState: function() {+ return hs(fs);+ },+ useDebugValue: Js,+ useDeferredValue: function(e, t) {+ var n = ss();+ return H === null ? Zs(n, e, t) : Qs(n, H.memoizedState, e, t);+ },+ useTransition: function() {+ var e = hs(fs)[0], t = ss().memoizedState;+ return [typeof e == "boolean" ? e : ls(e), t];+ },+ useSyncExternalStore: gs,+ useId: ac,+ useHostTransitionStatus: ic,+ useFormState: Fs,+ useActionState: Fs,+ useOptimistic: function(e, t) {+ var n = ss();+ return H === null ? (n.baseState = e, [e, n.queue.dispatch]) : Cs(n, H, e, t);+ },+ useMemoCache: ds,+ useCacheRefresh: oc,+ useEffectEvent: Us+ };+ function yc(e, t, n, r) {+ t = e.memoizedState, n = n(r, t), n = n == null ? t : T({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);+ }+ var bc = {+ enqueueSetState: function(e, t, n) {+ e = e._reactInternals;+ var r = jd(), i = _o(r);+ i.payload = t, n != null && (i.callback = n), t = vo(e, i, r), t !== null && (Pd(t, e, r), yo(t, e, r));+ },+ enqueueReplaceState: function(e, t, n) {+ e = e._reactInternals;+ var r = jd(), i = _o(r);+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = vo(e, i, r), t !== null && (Pd(t, e, r), yo(t, e, r));+ },+ enqueueForceUpdate: function(e, t) {+ e = e._reactInternals;+ var n = jd(), r = _o(n);+ r.tag = 2, t != null && (r.callback = t), t = vo(e, r, n), t !== null && (Pd(t, e, n), yo(t, e, n));+ }+ };+ function xc(e, t, n, r, i, a, o) {+ return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !Ur(n, r) || !Ur(i, a) : !0;+ }+ function Sc(e, t, n, r) {+ e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && bc.enqueueReplaceState(t, t.state, null);+ }+ function Cc(e, t) {+ var n = t;+ if ("ref" in t) for (var r in n = {}, t) r !== "ref" && (n[r] = t[r]);+ if (e = e.defaultProps) for (var i in n === t && (n = T({}, n)), e) n[i] === void 0 && (n[i] = e[i]);+ return n;+ }+ function wc(e) {+ xi(e);+ }+ function Tc(e) {+ console.error(e);+ }+ function Ec(e) {+ xi(e);+ }+ function Dc(e, t) {+ try {+ var n = e.onUncaughtError;+ n(t.value, { componentStack: t.stack });+ } catch (e) {+ setTimeout(function() {+ throw e;+ });+ }+ }+ function Oc(e, t, n) {+ try {+ var r = e.onCaughtError;+ r(n.value, {+ componentStack: n.stack,+ errorBoundary: t.tag === 1 ? t.stateNode : null+ });+ } catch (e) {+ setTimeout(function() {+ throw e;+ });+ }+ }+ function kc(e, t, n) {+ return n = _o(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {+ Dc(e, t);+ }, n;+ }+ function Ac(e) {+ return e = _o(e), e.tag = 3, e;+ }+ function jc(e, t, n, r) {+ var i = n.type.getDerivedStateFromError;+ if (typeof i == "function") {+ var a = r.value;+ e.payload = function() {+ return i(a);+ }, e.callback = function() {+ Oc(t, n, r);+ };+ }+ var o = n.stateNode;+ o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {+ Oc(t, n, r), typeof i != "function" && (vd === null ? vd = /* @__PURE__ */ new Set([this]) : vd.add(this));+ var e = r.stack;+ this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });+ });+ }+ function Mc(e, t, n, r, a) {+ if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {+ if (t = n.alternate, t !== null && Sa(t, n, a, !0), n = jo.current, n !== null) {+ switch (n.tag) {+ case 31:+ case 13:+ case 19: return Mo === null ? Kd() : n.alternate === null && ad === 0 && (ad = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Qa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), mf(e, r, a)), !1;+ case 22: return n.flags |= 65536, r === Qa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {+ transitions: null,+ markerInstances: null,+ retryQueue: /* @__PURE__ */ new Set([r])+ }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), mf(e, r, a)), !1;+ }+ throw Error(i(435, n.tag));+ }+ return mf(e, r, a), Kd(), !1;+ }+ if (B) return t = jo.current, t === null ? (r !== sa && (t = Error(i(423), { cause: r }), ma(Ui(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Ui(r, n), a = kc(e.stateNode, r, a), bo(e, a), ad !== 4 && (ad = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== sa && (e = Error(i(422), { cause: r }), ma(Ui(e, n)))), !1;+ var o = Error(i(520), { cause: r });+ if (o = Ui(o, n), dd === null ? dd = [o] : dd.push(o), ad !== 4 && (ad = 2), t === null) return !0;+ r = Ui(r, n), n = t;+ do {+ switch (n.tag) {+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = kc(n.stateNode, r, e), bo(n, e), !1;+ case 1:+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (vd === null || !vd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Ac(a), jc(a, e, n, r), bo(n, a), !1;+ break;+ case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;+ }+ n = n.return;+ } while (n !== null);+ return !1;+ }+ var Nc = Error(i(461)), Pc = !1;+ function Fc(e, t, n, r) {+ t.child = e === null ? po(t, null, n, r) : fo(t, e.child, n, r);+ }+ function Ic(e, t, n, r, i) {+ n = n.render;+ var a = t.ref;+ if ("ref" in r) {+ var o = {};+ for (var s in r) s !== "ref" && (o[s] = r[s]);+ } else o = r;+ return wa(t), r = $o(e, t, n, o, a, i), s = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (B && s && ta(t), t.flags |= 1, Fc(e, t, r, i), t.child);+ }+ function Lc(e, t, n, r, i) {+ if (e === null) {+ var a = n.type;+ return typeof a == "function" && !Pi(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Rc(e, t, a, r, i)) : (e = Li(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);+ }+ if (a = e.child, !dl(e, i)) {+ var o = a.memoizedProps;+ if (n = n.compare, n = n === null ? Ur : n, n(o, r) && e.ref === t.ref) return ul(e, t, i);+ }+ return t.flags |= 1, e = Fi(a, r), e.ref = t.ref, e.return = t, t.child = e;+ }+ function Rc(e, t, n, r, i) {+ if (e !== null) {+ var a = e.memoizedProps;+ if (Ur(a, r) && e.ref === t.ref) {+ if (Pc = !1, t.pendingProps = r = a, dl(e, i)) e.flags & 131072 && (Pc = !0);+ else return t.lanes = e.lanes, ul(e, t, i);+ }+ }+ return Kc(e, t, n, r, i);+ }+ function zc(e, t, n, r) {+ var i = r.children, a = e === null ? null : e.memoizedState;+ if (e === null && t.stateNode === null && (t.stateNode = {+ _visibility: 1,+ _pendingMarkers: null,+ _retryCache: null,+ _transitions: null+ }), r.mode === "hidden") {+ if (t.flags & 128) {+ if (a = a === null ? n : a.baseLanes | n, e !== null) {+ for (r = t.child = e.child, i = 0; r !== null;) i = i | r.lanes | r.childLanes, r = r.sibling;+ r = i & ~a;+ } else r = 0, t.child = null;+ return Vc(e, t, a, n, r);+ }+ if (n & 536870912) t.memoizedState = {+ baseLanes: 0,+ cachePool: null+ }, e !== null && qa(t, a === null ? null : a.cachePool), a === null ? ko() : Oo(t, a), Fo(t);+ else return r = t.lanes = 536870912, Vc(e, t, a === null ? n : a.baseLanes | n, n, r);+ } else a === null ? (e !== null && qa(t, null), ko(), Io()) : (qa(t, a.cachePool), Oo(t, a), Io(), t.memoizedState = null);+ return Fc(e, t, i, n), t.child;+ }+ function Bc(e, t) {+ return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {+ _visibility: 1,+ _pendingMarkers: null,+ _retryCache: null,+ _transitions: null+ }), t.sibling;+ }+ function Vc(e, t, n, r, i) {+ var a = Ka();+ return a = a === null ? null : {+ parent: ja._currentValue,+ pool: a+ }, t.memoizedState = {+ baseLanes: n,+ cachePool: a+ }, e !== null && qa(t, null), ko(), Fo(t), e !== null && Sa(e, t, r, !0), t.childLanes = i, null;+ }+ function Hc(e, t) {+ return t = tl({+ mode: t.mode,+ children: t.children+ }, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;+ }+ function Uc(e, t, n) {+ return fo(t, e.child, null, n), e = Hc(t, t.pendingProps), e.flags |= 2, Lo(t), t.memoizedState = null, e;+ }+ function Wc(e, t, n) {+ var r = t.pendingProps, a = !!(t.flags & 128);+ if (t.flags &= -129, e === null) {+ if (B) {+ if (r.mode === "hidden") return e = Hc(t, r), t.lanes = 536870912, e.memoizedState = {+ baseLanes: 0,+ cachePool: null+ }, Bc(null, e);+ if (Po(t), (e = z) ? (e = am(e, oa), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {+ dehydrated: e,+ treeContext: Xi === null ? null : {+ id: Zi,+ overflow: Qi+ },+ retryLane: 536870912,+ hydrationErrors: null+ }, n = Bi(e), n.return = t, t.child = n, ia = t, z = null)) : e = null, e === null) throw ca(t);+ return t.lanes = 536870912, null;+ }+ return Hc(t, r);+ }+ var o = e.memoizedState;+ if (o !== null) {+ var s = o.dehydrated;+ if (Po(t), a) {+ if (t.flags & 256) t.flags &= -257, t = Uc(e, t, n);+ else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;+ else throw Error(i(558));+ } else if (Pc || Sa(e, t, n, !1), a = (n & e.childLanes) !== 0, Pc || a) {+ if (Eo.current === null) {+ if (r = q, r !== null && (s = xt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Oi(e, s), Pd(r, e, s), Nc;+ Kd();+ }+ t = Uc(e, t, n);+ } else e = o.treeContext, z = lm(s.nextSibling), ia = t, B = !0, aa = null, oa = !1, e !== null && ra(t, e), t = Hc(t, r), t.flags |= 134221824;+ return t;+ }+ return e = Fi(e.child, {+ mode: r.mode,+ children: r.children+ }), e.ref = t.ref, t.child = e, e.return = t, e;+ }+ function Gc(e, t) {+ var n = t.ref;+ if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);+ else {+ if (typeof n != "function" && typeof n != "object") throw Error(i(284));+ (e === null || e.ref !== n) && (t.flags |= 4194816);+ }+ }+ function Kc(e, t, n, r, i) {+ return wa(t), n = $o(e, t, n, r, void 0, i), r = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (B && r && ta(t), t.flags |= 1, Fc(e, t, n, i), t.child);+ }+ function qc(e, t, n, r, i, a) {+ return wa(t), t.updateQueue = null, n = ts(t, r, n, i), es(e), r = rs(), e !== null && !Pc ? (is(e, t, a), ul(e, t, a)) : (B && r && ta(t), t.flags |= 1, Fc(e, t, n, a), t.child);+ }+ function Jc(e, t, n, r, i) {+ if (wa(t), t.stateNode === null) {+ var a = ji, o = n.contextType;+ typeof o == "object" && o && (a = Ta(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = bc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, ho(t), o = n.contextType, a.context = typeof o == "object" && o ? Ta(o) : ji, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (yc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && bc.enqueueReplaceState(a, a.state, null), Co(t, r, a, i), So(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;+ } else if (e === null) {+ a = t.stateNode;+ var s = t.memoizedProps, c = Cc(n, s);+ a.props = c;+ var l = a.context, u = n.contextType;+ o = ji, typeof u == "object" && u && (o = Ta(u));+ var d = n.getDerivedStateFromProps;+ u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && Sc(t, a, r, o), mo = !1;+ var f = t.memoizedState;+ a.state = f, Co(t, r, a, i), So(), l = t.memoizedState, s || f !== l || mo ? (typeof d == "function" && (yc(t, n, d, r), l = t.memoizedState), (c = mo || xc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);+ } else {+ a = t.stateNode, go(e, t), o = t.memoizedProps, u = Cc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = ji, typeof l == "object" && l && (c = Ta(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && Sc(t, a, r, c), mo = !1, f = t.memoizedState, a.state = f, Co(t, r, a, i), So();+ var p = t.memoizedState;+ o !== d || f !== p || mo || e !== null && e.dependencies !== null && Ca(e.dependencies) ? (typeof s == "function" && (yc(t, n, s, r), p = t.memoizedState), (u = mo || xc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && Ca(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);+ }+ return a = r, Gc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = fo(t, e.child, null, i), t.child = fo(t, null, n, i)) : Fc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ul(e, t, i), e;+ }+ function Yc(e, t, n, r) {+ return fa(), t.flags |= 256, Fc(e, t, n, r), t.child;+ }+ var Xc = {+ dehydrated: null,+ treeContext: null,+ retryLane: 0,+ hydrationErrors: null+ };+ function Zc(e) {+ return {+ baseLanes: e,+ cachePool: Ja()+ };+ }+ function Qc(e, t, n) {+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= ld), e;+ }+ function $c(e, t, n) {+ var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;+ if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Ro.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {+ if (B) {+ if (i ? No(t) : Io(), (e = z) ? (e = am(e, oa), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {+ dehydrated: e,+ treeContext: Xi === null ? null : {+ id: Zi,+ overflow: Qi+ },+ retryLane: 536870912,+ hydrationErrors: null+ }, n = Bi(e), n.return = t, t.child = n, ia = t, z = null)) : e = null, e === null) throw ca(t);+ return t.lanes = sm(e) ? 32 : 536870912, null;+ }+ return a = r.children, r = r.fallback, i ? (Io(), i = t.mode, a = tl({+ mode: "hidden",+ children: a+ }, i), r = Ri(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Zc(n), r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(null, r)) : (No(t), el(t, a));+ }+ var s = e.memoizedState;+ if (s !== null) {+ var c = s.dehydrated;+ if (c !== null) return rl(e, t, a, o, r, c, s, n);+ }+ return i ? (Io(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Fi(s, {+ mode: "hidden",+ children: r.children+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Ri(i, a, n, null), i.flags |= 2) : i = Fi(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Bc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Zc(n) : (a = i.cachePool, a === null ? a = Ja() : (s = ja._currentValue, a = a.parent === s ? a : {+ parent: s,+ pool: s+ }), i = {+ baseLanes: i.baseLanes | n,+ cachePool: a+ }), r.memoizedState = i, r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(e.child, r)) : (No(t), n = e.child, e = n.sibling, n = Fi(n, {+ mode: "visible",+ children: r.children+ }), n.return = t, n.sibling = null, e !== null && (o = t.deletions, o === null ? (t.deletions = [e], t.flags |= 16) : o.push(e)), t.child = n, t.memoizedState = null, n);+ }+ function el(e, t) {+ return t = tl({+ mode: "visible",+ children: t+ }, e.mode), t.return = e, e.child = t;+ }+ function tl(e, t) {+ return e = Ni(22, e, null, t), e.lanes = 0, e;+ }+ function nl(e, t, n) {+ return fo(t, e.child, null, n), e = el(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;+ }+ function rl(e, t, n, r, a, o, s, c) {+ if (n) return t.flags & 256 ? (No(t), t.flags &= -257, nl(e, t, c)) : t.memoizedState === null ? (Io(), o = a.fallback, s = t.mode, a = tl({+ mode: "visible",+ children: a.children+ }, s), o = Ri(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, fo(t, e.child, null, c), a = t.child, a.memoizedState = Zc(c), a.childLanes = Qc(e, r, c), t.memoizedState = Xc, Bc(null, a)) : (Io(), t.child = e.child, t.flags |= 128, null);+ if (No(t), sm(o)) {+ if (r = o.nextSibling && o.nextSibling.dataset, r) var l = r.dgst;+ return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, ma({+ value: a,+ source: null,+ stack: null+ })), nl(e, t, c);+ }+ if (Pc || Sa(e, t, c, !1), r = (c & e.childLanes) !== 0, Pc || r) {+ if (Eo.current !== null) return nl(e, t, c);+ if (r = q, r !== null && (a = xt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Oi(e, a), Pd(r, e, a), Nc;+ return om(o) || Kd(), nl(e, t, c);+ }+ return om(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, z = lm(o.nextSibling), ia = t, B = !0, aa = null, oa = !1, e !== null && ra(t, e), t = el(t, a.children), t.flags |= 134221824, t);+ }+ function il(e, t, n) {+ e.lanes |= t;+ var r = e.alternate;+ r !== null && (r.lanes |= t), ba(e.return, t, n);+ }+ function al(e) {+ for (var t = null; e !== null;) {+ var n = e.alternate;+ n !== null && Vo(n) === null && (t = e), e = e.sibling;+ }+ return t;+ }+ function ol(e, t, n, r, i, a) {+ var o = e.memoizedState;+ o === null ? e.memoizedState = {+ isBackwards: t,+ rendering: null,+ renderingStartTime: 0,+ last: r,+ tail: n,+ tailMode: i,+ treeForkCount: a+ } : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i, o.treeForkCount = a);+ }+ function sl(e) {+ var t = e.child;+ for (e.child = null; t !== null;) {+ var n = t.sibling;+ t.sibling = e.child, e.child = t, t = n;+ }+ }+ function cl(e, t, n) {+ var r = t.pendingProps, i = r.revealOrder, a = r.tail;+ r = r.children;+ var o = Ro.current;+ if (t.flags & 128) return zo(t, o), null;+ var s = !!(o & 2);+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, zo(t, o), i === "backwards" && e !== null ? (sl(e), Fc(e, t, r, n), sl(e)) : Fc(e, t, r, n), r = B ? qi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {+ if (e.tag === 13) e.memoizedState !== null && il(e, n, t);+ else if (e.tag === 19) il(e, n, t);+ else if (e.child !== null) {+ e.child.return = e, e = e.child;+ continue;+ }+ if (e === t) break a;+ for (; e.sibling === null;) {+ if (e.return === null || e.return === t) break a;+ e = e.return;+ }+ e.sibling.return = e.return, e = e.sibling;+ }+ switch (i) {+ case "backwards":+ n = al(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, sl(t)), ol(t, !0, i, null, a, r);+ break;+ case "unstable_legacy-backwards":+ for (n = null, i = t.child, t.child = null; i !== null;) {+ if (e = i.alternate, e !== null && Vo(e) === null) {+ t.child = i;+ break;+ }+ e = i.sibling, i.sibling = n, n = i, i = e;+ }+ ol(t, !0, n, null, a, r);+ break;+ case "together":+ ol(t, !1, null, null, void 0, r);+ break;+ case "independent":+ t.memoizedState = null;+ break;+ default: n = al(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), ol(t, !1, i, n, a, r);+ }+ return t.child;+ }+ function ll(e, t, n) {+ var r = t.pendingProps;+ return va(t, t.type, r.value), Fc(e, t, r.children, n), t.child;+ }+ function ul(e, t, n) {+ if (e !== null && (t.dependencies = e.dependencies), od |= t.lanes, (n & t.childLanes) === 0) {+ if (e !== null) {+ if (Sa(e, t, n, !1), (n & t.childLanes) === 0) return null;+ } else return null;+ }+ if (e !== null && t.child !== e.child) throw Error(i(153));+ if (t.child !== null) {+ for (e = t.child, n = Fi(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = Fi(e, e.pendingProps), n.return = t;+ n.sibling = null;+ }+ return t.child;+ }+ function dl(e, t) {+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && Ca(e)));+ }+ function fl(e, t, n) {+ switch (t.tag) {+ case 3:+ j(t, t.stateNode.containerInfo), va(t, ja, e.memoizedState.cache), fa();+ break;+ case 27:+ case 5:+ Ne(t);+ break;+ case 4:+ j(t, t.stateNode.containerInfo);+ break;+ case 10:+ va(t, t.type, t.memoizedProps.value);+ break;+ case 31:+ if (t.memoizedState !== null) return t.flags |= 128, Po(t), null;+ break;+ case 13:+ var r = t.memoizedState;+ if (r !== null) {+ if (r.dehydrated !== null) return No(t), t.flags |= 128, null;+ r = Sa(e, t, n, !1);+ var i = t.child.childLanes;+ return r || (n & i) !== 0 ? $c(e, t, n) : (No(t), e = ul(e, t, n), e === null ? null : e.sibling);+ }+ No(t);+ break;+ case 19:+ if (t.flags & 128) return cl(e, t, n);+ if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (Sa(e, t, n, !1), (n & t.childLanes) !== 0), i) {+ if (r) return cl(e, t, n);+ t.flags |= 128;+ }+ if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), zo(t, Ro.current), r) break;+ return null;+ case 22: return t.lanes = 0, zc(e, t, n, t.pendingProps);+ case 24: va(t, ja, e.memoizedState.cache);+ }+ return ul(e, t, n);+ }+ function pl(e, t, n) {+ if (e !== null) {+ if (e.memoizedProps !== t.pendingProps) Pc = !0;+ else {+ if (!dl(e, n) && !(t.flags & 128)) return Pc = !1, fl(e, t, n);+ Pc = !!(e.flags & 131072);+ }+ } else Pc = !1, B && t.flags & 1048576 && ea(t, qi, t.index);+ switch (t.lanes = 0, t.tag) {+ case 16:+ a: {+ var r = t.pendingProps;+ if (e = to(t.elementType), t.type = e, typeof e == "function") Pi(e) ? (r = Cc(e, r), t.tag = 1, t = Jc(null, t, e, r, n)) : (t.tag = 0, t = Kc(null, t, e, r, n));+ else {+ if (e != null) {+ var a = e.$$typeof;+ if (a === E) {+ t.tag = 11, t = Ic(null, t, e, r, n);+ break a;+ }+ if (a === fe) {+ t.tag = 14, t = Lc(null, t, e, r, n);+ break a;+ }+ if (a === le) {+ t.tag = 10, t.type = e, t = ll(null, t, n);+ break a;+ }+ }+ throw t = Se(e) || e, Error(i(306, t, ""));+ }+ }+ return t;+ case 0: return Kc(e, t, t.type, t.pendingProps, n);+ case 1: return r = t.type, a = Cc(r, t.pendingProps), Jc(e, t, r, a, n);+ case 3:+ a: {+ if (j(t, t.stateNode.containerInfo), e === null) throw Error(i(387));+ r = t.pendingProps;+ var o = t.memoizedState;+ a = o.element, go(e, t), Co(t, r, null, n);+ var s = t.memoizedState;+ if (r = s.cache, va(t, ja, r), r !== o.cache && xa(t, [ja], n, !0), So(), r = s.element, o.isDehydrated) {+ if (o = {+ element: r,+ isDehydrated: !1,+ cache: s.cache+ }, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {+ t = Yc(e, t, r, n);+ break a;+ }+ if (r !== a) {+ a = Ui(Error(i(424)), t), ma(a), t = Yc(e, t, r, n);+ break a;+ }+ switch (e = t.stateNode.containerInfo, e.nodeType) {+ case 9:+ e = e.body;+ break;+ default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;+ }+ for (z = lm(e.firstChild), ia = t, B = !0, aa = null, oa = !0, n = po(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;+ } else {+ if (fa(), r === a) {+ t = ul(e, t, n);+ break a;+ }+ Fc(e, t, r, n);+ }+ t = t.child;+ }+ return t;+ case 26: return Gc(e, t), e === null ? (n = Nm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : B || (t.stateNode = fp(t.type, t.pendingProps, Ae.current, t)) : t.memoizedState = Nm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;+ case 27: return Ne(t), e === null && B && (r = t.stateNode = hm(t.type, t.pendingProps, Ae.current), ia = t, oa = !0, a = z, Sp(t.type) ? (um = a, z = lm(r.firstChild)) : z = a), Fc(e, t, t.pendingProps.children, n), Gc(e, t), e === null && (t.flags |= 4194304), t.child;+ case 5: return e === null && B && ((a = r = z) && (r = rm(r, t.type, t.pendingProps, oa), r === null ? a = !1 : (t.stateNode = r, ia = t, z = lm(r.firstChild), oa = !1, a = !0)), a || ca(t)), Ne(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, pp(a, o) ? r = null : s !== null && pp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = $o(e, t, ns, null, null, n), sh._currentValue = a), Gc(e, t), Fc(e, t, r, n), t.child;+ case 6: return e === null && B && ((e = n = z) && (n = im(n, t.pendingProps, oa), n === null ? e = !1 : (t.stateNode = n, ia = t, z = null, e = !0)), e || ca(t)), null;+ case 13: return $c(e, t, n);+ case 4: return j(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = fo(t, null, r, n) : Fc(e, t, r, n), t.child;+ case 11: return Ic(e, t, t.type, t.pendingProps, n);+ case 7: return r = t.pendingProps, Gc(e, t), Fc(e, t, r, n), t.child;+ case 8: return Fc(e, t, t.pendingProps.children, n), t.child;+ case 12: return Fc(e, t, t.pendingProps.children, n), t.child;+ case 10: return ll(e, t, n);+ case 9: return a = t.type._context, r = t.pendingProps.children, wa(t), a = Ta(a), r = r(a), t.flags |= 1, Fc(e, t, r, n), t.child;+ case 14: return Lc(e, t, t.type, t.pendingProps, n);+ case 15: return Rc(e, t, t.type, t.pendingProps, n);+ case 19: return cl(e, t, n);+ case 31: return Wc(e, t, n);+ case 22: return zc(e, t, n, t.pendingProps);+ case 24: return wa(t), r = Ta(ja), e === null ? (a = Ka(), a === null && (a = q, o = Ma(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {+ parent: r,+ cache: a+ }, ho(t), va(t, ja, a)) : ((e.lanes & n) !== 0 && (go(e, t), Co(t, null, null, n), So()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, va(t, ja, r), r !== a.cache && xa(t, [ja], n, !0)) : (a = {+ parent: r,+ cache: r+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), va(t, ja, r))), Fc(e, t, t.pendingProps.children, n), t.child;+ case 30: return t.stateNode === null && (t.stateNode = {+ autoName: null,+ paired: null,+ clones: null,+ ref: null+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : B && ta(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Gc(e, t), Fc(e, t, r.children, n), t.child;+ case 29: throw t.pendingProps;+ }+ throw Error(i(156, t.tag));+ }+ function ml(e) {+ e.flags |= 4;+ }+ function hl(e, t, n, r, i) {+ var a;+ if ((a = !!(e.mode & 32)) && (a = n === null ? Jm(t, r) : Jm(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {+ if (e.flags |= 16777216, (i & 335544128) === i) {+ if (e.stateNode.complete) e.flags |= 8192;+ else if (Ud()) e.flags |= 8192;+ else throw no = Qa, Xa;+ }+ } else e.flags &= -16777217;+ }+ function gl(e, t) {+ if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;+ else if (e.flags |= 16777216, !Ym(t)) {+ if (Ud()) e.flags |= 8192;+ else throw no = Qa, Xa;+ }+ }+ function _l(e, t) {+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ht(), e.lanes |= t, ud |= t);+ }+ function vl(e, t) {+ if (!B) switch (e.tailMode) {+ case "visible": break;+ case "collapsed":+ for (var n = e.tail, r = null; n !== null;) n.alternate !== null && (r = n), n = n.sibling;+ r === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : r.sibling = null;+ break;+ default:+ for (t = e.tail, n = null; t !== null;) t.alternate !== null && (n = t), t = t.sibling;+ n === null ? e.tail = null : n.sibling = null;+ }+ }+ function U(e) {+ var t = e.alternate !== null && e.alternate.child === e.child, n = 0, r = 0;+ if (t) for (var i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags & 1206910976, r |= i.flags & 1206910976, i.return = e, i = i.sibling;+ else for (i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags, r |= i.flags, i.return = e, i = i.sibling;+ return e.subtreeFlags |= r, e.childLanes = n, t;+ }+ function yl(e, t, n) {+ var r = t.pendingProps;+ switch (na(t), t.tag) {+ case 16:+ case 15:+ case 0:+ case 11:+ case 7:+ case 8:+ case 12:+ case 9:+ case 14: return U(t), null;+ case 1: return U(t), null;+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), ya(ja), Me(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (da(t) ? ml(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, pa())), U(t), null;+ case 26:+ var a = t.type, o = t.memoizedState;+ return e === null ? (ml(t), o === null ? (U(t), hl(t, a, null, r, n)) : (U(t), gl(t, o))) : o ? o === e.memoizedState ? (U(t), t.flags &= -16777217) : (ml(t), U(t), gl(t, o)) : (e = e.memoizedProps, e !== r && ml(t), U(t), hl(t, a, e, r, n)), null;+ case 27:+ if (Pe(t), n = Ae.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);+ else {+ if (!r) {+ if (t.stateNode === null) throw Error(i(166));+ return U(t), t.subtreeFlags &= -33554433, null;+ }+ e = Oe.current, da(t) ? la(t, e) : (e = hm(a, r, n), t.stateNode = e, ml(t));+ }+ return U(t), t.subtreeFlags &= -33554433, null;+ case 5:+ if (Pe(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);+ else {+ if (!r) {+ if (t.stateNode === null) throw Error(i(166));+ return U(t), t.subtreeFlags &= -33554433, null;+ }+ if (o = Oe.current, da(t)) la(t, o);+ else {+ var s = lp(Ae.current);+ switch (o) {+ case 1:+ o = s.createElementNS("http://www.w3.org/2000/svg", a);+ break;+ case 2:+ o = s.createElementNS("http://www.w3.org/1998/Math/MathML", a);+ break;+ default: switch (a) {+ case "svg":+ o = s.createElementNS("http://www.w3.org/2000/svg", a);+ break;+ case "math":+ o = s.createElementNS("http://www.w3.org/1998/Math/MathML", a);+ break;+ case "script":+ o = s.createElement("div"), o.innerHTML = "<script><\/script>", o = o.removeChild(o.firstChild);+ break;+ case "select":+ o = typeof r.is == "string" ? s.createElement("select", { is: r.is }) : s.createElement("select"), r.multiple ? o.multiple = !0 : r.size && (o.size = r.size);+ break;+ default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);+ }+ }+ o[Et] = t, o[Dt] = r;+ a: for (s = t.child; s !== null;) {+ if (s.tag === 5 || s.tag === 6) o.appendChild(s.stateNode);+ else if (s.tag !== 4 && s.tag !== 27 && s.child !== null) {+ s.child.return = s, s = s.child;+ continue;+ }+ if (s === t) break a;+ for (; s.sibling === null;) {+ if (s.return === null || s.return === t) break a;+ s = s.return;+ }+ s.sibling.return = s.return, s = s.sibling;+ }+ t.stateNode = o;+ a: switch (np(o, a, r), a) {+ case "button":+ case "input":+ case "select":+ case "textarea":+ r = !!r.autoFocus;+ break a;+ case "img":+ r = !0;+ break a;+ default: r = !1;+ }+ r && ml(t);+ }+ }+ return U(t), t.subtreeFlags &= -33554433, hl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;+ case 6:+ if (e && t.stateNode != null) e.memoizedProps !== r && ml(t);+ else {+ if (typeof r != "string" && t.stateNode === null) throw Error(i(166));+ if (e = Ae.current, da(t)) {+ if (e = t.stateNode, n = t.memoizedProps, r = null, a = ia, a !== null) switch (a.tag) {+ case 27:+ case 5: r = a.memoizedProps;+ }+ e[Et] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || ep(e.nodeValue, n)), e || ca(t, !0);+ } else e = lp(e).createTextNode(r), e[Et] = t, t.stateNode = e;+ }+ return U(t), null;+ case 31:+ if (n = t.memoizedState, e === null || e.memoizedState !== null) {+ if (r = da(t), n !== null) {+ if (e === null) {+ if (!r) throw Error(i(318));+ if (e = t.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(557));+ e[Et] = t;+ } else fa(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ U(t), e = !1;+ } else n = pa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;+ if (!e) return t.flags & 256 ? (Lo(t), t) : (Lo(t), null);+ if (t.flags & 128) throw Error(i(558));+ }+ return U(t), null;+ case 13:+ if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {+ if (a = da(t), r !== null && r.dehydrated !== null) {+ if (e === null) {+ if (!a) throw Error(i(318));+ if (a = t.memoizedState, a = a === null ? null : a.dehydrated, !a) throw Error(i(317));+ a[Et] = t;+ } else fa(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ U(t), a = !1;+ } else a = pa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;+ if (!a) return t.flags & 256 ? (Lo(t), t) : (Lo(t), null);+ }+ return Lo(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), _l(t, t.updateQueue), U(t), null);+ case 4: return Me(), e === null && Wf(t.stateNode.containerInfo), t.flags |= 67108864, U(t), null;+ case 10: return ya(t.type), U(t), null;+ case 19:+ if (Bo(t), r = t.memoizedState, r === null) return U(t), null;+ if (a = !!(t.flags & 128), o = r.rendering, o === null) {+ if (a) vl(r, !1);+ else {+ if (ad !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {+ if (o = Vo(e), o !== null) {+ for (t.flags |= 128, vl(r, !1), e = o.updateQueue, t.updateQueue = e, _l(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Ii(n, e), n = n.sibling;+ return zo(t, Ro.current & 1 | 2), B && $i(t, r.treeForkCount), t.child;+ }+ e = e.sibling;+ }+ r.tail !== null && Ke() > gd && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);+ }+ } else {+ if (!a) {+ if (e = Vo(o), e !== null) {+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, _l(t, e), vl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !B) return U(t), null;+ } else 2 * Ke() - r.renderingStartTime > gd && n !== 536870912 && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);+ }+ r.isBackwards ? (o.sibling = t.child, t.child = o) : (e = r.last, e === null ? t.child = o : e.sibling = o, r.last = o);+ }+ if (r.tail !== null) {+ e = r.tail;+ a: {+ for (n = e; n !== null;) {+ if (n.alternate !== null) {+ n = !1;+ break a;+ }+ n = n.sibling;+ }+ n = !0;+ }+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Ke(), e.sibling = null, o = Ro.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || B ? zo(t, o) : (n = o, A(jo, t), A(Ro, n), Mo === null && (Mo = t)), B && $i(t, r.treeForkCount), e;+ }+ return U(t), null;+ case 22:+ case 23: return Lo(t), Ao(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (U(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : U(t), n = t.updateQueue, n !== null && _l(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && De(Ga), null;+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ya(ja), U(t), null;+ case 25: return null;+ case 30: return t.flags |= 33554432, U(t), null;+ }+ throw Error(i(156, t.tag));+ }+ function bl(e, t) {+ switch (na(t), t.tag) {+ case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 3: return ya(ja), Me(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;+ case 26:+ case 27:+ case 5: return Pe(t), null;+ case 31:+ if (t.memoizedState !== null) {+ if (Lo(t), t.alternate === null) throw Error(i(340));+ fa();+ }+ return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 13:+ if (Lo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {+ if (t.alternate === null) throw Error(i(340));+ fa();+ }+ return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 19: return Bo(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;+ case 4: return Me(), null;+ case 10: return ya(t.type), null;+ case 22:+ case 23: return Lo(t), Ao(), e !== null && De(Ga), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 24: return ya(ja), null;+ case 25: return null;+ default: return null;+ }+ }+ function xl(e, t) {+ switch (na(t), t.tag) {+ case 3:+ ya(ja), Me();+ break;+ case 26:+ case 27:+ case 5:+ Pe(t);+ break;+ case 4:+ Me();+ break;+ case 31:+ t.memoizedState !== null && Lo(t);+ break;+ case 13:+ Lo(t);+ break;+ case 19:+ Bo(t);+ break;+ case 10:+ ya(t.type);+ break;+ case 22:+ case 23:+ Lo(t), Ao(), e !== null && De(Ga);+ break;+ case 24: ya(ja);+ }+ }+ function Sl(e, t) {+ try {+ var n = t.updateQueue, r = n === null ? null : n.lastEffect;+ if (r !== null) {+ var i = r.next;+ n = i;+ do {+ if ((n.tag & e) === e) {+ r = void 0;+ var a = n.create, o = n.inst;+ r = a(), o.destroy = r;+ }+ n = n.next;+ } while (n !== i);+ }+ } catch (e) {+ Z(t, t.return, e);+ }+ }+ function Cl(e, t, n) {+ try {+ var r = t.updateQueue, i = r === null ? null : r.lastEffect;+ if (i !== null) {+ var a = i.next;+ r = a;+ do {+ if ((r.tag & e) === e) {+ var o = r.inst, s = o.destroy;+ if (s !== void 0) {+ o.destroy = void 0, i = t;+ var c = n, l = s;+ try {+ l();+ } catch (e) {+ Z(i, c, e);+ }+ }+ }+ r = r.next;+ } while (r !== a);+ }+ } catch (e) {+ Z(t, t.return, e);+ }+ }+ function wl(e) {+ var t = e.updateQueue;+ if (t !== null) {+ var n = e.stateNode;+ try {+ To(t, n);+ } catch (t) {+ Z(e, e.return, t);+ }+ }+ }+ function Tl(e, t, n) {+ n.props = Cc(e.type, e.memoizedProps), n.state = e.memoizedState;+ try {+ n.componentWillUnmount();+ } catch (n) {+ Z(e, t, n);+ }+ }+ function El(e, t) {+ try {+ var n = e.ref;+ if (n !== null) {+ switch (e.tag) {+ case 26:+ case 27:+ case 5:+ var r = e.stateNode;+ break;+ case 30:+ var i = e.stateNode, a = vi(e.memoizedProps, i);+ (i.ref === null || i.ref.name !== a) && (i.ref = Pp(a)), r = i.ref;+ break;+ case 7:+ if (e.stateNode === null) {+ var o = new Fp(e);+ m(e.child, !1, Qp, o, void 0, void 0), e.stateNode = o;+ }+ r = e.stateNode;+ break;+ default: r = e.stateNode;+ }+ typeof n == "function" ? e.refCleanup = n(r) : n.current = r;+ }+ } catch (n) {+ Z(e, t, n);+ }+ }+ function Dl(e, t) {+ var n = e.ref, r = e.refCleanup;+ if (n !== null) {+ if (typeof r == "function") try {+ r();+ } catch (n) {+ Z(e, t, n);+ } finally {+ e.refCleanup = null, e = e.alternate, e != null && (e.refCleanup = null);+ }+ else if (typeof n == "function") try {+ n(null);+ } catch (n) {+ Z(e, t, n);+ }+ else n.current = null;+ }+ }+ function Ol(e, t) {+ if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) em(e.stateNode, t[n]);+ }+ function kl(e) {+ for (var t = e.return; t !== null && (Ml(t) && em(e.stateNode, t.stateNode), !jl(t));) t = t.return;+ }+ function Al(e) {+ for (var t = e.return; t !== null && (Ml(t) && tm(e.stateNode, t.stateNode), !jl(t));) t = t.return;+ }+ function jl(e) {+ return e.tag === 5 || e.tag === 3 || e.tag === 27;+ }+ function Ml(e) {+ return e && e.tag === 7 && e.stateNode !== null;+ }+ function Nl(e) {+ var t = e.type, n = e.memoizedProps, r = e.stateNode;+ try {+ a: switch (t) {+ case "button":+ case "input":+ case "select":+ case "textarea":+ n.autoFocus && r.focus();+ break a;+ case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);+ }+ } catch (t) {+ Z(e, e.return, t);+ }+ }+ function Pl(e, t, n) {+ try {+ var r = e.stateNode;+ ip(r, e.type, n, t), r[Dt] = t;+ } catch (t) {+ Z(e, e.return, t);+ }+ }+ function Fl(e) {+ return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Sp(e.type) || e.tag === 4;+ }+ function Il(e) {+ a: for (;;) {+ for (; e.sibling === null;) {+ if (e.return === null || Fl(e.return)) return null;+ e = e.return;+ }+ for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {+ if (e.tag === 27 && Sp(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;+ e.child.return = e, e = e.child;+ }+ if (!(e.flags & 2)) return e.stateNode;+ }+ }+ function Ll(e, t, n, r) {+ var i = e.tag;+ if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = bn)), Ol(e, r), F = !0;+ else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, Sp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Ll(e, t, n, r), e = e.sibling; e !== null;) Ll(e, t, n, r), e = e.sibling;+ }+ function Rl(e, t, n, r) {+ var i = e.tag;+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Ol(e, r), F = !0;+ else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, Sp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;+ }+ function zl(e) {+ var t = e.stateNode, n = e.memoizedProps;+ try {+ for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);+ np(t, r, n), t[Et] = e, t[Dt] = n;+ } catch (t) {+ Z(e, e.return, t);+ }+ }+ var Bl = !1, Vl = null;+ function Hl(e) {+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Bl = !0);+ }+ var Ul = null;+ function Wl() {+ var e = Ul;+ return Ul = null, e;+ }+ var Gl = 0;+ function Kl(e, t, n, r, i) {+ return Gl = 0, ql(e.child, t, n, r, i);+ }+ function ql(e, t, n, r, i) {+ for (var a = !1; e !== null;) {+ if (e.tag === 5) {+ var o = e.stateNode;+ if (r !== null) {+ var s = Op(o);+ r.push(s), s.view && (a = !0);+ } else a || Op(o).view && (a = !0);+ Bl = !0, Tp(o, Gl === 0 ? t : t + "_" + Gl, n), Gl++;+ } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || ql(e.child, t, n, r, i) && (a = !0));+ e = e.sibling;+ }+ return a;+ }+ function Jl(e, t) {+ for (; e !== null;) e.tag === 5 ? Ep(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Jl(e.child, t)), e = e.sibling;+ }+ function Yl(e) {+ if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {+ if ((e.tag !== 22 || e.memoizedState === null) && (Yl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {+ var t = e.memoizedProps;+ if (t.name == null || t.name === "auto") throw Error(i(544));+ var n = t.name;+ t = bi(t.default, t.share), t !== "none" && (Kl(e, n, t, null, !1) || Jl(e.child, !1));+ }+ e = e.sibling;+ }+ }+ function Xl(e, t) {+ if (e.tag === 30) {+ var n = e.stateNode, r = e.memoizedProps, i = vi(r, n), a = bi(r.default, n.paired ? r.share : r.enter);+ a === "none" ? Yl(e) : Kl(e, i, a, null, !1) ? (Yl(e), n.paired || t || Nd(e, r.onEnter)) : Jl(e.child, !1);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Xl(e, t), e = e.sibling;+ else Yl(e);+ }+ function Zl(e) {+ if (Vl !== null && Vl.size !== 0) {+ var t = Vl;+ if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {+ if (e.tag !== 22 || e.memoizedState === null) {+ if (e.tag === 30 && e.flags & 18874368) {+ var n = e.memoizedProps, r = n.name;+ if (r != null && r !== "auto") {+ var i = t.get(r);+ if (i !== void 0) {+ var a = bi(n.default, n.share);+ if (a !== "none" && (Kl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Nd(e, n.onShare)) : Jl(e.child, !1)), t.delete(r), t.size === 0) break;+ }+ }+ }+ Zl(e);+ }+ e = e.sibling;+ }+ }+ }+ function Ql(e) {+ if (e.tag === 30) {+ var t = e.memoizedProps, n = vi(t, e.stateNode), r = Vl === null ? void 0 : Vl.get(n), i = bi(t.default, r === void 0 ? t.exit : t.share);+ i !== "none" && (Kl(e, n, i, null, !1) ? r === void 0 ? Nd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Vl.delete(n), Nd(e, t.onShare)) : Jl(e.child, !1)), Vl !== null && Zl(e);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Ql(e), e = e.sibling;+ else Vl !== null && Zl(e);+ }+ function $l(e) {+ for (e = e.child; e !== null;) {+ if (e.tag === 30) {+ var t = e.memoizedProps, n = vi(t, e.stateNode);+ t = bi(t.default, t.update), e.flags &= -5, t !== "none" && Kl(e, n, t, e.memoizedState = [], !1);+ } else e.subtreeFlags & 33554432 && $l(e);+ e = e.sibling;+ }+ }+ function eu(e) {+ if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {+ if (e.tag !== 22 || e.memoizedState === null) {+ if (e.tag === 30 && e.flags & 18874368) {+ var t = e.stateNode;+ t.paired !== null && (t.paired = null, Jl(e.child, !1));+ }+ eu(e);+ }+ e = e.sibling;+ }+ }+ function tu(e) {+ if (e.tag === 30) e.stateNode.paired = null, Jl(e.child, !1), eu(e);+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) tu(e), e = e.sibling;+ else eu(e);+ }+ function nu(e) {+ for (e = e.child; e !== null;) e.tag === 30 ? Jl(e.child, !1) : e.subtreeFlags & 33554432 && nu(e), e = e.sibling;+ }+ function ru(e, t, n, r, i, a, o) {+ for (var s = !1; t !== null;) {+ if (t.tag === 5) {+ var c = t.stateNode;+ if (a !== null && Gl < a.length) {+ var l = a[Gl], u = Op(c);+ (l.view || u.view) && (s = !0);+ var d;+ if (d = !(e.flags & 4)) {+ if (u.clip) d = !0;+ else {+ d = l.rect;+ var f = u.rect;+ d = d.y !== f.y || d.x !== f.x || d.height !== f.height || d.width !== f.width;+ }+ }+ d && (e.flags |= 4), u.abs ? u = !l.abs : (l = l.rect, u = u.rect, u = l.height !== u.height || l.width !== u.width), u && (e.flags |= 32);+ } else e.flags |= 32;+ e.flags & 4 && Tp(c, Gl === 0 ? n : n + "_" + Gl, i), s && e.flags & 4 || (Ul === null && (Ul = []), Ul.push(c, Gl === 0 ? r : r + "_" + Gl, t.memoizedProps)), Gl++;+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : ru(e, t.child, n, r, i, a, o) && (s = !0));+ t = t.sibling;+ }+ return s;+ }+ function iu(e, t) {+ for (e = e.child; e !== null;) {+ if (e.tag === 30) {+ var n = e.memoizedProps, r = e.stateNode, i = vi(n, r), a = bi(n.default, n.update);+ if (t) {+ r = r.clones;+ var o = r === null ? null : r.map(kp);+ } else o = e.memoizedState, e.memoizedState = null;+ r = e;+ var s = e.child;+ Gl = 0, i = ru(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Nd(e, n.onUpdate));+ } else e.subtreeFlags & 33554432 && iu(e, t);+ e = e.sibling;+ }+ }+ var au = !1, W = !1, ou = !1, su = !1, cu = typeof WeakSet == "function" ? WeakSet : Set, lu = null, uu = !1, du = !1, fu = !1, pu = !1;+ function mu(e, t, n) {+ if (e = e.containerInfo, sp = gh, e = Jr(e), Yr(e)) {+ if ("selectionStart" in e) var r = {+ start: e.selectionStart,+ end: e.selectionEnd+ };+ else a: {+ r = (r = e.ownerDocument) && r.defaultView || window;+ var i = r.getSelection && r.getSelection();+ if (i && i.rangeCount !== 0) {+ r = i.anchorNode;+ var a = i.anchorOffset, o = i.focusNode;+ i = i.focusOffset;+ try {+ r.nodeType, o.nodeType;+ } catch {+ r = null;+ break a;+ }+ var s = 0, c = -1, l = -1, u = 0, d = 0, f = e, p = null;+ b: for (;;) {+ for (var m; f !== r || a !== 0 && f.nodeType !== 3 || (c = s + a), f !== o || i !== 0 && f.nodeType !== 3 || (l = s + i), f.nodeType === 3 && (s += f.nodeValue.length), (m = f.firstChild) !== null;) p = f, f = m;+ for (;;) {+ if (f === e) break b;+ if (p === r && ++u === a && (c = s), p === o && ++d === i && (l = s), (m = f.nextSibling) !== null) break;+ f = p, p = f.parentNode;+ }+ f = m;+ }+ r = c === -1 || l === -1 ? null : {+ start: c,+ end: l+ };+ } else r = null;+ }+ r ||= {+ start: 0,+ end: 0+ };+ } else r = null;+ for (cp = {+ focusedElem: e,+ selectionRange: r+ }, gh = !1, n = (n & 335544064) === n, lu = t, t = n ? 9270 : 1024; lu !== null;) {+ if (e = lu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Ql(r[a]);+ if (e.alternate === null && e.flags & 2) n && Hl(e), hu(n);+ else {+ if (e.tag === 22) {+ if (r = e.alternate, e.memoizedState !== null) {+ r !== null && r.memoizedState === null && n && Ql(r), hu(n);+ continue;+ }+ if (r !== null && r.memoizedState !== null) {+ n && Hl(e), hu(n);+ continue;+ }+ }+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, lu = r) : (n && $l(e), hu(n));+ }+ }+ Vl = null;+ }+ function hu(e) {+ for (; lu !== null;) {+ var t = lu, n = e, r = t.alternate, a = t.flags;+ switch (t.tag) {+ case 0:+ case 11:+ case 15: break;+ case 1:+ if (a & 1024 && r !== null) {+ n = void 0, a = r.memoizedProps, r = r.memoizedState;+ var o = t.stateNode;+ try {+ var s = Cc(t.type, a);+ n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;+ } catch (e) {+ Z(t, t.return, e);+ }+ }+ break;+ case 3:+ if (a & 1024) {+ if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) nm(r);+ else if (n === 1) switch (r.nodeName) {+ case "HEAD":+ case "HTML":+ case "BODY":+ nm(r);+ break;+ default: r.textContent = "";+ }+ }+ break;+ case 5:+ case 26:+ case 27:+ case 6:+ case 4:+ case 17: break;+ case 30:+ n && r !== null && (n = vi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = bi(a.default, a.update), a !== "none" && Kl(r, n, a, r.memoizedState = [], !0));+ break;+ default: if (a & 1024) throw Error(i(163));+ }+ if (r = t.sibling, r !== null) {+ r.return = t.return, lu = r;+ break;+ }+ lu = t.return;+ }+ }+ function gu(e, t, n) {+ var r = n.flags;+ switch (n.tag) {+ case 0:+ case 11:+ case 15:+ Fu(e, n), r & 4 && Sl(5, n);+ break;+ case 1:+ if (Fu(e, n), r & 4) {+ if (e = n.stateNode, t === null) try {+ e.componentDidMount();+ } catch (e) {+ Z(n, n.return, e);+ }+ else {+ var i = Cc(n.type, t.memoizedProps);+ t = t.memoizedState;+ try {+ e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);+ } catch (e) {+ Z(n, n.return, e);+ }+ }+ }+ r & 64 && wl(n), r & 512 && El(n, n.return);+ break;+ case 3:+ if (Fu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {+ if (t = null, n.child !== null) switch (n.child.tag) {+ case 27:+ case 5:+ t = n.child.stateNode;+ break;+ case 1: t = n.child.stateNode;+ }+ try {+ To(e, t);+ } catch (e) {+ Z(n, n.return, e);+ }+ }+ break;+ case 27: t === null && r & 4 && zl(n);+ case 26:+ case 5:+ Fu(e, n), t === null && r & 4 && Nl(n), r & 512 && El(n, n.return);+ break;+ case 12:+ Fu(e, n);+ break;+ case 31:+ Fu(e, n), r & 4 && wu(e, n);+ break;+ case 13:+ Fu(e, n), r & 4 && Tu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = _f.bind(null, n), cm(e, n))));+ break;+ case 22:+ if (r = n.memoizedState !== null || au, !r) {+ var a = t !== null && t.memoizedState !== null || W;+ t = au, i = W, au = r, (W = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Lu(e, n, r)) : Fu(e, n), au = t, W = i;+ }+ break;+ case 30:+ Fu(e, n), r & 512 && El(n, n.return);+ break;+ case 7: r & 512 && El(n, n.return);+ default: Fu(e, n);+ }+ }+ function _u(e, t) {+ for (e = e.child; e !== null;) vu(e, t), e = e.sibling;+ }+ function vu(e, t) {+ switch (e.tag) {+ case 5:+ case 26:+ try {+ var n = e.stateNode;+ if (t) {+ var r = n.style;+ typeof r.setProperty == "function" ? r.setProperty("display", "none", "important") : r.display = "none";+ } else {+ var i = e.stateNode, a = e.memoizedProps.style, o = a != null && a.hasOwnProperty("display") ? a.display : null;+ i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();+ }+ } catch (t) {+ Z(e, e.return, t);+ }+ yu(e, t);+ break;+ case 6:+ try {+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, F = !0;+ } catch (t) {+ Z(e, e.return, t);+ }+ break;+ case 18:+ try {+ var s = e.stateNode;+ t ? wp(s, !0) : wp(e.stateNode, !1);+ } catch (t) {+ Z(e, e.return, t);+ }+ break;+ case 22:+ case 23:+ e.memoizedState === null && _u(e, t);+ break;+ default: _u(e, t);+ }+ }+ function yu(e, t) {+ if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {+ a: {+ var n = e, r = t;+ switch (n.tag) {+ case 4:+ vu(n, r);+ break a;+ case 22:+ n.memoizedState === null && yu(n, r);+ break a;+ default: yu(n, r);+ }+ }+ e = e.sibling;+ }+ }+ function bu(e) {+ var t = e.alternate;+ t !== null && (e.alternate = null, bu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Ft(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;+ }+ var G = null, xu = !1;+ function Su(e, t, n) {+ for (n = n.child; n !== null;) Cu(e, t, n), n = n.sibling;+ }+ function Cu(e, t, n) {+ if (tt && typeof tt.onCommitFiberUnmount == "function") try {+ tt.onCommitFiberUnmount(et, n);+ } catch {}+ switch (n.tag) {+ case 26:+ W || Dl(n, t), Su(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !W && (n = n.stateNode, n.parentNode.removeChild(n));+ break;+ case 27:+ W || Dl(n, t), Al(n);+ var r = G, i = xu;+ Sp(n.type) && (G = n.stateNode, xu = !1), Su(e, t, n), gm(n.stateNode, n.type, n.memoizedProps), G = r, xu = i;+ break;+ case 5: W || Dl(n, t), Al(n);+ case 6:+ if (n.tag === 6 && Al(n), r = G, i = xu, G = null, Su(e, t, n), G = r, xu = i, G !== null) {+ if (xu) try {+ (G.nodeType === 9 ? G.body : G.nodeName === "HTML" ? G.ownerDocument.body : G).removeChild(n.stateNode), F = !0;+ } catch (e) {+ Z(n, t, e);+ }+ else try {+ G.removeChild(n.stateNode), F = !0;+ } catch (e) {+ Z(n, t, e);+ }+ }+ break;+ case 18:+ G !== null && (xu ? (e = G, Cp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Hh(e)) : Cp(G, n.stateNode));+ break;+ case 4:+ r = G, i = xu, G = n.stateNode.containerInfo, xu = !0, Su(e, t, n), G = r, xu = i;+ break;+ case 0:+ case 11:+ case 14:+ case 15:+ Cl(2, n, t), W || Cl(4, n, t), Su(e, t, n);+ break;+ case 1:+ W || (Dl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Tl(n, t, r)), Su(e, t, n);+ break;+ case 21:+ Su(e, t, n);+ break;+ case 22:+ W = (r = W) || n.memoizedState !== null, Su(e, t, n), W = r;+ break;+ case 30:+ Dl(n, t), Su(e, t, n);+ break;+ case 7:+ W || Dl(n, t), Su(e, t, n);+ break;+ default: Su(e, t, n);+ }+ }+ function wu(e, t) {+ if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {+ e = e.dehydrated;+ try {+ Hh(e);+ } catch (e) {+ Z(t, t.return, e);+ }+ }+ }+ function Tu(e, t) {+ if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {+ Hh(e);+ } catch (e) {+ Z(t, t.return, e);+ }+ }+ function Eu(e) {+ switch (e.tag) {+ case 31:+ case 13:+ case 19:+ var t = e.stateNode;+ return t === null && (t = e.stateNode = new cu()), t;+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new cu()), t;+ default: throw Error(i(435, e.tag));+ }+ }+ function Du(e, t) {+ var n = Eu(e);+ t.forEach(function(t) {+ if (!n.has(t)) {+ n.add(t);+ var r = vf.bind(null, e, t);+ t.then(r, r);+ }+ });+ }+ function Ou(e, t, n) {+ var r = t.deletions;+ if (r !== null) for (var a = 0; a < r.length; a++) {+ var o = r[a], s = e, c = t, l = c;+ a: for (; l !== null;) {+ switch (l.tag) {+ case 27:+ if (Sp(l.type)) {+ G = l.stateNode, xu = !1;+ break a;+ }+ break;+ case 5:+ G = l.stateNode, xu = !1;+ break a;+ case 3:+ case 4:+ G = l.stateNode.containerInfo, xu = !0;+ break a;+ }+ l = l.return;+ }+ if (G === null) throw Error(i(160));+ Cu(s, c, o), G = null, xu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;+ }+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Au(t, e, n), t = t.sibling;+ }+ var ku = null;+ function Au(e, t, n) {+ var r = e.alternate, a = e.flags;+ switch (e.tag) {+ case 0:+ case 11:+ case 14:+ case 15:+ if (a & 4 && (r = e.updateQueue, r = r === null ? null : r.events, r !== null)) for (var o = 0; o < r.length; o++) {+ var s = r[o];+ s.ref.impl = s.nextImpl;+ }+ Ou(t, e, n), ju(e), a & 4 && (Cl(3, e, e.return), Sl(3, e), Cl(5, e, e.return));+ break;+ case 1:+ Ou(t, e, n), ju(e), a & 512 && (W || r === null || Dl(r, r.return)), a & 64 && au && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));+ break;+ case 26:+ if (o = ku, Ou(t, e, n), ju(e), a & 512 && (W || r === null || Dl(r, r.return)), a & 4) {+ if (a = r === null ? null : r.memoizedState, n = e.memoizedState, r === null) {+ if (n === null) {+ if (e.stateNode === null) {+ if (au) e.stateNode = fp(e.type, e.memoizedProps, t.containerInfo, e);+ else {+ a: {+ t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;+ b: switch (t) {+ case "title":+ r = a.getElementsByTagName("title")[0], (!r || r[Nt] || r[Et] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), np(r, t, n), r[Et] = e, Bt(r), t = r;+ break a;+ case "link":+ if (o = Gm("link", "href", a).get(t + (n.href || ""))) {+ for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("href") === (n.href == null || n.href === "" ? null : n.href) && r.getAttribute("rel") === (n.rel == null ? null : n.rel) && r.getAttribute("title") === (n.title == null ? null : n.title) && r.getAttribute("crossorigin") === (n.crossOrigin == null ? null : n.crossOrigin)) {+ o.splice(s, 1);+ break b;+ }+ }+ r = a.createElement(t), np(r, t, n), a.head.appendChild(r);+ break;+ case "meta":+ if (o = Gm("meta", "content", a).get(t + (n.content || ""))) {+ for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("content") === (n.content == null ? null : "" + n.content) && r.getAttribute("name") === (n.name == null ? null : n.name) && r.getAttribute("property") === (n.property == null ? null : n.property) && r.getAttribute("http-equiv") === (n.httpEquiv == null ? null : n.httpEquiv) && r.getAttribute("charset") === (n.charSet == null ? null : n.charSet)) {+ o.splice(s, 1);+ break b;+ }+ }+ r = a.createElement(t), np(r, t, n), a.head.appendChild(r);+ break;+ default: throw Error(i(468, t));+ }+ r[Et] = e, Bt(r), t = r;+ }+ e.stateNode = t;+ }+ } else au || Km(o, e.type, e.stateNode);+ } else e.stateNode = Bm(o, n, e.memoizedProps);+ } else a === n ? n === null && e.stateNode !== null && Pl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || W || t.parentNode.removeChild(t)) : a.count--, n === null ? au || Km(o, e.type, e.stateNode) : Bm(o, n, e.memoizedProps));+ }+ break;+ case 27:+ Ou(t, e, n), ju(e), a & 512 && (W || r === null || Dl(r, r.return)), r !== null && a & 4 && Pl(e, e.memoizedProps, r.memoizedProps);+ break;+ case 5:+ if (o = ou, ou = !1, Ou(t, e, n), ou = o, ju(e), a & 512 && (W || r === null || Dl(r, r.return)), e.flags & 32) {+ t = e.stateNode;+ try {+ pn(t, ""), F = !0;+ } catch (t) {+ Z(e, e.return, t);+ }+ }+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Pl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (su = !0);+ break;+ case 6:+ if (Ou(t, e, n), ju(e), a & 4) {+ if (e.stateNode === null) throw Error(i(162));+ t = e.memoizedProps, n = e.stateNode;+ try {+ n.nodeValue = t, F = !0;+ } catch (t) {+ Z(e, e.return, t);+ }+ }+ break;+ case 3:+ if (F = !1, Wm = null, o = ku, ku = bm(t.containerInfo), Ou(t, e, n), ku = o, ju(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {+ Hh(t.containerInfo);+ } catch (t) {+ Z(e, e.return, t);+ }+ su && (su = !1, Mu(e)), F = !1;+ break;+ case 4:+ a = ou, ou = au, r = Xt(), o = ku, ku = bm(e.stateNode.containerInfo), Ou(t, e, n), ju(e), ku = o, F && du && (fu = !0), F = r, ou = a;+ break;+ case 12:+ Ou(t, e, n), ju(e);+ break;+ case 31:+ Ou(t, e, n), ju(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));+ break;+ case 13:+ Ou(t, e, n), ju(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (md = Ke()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));+ break;+ case 22:+ o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;+ var c = au, l = W, u = ou;+ au = c || o, ou = u || o, W = l || s, Ou(t, e, n), W = l, ou = u, au = c, ju(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || au || W || (t = s || W, n = au, r = W, au = o || au, W = t, Iu(e, 2), au = n, W = r), !o && ou || _u(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Du(e, n))));+ break;+ case 19:+ Ou(t, e, n), ju(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));+ break;+ case 30:+ a & 512 && (W || r === null || Dl(r, r.return)), a = Xt(), o = du, s = (n & 335544064) === n, c = e.memoizedProps, du = s && bi(c.default, c.update) !== "none", Ou(t, e, n), ju(e), s && r !== null && F && (e.flags |= 4), du = o, F = a;+ break;+ case 21: break;+ case 7: a & 512 && (W || r === null || Dl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);+ default: Ou(t, e, n), ju(e);+ }+ }+ function ju(e) {+ var t = e.flags;+ if (t & 2) {+ try {+ for (var n, r = e.return; r !== null;) {+ if (Fl(r)) {+ n = r;+ break;+ }+ r = r.return;+ }+ r = null;+ for (var a = e.return; a !== null;) {+ if (Ml(a)) {+ var o = a.stateNode;+ r === null ? r = [o] : r.push(o);+ }+ if (jl(a)) break;+ a = a.return;+ }+ var s = r;+ if (n == null) throw Error(i(160));+ switch (n.tag) {+ case 27:+ var c = n.stateNode;+ Rl(e, Il(e), c, s);+ break;+ case 5:+ var l = n.stateNode;+ n.flags & 32 && (pn(l, ""), n.flags &= -33), Rl(e, Il(e), l, s);+ break;+ case 3:+ case 4:+ var u = n.stateNode.containerInfo;+ Ll(e, Il(e), u, s);+ break;+ default: throw Error(i(161));+ }+ } catch (t) {+ Z(e, e.return, t);+ }+ e.flags &= -3;+ }+ t & 4096 && (e.flags &= -4097);+ }+ function Mu(e) {+ if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {+ var t = e;+ Mu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, gh = !0, t.reset(), gh = !1), e = e.sibling;+ }+ }+ function Nu(e, t) {+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Pu(t, e), t = t.sibling;+ else iu(t, !1);+ }+ function Pu(e, t) {+ var n = e.alternate;+ if (n === null) Xl(e, !1);+ else switch (e.tag) {+ case 3:+ if (pu = uu = !1, Wl(), Nu(t, e), !uu && !fu) {+ if (e = Ul, e !== null) for (var r = 0; r < e.length; r += 3) {+ n = e[r];+ var i = e[r + 1];+ Ep(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({+ opacity: [0, 0],+ pointerEvents: ["none", "none"]+ }, {+ duration: 0,+ fill: "forwards",+ pseudoElement: "::view-transition-group(" + i + ")"+ });+ }+ e = t.containerInfo, e = e.nodeType === 9 ? e.documentElement : e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "" && (e.style.viewTransitionName = "none", e.animate({+ opacity: [0, 0],+ pointerEvents: ["none", "none"]+ }, {+ duration: 0,+ fill: "forwards",+ pseudoElement: "::view-transition-group(root)"+ }), e.animate({+ width: [0, 0],+ height: [0, 0]+ }, {+ duration: 0,+ fill: "forwards",+ pseudoElement: "::view-transition"+ })), pu = !0;+ }+ Ul = null;+ break;+ case 5:+ Nu(t, e);+ break;+ case 4:+ r = uu, uu = !1, Nu(t, e), uu && (fu = !0), uu = r;+ break;+ case 22:+ e.memoizedState === null && (n.memoizedState === null ? Nu(t, e) : Xl(e, !1));+ break;+ case 30:+ r = uu, i = Wl(), uu = !1, Nu(t, e), uu && (e.flags |= 4);+ var a = e.memoizedProps, o = e.stateNode;+ t = vi(a, o), o = vi(n.memoizedProps, o);+ var s = bi(a.default, a.update);+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Gl = 0, t = ru(e, n, t, o, s, a, !0), Gl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Nd(e, e.memoizedProps.onUpdate), Ul = i) : i !== null && (i.push.apply(i, Ul), Ul = i), uu = e.flags & 32 ? !0 : r;+ break;+ default: Nu(t, e);+ }+ }+ function Fu(e, t) {+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) gu(e, t.alternate, t), t = t.sibling;+ }+ function Iu(e, t) {+ for (e = e.child; e !== null;) {+ var n = e, r = t;+ switch (n.tag) {+ case 0:+ case 11:+ case 14:+ case 15:+ Cl(4, n, n.return), Iu(n, r);+ break;+ case 1:+ Dl(n, n.return);+ var i = n.stateNode;+ typeof i.componentWillUnmount == "function" && Tl(n, n.return, i), Iu(n, r);+ break;+ case 27: r & 2 && gm(n.stateNode, n.type, n.memoizedProps);+ case 5:+ Dl(n, n.return), n.tag !== 5 && n.tag !== 27 || Al(n), Iu(n, r);+ break;+ case 6:+ Al(n);+ break;+ case 26:+ Dl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || W || i.parentNode.removeChild(i), Iu(n, r);+ break;+ case 22:+ n.memoizedState === null && Iu(n, r);+ break;+ case 30:+ Dl(n, n.return), Iu(n, r);+ break;+ case 7: Dl(n, n.return);+ default: Iu(n, r);+ }+ e = e.sibling;+ }+ }+ function Lu(e, t, n) {+ for (n = t.subtreeFlags & 8772 ? n : n & -2, t = t.child; t !== null;) {+ var r = t.alternate, i = e, a = t, o = a.flags, s = !!(n & 1);+ switch (a.tag) {+ case 0:+ case 11:+ case 15:+ Lu(i, a, n), Sl(4, a);+ break;+ case 1:+ if (Lu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {+ i.componentDidMount();+ } catch (e) {+ Z(r, r.return, e);+ }+ if (r = a, i = r.updateQueue, i !== null) {+ var c = r.stateNode;+ try {+ var l = i.shared.hiddenCallbacks;+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) wo(l[i], c);+ } catch (e) {+ Z(r, r.return, e);+ }+ }+ s && o & 64 && wl(a), El(a, a.return);+ break;+ case 27: n & 2 && zl(a);+ case 5:+ a.tag !== 5 && a.tag !== 27 || kl(a), Lu(i, a, n), s && r === null && o & 4 && Nl(a), El(a, a.return);+ break;+ case 6:+ kl(a);+ break;+ case 26:+ c = a.stateNode, a.memoizedState !== null || c === null || au || Km(bm(c.ownerDocument), a.type, c), Lu(i, a, n), s && r === null && o & 4 && Nl(a), El(a, a.return);+ break;+ case 12:+ Lu(i, a, n);+ break;+ case 31:+ Lu(i, a, n), s && o & 4 && wu(i, a);+ break;+ case 13:+ Lu(i, a, n), s && o & 4 && Tu(i, a);+ break;+ case 22:+ a.memoizedState === null && Lu(i, a, n), El(a, a.return);+ break;+ case 30:+ Lu(i, a, n), El(a, a.return);+ break;+ case 7: El(a, a.return);+ default: Lu(i, a, n);+ }+ t = t.sibling;+ }+ }+ function Ru(e, t) {+ var n = null;+ e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && Na(n));+ }+ function zu(e, t) {+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Na(e));+ }+ function Bu(e, t, n, r) {+ var i = (n & 335544064) === n;+ if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Vu(e, t, n, r), t = t.sibling;+ else i && nu(t);+ }+ function Vu(e, t, n, r) {+ var i = (n & 335544064) === n;+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && tu(t);+ var a = t.flags;+ switch (t.tag) {+ case 0:+ case 11:+ case 15:+ Bu(e, t, n, r), a & 2048 && Sl(9, t);+ break;+ case 1:+ Bu(e, t, n, r);+ break;+ case 3:+ Bu(e, t, n, r), i && pu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && Na(a)));+ break;+ case 12:+ if (a & 2048) {+ Bu(e, t, n, r), a = t.stateNode;+ try {+ var o = t.memoizedProps, s = o.id, c = o.onPostCommit;+ typeof c == "function" && c(s, t.alternate === null ? "mount" : "update", a.passiveEffectDuration, -0);+ } catch (e) {+ Z(t, t.return, e);+ }+ } else Bu(e, t, n, r);+ break;+ case 31:+ Bu(e, t, n, r);+ break;+ case 13:+ Bu(e, t, n, r);+ break;+ case 23: break;+ case 22:+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && tu(t), o._visibility & 2 ? Bu(e, t, n, r) : (o._visibility |= 2, Hu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && tu(s), o._visibility & 2 ? Bu(e, t, n, r) : Uu(e, t)), a & 2048 && Ru(s, t);+ break;+ case 24:+ Bu(e, t, n, r), a & 2048 && zu(t.alternate, t);+ break;+ case 30:+ i && (a = t.alternate, a !== null && (Jl(a.child, !0), Jl(t.child, !0))), Bu(e, t, n, r);+ break;+ default: Bu(e, t, n, r);+ }+ }+ function Hu(e, t, n, r, i) {+ for (i &&= !!(t.subtreeFlags & 10256) || !1, t = t.child; t !== null;) {+ var a = e, o = t, s = n, c = r, l = o.flags;+ switch (o.tag) {+ case 0:+ case 11:+ case 15:+ Hu(a, o, s, c, i), Sl(8, o);+ break;+ case 23: break;+ case 22:+ var u = o.stateNode;+ o.memoizedState === null ? (u._visibility |= 2, Hu(a, o, s, c, i)) : u._visibility & 2 ? Hu(a, o, s, c, i) : Uu(a, o), i && l & 2048 && Ru(o.alternate, o);+ break;+ case 24:+ Hu(a, o, s, c, i), i && l & 2048 && zu(o.alternate, o);+ break;+ default: Hu(a, o, s, c, i);+ }+ t = t.sibling;+ }+ }+ function Uu(e, t) {+ if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) {+ var n = e, r = t, i = r.flags;+ switch (r.tag) {+ case 22:+ Uu(n, r), i & 2048 && Ru(r.alternate, r);+ break;+ case 24:+ Uu(n, r), i & 2048 && zu(r.alternate, r);+ break;+ default: Uu(n, r);+ }+ t = t.sibling;+ }+ }+ var Wu = 8192;+ function Gu(e, t, n) {+ if (e.subtreeFlags & Wu) for (e = e.child; e !== null;) Ku(e, t, n), e = e.sibling;+ }+ function Ku(e, t, n) {+ switch (e.tag) {+ case 26:+ Gu(e, t, n), e.flags & Wu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && Zm(n, e)) : Qm(n, ku, e.memoizedState, e.memoizedProps));+ break;+ case 5:+ Gu(e, t, n), e.flags & Wu && (e = e.stateNode, (t & 335544128) === t && Zm(n, e));+ break;+ case 3:+ case 4:+ var r = ku;+ ku = bm(e.stateNode.containerInfo), Gu(e, t, n), ku = r;+ break;+ case 22:+ e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Wu, Wu = 16777216, Gu(e, t, n), Wu = r) : Gu(e, t, n));+ break;+ case 30:+ if ((e.flags & Wu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {+ var i = e.stateNode;+ i.paired = null, Vl === null && (Vl = /* @__PURE__ */ new Map()), Vl.set(r, i);+ }+ Gu(e, t, n);+ break;+ default: Gu(e, t, n);+ }+ }+ function qu(e) {+ var t = e.alternate;+ if (t !== null && (e = t.child, e !== null)) {+ t.child = null;+ do+ t = e.sibling, e.sibling = null, e = t;+ while (e !== null);+ }+ }+ function Ju(e) {+ var t = e.deletions;+ if (e.flags & 16) {+ if (t !== null) for (var n = 0; n < t.length; n++) {+ var r = t[n];+ lu = r, Zu(r, e);+ }+ qu(e);+ }+ if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Yu(e), e = e.sibling;+ }+ function Yu(e) {+ switch (e.tag) {+ case 0:+ case 11:+ case 15:+ Ju(e), e.flags & 2048 && Cl(9, e, e.return);+ break;+ case 3:+ Ju(e);+ break;+ case 12:+ Ju(e);+ break;+ case 22:+ var t = e.stateNode;+ e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Xu(e)) : Ju(e);+ break;+ default: Ju(e);+ }+ }+ function Xu(e) {+ var t = e.deletions;+ if (e.flags & 16) {+ if (t !== null) for (var n = 0; n < t.length; n++) {+ var r = t[n];+ lu = r, Zu(r, e);+ }+ qu(e);+ }+ for (e = e.child; e !== null;) {+ switch (t = e, t.tag) {+ case 0:+ case 11:+ case 15:+ Cl(8, t, t.return), Xu(t);+ break;+ case 22:+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Xu(t));+ break;+ default: Xu(t);+ }+ e = e.sibling;+ }+ }+ function Zu(e, t) {+ for (; lu !== null;) {+ var n = lu;+ switch (n.tag) {+ case 0:+ case 11:+ case 15:+ Cl(8, n, t);+ break;+ case 23:+ case 22:+ if (n.memoizedState !== null && n.memoizedState.cachePool !== null) {+ var r = n.memoizedState.cachePool.pool;+ r != null && r.refCount++;+ }+ break;+ case 24: Na(n.memoizedState.cache);+ }+ if (r = n.child, r !== null) r.return = n, lu = r;+ else a: for (n = e; lu !== null;) {+ r = lu;+ var i = r.sibling, a = r.return;+ if (bu(r), r === n) {+ lu = null;+ break a;+ }+ if (i !== null) {+ i.return = a, lu = i;+ break a;+ }+ lu = a;+ }+ }+ }+ var Qu = {+ getCacheForType: function(e) {+ var t = Ta(ja), n = t.data.get(e);+ return n === void 0 && (n = e(), t.data.set(e, n)), n;+ },+ cacheSignal: function() {+ return Ta(ja).controller.signal;+ }+ }, $u = typeof WeakMap == "function" ? WeakMap : Map, K = 0, q = null, J = null, Y = 0, X = 0, ed = null, td = !1, nd = !1, rd = !1, id = 0, ad = 0, od = 0, sd = 0, cd = 0, ld = 0, ud = 0, dd = null, fd = null, pd = !1, md = 0, hd = 0, gd = Infinity, _d = null, vd = null, yd = 0, bd = null, xd = null, Sd = 0, Cd = 0, wd = null, Td = null, Ed = null, Dd = null, Od = null, kd = 0, Ad = null;+ function jd() {+ return K & 2 && Y !== 0 ? Y & -Y : D.T === null ? wt() : Pf();+ }+ function Md() {+ if (ld === 0) {+ if (!(Y & 536870912) || B) {+ var e = ct;+ ct <<= 1, !(ct & 3932160) && (ct = 262144), ld = e;+ } else ld = 536870912;+ }+ return e = jo.current, e !== null && (e.flags |= 32), ld;+ }+ function Nd(e, t) {+ if (t != null) {+ var n = e.stateNode, r = n.ref;+ r === null && (r = n.ref = Pp(vi(e.memoizedProps, n))), Dd === null && (Dd = []), Dd.push(t.bind(null, r));+ }+ }+ function Pd(e, t, n) {+ (e === q && (X === 2 || X === 9) || e.cancelPendingCommit !== null) && (Vd(e, 0), Rd(e, Y, ld, !1)), _t(e, n), (!(K & 2) || e !== q) && (e === q && (!(K & 2) && (sd |= n), ad === 4 && Rd(e, Y, ld, !1)), Ef(e));+ }+ function Fd(e, t, n) {+ if (K & 6) throw Error(i(327));+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || ft(e, t), a = r ? Yd(e, t) : qd(e, t, !0), o = r;+ do {+ if (a === 0) {+ nd && !r && Rd(e, t, 0, !1);+ break;+ }+ if (n = e.current.alternate, o && !Ld(n)) {+ a = qd(e, t, !1), o = !1;+ continue;+ }+ if (a === 2) {+ if (o = t, e.errorRecoveryDisabledLanes & o) var s = 0;+ else s = e.pendingLanes & -536870913, s = s === 0 ? s & 536870912 ? 536870912 : 0 : s;+ if (s !== 0) {+ t = s;+ a: {+ var c = e;+ a = dd;+ var l = c.current.memoizedState.isDehydrated;+ if (l && (Vd(c, s).flags |= 256), s = qd(c, s, !1), s !== 2 && s !== 6) {+ if (rd && !l) {+ c.errorRecoveryDisabledLanes |= o, sd |= o, a = 4;+ break a;+ }+ o = fd, fd = a, o !== null && (fd === null ? fd = o : fd.push.apply(fd, o));+ }+ a = s;+ }+ if (o = !1, a !== 2) continue;+ }+ }+ if (a === 1) {+ Vd(e, 0), Rd(e, t, 0, !0);+ break;+ }+ a: {+ switch (r = e, o = a, o) {+ case 0:+ case 1: throw Error(i(345));+ case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;+ case 6:+ Rd(r, t, ld, !td);+ break a;+ case 2:+ fd = null;+ break;+ case 3:+ case 5: break;+ default: throw Error(i(329));+ }+ if ((t & 62914560) === t && (a = md + 300 - Ke(), 10 < a)) {+ if (Rd(r, t, ld, !td), dt(r, 0, !0) !== 0) break a;+ Sd = t, r.timeoutHandle = gp(Id.bind(null, r, n, fd, _d, pd, t, ld, sd, ud, td, o, "Throttled", -0, 0), a);+ break a;+ }+ Id(r, n, fd, _d, pd, t, ld, sd, ud, td, o, null, -0, 0);+ }+ break;+ } while (1);+ Ef(e);+ }+ function Id(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {+ e.timeoutHandle = -1;+ var m = t.subtreeFlags, h = (a & 335544064) === a;+ if (d = null, (h || m & 8192 || (m & 16785408) == 16785408) && (d = {+ stylesheets: null,+ count: 0,+ imgCount: 0,+ imgBytes: 0,+ suspenseyImages: [],+ waitingForImages: !0,+ waitingForViewTransition: !1,+ unsuspend: bn+ }, Vl = null, Ku(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = nh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? md - Ke() : (a & 4194048) === a ? hd - Ke() : 0, m = eh(d, m), m !== null)) {+ Sd = a, e.cancelPendingCommit = m(nf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Rd(e, a, o, !l);+ return;+ }+ nf(e, t, a, n, r, i, o, s, c, l, u, d);+ }+ function Ld(e) {+ for (var t = e;;) {+ var n = t.tag;+ if ((n === 0 || n === 11 || n === 15) && t.flags & 16384 && (n = t.updateQueue, n !== null && (n = n.stores, n !== null))) for (var r = 0; r < n.length; r++) {+ var i = n[r], a = i.getSnapshot;+ i = i.value;+ try {+ if (!Hr(a(), i)) return !1;+ } catch {+ return !1;+ }+ }+ if (n = t.child, t.subtreeFlags & 16384 && n !== null) n.return = t, t = n;+ else {+ if (t === e) break;+ for (; t.sibling === null;) {+ if (t.return === null || t.return === e) return !0;+ t = t.return;+ }+ t.sibling.return = t.return, t = t.sibling;+ }+ }+ return !0;+ }+ function Rd(e, t, n, r) {+ t = pt(e, t), t &= ~cd, t &= ~sd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;+ for (var i = t; 0 < i;) {+ var a = 31 - rt(i), o = 1 << a;+ r[a] = -1, i &= ~o;+ }+ n !== 0 && yt(e, n, t);+ }+ function zd() {+ return K & 6 ? !0 : (Df(0, !1), !1);+ }+ function Bd() {+ if (J !== null) {+ if (X === 0) var e = J.return;+ else e = J, _a = ga = null, as(e), ao = null, oo = 0, e = J;+ for (; e !== null;) xl(e.alternate, e), e = e.return;+ J = null;+ }+ }+ function Vd(e, t) {+ var n = e.timeoutHandle;+ return n !== -1 && (e.timeoutHandle = -1, _p(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Sd = 0, Bd(), q = e, J = n = Fi(e.current, null), Y = t, X = 0, ed = null, td = !1, nd = ft(e, t), rd = !1, ud = ld = cd = sd = od = ad = 0, fd = dd = null, pd = !1, id = pt(e, t), Ti(), n;+ }+ function Hd(e, t) {+ V = null, D.H = hc, t === Ya || t === Za ? (t = ro(), X = 3) : t === Xa ? (t = ro(), X = 4) : X = t === Nc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, ed = t, J === null && (ad = 1, Dc(e, Ui(t, e.current)));+ }+ function Ud() {+ var e = jo.current;+ return e === null ? !0 : (Y & 4194048) === Y ? Mo === null : (Y & 62914560) === Y || Y & 536870912 ? e === Mo : !1;+ }+ function Wd() {+ var e = D.H;+ return D.H = hc, e === null ? hc : e;+ }+ function Gd() {+ var e = D.A;+ return D.A = Qu, e;+ }+ function Kd() {+ ad = 4, td || (Y & 4194048) !== Y && jo.current !== null || (nd = !0), !(od & 134217727) && !(sd & 134217727) || q === null || Rd(q, Y, ld, !1);+ }+ function qd(e, t, n) {+ var r = K;+ K |= 2;+ var i = Wd(), a = Gd();+ (q !== e || Y !== t) && (_d = null, Vd(e, t)), t = !1;+ var o = ad;+ a: do+ try {+ if (X !== 0 && J !== null) {+ var s = J, c = ed;+ switch (X) {+ case 8:+ Bd(), o = 6;+ break a;+ case 3:+ case 2:+ case 9:+ case 6:+ jo.current === null && (t = !0);+ var l = X;+ if (X = 0, ed = null, $d(e, s, c, l), n && nd) {+ o = 0;+ break a;+ }+ break;+ default: l = X, X = 0, ed = null, $d(e, s, c, l);+ }+ }+ Jd(), o = ad;+ break;+ } catch (t) {+ Hd(e, t);+ }+ while (1);+ return t && e.shellSuspendCounter++, _a = ga = null, K = r, D.H = i, D.A = a, J === null && (q = null, Y = 0, Ti()), o;+ }+ function Jd() {+ for (; J !== null;) Zd(J);+ }+ function Yd(e, t) {+ var n = K;+ K |= 2;+ var r = Wd(), a = Gd();+ q !== e || Y !== t ? (_d = null, gd = Ke() + 500, Vd(e, t)) : nd = ft(e, t);+ a: do+ try {+ if (X !== 0 && J !== null) {+ t = J;+ var o = ed;+ b: switch (X) {+ case 1:+ X = 0, ed = null, $d(e, t, o, 1);+ break;+ case 2:+ case 9:+ if ($a(o)) {+ X = 0, ed = null, Qd(t);+ break;+ }+ t = function() {+ X !== 2 && X !== 9 || q !== e || (X = 7), Ef(e);+ }, o.then(t, t);+ break a;+ case 3:+ X = 7;+ break a;+ case 4:+ X = 5;+ break a;+ case 7:+ $a(o) ? (X = 0, ed = null, Qd(t)) : (X = 0, ed = null, $d(e, t, o, 7));+ break;+ case 5:+ var s = null;+ switch (J.tag) {+ case 26: s = J.memoizedState;+ case 5:+ case 27:+ var c = J;+ if (s ? Ym(s) : c.stateNode.complete) {+ X = 0, ed = null;+ var l = c.sibling;+ if (l !== null) J = l;+ else {+ var u = c.return;+ u === null ? J = null : (J = u, ef(u));+ }+ break b;+ }+ }+ X = 0, ed = null, $d(e, t, o, 5);+ break;+ case 6:+ X = 0, ed = null, $d(e, t, o, 6);+ break;+ case 8:+ Bd(), ad = 6;+ break a;+ default: throw Error(i(462));+ }+ }+ Xd();+ break;+ } catch (t) {+ Hd(e, t);+ }+ while (1);+ return _a = ga = null, D.H = r, D.A = a, K = n, J === null ? (q = null, Y = 0, Ti(), ad) : 0;+ }+ function Xd() {+ for (; J !== null && !We();) Zd(J);+ }+ function Zd(e) {+ var t = pl(e.alternate, e, id);+ e.memoizedProps = e.pendingProps, t === null ? ef(e) : J = t;+ }+ function Qd(e) {+ var t = e, n = t.alternate;+ switch (t.tag) {+ case 15:+ case 0:+ t = qc(n, t, t.pendingProps, t.type, void 0, Y);+ break;+ case 11:+ t = qc(n, t, t.pendingProps, t.type.render, t.ref, Y);+ break;+ case 5:+ as(t);+ var r = t;+ r === ia && (B ? (ua(r), r.tag === 5 && r.stateNode != null && (z = r.stateNode)) : (ua(r), B = !0));+ default: xl(n, t), t = J = Ii(t, id), t = pl(n, t, id);+ }+ e.memoizedProps = e.pendingProps, t === null ? ef(e) : J = t;+ }+ function $d(e, t, n, r) {+ _a = ga = null, as(t), ao = null, oo = 0;+ var i = t.return;+ try {+ if (Mc(e, i, t, n, Y)) {+ ad = 1, Dc(e, Ui(n, e.current)), J = null;+ return;+ }+ } catch (t) {+ if (i !== null) throw J = i, t;+ ad = 1, Dc(e, Ui(n, e.current)), J = null;+ return;+ }+ t.flags & 32768 ? (B || r === 1 ? e = !0 : nd || Y & 536870912 ? e = !1 : (td = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = jo.current, r !== null && r.tag === 13 && (r.flags |= 16384))), tf(t, e)) : ef(t);+ }+ function ef(e) {+ var t = e;+ do {+ if (t.flags & 32768) {+ tf(t, td);+ return;+ }+ e = t.return;+ var n = yl(t.alternate, t, id);+ if (n !== null) {+ J = n;+ return;+ }+ if (t = t.sibling, t !== null) {+ J = t;+ return;+ }+ J = t = e;+ } while (t !== null);+ ad === 0 && (ad = 5);+ }+ function tf(e, t) {+ do {+ var n = bl(e.alternate, e);+ if (n !== null) {+ n.flags &= 32767, J = n;+ return;+ }+ if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {+ J = e;+ return;+ }+ J = e = n;+ } while (e !== null);+ ad = 6, J = null;+ }+ function nf(e, t, n, r, a, o, s, c, l, u, d, f) {+ e.cancelPendingCommit = null;+ do+ df();+ while (yd !== 0);+ if (K & 6) throw Error(i(327));+ if (t !== null) {+ if (t === e.current) throw Error(i(177));+ e === q && (J = q = null, Y = 0), xd = t, bd = e, Sd = n, wd = a, Td = r, rf(e, t, n, s, c, l, f);+ }+ }+ function rf(e, t, n, r, i, a, o) {+ var s = t.lanes | t.childLanes;+ if (Cd = s, s |= wi, vt(e, n, s, r, i, a), Dd = null, (n & 335544064) === n ? (Od = Ia(e), r = 10262) : (Od = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, yf(N, function() {+ return ff(), null;+ })) : (e.callbackNode = null, e.callbackPriority = 0), Bl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {+ r = D.T, D.T = null, i = O.p, O.p = 2, a = K, K |= 4;+ try {+ mu(e, t, n);+ } finally {+ K = a, O.p = i, D.T = r;+ }+ }+ yd = 1, Bl ? Ed = Mp(o, e.containerInfo, Od, sf, cf, of, lf, ff, af, null, null) : (sf(), cf(), lf());+ }+ function af(e) {+ if (yd !== 0) {+ var t = bd.onRecoverableError;+ t(e, { componentStack: null });+ }+ }+ function of() {+ yd === 3 && (yd = 0, Pu(xd, bd), yd = 4);+ }+ function sf() {+ if (yd === 1) {+ yd = 0;+ var e = bd, t = xd, n = Sd, r = !!(t.flags & 13878);+ if (t.subtreeFlags & 13878 || r) {+ r = D.T, D.T = null;+ var i = O.p;+ O.p = 2;+ var a = K;+ K |= 4;+ try {+ du = fu = !1, Au(t, e, n), n = cp;+ var o = Jr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;+ if (o !== s && s && s.ownerDocument && qr(s.ownerDocument.documentElement, s)) {+ if (c !== null && Yr(s)) {+ var l = c.start, u = c.end;+ if (u === void 0 && (u = l), "selectionStart" in s) s.selectionStart = l, s.selectionEnd = Math.min(u, s.value.length);+ else {+ var d = s.ownerDocument || document, f = d && d.defaultView || window;+ if (f.getSelection) {+ var p = f.getSelection(), m = s.textContent.length, h = Math.min(c.start, m), g = c.end === void 0 ? h : Math.min(c.end, m);+ !p.extend && h > g && (o = g, g = h, h = o);+ var _ = Kr(s, h), v = Kr(s, g);+ if (_ && v && (p.rangeCount !== 1 || p.anchorNode !== _.node || p.anchorOffset !== _.offset || p.focusNode !== v.node || p.focusOffset !== v.offset)) {+ var y = d.createRange();+ y.setStart(_.node, _.offset), p.removeAllRanges(), h > g ? (p.addRange(y), p.extend(v.node, v.offset)) : (y.setEnd(v.node, v.offset), p.addRange(y));+ }+ }+ }+ }+ for (d = [], p = s; p = p.parentNode;) p.nodeType === 1 && d.push({+ element: p,+ left: p.scrollLeft,+ top: p.scrollTop+ });+ for (typeof s.focus == "function" && s.focus(), s = 0; s < d.length; s++) {+ var b = d[s];+ b.element.scrollLeft = b.left, b.element.scrollTop = b.top;+ }+ }+ gh = !!sp, cp = sp = null;+ } finally {+ K = a, O.p = i, D.T = r;+ }+ }+ e.current = t, yd = 2;+ }+ }+ function cf() {+ if (yd === 2) {+ yd = 0;+ var e = bd, t = xd, n = !!(t.flags & 8772);+ if (t.subtreeFlags & 8772 || n) {+ n = D.T, D.T = null;+ var r = O.p;+ O.p = 2;+ var i = K;+ K |= 4;+ try {+ gu(e, t.alternate, t);+ } finally {+ K = i, O.p = r, D.T = n;+ }+ }+ yd = 3;+ }+ }+ function lf() {+ if (yd === 4 || yd === 3) {+ yd = 0;+ var e = Ed;+ Ed = null, Ge();+ var t = bd, n = xd, r = Sd, i = Td, a = (r & 335544064) === r ? 10262 : 10256;+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? yd = 5 : (yd = 0, xd = bd = null, uf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (vd = null), Ct(r), n = n.stateNode, tt && typeof tt.onCommitFiberRoot == "function") try {+ tt.onCommitFiberRoot(et, n, void 0, (n.current.flags & 128) == 128);+ } catch {}+ if (i !== null) {+ n = D.T, a = O.p, O.p = 2, D.T = null;+ try {+ for (var o = t.onRecoverableError, s = 0; s < i.length; s++) {+ var c = i[s];+ o(c.value, { componentStack: c.stack });+ }+ } finally {+ D.T = n, O.p = a;+ }+ }+ if (i = Dd, o = Od, Od = null, i !== null && (Dd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);+ Sd & 3 && df(), Ef(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Ad ? kd++ : (kd = 0, Ad = t) : (kd = 0, Ad = null), Df(0, !1);+ }+ }+ function uf(e, t) {+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Na(t)));+ }+ function df() {+ return Ed !== null && (Ed.skipTransition(), Ed = null), sf(), cf(), lf(), ff();+ }+ function ff() {+ if (yd !== 5) return !1;+ var e = bd, t = Cd;+ Cd = 0;+ var n = Ct(Sd), r = D.T, a = O.p;+ try {+ O.p = 32 > n ? 32 : n, D.T = null, n = wd, wd = null;+ var o = bd, s = Sd;+ if (yd = 0, xd = bd = null, Sd = 0, K & 6) throw Error(i(331));+ var c = K;+ if (K |= 4, Yu(o.current), Vu(o, o.current, s, n), K = c, Df(0, !1), tt && typeof tt.onPostCommitFiberRoot == "function") try {+ tt.onPostCommitFiberRoot(et, o);+ } catch {}+ return !0;+ } finally {+ O.p = a, D.T = r, uf(e, t);+ }+ }+ function pf(e, t, n) {+ t = Ui(n, t), t = kc(e.stateNode, t, 2), e = vo(e, t, 2), e !== null && (_t(e, 2), Ef(e));+ }+ function Z(e, t, n) {+ if (e.tag === 3) pf(e, e, n);+ else for (; t !== null;) {+ if (t.tag === 3) {+ pf(t, e, n);+ break;+ }+ if (t.tag === 1) {+ var r = t.stateNode;+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (vd === null || !vd.has(r))) {+ e = Ui(n, e), n = Ac(2), r = vo(t, n, 2), r !== null && (jc(n, r, t, e), _t(r, 2), Ef(r));+ break;+ }+ }+ t = t.return;+ }+ }+ function mf(e, t, n) {+ var r = e.pingCache;+ if (r === null) {+ r = e.pingCache = new $u();+ var i = /* @__PURE__ */ new Set();+ r.set(t, i);+ } else i = r.get(t), i === void 0 && (i = /* @__PURE__ */ new Set(), r.set(t, i));+ i.has(n) || (rd = !0, i.add(n), e = hf.bind(null, e, t, n), t.then(e, e));+ }+ function hf(e, t, n) {+ var r = e.pingCache;+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, q === e && (Y & n) === n && (ad === 4 || ad === 3 && (Y & 62914560) === Y && 300 > Ke() - md ? K & 2 ? cd |= n : Vd(e, 0) : cd |= n, ud === Y && (ud = 0)), Ef(e);+ }+ function gf(e, t) {+ t === 0 && (t = ht()), e = Oi(e, t), e !== null && (_t(e, t), Ef(e));+ }+ function _f(e) {+ var t = e.memoizedState, n = 0;+ t !== null && (n = t.retryLane), gf(e, n);+ }+ function vf(e, t) {+ var n = 0;+ switch (e.tag) {+ case 31:+ case 13:+ var r = e.stateNode, a = e.memoizedState;+ a !== null && (n = a.retryLane);+ break;+ case 19:+ r = e.stateNode;+ break;+ case 22:+ r = e.stateNode._retryCache;+ break;+ default: throw Error(i(314));+ }+ r !== null && r.delete(t), gf(e, n);+ }+ function yf(e, t) {+ return M(e, t);+ }+ var bf = null, xf = null, Sf = !1, Cf = !1, wf = !1, Tf = 0;+ function Ef(e) {+ e !== xf && e.next === null && (xf === null ? bf = xf = e : xf = xf.next = e), Cf = !0, Sf || (Sf = !0, Nf());+ }+ function Df(e, t) {+ if (!wf && Cf) {+ wf = !0;+ do+ for (var n = !1, r = bf; r !== null;) {+ if (!t) {+ if (e !== 0) {+ var i = r.pendingLanes;+ if (i === 0) var a = 0;+ else {+ var o = r.suspendedLanes, s = r.pingedLanes;+ a = (1 << 31 - rt(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;+ }+ a !== 0 && (n = !0, Mf(r, a));+ } else a = Y, a = dt(r, r === q ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || ft(r, a) || (n = !0, Mf(r, a));+ }+ r = r.next;+ }+ while (n);+ wf = !1;+ }+ }+ function Of() {+ kf();+ }+ function kf() {+ Cf = Sf = !1;+ var e = 0;+ Tf !== 0 && hp() && (e = Tf);+ for (var t = Ke(), n = null, r = bf; r !== null;) {+ var i = r.next, a = Af(r, t);+ a === 0 ? (r.next = null, n === null ? bf = i : n.next = i, i === null && (xf = n)) : (n = r, (e !== 0 || a & 3) && (Cf = !0)), r = i;+ }+ yd !== 0 && yd !== 5 || Df(e, !1), Tf !== 0 && (Tf = 0);+ }+ function Af(e, t) {+ for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {+ var o = 31 - rt(a), s = 1 << o, c = i[o];+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = mt(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;+ }+ if (t = q, n = Y, n = dt(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (X === 2 || X === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Ue(r), e.callbackNode = null, e.callbackPriority = 0;+ if (!(n & 3) || ft(e, n)) {+ if (t = n & -n, t === e.callbackPriority) return t;+ switch (r !== null && Ue(r), Ct(n)) {+ case 2:+ case 8:+ n = Ye;+ break;+ case 32:+ n = N;+ break;+ case 268435456:+ n = Ze;+ break;+ default: n = N;+ }+ return r = jf.bind(null, e), n = M(n, r), e.callbackPriority = t, e.callbackNode = n, t;+ }+ return r !== null && r !== null && Ue(r), e.callbackPriority = 2, e.callbackNode = null, 2;+ }+ function jf(e, t) {+ if (yd !== 0 && yd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;+ var n = e.callbackNode;+ if (df() && e.callbackNode !== n) return null;+ var r = Y;+ return r = dt(e, e === q ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Fd(e, r, t), Af(e, Ke()), e.callbackNode != null && e.callbackNode === n ? jf.bind(null, e) : null);+ }+ function Mf(e, t) {+ if (df()) return null;+ Fd(e, t, !0);+ }+ function Nf() {+ bp(function() {+ K & 6 ? M(Je, Of) : kf();+ });+ }+ function Pf() {+ if (Tf === 0) {+ var e = za;+ e === 0 && (e = st, st <<= 1, !(st & 261888) && (st = 256)), Tf = e;+ }+ return Tf;+ }+ function Ff(e) {+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : L(e);+ }+ function If(e, t, n, r, i) {+ if (t === "submit" && n && n.stateNode === i) {+ var a = Ff((i[Dt] || null).action), o = r.submitter;+ o && (t = (t = o[Dt] || null) ? Ff(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));+ var s = new Bn("action", "action", null, r, i);+ e.push({+ event: s,+ listeners: [{+ instance: null,+ listener: function() {+ if (r.defaultPrevented) {+ if (Tf !== 0) {+ var e = new FormData(i, o);+ tc(n, {+ pending: !0,+ data: e,+ method: i.method,+ action: a+ }, null, e);+ }+ } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), tc(n, {+ pending: !0,+ data: e,+ method: i.method,+ action: a+ }, a, e));+ },+ currentTarget: i+ }]+ });+ }+ }+ for (var Lf = 0; Lf < hi.length; Lf++) {+ var Rf = hi[Lf];+ gi(Rf.toLowerCase(), "on" + (Rf[0].toUpperCase() + Rf.slice(1)));+ }+ gi(si, "onAnimationEnd"), gi(ci, "onAnimationIteration"), gi(li, "onAnimationStart"), gi("dblclick", "onDoubleClick"), gi("focusin", "onFocus"), gi("focusout", "onBlur"), gi(ui, "onTransitionRun"), gi(di, "onTransitionStart"), gi(fi, "onTransitionCancel"), gi(pi, "onTransitionEnd"), Gt("onMouseEnter", ["mouseout", "mouseover"]), Gt("onMouseLeave", ["mouseout", "mouseover"]), Gt("onPointerEnter", ["pointerout", "pointerover"]), Gt("onPointerLeave", ["pointerout", "pointerover"]), Wt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Wt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Wt("onBeforeInput", [+ "compositionend",+ "keypress",+ "textInput",+ "paste"+ ]), Wt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Wt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Wt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));+ var zf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Bf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zf));+ function Vf(e, t) {+ t = !!(t & 4);+ for (var n = 0; n < e.length; n++) {+ var r = e[n], i = r.event;+ r = r.listeners;+ a: {+ var a = void 0;+ if (t) for (var o = r.length - 1; 0 <= o; o--) {+ var s = r[o], c = s.instance, l = s.currentTarget;+ if (s = s.listener, c !== a && i.isPropagationStopped()) break a;+ a = s, i.currentTarget = l;+ try {+ a(i);+ } catch (e) {+ xi(e);+ }+ i.currentTarget = null, a = c;+ }+ else for (o = 0; o < r.length; o++) {+ if (s = r[o], c = s.instance, l = s.currentTarget, s = s.listener, c !== a && i.isPropagationStopped()) break a;+ a = s, i.currentTarget = l;+ try {+ a(i);+ } catch (e) {+ xi(e);+ }+ i.currentTarget = null, a = c;+ }+ }+ }+ }+ function Q(e, t) {+ var n = t[kt];+ n === void 0 && (n = t[kt] = /* @__PURE__ */ new Set());+ var r = e + "__bubble";+ n.has(r) || (Gf(t, e, 2, !1), n.add(r));+ }+ function Hf(e, t, n) {+ var r = 0;+ t && (r |= 4), Gf(n, e, r, t);+ }+ var Uf = "_reactListening" + Math.random().toString(36).slice(2);+ function Wf(e) {+ if (!e[Uf]) {+ e[Uf] = !0, Ht.forEach(function(t) {+ t !== "selectionchange" && (Bf.has(t) || Hf(t, !1, e), Hf(t, !0, e));+ });+ var t = e.nodeType === 9 ? e : e.ownerDocument;+ t === null || t[Uf] || (t[Uf] = !0, Hf("selectionchange", !1, t));+ }+ }+ function Gf(e, t, n, r) {+ switch (Ch(t)) {+ case 2:+ var i = _h;+ break;+ case 8:+ i = vh;+ break;+ default: i = yh;+ }+ n = i.bind(null, t, n, e), i = void 0, !kn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {+ capture: !0,+ passive: i+ }) : i === void 0 ? e.addEventListener(t, n, !1) : e.addEventListener(t, n, { passive: i });+ }+ function Kf(e, t, n, r, i) {+ var a = r;+ if (!(t & 1) && !(t & 2) && r !== null) a: for (;;) {+ if (r === null) return;+ var s = r.tag;+ if (s === 3 || s === 4) {+ var c = r.stateNode.containerInfo;+ if (c === i) break;+ if (s === 4) for (s = r.return; s !== null;) {+ var l = s.tag;+ if ((l === 3 || l === 4) && s.stateNode.containerInfo === i) return;+ s = s.return;+ }+ for (; c !== null;) {+ if (s = It(c), s === null) return;+ if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {+ r = a = s;+ continue a;+ }+ c = c.parentNode;+ }+ }+ r = r.return;+ }+ En(function() {+ var r = a, i = xn(n), s = [];+ a: {+ var c = mi.get(e);+ if (c !== void 0) {+ var l = Bn, u = e;+ switch (e) {+ case "keypress": if (Fn(n) === 0) break a;+ case "keydown":+ case "keyup":+ l = ir;+ break;+ case "focusin":+ u = "focus", l = Yn;+ break;+ case "focusout":+ u = "blur", l = Yn;+ break;+ case "beforeblur":+ case "afterblur":+ l = Yn;+ break;+ case "click": if (n.button === 2) break a;+ case "auxclick":+ case "dblclick":+ case "mousedown":+ case "mousemove":+ case "mouseup":+ case "mouseout":+ case "mouseover":+ case "contextmenu":+ l = qn;+ break;+ case "drag":+ case "dragend":+ case "dragenter":+ case "dragexit":+ case "dragleave":+ case "dragover":+ case "dragstart":+ case "drop":+ l = Jn;+ break;+ case "touchcancel":+ case "touchend":+ case "touchmove":+ case "touchstart":+ l = sr;+ break;+ case si:+ case ci:+ case li:+ l = Xn;+ break;+ case pi:+ l = cr;+ break;+ case "scroll":+ case "scrollend":+ l = Hn;+ break;+ case "wheel":+ l = lr;+ break;+ case "copy":+ case "cut":+ case "paste":+ l = Zn;+ break;+ case "gotpointercapture":+ case "lostpointercapture":+ case "pointercancel":+ case "pointerdown":+ case "pointermove":+ case "pointerout":+ case "pointerover":+ case "pointerup":+ l = ar;+ break;+ case "submit":+ l = or;+ break;+ case "toggle":+ case "beforetoggle": l = ur;+ }+ var d = !!(t & 4), f = !d && (e === "scroll" || e === "scrollend"), p = d ? c === null ? null : c + "Capture" : c;+ d = [];+ for (var m = r, h; m !== null;) {+ var g = m;+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = Dn(m, p), g != null && d.push(qf(m, g, h))), f) break;+ m = m.return;+ }+ 0 < d.length && (c = new l(c, u, null, n, i), s.push({+ event: c,+ listeners: d+ }));+ }+ }+ if (!(t & 7)) {+ a: {+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== R && (u = n.relatedTarget || n.fromElement) && (It(u) || u[Ot])) break a;+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? It(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = qn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = ar, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Rt(c), h = l == null ? u : Rt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, It(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? te(c, l, Yf) : null, c !== null && Xf(s, u, c, d, !1), l !== null && f !== null && Xf(s, f, l, d, !0)));+ }+ a: {+ if (c = r ? Rt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Ar;+ else if (wr(c)) {+ if (jr) _ = Br;+ else {+ _ = Rr;+ var v = Lr;+ }+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && _n(r.elementType) && (_ = Ar) : _ = zr;+ if (_ &&= _(e, r)) {+ Tr(s, _, n, i);+ break a;+ }+ v && v(e, c, r);+ }+ switch (v = r ? Rt(r) : window, e) {+ case "focusin":+ (wr(v) || v.contentEditable === "true") && (Zr = v, Qr = r, $r = null);+ break;+ case "focusout":+ $r = Qr = Zr = null;+ break;+ case "mousedown":+ ei = !0;+ break;+ case "contextmenu":+ case "mouseup":+ case "dragend":+ ei = !1, ti(s, n, i);+ break;+ case "selectionchange": if (Xr) break;+ case "keydown":+ case "keyup": ti(s, n, i);+ }+ var y;+ if (fr) b: {+ switch (e) {+ case "compositionstart":+ var b = "onCompositionStart";+ break b;+ case "compositionend":+ b = "onCompositionEnd";+ break b;+ case "compositionupdate":+ b = "onCompositionUpdate";+ break b;+ }+ b = void 0;+ }+ else br ? vr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");+ b && (hr && n.locale !== "ko" && (br || b !== "onCompositionStart" ? b === "onCompositionEnd" && br && (y = Pn()) : (jn = i, Mn = "value" in jn ? jn.value : jn.textContent, br = !0)), v = Jf(r, b), 0 < v.length && (b = new Qn(b, e, null, n, i), s.push({+ event: b,+ listeners: v+ }), y ? b.data = y : (y = yr(n), y !== null && (b.data = y)))), (y = mr ? xr(e, n) : Sr(e, n)) && (b = Jf(r, "onBeforeInput"), 0 < b.length && (v = new Qn("onBeforeInput", "beforeinput", null, n, i), s.push({+ event: v,+ listeners: b+ }), v.data = y)), If(s, e, r, n, i);+ }+ Vf(s, t);+ });+ }+ function qf(e, t, n) {+ return {+ instance: e,+ listener: t,+ currentTarget: n+ };+ }+ function Jf(e, t) {+ for (var n = t + "Capture", r = []; e !== null;) {+ var i = e, a = i.stateNode;+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = Dn(e, n), i != null && r.unshift(qf(e, i, a)), i = Dn(e, t), i != null && r.push(qf(e, i, a))), e.tag === 3) return r;+ e = e.return;+ }+ return [];+ }+ function Yf(e) {+ if (e === null) return null;+ do+ e = e.return;+ while (e && e.tag !== 5 && e.tag !== 27);+ return e || null;+ }+ function Xf(e, t, n, r, i) {+ for (var a = t._reactName, o = []; n !== null && n !== r;) {+ var s = n, c = s.alternate, l = s.stateNode;+ if (s = s.tag, c !== null && c === r) break;+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = Dn(n, a), l != null && o.unshift(qf(n, l, c))) : i || (l = Dn(n, a), l != null && o.push(qf(n, l, c)))), n = n.return;+ }+ o.length !== 0 && e.push({+ event: t,+ listeners: o+ });+ }+ var Zf = /\r\n?/g, Qf = /\u0000|\uFFFD/g;+ function $f(e) {+ return (typeof e == "string" ? e : "" + e).replace(Zf, "\n").replace(Qf, "");+ }+ function ep(e, t) {+ return t = $f(t), $f(e) === t;+ }+ function $(e, t, n, r, a, o) {+ switch (n) {+ case "children":+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || pn(e, r);+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && pn(e, "" + r);+ else return;+ break;+ case "className":+ Qt(e, "class", r);+ break;+ case "tabIndex":+ Qt(e, "tabindex", r);+ break;+ case "dir":+ case "role":+ case "viewBox":+ case "width":+ case "height":+ Qt(e, n, r);+ break;+ case "style":+ gn(e, r, o);+ return;+ case "data": if (t !== "object") {+ Qt(e, "data", r);+ break;+ }+ case "src":+ case "href":+ if (r === "" && (t !== "a" || n !== "href")) {+ e.removeAttribute(n);+ break;+ }+ if (r == null || typeof r == "function" || typeof r == "symbol" || typeof r == "boolean") {+ e.removeAttribute(n);+ break;+ }+ r = L(r), e.setAttribute(n, r);+ break;+ case "action":+ case "formAction":+ if (typeof r == "function") {+ e.setAttribute(n, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");+ break;+ }+ if (typeof o == "function" && (n === "formAction" ? (t !== "input" && $(e, t, "name", a.name, a, null), $(e, t, "formEncType", a.formEncType, a, null), $(e, t, "formMethod", a.formMethod, a, null), $(e, t, "formTarget", a.formTarget, a, null)) : ($(e, t, "encType", a.encType, a, null), $(e, t, "method", a.method, a, null), $(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {+ e.removeAttribute(n);+ break;+ }+ r = L(r), e.setAttribute(n, r);+ break;+ case "onClick":+ r != null && (e.onclick = bn);+ return;+ case "onScroll":+ r != null && Q("scroll", e);+ return;+ case "onScrollEnd":+ r != null && Q("scrollend", e);+ return;+ case "dangerouslySetInnerHTML":+ if (r != null) {+ if (typeof r != "object" || !("__html" in r)) throw Error(i(61));+ if (n = r.__html, n != null) {+ if (a.children != null) throw Error(i(60));+ o?.__html !== n && (e.innerHTML = n);+ }+ }+ break;+ case "multiple":+ e.multiple = r && typeof r != "function" && typeof r != "symbol";+ break;+ case "muted":+ e.muted = r && typeof r != "function" && typeof r != "symbol";+ break;+ case "suppressContentEditableWarning":+ case "suppressHydrationWarning":+ case "defaultValue":+ case "defaultChecked":+ case "innerHTML":+ case "ref": break;+ case "autoFocus": break;+ case "xlinkHref":+ if (r == null || typeof r == "function" || typeof r == "boolean" || typeof r == "symbol") {+ e.removeAttribute("xlink:href");+ break;+ }+ n = L(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);+ break;+ case "contentEditable":+ case "spellCheck":+ case "draggable":+ case "value":+ case "autoReverse":+ case "externalResourcesRequired":+ case "focusable":+ case "preserveAlpha":+ r != null && typeof r != "function" && typeof r != "symbol" ? e.setAttribute(n, r) : e.removeAttribute(n);+ break;+ case "inert":+ case "allowFullScreen":+ case "async":+ case "autoPlay":+ case "controls":+ case "credentialless":+ case "default":+ case "defer":+ case "disabled":+ case "disablePictureInPicture":+ case "disableRemotePlayback":+ case "formNoValidate":+ case "hidden":+ case "loop":+ case "noModule":+ case "noValidate":+ case "open":+ case "playsInline":+ case "readOnly":+ case "required":+ case "reversed":+ case "scoped":+ case "seamless":+ case "itemScope":+ r && typeof r != "function" && typeof r != "symbol" ? e.setAttribute(n, "") : e.removeAttribute(n);+ break;+ case "capture":+ case "download":+ !0 === r ? e.setAttribute(n, "") : !1 !== r && r != null && typeof r != "function" && typeof r != "symbol" ? e.setAttribute(n, r) : e.removeAttribute(n);+ break;+ case "cols":+ case "rows":+ case "size":+ case "span":+ r != null && typeof r != "function" && typeof r != "symbol" && !isNaN(r) && 1 <= r ? e.setAttribute(n, r) : e.removeAttribute(n);+ break;+ case "rowSpan":+ case "start":+ r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);+ break;+ case "popover":+ Q("beforetoggle", e), Q("toggle", e), Zt(e, "popover", r);+ break;+ case "xlinkActuate":+ $t(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);+ break;+ case "xlinkArcrole":+ $t(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);+ break;+ case "xlinkRole":+ $t(e, "http://www.w3.org/1999/xlink", "xlink:role", r);+ break;+ case "xlinkShow":+ $t(e, "http://www.w3.org/1999/xlink", "xlink:show", r);+ break;+ case "xlinkTitle":+ $t(e, "http://www.w3.org/1999/xlink", "xlink:title", r);+ break;+ case "xlinkType":+ $t(e, "http://www.w3.org/1999/xlink", "xlink:type", r);+ break;+ case "xmlBase":+ $t(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);+ break;+ case "xmlLang":+ $t(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);+ break;+ case "xmlSpace":+ $t(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);+ break;+ case "is":+ Zt(e, "is", r);+ break;+ case "innerText":+ case "textContent": return;+ default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = vn.get(n) || n, Zt(e, n, r);+ else return;+ }+ F = !0;+ }+ function tp(e, t, n, r, a, o) {+ switch (n) {+ case "style":+ gn(e, r, o);+ return;+ case "dangerouslySetInnerHTML":+ if (r != null) {+ if (typeof r != "object" || !("__html" in r)) throw Error(i(61));+ if (n = r.__html, n != null) {+ if (a.children != null) throw Error(i(60));+ o?.__html !== n && (e.innerHTML = n);+ }+ }+ break;+ case "children":+ if (typeof r == "string") pn(e, r);+ else if (typeof r == "number" || typeof r == "bigint") pn(e, "" + r);+ else return;+ break;+ case "onScroll":+ r != null && Q("scroll", e);+ return;+ case "onScrollEnd":+ r != null && Q("scrollend", e);+ return;+ case "onClick":+ r != null && (e.onclick = bn);+ return;+ case "suppressContentEditableWarning":+ case "suppressHydrationWarning":+ case "innerHTML":+ case "ref": return;+ case "innerText":+ case "textContent": return;+ default:+ if (!Ut.hasOwnProperty(n)) a: {+ if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[Dt] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {+ typeof t != "function" && t !== null && (n in e ? e[n] = null : e.hasAttribute(n) && e.removeAttribute(n)), e.addEventListener(o, r, a);+ break a;+ }+ F = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Zt(e, n, r);+ }+ return;+ }+ F = !0;+ }+ function np(e, t, n) {+ switch (t) {+ case "div":+ case "span":+ case "svg":+ case "path":+ case "a":+ case "g":+ case "p":+ case "li": break;+ case "img":+ Q("error", e), Q("load", e);+ var r = !1, a = !1, o;+ for (o in n) if (n.hasOwnProperty(o)) {+ var s = n[o];+ if (s != null) switch (o) {+ case "src":+ r = !0;+ break;+ case "srcSet":+ a = !0;+ break;+ case "children":+ case "dangerouslySetInnerHTML": throw Error(i(137, t));+ default: $(e, t, o, s, n, null);+ }+ }+ a && $(e, t, "srcSet", n.srcSet, n, null), r && $(e, t, "src", n.src, n, null);+ return;+ case "input":+ Q("invalid", e);+ var c = o = s = a = null, l = null, u = null;+ for (r in n) if (n.hasOwnProperty(r)) {+ var d = n[r];+ if (d != null) switch (r) {+ case "name":+ a = d;+ break;+ case "type":+ s = d;+ break;+ case "checked":+ l = d;+ break;+ case "defaultChecked":+ u = d;+ break;+ case "value":+ o = d;+ break;+ case "defaultValue":+ c = d;+ break;+ case "children":+ case "dangerouslySetInnerHTML":+ if (d != null) throw Error(i(137, t));+ break;+ default: $(e, t, r, d, n, null);+ }+ }+ cn(e, o, c, l, u, s, a, !1);+ return;+ case "select":+ for (a in Q("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {+ case "value":+ o = c;+ break;+ case "defaultValue":+ s = c;+ break;+ case "multiple": r = c;+ default: $(e, t, a, c, n, null);+ }+ t = o, n = s, e.multiple = !!r, t == null ? n != null && un(e, !!r, n, !0) : un(e, !!r, t, !1);+ return;+ case "textarea":+ for (s in Q("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {+ case "value":+ r = c;+ break;+ case "defaultValue":+ a = c;+ break;+ case "children":+ o = c;+ break;+ case "dangerouslySetInnerHTML":+ if (c != null) throw Error(i(91));+ break;+ default: $(e, t, s, c, n, null);+ }+ fn(e, r, a, o);+ return;+ case "option":+ for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {+ case "selected":+ e.selected = r && typeof r != "function" && typeof r != "symbol";+ break;+ default: $(e, t, l, r, n, null);+ }+ return;+ case "dialog":+ Q("beforetoggle", e), Q("toggle", e), Q("cancel", e), Q("close", e);+ break;+ case "iframe":+ case "object":+ Q("load", e);+ break;+ case "video":+ case "audio":+ for (r = 0; r < zf.length; r++) Q(zf[r], e);+ break;+ case "image":+ Q("error", e), Q("load", e);+ break;+ case "details":+ Q("toggle", e);+ break;+ case "embed":+ case "source":+ case "link": Q("error", e), Q("load", e);+ case "area":+ case "base":+ case "br":+ case "col":+ case "hr":+ case "keygen":+ case "meta":+ case "param":+ case "track":+ case "wbr":+ case "menuitem":+ for (u in n) if (n.hasOwnProperty(u) && (r = n[u], r != null)) switch (u) {+ case "children":+ case "dangerouslySetInnerHTML": throw Error(i(137, t));+ default: $(e, t, u, r, n, null);+ }+ return;+ default: if (_n(t)) {+ for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && tp(e, t, d, r, n, void 0));+ return;+ }+ }+ for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && $(e, t, c, r, n, null));+ }+ var rp = {};+ function ip(e, t, n, r) {+ switch (t) {+ case "div":+ case "span":+ case "svg":+ case "path":+ case "a":+ case "g":+ case "p":+ case "li": break;+ case "input":+ var a = null, o = null, s = null, c = null, l = null, u = null, d = null;+ for (m in n) {+ var f = n[m];+ if (n.hasOwnProperty(m) && f != null) switch (m) {+ case "checked": break;+ case "value": break;+ case "defaultValue": l = f;+ default: r.hasOwnProperty(m) || $(e, t, m, null, r, f);+ }+ }+ for (var p in r) {+ var m = r[p];+ if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {+ case "type":+ m !== f && (F = !0), o = m;+ break;+ case "name":+ m !== f && (F = !0), a = m;+ break;+ case "checked":+ m !== f && (F = !0), u = m;+ break;+ case "defaultChecked":+ m !== f && (F = !0), d = m;+ break;+ case "value":+ m !== f && (F = !0), s = m;+ break;+ case "defaultValue":+ m !== f && (F = !0), c = m;+ break;+ case "children":+ case "dangerouslySetInnerHTML":+ if (m != null) throw Error(i(137, t));+ break;+ default: m !== f && $(e, t, p, m, r, f);+ }+ }+ sn(e, s, c, l, u, d, o, a);+ return;+ case "select":+ for (o in m = s = c = p = null, n) if (l = n[o], n.hasOwnProperty(o) && l != null) switch (o) {+ case "value": break;+ case "multiple": m = l;+ default: r.hasOwnProperty(o) || $(e, t, o, null, r, l);+ }+ for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {+ case "value":+ o !== l && (F = !0), p = o;+ break;+ case "defaultValue":+ o !== l && (F = !0), c = o;+ break;+ case "multiple": o !== l && (F = !0), s = o;+ default: o !== l && $(e, t, a, o, r, l);+ }+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? un(e, !!n, n ? [] : "", !1) : un(e, !!n, t, !0)) : un(e, !!n, p, !1);+ return;+ case "textarea":+ for (c in m = p = null, n) if (a = n[c], n.hasOwnProperty(c) && a != null && !r.hasOwnProperty(c)) switch (c) {+ case "value": break;+ case "children": break;+ default: $(e, t, c, null, r, a);+ }+ for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {+ case "value":+ a !== o && (F = !0), p = a;+ break;+ case "defaultValue":+ a !== o && (F = !0), m = a;+ break;+ case "children": break;+ case "dangerouslySetInnerHTML":+ if (a != null) throw Error(i(91));+ break;+ default: a !== o && $(e, t, s, a, r, o);+ }+ dn(e, p, m);+ return;+ case "option":+ for (var h in n) if (p = n[h], n.hasOwnProperty(h) && p != null && !r.hasOwnProperty(h)) switch (h) {+ case "selected":+ e.selected = !1;+ break;+ default: $(e, t, h, null, r, p);+ }+ for (l in r) if (p = r[l], m = n[l], r.hasOwnProperty(l) && p !== m && (p != null || m != null)) switch (l) {+ case "selected":+ p !== m && (F = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";+ break;+ default: $(e, t, l, p, r, m);+ }+ return;+ case "img":+ case "link":+ case "area":+ case "base":+ case "br":+ case "col":+ case "embed":+ case "hr":+ case "keygen":+ case "meta":+ case "param":+ case "source":+ case "track":+ case "wbr":+ case "menuitem":+ for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && $(e, t, g, null, r, p);+ for (u in r) if (p = r[u], m = n[u], r.hasOwnProperty(u) && p !== m && (p != null || m != null)) switch (u) {+ case "children":+ case "dangerouslySetInnerHTML":+ if (p != null) throw Error(i(137, t));+ break;+ default: $(e, t, u, p, r, m);+ }+ return;+ default: if (_n(t)) {+ for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && tp(e, t, _, void 0, r, p);+ for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || tp(e, t, d, p, r, m);+ return;+ }+ }+ for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && $(e, t, v, null, r, p);+ for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || $(e, t, f, p, r, m);+ }+ function ap(e) {+ switch (e) {+ case "css":+ case "script":+ case "font":+ case "img":+ case "image":+ case "input":+ case "link": return !0;+ default: return !1;+ }+ }+ function op() {+ if (typeof performance.getEntriesByType == "function") {+ for (var e = 0, t = 0, n = performance.getEntriesByType("resource"), r = 0; r < n.length; r++) {+ var i = n[r], a = i.transferSize, o = i.initiatorType, s = i.duration;+ if (a && s && ap(o)) {+ for (o = 0, s = i.responseEnd, r += 1; r < n.length; r++) {+ var c = n[r], l = c.startTime;+ if (l > s) break;+ var u = c.transferSize, d = c.initiatorType;+ u && ap(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));+ }+ if (--r, t += 8 * (a + o) / (i.duration / 1e3), e++, 10 < e) break;+ }+ }+ if (0 < e) return t / e / 1e6;+ }+ return navigator.connection && (e = navigator.connection.downlink, typeof e == "number") ? e : 5;+ }+ var sp = null, cp = null;+ function lp(e) {+ return e.nodeType === 9 ? e : e.ownerDocument;+ }+ function up(e) {+ switch (e) {+ case "http://www.w3.org/2000/svg": return 1;+ case "http://www.w3.org/1998/Math/MathML": return 2;+ default: return 0;+ }+ }+ function dp(e, t) {+ if (e === 0) switch (t) {+ case "svg": return 1;+ case "math": return 2;+ default: return 0;+ }+ return e === 1 && t === "foreignObject" ? 0 : e;+ }+ function fp(e, t, n, r) {+ return n = lp(n).createElement(e), n[Et] = r, n[Dt] = t, np(n, e, t), Bt(n), n;+ }+ function pp(e, t) {+ return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;+ }+ var mp = null;+ function hp() {+ var e = window.event;+ return e && e.type === "popstate" ? e !== mp && (mp = e, !0) : (mp = null, !1);+ }+ var gp = typeof setTimeout == "function" ? setTimeout : void 0, _p = typeof clearTimeout == "function" ? clearTimeout : void 0, vp = typeof Promise == "function" ? Promise : void 0, yp = typeof requestAnimationFrame == "function" ? requestAnimationFrame : gp, bp = typeof queueMicrotask == "function" ? queueMicrotask : vp === void 0 ? gp : function(e) {+ return vp.resolve(null).then(e).catch(xp);+ };+ function xp(e) {+ setTimeout(function() {+ throw e;+ });+ }+ function Sp(e) {+ return e === "head";+ }+ function Cp(e, t) {+ var n = t, r = 0;+ do {+ var i = n.nextSibling;+ if (e.removeChild(n), i && i.nodeType === 8) {+ if (n = i.data, n === "/$" || n === "/&") {+ if (r === 0) {+ e.removeChild(i), Hh(t);+ return;+ }+ r--;+ } else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;+ else if (n === "html") _m(e.ownerDocument.documentElement);+ else if (n === "head") {+ n = e.ownerDocument.head, _m(n);+ for (var a = n.firstChild; a;) {+ var o = a.nextSibling, s = a.nodeName;+ a[Nt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;+ }+ } else n === "body" && _m(e.ownerDocument.body);+ }+ n = i;+ } while (n);+ Hh(t);+ }+ function wp(e, t) {+ var n = e;+ e = 0;+ do {+ var r = n.nextSibling;+ if (n.nodeType === 1 ? t ? (n._stashedDisplay = n.style.display, n.style.display = "none") : (n.style.display = n._stashedDisplay || "", n.getAttribute("style") === "" && n.removeAttribute("style")) : n.nodeType === 3 && (t ? (n._stashedText = n.nodeValue, n.nodeValue = "") : n.nodeValue = n._stashedText || ""), r && r.nodeType === 8) {+ if (n = r.data, n === "/$") {+ if (e === 0) break;+ e--;+ } else n !== "$" && n !== "$?" && n !== "$~" && n !== "$!" || e++;+ }+ n = r;+ } while (n);+ }+ function Tp(e, t, n) {+ if (t = CSS.escape(t) === t ? t : "r-" + btoa(t).replace(/=/g, ""), e.style.viewTransitionName = t, n != null && (e.style.viewTransitionClass = n), n = getComputedStyle(e), n.display === "inline") {+ if (t = e.getClientRects(), t.length === 1) var r = 1;+ else for (var i = r = 0; i < t.length; i++) {+ var a = t[i];+ 0 < a.width && 0 < a.height && r++;+ }+ r === 1 && (e = e.style, e.display = t.length === 1 ? "inline-block" : "block", e.marginTop = "-" + n.paddingTop, e.marginBottom = "-" + n.paddingBottom);+ }+ }+ function Ep(e, t) {+ e = e.style, t = t.style;+ var n = t == null ? null : t.hasOwnProperty("viewTransitionName") ? t.viewTransitionName : t.hasOwnProperty("view-transition-name") ? t["view-transition-name"] : null;+ e.viewTransitionName = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), n = t == null ? null : t.hasOwnProperty("viewTransitionClass") ? t.viewTransitionClass : t.hasOwnProperty("view-transition-class") ? t["view-transition-class"] : null, e.viewTransitionClass = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), e.display === "inline-block" && (t == null ? e.display = e.margin = "" : (n = t.display, e.display = n == null || typeof n == "boolean" ? "" : n, n = t.margin, n == null ? (n = t.hasOwnProperty("marginTop") ? t.marginTop : t["margin-top"], e.marginTop = n == null || typeof n == "boolean" ? "" : n, t = t.hasOwnProperty("marginBottom") ? t.marginBottom : t["margin-bottom"], e.marginBottom = t == null || typeof t == "boolean" ? "" : t) : e.margin = n));+ }+ function Dp(e, t, n) {+ return n = n.ownerDocument.defaultView, {+ rect: e,+ abs: t.position === "absolute" || t.position === "fixed",+ clip: t.clipPath !== "none" || t.overflow !== "visible" || t.filter !== "none" || t.mask !== "none" || t.mask !== "none" || t.borderRadius !== "0px",+ view: 0 <= e.bottom && 0 <= e.right && e.top <= n.innerHeight && e.left <= n.innerWidth+ };+ }+ function Op(e) {+ return Dp(e.getBoundingClientRect(), getComputedStyle(e), e);+ }+ function kp(e) {+ var t = e.getBoundingClientRect();+ t = new DOMRect(t.x + 2e4, t.y + 2e4, t.width, t.height);+ var n = getComputedStyle(e);+ return Dp(t, n, e);+ }+ function Ap(e) {+ return e.documentElement.clientHeight;+ }+ function jp(e) {+ this.addEventListener("load", e), this.addEventListener("error", e);+ }+ function Mp(e, t, n, r, i, a, o, s, c) {+ var l = t.nodeType === 9 ? t : t.ownerDocument;+ try {+ var u = l.startViewTransition({+ update: function() {+ var t = l.defaultView, n = t.navigation && t.navigation.transition, o = l.fonts.status;+ r();+ var s = [];+ if (o === "loaded" && (Ap(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {+ var f = c[d];+ if (!f.complete) {+ var p = f.getBoundingClientRect();+ if (0 < p.bottom && 0 < p.right && p.top < t.innerHeight && p.left < t.innerWidth) {+ if (u += Xm(f), u > $m) {+ s.length = o;+ break;+ }+ f = new Promise(jp.bind(f)), s.push(f);+ }+ }+ }+ if (0 < s.length) return t = Promise.race([Promise.all(s), new Promise(function(e) {+ return setTimeout(e, 500);+ })]).then(i, i), (n ? Promise.allSettled([n.finished, t]) : t).then(a, a);+ if (i(), n) return n.finished.then(a, a);+ a();+ },+ types: n+ });+ l.__reactViewTransition = u;+ var d = [];+ return u.ready.then(function() {+ for (var e = l.documentElement.getAnimations({ subtree: !0 }), t = 0; t < e.length; t++) {+ var n = e[t], r = n.effect, i = r.pseudoElement;+ if (i != null && i.startsWith("::view-transition")) {+ d.push(n), n = r.getKeyframes();+ for (var a = i = void 0, s = !0, c = 0; c < n.length; c++) {+ var u = n[c], f = u.width;+ if (i === void 0) i = f;+ else if (i !== f) {+ s = !1;+ break;+ }+ if (f = u.height, a === void 0) a = f;+ else if (a !== f) {+ s = !1;+ break;+ }+ delete u.width, delete u.height, u.transform === "none" && delete u.transform;+ }+ s && i !== void 0 && a !== void 0 && (r.setKeyframes(n), s = getComputedStyle(r.target, r.pseudoElement), s.width !== i || s.height !== a) && (s = n[0], s.width = i, s.height = a, s = n[n.length - 1], s.width = i, s.height = a, r.setKeyframes(n));+ }+ }+ o();+ }, function(e) {+ l.__reactViewTransition === u && (l.__reactViewTransition = null);+ try {+ if (typeof e == "object" && e) switch (e.name) {+ case "InvalidStateError": (e.message === "View transition was skipped because document visibility state is hidden." || e.message === "Skipping view transition because document visibility state has become hidden." || e.message === "Skipping view transition because viewport size changed." || e.message === "Transition was aborted because of invalid state") && (e = null);+ }+ e !== null && c(e);+ } finally {+ r(), i(), o();+ }+ }), u.finished.finally(function() {+ for (var e = 0; e < d.length; e++) d[e].cancel();+ l.__reactViewTransition === u && (l.__reactViewTransition = null), s();+ }), u;+ } catch {+ return r(), i(), o(), null;+ }+ }+ function Np(e, t) {+ this._scope = document.documentElement, this._selector = "::view-transition-" + e + "(" + t + ")";+ }+ Np.prototype.animate = function(e, t) {+ return t = typeof t == "number" ? { duration: t } : T({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);+ }, Np.prototype.getAnimations = function() {+ for (var e = this._scope, t = this._selector, n = e.getAnimations({ subtree: !0 }), r = [], i = 0; i < n.length; i++) {+ var a = n[i].effect;+ a !== null && a.target === e && a.pseudoElement === t && r.push(n[i]);+ }+ return r;+ }, Np.prototype.getComputedStyle = function() {+ return getComputedStyle(this._scope, this._selector);+ };+ function Pp(e) {+ return {+ name: e,+ group: new Np("group", e),+ imagePair: new Np("image-pair", e),+ old: new Np("old", e),+ new: new Np("new", e)+ };+ }+ function Fp(e) {+ this._fragmentFiber = e, this._observers = this._eventListeners = null;+ }+ Fp.prototype.addEventListener = function(e, t, n) {+ var r = null, i = null;+ if (!(n != null && typeof n != "boolean" && (r = n.signal || null, r !== null && r.aborted))) {+ this._eventListeners === null && (this._eventListeners = []);+ var a = this._eventListeners;+ if (Bp(a, e, t, n) === -1) {+ var o = this, s = t;+ n != null && typeof n != "boolean" && !0 === n.once && (s = function(r) {+ o.removeEventListener(e, t, n), typeof t == "function" ? t.call(this, r) : t.handleEvent(r);+ }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = Rp(n), a.push({+ type: e,+ listener: t,+ optionsOrUseCapture: n,+ attachedListener: s,+ cleanup: i+ }), m(this._fragmentFiber.child, !1, Ip, e, s, r);+ }+ this._eventListeners = a;+ }+ };+ function Ip(e, t, n, r) {+ return b(e).addEventListener(t, n, r), !1;+ }+ Fp.prototype.removeEventListener = function(e, t, n) {+ var r = this._eventListeners;+ if (r !== null && (t = Bp(r, e, t, n), t !== -1)) {+ var i = r[t];+ n = i.attachedListener;+ var a = i.cleanup;+ i = Rp(i.optionsOrUseCapture), m(this._fragmentFiber.child, !1, Lp, e, n, i), r.splice(t, 1), a !== null && a();+ }+ };+ function Lp(e, t, n, r) {+ return b(e).removeEventListener(t, n, r), !1;+ }+ function Rp(e) {+ return e != null && typeof e != "boolean" && (!0 === e.once || e.signal instanceof AbortSignal) ? {+ capture: e.capture,+ passive: e.passive+ } : e;+ }+ function zp(e) {+ return e == null ? "c=0" : typeof e == "boolean" ? "c=" + (e ? "1" : "0") : "c=" + (e.capture ? "1" : "0");+ }+ function Bp(e, t, n, r) {+ if (e.length === 0) return -1;+ r = zp(r);+ for (var i = 0; i < e.length; i++) {+ var a = e[i];+ if (a.type === t && a.listener === n && zp(a.optionsOrUseCapture) === r) return i;+ }+ return -1;+ }+ Fp.prototype.dispatchEvent = function(e) {+ var t = g(this._fragmentFiber);+ if (t === null) return !0;+ t = b(t);+ var n = this._eventListeners;+ if (n !== null && 0 < n.length || !e.bubbles) {+ var r = t.nodeType === 9 ? t.createComment("") : document.createTextNode("");+ if (n) for (var i = 0; i < n.length; i++) {+ var a = n[i];+ r.addEventListener(a.type, a.attachedListener, Rp(a.optionsOrUseCapture));+ }+ if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, Rp(a.optionsOrUseCapture));+ return t.removeChild(r), e;+ }+ return t.dispatchEvent(e);+ }, Fp.prototype.focus = function(e) {+ m(this._fragmentFiber.child, !0, Vp, e, void 0, void 0);+ };+ function Vp(e, t) {+ return e.tag !== 6 && (e = b(e), pm(e, t));+ }+ Fp.prototype.focusLast = function(e) {+ var t = [];+ m(this._fragmentFiber.child, !0, Hp, t, void 0, void 0);+ for (var n = t.length - 1; 0 <= n && !Vp(t[n], e); n--);+ };+ function Hp(e, t) {+ return t.push(e), !1;+ }+ Fp.prototype.blur = function() {+ var e = g(this._fragmentFiber);+ e !== null && (e = b(e), e = lp(e).activeElement, e !== null && m(this._fragmentFiber.child, !1, Up, e, void 0, void 0));+ };+ function Up(e, t) {+ return e.tag !== 6 && (e = b(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);+ }+ Fp.prototype.observeUsing = function(e) {+ this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), m(this._fragmentFiber.child, !1, Wp, e, void 0, void 0);+ };+ function Wp(e, t) {+ return e.tag !== 6 && (e = b(e), t.observe(e), !1);+ }+ Fp.prototype.unobserveUsing = function(e) {+ var t = this._observers;+ if (t !== null && t.has(e)) {+ t.delete(e), m(this._fragmentFiber.child, !1, Gp, e, void 0, void 0);+ for (var n = t = 0; n < Kp.length; n++) {+ var r = Kp[n];+ r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : Kp[t++] = r;+ }+ Kp.length = t;+ }+ };+ function Gp(e, t) {+ return e.tag !== 6 && (e = b(e), t.unobserve(e), !1);+ }+ var Kp = [], qp = !1;+ function Jp(e, t, n) {+ Kp.push({+ fragmentInstance: e,+ observer: t,+ instance: n+ }), qp || (qp = !0, mm(function() {+ qp = !1;+ var e = Kp;+ Kp = [];+ for (var t = 0; t < e.length; t++) {+ var n = e[t];+ n.observer.unobserve(n.instance);+ }+ }));+ }+ Fp.prototype.getClientRects = function() {+ var e = [];+ return m(this._fragmentFiber.child, !1, Yp, e, void 0, void 0), e;+ };+ function Yp(e, t) {+ if (e.tag === 6) {+ e = e.stateNode;+ var n = e.ownerDocument.createRange();+ n.selectNodeContents(e), t.push.apply(t, n.getClientRects());+ } else e = b(e), t.push.apply(t, e.getClientRects());+ return !1;+ }+ Fp.prototype.getRootNode = function(e) {+ var t = g(this._fragmentFiber);+ return t === null ? this : b(t).getRootNode(e);+ }, Fp.prototype.compareDocumentPosition = function(e) {+ var t = g(this._fragmentFiber);+ if (t === null) return Node.DOCUMENT_POSITION_DISCONNECTED;+ var n = [];+ m(this._fragmentFiber.child, !1, Hp, n, void 0, void 0);+ var r = b(t);+ if (n.length === 0) {+ if (n = r, _(this._fragmentFiber)) {+ a: {+ for (t = this._fragmentFiber.return; t !== null;) {+ if (t.tag === 4) {+ t = t.stateNode.containerInfo;+ break a;+ }+ if (t.tag === 3 || t.tag === 5 || t.tag === 27) break;+ t = t.return;+ }+ t = null;+ }+ t != null && (n = t);+ }+ t = this._fragmentFiber;+ var i = r = n.compareDocumentPosition(e);+ return n === e ? i = Node.DOCUMENT_POSITION_CONTAINS : r & Node.DOCUMENT_POSITION_CONTAINED_BY && (n = v(t)[1], n === null ? i = Node.DOCUMENT_POSITION_PRECEDING : (e = b(n).compareDocumentPosition(e), i = e === 0 || e & Node.DOCUMENT_POSITION_FOLLOWING ? Node.DOCUMENT_POSITION_FOLLOWING : Node.DOCUMENT_POSITION_PRECEDING)), i |= Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;+ }+ t = b(n[0]), i = b(n[n.length - 1]);+ var a = _(this._fragmentFiber) ? t.parentElement : r;+ if (a == null) return Node.DOCUMENT_POSITION_DISCONNECTED;+ r = a.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_CONTAINED_BY, a = a.compareDocumentPosition(i) & Node.DOCUMENT_POSITION_CONTAINED_BY;+ var o = t.compareDocumentPosition(e), s = i.compareDocumentPosition(e), c = o & Node.DOCUMENT_POSITION_CONTAINED_BY || s & Node.DOCUMENT_POSITION_CONTAINED_BY;+ return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || Xp(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;+ };+ function Xp(e, t, n, r, i) {+ var a = It(i);+ if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {+ if (n = !!a) a: {+ for (; a !== null;) {+ if (a.tag === 7 && (a === t || a.alternate === t)) {+ n = !0;+ break a;+ }+ a = a.return;+ }+ n = !1;+ }+ return n;+ }+ if (e & Node.DOCUMENT_POSITION_CONTAINS) {+ if (a === null) return a = i.ownerDocument, i === a || i === a.documentElement || i === a.body;+ a: {+ for (a = t, t = g(t); a !== null;) {+ if (!(a.tag !== 5 && a.tag !== 3 && a.tag !== 27 || a !== t && a.alternate !== t)) {+ a = !0;+ break a;+ }+ a = a.return;+ }+ a = !1;+ }+ return a;+ }+ return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = te(n, a, w), t === null ? t = !1 : (m(t, !0, ee, a, n), a = x, x = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = te(r, a, w), t === null ? t = !1 : (m(t, !0, C, a, r), a = x, S = x = null, t = a !== null)), t) : !1;+ }+ function Zp(e, t) {+ var n = e.ownerDocument.createRange();+ n.selectNodeContents(e), e = n.getBoundingClientRect(), window.scrollTo(window.scrollX + e.left, t ? window.scrollY + e.top : window.scrollY + e.bottom - window.innerHeight);+ }+ Fp.prototype.scrollIntoView = function(e) {+ if (typeof e == "object") throw Error(i(566));+ var t = [];+ m(this._fragmentFiber.child, !1, Hp, t, void 0, void 0);+ var n = !1 !== e;+ if (t.length === 0) {+ var r = v(this._fragmentFiber);+ if (r = n ? r[1] || r[0] || g(this._fragmentFiber) : r[0] || r[1], r === null) return;+ if (r.tag === 6) {+ e = b(r), Zp(e, n);+ return;+ }+ if (r = b(r), r.nodeType !== 9) {+ if (r.nodeType === 11) {+ n = "host" in r ? r.host : null, n !== null && n.scrollIntoView(e);+ return;+ }+ r.scrollIntoView(e);+ }+ }+ for (r = n ? t.length - 1 : 0; r !== (n ? -1 : t.length);) {+ var a = t[r];+ a.tag === 6 ? (a = b(a), Zp(a, n)) : b(a).scrollIntoView(e), r += n ? -1 : 1;+ }+ };+ function Qp(e, t) {+ return e = b(e), $p(e, t), !1;+ }+ function $p(e, t) {+ e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);+ }+ function em(e, t) {+ var n = t._eventListeners;+ if (n !== null) for (var r = 0; r < n.length; r++) {+ var i = n[r];+ e.addEventListener(i.type, i.attachedListener, Rp(i.optionsOrUseCapture));+ }+ e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {+ for (var r = 0, i = 0; i < Kp.length; i++) {+ var a = Kp[i];+ (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (Kp[r++] = a);+ }+ Kp.length = r, n.observe(e);+ }), $p(e, t));+ }+ function tm(e, t) {+ var n = t._eventListeners;+ if (n !== null) for (var r = 0; r < n.length; r++) {+ var i = n[r];+ e.removeEventListener(i.type, i.attachedListener, Rp(i.optionsOrUseCapture));+ }+ e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {+ typeof n.rootMargin == "string" ? Jp(t, n, e) : n.unobserve(e);+ }), e.reactFragments != null && e.reactFragments.delete(t));+ }+ function nm(e) {+ var t = e.firstChild;+ for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {+ var n = t;+ switch (t = t.nextSibling, n.nodeName) {+ case "HTML":+ case "HEAD":+ case "BODY":+ nm(n), Ft(n);+ continue;+ case "SCRIPT":+ case "STYLE": continue;+ case "LINK": if (n.rel.toLowerCase() === "stylesheet") continue;+ }+ e.removeChild(n);+ }+ }+ function rm(e, t, n, r) {+ for (; e.nodeType === 1;) {+ var i = n;+ if (e.nodeName.toLowerCase() !== t.toLowerCase()) {+ if (!r && (e.nodeName !== "INPUT" || e.type !== "hidden")) break;+ } else if (!r) {+ if (t === "input" && e.type === "hidden") {+ var a = i.name == null ? null : "" + i.name;+ if (i.type === "hidden" && e.getAttribute("name") === a) return e;+ } else return e;+ } else if (!e[Nt]) switch (t) {+ case "meta":+ if (!e.hasAttribute("itemprop")) break;+ return e;+ case "link":+ if (a = e.getAttribute("rel"), a === "stylesheet" && e.hasAttribute("data-precedence") || a !== i.rel || e.getAttribute("href") !== (i.href == null || i.href === "" ? null : i.href) || e.getAttribute("crossorigin") !== (i.crossOrigin == null ? null : i.crossOrigin) || e.getAttribute("title") !== (i.title == null ? null : i.title)) break;+ return e;+ case "style":+ if (e.hasAttribute("data-precedence")) break;+ return e;+ case "script":+ if (a = e.getAttribute("src"), (a !== (i.src == null ? null : i.src) || e.getAttribute("type") !== (i.type == null ? null : i.type) || e.getAttribute("crossorigin") !== (i.crossOrigin == null ? null : i.crossOrigin)) && a && e.hasAttribute("async") && !e.hasAttribute("itemprop")) break;+ return e;+ default: return e;+ }+ if (e = lm(e.nextSibling), e === null) break;+ }+ return null;+ }+ function im(e, t, n) {+ if (t === "") return null;+ for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = lm(e.nextSibling), e === null)) return null;+ return e;+ }+ function am(e, t) {+ for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = lm(e.nextSibling), e === null)) return null;+ return e;+ }+ function om(e) {+ return e.data === "$?" || e.data === "$~";+ }+ function sm(e) {+ return e.data === "$!" || e.data === "$?" && e.ownerDocument.readyState !== "loading";+ }+ function cm(e, t) {+ var n = e.ownerDocument;+ if (e.data === "$~") e._reactRetry = t;+ else if (e.data !== "$?" || n.readyState !== "loading") t();+ else {+ var r = function() {+ t(), n.removeEventListener("DOMContentLoaded", r);+ };+ n.addEventListener("DOMContentLoaded", r), e._reactRetry = r;+ }+ }+ function lm(e) {+ for (; e != null; e = e.nextSibling) {+ var t = e.nodeType;+ if (t === 1 || t === 3) break;+ if (t === 8) {+ if (t = e.data, t === "$" || t === "$!" || t === "$?" || t === "$~" || t === "&" || t === "F!" || t === "F") break;+ if (t === "/$" || t === "/&") return null;+ }+ }+ return e;+ }+ var um = null;+ function dm(e) {+ e = e.nextSibling;+ for (var t = 0; e;) {+ if (e.nodeType === 8) {+ var n = e.data;+ if (n === "/$" || n === "/&") {+ if (t === 0) return lm(e.nextSibling);+ t--;+ } else n !== "$" && n !== "$!" && n !== "$?" && n !== "$~" && n !== "&" || t++;+ }+ e = e.nextSibling;+ }+ return null;+ }+ function fm(e) {+ e = e.previousSibling;+ for (var t = 0; e;) {+ if (e.nodeType === 8) {+ var n = e.data;+ if (n === "$" || n === "$!" || n === "$?" || n === "$~" || n === "&") {+ if (t === 0) return e;+ t--;+ } else n !== "/$" && n !== "/&" || t++;+ }+ e = e.previousSibling;+ }+ return null;+ }+ function pm(e, t) {+ function n() {+ r = !0;+ }+ if (e.ownerDocument.activeElement === e) return !0;+ var r = !1;+ try {+ e.ownerDocument.addEventListener("focus", n, !0), (e.focus || HTMLElement.prototype.focus).call(e, t);+ } finally {+ e.ownerDocument.removeEventListener("focus", n, !0);+ }+ return r;+ }+ function mm(e) {+ yp(function() {+ yp(function(t) {+ return e(t);+ });+ });+ }+ function hm(e, t, n) {+ switch (t = lp(n), e) {+ case "html":+ if (e = t.documentElement, !e) throw Error(i(452));+ return e;+ case "head":+ if (e = t.head, !e) throw Error(i(453));+ return e;+ case "body":+ if (e = t.body, !e) throw Error(i(454));+ return e;+ default: throw Error(i(451));+ }+ }+ function gm(e, t, n) {+ for (var r in n) {+ var i = n[r];+ n.hasOwnProperty(r) && i != null && $(e, t, r, null, rp, i);+ }+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === bn && (e.onclick = null), Ft(e);+ }+ function _m(e) {+ for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);+ Ft(e);+ }+ var vm = /* @__PURE__ */ new Map(), ym = /* @__PURE__ */ new Set();+ function bm(e) {+ if (typeof e.getRootNode == "function") {+ var t = e.getRootNode();+ if (t.nodeType === 9 || t.nodeType === 11) return t;+ }+ return e.nodeType === 9 ? e : e.ownerDocument;+ }+ var xm = O.d;+ O.d = {+ f: Sm,+ r: Cm,+ D: Em,+ C: Dm,+ L: Om,+ m: km,+ X: jm,+ S: Am,+ M: Mm+ };+ function Sm() {+ var e = xm.f(), t = zd();+ return e || t;+ }+ function Cm(e) {+ var t = Lt(e);+ t !== null && t.tag === 5 && t.type === "form" ? rc(t) : xm.r(e);+ }+ var wm = typeof document > "u" ? null : document;+ function Tm(e, t, n) {+ var r = wm;+ if (r && typeof t == "string" && t) {+ var i = on(t);+ i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), ym.has(i) || (ym.add(i), e = {+ rel: e,+ crossOrigin: n,+ href: t+ }, r.querySelector(i) === null && (t = r.createElement("link"), np(t, "link", e), Bt(t), r.head.appendChild(t)));+ }+ }+ function Em(e) {+ xm.D(e), Tm("dns-prefetch", e, null);+ }+ function Dm(e, t) {+ xm.C(e, t), Tm("preconnect", e, t);+ }+ function Om(e, t, n) {+ xm.L(e, t, n);+ var r = wm;+ if (r && e && t) {+ var i = "link[rel=\"preload\"][as=\"" + on(t) + "\"]";+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + on(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + on(n.imageSizes) + "\"]")) : i += "[href=\"" + on(e) + "\"]";+ var a = i;+ switch (t) {+ case "style":+ a = Pm(e);+ break;+ case "script": a = Rm(e);+ }+ if (!(vm.has(a) || (e = T({+ rel: "preload",+ href: t === "image" && n && n.imageSrcSet ? void 0 : e,+ as: t+ }, n), vm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Fm(a)) || t === "script" && r.querySelector(zm(a))))) {+ var o = r.createElement("link");+ np(o, "link", e), t === "style" && (o[Pt] = !0, o.onload = o.onerror = function() {+ Vt(o);+ }), Bt(o), r.head.appendChild(o);+ }+ }+ }+ function km(e, t) {+ xm.m(e, t);+ var n = wm;+ if (n && e) {+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + on(r) + "\"][href=\"" + on(e) + "\"]", a = i;+ switch (r) {+ case "audioworklet":+ case "paintworklet":+ case "serviceworker":+ case "sharedworker":+ case "worker":+ case "script": a = Rm(e);+ }+ if (!vm.has(a) && (e = T({+ rel: "modulepreload",+ href: e+ }, t), vm.set(a, e), n.querySelector(i) === null)) {+ switch (r) {+ case "audioworklet":+ case "paintworklet":+ case "serviceworker":+ case "sharedworker":+ case "worker":+ case "script": if (n.querySelector(zm(a))) return;+ }+ r = n.createElement("link"), np(r, "link", e), Bt(r), n.head.appendChild(r);+ }+ }+ }+ function Am(e, t, n) {+ xm.S(e, t, n);+ var r = wm;+ if (r && e) {+ var i = zt(r).hoistableStyles, a = Pm(e);+ t ||= "default";+ var o = i.get(a);+ if (!o) {+ var s = {+ loading: 0,+ preload: null+ };+ if (o = r.querySelector(Fm(a))) s.loading = 5;+ else {+ e = T({+ rel: "stylesheet",+ href: e,+ "data-precedence": t+ }, n), (n = vm.get(a)) && Hm(e, n);+ var c = o = r.createElement("link");+ Bt(c), np(c, "link", e), c._p = new Promise(function(e, t) {+ c.onload = e, c.onerror = t;+ }), c.addEventListener("load", function() {+ s.loading |= 1;+ }), c.addEventListener("error", function() {+ s.loading |= 2;+ }), s.loading |= 4, Vm(o, t, r);+ }+ o = {+ type: "stylesheet",+ instance: o,+ count: 1,+ state: s+ }, i.set(a, o);+ }+ }+ }+ function jm(e, t) {+ xm.X(e, t);+ var n = wm;+ if (n && e) {+ var r = zt(n).hoistableScripts, i = Rm(e), a = r.get(i);+ a || (a = n.querySelector(zm(i)), a || (e = T({+ src: e,+ async: !0+ }, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), Bt(a), np(a, "link", e), n.head.appendChild(a)), a = {+ type: "script",+ instance: a,+ count: 1,+ state: null+ }, r.set(i, a));+ }+ }+ function Mm(e, t) {+ xm.M(e, t);+ var n = wm;+ if (n && e) {+ var r = zt(n).hoistableScripts, i = Rm(e), a = r.get(i);+ a || (a = n.querySelector(zm(i)), a || (e = T({+ src: e,+ async: !0,+ type: "module"+ }, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), Bt(a), np(a, "link", e), n.head.appendChild(a)), a = {+ type: "script",+ instance: a,+ count: 1,+ state: null+ }, r.set(i, a));+ }+ }+ function Nm(e, t, n, r) {+ var a = (a = Ae.current) ? bm(a) : null;+ if (!a) throw Error(i(446));+ switch (e) {+ case "meta":+ case "title": return null;+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Pm(n.href), t = zt(a).hoistableStyles, r = t.get(n), r || (r = {+ type: "style",+ instance: null,+ count: 0,+ state: null+ }, t.set(n, r)), r) : {+ type: "void",+ instance: null,+ count: 0,+ state: null+ };+ case "link":+ if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {+ e = Pm(n.href);+ var o = zt(a).hoistableStyles, s = o.get(e);+ if (s || (a = a.ownerDocument || a, s = {+ type: "stylesheet",+ instance: null,+ count: 0,+ state: {+ loading: 0,+ preload: null+ }+ }, o.set(e, s), (o = a.querySelector(Fm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = vm.get(e), o || (o = {+ rel: "preload",+ as: "style",+ href: n.href,+ crossOrigin: n.crossOrigin,+ integrity: n.integrity,+ media: n.media,+ hrefLang: n.hrefLang,+ referrerPolicy: n.referrerPolicy+ }, vm.set(e, o)), Lm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));+ return s;+ }+ if (t && r !== null) throw Error(i(529, ""));+ return null;+ case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Rm(n), t = zt(a).hoistableScripts, r = t.get(n), r || (r = {+ type: "script",+ instance: null,+ count: 0,+ state: null+ }, t.set(n, r)), r) : {+ type: "void",+ instance: null,+ count: 0,+ state: null+ };+ default: throw Error(i(444, e));+ }+ }+ function Pm(e) {+ return "href=\"" + on(e) + "\"";+ }+ function Fm(e) {+ return "link[rel=\"stylesheet\"][" + e + "]";+ }+ function Im(e) {+ return T({}, e, {+ "data-precedence": e.precedence,+ precedence: null+ });+ }+ function Lm(e, t, n, r) {+ if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {+ if (!0 !== t[Pt]) {+ r.loading = 1;+ return;+ }+ } else t = e.createElement("link"), t[Pt] = !0, t.onload = t.onerror = Vt.bind(null, t), np(t, "link", n), Bt(t), e.head.appendChild(t);+ r.preload = t, t.addEventListener("load", function() {+ return r.loading |= 1;+ }), t.addEventListener("error", function() {+ return r.loading |= 2;+ });+ }+ function Rm(e) {+ return "[src=\"" + on(e) + "\"]";+ }+ function zm(e) {+ return "script[async]" + e;+ }+ function Bm(e, t, n) {+ if (t.count++, t.instance === null) switch (t.type) {+ case "style":+ var r = e.querySelector("style[data-href~=\"" + on(n.href) + "\"]");+ if (r) return t.instance = r, Bt(r), r;+ var a = T({}, n, {+ "data-href": n.href,+ "data-precedence": n.precedence,+ href: null,+ precedence: null+ });+ return r = (e.ownerDocument || e).createElement("style"), Bt(r), np(r, "style", a), Vm(r, n.precedence, e), t.instance = r;+ case "stylesheet":+ a = Pm(n.href);+ var o = e.querySelector(Fm(a));+ if (o) return t.state.loading |= 4, t.instance = o, Bt(o), o;+ r = Im(n), (a = vm.get(a)) && Hm(r, a), o = (e.ownerDocument || e).createElement("link"), Bt(o);+ var s = o;+ return s._p = new Promise(function(e, t) {+ s.onload = e, s.onerror = t;+ }), np(o, "link", r), t.state.loading |= 4, Vm(o, n.precedence, e), t.instance = o;+ case "script": return o = Rm(n.src), (a = e.querySelector(zm(o))) ? (t.instance = a, Bt(a), a) : (r = n, (a = vm.get(o)) && (r = T({}, n), Um(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Bt(a), np(a, "link", r), e.head.appendChild(a), t.instance = a);+ case "void": return null;+ default: throw Error(i(443, t.type));+ }+ else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Vm(r, n.precedence, e));+ return t.instance;+ }+ function Vm(e, t, n) {+ for (var r = n.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), i = r.length ? r[r.length - 1] : null, a = i, o = 0; o < r.length; o++) {+ var s = r[o];+ if (s.dataset.precedence === t) a = s;+ else if (a !== i) break;+ }+ a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));+ }+ function Hm(e, t) {+ e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;+ }+ function Um(e, t) {+ e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;+ }+ var Wm = null;+ function Gm(e, t, n) {+ if (Wm === null) {+ var r = /* @__PURE__ */ new Map(), i = Wm = /* @__PURE__ */ new Map();+ i.set(n, r);+ } else i = Wm, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));+ if (r.has(e)) return r;+ for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {+ var a = n[i];+ if (!(a[Nt] || a[Et] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {+ var o = a.getAttribute(t) || "";+ o = e + o;+ var s = r.get(o);+ s ? s.push(a) : r.set(o, [a]);+ }+ }+ return r;+ }+ function Km(e, t, n) {+ e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);+ }+ function qm(e, t, n) {+ if (n === 1 || t.itemProp != null) return !1;+ switch (e) {+ case "meta":+ case "title": return !0;+ case "style":+ if (typeof t.precedence != "string" || typeof t.href != "string" || t.href === "") break;+ return !0;+ case "link":+ if (typeof t.rel != "string" || typeof t.href != "string" || t.href === "" || t.onLoad || t.onError) break;+ switch (t.rel) {+ case "stylesheet": return e = t.disabled, typeof t.precedence == "string" && e == null;+ default: return !0;+ }+ case "script": if (t.async && typeof t.async != "function" && typeof t.async != "symbol" && !t.onLoad && !t.onError && t.src && typeof t.src == "string") return !0;+ }+ return !1;+ }+ function Jm(e, t) {+ return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";+ }+ function Ym(e) {+ return !(e.type === "stylesheet" && !(e.state.loading & 3));+ }+ function Xm(e) {+ return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;+ }+ function Zm(e, t) {+ typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += Xm(t), e.suspenseyImages.push(t)), e = rh.bind(e), t.decode().then(e, e));+ }+ function Qm(e, t, n, r) {+ if (n.type === "stylesheet" && (typeof r.media != "string" || !1 !== matchMedia(r.media).matches) && !(n.state.loading & 4)) {+ if (n.instance === null) {+ var i = Pm(r.href), a = t.querySelector(Fm(i));+ if (a) {+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = nh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Bt(a);+ return;+ }+ a = t.ownerDocument || t, r = Im(r), (i = vm.get(i)) && Hm(r, i), a = a.createElement("link"), Bt(a);+ var o = a;+ o._p = new Promise(function(e, t) {+ o.onload = e, o.onerror = t;+ }), np(a, "link", r), n.instance = a;+ }+ e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = nh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));+ }+ }+ var $m = 0;+ function eh(e, t) {+ return e.stylesheets && e.count === 0 && ah(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {+ var r = setTimeout(function() {+ if (e.stylesheets && ah(e, e.stylesheets), e.unsuspend) {+ var t = e.unsuspend;+ e.unsuspend = null, t();+ }+ }, 6e4 + t);+ 0 < e.imgBytes && $m === 0 && ($m = 62500 * op());+ var i = setTimeout(function() {+ if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && ah(e, e.stylesheets), e.unsuspend)) {+ var t = e.unsuspend;+ e.unsuspend = null, t();+ }+ }, (e.imgBytes > $m ? 50 : 800) + t);+ return e.unsuspend = n, function() {+ e.unsuspend = null, clearTimeout(r), clearTimeout(i);+ };+ } : null;+ }+ function th(e) {+ if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {+ if (e.stylesheets) ah(e, e.stylesheets);+ else if (e.unsuspend) {+ var t = e.unsuspend;+ e.unsuspend = null, t();+ }+ }+ }+ function nh() {+ this.count--, th(this);+ }+ function rh() {+ this.imgCount--, th(this);+ }+ var ih = null;+ function ah(e, t) {+ e.stylesheets = null, e.unsuspend !== null && (e.count++, ih = /* @__PURE__ */ new Map(), t.forEach(oh, e), ih = null, nh.call(e));+ }+ function oh(e, t) {+ if (!(t.state.loading & 4)) {+ var n = ih.get(e);+ if (n) var r = n.get(null);+ else {+ n = /* @__PURE__ */ new Map(), ih.set(e, n);+ for (var i = e.querySelectorAll("link[data-precedence],style[data-precedence]"), a = 0; a < i.length; a++) {+ var o = i[a];+ (o.nodeName === "LINK" || o.getAttribute("media") !== "not all") && (n.set(o.dataset.precedence, o), r = o);+ }+ r && n.set(null, r);+ }+ i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = nh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;+ }+ }+ var sh = {+ $$typeof: le,+ Provider: null,+ Consumer: null,+ _currentValue: k,+ _currentValue2: k,+ _threadCount: 0+ };+ function ch(e, t, n, r, i, a, o, s, c) {+ this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = gt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = gt(0), this.hiddenUpdates = gt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();+ }+ function lh(e, t, n, r, i, a, o, s, c, l, u, d) {+ return e = new ch(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Ni(3, null, null, t), e.current = a, a.stateNode = e, t = Ma(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {+ element: r,+ isDehydrated: n,+ cache: t+ }, ho(a), e;+ }+ function uh(e) {+ return e ? (e = ji, e) : ji;+ }+ function dh(e, t, n, r, i, a) {+ i = uh(i), r.context === null ? r.context = i : r.pendingContext = i, r = _o(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = vo(e, r, t), n !== null && (Pd(n, e, t), yo(n, e, t));+ }+ function fh(e, t) {+ if (e = e.memoizedState, e !== null && e.dehydrated !== null) {+ var n = e.retryLane;+ e.retryLane = n !== 0 && n < t ? n : t;+ }+ }+ function ph(e, t) {+ fh(e, t), (e = e.alternate) && fh(e, t);+ }+ function mh(e) {+ if (e.tag === 13 || e.tag === 31) {+ var t = Oi(e, 67108864);+ t !== null && Pd(t, e, 67108864), ph(e, 67108864);+ }+ }+ function hh(e) {+ if (e.tag === 13 || e.tag === 31) {+ var t = jd();+ t = St(t);+ var n = Oi(e, t);+ n !== null && Pd(n, e, t), ph(e, t);+ }+ }+ var gh = !0;+ function _h(e, t, n, r) {+ var i = D.T;+ D.T = null;+ var a = O.p;+ try {+ O.p = 2, yh(e, t, n, r);+ } finally {+ O.p = a, D.T = i;+ }+ }+ function vh(e, t, n, r) {+ var i = D.T;+ D.T = null;+ var a = O.p;+ try {+ O.p = 8, yh(e, t, n, r);+ } finally {+ O.p = a, D.T = i;+ }+ }+ function yh(e, t, n, r) {+ if (gh) {+ var i = bh(r);+ if (i === null) Kf(e, t, r, xh, n), Mh(e, r);+ else if (Ph(i, e, t, n, r)) r.stopPropagation();+ else if (Mh(e, r), t & 4 && -1 < jh.indexOf(e)) {+ for (; i !== null;) {+ var a = Lt(i);+ if (a !== null) switch (a.tag) {+ case 3:+ if (a = a.stateNode, a.current.memoizedState.isDehydrated) {+ var o = ut(a.pendingLanes);+ if (o !== 0) {+ var s = a;+ for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {+ var c = 1 << 31 - rt(o);+ s.entanglements[1] |= c, o &= ~c;+ }+ Ef(a), !(K & 6) && (gd = Ke() + 500, Df(0, !1));+ }+ }+ break;+ case 31:+ case 13: s = Oi(a, 2), s !== null && Pd(s, a, 2), zd(), ph(a, 2);+ }+ if (a = bh(r), a === null && Kf(e, t, r, xh, n), a === i) break;+ i = a;+ }+ i !== null && r.stopPropagation();+ } else Kf(e, t, r, null, n);+ }+ }+ function bh(e) {+ return e = xn(e), Sh(e);+ }+ var xh = null;+ function Sh(e) {+ if (xh = null, e = It(e), e !== null) {+ var t = o(e);+ if (t === null) e = null;+ else {+ var n = t.tag;+ if (n === 13) {+ if (e = s(t), e !== null) return e;+ e = null;+ } else if (n === 31) {+ if (e = c(t), e !== null) return e;+ e = null;+ } else if (n === 3) {+ if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null;+ e = null;+ } else t !== e && (e = null);+ }+ }+ return xh = e, null;+ }+ function Ch(e) {+ switch (e) {+ case "beforetoggle":+ case "cancel":+ case "click":+ case "close":+ case "contextmenu":+ case "copy":+ case "cut":+ case "auxclick":+ case "dblclick":+ case "dragend":+ case "dragstart":+ case "drop":+ case "focusin":+ case "focusout":+ case "input":+ case "invalid":+ case "keydown":+ case "keypress":+ case "keyup":+ case "mousedown":+ case "mouseup":+ case "paste":+ case "pause":+ case "play":+ case "pointercancel":+ case "pointerdown":+ case "pointerup":+ case "ratechange":+ case "reset":+ case "seeked":+ case "submit":+ case "toggle":+ case "touchcancel":+ case "touchend":+ case "touchstart":+ case "volumechange":+ case "change":+ case "selectionchange":+ case "textInput":+ case "compositionstart":+ case "compositionend":+ case "compositionupdate":+ case "beforeblur":+ case "afterblur":+ case "beforeinput":+ case "blur":+ case "fullscreenchange":+ case "fullscreenerror":+ case "focus":+ case "hashchange":+ case "popstate":+ case "select":+ case "selectstart": return 2;+ case "drag":+ case "dragenter":+ case "dragexit":+ case "dragleave":+ case "dragover":+ case "mousemove":+ case "mouseout":+ case "mouseover":+ case "pointermove":+ case "pointerout":+ case "pointerover":+ case "resize":+ case "scroll":+ case "touchmove":+ case "wheel":+ case "mouseenter":+ case "mouseleave":+ case "pointerenter":+ case "pointerleave": return 8;+ case "message": switch (qe()) {+ case Je: return 2;+ case Ye: return 8;+ case N:+ case Xe: return 32;+ case Ze: return 268435456;+ default: return 32;+ }+ default: return 32;+ }+ }+ var wh = !1, Th = null, Eh = null, Dh = null, Oh = /* @__PURE__ */ new Map(), kh = /* @__PURE__ */ new Map(), Ah = [], jh = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");+ function Mh(e, t) {+ switch (e) {+ case "focusin":+ case "focusout":+ Th = null;+ break;+ case "dragenter":+ case "dragleave":+ Eh = null;+ break;+ case "mouseover":+ case "mouseout":+ Dh = null;+ break;+ case "pointerover":+ case "pointerout":+ Oh.delete(t.pointerId);+ break;+ case "gotpointercapture":+ case "lostpointercapture": kh.delete(t.pointerId);+ }+ }+ function Nh(e, t, n, r, i, a) {+ return e === null || e.nativeEvent !== a ? (e = {+ blockedOn: t,+ domEventName: n,+ eventSystemFlags: r,+ nativeEvent: a,+ targetContainers: [i]+ }, t !== null && (t = Lt(t), t !== null && mh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);+ }+ function Ph(e, t, n, r, i) {+ switch (t) {+ case "focusin": return Th = Nh(Th, e, t, n, r, i), !0;+ case "dragenter": return Eh = Nh(Eh, e, t, n, r, i), !0;+ case "mouseover": return Dh = Nh(Dh, e, t, n, r, i), !0;+ case "pointerover":+ var a = i.pointerId;+ return Oh.set(a, Nh(Oh.get(a) || null, e, t, n, r, i)), !0;+ case "gotpointercapture": return a = i.pointerId, kh.set(a, Nh(kh.get(a) || null, e, t, n, r, i)), !0;+ }+ return !1;+ }+ function Fh(e) {+ var t = It(e.target);+ if (t !== null) {+ var n = o(t);+ if (n !== null) {+ if (t = n.tag, t === 13) {+ if (t = s(n), t !== null) {+ e.blockedOn = t, P(e.priority, function() {+ hh(n);+ });+ return;+ }+ } else if (t === 31) {+ if (t = c(n), t !== null) {+ e.blockedOn = t, P(e.priority, function() {+ hh(n);+ });+ return;+ }+ } else if (t === 3 && n.stateNode.current.memoizedState.isDehydrated) {+ e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null;+ return;+ }+ }+ }+ e.blockedOn = null;+ }+ function Ih(e) {+ if (e.blockedOn !== null) return !1;+ for (var t = e.targetContainers; 0 < t.length;) {+ var n = bh(e.nativeEvent);+ if (n === null) {+ n = e.nativeEvent;+ var r = new n.constructor(n.type, n);+ R = r, n.target.dispatchEvent(r), R = null;+ } else return t = Lt(n), t !== null && mh(t), e.blockedOn = n, !1;+ t.shift();+ }+ return !0;+ }+ function Lh(e, t, n) {+ Ih(e) && n.delete(t);+ }+ function Rh() {+ wh = !1, Th !== null && Ih(Th) && (Th = null), Eh !== null && Ih(Eh) && (Eh = null), Dh !== null && Ih(Dh) && (Dh = null), Oh.forEach(Lh), kh.forEach(Lh);+ }+ function zh(e, n) {+ e.blockedOn === n && (e.blockedOn = null, wh || (wh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Rh)));+ }+ var Bh = null;+ function Vh(e) {+ Bh !== e && (Bh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {+ Bh === e && (Bh = null);+ for (var t = 0; t < e.length; t += 3) {+ var n = e[t], r = e[t + 1], i = e[t + 2];+ if (typeof r != "function") {+ if (Sh(r || n) === null) continue;+ break;+ }+ var a = Lt(n);+ a !== null && (e.splice(t, 3), t -= 3, tc(a, {+ pending: !0,+ data: i,+ method: n.method,+ action: r+ }, r, i));+ }+ }));+ }+ function Hh(e) {+ function t(t) {+ return zh(t, e);+ }+ Th !== null && zh(Th, e), Eh !== null && zh(Eh, e), Dh !== null && zh(Dh, e), Oh.forEach(t), kh.forEach(t);+ for (var n = 0; n < Ah.length; n++) {+ var r = Ah[n];+ r.blockedOn === e && (r.blockedOn = null);+ }+ for (; 0 < Ah.length && (n = Ah[0], n.blockedOn === null);) Fh(n), n.blockedOn === null && Ah.shift();+ if (n = (e.ownerDocument || e).$$reactFormReplay, n != null) for (r = 0; r < n.length; r += 3) {+ var i = n[r], a = n[r + 1], o = i[Dt] || null;+ if (typeof a == "function") o || Vh(n);+ else if (o) {+ var s = null;+ if (a && a.hasAttribute("formAction")) {+ if (i = a, o = a[Dt] || null) s = o.formAction;+ else if (Sh(i) !== null) continue;+ } else s = o.action;+ typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Vh(n);+ }+ }+ }+ function Uh() {+ function e(e) {+ e.canIntercept && e.info === "react-transition" && e.intercept({+ handler: function() {+ return new Promise(function(e) {+ return i = e;+ });+ },+ focusReset: "manual",+ scroll: "manual"+ });+ }+ function t() {+ i !== null && (i(), i = null), r || setTimeout(n, 20);+ }+ function n() {+ if (!r && !navigation.transition) {+ var e = navigation.currentEntry;+ e && e.url != null && navigation.navigate(e.url, {+ state: e.getState(),+ info: "react-transition",+ history: "replace"+ });+ }+ }+ if (typeof navigation == "object") {+ var r = !1, i = null;+ return navigation.addEventListener("navigate", e), navigation.addEventListener("navigatesuccess", t), navigation.addEventListener("navigateerror", t), setTimeout(n, 100), function() {+ r = !0, navigation.removeEventListener("navigate", e), navigation.removeEventListener("navigatesuccess", t), navigation.removeEventListener("navigateerror", t), i !== null && (i(), i = null);+ };+ }+ }+ function Wh(e) {+ this._internalRoot = e;+ }+ Gh.prototype.render = Wh.prototype.render = function(e) {+ var t = this._internalRoot;+ if (t === null) throw Error(i(409));+ var n = t.current;+ dh(n, jd(), e, t, null, null);+ }, Gh.prototype.unmount = Wh.prototype.unmount = function() {+ var e = this._internalRoot;+ if (e !== null) {+ this._internalRoot = null;+ var t = e.containerInfo;+ dh(e.current, 2, null, e, null, null), zd(), t[Ot] = null;+ }+ };+ function Gh(e) {+ this._internalRoot = e;+ }+ Gh.prototype.unstable_scheduleHydration = function(e) {+ if (e) {+ var t = wt();+ e = {+ blockedOn: null,+ target: e,+ priority: t+ };+ for (var n = 0; n < Ah.length && t !== 0 && t < Ah[n].priority; n++);+ Ah.splice(n, 0, e), n === 0 && Fh(e);+ }+ };+ var Kh = n.version;+ if (Kh !== "19.3.0") throw Error(i(527, Kh, "19.3.0"));+ O.findDOMNode = function(e) {+ var t = e._reactInternals;+ if (t === void 0) throw typeof e.render == "function" ? Error(i(188)) : (e = Object.keys(e).join(","), Error(i(268, e)));+ return e = u(t), e = e === null ? null : f(e), e = e === null ? null : e.stateNode, e;+ };+ var qh = {+ bundleType: 0,+ version: "19.3.0",+ rendererPackageName: "react-dom",+ currentDispatcherRef: D,+ reconcilerVersion: "19.3.0"+ };+ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {+ var Jh = __REACT_DEVTOOLS_GLOBAL_HOOK__;+ if (!Jh.isDisabled && Jh.supportsFiber) try {+ et = Jh.inject(qh), tt = Jh;+ } catch {}+ }+ e.createRoot = function(e, t) {+ if (!a(e)) throw Error(i(299));+ var n = !1, r = "", o = wc, s = Tc, c = Ec;+ return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = lh(e, 1, !1, null, null, n, r, null, o, s, c, Uh), e[Ot] = t.current, Wf(e), new Wh(t);+ };+})), _ = /* @__PURE__ */ s(((e, t) => {+ function n() {+ if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);+ } catch (e) {+ console.error(e);+ }+ }+ n(), t.exports = g();+})), v = /* @__PURE__ */ l(p(), 1), y = _(), b = (e, t) => {+ let n = Array(e.length + t.length);+ for (let t = 0; t < e.length; t++) n[t] = e[t];+ for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];+ return n;+}, x = (e, t) => ({+ classGroupId: e,+ validator: t+}), S = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+ nextPart: e,+ validators: t,+ classGroupId: n+}), ee = "-", C = [], w = "arbitrary..", te = (e) => {+ let t = re(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+ return {+ getClassGroupId: (e) => {+ if (e.startsWith("[") && e.endsWith("]")) return ne(e);+ let n = e.split(ee);+ return T(n, +(n[0] === "" && n.length > 1), t);+ },+ getConflictingClassGroupIds: (e, t) => {+ if (t) {+ let t = r[e], i = n[e];+ return t ? i ? b(i, t) : t : i || C;+ }+ return n[e] || C;+ }+ };+}, T = (e, t, n) => {+ if (e.length - t === 0) return n.classGroupId;+ let r = e[t], i = n.nextPart.get(r);+ if (i) {+ let n = T(e, t + 1, i);+ if (n) return n;+ }+ let a = n.validators;+ if (a === null) return;+ let o = t === 0 ? e.join(ee) : e.slice(t).join(ee), s = a.length;+ for (let e = 0; e < s; e++) {+ let t = a[e];+ if (t.validator(o)) return t.classGroupId;+ }+}, ne = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+ let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);+ return r ? w + r : void 0;+})(), re = (e) => {+ let { theme: t, classGroups: n } = e;+ return ie(n, t);+}, ie = (e, t) => {+ let n = S();+ for (let r in e) {+ let i = e[r];+ ae(i, n, r, t);+ }+ return n;+}, ae = (e, t, n, r) => {+ let i = e.length;+ for (let a = 0; a < i; a++) {+ let i = e[a];+ oe(i, t, n, r);+ }+}, oe = (e, t, n, r) => {+ if (typeof e == "string") {+ se(e, t, n);+ return;+ }+ if (typeof e == "function") {+ ce(e, t, n, r);+ return;+ }+ le(e, t, n, r);+}, se = (e, t, n) => {+ let r = e === "" ? t : E(t, e);+ r.classGroupId = n;+}, ce = (e, t, n, r) => {+ if (ue(e)) {+ ae(e(r), t, n, r);+ return;+ }+ t.validators === null && (t.validators = []), t.validators.push(x(n, e));+}, le = (e, t, n, r) => {+ let i = Object.entries(e), a = i.length;+ for (let e = 0; e < a; e++) {+ let [a, o] = i[e];+ ae(o, E(t, a), n, r);+ }+}, E = (e, t) => {+ let n = e, r = t.split(ee), i = r.length;+ for (let e = 0; e < i; e++) {+ let t = r[e], i = n.nextPart.get(t);+ i || (i = S(), n.nextPart.set(t, i)), n = i;+ }+ return n;+}, ue = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, de = (e) => {+ if (e < 1) return {+ get: () => void 0,+ set: () => {}+ };+ let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {+ n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));+ };+ return {+ get(e) {+ let t = n[e];+ if (t !== void 0) return t;+ if ((t = r[e]) !== void 0) return i(e, t), t;+ },+ set(e, t) {+ e in n ? n[e] = t : i(e, t);+ }+ };+}, fe = "!", pe = ":", me = [], he = (e, t, n, r, i) => ({+ modifiers: e,+ hasImportantModifier: t,+ baseClassName: n,+ maybePostfixModifierPosition: r,+ isExternal: i+}), ge = (e) => {+ let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {+ let t = [], n = 0, r = 0, i = 0, a, o = e.length;+ for (let s = 0; s < o; s++) {+ let o = e[s];+ if (n === 0 && r === 0) {+ if (o === pe) {+ t.push(e.slice(i, s)), i = s + 1;+ continue;+ }+ if (o === "/") {+ a = s;+ continue;+ }+ }+ o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;+ }+ let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;+ s.endsWith(fe) ? (c = s.slice(0, -1), l = !0) : s.startsWith(fe) && (c = s.slice(1), l = !0);+ let u = a && a > i ? a - i : void 0;+ return he(t, l, c, u);+ };+ if (t) {+ let e = t + pe, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : he(me, !1, t, void 0, !0);+ }+ if (n) {+ let e = r;+ r = (t) => n({+ className: t,+ parseClassName: e+ });+ }+ return r;+}, _e = (e) => {+ let t = /* @__PURE__ */ new Map();+ return e.orderSensitiveModifiers.forEach((e, n) => {+ t.set(e, 1e6 + n);+ }), (e) => {+ let n = [], r = [];+ for (let i = 0; i < e.length; i++) {+ let a = e[i], o = a[0] === "[", s = t.has(a);+ o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);+ }+ return r.length > 0 && (r.sort(), n.push(...r)), n;+ };+}, ve = (e) => ({+ cache: de(e.cacheSize),+ parseClassName: ge(e),+ sortModifiers: _e(e),+ postfixLookupClassGroupIds: ye(e),+ ...te(e)+}), ye = (e) => {+ let t = Object.create(null), n = e.postfixLookupClassGroups;+ if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;+ return t;+}, be = /\s+/, xe = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(be), l = "";+ for (let e = c.length - 1; e >= 0; --e) {+ let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);+ if (u) {+ l = t + (l.length > 0 ? " " + l : l);+ continue;+ }+ let h = !!m, g;+ if (h) {+ g = r(p.substring(0, m));+ let e = g && o[g] ? r(p) : void 0;+ e && e !== g && (g = e, h = !1);+ } else g = r(p);+ if (!g) {+ if (!h) {+ l = t + (l.length > 0 ? " " + l : l);+ continue;+ }+ if (g = r(p), !g) {+ l = t + (l.length > 0 ? " " + l : l);+ continue;+ }+ h = !1;+ }+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + fe : _, y = v + g;+ if (s.indexOf(y) > -1) continue;+ s.push(y);+ let b = i(g, h);+ for (let e = 0; e < b.length; ++e) {+ let t = b[e];+ s.push(v + t);+ }+ l = t + (l.length > 0 ? " " + l : l);+ }+ return l;+}, Se = (...e) => {+ let t = 0, n, r, i = "";+ for (; t < e.length;) (n = e[t++]) && (r = Ce(n)) && (i && (i += " "), i += r);+ return i;+}, Ce = (e) => {+ if (typeof e == "string") return e;+ let t, n = "";+ for (let r = 0; r < e.length; r++) e[r] && (t = Ce(e[r])) && (n && (n += " "), n += t);+ return n;+}, D = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = ve(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+ let t = r(e);+ if (t) return t;+ let a = xe(e, n);+ return i(e, a), a;+ };+ return a = o, (...e) => a(Se(...e));+}, O = [], k = (e) => {+ let t = (t) => t[e] || O;+ return t.isThemeGetter = !0, t.themeKey = e, t;+}, we = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ee = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, De = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, A = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Oe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, ke = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ae = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, je = (e) => Ee.test(e), j = (e) => !!e && !Number.isNaN(Number(e)), Me = (e) => !!e && Number.isInteger(Number(e)), Ne = (e) => e.endsWith("%") && j(e.slice(0, -1)), Pe = (e) => De.test(e), Fe = () => !0, Ie = (e) => A.test(e) && !Oe.test(e), Le = () => !1, Re = (e) => ke.test(e), ze = (e) => Ae.test(e), Be = (e) => !M(e) && !N(e), Ve = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), He = (e) => rt(e, st, Le), M = (e) => we.test(e), Ue = (e) => rt(e, ct, Ie), We = (e) => rt(e, lt, j), Ge = (e) => rt(e, dt, Fe), Ke = (e) => rt(e, ut, Le), qe = (e) => rt(e, at, Le), Je = (e) => rt(e, ot, ze), Ye = (e) => rt(e, ft, Re), N = (e) => Te.test(e), Xe = (e) => it(e, ct), Ze = (e) => it(e, ut), Qe = (e) => it(e, at), $e = (e) => it(e, st), et = (e) => it(e, ot), tt = (e) => it(e, ft, !0), nt = (e) => it(e, dt, !0), rt = (e, t, n) => {+ let r = we.exec(e);+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;+}, it = (e, t, n = !1) => {+ let r = Te.exec(e);+ return r ? r[1] ? t(r[1]) : n : !1;+}, at = (e) => e === "position" || e === "percentage", ot = (e) => e === "image" || e === "url", st = (e) => e === "length" || e === "size" || e === "bg-size", ct = (e) => e === "length", lt = (e) => e === "number", ut = (e) => e === "family-name", dt = (e) => e === "number" || e === "weight", ft = (e) => e === "shadow", pt = () => {+ let e = k("color"), t = k("font"), n = k("text"), r = k("font-weight"), i = k("tracking"), a = k("leading"), o = k("breakpoint"), s = k("container"), c = k("spacing"), l = k("radius"), u = k("shadow"), d = k("inset-shadow"), f = k("text-shadow"), p = k("drop-shadow"), m = k("blur"), h = k("perspective"), g = k("aspect"), _ = k("ease"), v = k("animate"), y = () => [+ "auto",+ "avoid",+ "all",+ "avoid-page",+ "page",+ "left",+ "right",+ "column"+ ], b = () => [+ "center",+ "top",+ "bottom",+ "left",+ "right",+ "top-left",+ "left-top",+ "top-right",+ "right-top",+ "bottom-right",+ "right-bottom",+ "bottom-left",+ "left-bottom"+ ], x = () => [+ ...b(),+ N,+ M+ ], S = () => [+ "auto",+ "hidden",+ "clip",+ "visible",+ "scroll"+ ], ee = () => [+ "auto",+ "contain",+ "none"+ ], C = () => [+ N,+ M,+ c+ ], w = () => [+ je,+ "full",+ "auto",+ ...C()+ ], te = () => [+ Me,+ "none",+ "subgrid",+ N,+ M+ ], T = () => [+ "auto",+ { span: [+ "full",+ Me,+ N,+ M+ ] },+ Me,+ N,+ M+ ], ne = () => [+ Me,+ "auto",+ N,+ M+ ], re = () => [+ "auto",+ "min",+ "max",+ "fr",+ N,+ M+ ], ie = () => [+ "start",+ "end",+ "center",+ "between",+ "around",+ "evenly",+ "stretch",+ "baseline",+ "center-safe",+ "end-safe"+ ], ae = () => [+ "start",+ "end",+ "center",+ "stretch",+ "center-safe",+ "end-safe"+ ], oe = () => ["auto", ...C()], se = () => [+ je,+ "auto",+ "full",+ "dvw",+ "dvh",+ "lvw",+ "lvh",+ "svw",+ "svh",+ "min",+ "max",+ "fit",+ ...C()+ ], ce = () => [+ s,+ je,+ "screen",+ "full",+ "dvw",+ "lvw",+ "svw",+ "min",+ "max",+ "fit",+ ...C()+ ], le = () => [+ je,+ "screen",+ "full",+ "lh",+ "dvh",+ "lvh",+ "svh",+ "min",+ "max",+ "fit",+ ...C()+ ], E = () => [+ e,+ N,+ M+ ], ue = () => [+ ...b(),+ Qe,+ qe,+ { position: [N, M] }+ ], de = () => ["no-repeat", { repeat: [+ "",+ "x",+ "y",+ "space",+ "round"+ ] }], fe = () => [+ "auto",+ "cover",+ "contain",+ $e,+ He,+ { size: [N, M] }+ ], pe = () => [+ Ne,+ Xe,+ Ue+ ], me = () => [+ "",+ "none",+ "full",+ l,+ N,+ M+ ], he = () => [+ "",+ j,+ Xe,+ Ue+ ], ge = () => [+ "solid",+ "dashed",+ "dotted",+ "double"+ ], _e = () => [+ "normal",+ "multiply",+ "screen",+ "overlay",+ "darken",+ "lighten",+ "color-dodge",+ "color-burn",+ "hard-light",+ "soft-light",+ "difference",+ "exclusion",+ "hue",+ "saturation",+ "color",+ "luminosity"+ ], ve = () => [+ j,+ Ne,+ Qe,+ qe+ ], ye = () => [+ "",+ "none",+ m,+ N,+ M+ ], be = () => [+ "none",+ j,+ N,+ M+ ], xe = () => [+ "none",+ j,+ N,+ M+ ], Se = () => [+ j,+ N,+ M+ ], Ce = () => [+ je,+ "full",+ ...C()+ ];+ return {+ cacheSize: 500,+ theme: {+ animate: [+ "spin",+ "ping",+ "pulse",+ "bounce"+ ],+ aspect: ["video"],+ blur: [Pe],+ breakpoint: [Pe],+ color: [Fe],+ container: [Pe],+ "drop-shadow": [Pe],+ ease: [+ "in",+ "out",+ "in-out"+ ],+ font: [Be],+ "font-weight": [+ "thin",+ "extralight",+ "light",+ "normal",+ "medium",+ "semibold",+ "bold",+ "extrabold",+ "black"+ ],+ "inset-shadow": [Pe],+ leading: [+ "none",+ "tight",+ "snug",+ "normal",+ "relaxed",+ "loose"+ ],+ perspective: [+ "dramatic",+ "near",+ "normal",+ "midrange",+ "distant",+ "none"+ ],+ radius: [Pe],+ shadow: [Pe],+ spacing: ["px", j],+ text: [Pe],+ "text-shadow": [Pe],+ tracking: [+ "tighter",+ "tight",+ "normal",+ "wide",+ "wider",+ "widest"+ ]+ },+ classGroups: {+ aspect: [{ aspect: [+ "auto",+ "square",+ je,+ M,+ N,+ g+ ] }],+ container: ["container"],+ "container-type": [{ "@container": [+ "",+ "normal",+ "size",+ N,+ M+ ] }],+ "container-named": [Ve],+ columns: [{ columns: [+ j,+ "auto",+ M,+ N,+ s+ ] }],+ "break-after": [{ "break-after": y() }],+ "break-before": [{ "break-before": y() }],+ "break-inside": [{ "break-inside": [+ "auto",+ "avoid",+ "avoid-page",+ "avoid-column"+ ] }],+ "box-decoration": [{ "box-decoration": ["slice", "clone"] }],+ box: [{ box: ["border", "content"] }],+ display: [+ "block",+ "inline-block",+ "inline",+ "flex",+ "inline-flex",+ "table",+ "inline-table",+ "table-caption",+ "table-cell",+ "table-column",+ "table-column-group",+ "table-footer-group",+ "table-header-group",+ "table-row-group",+ "table-row",+ "flow-root",+ "grid",+ "inline-grid",+ "contents",+ "list-item",+ "hidden"+ ],+ sr: ["sr-only", "not-sr-only"],+ float: [{ float: [+ "right",+ "left",+ "none",+ "start",+ "end"+ ] }],+ clear: [{ clear: [+ "left",+ "right",+ "both",+ "none",+ "start",+ "end"+ ] }],+ isolation: ["isolate", "isolation-auto"],+ "object-fit": [{ object: [+ "contain",+ "cover",+ "fill",+ "none",+ "scale-down"+ ] }],+ "object-position": [{ object: x() }],+ overflow: [{ overflow: S() }],+ "overflow-x": [{ "overflow-x": S() }],+ "overflow-y": [{ "overflow-y": S() }],+ overscroll: [{ overscroll: ee() }],+ "overscroll-x": [{ "overscroll-x": ee() }],+ "overscroll-y": [{ "overscroll-y": ee() }],+ position: [+ "static",+ "fixed",+ "absolute",+ "relative",+ "sticky"+ ],+ inset: [{ inset: w() }],+ "inset-x": [{ "inset-x": w() }],+ "inset-y": [{ "inset-y": w() }],+ start: [{+ "inset-s": w(),+ start: w()+ }],+ end: [{+ "inset-e": w(),+ end: w()+ }],+ "inset-bs": [{ "inset-bs": w() }],+ "inset-be": [{ "inset-be": w() }],+ top: [{ top: w() }],+ right: [{ right: w() }],+ bottom: [{ bottom: w() }],+ left: [{ left: w() }],+ visibility: [+ "visible",+ "invisible",+ "collapse"+ ],+ z: [{ z: [+ Me,+ "auto",+ N,+ M+ ] }],+ basis: [{ basis: [+ je,+ "full",+ "auto",+ s,+ ...C()+ ] }],+ "flex-direction": [{ flex: [+ "row",+ "row-reverse",+ "col",+ "col-reverse"+ ] }],+ "flex-wrap": [{ flex: [+ "nowrap",+ "wrap",+ "wrap-reverse"+ ] }],+ flex: [{ flex: [+ j,+ je,+ "auto",+ "initial",+ "none",+ M+ ] }],+ grow: [{ grow: [+ "",+ j,+ N,+ M+ ] }],+ shrink: [{ shrink: [+ "",+ j,+ N,+ M+ ] }],+ order: [{ order: [+ Me,+ "first",+ "last",+ "none",+ N,+ M+ ] }],+ "grid-cols": [{ "grid-cols": te() }],+ "col-start-end": [{ col: T() }],+ "col-start": [{ "col-start": ne() }],+ "col-end": [{ "col-end": ne() }],+ "grid-rows": [{ "grid-rows": te() }],+ "row-start-end": [{ row: T() }],+ "row-start": [{ "row-start": ne() }],+ "row-end": [{ "row-end": ne() }],+ "grid-flow": [{ "grid-flow": [+ "row",+ "col",+ "dense",+ "row-dense",+ "col-dense"+ ] }],+ "auto-cols": [{ "auto-cols": re() }],+ "auto-rows": [{ "auto-rows": re() }],+ gap: [{ gap: C() }],+ "gap-x": [{ "gap-x": C() }],+ "gap-y": [{ "gap-y": C() }],+ "justify-content": [{ justify: [...ie(), "normal"] }],+ "justify-items": [{ "justify-items": [...ae(), "normal"] }],+ "justify-self": [{ "justify-self": ["auto", ...ae()] }],+ "align-content": [{ content: ["normal", ...ie()] }],+ "align-items": [{ items: [...ae(), { baseline: ["", "last"] }] }],+ "align-self": [{ self: [+ "auto",+ ...ae(),+ { baseline: ["", "last"] }+ ] }],+ "place-content": [{ "place-content": ie() }],+ "place-items": [{ "place-items": [...ae(), "baseline"] }],+ "place-self": [{ "place-self": ["auto", ...ae()] }],+ p: [{ p: C() }],+ px: [{ px: C() }],+ py: [{ py: C() }],+ ps: [{ ps: C() }],+ pe: [{ pe: C() }],+ pbs: [{ pbs: C() }],+ pbe: [{ pbe: C() }],+ pt: [{ pt: C() }],+ pr: [{ pr: C() }],+ pb: [{ pb: C() }],+ pl: [{ pl: C() }],+ m: [{ m: oe() }],+ mx: [{ mx: oe() }],+ my: [{ my: oe() }],+ ms: [{ ms: oe() }],+ me: [{ me: oe() }],+ mbs: [{ mbs: oe() }],+ mbe: [{ mbe: oe() }],+ mt: [{ mt: oe() }],+ mr: [{ mr: oe() }],+ mb: [{ mb: oe() }],+ ml: [{ ml: oe() }],+ "space-x": [{ "space-x": C() }],+ "space-x-reverse": ["space-x-reverse"],+ "space-y": [{ "space-y": C() }],+ "space-y-reverse": ["space-y-reverse"],+ size: [{ size: se() }],+ "inline-size": [{ inline: ["auto", ...ce()] }],+ "min-inline-size": [{ "min-inline": ["auto", ...ce()] }],+ "max-inline-size": [{ "max-inline": ["none", ...ce()] }],+ "block-size": [{ block: ["auto", ...le()] }],+ "min-block-size": [{ "min-block": ["auto", ...le()] }],+ "max-block-size": [{ "max-block": ["none", ...le()] }],+ w: [{ w: [+ s,+ "screen",+ ...se()+ ] }],+ "min-w": [{ "min-w": [+ s,+ "screen",+ "none",+ ...se()+ ] }],+ "max-w": [{ "max-w": [+ s,+ "screen",+ "none",+ "prose",+ { screen: [o] },+ ...se()+ ] }],+ h: [{ h: [+ "screen",+ "lh",+ ...se()+ ] }],+ "min-h": [{ "min-h": [+ "screen",+ "lh",+ "none",+ ...se()+ ] }],+ "max-h": [{ "max-h": [+ "screen",+ "lh",+ "none",+ ...se()+ ] }],+ "font-size": [{ text: [+ "base",+ n,+ Xe,+ Ue+ ] }],+ "font-smoothing": ["antialiased", "subpixel-antialiased"],+ "font-style": ["italic", "not-italic"],+ "font-weight": [{ font: [+ r,+ nt,+ Ge+ ] }],+ "font-stretch": [{ "font-stretch": [+ "ultra-condensed",+ "extra-condensed",+ "condensed",+ "semi-condensed",+ "normal",+ "semi-expanded",+ "expanded",+ "extra-expanded",+ "ultra-expanded",+ Ne,+ M+ ] }],+ "font-family": [{ font: [+ Ze,+ Ke,+ t+ ] }],+ "font-features": [{ "font-features": [M] }],+ "fvn-normal": ["normal-nums"],+ "fvn-ordinal": ["ordinal"],+ "fvn-slashed-zero": ["slashed-zero"],+ "fvn-figure": ["lining-nums", "oldstyle-nums"],+ "fvn-spacing": ["proportional-nums", "tabular-nums"],+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],+ tracking: [{ tracking: [+ i,+ N,+ M+ ] }],+ "line-clamp": [{ "line-clamp": [+ j,+ "none",+ N,+ We+ ] }],+ leading: [{ leading: [+ "none",+ a,+ ...C()+ ] }],+ "list-image": [{ "list-image": [+ "none",+ N,+ M+ ] }],+ "list-style-position": [{ list: ["inside", "outside"] }],+ "list-style-type": [{ list: [+ "disc",+ "decimal",+ "none",+ N,+ M+ ] }],+ "text-alignment": [{ text: [+ "left",+ "center",+ "right",+ "justify",+ "start",+ "end"+ ] }],+ "placeholder-color": [{ placeholder: E() }],+ "text-color": [{ text: E() }],+ "text-decoration": [+ "underline",+ "overline",+ "line-through",+ "no-underline"+ ],+ "text-decoration-style": [{ decoration: [...ge(), "wavy"] }],+ "text-decoration-thickness": [{ decoration: [+ j,+ "from-font",+ "auto",+ N,+ Ue+ ] }],+ "text-decoration-color": [{ decoration: E() }],+ "underline-offset": [{ "underline-offset": [+ j,+ "auto",+ N,+ M+ ] }],+ "text-transform": [+ "uppercase",+ "lowercase",+ "capitalize",+ "normal-case"+ ],+ "text-overflow": [+ "truncate",+ "text-ellipsis",+ "text-clip"+ ],+ "text-wrap": [{ text: [+ "wrap",+ "nowrap",+ "balance",+ "pretty"+ ] }],+ indent: [{ indent: C() }],+ "tab-size": [{ tab: [+ Me,+ N,+ M+ ] }],+ "vertical-align": [{ align: [+ "baseline",+ "top",+ "middle",+ "bottom",+ "text-top",+ "text-bottom",+ "sub",+ "super",+ N,+ M+ ] }],+ whitespace: [{ whitespace: [+ "normal",+ "nowrap",+ "pre",+ "pre-line",+ "pre-wrap",+ "break-spaces"+ ] }],+ break: [{ break: [+ "normal",+ "words",+ "all",+ "keep"+ ] }],+ wrap: [{ wrap: [+ "break-word",+ "anywhere",+ "normal"+ ] }],+ hyphens: [{ hyphens: [+ "none",+ "manual",+ "auto"+ ] }],+ content: [{ content: [+ "none",+ N,+ M+ ] }],+ "bg-attachment": [{ bg: [+ "fixed",+ "local",+ "scroll"+ ] }],+ "bg-clip": [{ "bg-clip": [+ "border",+ "padding",+ "content",+ "text"+ ] }],+ "bg-origin": [{ "bg-origin": [+ "border",+ "padding",+ "content"+ ] }],+ "bg-position": [{ bg: ue() }],+ "bg-repeat": [{ bg: de() }],+ "bg-size": [{ bg: fe() }],+ "bg-image": [{ bg: [+ "none",+ {+ linear: [+ { to: [+ "t",+ "tr",+ "r",+ "br",+ "b",+ "bl",+ "l",+ "tl"+ ] },+ Me,+ N,+ M+ ],+ radial: [+ "",+ N,+ M+ ],+ conic: [+ "",+ Me,+ N,+ M+ ]+ },+ et,+ Je+ ] }],+ "bg-color": [{ bg: E() }],+ "gradient-from-pos": [{ from: pe() }],+ "gradient-via-pos": [{ via: pe() }],+ "gradient-to-pos": [{ to: pe() }],+ "gradient-from": [{ from: E() }],+ "gradient-via": [{ via: E() }],+ "gradient-to": [{ to: E() }],+ rounded: [{ rounded: me() }],+ "rounded-s": [{ "rounded-s": me() }],+ "rounded-e": [{ "rounded-e": me() }],+ "rounded-t": [{ "rounded-t": me() }],+ "rounded-r": [{ "rounded-r": me() }],+ "rounded-b": [{ "rounded-b": me() }],+ "rounded-l": [{ "rounded-l": me() }],+ "rounded-ss": [{ "rounded-ss": me() }],+ "rounded-se": [{ "rounded-se": me() }],+ "rounded-ee": [{ "rounded-ee": me() }],+ "rounded-es": [{ "rounded-es": me() }],+ "rounded-tl": [{ "rounded-tl": me() }],+ "rounded-tr": [{ "rounded-tr": me() }],+ "rounded-br": [{ "rounded-br": me() }],+ "rounded-bl": [{ "rounded-bl": me() }],+ "border-w": [{ border: he() }],+ "border-w-x": [{ "border-x": he() }],+ "border-w-y": [{ "border-y": he() }],+ "border-w-s": [{ "border-s": he() }],+ "border-w-e": [{ "border-e": he() }],+ "border-w-bs": [{ "border-bs": he() }],+ "border-w-be": [{ "border-be": he() }],+ "border-w-t": [{ "border-t": he() }],+ "border-w-r": [{ "border-r": he() }],+ "border-w-b": [{ "border-b": he() }],+ "border-w-l": [{ "border-l": he() }],+ "divide-x": [{ "divide-x": he() }],+ "divide-x-reverse": ["divide-x-reverse"],+ "divide-y": [{ "divide-y": he() }],+ "divide-y-reverse": ["divide-y-reverse"],+ "border-style": [{ border: [+ ...ge(),+ "hidden",+ "none"+ ] }],+ "divide-style": [{ divide: [+ ...ge(),+ "hidden",+ "none"+ ] }],+ "border-color": [{ border: E() }],+ "border-color-x": [{ "border-x": E() }],+ "border-color-y": [{ "border-y": E() }],+ "border-color-s": [{ "border-s": E() }],+ "border-color-e": [{ "border-e": E() }],+ "border-color-bs": [{ "border-bs": E() }],+ "border-color-be": [{ "border-be": E() }],+ "border-color-t": [{ "border-t": E() }],+ "border-color-r": [{ "border-r": E() }],+ "border-color-b": [{ "border-b": E() }],+ "border-color-l": [{ "border-l": E() }],+ "divide-color": [{ divide: E() }],+ "outline-style": [{ outline: [+ ...ge(),+ "none",+ "hidden"+ ] }],+ "outline-offset": [{ "outline-offset": [+ j,+ N,+ M+ ] }],+ "outline-w": [{ outline: [+ "",+ j,+ Xe,+ Ue+ ] }],+ "outline-color": [{ outline: E() }],+ shadow: [{ shadow: [+ "",+ "inner",+ "none",+ u,+ tt,+ Ye+ ] }],+ "shadow-color": [{ shadow: E() }],+ "inset-shadow": [{ "inset-shadow": [+ "none",+ d,+ tt,+ Ye+ ] }],+ "inset-shadow-color": [{ "inset-shadow": E() }],+ "ring-w": [{ ring: he() }],+ "ring-w-inset": ["ring-inset"],+ "ring-color": [{ ring: E() }],+ "ring-offset-w": [{ "ring-offset": [j, Ue] }],+ "ring-offset-color": [{ "ring-offset": E() }],+ "inset-ring-w": [{ "inset-ring": he() }],+ "inset-ring-color": [{ "inset-ring": E() }],+ "text-shadow": [{ "text-shadow": [+ "none",+ f,+ tt,+ Ye+ ] }],+ "text-shadow-color": [{ "text-shadow": E() }],+ opacity: [{ opacity: [+ j,+ N,+ M+ ] }],+ "mix-blend": [{ "mix-blend": [+ ..._e(),+ "plus-darker",+ "plus-lighter"+ ] }],+ "bg-blend": [{ "bg-blend": _e() }],+ "mask-clip": [{ "mask-clip": [+ "border",+ "padding",+ "content",+ "fill",+ "stroke",+ "view"+ ] }, "mask-no-clip"],+ "mask-composite": [{ mask: [+ "add",+ "subtract",+ "intersect",+ "exclude"+ ] }],+ "mask-image-linear-pos": [{ "mask-linear": [j] }],+ "mask-image-linear-from-pos": [{ "mask-linear-from": ve() }],+ "mask-image-linear-to-pos": [{ "mask-linear-to": ve() }],+ "mask-image-linear-from-color": [{ "mask-linear-from": E() }],+ "mask-image-linear-to-color": [{ "mask-linear-to": E() }],+ "mask-image-t-from-pos": [{ "mask-t-from": ve() }],+ "mask-image-t-to-pos": [{ "mask-t-to": ve() }],+ "mask-image-t-from-color": [{ "mask-t-from": E() }],+ "mask-image-t-to-color": [{ "mask-t-to": E() }],+ "mask-image-r-from-pos": [{ "mask-r-from": ve() }],+ "mask-image-r-to-pos": [{ "mask-r-to": ve() }],+ "mask-image-r-from-color": [{ "mask-r-from": E() }],+ "mask-image-r-to-color": [{ "mask-r-to": E() }],+ "mask-image-b-from-pos": [{ "mask-b-from": ve() }],+ "mask-image-b-to-pos": [{ "mask-b-to": ve() }],+ "mask-image-b-from-color": [{ "mask-b-from": E() }],+ "mask-image-b-to-color": [{ "mask-b-to": E() }],+ "mask-image-l-from-pos": [{ "mask-l-from": ve() }],+ "mask-image-l-to-pos": [{ "mask-l-to": ve() }],+ "mask-image-l-from-color": [{ "mask-l-from": E() }],+ "mask-image-l-to-color": [{ "mask-l-to": E() }],+ "mask-image-x-from-pos": [{ "mask-x-from": ve() }],+ "mask-image-x-to-pos": [{ "mask-x-to": ve() }],+ "mask-image-x-from-color": [{ "mask-x-from": E() }],+ "mask-image-x-to-color": [{ "mask-x-to": E() }],+ "mask-image-y-from-pos": [{ "mask-y-from": ve() }],+ "mask-image-y-to-pos": [{ "mask-y-to": ve() }],+ "mask-image-y-from-color": [{ "mask-y-from": E() }],+ "mask-image-y-to-color": [{ "mask-y-to": E() }],+ "mask-image-radial": [{ "mask-radial": [N, M] }],+ "mask-image-radial-from-pos": [{ "mask-radial-from": ve() }],+ "mask-image-radial-to-pos": [{ "mask-radial-to": ve() }],+ "mask-image-radial-from-color": [{ "mask-radial-from": E() }],+ "mask-image-radial-to-color": [{ "mask-radial-to": E() }],+ "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],+ "mask-image-radial-size": [{ "mask-radial": [{+ closest: ["side", "corner"],+ farthest: ["side", "corner"]+ }] }],+ "mask-image-radial-pos": [{ "mask-radial-at": b() }],+ "mask-image-conic-pos": [{ "mask-conic": [j] }],+ "mask-image-conic-from-pos": [{ "mask-conic-from": ve() }],+ "mask-image-conic-to-pos": [{ "mask-conic-to": ve() }],+ "mask-image-conic-from-color": [{ "mask-conic-from": E() }],+ "mask-image-conic-to-color": [{ "mask-conic-to": E() }],+ "mask-mode": [{ mask: [+ "alpha",+ "luminance",+ "match"+ ] }],+ "mask-origin": [{ "mask-origin": [+ "border",+ "padding",+ "content",+ "fill",+ "stroke",+ "view"+ ] }],+ "mask-position": [{ mask: ue() }],+ "mask-repeat": [{ mask: de() }],+ "mask-size": [{ mask: fe() }],+ "mask-type": [{ "mask-type": ["alpha", "luminance"] }],+ "mask-image": [{ mask: [+ "none",+ N,+ M+ ] }],+ filter: [{ filter: [+ "",+ "none",+ N,+ M+ ] }],+ blur: [{ blur: ye() }],+ brightness: [{ brightness: [+ j,+ N,+ M+ ] }],+ contrast: [{ contrast: [+ j,+ N,+ M+ ] }],+ "drop-shadow": [{ "drop-shadow": [+ "",+ "none",+ p,+ tt,+ Ye+ ] }],+ "drop-shadow-color": [{ "drop-shadow": E() }],+ grayscale: [{ grayscale: [+ "",+ j,+ N,+ M+ ] }],+ "hue-rotate": [{ "hue-rotate": [+ j,+ N,+ M+ ] }],+ invert: [{ invert: [+ "",+ j,+ N,+ M+ ] }],+ saturate: [{ saturate: [+ j,+ N,+ M+ ] }],+ sepia: [{ sepia: [+ "",+ j,+ N,+ M+ ] }],+ "backdrop-filter": [{ "backdrop-filter": [+ "",+ "none",+ N,+ M+ ] }],+ "backdrop-blur": [{ "backdrop-blur": ye() }],+ "backdrop-brightness": [{ "backdrop-brightness": [+ j,+ N,+ M+ ] }],+ "backdrop-contrast": [{ "backdrop-contrast": [+ j,+ N,+ M+ ] }],+ "backdrop-grayscale": [{ "backdrop-grayscale": [+ "",+ j,+ N,+ M+ ] }],+ "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [+ j,+ N,+ M+ ] }],+ "backdrop-invert": [{ "backdrop-invert": [+ "",+ j,+ N,+ M+ ] }],+ "backdrop-opacity": [{ "backdrop-opacity": [+ j,+ N,+ M+ ] }],+ "backdrop-saturate": [{ "backdrop-saturate": [+ j,+ N,+ M+ ] }],+ "backdrop-sepia": [{ "backdrop-sepia": [+ "",+ j,+ N,+ M+ ] }],+ "border-collapse": [{ border: ["collapse", "separate"] }],+ "border-spacing": [{ "border-spacing": C() }],+ "border-spacing-x": [{ "border-spacing-x": C() }],+ "border-spacing-y": [{ "border-spacing-y": C() }],+ "table-layout": [{ table: ["auto", "fixed"] }],+ caption: [{ caption: ["top", "bottom"] }],+ transition: [{ transition: [+ "",+ "all",+ "colors",+ "opacity",+ "shadow",+ "transform",+ "none",+ N,+ M+ ] }],+ "transition-behavior": [{ transition: ["normal", "discrete"] }],+ duration: [{ duration: [+ j,+ "initial",+ N,+ M+ ] }],+ ease: [{ ease: [+ "linear",+ "initial",+ _,+ N,+ M+ ] }],+ delay: [{ delay: [+ j,+ N,+ M+ ] }],+ animate: [{ animate: [+ "none",+ v,+ N,+ M+ ] }],+ backface: [{ backface: ["hidden", "visible"] }],+ perspective: [{ perspective: [+ h,+ N,+ M+ ] }],+ "perspective-origin": [{ "perspective-origin": x() }],+ rotate: [{ rotate: be() }],+ "rotate-x": [{ "rotate-x": be() }],+ "rotate-y": [{ "rotate-y": be() }],+ "rotate-z": [{ "rotate-z": be() }],+ scale: [{ scale: xe() }],+ "scale-x": [{ "scale-x": xe() }],+ "scale-y": [{ "scale-y": xe() }],+ "scale-z": [{ "scale-z": xe() }],+ "scale-3d": ["scale-3d"],+ skew: [{ skew: Se() }],+ "skew-x": [{ "skew-x": Se() }],+ "skew-y": [{ "skew-y": Se() }],+ transform: [{ transform: [+ N,+ M,+ "",+ "none",+ "gpu",+ "cpu"+ ] }],+ "transform-origin": [{ origin: x() }],+ "transform-style": [{ transform: ["3d", "flat"] }],+ translate: [{ translate: Ce() }],+ "translate-x": [{ "translate-x": Ce() }],+ "translate-y": [{ "translate-y": Ce() }],+ "translate-z": [{ "translate-z": Ce() }],+ "translate-none": ["translate-none"],+ zoom: [{ zoom: [+ Me,+ N,+ M+ ] }],+ accent: [{ accent: E() }],+ appearance: [{ appearance: ["none", "auto"] }],+ "caret-color": [{ caret: E() }],+ "color-scheme": [{ scheme: [+ "normal",+ "dark",+ "light",+ "light-dark",+ "only-dark",+ "only-light"+ ] }],+ cursor: [{ cursor: [+ "auto",+ "default",+ "pointer",+ "wait",+ "text",+ "move",+ "help",+ "not-allowed",+ "none",+ "context-menu",+ "progress",+ "cell",+ "crosshair",+ "vertical-text",+ "alias",+ "copy",+ "no-drop",+ "grab",+ "grabbing",+ "all-scroll",+ "col-resize",+ "row-resize",+ "n-resize",+ "e-resize",+ "s-resize",+ "w-resize",+ "ne-resize",+ "nw-resize",+ "se-resize",+ "sw-resize",+ "ew-resize",+ "ns-resize",+ "nesw-resize",+ "nwse-resize",+ "zoom-in",+ "zoom-out",+ N,+ M+ ] }],+ "field-sizing": [{ "field-sizing": ["fixed", "content"] }],+ "pointer-events": [{ "pointer-events": ["auto", "none"] }],+ resize: [{ resize: [+ "none",+ "",+ "y",+ "x"+ ] }],+ "scroll-behavior": [{ scroll: ["auto", "smooth"] }],+ "scrollbar-thumb-color": [{ "scrollbar-thumb": E() }],+ "scrollbar-track-color": [{ "scrollbar-track": E() }],+ "scrollbar-gutter": [{ "scrollbar-gutter": [+ "auto",+ "stable",+ "both"+ ] }],+ "scrollbar-w": [{ scrollbar: [+ "auto",+ "thin",+ "none"+ ] }],+ "scroll-m": [{ "scroll-m": C() }],+ "scroll-mx": [{ "scroll-mx": C() }],+ "scroll-my": [{ "scroll-my": C() }],+ "scroll-ms": [{ "scroll-ms": C() }],+ "scroll-me": [{ "scroll-me": C() }],+ "scroll-mbs": [{ "scroll-mbs": C() }],+ "scroll-mbe": [{ "scroll-mbe": C() }],+ "scroll-mt": [{ "scroll-mt": C() }],+ "scroll-mr": [{ "scroll-mr": C() }],+ "scroll-mb": [{ "scroll-mb": C() }],+ "scroll-ml": [{ "scroll-ml": C() }],+ "scroll-p": [{ "scroll-p": C() }],+ "scroll-px": [{ "scroll-px": C() }],+ "scroll-py": [{ "scroll-py": C() }],+ "scroll-ps": [{ "scroll-ps": C() }],+ "scroll-pe": [{ "scroll-pe": C() }],+ "scroll-pbs": [{ "scroll-pbs": C() }],+ "scroll-pbe": [{ "scroll-pbe": C() }],+ "scroll-pt": [{ "scroll-pt": C() }],+ "scroll-pr": [{ "scroll-pr": C() }],+ "scroll-pb": [{ "scroll-pb": C() }],+ "scroll-pl": [{ "scroll-pl": C() }],+ "snap-align": [{ snap: [+ "start",+ "end",+ "center",+ "align-none"+ ] }],+ "snap-stop": [{ snap: ["normal", "always"] }],+ "snap-type": [{ snap: [+ "none",+ "x",+ "y",+ "both"+ ] }],+ "snap-strictness": [{ snap: ["mandatory", "proximity"] }],+ touch: [{ touch: [+ "auto",+ "none",+ "manipulation"+ ] }],+ "touch-x": [{ "touch-pan": [+ "x",+ "left",+ "right"+ ] }],+ "touch-y": [{ "touch-pan": [+ "y",+ "up",+ "down"+ ] }],+ "touch-pz": ["touch-pinch-zoom"],+ select: [{ select: [+ "none",+ "text",+ "all",+ "auto"+ ] }],+ "will-change": [{ "will-change": [+ "auto",+ "scroll",+ "contents",+ "transform",+ N,+ M+ ] }],+ fill: [{ fill: ["none", ...E()] }],+ "stroke-w": [{ stroke: [+ j,+ Xe,+ Ue,+ We+ ] }],+ stroke: [{ stroke: ["none", ...E()] }],+ "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]+ },+ conflictingClassGroups: {+ "container-named": ["container-type"],+ overflow: ["overflow-x", "overflow-y"],+ overscroll: ["overscroll-x", "overscroll-y"],+ inset: [+ "inset-x",+ "inset-y",+ "inset-bs",+ "inset-be",+ "start",+ "end",+ "top",+ "right",+ "bottom",+ "left"+ ],+ "inset-x": [+ "start",+ "end",+ "right",+ "left"+ ],+ "inset-y": [+ "inset-bs",+ "inset-be",+ "top",+ "bottom"+ ],+ flex: [+ "basis",+ "grow",+ "shrink"+ ],+ gap: ["gap-x", "gap-y"],+ p: [+ "px",+ "py",+ "ps",+ "pe",+ "pbs",+ "pbe",+ "pt",+ "pr",+ "pb",+ "pl"+ ],+ px: [+ "ps",+ "pe",+ "pr",+ "pl"+ ],+ py: [+ "pbs",+ "pbe",+ "pt",+ "pb"+ ],+ m: [+ "mx",+ "my",+ "ms",+ "me",+ "mbs",+ "mbe",+ "mt",+ "mr",+ "mb",+ "ml"+ ],+ mx: [+ "ms",+ "me",+ "mr",+ "ml"+ ],+ my: [+ "mbs",+ "mbe",+ "mt",+ "mb"+ ],+ size: ["w", "h"],+ "font-size": ["leading"],+ "fvn-normal": [+ "fvn-ordinal",+ "fvn-slashed-zero",+ "fvn-figure",+ "fvn-spacing",+ "fvn-fraction"+ ],+ "fvn-ordinal": ["fvn-normal"],+ "fvn-slashed-zero": ["fvn-normal"],+ "fvn-figure": ["fvn-normal"],+ "fvn-spacing": ["fvn-normal"],+ "fvn-fraction": ["fvn-normal"],+ "line-clamp": ["display", "overflow"],+ rounded: [+ "rounded-s",+ "rounded-e",+ "rounded-t",+ "rounded-r",+ "rounded-b",+ "rounded-l",+ "rounded-ss",+ "rounded-se",+ "rounded-ee",+ "rounded-es",+ "rounded-tl",+ "rounded-tr",+ "rounded-br",+ "rounded-bl"+ ],+ "rounded-s": ["rounded-ss", "rounded-es"],+ "rounded-e": ["rounded-se", "rounded-ee"],+ "rounded-t": ["rounded-tl", "rounded-tr"],+ "rounded-r": ["rounded-tr", "rounded-br"],+ "rounded-b": ["rounded-br", "rounded-bl"],+ "rounded-l": ["rounded-tl", "rounded-bl"],+ "border-spacing": ["border-spacing-x", "border-spacing-y"],+ "border-w": [+ "border-w-x",+ "border-w-y",+ "border-w-s",+ "border-w-e",+ "border-w-bs",+ "border-w-be",+ "border-w-t",+ "border-w-r",+ "border-w-b",+ "border-w-l"+ ],+ "border-w-x": [+ "border-w-s",+ "border-w-e",+ "border-w-r",+ "border-w-l"+ ],+ "border-w-y": [+ "border-w-bs",+ "border-w-be",+ "border-w-t",+ "border-w-b"+ ],+ "border-color": [+ "border-color-x",+ "border-color-y",+ "border-color-s",+ "border-color-e",+ "border-color-bs",+ "border-color-be",+ "border-color-t",+ "border-color-r",+ "border-color-b",+ "border-color-l"+ ],+ "border-color-x": [+ "border-color-s",+ "border-color-e",+ "border-color-r",+ "border-color-l"+ ],+ "border-color-y": [+ "border-color-bs",+ "border-color-be",+ "border-color-t",+ "border-color-b"+ ],+ translate: [+ "translate-x",+ "translate-y",+ "translate-none"+ ],+ "translate-none": [+ "translate",+ "translate-x",+ "translate-y",+ "translate-z"+ ],+ "scroll-m": [+ "scroll-mx",+ "scroll-my",+ "scroll-ms",+ "scroll-me",+ "scroll-mbs",+ "scroll-mbe",+ "scroll-mt",+ "scroll-mr",+ "scroll-mb",+ "scroll-ml"+ ],+ "scroll-mx": [+ "scroll-ms",+ "scroll-me",+ "scroll-mr",+ "scroll-ml"+ ],+ "scroll-my": [+ "scroll-mbs",+ "scroll-mbe",+ "scroll-mt",+ "scroll-mb"+ ],+ "scroll-p": [+ "scroll-px",+ "scroll-py",+ "scroll-ps",+ "scroll-pe",+ "scroll-pbs",+ "scroll-pbe",+ "scroll-pt",+ "scroll-pr",+ "scroll-pb",+ "scroll-pl"+ ],+ "scroll-px": [+ "scroll-ps",+ "scroll-pe",+ "scroll-pr",+ "scroll-pl"+ ],+ "scroll-py": [+ "scroll-pbs",+ "scroll-pbe",+ "scroll-pt",+ "scroll-pb"+ ],+ touch: [+ "touch-x",+ "touch-y",+ "touch-pz"+ ],+ "touch-x": ["touch"],+ "touch-y": ["touch"],+ "touch-pz": ["touch"]+ },+ conflictingClassGroupModifiers: { "font-size": ["leading"] },+ postfixLookupClassGroups: ["container-type"],+ orderSensitiveModifiers: [+ "*",+ "**",+ "after",+ "backdrop",+ "before",+ "details-content",+ "file",+ "first-letter",+ "first-line",+ "marker",+ "placeholder",+ "selection"+ ]+ };+}, mt = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (ht(e, "cacheSize", t), ht(e, "prefix", n), ht(e, "experimentalParseClassName", r), gt(e.theme, a.theme), gt(e.classGroups, a.classGroups), gt(e.conflictingClassGroups, a.conflictingClassGroups), gt(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), ht(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), ht(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), _t(e.theme, i.theme), _t(e.classGroups, i.classGroups), _t(e.conflictingClassGroups, i.conflictingClassGroups), _t(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), vt(e, i, "postfixLookupClassGroups"), vt(e, i, "orderSensitiveModifiers"), e), ht = (e, t, n) => {+ n !== void 0 && (e[t] = n);+}, gt = (e, t) => {+ if (t) for (let n in t) ht(e, n, t[n]);+}, _t = (e, t) => {+ if (t) for (let n in t) vt(e, t, n);+}, vt = (e, t, n) => {+ let r = t[n];+ r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);+}, yt = (e, ...t) => typeof e == "function" ? D(pt, e, ...t) : D(() => mt(pt(), e), ...t), bt = [+ "large-title",+ "display-1",+ "display-2",+ "display-3",+ "display-4",+ "title-1",+ "title-2",+ "title-3",+ "headline",+ "body",+ "body-2",+ "caption-1",+ "caption-2"+], xt = [+ "regular",+ "medium",+ "semibold",+ "bold"+], St = yt({ extend: { classGroups: { "font-size": [{ text: bt.flatMap((e) => xt.map((t) => `${e}-${t}`)) }] } } });+function Ct(e) {+ return e;+}+//#endregion+//#region node_modules/react/cjs/react-jsx-runtime.production.js+var wt = /* @__PURE__ */ s(((e) => {+ var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");+ function r(e, n, r) {+ var i = null;+ if (r !== void 0 && (i = "" + r), n.key !== void 0 && (i = "" + n.key), "key" in n) for (var a in r = {}, n) a !== "key" && (r[a] = n[a]);+ else r = n;+ return n = r.ref, {+ $$typeof: t,+ type: e,+ key: i,+ ref: n === void 0 ? null : n,+ props: r+ };+ }+ e.Fragment = n, e.jsx = r, e.jsxs = r;+})), P = (/* @__PURE__ */ s(((e, t) => {+ t.exports = wt();+})))();+function Tt({ className: e, children: t }) {+ return /* @__PURE__ */ (0, P.jsx)("div", {+ className: St("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ children: t+ });+}+function Et({ className: e, children: t }) {+ return /* @__PURE__ */ (0, P.jsx)("p", {+ className: St("w-full px-3 text-body-2-medium text-text-secondary", e),+ children: t+ });+}+//#endregion+//#region src/react/boardui/components/base/buttons/button.tsx+var Dt = Ct({+ base: [+ "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",+ "font-sans select-none cursor-pointer",+ "button-press-motion",+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",+ "disabled:cursor-not-allowed aria-disabled:cursor-not-allowed"+ ].join(" "),+ size: {+ medium: "h-9 rounded-2lg p-2 text-body-medium",+ small: "h-8 rounded-lg px-2 py-1.5 text-body-medium",+ xs: "h-6 rounded-sm px-2 text-caption-1-semibold"+ },+ iconOnlySize: {+ medium: "",+ small: "size-8 p-0",+ xs: "size-6 p-0"+ },+ icon: {+ medium: "size-5 shrink-0",+ small: "size-[18px] shrink-0",+ xs: "size-3.5 shrink-0"+ },+ label: {+ medium: "inline-flex items-center justify-center px-1 shrink-0",+ small: "inline-flex items-center justify-center px-0.5 shrink-0",+ xs: "inline-flex items-center justify-center px-0.5 shrink-0"+ },+ variant: {+ primary: [+ "bg-button-primary text-text-white shadow-xs",+ "disabled:text-button-primary-disabled-foreground disabled:shadow-none",+ "aria-disabled:text-button-primary-disabled-foreground aria-disabled:shadow-none"+ ].join(" "),+ danger: [+ "bg-button-danger text-text-white shadow-xs",+ "disabled:text-foreground-disabled-danger disabled:shadow-none",+ "aria-disabled:text-foreground-disabled-danger aria-disabled:shadow-none"+ ].join(" "),+ secondary: [+ "bg-background-primary-default text-text-primary",+ "border border-border-button-default shadow-xs",+ "hover:bg-background-primary-hover hover:border-border-button-hover",+ "active:bg-background-primary-active active:border-border-button-active",+ "disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-text-tertiary disabled:shadow-none",+ "aria-disabled:bg-background-primary-disabled aria-disabled:border-border-button-default aria-disabled:text-text-tertiary aria-disabled:shadow-none"+ ].join(" "),+ ghost: [+ "bg-button-ghost-background text-button-ghost-foreground",+ "hover:bg-button-ghost-hover active:bg-button-ghost-active",+ "disabled:bg-button-ghost-disabled disabled:text-button-ghost-disabled-foreground disabled:shadow-none",+ "aria-disabled:bg-button-ghost-disabled aria-disabled:text-button-ghost-disabled-foreground aria-disabled:shadow-none"+ ].join(" ")+ }+});+function Ot({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, type: s = "button", ref: c, ...l }) {+ return /* @__PURE__ */ (0, P.jsxs)("button", {+ ref: c,+ type: s,+ className: St(Dt.base, Dt.size[t], Dt.variant[e], n && Dt.iconOnlySize[t], o),+ ...l,+ children: [+ r ? /* @__PURE__ */ (0, P.jsx)(r, {+ className: Dt.icon[t],+ "aria-hidden": !0+ }) : null,+ !n && a != null && /* @__PURE__ */ (0, P.jsx)("span", {+ className: Dt.label[t],+ children: a+ }),+ !n && i ? /* @__PURE__ */ (0, P.jsx)(i, {+ className: Dt.icon[t],+ "aria-hidden": !0+ }) : null+ ]+ });+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/chain.mjs+function kt(...e) {+ return (...t) => {+ for (let n of e) typeof n == "function" && n(...t);+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs+var At = typeof document < "u" ? v.useLayoutEffect : () => {}, jt = {+ prefix: String(Math.round(Math.random() * 1e10)),+ current: 0+}, Mt = /*#__PURE__*/ v.createContext(jt), Nt = /*#__PURE__*/ v.createContext(!1);+typeof window < "u" && window.document && window.document.createElement;+var Pt = /* @__PURE__ */ new WeakMap();+function Ft(e = !1) {+ let t = (0, v.useContext)(Mt), n = (0, v.useRef)(null);+ if (n.current === null && !e) {+ let e = v.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;+ if (e) {+ let n = Pt.get(e);+ n == null ? Pt.set(e, {+ id: t.current,+ state: e.memoizedState+ }) : e.memoizedState !== n.state && (t.current = n.id, Pt.delete(e));+ }+ n.current = ++t.current;+ }+ return n.current;+}+function It(e) {+ let t = (0, v.useContext)(Mt), n = Ft(!!e), r = `react-aria${t.prefix}`;+ return e || `${r}-${n}`;+}+function Lt(e) {+ let t = v.useId(), [n] = (0, v.useState)(Ht()), r = n ? "react-aria" : `react-aria${jt.prefix}`;+ return e || `${r}-${t}`;+}+var Rt = typeof v.useId == "function" ? Lt : It;+function zt() {+ return !1;+}+function Bt() {+ return !0;+}+function Vt(e) {+ return () => {};+}+function Ht() {+ return typeof v.useSyncExternalStore == "function" ? v.useSyncExternalStore(Vt, zt, Bt) : (0, v.useContext)(Nt);+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs+function Ut(e) {+ let [t, n] = (0, v.useState)(e), r = (0, v.useRef)(t), i = (0, v.useRef)(null), a = (0, v.useRef)(() => {+ if (!i.current) return;+ let e = i.current.next();+ if (e.done) {+ i.current = null;+ return;+ }+ r.current === e.value ? a.current() : n(e.value);+ });+ return At(() => {+ r.current = t, i.current && a.current();+ }), [t, (0, v.useCallback)((e) => {+ i.current = e(r.current), a.current();+ }, [a])];+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useId.mjs+var Wt = !!(typeof window < "u" && window.document && window.document.createElement), Gt = /* @__PURE__ */ new Map(), Kt;+typeof FinalizationRegistry < "u" && (Kt = new FinalizationRegistry((e) => {+ Gt.delete(e);+}));+var qt = /* @__PURE__ */ new WeakMap();+function Jt(e) {+ let [t, n] = (0, v.useState)(e), r = (0, v.useRef)(null), i = Rt(t), a = (0, v.useRef)(null), o = qt.get(a);+ if (Kt && o !== i && (o != null && Kt.unregister(a), Kt.register(a, i, a), qt.set(a, i)), Wt) {+ let e = Gt.get(i);+ e && !e.includes(r) ? e.push(r) : Gt.set(i, [r]);+ }+ return At(() => {+ let e = i;+ return () => {+ Kt && (Kt.unregister(a), qt.delete(a)), Gt.delete(e);+ };+ }, [i]), (0, v.useEffect)(() => {+ let e = r.current;+ return e && n(e), () => {+ e && (r.current = null);+ };+ }), i;+}+function Yt(e, t) {+ if (e === t) return e;+ let n = Gt.get(e);+ if (n) return n.forEach((e) => e.current = t), t;+ let r = Gt.get(t);+ return r ? (r.forEach((t) => t.current = e), e) : t;+}+function F(e = []) {+ let t = Jt(), [n, r] = Ut(t), i = (0, v.useCallback)(() => {+ r(function* () {+ yield t, yield document.getElementById(t) ? t : void 0;+ });+ }, [t, r]);+ return At(i, [+ t,+ i,+ ...e+ ]), n;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs+function Xt(...e) {+ return e.length === 1 && e[0] ? e[0] : (t) => {+ let n = !1, r = e.map((e) => {+ let r = Zt(e, t);+ return n ||= typeof r == "function", r;+ });+ if (n) return () => {+ r.forEach((t, n) => {+ typeof t == "function" ? t() : Zt(e[n], null);+ });+ };+ };+}+function Zt(e, t) {+ if (typeof e == "function") return e(t);+ e != null && (e.current = t);+}+//#endregion+//#region node_modules/clsx/dist/clsx.mjs+function Qt(e) {+ var t, n, r = "";+ if (typeof e == "string" || typeof e == "number") r += e;+ else if (typeof e == "object") {+ if (Array.isArray(e)) {+ var i = e.length;+ for (t = 0; t < i; t++) e[t] && (n = Qt(e[t])) && (r && (r += " "), r += n);+ } else for (n in e) e[n] && (r && (r += " "), r += n);+ }+ return r;+}+function $t() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Qt(e)) && (r && (r += " "), r += t);+ return r;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs+function I(...e) {+ let t = { ...e[0] };+ for (let n = 1; n < e.length; n++) {+ let r = e[n];+ for (let e in r) {+ let n = t[e], i = r[e];+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = kt(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = $t(n, i) : e === "id" && n && i ? t.id = Yt(n, i) : e === "ref" && n && i ? t.ref = Xt(n, i) : t[e] = i === void 0 ? n : i;+ }+ }+ return t;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs+function en(e) {+ let t = (0, v.useRef)(null), n = (0, v.useRef)(void 0), r = (0, v.useCallback)((t) => {+ if (typeof e == "function") {+ let n = e, r = n(t);+ return () => {+ typeof r == "function" ? r() : n(null);+ };+ }+ if (e) return e.current = t, () => {+ e.current = null;+ };+ }, [e]);+ return (0, v.useMemo)(() => ({+ get current() {+ return t.current;+ },+ set current(e) {+ t.current = e, n.current &&= (n.current(), void 0), e != null && (n.current = r(e));+ }+ }), [r]);+}+//#endregion+//#region node_modules/react-aria-components/dist/private/utils.mjs+var tn = Symbol("default");+function nn({ values: e, children: t }) {+ for (let [n, r] of e) t = /*#__PURE__*/ v.createElement(n.Provider, { value: r }, t);+ return t;+}+function rn(e) {+ let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;+ return (0, v.useMemo)(() => {+ let e, l, u;+ return e = typeof t == "function" ? t({+ ...s,+ defaultClassName: i+ }) : t, l = typeof n == "function" ? n({+ ...s,+ defaultStyle: o || {}+ }) : n, u = typeof r == "function" ? r({+ ...s,+ defaultChildren: a+ }) : r ?? a, {+ className: e ?? i,+ style: l || o ? {+ ...o,+ ...l+ } : void 0,+ children: u ?? a,+ "data-rac": "",+ render: c ? (e) => c(e, s) : void 0+ };+ }, [+ t,+ n,+ r,+ i,+ a,+ o,+ s,+ c+ ]);+}+function an(e, t) {+ let n = (0, v.useContext)(e);+ if (t === null) return null;+ if (n && typeof n == "object" && "slots" in n && n.slots) {+ let e = t || tn;+ if (!n.slots[e]) {+ let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";+ throw Error(`${r} Valid slot names are ${e}.`);+ }+ return n.slots[e];+ }+ return n;+}+function on(e, t, n) {+ let { ref: r, ...i } = an(n, e.slot) || {}, a = en((0, v.useMemo)(() => Xt(t, r), [t, r])), o = I(i, e);+ return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {+ let n = typeof i.style == "function" ? i.style(t) : i.style, r = {+ ...t.defaultStyle,+ ...n+ }, a = typeof e.style == "function" ? e.style({+ ...t,+ defaultStyle: r+ }) : e.style;+ return {+ ...r,+ ...a+ };+ } : {+ ...i.style,+ ...e.style+ }), [o, a];+}+function sn(e = !0) {+ let [t, n] = (0, v.useState)(e), r = (0, v.useRef)(!1), i = (0, v.useCallback)((e) => {+ r.current = !0, n(!!e);+ }, []);+ return At(() => {+ r.current || n(!1);+ }, []), [i, t];+}+function cn(e) {+ let t = /^(data-.*)$/, n = {};+ for (let r in e) t.test(r) || (n[r] = e[r]);+ return n;+}+function ln(e, t, n) {+ let { render: r, ...i } = t, a = (0, v.useRef)(null), o = (0, v.useMemo)(() => Xt(n, a), [n, a]);+ At(() => {}, [e, r]);+ let s = {+ ...i,+ ref: o+ };+ return r ? r(s, void 0) : /*#__PURE__*/ v.createElement(e, s);+}+var un = {}, dn = new Proxy({}, { get(e, t) {+ if (typeof t != "string") return;+ let n = un[t];+ return n || (n = /*#__PURE__*/ (0, v.forwardRef)(ln.bind(null, t)), un[t] = n), n;+} }), fn = (e) => hn(e) ? e.document : gn(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), pn = (e) => fn(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function mn(e) {+ return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";+}+function hn(e) {+ return typeof e == "object" && !!e && "window" in e && e.window === e;+}+function gn(e) {+ return mn(e) && e.nodeType === 9;+}+function _n(e) {+ return mn(e) && e.nodeType === 11 && "host" in e;+}+//#endregion+//#region node_modules/react-stately/dist/private/flags/flags.mjs+var vn = !1;+function yn() {+ return vn;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs+function L(e, t) {+ if (!yn()) return t && e ? e.contains(t) : !1;+ if (!e || !t) return !1;+ let n = t;+ for (; n !== null;) {+ if (n === e) return !0;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : _n(n) ? n.host : n.parentNode;+ }+ return !1;+}+var bn = (e = document) => {+ if (!yn()) return e.activeElement;+ let t = e.activeElement;+ for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;+ return t;+};+function R(e) {+ if (yn() && e.target instanceof Element && e.target.shadowRoot) {+ if ("composedPath" in e) return e.composedPath()[0] ?? null;+ if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;+ }+ return e.target;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs+function xn(e) {+ if (Cn()) e.focus({ preventScroll: !0 });+ else {+ let t = wn(e);+ e.focus(), Tn(t);+ }+}+var Sn = null;+function Cn() {+ if (Sn == null) {+ Sn = !1;+ try {+ document.createElement("div").focus({ get preventScroll() {+ return Sn = !0, !0;+ } });+ } catch {}+ }+ return Sn;+}+function wn(e) {+ let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement;+ for (; t instanceof HTMLElement && t !== r;) (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({+ element: t,+ scrollTop: t.scrollTop,+ scrollLeft: t.scrollLeft+ }), t = t.parentNode;+ return r instanceof HTMLElement && n.push({+ element: r,+ scrollTop: r.scrollTop,+ scrollLeft: r.scrollLeft+ }), n;+}+function Tn(e) {+ for (let { element: t, scrollTop: n, scrollLeft: r } of e) t.scrollTop = n, t.scrollLeft = r;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs+var En = typeof Element < "u" && "checkVisibility" in Element.prototype;+function Dn(e) {+ let t = pn(e);+ if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;+ let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";+ if (i) {+ let { getComputedStyle: t } = pn(e), { display: n, visibility: r } = t(e);+ i = n !== "none" && r !== "hidden" && r !== "collapse";+ }+ return i;+}+function On(e, t) {+ return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);+}+function kn(e, t) {+ return En ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Dn(e) && On(e, t) && (!e.parentElement || kn(e.parentElement, e));+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs+var An = [+ "input:not([disabled]):not([type=hidden])",+ "select:not([disabled])",+ "textarea:not([disabled])",+ "button:not([disabled])",+ "a[href]",+ "area[href]",+ "summary",+ "iframe",+ "object",+ "embed",+ "audio[controls]",+ "video[controls]",+ "[contenteditable]:not([contenteditable^=\"false\"])",+ "permission"+], jn = An.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+An.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])"), An.join(":not([hidden]):not([tabindex=\"-1\"]),");+function Mn(e, t) {+ return e.matches(jn) && !Nn(e) && (t?.skipVisibilityCheck || kn(e));+}+function Nn(e) {+ let t = e;+ for (; t != null;) {+ if (t instanceof pn(t).HTMLElement && t.inert) return !0;+ t = t.parentElement;+ }+ return !1;+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/utils.mjs+function Pn(e) {+ let t = e;+ return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;+}+function Fn(e, t) {+ Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });+}+function In(e) {+ let t = (0, v.useRef)({+ isFocused: !1,+ observer: null+ });+ return At(() => {+ let e = t.current;+ return () => {+ e.observer &&= (e.observer.disconnect(), null);+ };+ }, []), (0, v.useCallback)((n) => {+ let r = R(n);+ if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {+ t.current.isFocused = !0;+ let n = r;+ n.addEventListener("focusout", (r) => {+ if (t.current.isFocused = !1, n.disabled) {+ let t = Pn(r);+ e?.(t);+ }+ t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);+ }, { once: !0 }), t.current.observer = new MutationObserver(() => {+ if (t.current.isFocused && n.disabled) {+ t.current.observer?.disconnect();+ let e = n === bn() ? null : bn();+ n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {+ bubbles: !0,+ relatedTarget: e+ }));+ }+ }), t.current.observer.observe(n, {+ attributes: !0,+ attributeFilter: ["disabled"]+ });+ }+ }, [e]);+}+var Ln = !1;+function Rn(e) {+ for (; e && !Mn(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = bn(pn(e).document);+ if (!t || t === e) return;+ let n = e?.getRootNode(), r = n != null && _n(n) ? n : pn(e), i = (t) => t === e || t != null && L(e, t), a = (e) => e === t || t != null && e != null && L(t, e);+ Ln = !0;+ let o = !1, s = (e) => {+ (a(R(e)) || o) && e.stopImmediatePropagation();+ }, c = (n) => {+ (a(R(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, xn(t), d()));+ }, l = (e) => {+ (i(R(e)) || o) && e.stopImmediatePropagation();+ }, u = (e) => {+ (i(R(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, xn(t), d()));+ };+ r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);+ let d = () => {+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), Ln = !1, o = !1;+ }, f = requestAnimationFrame(d);+ return d;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/platform.mjs+function zn(e) {+ if (typeof window > "u" || window.navigator == null) return !1;+ let t = window.navigator.userAgentData?.brands;+ return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);+}+function Bn(e) {+ return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);+}+function Vn(e) {+ let t = null;+ return () => (t ??= e(), t);+}+var Hn = Vn(function() {+ return Bn(/^Mac/i);+}), Un = Vn(function() {+ return Bn(/^iPhone/i);+}), Wn = Vn(function() {+ return Bn(/^iPad/i) || Hn() && navigator.maxTouchPoints > 1;+}), Gn = Vn(function() {+ return Un() || Wn();+}), Kn = Vn(function() {+ return zn(/AppleWebKit/i) && (Gn() || !qn());+}), qn = Vn(function() {+ return zn(/Chrome|CriOS|CrMo/i);+}), Jn = Vn(function() {+ return zn(/Android/i);+}), Yn = Vn(function() {+ return zn(/(Firefox|FxiOS)/i);+});+//#endregion+//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs+function Xn(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : Jn() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+}+function Zn(e) {+ return !Jn() && e.width === 0 && e.height === 0 || Jn() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/openLink.mjs+function Qn(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;+ !Kn() && Yn() && window.event?.type?.startsWith("key") && e.target === "_blank" && (Hn() ? r = !0 : i = !0);+ let s = Kn() && Hn() && !Wn() ? new KeyboardEvent("keydown", {+ keyIdentifier: "Enter",+ metaKey: r,+ ctrlKey: i,+ altKey: a,+ shiftKey: o+ }) : new MouseEvent("click", {+ metaKey: r,+ ctrlKey: i,+ altKey: a,+ shiftKey: o,+ detail: 1,+ bubbles: !0,+ cancelable: !0+ });+ Qn.isOpening = n, xn(e), e.dispatchEvent(s), Qn.isOpening = !1;+}+Qn.isOpening = !1;+//#endregion+//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs+var $n = null, er = /* @__PURE__ */ new Set(), tr = /* @__PURE__ */ new Map(), nr = !1, rr = !1, ir = {+ Tab: !0,+ Escape: !0+};+function ar(e, t) {+ for (let n of er) n(e, t);+}+function or(e) {+ return !(e.metaKey || !Hn() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+}+function sr(e) {+ nr = !0, !Qn.isOpening && or(e) && ($n = "keyboard", ar("keyboard", e));+}+function cr(e) {+ $n = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (nr = !0, ar("pointer", e));+}+function lr(e) {+ !Qn.isOpening && Xn(e) && (nr = !0, $n = "virtual");+}+function ur(e) {+ if (Ln) return;+ let t = R(e), n = pn(t), r = fn(t);+ if (t === n) {+ rr = !0;+ return;+ }+ t === r || !e.isTrusted || (!nr && !rr && ($n = "virtual", ar("virtual", e)), nr = !1, rr = !1);+}+function dr() {+ Ln || (nr = !1, rr = !0);+}+function fr(e) {+ if (typeof window > "u" || typeof document > "u") return;+ let t = pn(e), n = fn(e);+ if (tr.get(t)) return;+ let r = t.HTMLElement.prototype.focus;+ Reflect.defineProperty(t.HTMLElement.prototype, "focus", {+ configurable: !0,+ writable: !0,+ value: function() {+ nr = !0, r.apply(this, arguments);+ }+ }), n.addEventListener("keydown", sr, !0), n.addEventListener("keyup", sr, !0), n.addEventListener("click", lr, !0), t.addEventListener("focus", ur, !0), t.addEventListener("blur", dr, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", cr, !0), n.addEventListener("pointermove", cr, !0), n.addEventListener("pointerup", cr, !0)), t.addEventListener("beforeunload", () => {+ pr(e);+ }, { once: !0 }), tr.set(t, { focus: r });+}+var pr = (e, t) => {+ let n = pn(e), r = fn(e);+ t && r.removeEventListener("DOMContentLoaded", t), tr.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+ configurable: !0,+ writable: !0,+ value: tr.get(n).focus+ }), r.removeEventListener("keydown", sr, !0), r.removeEventListener("keyup", sr, !0), r.removeEventListener("click", lr, !0), n.removeEventListener("focus", ur, !0), n.removeEventListener("blur", dr, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", cr, !0), r.removeEventListener("pointermove", cr, !0), r.removeEventListener("pointerup", cr, !0)), tr.delete(n));+};+function mr(e) {+ let t = fn(e), n;+ return t.readyState === "loading" ? (n = () => {+ fr(e);+ }, t.addEventListener("DOMContentLoaded", n)) : fr(e), () => pr(e, n);+}+typeof document < "u" && mr();+function hr() {+ return $n !== "pointer";+}+function gr() {+ return $n;+}+function _r(e) {+ $n = e, ar(e, null);+}+var vr = /* @__PURE__ */ new Set([+ "checkbox",+ "radio",+ "range",+ "color",+ "file",+ "image",+ "button",+ "submit",+ "reset"+]);+function yr(e, t, n) {+ let r = n ? R(n) : void 0, i = fn(r), a = pn(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = bn(i);+ return e = e || u instanceof o && !vr.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !ir[n.key]);+}+function br(e, t, n) {+ fr(), (0, v.useEffect)(() => {+ if (n?.enabled === !1) return;+ let t = (t, r) => {+ yr(!!n?.isTextInput, t, r) && e(hr());+ };+ return er.add(t), () => {+ er.delete(t);+ };+ }, t);+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs+var xr = v.useInsertionEffect ?? At;+function Sr(e) {+ let t = (0, v.useRef)(null);+ return xr(() => {+ t.current = e;+ }, [e]), (0, v.useCallback)((...e) => {+ let n = t.current;+ return n?.(...e);+ }, []);+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useLabels.mjs+function Cr(e, t) {+ let { id: n, "aria-label": r, "aria-labelledby": i } = e;+ return n = Jt(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {+ id: n,+ "aria-label": r,+ "aria-labelledby": i+ };+}+//#endregion+//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs+var wr = typeof document < "u" ? v.useInsertionEffect ?? v.useLayoutEffect : () => {};+function Tr(e, t, n) {+ let [r, i] = (0, v.useState)(e || t), a = (0, v.useRef)(r), o = (0, v.useRef)(e !== void 0), s = e !== void 0;+ (0, v.useEffect)(() => {+ o.current, o.current = s;+ }, [s]);+ let c = s ? e : r;+ wr(() => {+ a.current = c;+ });+ let [, l] = (0, v.useReducer)(() => ({}), {});+ return [c, (0, v.useCallback)((e, ...t) => {+ let r = typeof e == "function" ? e(a.current) : e;+ Object.is(a.current, r) || (a.current = r, i(r), l(), n?.(r, ...t));+ }, [n])];+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Autocomplete.mjs+var Er = /*#__PURE__*/ (0, v.createContext)(null), Dr = /* @__PURE__ */ new Map(), Or = /* @__PURE__ */ new Set();+function kr() {+ if (typeof window > "u") return;+ function e(e) {+ return "propertyName" in e;+ }+ let t = (t) => {+ let r = R(t);+ if (!e(t) || !r) return;+ let i = Dr.get(r);+ i || (i = /* @__PURE__ */ new Set(), Dr.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);+ }, n = (t) => {+ let r = R(t);+ if (!e(t) || !r) return;+ let i = Dr.get(r);+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), Dr.delete(r)), Dr.size === 0)) {+ for (let e of Or) e();+ Or.clear();+ }+ };+ document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);+}+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", kr) : kr());+function Ar() {+ for (let [e] of Dr) "isConnected" in e && !e.isConnected && Dr.delete(e);+}+function jr(e) {+ requestAnimationFrame(() => {+ Ar(), Dr.size === 0 ? e() : Or.add(e);+ });+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs+function Mr(e) {+ if (!e.isConnected) return;+ let t = fn(e);+ if (gr() === "virtual") {+ let n = bn(t);+ jr(() => {+ let r = bn(t);+ (r === n || r === t.body) && e.isConnected && xn(e);+ });+ } else xn(e);+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs+function Nr(e) {+ let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, v.useCallback)((e) => {+ if (R(e) === e.currentTarget) return r && r(e), i && i(!1), !0;+ }, [r, i]), o = In(a), s = (0, v.useCallback)((e) => {+ let t = R(e), r = fn(t), a = r ? bn(r) : bn();+ t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));+ }, [+ i,+ n,+ o+ ]);+ return { focusProps: {+ onFocus: !t && (n || i || r) ? s : void 0,+ onBlur: !t && (r || i) ? a : void 0+ } };+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs+function Pr(e) {+ if (e) return (t) => {+ let n = !0;+ e({+ ...t,+ preventDefault() {+ t.preventDefault();+ },+ isDefaultPrevented() {+ return t.isDefaultPrevented();+ },+ stopPropagation() {+ n = !0;+ },+ continuePropagation() {+ n = !1, typeof t.continuePropagation == "function" && t.continuePropagation();+ },+ isPropagationStopped() {+ return n;+ }+ }), n && !(typeof t.isPropagationStopped == "function" && t.isPropagationStopped()) && t.stopPropagation();+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs+var Fr = /* @__PURE__ */ new Set([+ "shift",+ "alt",+ "control",+ "meta",+ "mod"+]), Ir = [+ "Alt",+ "Control",+ "Meta",+ "Shift"+];+function Lr(e) {+ let t = /* @__PURE__ */ new Set();+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(Hn() ? "Meta" : "Control"), t;+}+function Rr(e) {+ let t = /* @__PURE__ */ new Set();+ return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;+}+function zr(e) {+ return Ir.filter((t) => e.has(t));+}+function Br(e) {+ let t = e.split("+").reduce((e, t) => {+ let n = t.toLowerCase();+ return Fr.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;+ }, {+ shift: !1,+ alt: !1,+ ctrl: !1,+ meta: !1,+ mod: !1,+ key: ""+ });+ if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);+ return t;+}+function Vr(e) {+ return e.toLowerCase();+}+var Hr = {+ space: " ",+ esc: "escape",+ del: "delete",+ ins: "insert",+ left: "arrowleft",+ right: "arrowright",+ up: "arrowup",+ down: "arrowdown",+ pageup: "pageup",+ pagedown: "pagedown"+};+function Ur(e) {+ let t = Vr(e);+ return Hr[t] ?? t;+}+function Wr(e) {+ let t = zr(Lr(e)), n = Ur(e.key);+ return t.length > 0 ? `${t.join("+")}+${n}` : n;+}+function Gr(e) {+ let t = zr(Rr(e)), n = Vr(e.key);+ return (t.length > 0 ? `${t.join("+")}+` : "") + n;+}+function Kr(e) {+ let t = /* @__PURE__ */ new Map();+ for (let [n, r] of Object.entries(e)) {+ let e = Br(n);+ t.set(Wr(e), r);+ }+ return (e) => {+ let n = Gr(e), r = t.get(n), i = r?.(e);+ i === void 0 && r !== void 0 ? i = {+ shouldContinuePropagation: !1,+ shouldPreventDefault: !0+ } : typeof i == "boolean" && (i = {+ shouldContinuePropagation: !i,+ shouldPreventDefault: i+ }), i?.shouldPreventDefault && e.preventDefault(), (!r || i?.shouldContinuePropagation) && e.continuePropagation();+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs+function qr(e) {+ let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;+ if (t) {+ let o = Kr(t), s = Pr((e) => {+ if (!L(e.currentTarget, R(e))) {+ e.continuePropagation();+ return;+ }+ if (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r) {+ e.continuePropagation();+ return;+ }+ o(e);+ }), c = Pr((e) => {+ if (!L(e.currentTarget, R(e))) {+ e.continuePropagation();+ return;+ }+ if (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r) {+ e.continuePropagation();+ return;+ }+ e.continuePropagation();+ });+ i = e.onKeyDown ? kt(e.onKeyDown, s) : s, a = e.onKeyUp ? kt(e.onKeyUp, c) : c;+ } else i = Pr(e.onKeyDown), a = Pr(e.onKeyUp);+ return { keyboardProps: e.isDisabled ? {} : {+ onKeyDown: i,+ onKeyUp: a+ } };+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs+function Jr(e, t) {+ At(() => {+ if (e && e.ref && t) return e.ref.current = t.current, () => {+ e.ref && (e.ref.current = null);+ };+ });+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs+var Yr = /*#__PURE__*/ v.createContext(null);+function Xr(e) {+ let t = (0, v.useContext)(Yr) || {};+ Jr(t, e);+ let { ref: n, ...r } = t;+ return r;+}+function Zr(e, t) {+ let { focusProps: n } = Nr(e), { keyboardProps: r } = qr(e), i = I(n, r), a = Xr(t), o = e.isDisabled ? {} : a, s = (0, v.useRef)(e.autoFocus);+ (0, v.useEffect)(() => {+ s.current && t.current && Mr(t.current), s.current = !1;+ }, [t]);+ let c = e.excludeFromTabOrder ? -1 : 0;+ return e.isDisabled && (c = void 0), { focusableProps: I({+ ...i,+ tabIndex: c+ }, o) };+}+//#endregion+//#region node_modules/react-aria/dist/private/collections/Hidden.mjs+typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.prototype, "firstChild", {+ configurable: !0,+ enumerable: !0,+ get: function() {+ return this.content.firstChild;+ }+}), Object.defineProperty(HTMLTemplateElement.prototype, "appendChild", {+ configurable: !0,+ enumerable: !0,+ value: function(e) {+ return this.content.appendChild(e);+ }+}), Object.defineProperty(HTMLTemplateElement.prototype, "removeChild", {+ configurable: !0,+ enumerable: !0,+ value: function(e) {+ return this.content.removeChild(e);+ }+}), Object.defineProperty(HTMLTemplateElement.prototype, "insertBefore", {+ configurable: !0,+ enumerable: !0,+ value: function(e, t) {+ return this.content.insertBefore(e, t);+ }+}));+var Qr = /*#__PURE__*/ (0, v.createContext)(!1);+function $r(e) {+ let t = (t, n) => (0, v.useContext)(Qr) ? null : e(t, n);+ return t.displayName = e.displayName || e.name, (0, v.forwardRef)(t);+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs+var ei = /* @__PURE__ */ new Set(["id"]), ti = /* @__PURE__ */ new Set([+ "aria-label",+ "aria-labelledby",+ "aria-describedby",+ "aria-details"+]), ni = /* @__PURE__ */ new Set([+ "href",+ "hrefLang",+ "target",+ "rel",+ "download",+ "ping",+ "referrerPolicy"+]), ri = /* @__PURE__ */ new Set([+ "dir",+ "lang",+ "hidden",+ "inert",+ "translate"+]), ii = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), ai = /^(data-.*)$/;+function oi(e, t = {}) {+ let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (ei.has(t) || n && ti.has(t) || r && ni.has(t) || i && ri.has(t) || a && (ii.has(t) || t.endsWith("Capture") && ii.has(t.slice(0, -7))) || o?.has(t) || ai.test(t)) && (s[t] = e[t]);+ return s;+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs+var si = "default", ci = "", li = /* @__PURE__ */ new WeakMap();+function ui(e) {+ if (Gn() && Kn()) {+ if (si === "default") {+ let t = fn(e);+ ci = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ si = "disabled";+ } else if (e instanceof HTMLElement || e instanceof SVGElement) {+ let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ li.set(e, e.style[t]), e.style[t] = "none";+ }+}+function di(e) {+ if (Gn() && Kn()) {+ if (si !== "disabled") return;+ si = "restoring", setTimeout(() => {+ jr(() => {+ if (si === "restoring") {+ let t = fn(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = ci || ""), ci = "", si = "default";+ }+ });+ }, 300);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && li.has(e)) {+ let t = li.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), li.delete(e);+ }+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs+function fi(e, t) {+ let n = pn(t), r = fn(t);+ if (r == null || n == null) return;+ let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);+ return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/getNonce.mjs+var pi = /* @__PURE__ */ new WeakMap();+function mi(e) {+ let t = fn(e), n = pi.get(t);+ return n ??= fi("csp-nonce", t), n !== void 0 && pi.set(t, n), n;+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/context.mjs+var hi = v.createContext({ register: () => {} });+hi.displayName = "PressResponderContext";+//#endregion+//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs+function gi() {+ let e = (0, v.useRef)(/* @__PURE__ */ new Map()), t = (0, v.useCallback)((t, n, r, i) => {+ let a = i?.once ? (...t) => {+ e.current.delete(r), r(...t);+ } : r;+ e.current.set(r, {+ type: n,+ eventTarget: t,+ fn: a,+ options: i+ }), t.addEventListener(n, a, i);+ }, []), n = (0, v.useCallback)((t, n, r, i) => {+ let a = e.current.get(r)?.fn || r;+ t.removeEventListener(n, a, i), e.current.delete(r);+ }, []), r = (0, v.useCallback)(() => {+ e.current.forEach((e, t) => {+ n(e.eventTarget, e.type, t, e.options);+ });+ }, [n]);+ return (0, v.useEffect)(() => r, [r]), {+ addGlobalListener: t,+ removeGlobalListener: n,+ removeAllGlobalListeners: r+ };+}+h();+function _i(e) {+ let t = (0, v.useContext)(hi);+ if (t) {+ let { register: n, ref: r, ...i } = t;+ e = I(i, e), n();+ }+ return Jr(t, e.ref), e;+}+var vi = class {+ #e;+ constructor(e, t, n, r) {+ this.#e = !0;+ let i = (r?.target ?? n.currentTarget)?.getBoundingClientRect(), a, o = 0, s, c = null;+ n.clientX != null && n.clientY != null && (s = n.clientX, c = n.clientY), i && (s != null && c != null ? (a = s - i.left, o = c - i.top) : (a = i.width / 2, o = i.height / 2)), this.type = e, this.pointerType = t, this.target = n.currentTarget, this.shiftKey = n.shiftKey, this.metaKey = n.metaKey, this.ctrlKey = n.ctrlKey, this.altKey = n.altKey, this.x = a, this.y = o, this.key = n.key;+ }+ continuePropagation() {+ this.#e = !1;+ }+ get shouldStopPropagation() {+ return this.#e;+ }+}, yi = Symbol("linkClicked"), bi = "react-aria-pressable-style", xi = "data-react-aria-pressable";+function Si(e) {+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = _i(e), [m, h] = (0, v.useState)(!1), g = (0, v.useRef)({+ isPressed: !1,+ ignoreEmulatedMouseEvents: !1,+ didFirePressStart: !1,+ isTriggeringEvent: !1,+ activePointerId: null,+ target: null,+ isOverTarget: !1,+ pointerType: null,+ disposables: []+ }), { addGlobalListener: _, removeAllGlobalListeners: y } = gi(), b = (0, v.useCallback)((e, t) => {+ let i = g.current;+ if (s || i.didFirePressStart) return !1;+ let a = !0;+ if (i.isTriggeringEvent = !0, r) {+ let n = new vi("pressstart", t, e);+ r(n), a = n.shouldStopPropagation;+ }+ return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;+ }, [+ s,+ r,+ n+ ]), x = (0, v.useCallback)((e, r, a = !0) => {+ let o = g.current;+ if (!o.didFirePressStart) return !1;+ o.didFirePressStart = !1, o.isTriggeringEvent = !0;+ let c = !0;+ if (i) {+ let t = new vi("pressend", r, e);+ i(t), c = t.shouldStopPropagation;+ }+ if (n && n(!1), h(!1), t && a && !s) {+ let n = new vi("press", r, e);+ t(n), c &&= n.shouldStopPropagation;+ }+ return o.isTriggeringEvent = !1, c;+ }, [+ s,+ i,+ n,+ t+ ]), S = Sr(x), ee = Sr((0, v.useCallback)((e, t) => {+ let n = g.current;+ if (s) return !1;+ if (a) {+ n.isTriggeringEvent = !0;+ let r = new vi("pressup", t, e);+ return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;+ }+ return !0;+ }, [s, a])), C = (0, v.useCallback)((e) => {+ let t = g.current;+ if (t.isPressed && t.target) {+ t.didFirePressStart && t.pointerType != null && x(Ti(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, y(), d || di(t.target);+ for (let e of t.disposables) e();+ t.disposables = [];+ }+ }, [+ d,+ y,+ x+ ]), w = Sr(C);+ (0, v.useEffect)(() => {+ s && g.current.isPressed && w({+ currentTarget: g.current.target,+ shiftKey: !1,+ ctrlKey: !1,+ metaKey: !1,+ altKey: !1+ });+ }, [s]);+ let te = (0, v.useCallback)((e) => {+ u && C(e);+ }, [u, C]), T = (0, v.useCallback)((e) => {+ s || o?.(e);+ }, [s, o]), ne = (0, v.useCallback)((e, t) => {+ if (!s && o) {+ let n = new MouseEvent("click", e);+ Fn(n, t), o(Pn(n));+ }+ }, [s, o]), re = (0, v.useMemo)(() => {+ let e = g.current, t = {+ onKeyDown(t) {+ if (wi(t.nativeEvent, t.currentTarget) && L(t.currentTarget, R(t))) {+ Di(R(t), t.key) && t.preventDefault();+ let r = !0;+ !e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = b(t, "keyboard"));+ let i = t.currentTarget;+ _(fn(t.currentTarget), "keyup", kt((t) => {+ wi(t, i) && !t.repeat && L(i, R(t)) && e.target && ee(Ti(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && Hn() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ } else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());+ },+ onClick(t) {+ if (!(t && !L(t.currentTarget, R(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Qn.isOpening) {+ let n = !0;+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Xn(t.nativeEvent))) {+ let e = b(t, "virtual"), r = ee(t, "virtual"), i = S(t, "virtual");+ T(t), n = e && r && i;+ } else if (e.isPressed && e.pointerType !== "keyboard") {+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = ee(Ti(t.currentTarget, t), r), a = S(Ti(t.currentTarget, t), r, !0);+ n = i && a, e.isOverTarget = !1, T(t), w(t);+ }+ e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();+ }+ }+ }, n = (t) => {+ if (e.isPressed && e.target && wi(t, e.target)) {+ Di(R(t), t.key) && t.preventDefault();+ let n = R(t), r = L(e.target, n);+ S(Ti(e.target, t), "keyboard", r), r && ne(t, e.target), y(), t.key !== "Enter" && Ci(e.target) && L(e.target, n) && !t[yi] && (t[yi] = !0, Qn(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ } else if (t.key === "Meta" && e.metaKeyEvents?.size) {+ let t = e.metaKeyEvents;+ e.metaKeyEvents = void 0;+ for (let n of t.values()) e.target?.dispatchEvent(new KeyboardEvent("keyup", n));+ }+ };+ if (typeof PointerEvent < "u") {+ t.onPointerDown = (t) => {+ if (t.button !== 0 || !L(t.currentTarget, R(t))) return;+ if (Zn(t.nativeEvent)) {+ e.pointerType = "virtual";+ return;+ }+ e.pointerType = t.pointerType;+ let i = !0;+ if (!e.isPressed) {+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || ui(e.target), i = b(t, e.pointerType);+ let a = R(t);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(fn(t.currentTarget), "pointerup", n, !1), _(fn(t.currentTarget), "pointercancel", r, !1);+ }+ i && t.stopPropagation();+ }, t.onMouseDown = (t) => {+ if (L(t.currentTarget, R(t)) && t.button === 0) {+ if (l) {+ let n = Rn(t.target);+ n && e.disposables.push(n);+ }+ t.stopPropagation();+ }+ }, t.onPointerUp = (t) => {+ !L(t.currentTarget, R(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && ee(t, e.pointerType || t.pointerType);+ }, t.onPointerEnter = (t) => {+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, b(Ti(e.target, t), e.pointerType));+ }, t.onPointerLeave = (t) => {+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, S(Ti(e.target, t), e.pointerType, !1), te(t));+ };+ let n = (t) => {+ if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {+ if (L(e.target, R(t)) && e.pointerType != null) {+ let n = !1, r = setTimeout(() => {+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (xn(e.target), e.target.click()));+ }, 80);+ _(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));+ } else w(t);+ e.isOverTarget = !1;+ }+ }, r = (e) => {+ w(e);+ };+ t.onDragStart = (e) => {+ L(e.currentTarget, R(e)) && w(e);+ };+ }+ return t;+ }, [+ _,+ s,+ l,+ y,+ d,+ te,+ b,+ T,+ ne+ ]);+ return (0, v.useEffect)(() => {+ if (!f) return;+ let e = fn(f.current);+ if (!e || !e.head || e.getElementById(bi)) return;+ let t = e.createElement("style");+ t.id = bi;+ let n = mi(e);+ n && (t.nonce = n), t.textContent = `+@layer {+ [${xi}] {+ touch-action: pan-x pan-y pinch-zoom;+ }+}+ `.trim(), e.head.prepend(t);+ }, [f]), (0, v.useEffect)(() => {+ let e = g.current;+ return () => {+ d || di(e.target ?? void 0);+ for (let t of e.disposables) t();+ e.disposables = [];+ };+ }, [d]), {+ isPressed: c || m,+ pressProps: I(p, re, { [xi]: !0 })+ };+}+function Ci(e) {+ return e.tagName === "A" && e.hasAttribute("href");+}+function wi(e, t) {+ let { key: n, code: r } = e, i = t, a = i.getAttribute("role");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof pn(i).HTMLInputElement && !ki(i, n) || i instanceof pn(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Ci(i)) && n !== "Enter");+}+function Ti(e, t) {+ let n = t.clientX, r = t.clientY;+ return {+ currentTarget: e,+ shiftKey: t.shiftKey,+ ctrlKey: t.ctrlKey,+ metaKey: t.metaKey,+ altKey: t.altKey,+ clientX: n,+ clientY: r,+ key: t.key+ };+}+function Ei(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Ci(e);+}+function Di(e, t) {+ return Hn() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !ki(e, t) : Ei(e);+}+var Oi = /* @__PURE__ */ new Set([+ "checkbox",+ "radio",+ "range",+ "color",+ "file",+ "image",+ "button",+ "submit",+ "reset"+]);+function ki(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Oi.has(e.type);+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs+function Ai(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, v.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = gi(), c = (0, v.useCallback)((e) => {+ L(e.currentTarget, R(e)) && a.current.isFocusWithin && !L(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+ }, [+ n,+ i,+ a,+ s+ ]), l = In(c), u = (0, v.useCallback)((e) => {+ if (!L(e.currentTarget, R(e))) return;+ let t = R(e), n = fn(t), s = bn(n);+ if (!a.current.isFocusWithin && s === t) {+ r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);+ let t = e.currentTarget;+ o(n, "focus", (e) => {+ let r = R(e);+ if (a.current.isFocusWithin && !L(t, r)) {+ let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });+ Fn(e, t);+ let i = Pn(e);+ c(i);+ }+ }, { capture: !0 });+ }+ }, [+ r,+ i,+ l,+ o,+ c+ ]);+ return t ? { focusWithinProps: {+ onFocus: void 0,+ onBlur: void 0+ } } : { focusWithinProps: {+ onFocus: u,+ onBlur: c+ } };+}+//#endregion+//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs+function ji(e = {}) {+ let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, v.useRef)({+ isFocused: !1,+ isFocusVisible: t || hr()+ }), [a, o] = (0, v.useState)(!1), [s, c] = (0, v.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, v.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, v.useCallback)((e) => {+ i.current.isFocused = e, i.current.isFocusVisible = hr(), o(e), l();+ }, [l]);+ br((e) => {+ i.current.isFocusVisible = e, l();+ }, [n, a], {+ enabled: a,+ isTextInput: n+ });+ let { focusProps: d } = Nr({+ isDisabled: r,+ onFocusChange: u+ }), { focusWithinProps: f } = Ai({+ isDisabled: !r,+ onFocusWithinChange: u+ });+ return {+ isFocused: a,+ isFocusVisible: s,+ focusProps: r ? f : d+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/interactions/useHover.mjs+var Mi = !1, Ni = 0;+function Pi() {+ Mi = !0, setTimeout(() => {+ Mi = !1;+ }, 500);+}+function Fi(e) {+ e.pointerType === "touch" && Pi();+}+function Ii() {+ let e = fn(null);+ if (e !== void 0) return Ni === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", Fi), Ni++, () => {+ Ni--, !(Ni > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", Fi);+ };+}+function Li(e) {+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, v.useState)(!1), s = (0, v.useRef)({+ isHovered: !1,+ ignoreEmulatedMouseEvents: !1,+ pointerType: "",+ target: null+ }).current;+ (0, v.useEffect)(Ii, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = gi(), { hoverProps: u, triggerHoverEnd: d } = (0, v.useMemo)(() => {+ let e = (e, r) => {+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !L(e.currentTarget, R(e))) return;+ s.isHovered = !0;+ let l = e.currentTarget;+ s.target = l, c(fn(R(e)), "pointerover", (e) => {+ s.isHovered && s.target && !L(s.target, R(e)) && a(e, e.pointerType);+ }, { capture: !0 }), t && t({+ type: "hoverstart",+ target: l,+ pointerType: r+ }), n && n(!0), o(!0);+ }, a = (e, t) => {+ let i = s.target;+ s.pointerType = "", s.target = null, !(t === "touch" || !s.isHovered || !i) && (s.isHovered = !1, l(), r && r({+ type: "hoverend",+ target: i,+ pointerType: t+ }), n && n(!1), o(!1));+ }, u = {};+ return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {+ Mi && t.pointerType === "mouse" || e(t, t.pointerType);+ }, u.onPointerLeave = (e) => {+ !i && L(e.currentTarget, R(e)) && a(e, e.pointerType);+ }), {+ hoverProps: u,+ triggerHoverEnd: a+ };+ }, [+ t,+ n,+ r,+ i,+ s,+ c,+ l+ ]);+ return (0, v.useEffect)(() => {+ i && d({ currentTarget: s.target }, s.pointerType);+ }, [i]), {+ hoverProps: u,+ isHovered: a+ };+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Label.mjs+var Ri = /*#__PURE__*/ (0, v.createContext)({}), zi = /*#__PURE__*/ $r(function(e, t) {+ [e, t] = on(e, t, Ri);+ let { elementType: n = "label", ...r } = e, i = dn[n];+ return /*#__PURE__*/ v.createElement(i, {+ className: "react-aria-Label",+ ...r,+ ref: t+ });+});+//#endregion+//#region node_modules/react-aria/dist/private/label/useLabel.mjs+function Bi(e) {+ let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;+ t = Jt(t);+ let o = Jt(), s = {};+ n && (r = r ? `${o} ${r}` : o, s = {+ id: o,+ htmlFor: a === "label" ? t : void 0+ });+ let c = Cr({+ id: t,+ "aria-label": i,+ "aria-labelledby": r+ });+ return {+ labelProps: s,+ fieldProps: c+ };+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Text.mjs+var Vi = /*#__PURE__*/ (0, v.createContext)({}), Hi = /*#__PURE__*/ $r(function(e, t) {+ [e, t] = on(e, t, Vi);+ let { elementType: n = "span", ...r } = e, i = dn[n];+ return /*#__PURE__*/ v.createElement(i, {+ className: "react-aria-Text",+ ...r,+ ref: t+ });+}), Ui = {+ border: 0,+ clip: "rect(0 0 0 0)",+ clipPath: "inset(50%)",+ height: "1px",+ margin: "-1px",+ overflow: "hidden",+ padding: 0,+ position: "absolute",+ width: "1px",+ whiteSpace: "nowrap"+};+function Wi(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, v.useState)(!1), { focusWithinProps: a } = Ai({+ isDisabled: !n,+ onFocusWithinChange: (e) => i(e)+ }), o = (0, v.useMemo)(() => r ? t : t ? {+ ...Ui,+ ...t+ } : Ui, [r]);+ return { visuallyHiddenProps: {+ ...a,+ style: o+ } };+}+function Gi(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Wi(e);+ return /*#__PURE__*/ v.createElement(n, I(a, o), t);+}+//#endregion+//#region node_modules/react-aria-components/dist/private/FieldError.mjs+var Ki = /*#__PURE__*/ (0, v.createContext)(null), qi = {+ badInput: !1,+ customError: !1,+ patternMismatch: !1,+ rangeOverflow: !1,+ rangeUnderflow: !1,+ stepMismatch: !1,+ tooLong: !1,+ tooShort: !1,+ typeMismatch: !1,+ valueMissing: !1,+ valid: !0+}, Ji = {+ ...qi,+ customError: !0,+ valid: !1+}, Yi = {+ isInvalid: !1,+ validationDetails: qi,+ validationErrors: []+}, Xi = (0, v.createContext)({}), Zi = "__reactAriaFormValidationState";+function Qi(e) {+ if (e.__reactAriaFormValidationState) {+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[Zi];+ return {+ realtimeValidation: t,+ displayValidation: n,+ updateValidation: r,+ resetValidation: i,+ commitValidation: a+ };+ }+ return $i(e);+}+function $i(e) {+ let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;+ n && (t ||= n === "invalid");+ let c = t === void 0 ? null : {+ isInvalid: t,+ validationErrors: [],+ validationDetails: Ji+ }, l = (0, v.useMemo)(() => !o || i == null ? null : na(ta(o, i)), [o, i]);+ a?.validationDetails.valid && (a = void 0);+ let u = (0, v.useContext)(Xi), d = (0, v.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => ea(u[e])) : ea(u[r]) : [], [u, r]), [f, p] = (0, v.useState)(u), [m, h] = (0, v.useState)(!1);+ u !== f && (p(u), h(!1));+ let g = (0, v.useMemo)(() => na(m ? [] : d), [m, d]), _ = (0, v.useRef)(Yi), [y, b] = (0, v.useState)(Yi), x = (0, v.useRef)(Yi), S = () => {+ if (!ee) return;+ C(!1);+ let e = l || a || _.current;+ ra(e, x.current) || (x.current = e, b(e));+ }, [ee, C] = (0, v.useState)(!1);+ return (0, v.useEffect)(S), {+ realtimeValidation: c || g || l || a || Yi,+ displayValidation: s === "native" ? c || g || y : c || g || l || a || y,+ updateValidation(e) {+ s === "aria" && !ra(y, e) ? b(e) : _.current = e;+ },+ resetValidation() {+ let e = Yi;+ ra(e, x.current) || (x.current = e, b(e)), s === "native" && C(!1), h(!0);+ },+ commitValidation() {+ s === "native" && C(!0), h(!0);+ }+ };+}+function ea(e) {+ return e ? Array.isArray(e) ? e : [e] : [];+}+function ta(e, t) {+ if (typeof e == "function") {+ let n = e(t);+ if (n && typeof n != "boolean") return ea(n);+ }+ return [];+}+function na(e) {+ return e.length ? {+ isInvalid: !0,+ validationErrors: e,+ validationDetails: Ji+ } : null;+}+function ra(e, t) {+ return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Form.mjs+var ia = /*#__PURE__*/ (0, v.createContext)(null), z = /* @__PURE__ */ new WeakMap();+//#endregion+//#region node_modules/react-aria/dist/private/label/useField.mjs+function B(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Bi(e), s = F([+ !!t,+ !!n,+ r,+ i+ ]), c = F([+ !!t,+ !!n,+ r,+ i+ ]);+ return o = I(o, { "aria-describedby": [+ s,+ c,+ e["aria-describedby"]+ ].filter(Boolean).join(" ") || void 0 }), {+ labelProps: a,+ fieldProps: o,+ descriptionProps: { id: s },+ errorMessageProps: { id: c }+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs+function aa(e, t, n) {+ let r = Sr((e) => {+ n && !e.defaultPrevented && n(t);+ });+ (0, v.useEffect)(() => {+ let t = e?.current?.form;+ return t?.addEventListener("reset", r), () => {+ t?.removeEventListener("reset", r);+ };+ }, [e]);+}+//#endregion+//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs+function oa(e, t, n) {+ let { validationBehavior: r, focus: i } = e;+ At(() => {+ if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {+ let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(ca(n.current));+ }+ });+ let a = (0, v.useRef)(!1), o = Sr(() => {+ a.current || t.resetValidation();+ }), s = Sr((e) => {+ t.displayValidation.isInvalid || t.commitValidation();+ let r = n?.current?.form;+ !e.defaultPrevented && n && r && la(r) === n.current && (i ? i() : n.current?.focus(), _r("keyboard")), e.preventDefault();+ }), c = Sr(() => {+ t.commitValidation();+ });+ (0, v.useEffect)(() => {+ let e = n?.current;+ if (!e) return;+ let t = e.form, r = t?.reset;+ return t && (t.reset = () => {+ a.current = !window.event || window.event.type === "message" && R(window.event) instanceof MessagePort, r?.call(t), a.current = !1;+ }), e.addEventListener("invalid", s), e.addEventListener("change", c), t?.addEventListener("reset", o), () => {+ e.removeEventListener("invalid", s), e.removeEventListener("change", c), t?.removeEventListener("reset", o), t && (t.reset = r);+ };+ }, [n, r]);+}+function sa(e) {+ let t = e.validity;+ return {+ badInput: t.badInput,+ customError: t.customError,+ patternMismatch: t.patternMismatch,+ rangeOverflow: t.rangeOverflow,+ rangeUnderflow: t.rangeUnderflow,+ stepMismatch: t.stepMismatch,+ tooLong: t.tooLong,+ tooShort: t.tooShort,+ typeMismatch: t.typeMismatch,+ valueMissing: t.valueMissing,+ valid: t.valid+ };+}+function ca(e) {+ return {+ isInvalid: !e.validity.valid,+ validationDetails: sa(e),+ validationErrors: e.validationMessage ? [e.validationMessage] : []+ };+}+function la(e) {+ for (let t = 0; t < e.elements.length; t++) {+ let n = e.elements[t];+ if (n.validity?.valid === !1) return n;+ }+ return null;+}+//#endregion+//#region node_modules/react-aria/dist/private/utils/useSlot.mjs+function ua(e = !0) {+ let [t, n] = (0, v.useState)(e), r = (0, v.useRef)(!1), i = (0, v.useCallback)((e) => {+ r.current = !0, n(!!e);+ }, []);+ return At(() => {+ r.current || n(!1);+ }, []), [i, t];+}+function da(e = !0) {+ let t = Jt(), [n, r] = ua(e);+ return {+ id: r ? t : void 0,+ ref: n+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs+function fa(e, t, n) {+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: y, onClick: b } = e, x = Qi({+ ...e,+ value: t.isSelected+ }), { isInvalid: S, validationErrors: ee, validationDetails: C } = x.displayValidation;+ oa(e, x, n);+ let w = (e) => {+ e.stopPropagation(), t.setSelected(R(e).checked);+ }, { pressProps: te, isPressed: T } = Si({+ onPressStart: m,+ onPressEnd: h,+ onPressChange: g,+ onPress: _,+ onPressUp: y,+ onClick: b,+ isDisabled: r+ }), [ne, re] = (0, v.useState)(!1), { pressProps: ie } = Si({+ onPressStart(e) {+ if (e.pointerType === "keyboard" || e.pointerType === "virtual") {+ e.continuePropagation();+ return;+ }+ m?.(e), g?.(!0), re(!0);+ },+ onPressEnd(e) {+ if (e.pointerType === "keyboard" || e.pointerType === "virtual") {+ e.continuePropagation();+ return;+ }+ h?.(e), g?.(!1), re(!1);+ },+ onPressUp(e) {+ if (e.pointerType === "keyboard" || e.pointerType === "virtual") {+ e.continuePropagation();+ return;+ }+ y?.(e);+ },+ onClick: b,+ onPress(r) {+ if (r.pointerType === "keyboard" || r.pointerType === "virtual") {+ r.continuePropagation();+ return;+ }+ _?.(r), t.toggle(), n.current?.focus();+ let { [Zi]: i } = e, { commitValidation: a } = i || x;+ a();+ },+ isDisabled: r || i+ }), { focusableProps: ae } = Zr(e, n), oe = I(te, ae), se = oi(e, { labelable: !0 });+ aa(n, t.defaultSelected, t.setSelected);+ let ce = da(), le = da();+ return {+ labelProps: I(ie, { onClick: (e) => e.preventDefault() }),+ inputProps: I(se, {+ checked: t.isSelected,+ "aria-required": l && u === "aria" || void 0,+ required: l && u === "native",+ "aria-invalid": S || e.validationState === "invalid" || void 0,+ "aria-errormessage": e["aria-errormessage"],+ "aria-controls": e["aria-controls"],+ "aria-readonly": i || void 0,+ "aria-describedby": [+ ce.id,+ le.id,+ p+ ].filter(Boolean).join(" ") || void 0,+ onChange: w,+ disabled: r,+ ...a == null ? {} : { value: a },+ name: o,+ form: s,+ type: "checkbox",+ ...oe+ }),+ descriptionProps: ce,+ errorMessageProps: le,+ isSelected: t.isSelected,+ isPressed: T || ne,+ isDisabled: r,+ isReadOnly: i,+ isInvalid: S || e.validationState === "invalid",+ validationErrors: ee,+ validationDetails: C+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs+function pa(e, t, n) {+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = fa(e, t, n), { isIndeterminate: m } = e;+ return (0, v.useEffect)(() => {+ n.current && (n.current.indeterminate = !!m);+ }), {+ labelProps: I(r, (0, v.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),+ inputProps: i,+ descriptionProps: a,+ errorMessageProps: o,+ isSelected: s,+ isPressed: c,+ isDisabled: l,+ isReadOnly: u,+ isInvalid: d,+ validationErrors: f,+ validationDetails: p+ };+}+//#endregion+//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs+function ma(e = {}) {+ let { isReadOnly: t } = e, [n, r] = Tr(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, v.useState)(n);+ function a(e) {+ t || r(e);+ }+ function o() {+ t || r(!n);+ }+ return {+ isSelected: n,+ defaultSelected: e.defaultSelected ?? i,+ setSelected: a,+ toggle: o+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs+function ha(e, t, n) {+ let r = ma({+ isReadOnly: e.isReadOnly || t.isReadOnly,+ isSelected: t.isSelected(e.value),+ defaultSelected: t.defaultValue.includes(e.value),+ onChange(n) {+ n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);+ }+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = z.get(t);+ c = e.validationBehavior ?? c;+ let { realtimeValidation: l } = Qi({+ ...e,+ value: r.isSelected,+ name: void 0,+ validationBehavior: "aria"+ }), u = (0, v.useRef)(Yi), d = () => {+ t.setInvalid(e.value, l.isInvalid ? l : u.current);+ };+ (0, v.useEffect)(d);+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = pa({+ ...e,+ isReadOnly: e.isReadOnly || t.isReadOnly,+ isDisabled: e.isDisabled || t.isDisabled,+ name: e.name || i,+ form: e.form || a,+ isRequired: e.isRequired ?? t.isRequired,+ validationBehavior: c,+ [Zi]: {+ realtimeValidation: f,+ displayValidation: p,+ resetValidation: t.resetValidation,+ commitValidation: t.commitValidation,+ updateValidation(e) {+ u.current = e, d();+ }+ }+ }, r, n);+ return {+ ...m,+ inputProps: {+ ...m.inputProps,+ "aria-describedby": [+ m.inputProps["aria-describedby"],+ t.isInvalid ? s : null,+ o+ ].filter(Boolean).join(" ") || void 0+ }+ };+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Checkbox.mjs+var ga = /*#__PURE__*/ (0, v.createContext)(null), _a = /*#__PURE__*/ (0, v.createContext)(null), va = /*#__PURE__*/ (0, v.createContext)(null);+function ya(e, t) {+ let { validationBehavior: n } = an(ia) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, v.useContext)(_a), a = en((0, v.useMemo)(() => Xt(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...cn(e),+ children: typeof e.children == "function" || e.children,+ value: e.value,+ validationBehavior: r+ };+ return [i ? ha(o, i, a) : pa(o, ma(e), a), a];+}+var ba = /*#__PURE__*/ (0, v.forwardRef)(function(e, t) {+ let { inputRef: n = null, ...r } = e;+ [e, t] = on(r, t, ga);+ let [i, a] = ya(e, n);+ return /*#__PURE__*/ v.createElement(va.Provider, { value: {+ ...i,+ inputRef: a,+ defaultClassName: "react-aria-Checkbox",+ isIndeterminate: e.isIndeterminate,+ isRequired: e.isRequired+ } }, /*#__PURE__*/ v.createElement(xa, {+ ...e,+ ref: t+ }));+}), xa = /*#__PURE__*/ (0, v.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, v.useContext)(va), { isFocused: p, isFocusVisible: m, focusProps: h } = ji(), g = a || o, { hoverProps: _, isHovered: y } = Li({+ ...e,+ isDisabled: g+ }), b = rn({+ ...e,+ defaultClassName: u,+ values: {+ isSelected: i,+ isIndeterminate: d || !1,+ isPressed: s,+ isHovered: y,+ isFocused: p,+ isFocusVisible: m,+ isDisabled: a,+ isReadOnly: o,+ isInvalid: c,+ isRequired: f || !1+ }+ }), x = oi(e, { global: !0 });+ return delete x.id, delete x.onClick, /*#__PURE__*/ v.createElement(dn.label, {+ ...I(x, n, _, b),+ ref: t,+ slot: e.slot || void 0,+ "data-selected": i || void 0,+ "data-indeterminate": d || void 0,+ "data-pressed": s || void 0,+ "data-hovered": y || void 0,+ "data-focused": p || void 0,+ "data-focus-visible": m || void 0,+ "data-disabled": a || void 0,+ "data-readonly": o || void 0,+ "data-invalid": c || void 0,+ "data-required": f || void 0+ }, /*#__PURE__*/ v.createElement(Gi, { elementType: "span" }, /*#__PURE__*/ v.createElement("input", {+ ...I(r, h),+ ref: l+ })), b.children);+}), Sa = /*#__PURE__*/ (0, v.createContext)({}), Ca = /*#__PURE__*/ (0, v.forwardRef)(function(e, t) {+ [e, t] = on(e, t, Sa);+ let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;+ n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";+ let { hoverProps: l, isHovered: u } = Li({+ onHoverStart: a,+ onHoverChange: o,+ onHoverEnd: s,+ isDisabled: n+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = ji({ within: !0 }), m = rn({+ ...e,+ values: {+ isHovered: u,+ isFocusWithin: d,+ isFocusVisible: f,+ isDisabled: n,+ isInvalid: r+ },+ defaultClassName: "react-aria-Group"+ });+ return /*#__PURE__*/ v.createElement(dn.div, {+ ...I(c, p, l),+ ...m,+ ref: t,+ role: e.role ?? "group",+ slot: e.slot ?? void 0,+ "data-focus-within": d || void 0,+ "data-hovered": u || void 0,+ "data-focus-visible": f || void 0,+ "data-disabled": n || void 0,+ "data-invalid": r || void 0,+ "data-readonly": i || void 0+ }, m.children);+}), wa = /*#__PURE__*/ (0, v.createContext)({}), Ta = (e) => {+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;+ return i;+}, Ea = /*#__PURE__*/ $r(function(e, t) {+ [e, t] = on(e, t, wa);+ let { hoverProps: n, isHovered: r } = Li({+ ...e,+ isDisabled: e.disabled+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = ji({+ isTextInput: !0,+ autoFocus: e.autoFocus+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = rn({+ ...e,+ values: {+ isHovered: r,+ isFocused: i,+ isFocusVisible: a,+ isDisabled: e.disabled || !1,+ isInvalid: s+ },+ defaultClassName: "react-aria-Input"+ });+ return /*#__PURE__*/ v.createElement(dn.input, {+ ...I(Ta(e), o, n),+ ...c,+ ref: t,+ "data-focused": i || void 0,+ "data-disabled": e.disabled || void 0,+ "data-hovered": r || void 0,+ "data-focus-visible": a || void 0,+ "data-invalid": s || void 0+ });+});+//#endregion+//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs+function Da(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Tr(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Zr(e, t), d = Qi({+ ...e,+ value: c+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: y } = B({+ ...e,+ isInvalid: f,+ errorMessage: e.errorMessage || p+ }), b = oi(e, { labelable: !0 }), x = {+ type: o,+ pattern: e.pattern+ }, [S] = (0, v.useState)(c);+ return aa(t, e.defaultValue ?? S, l), oa(e, d, t), {+ labelProps: h,+ inputProps: I(b, n === "input" ? x : void 0, {+ disabled: r,+ readOnly: a,+ required: i && s === "native",+ "aria-required": i && s === "aria" || void 0,+ "aria-invalid": f || void 0,+ "aria-errormessage": e["aria-errormessage"],+ "aria-activedescendant": e["aria-activedescendant"],+ "aria-autocomplete": e["aria-autocomplete"],+ "aria-haspopup": e["aria-haspopup"],+ "aria-controls": e["aria-controls"],+ value: c,+ onChange: (e) => l(R(e).value),+ autoComplete: e.autoComplete,+ autoCapitalize: e.autoCapitalize,+ maxLength: e.maxLength,+ minLength: e.minLength,+ name: e.name,+ form: e.form,+ placeholder: e.placeholder,+ inputMode: e.inputMode,+ autoCorrect: e.autoCorrect,+ spellCheck: e.spellCheck,+ enterKeyHint: e.enterKeyHint,+ onCopy: e.onCopy,+ onCut: e.onCut,+ onPaste: e.onPaste,+ onCompositionEnd: e.onCompositionEnd,+ onCompositionStart: e.onCompositionStart,+ onCompositionUpdate: e.onCompositionUpdate,+ onSelect: e.onSelect,+ onBeforeInput: e.onBeforeInput,+ onInput: e.onInput,+ ...u,+ ...g+ }),+ descriptionProps: _,+ errorMessageProps: y,+ isInvalid: f,+ validationErrors: p,+ validationDetails: m+ };+}+//#endregion+//#region node_modules/react-aria-components/dist/private/TextArea.mjs+var Oa = /*#__PURE__*/ (0, v.createContext)({}), ka = /*#__PURE__*/ (0, v.createContext)(null), Aa = /*#__PURE__*/ $r(function(e, t) {+ [e, t] = on(e, t, ka);+ let { validationBehavior: n } = an(ia) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, v.useRef)(null);+ [e, i] = on(e, i, Er);+ let [a, o] = sn(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, v.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Da({+ ...cn(e),+ inputElementType: s,+ label: o,+ validationBehavior: r+ }, i), m = (0, v.useCallback)((e) => {+ i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");+ }, [i]), h = rn({+ ...e,+ values: {+ isDisabled: e.isDisabled || !1,+ isInvalid: p.isInvalid,+ isReadOnly: e.isReadOnly || !1,+ isRequired: e.isRequired || !1+ },+ defaultClassName: "react-aria-TextField"+ }), g = oi(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ v.createElement(dn.div, {+ ...g,+ ...h,+ ref: t,+ slot: e.slot || void 0,+ "data-disabled": e.isDisabled || void 0,+ "data-invalid": p.isInvalid || void 0,+ "data-readonly": e.isReadOnly || void 0,+ "data-required": e.isRequired || void 0+ }, /*#__PURE__*/ v.createElement(nn, { values: [+ [Ri, {+ ...l,+ ref: a+ }],+ [wa, {+ ...u,+ ref: m+ }],+ [Oa, {+ ...u,+ ref: m+ }],+ [Sa, {+ role: "presentation",+ isInvalid: p.isInvalid,+ isDisabled: e.isDisabled || !1+ }],+ [Vi, { slots: {+ description: d,+ errorMessage: f+ } }],+ [Ki, p]+ ] }, h.children));+}), ja = {+ md: {+ box: "size-4",+ glyph: "size-4",+ label: "text-body-medium",+ gap: "gap-2"+ },+ sm: {+ box: "size-3.5",+ glyph: "size-3.5",+ label: "text-body-2-medium",+ gap: "gap-1.5"+ }+};+function Ma({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = ja[t], c = n || r, l = o && !a;+ return /* @__PURE__ */ (0, P.jsx)("span", {+ "aria-hidden": !0,+ className: St("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? St("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : St("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),+ children: /* @__PURE__ */ (0, P.jsx)("svg", {+ viewBox: "0 0 16 16",+ fill: "none",+ className: s.glyph,+ children: r ? /* @__PURE__ */ (0, P.jsx)("path", {+ d: "M4.5 8H8H11.5",+ stroke: "white",+ strokeWidth: "2",+ strokeLinecap: "round"+ }) : n ? /* @__PURE__ */ (0, P.jsx)("path", {+ d: "M4 7.7002L6.64645 10.3466C6.84171 10.5419 7.15829 10.5419 7.35355 10.3466L12 5.7002",+ stroke: "white",+ strokeWidth: "2",+ strokeLinecap: "round",+ strokeLinejoin: "round",+ pathLength: 1,+ className: "animate-check-draw"+ }) : null+ })+ });+}+//#endregion+//#region src/react/boardui/components/base/checkbox/checkbox.tsx+function Na({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = ja[n];+ return /* @__PURE__ */ (0, P.jsx)(ba, {+ ref: r,+ ...i,+ className: (t) => St("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(Ma, {+ state: e,+ size: n+ }), t != null && /* @__PURE__ */ (0, P.jsx)("span", {+ className: St(a.label, "text-text-primary"),+ children: t+ })] })+ });+}+//#endregion+//#region node_modules/@remixicon/react/index.mjs+var Pa = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => v.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, v.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" }));+//#endregion+//#region src/react/boardui/components/base/input/label.tsx+function Fa({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, P.jsxs)(zi, {+ "data-label": "true",+ ...a,+ className: St("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ children: [+ i,+ e && /* @__PURE__ */ (0, P.jsx)("span", {+ "aria-hidden": "true",+ className: "text-body-medium text-text-error-primary",+ children: "*"+ }),+ n && /* @__PURE__ */ (0, P.jsx)(Pa, {+ className: "size-4 shrink-0 text-foreground-icon-quaternary",+ "aria-hidden": !0+ })+ ]+ });+}+//#endregion+//#region src/react/boardui/components/base/input/hint-text.tsx+function Ia({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, P.jsx)(Hi, {+ slot: e ? "errorMessage" : "description",+ ...n,+ className: St("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ });+}+//#endregion+//#region src/react/boardui/components/base/input/input.tsx+var La = (0, v.createContext)({});+function Ra({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, P.jsx)(La.Provider, {+ value: {+ size: e,+ fieldClassName: t,+ inputClassName: n+ },+ children: /* @__PURE__ */ (0, P.jsx)(Aa, {+ ...a,+ "data-input-size": e,+ className: St("group flex h-max w-full flex-col items-start gap-1", r),+ children: i+ })+ });+}+Ra.displayName = "TextField";+var za = Ct({+ field: [+ "relative flex w-full items-center",+ "rounded-2lg",+ "bg-background-tertiary-default text-foreground-icon-tertiary",+ "ring-2 ring-inset ring-transparent",+ "transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease"+ ].join(" "),+ fieldSize: {+ medium: "p-2",+ small: "h-8 px-1.5 py-2"+ },+ fieldWithAddonSize: {+ medium: "h-9 pl-1 pr-2 py-2",+ small: "h-8 pl-1 pr-1.5 py-2"+ },+ content: "flex w-full items-center gap-2 min-w-0",+ leftSection: "flex flex-1 items-center gap-0.5 min-w-0",+ input: [+ "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0",+ "font-sans text-body-regular text-text-primary pl-1",+ "placeholder:text-text-tertiary",+ "focus:placeholder:text-text-primary",+ "disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text",+ "disabled:cursor-not-allowed",+ "aria-invalid:placeholder:text-text-error-placeholder"+ ].join(" "),+ icon: "size-5 shrink-0"+});+function Ba({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, v.useContext)(La), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, P.jsx)(Ca, {+ ref: s,+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => St(za.field, d ? za.fieldWithAddonSize[u] : za.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),+ children: /* @__PURE__ */ (0, P.jsxs)("div", {+ className: za.content,+ children: [/* @__PURE__ */ (0, P.jsxs)("div", {+ className: za.leftSection,+ children: [d ? r : t ? /* @__PURE__ */ (0, P.jsx)(t, {+ className: za.icon,+ "aria-hidden": !0+ }) : null, /* @__PURE__ */ (0, P.jsx)(Ea, {+ ref: o,+ ...c,+ className: St(za.input, l.inputClassName, a)+ })]+ }), n ? /* @__PURE__ */ (0, P.jsx)(n, {+ className: za.icon,+ "aria-hidden": !0+ }) : null]+ })+ });+}+Ba.displayName = "InputBase";+function Va({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, P.jsx)(Ra, {+ ...d,+ className: u,+ "aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),+ children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [+ e && /* @__PURE__ */ (0, P.jsx)(Fa, {+ isRequired: u,+ isInvalid: d,+ tooltip: n,+ children: e+ }),+ /* @__PURE__ */ (0, P.jsx)(Ba, {+ ref: c,+ groupRef: l,+ placeholder: r,+ leadingIcon: i,+ trailingIcon: a,+ leadingAddon: o,+ fieldClassName: s+ }),+ t && /* @__PURE__ */ (0, P.jsx)(Ia, {+ isInvalid: d,+ children: t+ })+ ] })+ });+}+Va.displayName = "Input";+//#endregion+//#region src/api.ts+var Ha = class extends Error {+ status;+ body;+ constructor(t, n, r = null) {+ super(e(t, n)), this.name = "ApiError", this.status = n, this.body = r;+ }+}, Ua = (e) => {+ if (!e || typeof e != "object") return "";+ let t = e;+ for (let e of [+ "message",+ "detail",+ "error"+ ]) {+ let n = t[e];+ if (typeof n == "string" && n) return n;+ }+ return "";+}, Wa = (t) => e(t);+async function Ga(e, t, n = "POST", r) {+ let i = await fetch(e, {+ method: n,+ ...r ? { signal: r } : {},+ headers: {+ Accept: "application/json",+ "Content-Type": "application/json"+ },+ credentials: "same-origin",+ body: JSON.stringify(t)+ }), a = null;+ try {+ a = await i.json();+ } catch {}+ if (!i.ok) throw new Ha(Ua(a) || `请求失败(${i.status})`, i.status, a);+ return a;+}+//#endregion+//#region src/react/settings/access-settings.tsx+var Ka = {+ legacy: "当前使用系统生成的访问口令。你可以设置自己的密码,或关闭登录要求。",+ locked: "访问设置无法读取,请在本机检查配置文件。",+ password: "已设置密码。新设备需要登录,保持登录时间在登录页选择。"+};+function qa({ label: e, children: t }) {+ return /* @__PURE__ */ (0, P.jsxs)("div", {+ role: "note",+ className: "flex flex-col gap-0.5 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text",+ children: [/* @__PURE__ */ (0, P.jsx)("p", {+ className: "text-body-medium",+ children: e+ }), /* @__PURE__ */ (0, P.jsx)("p", {+ className: "text-body-2-regular",+ children: t+ })]+ });+}+function Ja({ initial: e, receipt: t }) {+ let [n, r] = (0, v.useState)(e), [i, a] = (0, v.useState)(""), [o, s] = (0, v.useState)(""), [c, l] = (0, v.useState)(""), [u, d] = (0, v.useState)(!1), [f, p] = (0, v.useState)({}), [m, h] = (0, v.useState)(""), [g, _] = (0, v.useState)(!1), y = (0, v.useRef)(null), b = (0, v.useRef)(null);+ (0, v.useEffect)(() => () => b.current?.abort(), []);+ let x = async (e) => {+ if (e.preventDefault(), b.current) return;+ h("");+ let f = {};+ if (n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length) {+ requestAnimationFrame(() => y.current?.querySelector("input[aria-invalid=\"true\"]")?.focus());+ return;+ }+ let m = new AbortController();+ b.current = m, _(!0);+ try {+ let e = await Ga("/api/configuration/access", {+ revision: n.revision,+ action: u ? "disable" : "set",+ confirm_disable: u,+ current_password: i,+ password: u ? "" : o,+ confirmation: u ? "" : c+ }, "POST", m.signal);+ if (m.signal.aborted) return;+ r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存访问密码");+ } catch (e) {+ if (m.signal.aborted) return;+ let t = e instanceof Ha ? e.body : null, n = t?.errors || t?.detail?.errors;+ n ? p(n) : h(Wa(e));+ } finally {+ b.current === m && (b.current = null), m.signal.aborted || _(!1);+ }+ }, S = Ka[n.mode], ee = n.mode !== "locked";+ return /* @__PURE__ */ (0, P.jsxs)("form", {+ ref: y,+ "aria-label": "访问密码",+ noValidate: !0,+ onSubmit: x,+ className: "flex w-full flex-col gap-2",+ children: [/* @__PURE__ */ (0, P.jsx)(Et, { children: "访问密码" }), /* @__PURE__ */ (0, P.jsxs)(Tt, {+ className: "gap-4 py-4 pr-3",+ children: [+ S ? /* @__PURE__ */ (0, P.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: S+ }) : null,+ n.mode === "open" ? /* @__PURE__ */ (0, P.jsx)(qa, {+ label: "未设置访问密码",+ children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"+ }) : null,+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, P.jsx)(Na, {+ isSelected: u,+ onChange: d,+ children: "关闭访问密码,允许能连接到 Peach 的设备直接访问"+ }) : null,+ n.mode === "password" ? /* @__PURE__ */ (0, P.jsx)(Va, {+ id: "access-current",+ type: "password",+ label: "当前访问密码",+ autoComplete: "current-password",+ maxLength: 256,+ value: i,+ onChange: a,+ isRequired: !0,+ validationBehavior: "aria",+ isInvalid: !!f.current_password,+ hint: f.current_password+ }) : null,+ ee ? /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(Va, {+ id: "access-password",+ type: "password",+ label: n.mode === "password" ? "新访问密码" : "设置访问密码",+ autoComplete: "new-password",+ maxLength: 256,+ value: o,+ onChange: s,+ isDisabled: u,+ isRequired: !u,+ validationBehavior: "aria",+ isInvalid: !u && !!f.password,+ hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"+ }), /* @__PURE__ */ (0, P.jsx)(Va, {+ id: "access-confirm",+ type: "password",+ label: "确认访问密码",+ autoComplete: "new-password",+ maxLength: 256,+ value: c,+ onChange: l,+ isDisabled: u,+ isRequired: !u,+ validationBehavior: "aria",+ isInvalid: !u && !!f.confirmation,+ hint: u ? void 0 : f.confirmation+ })] }) : null,+ u ? /* @__PURE__ */ (0, P.jsx)(qa, {+ label: "访问范围",+ children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"+ }) : null,+ m ? /* @__PURE__ */ (0, P.jsx)("p", {+ role: "alert",+ className: "text-body-2-regular text-text-error-primary",+ children: m+ }) : null,+ ee ? /* @__PURE__ */ (0, P.jsxs)("div", {+ className: "flex items-center justify-between gap-4 border-t border-separator-border pt-3",+ children: [/* @__PURE__ */ (0, P.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: "保存后立即生效。"+ }), /* @__PURE__ */ (0, P.jsx)(Ot, {+ type: "submit",+ "aria-busy": g || void 0,+ "aria-disabled": g || void 0,+ children: "保存配置"+ })]+ }) : null+ ]+ })]+ });+}+//#endregion+//#region src/react/entry.tsx+function Ya(e) {+ return (t, n) => {+ let r = (0, y.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, P.jsx)(e, { ...t }));+ return i(n), {+ update: i,+ unmount: () => r.unmount()+ };+ };+}+var Xa = Ya(Ja);+//#endregion+export { Xa as mountAccessSettings };diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.jsindex 33c7a81f8..a19e1a24b 100644--- a/web/dist/peach-ui.js+++ b/web/dist/peach-ui.js@@ -1,7 +1,7 @@import { LOC as e, esc as t, fmtDur as n, fmtSize as r, icon as i, requestErrorMessage as a, siteMarkUrl as o } from "/js/core.js";import { MEDIA_SOURCE_ICONS as s, attachOverlayScrollbar as c, checkboxHtml as l, collectionSummaryHtml as u, confirmModal as d, emptyStateHtml as f, fieldsetTitle as p, loadingDotsHtml as m, moveGlidePane as h, noteHtml as g, progressHtml as _, projectBannerHtml as v, selectFieldHtml as y, selectOptionIconHtml as b, setActionBusy as x, wireAnchoredMenu as S, wireCollapse as C, wireSelectField as w } from "/js/ui-components.js";//#region node_modules/preact/dist/preact.module.js-var T, E, D, O, k, A, j, ee, te, M, N, ne, P, re, ie, ae = {}, oe = [], se = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, ce = Array.isArray;+var T, E, D, O, k, A, j, ee, M, te, N, ne, P, re, ie, ae = {}, oe = [], se = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, ce = Array.isArray;function F(e, t) {for (var n in t) e[n] = t[n];return e;@@ -121,8 +121,8 @@ function we(e) {return function(t) {if (this.l) {var n = this.l[t.type + e];- if (t[M] == null) t[M] = P++;- else if (t[M] < n[N]) return;+ if (t[te] == null) t[te] = P++;+ else if (t[te] < n[N]) return;return n(E.event ? E.event(t) : t);}};@@ -250,7 +250,7 @@ T = oe.slice, E = { __e: function(e, t, n, r) {this.__v && (this.__e = !0, e && this.__h.push(e), ge(this));}, fe.prototype.render = I, k = [], j = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ee = function(e, t) {return e.__v.__b - t.__v.__b;-}, _e.__r = 0, te = Math.random().toString(8), M = "__d" + te, N = "__a" + te, ne = /(PointerCapture)$|Capture$/i, P = 0, re = we(!1), ie = we(!0);+}, _e.__r = 0, M = Math.random().toString(8), te = "__d" + M, N = "__a" + M, ne = /(PointerCapture)$|Capture$/i, P = 0, re = we(!1), ie = we(!0);//#endregion//#region src/sort-preferences.tsfunction Pe(e, t, n) {@@ -1951,131 +1951,36 @@ function Rn({ id: e, titleId: t, title: n, help: r, error: i, children: a, foote});}//#endregion-//#region src/islands/access-settings.tsx-function zn({ id: e, label: t, value: n, onInput: r, error: i, help: a, current: o = !1, disabled: s = !1 }) {- return /* @__PURE__ */ q("div", {- class: "configfield",- children: [- /* @__PURE__ */ q("label", {- for: e,- children: t- }),- /* @__PURE__ */ q("input", {- id: e,- class: "geist-input",- type: "password",- autoComplete: o ? "current-password" : "new-password",- maxLength: 256,- value: n,- onInput: (e) => r(e.currentTarget.value),- required: !s,- disabled: s,- "aria-invalid": !!i,- "aria-describedby": i || a ? `${e}-hint` : void 0- }),- i || a ? /* @__PURE__ */ q("p", {- id: `${e}-hint`,- class: i ? "configbad" : "confighelp",- role: i ? "alert" : void 0,- children: i || a- }) : null- ]- });-}-function Bn({ initial: e, receipt: t }) {- let [n, r] = B(e), [i, a] = B(""), [o, s] = B(""), [c, l] = B(""), [u, d] = B(!1), [f, p] = B({}), m = U(null), h = U(null), { run: _, error: v, setError: y, busy: b } = Ln(h);- return /* @__PURE__ */ q(Rn, {- titleId: "accessTitle",- title: "访问密码",- warning: u,- onSubmit: async (e) => {- if (e.preventDefault(), b.current) return;- y("");- let f = {};- if (n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length) {- requestAnimationFrame(() => m.current?.querySelector("[aria-invalid=\"true\"]")?.focus());- return;- }- await _((e) => K("/api/configuration/access", {- revision: n.revision,- action: u ? "disable" : "set",- confirm_disable: u,- current_password: i,- password: u ? "" : o,- confirmation: u ? "" : c- }, "POST", e), (e) => {- r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存访问密码");- }, (e) => {- let t = e instanceof dt ? e.body : null, n = t?.errors || t?.detail?.errors;- n ? p(n) : y(W(e));- });- },- noValidate: !0,- formRef: m,- error: v,- help: n.mode === "legacy" ? "当前使用系统生成的访问口令。你可以设置自己的密码,或关闭登录要求。" : n.mode === "locked" ? "访问设置无法读取,请在本机检查配置文件。" : n.mode === "password" ? "已设置密码。新设备需要登录,保持登录时间在登录页选择。" : void 0,- footer: n.mode !== "locked" && /* @__PURE__ */ q(I, { children: [/* @__PURE__ */ q("p", { children: "保存后立即生效。" }), /* @__PURE__ */ q("button", {- class: "geist-button primary",- type: "submit",- ref: h,- children: "保存配置"- })] }),- children: [- n.mode === "open" ? /* @__PURE__ */ q("div", { dangerouslySetInnerHTML: { __html: g("能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。", {- variant: "warning",- label: "未设置访问密码"- }) } }) : null,- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ q("label", {- class: "configcheck",- children: [/* @__PURE__ */ q("span", {- class: "pcheck",- children: [/* @__PURE__ */ q("input", {- type: "checkbox",- checked: u,- onChange: (e) => d(e.currentTarget.checked)- }), /* @__PURE__ */ q("span", {- "aria-hidden": "true",- children: /* @__PURE__ */ q("svg", {- viewBox: "0 0 24 24",- children: /* @__PURE__ */ q("use", { href: "#i-check" })- })- })]- }), /* @__PURE__ */ q("span", { children: "关闭访问密码,允许能连接到 Peach 的设备直接访问" })]- }) : null,- n.mode === "password" ? /* @__PURE__ */ q(zn, {- id: "access-current",- label: "当前访问密码",- value: i,- onInput: a,- error: f.current_password,- current: !0- }) : null,- n.mode === "locked" ? null : /* @__PURE__ */ q(I, { children: [/* @__PURE__ */ q(zn, {- id: "access-password",- label: n.mode === "password" ? "新访问密码" : "设置访问密码",- value: o,- onInput: s,- disabled: u,- error: u ? void 0 : f.password,- help: u ? "关闭访问密码时无需填写。" : "至少 8 个字符。保存后其他设备需要重新登录。"- }), /* @__PURE__ */ q(zn, {- id: "access-confirm",- label: "确认访问密码",- value: c,- onInput: l,- disabled: u,- error: u ? void 0 : f.confirmation- })] }),- u && /* @__PURE__ */ q("div", { dangerouslySetInnerHTML: { __html: g("保存后,能连接到 Peach 的设备将直接访问馆藏。", {- variant: "warning",- label: "访问范围"- }) } })- ]+//#region src/react-slot.tsx+function zn({ mount: e, props: t }) {+ let n = U(null), r = U(null), i = U(t);+ i.current = t;+ let [a, o] = B("");+ return V(() => {+ let t = !1;+ return import("/dist/peach-react.js").then((a) => {+ if (t || !n.current) return;+ let o = a[e];+ r.current = o(n.current, i.current);+ }, (e) => {+ t || o(e instanceof Error ? e.message : String(e));+ }), () => {+ t = !0, r.current?.unmount(), r.current = null;+ };+ }, [e]), V(() => {+ r.current?.update(t);+ }), a ? /* @__PURE__ */ q("p", {+ class: "configbad",+ role: "alert",+ children: ["界面组件没有加载:", a]+ }) : /* @__PURE__ */ q("div", {+ ref: n,+ class: "peach-react"});}//#endregion//#region src/islands/release-updates.tsx-var Vn = /* @__PURE__ */ new Set([+var Bn = /* @__PURE__ */ new Set(["downloading","verifying","extracting",@@ -2083,13 +1988,13 @@ var Vn = /* @__PURE__ */ new Set(["restarting","installing"]);-function Hn({ initial: e, initialJob: t }) {+function Vn({ initial: e, initialJob: t }) {let [n, r] = B(e), [i, a] = B(t || {state: "idle",progress: 0}), [o, s] = B(""), c = U(null), l = U(!0), u = U(!1), f = U(null);V(() => {- x(f.current, Vn.has(i.state));+ x(f.current, Bn.has(i.state));}, [i.state]), V(() => () => {l.current = !1, c.current?.abort();}, []);@@ -2122,14 +2027,14 @@ function Hn({ initial: e, initialJob: t }) {} catch {++n >= 120 && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");}- !e.signal.aborted && n < 120 && (t = setTimeout(o, Vn.has(i.state) ? 1e3 : 3e4));+ !e.signal.aborted && n < 120 && (t = setTimeout(o, Bn.has(i.state) ? 1e3 : 3e4));};- return t = setTimeout(o, Vn.has(i.state) ? 1e3 : 3e4), () => {+ return t = setTimeout(o, Bn.has(i.state) ? 1e3 : 3e4), () => {e.abort(), clearTimeout(t);};}, [i.state]);let h = async (e) => {- if (c.current || Vn.has(i.state)) return;+ if (c.current || Bn.has(i.state)) return;let t = new AbortController();c.current = t, u.current = !1, s(""), x(e, !0);try {@@ -2260,7 +2165,7 @@ function Hn({ initial: e, initialJob: t }) {/* @__PURE__ */ q("button", {type: "button",class: "geist-button",- disabled: Vn.has(i.state),+ disabled: Bn.has(i.state),onClick: (e) => v(e.currentTarget),children: "检查更新"})@@ -2270,7 +2175,7 @@ function Hn({ initial: e, initialJob: t }) {}//#endregion//#region src/islands/automatic-updates.tsx-function Un({ initial: e, receipt: t }) {+function Hn({ initial: e, receipt: t }) {let [n, r] = B(e.mode), [i, a] = B(e.interval_hours), o = U(null), s = Ln(o, e.error), c = () => s.run((e) => K("/api/configuration/automatic-updates", {mode: n,interval_hours: i@@ -2336,7 +2241,7 @@ function Un({ initial: e, receipt: t }) {}//#endregion//#region src/islands/peach-proxy.tsx-function Wn({ initial: e, receipt: t }) {+function Un({ initial: e, receipt: t }) {let [n, r] = B(e), [i, a] = B(e.mode), [o, s] = B(""), c = U(null), l = Ln(c), u = () => l.run((e) => K("/api/configuration/peach-proxy", {mode: i,proxy: o@@ -2394,7 +2299,7 @@ function Wn({ initial: e, receipt: t }) {}//#endregion//#region src/islands/desktop-settings.tsx-function Gn({ label: e, checked: t, disabled: n, change: r }) {+function Wn({ label: e, checked: t, disabled: n, change: r }) {return /* @__PURE__ */ q("label", {class: "configcheck",children: [/* @__PURE__ */ q("span", {@@ -2414,7 +2319,7 @@ function Gn({ label: e, checked: t, disabled: n, change: r }) {}), /* @__PURE__ */ q("span", { children: e })]});}-function Kn({ label: e, checked: t, disabled: n, change: r }) {+function Gn({ label: e, checked: t, disabled: n, change: r }) {return /* @__PURE__ */ q("label", {class: "configtoggle",children: [/* @__PURE__ */ q("span", { children: e }), /* @__PURE__ */ q("input", {@@ -2427,7 +2332,7 @@ function Kn({ label: e, checked: t, disabled: n, change: r }) {})]});}-function qn({ startup: e, receipt: t }) {+function Kn({ startup: e, receipt: t }) {let [n, r] = B(e.enabled), [i, a] = B(e.silent), [o, s] = B(e.desktop), [c, l] = B(""), u = U(!1), d = U(null), f = e.available && !e.desktop_message;async function m() {if (!u.current) {@@ -2460,7 +2365,7 @@ function qn({ startup: e, receipt: t }) {role: "group","aria-labelledby": "startupTitle",children: [- /* @__PURE__ */ q(Kn, {+ /* @__PURE__ */ q(Gn, {label: "开机后启动 Peach",checked: n,disabled: !e.available,@@ -2468,7 +2373,7 @@ function qn({ startup: e, receipt: t }) {}),/* @__PURE__ */ q("div", {class: "configoption",- children: [/* @__PURE__ */ q(Kn, {+ children: [/* @__PURE__ */ q(Gn, {label: "静默启动",checked: i,disabled: !e.available || !n,@@ -2480,7 +2385,7 @@ function qn({ startup: e, receipt: t }) {}),/* @__PURE__ */ q("div", {class: "configoption",- children: [/* @__PURE__ */ q(Kn, {+ children: [/* @__PURE__ */ q(Gn, {label: "在桌面创建快捷方式",checked: o,disabled: !f,@@ -2515,7 +2420,7 @@ function qn({ startup: e, receipt: t }) {})]});}-function Jn({ data: e }) {+function qn({ data: e }) {let t = U(null);return H(() => {let n = t.current, r = document.createElement("details");@@ -2529,7 +2434,7 @@ function Jn({ data: e }) {return n.replaceChildren(r), C(n, "details", "uninstall-data"), () => n.replaceChildren();}, [e]), /* @__PURE__ */ q("div", { ref: t });}-function Yn({ uninstall: e }) {+function Jn({ uninstall: e }) {let [t, n] = B(!1), [r, i] = B("");async function a() {await d({@@ -2562,13 +2467,13 @@ function Yn({ uninstall: e }) {children: "卸载会退出 Peach、移除程序、开机自启和桌面图标。原始媒体文件保留。"})]}),- /* @__PURE__ */ q(Gn, {+ /* @__PURE__ */ q(Wn, {label: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存",checked: t,disabled: !e.full_available || !!r,change: n}),- /* @__PURE__ */ q(Jn, { data: e })+ /* @__PURE__ */ q(qn, { data: e })]}), /* @__PURE__ */ q("footer", {class: "geist-fieldset-footer",@@ -2588,7 +2493,7 @@ function Yn({ uninstall: e }) {}//#endregion//#region src/islands/clouddrive-guide.tsx-var Xn = [+var Yn = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -2608,7 +2513,7 @@ var Xn = [task: "2 个起步"}];-function Zn() {+function Xn() {let e = U(null);return H(() => {e.current && C(e.current, "details", "clouddrive-guide");@@ -2660,7 +2565,7 @@ function Zn() {scope: "col",children: "同时处理视频"})- ] }) }), /* @__PURE__ */ q("tbody", { children: Xn.map((e) => /* @__PURE__ */ q("tr", { children: [+ ] }) }), /* @__PURE__ */ q("tbody", { children: Yn.map((e) => /* @__PURE__ */ q("tr", { children: [/* @__PURE__ */ q("th", {scope: "row",children: e.name@@ -2712,7 +2617,7 @@ function Zn() {}//#endregion//#region src/library-icon-picker.tsx-var Qn = [+var Zn = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -2756,12 +2661,12 @@ var Qn = [["star", "收藏"],["tags", "主题"]];-function $n(e) {+function Qn(e) {let t = e === "local" ? "" : s[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-function er({ value: e, label: t, kind: n = "local", onChange: r }) {- let [i, a] = B(e), o = U(null), s = U(null), [c, l] = $n(n), u = (e) => /* @__PURE__ */ q("span", {+function $n({ value: e, label: t, kind: n = "local", onChange: r }) {+ let [i, a] = B(e), o = U(null), s = U(null), [c, l] = Qn(n), u = (e) => /* @__PURE__ */ q("span", {"aria-hidden": "true",dangerouslySetInnerHTML: { __html: b(e || c) }}), d = (e, t) => e ? t : l;@@ -2780,7 +2685,7 @@ function er({ value: e, label: t, kind: n = "local", onChange: r }) {let r = t.getBoundingClientRect();t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`, t.style.top = `${n.bottom + r.height + 8 <= innerHeight ? n.bottom + 4 : Math.max(8, n.top - r.height - 4)}px`;},- children: [u(e), /* @__PURE__ */ q("span", { children: d(e, Qn.find(([t]) => t === e)?.[1] || l) })]+ children: [u(e), /* @__PURE__ */ q("span", { children: d(e, Zn.find(([t]) => t === e)?.[1] || l) })]}), /* @__PURE__ */ q("dialog", {ref: o,class: "board-icon-popover",@@ -2795,7 +2700,7 @@ function er({ value: e, label: t, kind: n = "local", onChange: r }) {role: "radiogroup","aria-label": "候选图标",class: "board-icon-grid",- children: Qn.map(([e, n]) => /* @__PURE__ */ q("label", {+ children: Zn.map(([e, n]) => /* @__PURE__ */ q("label", {title: d(e, n),class: i === e ? "selected" : "",children: [/* @__PURE__ */ q("input", {@@ -2829,18 +2734,18 @@ function er({ value: e, label: t, kind: n = "local", onChange: r }) {}//#endregion//#region src/islands/configuration.tsx-var tr = "/api/configuration", nr = "/api/pick-folder", rr = 8e3, ir = (e, t) => G(tr, t), ar = ({ html: e, class: t }) => /* @__PURE__ */ q("div", {+var er = "/api/configuration", tr = "/api/pick-folder", nr = 8e3, rr = (e, t) => G(er, t), ir = ({ html: e, class: t }) => /* @__PURE__ */ q("div", {class: t,dangerouslySetInnerHTML: { __html: e }-}), or = (e) => !(e instanceof dt) || e.status !== 400 ? null : e.body?.errors ?? null;-function sr({ facts: e }) {+}), ar = (e) => !(e instanceof dt) || e.status !== 400 ? null : e.body?.errors ?? null;+function or({ facts: e }) {return /* @__PURE__ */ q("section", {class: "configfieldset","data-geist-fieldset": !0,"aria-labelledby": "configFactsTitle",children: /* @__PURE__ */ q("div", {class: "geist-fieldset-content",- children: [/* @__PURE__ */ q(ar, { html: p("configFactsTitle", "运行信息") }), /* @__PURE__ */ q("dl", {+ children: [/* @__PURE__ */ q(ir, { html: p("configFactsTitle", "运行信息") }), /* @__PURE__ */ q("dl", {class: "configfacts",children: e.map((e) => /* @__PURE__ */ q(I, { children: [/* @__PURE__ */ q("dt", { children: e.term }), /* @__PURE__ */ q("dd", { children: [e.value, e.download_url ? /* @__PURE__ */ q("span", {class: "confighelp",@@ -2861,7 +2766,7 @@ function sr({ facts: e }) {})});}-function cr({ data: e }) {+function sr({ data: e }) {let [t, n] = B(e.media_sources), [r, i] = B(""), a = U(null);V(() => () => a.current?.abort(), []);let o = async (e) => {@@ -2869,7 +2774,7 @@ function cr({ data: e }) {let t = new AbortController();a.current = t, x(e, !0), i("");try {- let e = await G(tr, t.signal);+ let e = await G(er, t.signal);t.signal.aborted || n(e.media_sources);} catch (e) {t.signal.aborted || i(W(e));@@ -2883,7 +2788,7 @@ function cr({ data: e }) {children: [/* @__PURE__ */ q("div", {class: "geist-fieldset-content",children: [- /* @__PURE__ */ q(ar, { html: p("configMountsTitle", "挂载状态") }),+ /* @__PURE__ */ q(ir, { html: p("configMountsTitle", "挂载状态") }),/* @__PURE__ */ q("dl", {class: "configfacts",children: t.map((e) => /* @__PURE__ */ q(I, { children: [/* @__PURE__ */ q("dt", { children: [/* @__PURE__ */ q("span", {@@ -2920,7 +2825,7 @@ function cr({ data: e }) {})]}) : null;}-function lr({ value: e, label: t, onChange: n }) {+function cr({ value: e, label: t, onChange: n }) {return /* @__PURE__ */ q(In, {value: e,label: t,@@ -2937,20 +2842,20 @@ function lr({ value: e, label: t, onChange: n }) {])});}-function ur({ data: e, receipt: t }) {+function lr({ data: e, receipt: t }) {let n = e.media_sources?.filter((e) => ["local","115","pikpak"- ].includes(e.location)), [r, i] = B(n?.length ? n.map((e) => e.path) : e.media_dirs.length ? e.media_dirs : [""]), [a, o] = B(n?.map((e) => e.location) ?? []), [s, c] = B(n?.map((e) => e.root) ?? []), [l, u] = B(n?.map((e) => e.library || "") ?? []), [d, f] = B(n?.map((e) => e.library_icon || "") ?? []), [m, h] = B(String(e.port)), [_, v] = B(!1), [y, b] = B([]), [S, C] = B(""), [w, T] = B(""), [E, D] = B(null), [O, k] = B(null), A = U(!1), j = U(e.revision), ee = U([]), te = U(null);+ ].includes(e.location)), [r, i] = B(n?.length ? n.map((e) => e.path) : e.media_dirs.length ? e.media_dirs : [""]), [a, o] = B(n?.map((e) => e.location) ?? []), [s, c] = B(n?.map((e) => e.root) ?? []), [l, u] = B(n?.map((e) => e.library || "") ?? []), [d, f] = B(n?.map((e) => e.library_icon || "") ?? []), [m, h] = B(String(e.port)), [_, v] = B(!1), [y, b] = B([]), [S, C] = B(""), [w, T] = B(""), [E, D] = B(null), [O, k] = B(null), A = U(!1), j = U(e.revision), ee = U([]), M = U(null);H(() => {O !== null && (ee.current[O]?.focus(), k(null));}, [O]), V(() => {if (!E) return;- let e = setTimeout(() => location.assign(E.url), rr);+ let e = setTimeout(() => location.assign(E.url), nr);return () => clearTimeout(e);}, [E]);- let M = (e, t) => {+ let te = (e, t) => {i((n) => n.map((n, r) => r === e ? t : n));}, N = () => {k(r.length), i((e) => [...e, ""]);@@ -2966,8 +2871,8 @@ function ur({ data: e, receipt: t }) {if (t.getAttribute("aria-busy") !== "true") {x(t, !0);try {- let { path: t } = await K(nr, { initial: r[e] ?? "" });- t && (M(e, t), P(e, ""));+ let { path: t } = await K(tr, { initial: r[e] ?? "" });+ t && (te(e, t), P(e, ""));} catch (t) {P(e, W(t));} finally {@@ -3000,9 +2905,9 @@ function ur({ data: e, receipt: t }) {"aria-labelledby": "configTitle",onSubmit: async (n) => {if (n.preventDefault(), !A.current) {- A.current = !0, x(te.current, !0), T("");+ A.current = !0, x(M.current, !0), T("");try {- let n = await K(tr, {+ let n = await K(er, {revision: j.current,media_dirs: r,...e.media_sources ? { media_sources: r.map((e, t) => ({@@ -3017,10 +2922,10 @@ function ur({ data: e, receipt: t }) {});j.current = n.revision, b([]), C(""), t("已保存配置"), D(n);} catch (e) {- let t = or(e);+ let t = ar(e);t ? (b(t.media_dirs ?? []), C(t.port ?? "")) : (b([]), C(""), T(W(e)));} finally {- A.current = !1, x(te.current, !1);+ A.current = !1, x(M.current, !1);}}},@@ -3028,7 +2933,7 @@ function ur({ data: e, receipt: t }) {children: [/* @__PURE__ */ q("div", {class: "geist-fieldset-content",children: [- /* @__PURE__ */ q(ar, { html: p("configTitle", "这台电脑") }),+ /* @__PURE__ */ q(ir, { html: p("configTitle", "这台电脑") }),/* @__PURE__ */ q("div", {class: "configfield",children: [@@ -3054,7 +2959,7 @@ function ur({ data: e, receipt: t }) {value: t,"aria-label": `媒体文件夹 ${n + 1}`,"aria-invalid": y[n] ? "true" : void 0,- onInput: (e) => M(n, e.currentTarget.value),+ onInput: (e) => te(n, e.currentTarget.value),ref: (e) => {ee.current[n] = e;}@@ -3097,7 +3002,7 @@ function ur({ data: e, receipt: t }) {})] }),/* @__PURE__ */ q("div", {class: "configsourcelabel",- children: ["媒体库图标", /* @__PURE__ */ q(er, {+ children: ["媒体库图标", /* @__PURE__ */ q($n, {label: `媒体库图标 ${n + 1}`,value: d[n] || "",kind: a[n] || "local",@@ -3109,7 +3014,7 @@ function ur({ data: e, receipt: t }) {}),/* @__PURE__ */ q("div", {class: "configsourcelabel",- children: ["媒体来源", /* @__PURE__ */ q(lr, {+ children: ["媒体来源", /* @__PURE__ */ q(cr, {label: `媒体来源 ${n + 1}`,value: a[n] || "local",onChange: (e) => {@@ -3144,7 +3049,7 @@ function ur({ data: e, receipt: t }) {onClick: N,children: "添加文件夹"}),- a.some((e) => e === "115" || e === "pikpak") ? /* @__PURE__ */ q(Zn, {}) : null,+ a.some((e) => e === "115" || e === "pikpak") ? /* @__PURE__ */ q(Xn, {}) : null,a.some((e) => e === "115" || e === "pikpak") ? e.mount_dependencies?.filter((e) => !e.available).map((e) => /* @__PURE__ */ q("p", {class: "confighelp",children: [@@ -3219,7 +3124,7 @@ function ur({ data: e, receipt: t }) {})]}), /* @__PURE__ */ q("span", { children: "保存后扫描并补全资料" })]}),- w ? /* @__PURE__ */ q(ar, { html: g(w, {+ w ? /* @__PURE__ */ q(ir, { html: g(w, {variant: "error",label: "没有保存"}) }) : null@@ -3230,14 +3135,14 @@ function ur({ data: e, receipt: t }) {children: [/* @__PURE__ */ q("p", { children: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。" }), /* @__PURE__ */ q("button", {type: "submit",class: "geist-button primary",- ref: te,+ ref: M,children: "保存配置"})]})]});}-function dr({ receipt: e, data: t, error: n }) {- return n || !t ? /* @__PURE__ */ q(ar, {+function ur({ receipt: e, data: t, error: n }) {+ return n || !t ? /* @__PURE__ */ q(ir, {class: "configpage",html: g(n || "没有读到配置", {variant: "error",@@ -3250,7 +3155,7 @@ function dr({ receipt: e, data: t, error: n }) {class: "configgroup",children: "通用"}) : null,- t.startup ? /* @__PURE__ */ q(qn, {+ t.startup ? /* @__PURE__ */ q(Kn, {startup: t.startup,receipt: e}) : null,@@ -3258,62 +3163,65 @@ function dr({ receipt: e, data: t, error: n }) {class: "configgroup",children: "媒体"}),- t.editable ? /* @__PURE__ */ q(ur, {+ t.editable ? /* @__PURE__ */ q(lr, {data: t,receipt: e- }) : /* @__PURE__ */ q(ar, { html: g(t.notice, {+ }) : /* @__PURE__ */ q(ir, { html: g(t.notice, {variant: "secondary",label: "只读"}) }),- /* @__PURE__ */ q(cr, { data: t }),+ /* @__PURE__ */ q(sr, { data: t }),t.peach_proxy || t.access ? /* @__PURE__ */ q("h2", {class: "configgroup",children: "网络与访问"}) : null,- t.peach_proxy ? /* @__PURE__ */ q(Wn, {+ t.peach_proxy ? /* @__PURE__ */ q(Un, {initial: t.peach_proxy,receipt: e}) : null,- t.access ? /* @__PURE__ */ q(Bn, {- initial: t.access,- receipt: e+ t.access ? /* @__PURE__ */ q(zn, {+ mount: "mountAccessSettings",+ props: {+ initial: t.access,+ receipt: e+ }}) : null,/* @__PURE__ */ q("h2", {class: "configgroup",children: "更新与维护"}),- t.automatic_updates ? /* @__PURE__ */ q(Un, {+ t.automatic_updates ? /* @__PURE__ */ q(Hn, {initial: t.automatic_updates,receipt: e}) : null,- t.updates ? /* @__PURE__ */ q(Hn, {+ t.updates ? /* @__PURE__ */ q(Vn, {initial: t.updates,initialJob: t.update_job}) : null,- /* @__PURE__ */ q(sr, { facts: t.facts }),- t.uninstall ? /* @__PURE__ */ q(Yn, { uninstall: t.uninstall }) : null+ /* @__PURE__ */ q(or, { facts: t.facts }),+ t.uninstall ? /* @__PURE__ */ q(Jn, { uninstall: t.uninstall }) : null]});}//#endregion//#region node_modules/@preact/signals-core/dist/signals-core.module.js-var fr = Symbol.for("preact-signals");-function pr() {+var dr = Symbol.for("preact-signals");+function fr() {if (X > 1) X--;else {var e, t = !1;for ((function() {- var e = xr;- for (xr = void 0; e !== void 0;) {+ var e = br;+ for (br = void 0; e !== void 0;) {var t = e.S;if (t.v === e.v) for (var n = t.t; n !== void 0; n = n.x) n.i === e.i && (n.i = t.i);e = e.o;}- })(); _r !== void 0;) {- var n = _r;- for (_r = void 0, vr++; n !== void 0;) {+ })(); gr !== void 0;) {+ var n = gr;+ for (gr = void 0, _r++; n !== void 0;) {var r = n.u;- if (n.u = void 0, n.f &= -3, !(8 & n.f) && Tr(n)) try {+ if (n.u = void 0, n.f &= -3, !(8 & n.f) && wr(n)) try {n.c();} catch (n) {t ||= (e = n, !0);@@ -3321,30 +3229,30 @@ function pr() {n = r;}}- if (vr = 0, X--, t) throw e;+ if (_r = 0, X--, t) throw e;}}-function mr(e) {+function pr(e) {if (X > 0) return e();- br = ++yr, X++;+ yr = ++vr, X++;try {return e();} finally {- pr();+ fr();}}-var hr, Y = void 0;-function gr(e) {- var t = Y, n = hr;- Y = void 0, hr = void 0;+var mr, Y = void 0;+function hr(e) {+ var t = Y, n = mr;+ Y = void 0, mr = void 0;try {return e();} finally {- Y = t, hr = n;+ Y = t, mr = n;}}-var _r = void 0, X = 0, vr = 0, yr = 0, br = 0, xr = void 0, Sr = 0;-function Cr(e) {+var gr = void 0, X = 0, _r = 0, vr = 0, yr = 0, br = void 0, xr = 0;+function Sr(e) {if (Y !== void 0) {var t = e.n;if (t === void 0 || t.t !== Y) return t = {@@ -3363,11 +3271,11 @@ function Cr(e) {function Z(e, t) {this.v = e, this.i = 0, this.n = void 0, this.t = void 0, this.l = 0, this.W = t?.watched, this.Z = t?.unwatched, this.name = t?.name;}-Z.prototype.brand = fr, Z.prototype.h = function() {+Z.prototype.brand = dr, Z.prototype.h = function() {return !0;}, Z.prototype.S = function(e) {var t = this, n = this.t;- n !== e && e.e === void 0 && (e.x = n, this.t = e, n === void 0 ? gr(function() {+ n !== e && e.e === void 0 && (e.x = n, this.t = e, n === void 0 ? hr(function() {var e;(e = t.W) == null || e.call(t);}) : n.e = e);@@ -3375,16 +3283,16 @@ Z.prototype.brand = fr, Z.prototype.h = function() {var t = this;if (this.t !== void 0) {var n = e.e, r = e.x;- n !== void 0 && (n.x = r, e.e = void 0), r !== void 0 && (r.e = n, e.x = void 0), e === this.t && (this.t = r, r === void 0 && gr(function() {+ n !== void 0 && (n.x = r, e.e = void 0), r !== void 0 && (r.e = n, e.x = void 0), e === this.t && (this.t = r, r === void 0 && hr(function() {var e;(e = t.Z) == null || e.call(t);}));}}, Z.prototype.subscribe = function(e) {var t = this;- return Pr(function() {+ return Nr(function() {var n = t.value;- gr(function() {+ hr(function() {return e(n);});}, { name: "sub" });@@ -3396,41 +3304,41 @@ Z.prototype.brand = fr, Z.prototype.h = function() {return this.value;}, Z.prototype.peek = function() {var e = this;- return gr(function() {+ return hr(function() {return e.value;});}, Object.defineProperty(Z.prototype, "value", {get: function() {- var e = Cr(this);+ var e = Sr(this);return e !== void 0 && (e.i = this.i), this.v;},set: function(e) {if (e !== this.v) {- if (vr > 100) throw Error("Cycle detected");+ if (_r > 100) throw Error("Cycle detected");(function(e) {- X !== 0 && vr === 0 && e.l !== br && (e.l = br, xr = {+ X !== 0 && _r === 0 && e.l !== yr && (e.l = yr, br = {S: e,v: e.v,i: e.i,- o: xr+ o: br});- })(this), this.v = e, this.i++, Sr++, X++;+ })(this), this.v = e, this.i++, xr++, X++;try {for (var t = this.t; t !== void 0; t = t.x) t.t.N();} finally {- pr();+ fr();}}}});-function wr(e, t) {+function Cr(e, t) {return new Z(e, t);}-function Tr(e) {+function wr(e) {for (var t = e.s; t !== void 0; t = t.n) if (t.S.i !== t.i || !t.S.h() || t.S.i !== t.i) return !0;return !1;}-function Er(e) {+function Tr(e) {for (var t = e.s; t !== void 0; t = t.n) {var n = t.S.n;if (n !== void 0 && (t.r = n), t.S.n = t, t.i = -1, t.n === void 0) {@@ -3439,55 +3347,55 @@ function Er(e) {}}}-function Dr(e) {+function Er(e) {for (var t = e.s, n = void 0; t !== void 0;) {var r = t.p;t.i === -1 ? (t.S.U(t), r !== void 0 && (r.n = t.n), t.n !== void 0 && (t.n.p = r)) : n = t, t.S.n = t.r, t.r !== void 0 && (t.r = void 0), t = r;}e.s = n;}-function Or(e, t) {- Z.call(this, void 0, t), this.x = e, this.s = void 0, this.g = Sr - 1, this.f = 4;+function Dr(e, t) {+ Z.call(this, void 0, t), this.x = e, this.s = void 0, this.g = xr - 1, this.f = 4;}-Or.prototype = new Z(), Or.prototype.h = function() {+Dr.prototype = new Z(), Dr.prototype.h = function() {if (this.f &= -3, 1 & this.f) return !1;- if ((36 & this.f) == 32 || (this.f &= -5, this.g === Sr)) return !0;- if (this.g = Sr, this.f |= 1, this.i > 0 && !Tr(this)) return this.f &= -2, !0;+ if ((36 & this.f) == 32 || (this.f &= -5, this.g === xr)) return !0;+ if (this.g = xr, this.f |= 1, this.i > 0 && !wr(this)) return this.f &= -2, !0;var e = Y;try {- Er(this), Y = this;+ Tr(this), Y = this;var t = this.x();(16 & this.f || this.v !== t || this.i === 0) && (this.v = t, this.f &= -17, this.i++);} catch (e) {this.v = e, this.f |= 16, this.i++;}- return Y = e, Dr(this), this.f &= -2, !0;-}, Or.prototype.S = function(e) {+ return Y = e, Er(this), this.f &= -2, !0;+}, Dr.prototype.S = function(e) {if (this.t === void 0) {this.f |= 36;for (var t = this.s; t !== void 0; t = t.n) t.S.S(t);}Z.prototype.S.call(this, e);-}, Or.prototype.U = function(e) {+}, Dr.prototype.U = function(e) {if (this.t !== void 0 && (Z.prototype.U.call(this, e), this.t === void 0)) {this.f &= -33;for (var t = this.s; t !== void 0; t = t.n) t.S.U(t);}-}, Or.prototype.N = function() {+}, Dr.prototype.N = function() {if (!(2 & this.f)) {this.f |= 6;for (var e = this.t; e !== void 0; e = e.x) e.t.N();}-}, Object.defineProperty(Or.prototype, "value", { get: function() {+}, Object.defineProperty(Dr.prototype, "value", { get: function() {if (1 & this.f) throw Error("Cycle detected");- var e = Cr(this);+ var e = Sr(this);if (this.h(), e !== void 0 && (e.i = this.i), 16 & this.f) throw this.v;return this.v;} });-function kr(e, t) {- return new Or(e, t);+function Or(e, t) {+ return new Dr(e, t);}-function Ar(e) {+function kr(e) {var t = e.m;if (e.m = void 0, typeof t == "function") {X++;@@ -3496,24 +3404,24 @@ function Ar(e) {try {t();} catch (t) {- throw e.f &= -2, e.f |= 8, jr(e), t;+ throw e.f &= -2, e.f |= 8, Ar(e), t;} finally {- Y = n, pr();+ Y = n, fr();}}}-function jr(e) {+function Ar(e) {for (var t = e.s; t !== void 0; t = t.n) t.S.U(t);- e.x = void 0, e.s = void 0, Ar(e);+ e.x = void 0, e.s = void 0, kr(e);}-function Mr(e) {+function jr(e) {if (Y !== this) throw Error("Out-of-order effect");- Dr(this), Y = e, this.f &= -2, 8 & this.f && jr(this), pr();+ Er(this), Y = e, this.f &= -2, 8 & this.f && Ar(this), fr();}-function Nr(e, t) {- this.x = e, this.m = void 0, this.s = void 0, this.u = void 0, this.f = 32, this.name = t?.name, hr && hr.push(this);+function Mr(e, t) {+ this.x = e, this.m = void 0, this.s = void 0, this.u = void 0, this.f = 32, this.name = t?.name, mr && mr.push(this);}-Nr.prototype.c = function() {+Mr.prototype.c = function() {var e = this.S();try {if (8 & this.f || this.x === void 0) return;@@ -3522,20 +3430,20 @@ Nr.prototype.c = function() {} finally {e();}-}, Nr.prototype.S = function() {+}, Mr.prototype.S = function() {if (1 & this.f) throw Error("Cycle detected");- this.f |= 1, this.f &= -9, Ar(this), Er(this), X++;+ this.f |= 1, this.f &= -9, kr(this), Tr(this), X++;var e = Y;- return Y = this, Mr.bind(this, e);-}, Nr.prototype.N = function() {- 2 & this.f || (this.f |= 2, this.u = _r, _r = this);-}, Nr.prototype.d = function() {- this.f |= 8, 1 & this.f || jr(this);-}, Nr.prototype.dispose = function() {+ return Y = this, jr.bind(this, e);+}, Mr.prototype.N = function() {+ 2 & this.f || (this.f |= 2, this.u = gr, gr = this);+}, Mr.prototype.d = function() {+ this.f |= 8, 1 & this.f || Ar(this);+}, Mr.prototype.dispose = function() {this.d();};-function Pr(e, t) {- var n = new Nr(e, t);+function Nr(e, t) {+ var n = new Mr(e, t);try {n.c();} catch (e) {@@ -3546,35 +3454,35 @@ function Pr(e, t) {}//#endregion//#region node_modules/@preact/signals/dist/signals.module.js-var Fr, Ir, Lr = typeof window < "u" && !!window.__PREACT_SIGNALS_DEVTOOLS__, Rr = [];-Pr(function() {- Fr = this.N;+var Pr, Fr, Ir = typeof window < "u" && !!window.__PREACT_SIGNALS_DEVTOOLS__, Lr = [];+Nr(function() {+ Pr = this.N;})();-function zr(e, t) {+function Rr(e, t) {E[e] = t.bind(null, E[e] || function() {});}-function Br(e) {- if (Ir) {- var t = Ir;- Ir = void 0, t();+function zr(e) {+ if (Fr) {+ var t = Fr;+ Fr = void 0, t();}- Ir = e && e.S();+ Fr = e && e.S();}-function Vr(e) {- var t = this, n = e.data, r = Ur(n);+function Br(e) {+ var t = this, n = e.data, r = Hr(n);r.name = "ReactiveDom", r.value = n;var i = rt(function() {for (var e = t, n = t.__v; n = n.__;) if (n.__c) {n.__c.__$f |= 4;break;}- var i = kr(function() {+ var i = Or(function() {var e = r.value.value;return e === 0 ? 0 : !0 === e ? "" : e || "";- }), a = kr(function() {+ }), a = Or(function() {return !Array.isArray(i.value) && !O(i.value);- }), o = Pr(function() {- if (this.N = Kr, a.value) {+ }), o = Nr(function() {+ if (this.N = Gr, a.value) {var t = i.value;e.__v && e.__v.__e && e.__v.__e.nodeType === 3 && (e.__v.__e.data = t);}@@ -3585,14 +3493,14 @@ function Vr(e) {}, []), a = i[0], o = i[1];return a.value ? o.peek() : o.value;}-Vr.displayName = "ReactiveTextNode", Object.defineProperties(Z.prototype, {+Br.displayName = "ReactiveTextNode", Object.defineProperties(Z.prototype, {constructor: {configurable: !0,value: void 0},type: {configurable: !0,- value: Vr+ value: Br},props: {configurable: !0,@@ -3607,7 +3515,7 @@ Vr.displayName = "ReactiveTextNode", Object.defineProperties(Z.prototype, {configurable: !0,value: 1}-}), zr("__b", function(e, t) {+}), Rr("__b", function(e, t) {if (typeof t.type == "string") {var n, r = t.props;for (var i in r) if (i !== "children") {@@ -3616,26 +3524,26 @@ Vr.displayName = "ReactiveTextNode", Object.defineProperties(Z.prototype, {}}e(t);-}), zr("__r", function(e, t) {+}), Rr("__r", function(e, t) {if (e(t), t.type !== I) {- Br();+ zr();var n, r = t.__c;r && (r.__$f &= -2, (n = r.__$u) === void 0 && (r.__$u = n = function(e, t) {var n;- return Pr(function() {+ return Nr(function() {n = this;}, { name: t }), n.c = e, n;}(function(e) {return function() {var t;- Lr && ((t = this.y) == null || t.call(this)), e.__$f |= 1, e.setState({});+ Ir && ((t = this.y) == null || t.call(this)), e.__$f |= 1, e.setState({});};- }(r), typeof t.type == "function" ? t.type.displayName || t.type.name : ""))), Br(n);+ }(r), typeof t.type == "function" ? t.type.displayName || t.type.name : ""))), zr(n);}-}), zr("__e", function(e, t, n, r) {- Br(), e(t, n, r);-}), zr("diffed", function(e, t) {- Br();+}), Rr("__e", function(e, t, n, r) {+ zr(), e(t, n, r);+}), Rr("diffed", function(e, t) {+ zr();var n;if (typeof t.type == "string" && (n = t.__e)) {var r = t.__np, i = t.props, a = n.U;@@ -3645,25 +3553,25 @@ Vr.displayName = "ReactiveTextNode", Object.defineProperties(Z.prototype, {}if (r) for (var c in a || (a = {}, n.U = a), r) {var l = a[c], u = r[c];- l === void 0 ? (l = Hr(n, c, u, i), a[c] = l) : l.o(u, i);+ l === void 0 ? (l = Vr(n, c, u, i), a[c] = l) : l.o(u, i);}}e(t);});-function Hr(e, t, n, r) {- var i = t in e && e.ownerSVGElement === void 0, a = wr(n);+function Vr(e, t, n, r) {+ var i = t in e && e.ownerSVGElement === void 0, a = Cr(n);return {o: function(e, t) {a.value = e, r = t;},- d: Pr(function() {- this.N = Kr;+ d: Nr(function() {+ this.N = Gr;var n = a.value.value;r[t] !== n && (r[t] = n, i ? e[t] = n : n != null && (!1 !== n || t[4] === "-") ? e.setAttribute(t, n) : e.removeAttribute(t));})};}-zr("unmount", function(e, t) {+Rr("unmount", function(e, t) {if (typeof t.type == "string") {var n = t.__e;if (n) {@@ -3687,7 +3595,7 @@ zr("unmount", function(e, t) {}}e(t);-}), zr("__h", function(e, t, n, r) {+}), Rr("__h", function(e, t, n, r) {r < 3 && (t.__$f |= 2), e(t, n, r);}), fe.prototype.shouldComponentUpdate = function(e, t) {if (this.__R) return !0;@@ -3701,44 +3609,44 @@ zr("unmount", function(e, t) {for (var s in this.props) if (!(s in e)) return !0;return !1;};-function Ur(e, t) {+function Hr(e, t) {return rt(function() {- return wr(e, t);+ return Cr(e, t);}, []);}-var Wr = function(e) {+var Ur = function(e) {queueMicrotask(function() {queueMicrotask(e);});};-function Gr() {- mr(function() {- for (var e; e = Rr.shift();) Fr.call(e);+function Wr() {+ pr(function() {+ for (var e; e = Lr.shift();) Pr.call(e);});}-function Kr() {- Rr.push(this) === 1 && (E.requestAnimationFrame || Wr)(Gr);+function Gr() {+ Lr.push(this) === 1 && (E.requestAnimationFrame || Ur)(Wr);}//#endregion//#region src/state/quality-goals.ts-var qr = "/api/quality-goals?limit=200", Jr = {+var Kr = "/api/quality-goals?limit=200", qr = {data: null,error: ""-}, Yr = wr(Jr), Xr = 0, Zr = kr(() => Yr.value);-kr(() => Yr.value.data?.total ?? null);-function Qr() {- Xr += 1, Yr.value = Jr;+}, Jr = Cr(qr), Yr = 0, Xr = Or(() => Jr.value);+Or(() => Jr.value.data?.total ?? null);+function Zr() {+ Yr += 1, Jr.value = qr;}-async function $r(e) {- let t = Xr += 1;+async function Qr(e) {+ let t = Yr += 1;try {- let n = await G(qr, e);- return t === Xr && (Yr.value = {+ let n = await G(Kr, e);+ return t === Yr && (Jr.value = {data: n,error: ""}), n;} catch (n) {- throw !e?.aborted && t === Xr && (Yr.value = {+ throw !e?.aborted && t === Yr && (Jr.value = {data: null,error: W(n)}), n;@@ -3746,9 +3654,9 @@ async function $r(e) {}//#endregion//#region src/islands/quality-goals.tsx-var ei = (e, t) => $r(t), ti = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;-function ni({ openItem: t, javTitleHtml: i, javDisplayName: a, srcBadge: o }) {- let { data: s, error: c } = Zr.value;+var $r = (e, t) => Qr(t), ei = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;+function ti({ openItem: t, javTitleHtml: i, javDisplayName: a, srcBadge: o }) {+ let { data: s, error: c } = Xr.value;if (c) return /* @__PURE__ */ q("div", {class: "qualitylist",dangerouslySetInnerHTML: { __html: g(c, {@@ -3773,7 +3681,7 @@ function ni({ openItem: t, javTitleHtml: i, javDisplayName: a, srcBadge: o }) {class: "qualityfallback",children: "暂无预览"}), /* @__PURE__ */ q("img", {- src: ti(s),+ src: ei(s),alt: "",loading: "lazy",onError: (e) => e.currentTarget.remove()@@ -3825,8 +3733,8 @@ function ni({ openItem: t, javTitleHtml: i, javDisplayName: a, srcBadge: o }) {}//#endregion//#region src/islands/scraping.tsx-var ri = (e, t) => G("/api/scraping", t);-function ii({ value: e, onChange: t }) {+var ni = (e, t) => G("/api/scraping", t);+function ri({ value: e, onChange: t }) {let n = U(null), r = U(t);return r.current = t, H(() => {let t = n.current;@@ -3840,7 +3748,7 @@ function ii({ value: e, onChange: t }) {class: "scraping-network"});}-function ai({ source: e, toast: t }) {+function ii({ source: e, toast: t }) {let [n, r] = B(e), [i, a] = B(e.network), [s, c] = B(""), [l, u] = B(""), [d, f] = B("paste"), [m, h] = B(""), [_, v] = B(!1), [y, b] = B(""), [S, C] = B([]), w = U(null), T = U(null);H(() => {T.current?.querySelectorAll("footer button").forEach((e) => x(e, _));@@ -3911,7 +3819,7 @@ function ai({ source: e, toast: t }) {}),/* @__PURE__ */ q("div", {class: "scraping-label",- children: ["连接方式", /* @__PURE__ */ q(ii, {+ children: ["连接方式", /* @__PURE__ */ q(ri, {value: i,onChange: a})]@@ -4021,7 +3929,7 @@ function ai({ source: e, toast: t }) {})});}-function oi({ data: e, error: t, toast: n }) {+function ai({ data: e, error: t, toast: n }) {let [r, i] = B(""), [a, o] = B(!1), [s, c] = B(""), [l, u] = B(""), d = U(null);H(() => x(d.current, a), [a]);let f = U(new AbortController()), h = U(0);@@ -4096,7 +4004,7 @@ function oi({ data: e, error: t, toast: n }) {]})}),- e?.sources.map((e) => /* @__PURE__ */ q(ai, {+ e?.sources.map((e) => /* @__PURE__ */ q(ii, {source: e,toast: n}, e.source))@@ -4105,24 +4013,24 @@ function oi({ data: e, error: t, toast: n }) {}//#endregion//#region src/islands/activity.tsx-var si = (e, t) => G("/api/tasks", t), ci = {+var oi = (e, t) => G("/api/tasks", t), si = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, li = {+}, ci = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "被打断"-}, ui = (e) => li[e] || e, di = {+}, li = (e) => ci[e] || e, ui = {succeeded: "ok",failed: "error",cancelled: "paused",interrupted: "paused"-}, fi = {+}, di = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -4142,14 +4050,14 @@ var si = (e, t) => G("/api/tasks", t), ci = {exit_code: "退出码",issue_count: "问题"};-function pi(e) {+function fi(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;let n = Math.floor(t / 60);return n < 60 ? `${n} 分 ${t % 60} 秒` : `${Math.floor(n / 60)} 小时 ${n % 60} 分`;}-function mi(e) {+function pi(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -4159,17 +4067,17 @@ function mi(e) {minute: "2-digit"});}-function hi(e) {- return Object.entries(e || {}).filter(([e, t]) => e !== "blocked_by" && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${fi[e] || e} ${t}`).join(" · ");+function mi(e) {+ return Object.entries(e || {}).filter(([e, t]) => e !== "blocked_by" && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${di[e] || e} ${t}`).join(" · ");}-function gi({ status: e }) {- let t = di[e];+function hi({ status: e }) {+ let t = ui[e];return /* @__PURE__ */ q("span", {class: t ? `sbadge ${t}` : "sbadge",- children: [/* @__PURE__ */ q("i", { "aria-hidden": "true" }), ui(e)]+ children: [/* @__PURE__ */ q("i", { "aria-hidden": "true" }), li(e)]});}-function _i({ run: e, meta: t, children: n, footer: r }) {+function gi({ run: e, meta: t, children: n, footer: r }) {return /* @__PURE__ */ q("li", { children: /* @__PURE__ */ q("section", {class: "cleanupfieldset activity-run","data-geist-fieldset": !0,@@ -4180,7 +4088,7 @@ function _i({ run: e, meta: t, children: n, footer: r }) {children: [/* @__PURE__ */ q("div", {class: "activity-run-head",- children: [/* @__PURE__ */ q("strong", { children: e.task_label }), /* @__PURE__ */ q(gi, { status: e.status })]+ children: [/* @__PURE__ */ q("strong", { children: e.task_label }), /* @__PURE__ */ q(hi, { status: e.status })]}),/* @__PURE__ */ q("p", {class: "cleanupmeta",@@ -4194,11 +4102,11 @@ function _i({ run: e, meta: t, children: n, footer: r }) {}) : null]}) });}-function vi({ run: e }) {- let t = e.progress_total || 0, n = e.progress_current || 0, r = e.progress_label || "正在进行", i = pi(e.elapsed_seconds);- return /* @__PURE__ */ q(_i, {+function _i({ run: e }) {+ let t = e.progress_total || 0, n = e.progress_current || 0, r = e.progress_label || "正在进行", i = fi(e.elapsed_seconds);+ return /* @__PURE__ */ q(gi, {run: e,- meta: [ci[e.trigger] || e.trigger, i && `已跑 ${i}`].filter(Boolean).join(" · "),+ meta: [si[e.trigger] || e.trigger, i && `已跑 ${i}`].filter(Boolean).join(" · "),children: t > 0 ? /* @__PURE__ */ q("div", {class: "activity-progress",children: [/* @__PURE__ */ q("div", { dangerouslySetInnerHTML: { __html: _(r, n, t) } }), /* @__PURE__ */ q("p", {@@ -4215,13 +4123,13 @@ function vi({ run: e }) {}) : /* @__PURE__ */ q("div", { dangerouslySetInnerHTML: { __html: m(r) } })});}-function yi({ run: e }) {- let t = hi(e.result_summary), n = pi(e.elapsed_seconds);- return /* @__PURE__ */ q(_i, {+function vi({ run: e }) {+ let t = mi(e.result_summary), n = fi(e.elapsed_seconds);+ return /* @__PURE__ */ q(gi, {run: e,meta: [- ci[e.trigger] || e.trigger,- mi(e.finished_at),+ si[e.trigger] || e.trigger,+ pi(e.finished_at),n && `用时 ${n}`].filter(Boolean).join(" · "),footer: e.error,@@ -4231,7 +4139,7 @@ function yi({ run: e }) {}) : null});}-function bi({ data: e, error: t, preview: n }) {+function yi({ data: e, error: t, preview: n }) {let [r, i] = B(e), [a, o] = B(t), s = U(new AbortController()), c = r?.running || [];if (V(() => {if (n) return;@@ -4275,7 +4183,7 @@ function bi({ data: e, error: t, preview: n }) {children: [/* @__PURE__ */ q("div", { dangerouslySetInnerHTML: { __html: p("activityRunning", "正在进行") } }), c.length ? /* @__PURE__ */ q("ul", {class: "activity-runs","aria-live": "polite",- children: c.map((e) => /* @__PURE__ */ q(vi, { run: e }, e.id))+ children: c.map((e) => /* @__PURE__ */ q(_i, { run: e }, e.id))}) : /* @__PURE__ */ q("div", { dangerouslySetInnerHTML: { __html: g("没有任务在跑。", {variant: "secondary",size: "small"@@ -4286,7 +4194,7 @@ function bi({ data: e, error: t, preview: n }) {"aria-labelledby": "activitySkipped",children: [/* @__PURE__ */ q("div", { dangerouslySetInnerHTML: { __html: p("activitySkipped", "被挡下的") } }), /* @__PURE__ */ q("ul", {class: "activity-runs",- children: l.map((e) => /* @__PURE__ */ q(yi, { run: e }, e.id))+ children: l.map((e) => /* @__PURE__ */ q(vi, { run: e }, e.id))})]}),!!u.length && /* @__PURE__ */ q("section", {@@ -4294,7 +4202,7 @@ function bi({ data: e, error: t, preview: n }) {"aria-labelledby": "activityFinished",children: [/* @__PURE__ */ q("div", { dangerouslySetInnerHTML: { __html: p("activityFinished", "最近完成") } }), /* @__PURE__ */ q("ul", {class: "activity-runs",- children: u.map((e) => /* @__PURE__ */ q(yi, { run: e }, e.id))+ children: u.map((e) => /* @__PURE__ */ q(vi, { run: e }, e.id))})]})] })@@ -4303,12 +4211,12 @@ function bi({ data: e, error: t, preview: n }) {}//#endregion//#region src/state/index.ts-var xi = { "quality-goals": {- refresh: $r,- reset: Qr-} }, Si = () => Object.keys(xi);-async function Ci(e) {- let t = xi[e];+var bi = { "quality-goals": {+ refresh: Qr,+ reset: Zr+} }, xi = () => Object.keys(bi);+async function Si(e) {+ let t = bi[e];if (!t) throw Error(`未登记的共享 store:${String(e)}`);try {return await t.refresh(), !0;@@ -4318,24 +4226,24 @@ async function Ci(e) {}//#endregion//#region src/review-evidence.ts-var wi = (e = "") => /^https?:\/\//i.test(e) ? e : "";-function Ti(e = "") {- let n = wi(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+var Ci = (e = "") => /^https?:\/\//i.test(e) ? e : "";+function wi(e = "") {+ let n = Ci(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");return `<div class="reviewimage" data-review-picture><span class="reviewimageempty"${n ? " hidden" : ""}>未取得来源图片</span>${n ? `<img src="${t(n)}" alt="来源候选图片" loading="lazy">` : ""}</div>`;}-function Ei(e) {- let n = wi(e.profile_url), r = (e.preview_assets || []).slice(0, 6), i = Math.max(0, Number(e.video_count || e.videos || 0));+function Ti(e) {+ let n = Ci(e.profile_url), r = (e.preview_assets || []).slice(0, 6), i = Math.max(0, Number(e.video_count || e.videos || 0));return `<section class="reviewidentityevidence"><h5>候选身份:${t(e.babepedia_name || "未标注")}</h5><div class="reviewevidenceactions">${n ? `<a class="geist-button externallink" href="${t(n)}" target="_blank" rel="noopener noreferrer">来源资料<svg class="externalmark" viewBox="0 0 24 24" aria-hidden="true"><use href="#i-external-link" /></svg></a>` : ""}<button type="button" class="geist-button" data-entity-kind="creator" data-entity-name="${t(e.creator || "")}">查看全部 ${i.toLocaleString()} 部作品</button></div>- ${Ti(e.preview_url)}+ ${wi(e.preview_url)}<p>通过后记录身份判断。</p>${r.length ? `<h5>本地作品样本</h5><div class="reviewevidencesamples">${r.map((e) => `<div class="reviewevidencesample"><button class="geist-button" type="button" data-review-open-item="${e.id}"><span data-middle-truncate title="${t(e.name)}">${t(e.name)}</span></button><button class="geist-button" type="button" data-review-reveal="${e.id}" aria-label="打开 ${t(e.name)} 的文件位置">文件位置</button></div>`).join("")}</div>` : "<p>暂无本地作品样本,打开全部作品核对。</p>"}</section>`;}-function Di(e) {+function Ei(e) {for (let t of e.querySelectorAll("[data-review-picture] img")) {let e = () => {t.hidden = !0;@@ -4347,11 +4255,11 @@ function Di(e) {}//#endregion//#region src/selection.ts-function Oi(e, t, n, r, i, a = i || !e.has(r)) {+function Di(e, t, n, r, i, a = i || !e.has(r)) {let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;}-function ki(e, t) {+function Oi(e, t) {let n = t.filter((t) => e.has(t)).length;return {count: n,@@ -4359,16 +4267,16 @@ function ki(e, t) {mixed: n > 0 && n < t.length};}-function Ai(e, t, n) {+function ki(e, t, n) {t.forEach((t) => n ? e.add(t) : e.delete(t));}-function ji({ count: e, label: t, all: n, summary: r, actions: i, locked: a = !1 }) {+function Ai({ count: e, label: t, all: n, summary: r, actions: i, locked: a = !1 }) {e && (e.textContent = t), n && (n.checked = r.all, n.indeterminate = r.mixed);for (let e of i) e.disabled = !r.count || a;}//#endregion//#region src/review-bulk.ts-var Mi = () => ({+var ji = () => ({busy: !1,category: "",filter: "",@@ -4379,7 +4287,7 @@ var Mi = () => ({assets: /* @__PURE__ */ new Map(),errors: /* @__PURE__ */ new Map()});-function Ni(e) {+function Mi(e) {let t = e?.querySelector(".reviewbulktoolbar");if (!e || e.classList.contains("review-skeleton") || !t || t.offsetParent === null) return;e.style.setProperty("--review-controls-height", `${t.getBoundingClientRect().height}px`);@@ -4395,7 +4303,7 @@ function Ni(e) {let o = i.getBoundingClientRect(), s = a.getBoundingClientRect();e.style.setProperty("--review-pane-top", `${o.top}px`), e.style.setProperty("--review-pane-left", `${o.left}px`), e.style.setProperty("--review-pane-width", `${o.width}px`), e.style.setProperty("--review-pane-height", `${s.bottom - o.top}px`);}-function Pi(e, t) {+function Ni(e, t) {let n = [["candidates",t ? "按候选数量" : "全部待复核",@@ -4411,7 +4319,7 @@ function Pi(e, t) {"list-filter"]), n;}-function Fi(e, t) {+function Pi(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -4428,10 +4336,10 @@ function Fi(e, t) {}return [...n.values()];}-function Ii(e, t, n, r, i) {- e.anchor = Oi(e.selected, t, e.anchor, n, r, i);+function Fi(e, t, n, r, i) {+ e.anchor = Di(e.selected, t, e.anchor, n, r, i);}-async function Li(e, t, n, r) {+async function Ii(e, t, n, r) {let i = [], a = 0;for (let o of e) {if (!r()) break;@@ -4451,17 +4359,17 @@ async function Li(e, t, n, r) {failures: i};}-function Ri(e) {+function Li(e) {return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];}-function zi(e, t) {+function Ri(e, t) {let n = e.querySelector(".reviewlist");if (!n || !t.rows.length || t.locked) return;let r = t.state, a = [...n.querySelectorAll("[data-review-key]")];t.category !== void 0 && r.category !== t.category && (r.category = t.category, r.filter = "", r.groupBy = "candidates", r.anchor = null);- let o = t.catalog || t.rows, s = Pi(o, t.metadata);+ let o = t.catalog || t.rows, s = Ni(o, t.metadata);s.some((e) => e[0] === r.groupBy) || (r.groupBy = "candidates", r.filter = "");- let c = Fi(o, r.groupBy);+ let c = Pi(o, r.groupBy);c.some((e) => e.key === r.filter) || (r.filter = "");let u = () => [...n.querySelectorAll("[data-review-key]")].filter((e) => !e.closest("[hidden]")), d = () => u().filter((e) => r.selected.has(e.dataset.reviewKey)), f = () => t.rows.filter((e) => d().some((t) => t.dataset.reviewKey === e.item_key)), p = (e) => !e.querySelector("[data-review-status=\"approved\"]")?.disabled, m = (e, t = "") => {let n = document.createElement("button");@@ -4513,13 +4421,13 @@ function zi(e, t) {j.className = "selectiondock reviewdock", j.setAttribute("role", "group"), j.setAttribute("aria-label", "复核所选项目");let ee = m("取消选择");j.append(D, O, A, ee, k), h.append(g, v, C);- let te = e.querySelector(".reviewcontrols");- te ? te.after(h) : n.before(h), e.append(j), n.classList.add("reviewgroups");- let M = () => {+ let M = e.querySelector(".reviewcontrols");+ M ? M.after(h) : n.before(h), e.append(j), n.classList.add("reviewgroups");+ let te = () => {r.selected.clear(), r.anchor = null, P();};ee.onclick = () => {- r.busy || (M(), C.focus({ preventScroll: !0 }));+ r.busy || (te(), C.focus({ preventScroll: !0 }));}, C.onclick = () => {if (r.busy) return;let e = u(), t = d().length === e.length;@@ -4539,7 +4447,7 @@ function zi(e, t) {f.className = "reviewlist", s.append(c, d), o.append(s, f), n.append(o), d.onclick = () => {if (r.busy) return;let e = t.map((e) => e.dataset.reviewKey);- Ai(r.selected, e, !e.every((e) => r.selected.has(e))), P();+ ki(r.selected, e, !e.every((e) => r.selected.has(e))), P();}, N.push(() => {let e = t.every((e) => r.selected.has(e.dataset.reviewKey));d.innerHTML = i(e ? "check-check-outline" : "check-check") + (e ? "清空本组" : "全选本组"), d.setAttribute("aria-pressed", String(e));@@ -4556,7 +4464,7 @@ function zi(e, t) {e.className = "reviewpickname", e.append(...n.childNodes), n.classList.add("reviewpickheading"), n.append(i, e);} else e.prepend(i);let o = (e, n) => {- Ii(r, u().map((e) => e.dataset.reviewKey), t, e, n), P();+ Fi(r, u().map((e) => e.dataset.reviewKey), t, e, n), P();};if (i.addEventListener("mousedown", (e) => {e.shiftKey && e.preventDefault();@@ -4570,7 +4478,7 @@ function zi(e, t) {else if (n.key === "ArrowDown" || n.key === "ArrowUp") {n.preventDefault();let i = u(), a = i[i.indexOf(e) + (n.key === "ArrowDown" ? 1 : -1)];- a && (r.anchor === null && (r.anchor = t), Ii(r, i.map((e) => e.dataset.reviewKey), a.dataset.reviewKey, !0, !0), P(), a.querySelector(".reviewpickitem input")?.focus());+ a && (r.anchor === null && (r.anchor = t), Fi(r, i.map((e) => e.dataset.reviewKey), a.dataset.reviewKey, !0, !0), P(), a.querySelector(".reviewpickitem input")?.focus());}}}), N.push(() => {@@ -4593,25 +4501,25 @@ function zi(e, t) {}}e.addEventListener("keydown", (t) => {- r.busy || !e.contains(n) || (t.key === "Escape" && r.selected.size && (t.preventDefault(), t.stopPropagation(), M()), (t.ctrlKey || t.metaKey) && t.key.toLowerCase() === "a" && !t.target.matches("textarea,input:not([type=\"checkbox\"]):not([type=\"radio\"])") && (t.preventDefault(), t.stopPropagation(), u().forEach((e) => r.selected.add(e.dataset.reviewKey)), P()));+ r.busy || !e.contains(n) || (t.key === "Escape" && r.selected.size && (t.preventDefault(), t.stopPropagation(), te()), (t.ctrlKey || t.metaKey) && t.key.toLowerCase() === "a" && !t.target.matches("textarea,input:not([type=\"checkbox\"]):not([type=\"radio\"])") && (t.preventDefault(), t.stopPropagation(), u().forEach((e) => r.selected.add(e.dataset.reviewKey)), P()));});let ne = "";function P() {let e = d(), n = e.length > 0 && e.length === u().length;- C.innerHTML = i(n ? "check-check-outline" : "check-check") + (n ? "清空当前选择" : r.filter ? "全选当前分类" : "全选本页"), C.setAttribute("aria-pressed", String(n)), j.hidden = !e.length, ji({+ C.innerHTML = i(n ? "check-check-outline" : "check-check") + (n ? "清空当前选择" : r.filter ? "全选当前分类" : "全选本页"), C.setAttribute("aria-pressed", String(n)), j.hidden = !e.length, Ai({count: D,label: `已选 ${e.length} 项`,- summary: ki(r.selected, u().map((e) => e.dataset.reviewKey)),+ summary: Oi(r.selected, u().map((e) => e.dataset.reviewKey)),actions: [T, E]}), T.disabled ||= e.some((e) => !p(e));- let a = Ri(f());+ let a = Li(f());O.hidden = !t.metadata || !f().some((e) => (e.candidates?.length || 0) > 1);let o = e.length && !a.length ? "所选项目无共同来源" : "统一选择来源", s = JSON.stringify([o, a]);if (s !== ne) {ne = s, O.innerHTML = y([["", o], ...a.map((e) => [e, e])], "", { label: "统一选择来源" });let e = w(O.firstElementChild);e.disabled = !a.length, e.addEventListener("change", () => {- if (!(r.busy || !Ri(f()).includes(e.value))) {+ if (!(r.busy || !Li(f()).includes(e.value))) {for (let n of d()) {let i = t.rows.find((e) => e.item_key === n.dataset.reviewKey).candidates.find((t) => t.source === e.value);n.querySelectorAll("input[type=\"radio\"]").forEach((e) => {@@ -4644,7 +4552,7 @@ function zi(e, t) {e instanceof KeyboardEvent && e.key === "Tab" || (e.preventDefault(), e.stopImmediatePropagation());};e.addEventListener("click", c, !0), e.addEventListener("keydown", c, !0);- let l = 0, u = await Li(a, async (e) => {+ let l = 0, u = await Ii(a, async (e) => {try {return await t.submit(e);} finally {@@ -4661,9 +4569,9 @@ function zi(e, t) {let f = e.parentElement;t.refresh(), f?.querySelector(".reviewbulktoolbar button")?.focus({ preventScroll: !0 });}- P(), Ni(e);+ P(), Mi(e);}-function Bi(e, t, n = 1) {+function zi(e, t, n = 1) {let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);if (n * 2 + 5 >= t) return r(1, t);let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;@@ -4683,15 +4591,15 @@ function Bi(e, t, n = 1) {t];}-function Vi(e, t) {+function Bi(e, t) {return Math.max(1, Math.ceil(e / t));}-function Hi(e, t) {+function Vi(e, t) {return Math.min(Math.max(1, Math.floor(e) || 1), t);}-function Ui(e, t, n) {+function Hi(e, t, n) {if (t <= 1) return "";- let r = Bi(e, t).map((t) => t === "…" ? "<li class=\"board-page-dots\" aria-hidden=\"true\">…</li>" : `<li><button type="button" class="board-page" data-page="${t}" aria-label="第 ${t} 页"${t === e ? " aria-current=\"page\"" : ""}>${t}</button></li>`).join("");+ let r = zi(e, t).map((t) => t === "…" ? "<li class=\"board-page-dots\" aria-hidden=\"true\">…</li>" : `<li><button type="button" class="board-page" data-page="${t}" aria-label="第 ${t} 页"${t === e ? " aria-current=\"page\"" : ""}>${t}</button></li>`).join("");return `<nav class="board-pagination" aria-label="${n}"><button type="button" class="geist-button" data-page="${e - 1}"${e <= 1 ? " disabled" : ""}><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-chevron-left"></use></svg>上一页</button><ul>${r}</ul>@@ -4700,10 +4608,10 @@ function Ui(e, t, n) {}//#endregion//#region src/native-image.ts-function Wi(e, t, n, r) {+function Ui(e, t, n, r) {return e > 0 && t > 0 && e === n && t === r;}-function Gi(e, t, n, r, i = 1) {+function Wi(e, t, n, r, i = 1) {let a = Number.isFinite(i) && i > 0 ? i : 1;e /= a, t /= a;let o = [@@ -4720,11 +4628,11 @@ function Gi(e, t, n, r, i = 1) {}//#endregion//#region src/avatar-picker.tsx-var Ki = {+var Gi = {gfriends: "图库",history: "用过的"};-function qi({ kind: e, id: t, name: n, onPicked: r }) {+function Ki({ kind: e, id: t, name: n, onPicked: r }) {let i = U(null), a = U(null), o = U(null), [s, l] = B(null), [u, d] = B(""), [f, p] = B(""), [m, h] = B(""), [g, _] = B(!1);V(() => {if (!g || s) return;@@ -4854,7 +4762,7 @@ function qi({ kind: e, id: t, name: n, onPicked: r }) {"aria-selected": n.current,disabled: !!f,class: `avatarpick-cell${n.current ? " current" : ""}`,- title: `${Ki[n.source] || n.source} · ${n.label}` + (n.width ? ` · ${n.width}×${n.height}` : "") + (n.found_by ? ` · 按「${n.found_by}」找到` : ""),+ title: `${Gi[n.source] || n.source} · ${n.label}` + (n.width ? ` · ${n.width}×${n.height}` : "") + (n.found_by ? ` · 按「${n.found_by}」找到` : ""),onClick: () => x(n),children: [/* @__PURE__ */ q("img", {@@ -4910,15 +4818,15 @@ function qi({ kind: e, id: t, name: n, onPicked: r }) {})]});}-function Ji(e, t) {- Ne(/* @__PURE__ */ q(qi, { ...t }), e);+function qi(e, t) {+ Ne(/* @__PURE__ */ q(Ki, { ...t }), e);}-function Yi(e) {+function Ji(e) {Ne(null, e);}//#endregion//#region src/entity-skeleton.ts-function Xi(e, t, n) {+function Yi(e, t, n) {return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料"><span class="sr-only">正在读取资料</span><div aria-hidden="true"><section class="entityhero"><div class="entityprofile"><div class="entityportrait ${e === "studio" || e === "agency" ? "square " : ""}skeleton"></div>@@ -4932,27 +4840,27 @@ function Xi(e, t, n) {}//#endregion//#region src/board-skeleton.ts-var Q = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Zi = () => `${Q("80%")}${Q("48%")}`, $ = (e, t) => e.repeat(t), Qi = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${Q("45%")}</b><small class="board-stat-footer">${Q("60%")}</small></div>`).join("")}</div>`, $i = (e, t = "skeleton-tabs") => `<div class="${t}">${e.map((e) => `<span>${e}</span>`).join("")}</div>`, ea = (e, t) => `<div class="${t} skeleton-segments" data-board-segments="true">${e.map((e, t) => `<span${t === 0 ? " class=\"skeleton-segment-selected\"" : ""}>${e}</span>`).join("")}</div>`, ta = (e) => `<section class="board-radial-card"><header><span>${e}</span><b>${Q()}</b></header><div class="board-rings skeleton-rings"><span class="skeleton skeleton-ring"></span></div><div class="skeleton-lines">${Zi()}</div></section>`, na = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${$(Zi(), 3)}</div></section>`, ra = (e) => `<button class="fbtn" type="button" disabled>${e}</button>`, ia = (e) => `<div class="fsechead" data-collapse-toolbar><h3>关注列表</h3><span class="fmeta">${Q("100px")}</span><div class="followtoolbaractions"><button class="fbtn primary followcheckall" disabled>${i("refresh-cw")}<span data-collapse-label>检查全部</span></button><div class="iconswitch" data-board-segments="true"><label>${i("layout-grid")}</label><label>${i("table")}</label></div><span class="fmanagesort" data-collapse-field>${i("sort")}${y([["checked", "检查时间"]], "checked", {+var Q = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Xi = () => `${Q("80%")}${Q("48%")}`, $ = (e, t) => e.repeat(t), Zi = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${Q("45%")}</b><small class="board-stat-footer">${Q("60%")}</small></div>`).join("")}</div>`, Qi = (e, t = "skeleton-tabs") => `<div class="${t}">${e.map((e) => `<span>${e}</span>`).join("")}</div>`, $i = (e, t) => `<div class="${t} skeleton-segments" data-board-segments="true">${e.map((e, t) => `<span${t === 0 ? " class=\"skeleton-segment-selected\"" : ""}>${e}</span>`).join("")}</div>`, ea = (e) => `<section class="board-radial-card"><header><span>${e}</span><b>${Q()}</b></header><div class="board-rings skeleton-rings"><span class="skeleton skeleton-ring"></span></div><div class="skeleton-lines">${Xi()}</div></section>`, ta = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${$(Xi(), 3)}</div></section>`, na = (e) => `<button class="fbtn" type="button" disabled>${e}</button>`, ra = (e) => `<div class="fsechead" data-collapse-toolbar><h3>关注列表</h3><span class="fmeta">${Q("100px")}</span><div class="followtoolbaractions"><button class="fbtn primary followcheckall" disabled>${i("refresh-cw")}<span data-collapse-label>检查全部</span></button><div class="iconswitch" data-board-segments="true"><label>${i("layout-grid")}</label><label>${i("table")}</label></div><span class="fmanagesort" data-collapse-field>${i("sort")}${y([["checked", "检查时间"]], "checked", {label: "关注列表排序",attr: "disabled"-})}</span><button class="fbtn fmanagedir" disabled>${i("arrow-down")}</button>${e ? "" : ra(i("chevron-up") + "<span data-collapse-label>全部收起</span>")}</div></div>`, aa = () => `<div class="fsource frow"><span class="fchannelcheck">${Q("18px")}</span><b>${Q("85%")}</b><span class="fprovider">${Q("54px")}</span><span class="fmeta fchecked">${Q("40px")}</span><span class="fsourceactions"><span class="skeleton skeleton-icon"></span><span class="skeleton skeleton-icon"></span></span></div>`, oa = () => `<details class="fauthor" open><summary class="fauthorhead"><span class="favatar skeleton"></span><b>${Q("90px")}</b><span class="skeleton skeleton-icon"></span><span class="fmeta">${Q("40px")}</span><span class="board-author-actions"><button type="button" class="fbtn small" data-follow-author-select disabled>${i("check-check")}<span data-author-select-label>全选</span></button><span class="skeleton skeleton-icon"></span></span></summary><div class="fauthorsources">${$(aa(), 3)}</div></details>`;-function sa() {- return `<div data-skeleton="detail" role="status" aria-label="正在读取作品详情"><div class="sgrid" aria-hidden="true"><div class="vwrap skeleton-detail-media skeleton"></div><aside class="side"><div class="sidecontent skeleton-lines">${Q("85%")}${Q("65%")}${$(Zi(), 4)}</div></aside></div></div>`;+})}</span><button class="fbtn fmanagedir" disabled>${i("arrow-down")}</button>${e ? "" : na(i("chevron-up") + "<span data-collapse-label>全部收起</span>")}</div></div>`, ia = () => `<div class="fsource frow"><span class="fchannelcheck">${Q("18px")}</span><b>${Q("85%")}</b><span class="fprovider">${Q("54px")}</span><span class="fmeta fchecked">${Q("40px")}</span><span class="fsourceactions"><span class="skeleton skeleton-icon"></span><span class="skeleton skeleton-icon"></span></span></div>`, aa = () => `<details class="fauthor" open><summary class="fauthorhead"><span class="favatar skeleton"></span><b>${Q("90px")}</b><span class="skeleton skeleton-icon"></span><span class="fmeta">${Q("40px")}</span><span class="board-author-actions"><button type="button" class="fbtn small" data-follow-author-select disabled>${i("check-check")}<span data-author-select-label>全选</span></button><span class="skeleton skeleton-icon"></span></span></summary><div class="fauthorsources">${$(ia(), 3)}</div></details>`;+function oa() {+ return `<div data-skeleton="detail" role="status" aria-label="正在读取作品详情"><div class="sgrid" aria-hidden="true"><div class="vwrap skeleton-detail-media skeleton"></div><aside class="side"><div class="sidecontent skeleton-lines">${Q("85%")}${Q("65%")}${$(Xi(), 4)}</div></aside></div></div>`;}-function ca(e, t = {}) {+function sa(e, t = {}) {let n = "";- if (e === "/stats") n = `<div class="insightpage statsdashboard"><header class="insighttoolbar">${Q("38%")}</header>${Qi([+ if (e === "/stats") n = `<div class="insightpage statsdashboard"><header class="insighttoolbar">${Q("38%")}</header>${Zi(["馆藏视频","看过","内容标签","使用空间"- ])}<section class="insightdetail"><div class="insightdetailbody"><div class="board-inventory-charts">${ta("网盘与本地")}${ta("媒体库")}</div></div></section>${na("内容标签")}</div>`;- else if (e === "/taste") n = `<div class="tastepage"><header class="tastehead">${ea(["浏览器记录", "Peach 内部"], "insightswitch")}${Q("24%")}</header><div class="tastestate"></div>${Qi([+ ])}<section class="insightdetail"><div class="insightdetailbody"><div class="board-inventory-charts">${ea("网盘与本地")}${ea("媒体库")}</div></div></section>${ta("内容标签")}</div>`;+ else if (e === "/taste") n = `<div class="tastepage"><header class="tastehead">${$i(["浏览器记录", "Peach 内部"], "insightswitch")}${Q("24%")}</header><div class="tastestate"></div>${Zi(["浏览记录","口味维度","浏览候选","私有导出"- ], "tastesummaries")}<section class="tastehero"><div class="insightcopy"><span>浏览器画像</span><div class="skeleton skeleton-radar"></div></div><div class="tastebars skeleton-lines">${$(Zi(), 4)}</div></section>${na("口味分析")}<div class="board-activity-charts">${na("浏览活动")}${na("时间分布")}</div>${na("标签")}</div>`;+ ], "tastesummaries")}<section class="tastehero"><div class="insightcopy"><span>浏览器画像</span><div class="skeleton skeleton-radar"></div></div><div class="tastebars skeleton-lines">${$(Xi(), 4)}</div></section>${ta("口味分析")}<div class="board-activity-charts">${ta("浏览活动")}${ta("时间分布")}</div>${ta("标签")}</div>`;else if (e === "/follow-manage") {let e = t.followLayout === "table", r = e ? `<div class="ftableframe"><div class="ftablewrap"><table class="ftable"><thead><tr>${["选择",@@ -4970,18 +4878,18 @@ function ca(e, t = {}) {"40px","100px","60px"- ].map((e) => `<td>${Q(e)}</td>`).join("")}</tr>`, 6)}</tbody></table></div></div>` : `<div class="board-follow-list">${$(oa(), 4)}</div>`;+ ].map((e) => `<td>${Q(e)}</td>`).join("")}</tr>`, 6)}</tbody></table></div></div>` : `<div class="board-follow-list">${$(aa(), 4)}</div>`;n = `<div class="follow followmanage"><div class="fmanageoverview">${["关注创作者","启用来源","检查失败","未看更新"- ].map((e) => `<div><span>${e}</span><b>${Q()}</b></div>`).join("")}</div>${ea([+ ].map((e) => `<div><span>${e}</span><b>${Q()}</b></div>`).join("")}</div>${$i(["关注列表","添加关注","来源和凭证"- ], "follow-workspace-switch")}<div class="fmain"><section class="fsec" data-follow-workspace-panel="list">${ia(e)}<div class="board-follow-selection"${e ? " hidden" : ""}><label>${l("disabled")}全选本页</label></div><div class="frows fsources" data-layout="${e ? "table" : "default"}">${r}<div class="followpagefooter"><div class="followpageinfo">${Q("120px")}${Q("100px")}</div></div></div></section></div></div>`;- } else if (e === "/configuration") n = `<div class="configpage">${$i([+ ], "follow-workspace-switch")}<div class="fmain"><section class="fsec" data-follow-workspace-panel="list">${ra(e)}<div class="board-follow-selection"${e ? " hidden" : ""}><label>${l("disabled")}全选本页</label></div><div class="frows fsources" data-layout="${e ? "table" : "default"}">${r}<div class="followpagefooter"><div class="followpageinfo">${Q("120px")}${Q("100px")}</div></div></div></section></div></div>`;+ } else if (e === "/configuration") n = `<div class="configpage">${Qi(["通用","媒体","网络与访问",@@ -4991,16 +4899,16 @@ function ca(e, t = {}) {"正在进行","被挡下的","最近完成"- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content skeleton-lines">${Q("35%")}${Zi()}</div></article></div></section>`).join("")}</div>`;+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content skeleton-lines">${Q("35%")}${Xi()}</div></article></div></section>`).join("")}</div>`;else if (e === "/duplicates") n = `<div class="review"><div class="collection-summary">${Q("38%")}</div><div class="fsechead dupactions"><h3>批量保留</h3>${Q("40%")}</div>${$(`<section class="dupgroup"><div class="duphead">${Q("45%")}</div><div class="duplist">${$(`<div class="duprow"><span class="dupcover skeleton"></span><span class="dupmarks">${Q()}</span><span class="dupname">${Q("90%")}</span>${Q()}${Q()}${Q()}<span class="duppath">${Q("70%")}</span></div>`, 2)}</div></section>`, 2)}</div>`;- else if (e === "/quality-goals") n = `<div class="quality-workspace"><div class="collection-summary"><strong>待升级</strong>${Q("20%")}</div><div class="qualitylist">${$(`<article class="qualityitem"><span class="qualitycover skeleton"></span><div class="qualitybody skeleton-lines">${Zi()}</div><footer class="qualityactions">${Q("80%")}</footer></article>`, 6)}</div></div>`;- else if (e === "/playlists") n = `<section class="playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate skeleton-lines"><span>新播放列表</span>${Q("200px")}</div></header><div class="playlistcards">${$(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy skeleton-lines">${Zi()}</div></div></article>`, 6)}</div></section>`;+ else if (e === "/quality-goals") n = `<div class="quality-workspace"><div class="collection-summary"><strong>待升级</strong>${Q("20%")}</div><div class="qualitylist">${$(`<article class="qualityitem"><span class="qualitycover skeleton"></span><div class="qualitybody skeleton-lines">${Xi()}</div><footer class="qualityactions">${Q("80%")}</footer></article>`, 6)}</div></div>`;+ else if (e === "/playlists") n = `<section class="playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate skeleton-lines"><span>新播放列表</span>${Q("200px")}</div></header><div class="playlistcards">${$(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy skeleton-lines">${Xi()}</div></div></article>`, 6)}</div></section>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}//#endregion//#region src/catalog-onboarding.ts-var la = [+var ca = ["loc","creator","performer",@@ -5018,16 +4926,16 @@ var la = ["jav","thumb"];-function ua() {+function la() {let e = (e) => Array(64).fill(e).join("");return {tiers: "<div class=\"tier catalog-placeholder\" aria-hidden=\"true\">" + e("<span class=\"av\"><span class=\"ring\"></span><span class=\"nm\"> </span></span>") + "</div><div class=\"tier catalog-placeholder\" aria-hidden=\"true\">" + e("<span class=\"brandpill\"><span class=\"mk\"></span><span class=\"placeholder-name\"> </span></span>") + "</div>",tags: "<span class=\"catalog-placeholder placeholder-tags\" aria-hidden=\"true\">" + e("<span class=\"pill\"> </span>") + "</span>"};}-async function da(e, t) {+async function ua(e, t) {let n = new URLSearchParams();- for (let t of la) e[t] && n.set(t, e[t]);+ for (let t of ca) e[t] && n.set(t, e[t]);let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([...r.creators || [],...r.tagperformers || [],@@ -5038,7 +4946,7 @@ async function da(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function fa({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function da({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/follow-manage?tab=add\">添加关注</a>";if (t || n) return f("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });if (e !== "catalog") {@@ -5059,7 +4967,7 @@ function fa({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:}//#endregion//#region src/sidebar.ts-function pa(e) {+function fa(e) {return ["/","/unseen",@@ -5069,57 +4977,57 @@ function pa(e) {"/junk-files"].includes(e) || /^\/(item|mix|parts|editions)\//.test(e) || /^\/playlists\/\d+\/\d+$/.test(e) || /^\/(performers|studios|creators|series|agencies)\/.+/.test(e);}-function ma(e, t) {+function pa(e, t) {return e.dataset.surface?.split("?")[0] === t.split("?")[0] && e.querySelector(".dnav") ? (e.dataset.surface = t, !1) : (e.dataset.surface = t, e.replaceChildren(), !0);}-function ha(e) {+function ma(e) {let t = /* @__PURE__ */ new Map();for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);}//#endregion//#region src/resource-sync.ts-var ga = (e = 0) => Number(e).toLocaleString(), _a = {+var ha = (e = 0) => Number(e).toLocaleString(), ga = {local: "本地磁盘",115: "115",pikpak: "PikPak"-}, va = (e) => b(s[e] ?? "database"), ya = (e, t, n) => `<article class="board-plain-stat resourcestat">+}, _a = (e) => b(s[e] ?? "database"), va = (e, t, n) => `<article class="board-plain-stat resourcestat"><span class="board-plain-stat-head">${e}</span><strong>${t}</strong><span class="cleanupmeta">${n}</span></article>`;-function ba(e, t) {+function ya(e, t) {let n = e.cache || {files: 0,bytes: 0}, r = !!(e.missing || n.files);- return `<div class="cleanupstats resourcestats">${(e.sources || []).map((e) => ya(`<span class="board-stat-tile resourcestat-tile">${va(e.location)}</span>${_a[e.location] || "媒体来源"}<span class="resourcestat-state ${e.online ? "online" : "offline"}">${e.online ? "可访问" : "离线,已跳过"}</span>`, e.online ? `${ga(e.missing)} 项` : "—", [e.online ? `找不到文件 · 已检查 ${ga(e.checked)} 项` : `馆藏中有 ${ga(e.total)} 项`, e.unreadable ? `${ga(e.unreadable)} 项读取失败,已跳过` : ""].filter(Boolean).join(" · "))).join("")}- ${ya("待移入回收站", `${ga(e.missing)} 项`, "")}- ${ya("可清理的缓存", `${ga(n.files)} 个`, n.files ? t(n.bytes) : "")}</div>- ${r ? g(`将把找不到文件的 ${ga(e.missing)} 项馆藏记录移入回收站,并清理 ${ga(n.files)} 个闲置缓存。`, { label: "清理内容" }) : ""}+ return `<div class="cleanupstats resourcestats">${(e.sources || []).map((e) => va(`<span class="board-stat-tile resourcestat-tile">${_a(e.location)}</span>${ga[e.location] || "媒体来源"}<span class="resourcestat-state ${e.online ? "online" : "offline"}">${e.online ? "可访问" : "离线,已跳过"}</span>`, e.online ? `${ha(e.missing)} 项` : "—", [e.online ? `找不到文件 · 已检查 ${ha(e.checked)} 项` : `馆藏中有 ${ha(e.total)} 项`, e.unreadable ? `${ha(e.unreadable)} 项读取失败,已跳过` : ""].filter(Boolean).join(" · "))).join("")}+ ${va("待移入回收站", `${ha(e.missing)} 项`, "")}+ ${va("可清理的缓存", `${ha(n.files)} 个`, n.files ? t(n.bytes) : "")}</div>+ ${r ? g(`将把找不到文件的 ${ha(e.missing)} 项馆藏记录移入回收站,并清理 ${ha(n.files)} 个闲置缓存。`, { label: "清理内容" }) : ""}<div class="resourceapplyrow geist-fieldset-footer" data-geist-fieldset-footer>${r ? "<button class=\"geist-button primary\" type=\"button\" id=\"resourceApply\">清理失效记录与缓存</button>" : "<p class=\"resourcesyncok\">已检查可访问的来源,没有待清理的记录或缓存。</p>"}</div>`;}//#endregion//#region src/jav-artwork.ts-function xa(e) {+function ba(e) {return ["small","sleeve","preview"].includes(String(e)) ? "small" : "big";}-function Sa(e) {+function xa(e) {return {- javLayout: xa(e.javLayout),- javImage: Ca(e.javLayout === "preview" ? "thumbnail" : e.javImage)+ javLayout: ba(e.javLayout),+ javImage: Sa(e.javLayout === "preview" ? "thumbnail" : e.javImage)};}-function Ca(e) {+function Sa(e) {return e === "thumbnail" ? "thumbnail" : "cover";}-function wa(e, t) {- return e.is_jav && e.code && e.has_cover && (Ca(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";+function Ca(e, t) {+ return e.is_jav && e.code && e.has_cover && (Sa(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";}-function Ta(e, t) {+function wa(e, t) {let n = Number(e?.px?.[0]), r = Number(e?.px?.[1]), i = Number(e?.x0);if (!(n > 0 && r > 0 && t > 0) || !Number.isFinite(i)) return null;let a = Math.min(1, Math.max(0, i / n)), o = n / r / t, s = (1 - a) * o;@@ -5130,45 +5038,45 @@ function Ta(e, t) {left: l(c)};}-function Ea(e, t) {+function Ta(e, t) {e.querySelectorAll("img[data-jav-image]").forEach((e) => {- let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !!(n && (Ca(t) === "cover" || !r)), a = i ? n : r;+ let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !!(n && (Sa(t) === "cover" || !r)), a = i ? n : r;e.classList.toggle("cover", i), e.classList.toggle("whole", i && e.dataset.javImageLayout !== "big"), e.classList.toggle("front", i && e.dataset.javImageLayout === "big"), e.classList.remove("panel"), e.removeAttribute("style"), e.closest(".pic")?.style.removeProperty("--cover-blur"), a && e.getAttribute("src") !== a && (e.src = a);});}//#endregion//#region src/islands.ts-var Da = {+var Ea = {"library-processing": {load: yt,component: Tt},scraping: {- load: ri,- component: oi+ load: ni,+ component: ai},"quality-goals": {- load: ei,- component: ni+ load: $r,+ component: ti},configuration: {- load: ir,- component: dr+ load: rr,+ component: ur},activity: {- load: si,- component: bi+ load: oi,+ component: yi}-}, Oa = () => Object.keys(Da), ka = /* @__PURE__ */ new Map();-async function Aa(e, t, n, r = {}) {- let i = Da[e];+}, Da = () => Object.keys(Ea), Oa = /* @__PURE__ */ new Map();+async function ka(e, t, n, r = {}) {+ let i = Ea[e];if (!i) throw Error(`未注册的 island:${String(e)}`);- Ma(t);+ ja(t);let a = {controller: new AbortController(),painted: !1};- ka.set(t, a);+ Oa.set(t, a);let o;try {o = {@@ -5182,9 +5090,9 @@ async function Aa(e, t, n, r = {}) {error: W(e)};}- if (ka.get(t) !== a) return;+ if (Oa.get(t) !== a) return;if (r.isCurrent && !r.isCurrent()) {- ka.delete(t);+ Oa.delete(t);return;}t.textContent = "", a.painted = !0;@@ -5194,10 +5102,10 @@ async function Aa(e, t, n, r = {}) {};Ne(ue(i.component, s), t);}-var ja = (e) => !!e && ka.has(e);-function Ma(e) {- let t = ka.get(e);- t && (t.controller.abort(), ka.delete(e), t.painted && Ne(null, e));+var Aa = (e) => !!e && Oa.has(e);+function ja(e) {+ let t = Oa.get(e);+ t && (t.controller.abort(), Oa.delete(e), t.painted && Ne(null, e));}//#endregion-export { At as TASTE_GUIDE_KEY, kn as activityChartsHtml, ca as boardPageSkeleton, Ie as boundedPreference, fa as catalogEmptyHtml, da as catalogSuggestions, Hi as clampPage, Ot as cleanupSkeletonHtml, Et as cloudLocations, Dt as cloudPreferenceLocations, Mi as createReviewSelection, Cn as creatorSankeyHtml, sa as detailSkeletonHtml, Ve as distributionChart, ua as emptyCatalogLayout, Xi as entitySkeletonHtml, ht as followJobProgress, Fi as groupReviewRows, Ei as identityEvidenceHtml, It as initBoardControls, ja as islandMounted, Oa as islandNames, wa as javImageKind, pt as jobActivityHtml, Be as jobProgressHtml, Wi as matchesFaceSource, Ji as mountAvatarPicker, Pt as mountBoardStatePreview, Aa as mountIsland, Re as mountNumberSetting, Gi as nativeImageFit, Ca as normalizeJavImage, xa as normalizeJavLayout, Sa as normalizeJavPreferences, Vi as pageCount, Ui as paginationHtml, Ta as panelFrame, Pe as preferredDirection, Ue as radarChart, En as radialCardHtml, He as rankedChart, Ci as refreshStore, ba as resourceScanHtml, Ti as reviewImageHtml, Ai as selectGroup, Oi as selectRange, ki as selectionSummary, pa as sidebarHasCatalogContent, Mn as sidebarSectionHtml, ha as sidebarTagCounts, ze as statCardBody, Si as storeNames, Ft as syncBoardRange, Ea as syncJavImages, Le as syncNumberSetting, ji as syncSelectionToolbar, ma as syncSidebarSurface, kt as tasteHistoryGuideHtml, Fn as transitionTheme, Yi as unmountAvatarPicker, Ma as unmountIsland, Ni as updateReviewSticky, mt as watchJob, An as wireActivityCharts, wn as wireCreatorSankey, Ht as wireExpandableRanks, Vt as wireGrowingCharts, Dn as wireRadialCards, Di as wireReviewPictures, zi as wireReviewSelection, Nn as wireSidebarGroups, jt as wireTasteHistoryGuide };+export { At as TASTE_GUIDE_KEY, kn as activityChartsHtml, sa as boardPageSkeleton, Ie as boundedPreference, da as catalogEmptyHtml, ua as catalogSuggestions, Vi as clampPage, Ot as cleanupSkeletonHtml, Et as cloudLocations, Dt as cloudPreferenceLocations, ji as createReviewSelection, Cn as creatorSankeyHtml, oa as detailSkeletonHtml, Ve as distributionChart, la as emptyCatalogLayout, Yi as entitySkeletonHtml, ht as followJobProgress, Pi as groupReviewRows, Ti as identityEvidenceHtml, It as initBoardControls, Aa as islandMounted, Da as islandNames, Ca as javImageKind, pt as jobActivityHtml, Be as jobProgressHtml, Ui as matchesFaceSource, qi as mountAvatarPicker, Pt as mountBoardStatePreview, ka as mountIsland, Re as mountNumberSetting, Wi as nativeImageFit, Sa as normalizeJavImage, ba as normalizeJavLayout, xa as normalizeJavPreferences, Bi as pageCount, Hi as paginationHtml, wa as panelFrame, Pe as preferredDirection, Ue as radarChart, En as radialCardHtml, He as rankedChart, Si as refreshStore, ya as resourceScanHtml, wi as reviewImageHtml, ki as selectGroup, Di as selectRange, Oi as selectionSummary, fa as sidebarHasCatalogContent, Mn as sidebarSectionHtml, ma as sidebarTagCounts, ze as statCardBody, xi as storeNames, Ft as syncBoardRange, Ta as syncJavImages, Le as syncNumberSetting, Ai as syncSelectionToolbar, pa as syncSidebarSurface, kt as tasteHistoryGuideHtml, Fn as transitionTheme, Ji as unmountAvatarPicker, ja as unmountIsland, Mi as updateReviewSticky, mt as watchJob, An as wireActivityCharts, wn as wireCreatorSankey, Ht as wireExpandableRanks, Vt as wireGrowingCharts, Dn as wireRadialCards, Ei as wireReviewPictures, Ri as wireReviewSelection, Nn as wireSidebarGroups, jt as wireTasteHistoryGuide };diff --git a/web/index.html b/web/index.htmlindex 85178baa6..b9dc172f8 100644--- a/web/index.html+++ b/web/index.html@@ -8,16 +8,21 @@<link rel="icon" href="/favicon.ico" type="image/x-icon"><link rel="stylesheet" href="/vendor/videojs/8.24.0/video-js.min.css"><title>Peach · 蜜桃</title>+<!-- React 子树(BoardUI 源码 + Tailwind)排在旧样式表前面:两边同名的 `--color-*` token+ 由后面的 board.css 定值,未迁移页面的颜色不受这份样式影响。 -->+<link rel="stylesheet" href="/dist/peach-react.css"><link rel="stylesheet" href="/app.css"><link rel="stylesheet" href="/board.css"><!-- 主题必须在第一次绘制之前定下来。app.js 是 module,等同 defer:轮到它跑的时候浏览器已经按系统色画过一帧,手动选了浅色的人每次进页面都要先看一下深色。- 这段只做两件事——把选择写到 <html> 的 data-theme、把地址栏色块切到同一档;- 色板只在 web/css/01-base.css 一份,切换逻辑只在 app.js 的 applyTheme() 一份。 -->+ 这段只做三件事——按实际深浅给 <html> 加减 `dark` 类、把选择写到 data-theme、+ 把地址栏色块切到同一档;色板只在 web/css/01-base.css 一份,切换逻辑只在 app.js 的+ applyTheme() 一份。 --><script>(()=>{try{document.documentElement.classList.toggle('board-high-contrast',localStorage.getItem('peach.high-contrast')==='true');const choice=JSON.parse(localStorage.getItem('peach.settings.v1')||'{}').theme;+ document.documentElement.classList.toggle('dark',choice==='dark'||(choice!=='light'&&matchMedia('(prefers-color-scheme: dark)').matches));if(choice!=='light'&&choice!=='dark')return;document.documentElement.dataset.theme=choice;document.querySelectorAll('meta[data-theme-color]').forEach(meta=>{