Peach: Local-first video metadata scraper and media manager.
feat(web): 配置页与换头像整页归 React,前端只剩一档渲染层
longmeidaoe59791f2577a
diff --git a/README.en.md b/README.en.mdindex 5e50c72f5..60ce9b347 100644--- a/README.en.md+++ b/README.en.md@@ -121,13 +121,13 @@ The repository distributes no media, covers, thumbnails, metadata or site datase## Development and contributions-The backend is a FastAPI modular monolith with SQLite as the truth store. The frontend migrates page by page to React, Tailwind v4 and BoardUI source; the existing Preact islands are a transitional layer.+The backend is a FastAPI modular monolith with SQLite as the truth store. The frontend migrates page by page to React, Tailwind v4 and BoardUI source.Python serves existing pages and committed build output from `web/`; runtime requires neither Node nor a CDN.| Path | Contents || --- | --- || `src/peach/` | API, media, ledger and source adapters |-| `frontend/` | TypeScript, React with BoardUI source, transitional Preact islands, Vite build |+| `frontend/` | TypeScript, React with BoardUI source, the island mount contract, Vite build || `web/` | Pages, styles, self-hosted dependencies and `web/dist/` output || `migrations/` | Versioned SQLite migrations || `scripts/`, `tests/` | Development entry points, maintenance scripts and isolated tests |diff --git a/README.md b/README.mdindex 23f00d28a..e62be52cc 100644--- a/README.md+++ b/README.md@@ -120,13 +120,13 @@ uv sync --locked --python 3.14 --extra macos## 开发与贡献-后端是 FastAPI 模块化单体,SQLite ledger 是真相源。前端以 React + Tailwind v4 + BoardUI 源码逐页迁移,现有 Preact island 是过渡层;+后端是 FastAPI 模块化单体,SQLite ledger 是真相源。前端以 React + Tailwind v4 + BoardUI 源码逐页迁移;`web/` 提供现有页面与已提交的构建产物,运行时由 Python 直接服务,不依赖 Node 或 CDN。| 路径 | 内容 || --- | --- || `src/peach/` | API、媒体、ledger 与来源适配器 |-| `frontend/` | TypeScript、React 与 BoardUI 源码、过渡期的 Preact island、Vite 构建 |+| `frontend/` | TypeScript、React 与 BoardUI 源码、island 挂载契约、Vite 构建 || `web/` | 页面、样式、自托管依赖与 `web/dist/` 产物 || `migrations/` | SQLite 版本迁移 || `scripts/`、`tests/` | 开发入口、维护脚本与隔离测试 |diff --git a/docs/FRONTEND.md b/docs/FRONTEND.mdindex 9f8ff75ba..8eec9652b 100644--- a/docs/FRONTEND.md+++ b/docs/FRONTEND.md@@ -1,7 +1,7 @@# 前端 island 层Peach 的界面正在从 `web/app.js`(无构建、一万一千余行的原生 ES module)逐页迁到-React + Tailwind v4 + BoardUI 源码,已迁出的 Preact island 是过渡层。迁移方式是 strangler:+React + Tailwind v4 + BoardUI 源码。迁移方式是 strangler:**遗留路由继续拥有外壳和每一个页面**,一页被重写之后,遗留入口只负责铺骨架、把容器和自己独有的助手交出去。为什么这么做、以及不做整体重写的理由见 `docs/adr/0031-frontend-react-boardui-tailwind.md`。@@ -12,16 +12,14 @@ React + Tailwind v4 + BoardUI 源码,已迁出的 Preact island 是过渡层| 路径 | 是什么 || --- | --- |-| `frontend/src/islands.ts` | 挂载契约与注册表,构建入口 |-| `frontend/src/islands/configuration.tsx` | Preact 档只剩配置页这一个外壳,它的四个分区本身是 React 子树 |+| `frontend/src/islands.ts` | 挂载契约与注册表,构建入口;其余导出是遗留层仍在用的助手 || `frontend/src/api.ts` | 带 `AbortController` 的取数封装 || `frontend/src/management.ts` | 数据管理首屏 Fieldset、网盘能力显隐与浏览历史导入指南 || `frontend/src/legacy/*.d.ts` | `/js/core.js`、`/js/ui-components.js` 的手写类型 || `frontend/src/react/` | React 子树:`entry.tsx` 是构建入口,`bundle.d.ts` 是对外契约,`boardui/` 逐字复制 BoardUI 源码 || `frontend/src/react/query.ts` | React 子树唯一的 TanStack Query 客户端,页面级 `prefetch` 与组件读的是同一份缓存 || `frontend/src/react/components/` | Peach 自己的组合件(说明条、进度、空态、等待点),BoardUI 注册表里没有对应条目的那些 |-| `frontend/src/react-slot.tsx` | Preact island 里挂 React 子树的交接组件 |-| `frontend/test/` | vitest 用例与遗留模块的桩;`test/react/` 按 React JSX 转换 |+| `frontend/test/` | vitest 用例与遗留模块的桩;`test/react/` 直接挂组件,`islands.test.ts` 走挂载契约 || `web/dist/peach-ui.js` | 构建产物,**进 Git**,由 `/dist/{name}` 提供 || `web/dist/peach-react.js`、`peach-react.css` | React 子树的构建产物,**进 Git** |@@ -31,17 +29,19 @@ island。原因是那一套一上来就打 `/api/items`,而未配置的机器状态,原生 `<form method="post">` 不写一行 JS 就能工作。设置成功以浏览器 cookie 登录并跳入馆藏。它的配色 token 从 `web/css/01-base.css` 的 `:root` 两段抽出来,跟随系统深浅色。-配置好之后改文件夹与端口的那张页,外壳是 `frontend/src/islands/configuration.tsx`:它同步画出-「通用 / 媒体 / 网络与访问 / 更新与维护」四个 `h2.configgroup` 标题,每个标题下挂一个 `ReactSlot`,-分区本身是 `frontend/src/react/settings/` 里的 React 子树。数据契约是 `/api/configuration`-(`src/peach/routes_configuration.py`)。+配置好之后改文件夹与端口的那张页整个是 React(`frontend/src/react/settings/`,入口+`configuration-page.tsx`):一条窄列里排「通用 / 媒体 / 网络与访问 / 更新与维护」四组,每组一个+`h2.configgroup` 小标题,没有内容的组连标题一起省略。数据契约是 `/api/configuration`+(`src/peach/routes_configuration.py`),端点字符串只在 `frontend/src/configuration-endpoints.ts`+声明一次,整页和挂载状态那一块读同一个 `queryKey`。日常入口是右上角的设置弹层:同一个 island 挂进 `#machineSettings`,左栏「这台电脑」-那一块按 `.configgroup` 标题拆成四条。标题留在 Preact 外壳里同步输出,是因为拆分发生在-island 挂载的那一刻,React 子树那时还没加载。+那一块按 `.configgroup` 标题拆成四条(`web/app.js` 的 `configTabItems`)。壳挂完这一页紧接着+就读它画出来的结构,所以第一帧要同步落到 DOM 上:`react/entry.tsx` 的 `mounter` 用 `flushSync`+画第一帧,往后的更新照常异步。小标题和分区因此必须是 `.configpage` 的直接子节点、交替排列。`/configuration` 这条路由保留,媒体库选单和首次配置引导都指向它。服务端按两道门放行:托盘管理的服务、发起连接的是本机;并在 `/healthz` 里按调用方回`configurable`,遗留层据此决定这一块是挂 island 还是换成一句「该配置需在服务端设备修改」。-表单校验的原因由服务端按字段给(400 的 `errors`),island 写回原位,不在前端复制判定。+表单校验的原因由服务端按字段给(400 的 `errors`),页面写回原位,不在前端复制判定。浏览器直接导航撞上 `HTTPException` 时,`api.py` 的处理器按 `Accept` 回一张 HTML 错误页(`routes_pages.error_page`),`/api/` 下和非导航请求仍回 JSON。@@ -154,14 +154,14 @@ await ui.mountIsland('quality-goals', $('#stats'), props, {isCurrent: () => surf那棵根还活着,照着原节律继续敲库。- 容器归遗留层所有,它会在别的页面进入时直接 `innerHTML=`,所以 `mountIsland` 每次都先自我卸载。-- 注册表有两档。Preact 档写 `{load, component}`;整页归 React 的写 `{react: '<page>'}`,- `mountIsland` 动态取回 `@peach/react`,先 `pages.<page>.prefetch(props, signal)` 把首屏- 写进共用的 Query 缓存,再换掉骨架、在一个 `.peach-react` 容器里创建 React 根。两档- 对遗留层是同一个调用,`unmountIsland` 对 React 档卸根、撤容器。-- 离场有两道闸。第一道是壳:`claimSurface` 是所有页面共同经过的换页点,它在那里对- 管理区正文的容器(`#stats`)调 `unmountIsland`,React 档的根连同它的轮询一起停。- 多数管理页的离场路径是直接 `innerHTML=`,根被挤出文档却照样活着,所以卸载必须由这- 一个公共点负责,而不是逐页判断。第二道是 `isCurrent`:取数落地时用户可能已经走开,+- 注册表里每个名字只记它在 `@peach/react` 的 `pages` 里叫什么。`mountIsland` 动态取回+ `@peach/react`,先 `pages.<page>.prefetch(props, signal)` 把首屏写进共用的 Query 缓存,+ 再换掉骨架、在一个 `.peach-react` 容器里创建 React 根;`unmountIsland` 卸根、撤容器。+- 离场有两道闸。第一道是壳:`claimSurface` 是所有页面共同经过的换页点,它在那里对管理区+ 正文(`#stats`)和资料页那块(`#index`)调 `unmountIsland`,根连同它的轮询一起停;+ `showHomeSurfaces` 是索引页与资料页重画前的公共点,也卸一次 `#index`。+ 多数页面的离场路径是直接 `innerHTML=`,根被挤出文档却照样活着,所以卸载必须由这+ 几个公共点负责,而不是逐页判断。第二道是 `isCurrent`:取数落地时用户可能已经走开,这时不画。再进这一页时 `mountIsland` 先自我卸载,同时只有一份。遗留助手不打进产物:`LOC`、`fmtDur`、`fmtSize`、`emptyStateHtml`、`noteHtml` 在浏览器里@@ -211,8 +211,8 @@ const job = useQuery({## 迁移下一个页面-整页归 React(ADR-0031),`frontend/src/islands/` 不再新增文件。先挑一个**容器不与别人-共用**的页面;写操作和后台任务的写法已经定型,见下面第 2 条。+整页归 React(ADR-0031)。先挑一个**容器不与别人共用**的页面;写操作和后台任务的+写法已经定型,见下面第 2 条。1. `frontend/src/react/<page>/<page>.ts`:端点常量、`queryKey`、数据类型和纯折算函数,外加一个 `prefetch<Page>(signal)`——`queryClient.fetchQuery` 包住 `src/api.ts` 的@@ -231,7 +231,7 @@ const job = useQuery({或者本次亲眼见过它在跑,终态才画成结果、发一次 toast。3. `frontend/src/react/entry.tsx`:在 `pages` 里登记 `{prefetch, mount: mounter(Page)}`,签名写进 `bundle.d.ts` 的 `ReactPages`;`frontend/src/islands.ts` 里 `IslandContracts`- 的 `props` 取 bundle 的类型、`data` 写 `null`,`REGISTRY` 登记 `{react: '<page>'}`。+ 取 bundle 的 props 类型,`REGISTRY` 登记 `{react: '<page>'}`。4. 外观按 BoardUI:注册表里有的条目逐字复制进 `src/react/boardui/`,哈希记进`ORIGIN.md` 与 `UPSTREAM.sha256`;注册表里没有的(分区标题、空态、进度、说明条)用 `src/react/components/` 下 Peach 自己的组合件,第二个页面要用就搬进那里,不复制一份。@@ -255,10 +255,13 @@ const job = useQuery({8. 跑 `& .\scripts\test.ps1 -Scope web`(含 tsc、lint、vitest 与真浏览器冒烟),再 `npm --prefix frontend run build` 并把 `web/dist/` 一起提交。-Preact island 继续用 `web/css/` 下的分区,复用原有的类名,`peach-ui.js` 不出样式表。+遗留骨架与 `web/app.js` 画的那些页继续用 `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`。+`.oxlintrc.json` 里两条例外也在那儿定:`configpage`、`configgroup` 是旧样式表的类名,+React 页要按原名输出壳才拆得出分区;`shadow-dropdown` 是 BoardUI 主题里的 `--shadow-*`,+`no-raw-colors` 只认 `--color-*`,把它当成了未声明的颜色。## 依赖清单@@ -269,14 +272,13 @@ vendor 到 `web/vendor/` 的四个包(video.js、swiper、lucide-static、heal| 依赖 | 为什么需要它 || --- | --- |-| `preact` | island 的渲染层。10 kB gzip 的运行时,配 `dangerouslySetInnerHTML` 能直接复用遗留层返回 HTML 的助手 || `vite` | 构建入口。库模式出单个 ES module,`external` + `output.paths` 把遗留模块留在外面 || `typescript` | 类型即契约:注册表、props 与端点响应都靠它在编译期拦住漂移 || `vitest` | 前端测试运行器。与 Vite 共用同一份配置解析,不必再维护第二套转译 || `happy-dom` | vitest 的 DOM 环境。断言的是真实 DOM 结构,比 jsdom 轻且启动快 || `playwright-core` | `frontend/e2e/` 的浏览器驱动,只驱动本机 Chrome、不下载浏览器。happy-dom 没有布局,横向溢出、等待态卡住这类事实只有真浏览器测得出;不用 `@playwright/test`,用例跑在 `node:test` 上,与 docu.md(`markdown-viewer/markdown-viewer-extension` 的 `test/helpers/browser-render-harness.ts`)同一做法 || `oxlint`、`@shadcn/lint` | `npm run lint`:Oxlint 加载 `@shadcn/lint` 的六条规则,只查 `src/react/`、排除 `boardui/`。不用 ESLint,因为 `@typescript-eslint/parser` 的 peer 只到 TypeScript 6.0;`eslint` 作为 `@shadcn/lint` 的 peer 会装进来,不调用 |-| `react`、`react-dom` | React 子树的渲染层。BoardUI 源码是 React 组件,交互建在 React Aria 上;Peach 不经 Preact 兼容层运行 React Aria(ADR-0031) |+| `react`、`react-dom` | 前端唯一的渲染层。BoardUI 源码是 React 组件,交互建在 React Aria 上;不经兼容层运行它(ADR-0031)。`react-dom` 的 `flushSync` 还负责配置页那一帧:壳挂完紧接着就读 DOM || `react-aria-components` | BoardUI 输入框、勾选框、开关、下拉与弹出面板的交互和无障碍语义:标签关联、键盘操作、焦点进出、`aria-invalid` || `react-aria` | 只用 `UNSAFE_PortalProvider`:把 Popover 与下拉列表挂进 `body` 末尾同样带 `.peach-react` 的容器,弹层读到与页面内一致的 token 与 Preflight || `@tanstack/react-query` | React 页面的取数与缓存:页面级 `prefetch` 与组件里的 `useQuery` 共用一份缓存,「取完数才画」不必把首屏数据当 props 串一路;轮询写成 `refetchInterval`,卸载时跟着组件一起停 |@@ -285,11 +287,12 @@ vendor 到 `web/vendor/` 的四个包(video.js、swiper、lucide-static、heal| `tailwindcss`、`@tailwindcss/vite` | 按 `src/react/` 里实际用到的类名生成 `peach-react.css` || `@types/react`、`@types/react-dom` | React 子树的类型检查 |-React 子树单独构建(`vite.react.config.ts`)。`peach-react.js` 759.5 kB(gzip 197.4 kB),-只在页面挂 React 子树时由 island 动态加载;`peach-react.css` 85.7 kB(gzip 13.4 kB),-由 `index.html` 在旧样式表之前引入。它的 `build.cssTarget` 对齐 Tailwind v4 的浏览器基线+React 子树单独构建(`vite.react.config.ts`)。`peach-react.js` 774.5 kB(gzip 200.7 kB),+只在页面挂 React 子树时由 island 动态加载;`peach-react.css` 87.5 kB(gzip 13.7 kB),+由 `index.html` 在旧样式表之前引入。`peach-ui.js` 85.6 kB(gzip 26.6 kB),只剩挂载契约与+遗留层的助手。`build.cssTarget` 对齐 Tailwind v4 的浏览器基线(Chrome 111、Firefox 128、Safari 16.4),oklch 颜色原样输出:目标再旧,lightningcss 会补`lab()` 回退,末位小数随平台浮点不同,CI 在 Linux 上重建的产物就与提交的对不上。-没有引入 `@testing-library/preact`:`preact` 的 `render` 加 `querySelector` 已经够用,-断言的本来就是真实 DOM。+没有引入 `@testing-library/react`:`createRoot` 加 `querySelector` 已经够用+(挂载与输入的助手在 `frontend/test/react/render.tsx`),断言的本来就是真实 DOM。diff --git a/docs/PRODUCT_BACKLOG.md b/docs/PRODUCT_BACKLOG.mdindex 79d1b158c..889da1744 100644--- a/docs/PRODUCT_BACKLOG.md+++ b/docs/PRODUCT_BACKLOG.md@@ -4,7 +4,7 @@## BoardUI 正式前端迁移-Board 视觉层是唯一一套界面,没有切换开关;Board 风格的视觉层与控件映射已在生产。迁移按 [ADR-0031](adr/0031-frontend-react-boardui-tailwind.md) 逐页改写成 React + Tailwind v4 + BoardUI 原版源码,每次一到两个页面、独立分支集成,旧渲染函数、旧 CSS 与旧断言随页面删除。已迁到 React 的是配置页四个分区、活动页、高清版页、来源和凭证页,以及扫描与采集的卡片和目录页横幅(两个容器读同一个 `queryKey`);Preact island 只剩配置页外壳,其余页面仍在 `web/app.js`。布尔开关对应 Board Switch,互斥选择对应 Segmented Control;数值配置支持合法范围内自定义,可关闭功能用 Switch,开启才展示数字输入。+Board 视觉层是唯一一套界面,没有切换开关;Board 风格的视觉层与控件映射已在生产。迁移按 [ADR-0031](adr/0031-frontend-react-boardui-tailwind.md) 逐页改写成 React + Tailwind v4 + BoardUI 原版源码,每次一到两个页面、独立分支集成,旧渲染函数、旧 CSS 与旧断言随页面删除。已整页迁到 React 的是配置页、活动页、高清版页、来源和凭证页、换头像那一屏,以及扫描与采集的卡片和目录页横幅(两个容器读同一个 `queryKey`);前端只有 React 一档,其余页面仍在 `web/app.js`。布尔开关对应 Board Switch,互斥选择对应 Segmented Control;数值配置支持合法范围内自定义,可关闭功能用 Switch,开启才展示数字输入。前端基础库随页面引入,取舍与时机见 ADR-0031「前端基础库」一节:TanStack Query 已随活动页进入,所有 React root 共用一个 `QueryClient`,数据管理卡片的总数在那一页迁移时读高清版页同一个 `queryKey`;TanStack Table 随关注管理表格与 BoardUI Data Table 进;React Router 在外壳与路由迁移那一步接管;TanStack Virtual 在馆藏网格迁到 React 时按实测决定。Remix Icon 候选审查在预览 `/icon-review.html`,现有已选图标保留至用户筛选。迁移不包含版本号或其他分支发布工作。diff --git a/docs/REUSE.md b/docs/REUSE.mdindex 1d49e66c1..aa61aff04 100644--- a/docs/REUSE.md+++ b/docs/REUSE.md@@ -100,8 +100,8 @@ JAV 默认封面(官方封面/预览图)与默认大小(大图/小图- [JavDB JBS-023](https://javdb.com/v/6gzM):项目取页器与 Javinizer-Go v1.5.1 均取得 `風見あゆむ`。本机 provider 配置的 `scrapers.javdb.enabled` 必须开启;源码有码补抓列表包含 JavDB。候选保留 community 来源性质,不自动写真相字段。- 编码边界依据 [MDN 视频编码说明](https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Video_codecs) 与 [ffprobe 流探测文档](https://ffmpeg.org/ffprobe.html)。复用当前 FFmpeg,无新增依赖;Peach 仅持有兼容格式判定与缓存策略。-CloudDrive 引导复用现有 `settings_file`、`platform.root_online`、`scan_location` 和 Preact-配置 island;来源仍为 `local`、`115`、`pikpak`。外部挂载由已安装的 CloudDrive 负责,+CloudDrive 引导复用现有 `settings_file`、`platform.root_online`、`scan_location` 和 React+配置页;来源仍为 `local`、`115`、`pikpak`。外部挂载由已安装的 CloudDrive 负责,[官方帮助](https://www.clouddrive2.com/help.html) 规定 Windows 使用盘符、macOS 使用目录挂载点。CloudDrive 为外部应用,本项目不捆绑其二进制或依赖其管理 API,也不保存网盘凭据;因此不引入非官方 CloudDrive SDK。路径处理复用 Python 标准库 `pathlib`、`os.scandir`、`tomllib`,@@ -117,7 +117,7 @@ CloudDrive 为外部应用,本项目不捆绑其二进制或依赖其管理 AP它和 browser_cookie3 均不进入正式依赖。Javinizer-Go、HTTPX、curl_cffi、Pillow 和现有候选缓存是正式基础;各脚本的请求节拍应复用 `scripting.RateLimiter`/`HostLimiter`,不为同一职责再装一套框架。-- 采集 GUI 复用 Preact island、CredentialStore、HTTPX、Pillow 和 BackgroundJob;+- 采集 GUI 复用 React island、CredentialStore、HTTPX、Pillow 和 BackgroundJob;`jav_cover_fetch` 同时服务界面与 CLI。Peach 保留域内凭据、来源路由、预算、冷却、番号身份与高清替换策略。Cookie 文本由标准库 SimpleCookie/MozillaCookieJar 解析;不导入 pickle。实施范围与跨平台缺口见 [来源采集](SOURCING.md);POC 脱敏证据在本机 attic 的抓取复现目录。@@ -339,6 +339,6 @@ Python、npm 与 GitHub Actions 的版本由 `.github/dependabot.yml` 每周检### 文件检查与确认反馈资源核对复用 `web_resource_sync` 的目录枚举、离线跳过、写前复验与 BackgroundJob,涵盖 local、-115、PikPak。展示复用 Preact 构建链、Fieldset、Note、Toast 与 confirmModal;确认失败留在弹层,+115、PikPak。展示复用 `frontend/` 构建链、Fieldset、Note、Toast 与 confirmModal;确认失败留在弹层,危险动作初始聚焦取消,忙态阻止重入与关闭。无新增依赖,不引入另一套对话框库。真实截图的 487 项/643 个缓存作为无写入渲染样本;配置历史及性能建议依据在 OPERATIONS。diff --git a/docs/STATUS.md b/docs/STATUS.mdindex ec8f0b029..deaa53986 100644--- a/docs/STATUS.md+++ b/docs/STATUS.md@@ -24,7 +24,7 @@- 两端各用本机 CA,私钥与凭据不跨机同步;代码走 Git、账本走单写者复制、图片产物走 Syncthing,三条链路互不兜底。本机坐标在 `<数据根>/config.toml`;ADR-0023 第 1~3 阶段已合入并在 Windows 生效。- Windows 真实 ledger 为 `peach-data/database/ledger.db`,2026-09-13 已应用到 `0031`;`asset_subtitle` 195 行(孤立 19),175 部带字幕轨。09-12 修掉 `local` 路径大小写重复,`asset` 80,761 行。- Mac ledger 已授权从共享副本显式拉取并恢复 `in-sync`;`sources` 已迁到内置盘,`archive`、`tools` 仍可指向外置盘。-- 前端按 ADR-0031 逐页迁往 `frontend/` 的 React + Tailwind + BoardUI 源码,Preact island 是过渡层;产物进 Git、经 `/dist/{name}` 提供;改前端需 Node 24+,见 `docs/FRONTEND.md`。+- 前端按 ADR-0031 逐页迁往 `frontend/` 的 React + Tailwind + BoardUI 源码,只有 React 一档;产物进 Git、经 `/dist/{name}` 提供;改前端需 Node 24+,见 `docs/FRONTEND.md`。- 本机运行 Python 3.14;`requires-python` 下限 3.12,GitHub Actions 同时测 3.12 与 3.14;Windows FFmpeg/ffprobe 位于 `peach-data/tools/ffmpeg`,macOS 走 PATH。- 发行名 `peach`,目录名 `peach-app`。macOS 落后 master 一组有顺序的操作(待办「待执行的操作」第 30 条),做完之前别重启菜单栏:没有口令的 `peach serve --host 0.0.0.0` 会拒绝启动。- 扫描与采集显示当前项目、动作与等待时长;无进展 120 秒页面预警,单项外部动作(资料 90 秒、封面 240 秒)超预算只跳过该项并计入可重试;「重试未完成项」按原任务失败集合重试。完整问题写入 `state/library-processing-<job_id>.issues.jsonl`,每条带标题与路径,接口按 `job_id` 分页读取;页面把前 20 条与日志地址收在错误提示的折叠里。已部署核对。diff --git a/frontend/.oxlintrc.json b/frontend/.oxlintrc.jsonindex f8ac57b36..9f8aff547 100644--- a/frontend/.oxlintrc.json+++ b/frontend/.oxlintrc.json@@ -14,11 +14,12 @@"rules": {"shadcn/no-restyle": ["error", { "allow": ["layout"] }],"shadcn/no-raw-colors": ["error", {- "allow": ["text-body-*", "text-caption-*", "text-display-*", "text-headline-*", "text-large-title-*", "text-title-*"]+ "allow": ["text-body-*", "text-caption-*", "text-display-*", "text-headline-*", "text-large-title-*",+ "text-title-*", "shadow-dropdown"]}],"shadcn/no-arbitrary-values": "error","shadcn/no-inline-styles": "error",- "shadcn/no-unknown-classes": "error",+ "shadcn/no-unknown-classes": ["error", { "allow": ["configpage", "configgroup"] }],"shadcn/require-static-classes": "error"}}diff --git a/frontend/e2e/smoke.test.ts b/frontend/e2e/smoke.test.tsindex 352f199f0..0dd5f7835 100644--- a/frontend/e2e/smoke.test.ts+++ b/frontend/e2e/smoke.test.ts@@ -57,6 +57,16 @@ const ROUTES: readonly Route[] = [path: '/data-cleanup',body: (page) => [heading(page, '#main', '数据管理'), heading(page, '#stats', '扫描与采集')],},+ {+ path: '/quality-goals',+ // 演示库里没有标记中的目标,等到的是空态那一句:它是真的标题元素,不是一段文字。+ body: (page) => [heading(page, '#main', '高清版'), heading(page, '#stats', '没有标记中的高清版目标')],+ },+ {+ // 「高清图片可能需要代理」那句遗留骨架里也有,认不出画完没有;「高清封面」那一张只有真页面有。+ path: '/scraping',+ body: (page) => [heading(page, '#main', '来源和凭证'), page.locator('#stats form[aria-label="高清封面"]')],+ },{ path: '/configuration', body: configurationBody },{ path: '/activity', body: (page) => [heading(page, '#main', '活动'), heading(page, '#stats', '还没有任务记录')] },{diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 272587a58..6a081ba2c 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -9,7 +9,6 @@"@remixicon/react": "4.9.0","@tanstack/react-query": "5.102.8","d3-sankey": "0.12.3",- "preact": "10.29.8","react": "19.3.0","react-aria": "3.52.1","react-aria-components": "1.21.1",@@ -4093,24 +4092,6 @@"node": "^10 || ^12 || >=14"}},- "node_modules/preact": {- "version": "10.29.8",- "resolved": "https://registry.npmjs.org/preact/-/preact-10.29.8.tgz",- "integrity": "sha512-ej2aVZ+vZ8WO7tvlQWRM9N63A0KzF9q4mWJfDUHgYaIofWY9hu74QdnQrjoPMmZi2/nZ5gN0bJCQF49xQqx09Q==",- "license": "MIT",- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/preact"- },- "peerDependencies": {- "preact-render-to-string": ">=5"- },- "peerDependenciesMeta": {- "preact-render-to-string": {- "optional": true- }- }- },"node_modules/prelude-ls": {"version": "1.2.1","resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",diff --git a/frontend/package.json b/frontend/package.jsonindex be8de0024..d1f9a7c03 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -19,7 +19,6 @@"@remixicon/react": "4.9.0","@tanstack/react-query": "5.102.8","d3-sankey": "0.12.3",- "preact": "10.29.8","react": "19.3.0","react-aria": "3.52.1","react-aria-components": "1.21.1",diff --git a/frontend/src/avatar-picker.tsx b/frontend/src/avatar-picker.tsxdeleted file mode 100644index 68a9124af..000000000--- a/frontend/src/avatar-picker.tsx+++ /dev/null@@ -1,202 +0,0 @@-/* 换头像:资料页圆框角上那个加号。- *- * 自动挑的那张按来源优先级来,而那个顺序回答的是「先试哪一张」,不是「哪一张适合- * 当头像」——图库里排第一的常常是压着书名的写真封面,同一个人往下翻几张就有片商的- * 正脸原图。所以这里不做更聪明的自动挑选,只把候选摊开让人看一眼就能换。- *- * 弹层照 BoardUI 的 Pro access 卡片摆(2026-09-12 实测 boardui.com/components/composer):- * 左边一个方图标槽、右边标题加一句说明、右上角一枚徽章。这一屏要回答的是「换成哪一- * 张」,所以候选网格占掉中间全部高度,头部和底下那排操作固定不动,只有网格滚。- *- * 候选图走 `/avatar-choice?ref=`:页面只递服务端自己列出来的 ref,地址由服务端按- * 索引拼。手填地址那一条是唯一的例外,它在服务端有自己的公网判据。 */-import { render } from 'preact';-import { useEffect, useRef, useState } from 'preact/hooks';--import { attachOverlayScrollbar } from '@peach/legacy/ui';--import { apiGet, apiSend, errorMessage } from './api';--export interface AvatarChoice {- ref: string;- source: 'gfriends' | 'history';- label: string;- width: number;- height: number;- detail: string;- /** 这一格是按哪个名字从图库里找到的。只有一个名字命中时是空串。 */- found_by: string;- current: boolean;-}--export interface AvatarChoices {- kind: string;- entity_id: number;- names: string[];- /** 名字链里在图库中真有图的那几个,按链上的先后。 */- matched_names: string[];- choices: AvatarChoice[];- index_age_hours: number | null;- index_stale: boolean;-}--interface PickerProps {- kind: string;- id: number;- name: string;- /** 换成功后让宿主重画头像。遗留层传的是「重新进这一页」。 */- onPicked(): void;-}--const SOURCE_LABELS: Record<string, string> = {- gfriends: '图库',- history: '用过的',-};--function Picker({ kind, id, name, onPicked }: PickerProps) {- const popup = useRef<HTMLDialogElement>(null);- const grid = useRef<HTMLDivElement>(null);- const file = useRef<HTMLInputElement>(null);- const [data, setData] = useState<AvatarChoices | null>(null);- const [error, setError] = useState('');- const [busy, setBusy] = useState('');- const [url, setUrl] = useState('');- const [open, setOpen] = useState(false);-- useEffect(() => {- if (!open || data) return;- const control = new AbortController();- apiGet<AvatarChoices>(`/api/avatar-choices?kind=${kind}&id=${id}`, control.signal)- .then(setData).catch(cause => { if (!control.signal.aborted) setError(errorMessage(cause)) });- return () => control.abort();- }, [open, data, kind, id]);-- /* 网格是这一屏唯一会滚的层,滑块用全站那条覆盖式的。`attachOverlayScrollbar`- 自己认已挂过的容器,候选到齐后重画一次也只挂一遍。 */- useEffect(() => { attachOverlayScrollbar(grid.current) }, [open, data]);-- const show = () => { setOpen(true); popup.current?.showModal() };- const close = () => { setOpen(false); popup.current?.close() };-- /* 三种来源共用一个出口,成功后就地关掉并让宿主重画。失败留在原地并说出原因——- 这一步会改掉盘上的图,静默失败等于让人以为换好了。 */- const commit = async (job: () => Promise<unknown>, tag: string) => {- setBusy(tag); setError('');- try {- await job();- close(); setData(null); onPicked();- } catch (cause) {- setError(errorMessage(cause));- } finally {- setBusy('');- }- };-- const pick = (choice: AvatarChoice) => commit(- () => apiSend('/api/avatar-pick', { kind, id, ref: choice.ref }), choice.ref);-- const fromUrl = () => commit(- () => apiSend('/api/avatar-pick', { kind, id, url: url.trim() }), 'url');-- /* 本机文件按原样发字节,不走 multipart:解析 multipart 要多一个依赖,而这里- 只有一个文件、没有别的字段。 */- const fromFile = async (chosen: File) => commit(async () => {- const response = await fetch(- `/api/avatar-pick?kind=${kind}&id=${id}&name=${encodeURIComponent(chosen.name)}`,- { method: 'POST', credentials: 'same-origin', body: chosen });- if (!response.ok) {- const payload = await response.json().catch(() => null) as { error?: string } | null;- throw new Error(payload?.error || `请求失败(${response.status})`);- }- }, 'file');-- const choices = data?.choices || [];- /* 说明只留一句:这一屏已经用图说清了在选什么,多一行字就是多一行要读的东西。- 按哪个名字找到的要说——找错人是这里唯一会出的大错,而名字是唯一的线索。 */- const elsewhere = (data?.matched_names || []).filter(one => one !== name);- const note = !data ? '正在找可用的图…'- : elsewhere.length- ? `${name}:图库里按「${elsewhere.join('」「')}」找到的。`- : choices.length ? `${name}:换上的那张留在本机,随时能换回来。`- : `${name}:图库里没有这个名字,用下面两种方式换。`;- const stale = !!data && data.index_stale- && !choices.some(one => one.source === 'gfriends');-- return <div class="avatarpick">- <button type="button" class="avatarpick-open" onClick={show}- aria-haspopup="dialog" aria-label={`更换${name}的头像`} title="更换头像">- <svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-plus" /></svg>- </button>- {/* 弹层沿用全站的 `.geist-modal`:遮罩、层级和圆角都在那一份里,这里只接管- 开合动画(跟设置弹层同一套)和「头部固定、网格滚」的竖向分栏。 */}- <dialog ref={popup} class="geist-modal avatarpick-popover" aria-label="更换头像"- onCancel={close} onClick={event => { if (event.target === popup.current) close() }}>- <div class="avatarpick-head">- <span class="avatarpick-mark" aria-hidden="true">- <svg viewBox="0 0 24 24"><use href="#i-user-round" /></svg>- </span>- <div class="avatarpick-headtext">- <div class="avatarpick-title">- <h3>更换头像</h3>- {!!choices.length && <span class="geist-badge">{choices.length} 张可选</span>}- </div>- <p>{note}</p>- {stale && <p class="avatarpick-note">图库索引还没取过,只能从用过的图里选。</p>}- {error && <p class="avatarpick-error" role="alert">{error}</p>}- </div>- {/* 关闭键跟设置弹层是同一个:样式并在那一份选择器里,不另画一遍。 */}- <button type="button" class="avatarpick-close" onClick={close} aria-label="关闭">- <svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-x" /></svg>- </button>- </div>- {/* 头部之下沉一档的那块内嵌区,网格和手填那一排都在里面——照 BoardUI 卡片:- 上面一层是卡片本身的面,中间整块沉下去,候选卡再浮回卡片的面上。 */}- <div class="avatarpick-panel">- <div class="avatarpick-gridwrap">- <div class="avatarpick-grid" role="listbox" aria-label="候选头像" ref={grid}>- {choices.map(choice => <button type="button" key={choice.ref} role="option"- aria-selected={choice.current} disabled={!!busy}- class={`avatarpick-cell${choice.current ? ' current' : ''}`}- title={`${SOURCE_LABELS[choice.source] || choice.source} · ${choice.label}`- + (choice.width ? ` · ${choice.width}×${choice.height}` : '')- + (choice.found_by ? ` · 按「${choice.found_by}」找到` : '')}- onClick={() => pick(choice)}>- <img loading="lazy" alt=""- src={`/avatar-choice?kind=${kind}&id=${id}&ref=${encodeURIComponent(choice.ref)}`} />- <span>{choice.label}</span>- {choice.current && <b>在用</b>}- </button>)}- </div>- </div>- {/* 手填地址和本机文件跟候选是并列的三条路,不是候选看完之后的补充,所以摆在- 固定的那一排里:网格再长也不会把它们推到看不见的地方。 */}- <div class="avatarpick-actions">- <button type="button" class="geist-button" disabled={!!busy}- onClick={() => file.current?.click()}>从本机选图片</button>- <input ref={file} type="file" accept="image/png,image/jpeg" hidden- onChange={event => {- const chosen = (event.currentTarget as HTMLInputElement).files?.[0];- (event.currentTarget as HTMLInputElement).value = '';- if (chosen) void fromFile(chosen);- }} />- <div class="avatarpick-url">- <input type="url" class="geist-input" value={url} placeholder="https://…"- aria-label="图片地址"- onInput={event => setUrl((event.currentTarget as HTMLInputElement).value)} />- <button type="button" class="geist-button" disabled={!url.trim() || !!busy}- onClick={fromUrl}>用这个地址</button>- </div>- </div>- </div>- </dialog>- </div>;-}--/** 挂在资料页圆框旁。宿主换页时自己调 `unmountAvatarPicker`。 */-export function mountAvatarPicker(host: HTMLElement, props: PickerProps): void {- render(<Picker {...props} />, host);-}--export function unmountAvatarPicker(host: HTMLElement): void {- render(null, host);-}diff --git a/frontend/src/configuration-endpoints.ts b/frontend/src/configuration-endpoints.tsindex a543785f4..ab9f8195d 100644--- a/frontend/src/configuration-endpoints.ts+++ b/frontend/src/configuration-endpoints.ts@@ -1,4 +1,4 @@-/* 配置页的端点。Preact 外壳取首屏、React 分区刷新挂载状态读的是同一条,两份产物各打包一份这个模块。 */+/* 配置页的端点。首屏取数和挂载状态那一块的刷新读的是同一条,两份产物各打包一份这个模块。 */export const CONFIGURATION_URL = '/api/configuration';/** 让运行 Peach 的这台电脑弹系统文件夹对话框;浏览器自己拿不到本机绝对路径。 */diff --git a/frontend/src/islands.ts b/frontend/src/islands.tsindex 7c24b1d1f..c23161558 100644--- a/frontend/src/islands.ts+++ b/frontend/src/islands.ts@@ -1,6 +1,6 @@-/* island 挂载契约(ADR-0022)。+/* island 挂载契约(ADR-0031)。*- * 遗留路由(`web/app.js`)仍然拥有整个外壳和每一个页面。一个页面被重写成 Preact+ * 遗留路由(`web/app.js`)仍然拥有整个外壳和每一个页面。一个页面被重写成 React* 之后,它的入口只做两件事:铺好加载占位,然后把一个容器交给这里。** const ui = await import('/dist/peach-ui.js');@@ -8,11 +8,10 @@** `mountIsland` 是 async 且**取完数才画**:遗留层已经铺了骨架,island 若先画一个空* 容器再自己转圈,同一次进入就会出现两段等待态(`peach-web-ui` 明确禁止)。所以这里- * 先 await `load()`,再一次性换掉骨架。+ * 先 await 页面自己的 `prefetch`,再一次性换掉骨架。** 容器由遗留层拥有:它会在别的页面进入时直接 `innerHTML=`。因此 `mountIsland` 每次* 都先自我卸载,`unmountIsland` 也不假设 DOM 还在原处。 */-import { h, render } from 'preact';export { preferredDirection } from './sort-preferences';export { boundedPreference, mountNumberSetting, syncNumberSetting } from './number-setting';export { statCardBody, rankedChart, radarChart, distributionChart, jobProgressHtml } from './board-metrics';@@ -20,11 +19,7 @@ export { initBoardControls, syncBoardRange, wireExpandableRanks, wireGrowingCharexport { creatorSankeyHtml, wireCreatorSankey } from './board-sankey';export { radialCardHtml, wireRadialCards, activityChartsHtml, wireActivityCharts } from './board-analytics';export { sidebarSectionHtml, wireSidebarGroups, transitionTheme } from './sidebar-groups';-import type { Attributes, ComponentType } from 'preact';-import { errorMessage } from './api';-import { Configuration, loadConfiguration } from './islands/configuration';-import type { ConfigurationData, ConfigurationProps } from './islands/configuration';import type * as ReactBundle from '@peach/react';export { watchJob, followJobProgress, jobActivityHtml } from './jobs';@@ -33,7 +28,6 @@ export { createReviewSelection, wireReviewSelection, updateReviewSticky, groupReexport { selectRange, selectionSummary, selectGroup, syncSelectionToolbar } from './selection';export { paginationHtml, pageCount, clampPage } from './pagination';export { nativeImageFit, matchesFaceSource } from './native-image';-export { mountAvatarPicker, unmountAvatarPicker } from './avatar-picker';export { entitySkeletonHtml } from './entity-skeleton';export { boardPageSkeleton, detailSkeletonHtml } from './board-skeleton';export { catalogSuggestions, catalogEmptyHtml, emptyCatalogLayout } from './catalog-onboarding';@@ -41,47 +35,32 @@ export { syncSidebarSurface, sidebarTagCounts, sidebarHasCatalogContent } from 'export { cleanupSkeletonHtml, cloudLocations, cloudPreferenceLocations, tasteHistoryGuideHtml, wireTasteHistoryGuide, TASTE_GUIDE_KEY } from './management';export { resourceScanHtml } from './resource-sync';-/** 首屏取数的结果。`data` 与 `error` 恰有一个成立。 */-export interface IslandState<D> {- data: D | null;- error: string;-}--/** 每个 island 的 props 与首屏数据类型。新增 island 时在这里登记,注册表随之要求实现。- * React 档的页面自己管数据(首屏落在共用的 Query 缓存里),`data` 写成 `null`。 */+/** 每个 island 的 props。新增 island 时在这里登记,注册表随之要求实现;+ * 页面自己管数据,首屏落在共用的 Query 缓存里。 */export interface IslandContracts {- 'library-processing': { props: ReactBundle.LibraryProcessingProps; data: null };- 'scraping': { props: ReactBundle.ScrapingProps; data: null };- 'quality-goals': { props: ReactBundle.QualityGoalsProps; data: null };- configuration: { props: ConfigurationProps; data: ConfigurationData };- activity: { props: ReactBundle.ActivityProps; data: null };+ 'avatar-picker': ReactBundle.AvatarPickerProps;+ 'library-processing': ReactBundle.LibraryProcessingProps;+ 'scraping': ReactBundle.ScrapingProps;+ 'quality-goals': ReactBundle.QualityGoalsProps;+ configuration: ReactBundle.ConfigurationProps;+ activity: ReactBundle.ActivityProps;}export type IslandName = keyof IslandContracts;-type PropsOf<N extends IslandName> = IslandContracts[N]['props'];-type DataOf<N extends IslandName> = IslandContracts[N]['data'];--/** Preact 档:这里取数、这里渲染。 */-interface PreactIsland<N extends IslandName> {- /** 首屏取数。中止后抛 `AbortError`,`mountIsland` 会静默放弃。 */- load(props: PropsOf<N>, signal: AbortSignal): Promise<DataOf<N>>;- component: ComponentType<PropsOf<N> & IslandState<DataOf<N>>>;-}+type PropsOf<N extends IslandName> = IslandContracts[N];-/** React 档:整页在 `@peach/react` 的 `pages` 里,这里只记它的名字(ADR-0031)。- *- * 两侧的契约是同一条:先 `prefetch` 把首屏取回来,再换掉遗留骨架、创建 React 根。 */-interface ReactIsland {+/** 整页在 `@peach/react` 的 `pages` 里,这里只记它的名字(ADR-0031):先 `prefetch`+ * 把首屏取回来,再换掉遗留骨架、创建 React 根。 */+interface Island {react: keyof ReactBundle.ReactPages;}-type IslandDefinition<N extends IslandName> = PreactIsland<N> | ReactIsland;--const REGISTRY: { [N in IslandName]: IslandDefinition<N> } = {+const REGISTRY: { [N in IslandName]: Island } = {+ 'avatar-picker': { react: 'avatar-picker' },'library-processing': { react: 'library-processing' },'scraping': { react: 'scraping' },'quality-goals': { react: 'quality-goals' },- configuration: { load: loadConfiguration, component: Configuration },+ configuration: { react: 'configuration' },activity: { react: 'activity' },};@@ -90,9 +69,7 @@ export const islandNames = (): IslandName[] => Object.keys(REGISTRY) as IslandNainterface Mount {controller: AbortController;- /** 是否已经真的画过。没画过就不许 `render(null, el)`:那会连遗留骨架一起清掉。 */- painted: boolean;- /** React 档画过之后,卸载那棵根并撤掉它的容器。Preact 档没有。 */+ /** 画过之后,卸载那棵根并撤掉它的容器。还没画过的容器里是遗留骨架,不归 island 清。 */dispose?: () => void;}@@ -111,46 +88,11 @@ export async function mountIsland<N extends IslandName>(props: PropsOf<N>,options: MountOptions = {},): Promise<void> {- const island = REGISTRY[name] as IslandDefinition<N> | undefined;+ const island = REGISTRY[name] as Island | undefined;if (!island) throw new Error(`未注册的 island:${String(name)}`);unmountIsland(el);- const mount: Mount = { controller: new AbortController(), painted: false };+ const mount: Mount = { controller: new AbortController() };mounted.set(el, mount);- if ('react' in island) return mountReactPage(island, el, props, mount, options);- let state: IslandState<DataOf<N>>;- try {- state = { data: await island.load(props, mount.controller.signal), error: '' };- } catch (cause) {- if (mount.controller.signal.aborted) return;- state = { data: null, error: errorMessage(cause) };- }- if (!claimContainer(el, mount, options)) return;- // 注册表有多个 island 之后 `PropsOf<N>` 是按名字分发的索引类型,TS 推不出它与- // `Attributes` 相交仍是同一个对象,这里把结论写给它。- const attrs = { ...props, ...state } as Attributes & PropsOf<N> & IslandState<DataOf<N>>;- render(h(island.component, attrs), el);-}--/** 取数回来之后还能不能画:期间没有被重挂,遗留层也还停在这一页。能画就顺手清掉遗留骨架。 */-function claimContainer(el: Element, mount: Mount, options: MountOptions): boolean {- // 期间被卸载或重新挂载:这一次的结果已经过期,不许往新内容上盖。- if (mounted.get(el) !== mount) return false;- // 遗留层已经换了页面:容器现在归别人,画上去就是把别的页面盖掉。- if (options.isCurrent && !options.isCurrent()) {- mounted.delete(el);- return false;- }- // 遗留骨架不是 Preact 画的,交给 diff 会按标签复用节点、留下 data-skeleton 之类的- // 旧属性。整个清掉再画,一次替换,只有一次布局变化。- el.textContent = '';- mount.painted = true;- return true;-}--/** React 档:动态取回 React 产物,先把首屏落进共用的 Query 缓存,再换掉骨架、创建根。 */-async function mountReactPage<N extends IslandName>(- island: ReactIsland, el: Element, props: PropsOf<N>, mount: Mount, options: MountOptions,-): Promise<void> {const bundle = await import('@peach/react');const page = bundle.pages[island.react] as ReactBundle.ReactPage<PropsOf<N>>;try {@@ -170,6 +112,20 @@ async function mountReactPage<N extends IslandName>(mount.dispose = () => { root.unmount(); host.remove() };}+/** 取数回来之后还能不能画:期间没有被重挂,遗留层也还停在这一页。能画就顺手清掉遗留骨架。 */+function claimContainer(el: Element, mount: Mount, options: MountOptions): boolean {+ // 期间被卸载或重新挂载:这一次的结果已经过期,不许往新内容上盖。+ if (mounted.get(el) !== mount) return false;+ // 遗留层已经换了页面:容器现在归别人,画上去就是把别的页面盖掉。+ if (options.isCurrent && !options.isCurrent()) {+ mounted.delete(el);+ return false;+ }+ // 遗留骨架整个清掉再画,一次替换,只有一次布局变化。+ el.textContent = '';+ return true;+}+/** 这个容器上是不是已经挂着一个 island。** 遗留层据此判断要不要重挂。`mountIsland` 开头就把容器卸干净,而卸载会把画过的@@ -193,8 +149,7 @@ function disposeIsland(el: Element): void {mount.controller.abort();mounted.delete(el);// 只清自己画过的东西。还在取数时容器里是遗留骨架,那不属于 island。- if (mount.dispose) mount.dispose();- else if (mount.painted) render(null, el);+ mount.dispose?.();}export { javImageKind, normalizeJavImage, normalizeJavLayout, normalizeJavPreferences, panelFrame, syncJavImages } from './jav-artwork';diff --git a/frontend/src/islands/configuration.tsx b/frontend/src/islands/configuration.tsxdeleted file mode 100644index 891ad863d..000000000--- a/frontend/src/islands/configuration.tsx+++ /dev/null@@ -1,45 +0,0 @@-/* 配置页(`/configuration`,也挂在设置弹层的「这台电脑」里)的外壳。- *- * 数据契约在 `/api/configuration`(`src/peach/routes_configuration.py`)。分区本身是 React 子树- * (`src/react/settings/`);外壳只取首屏数据、画分组小标题,每组交给一个 `ReactSlot`。- * 遗留层的分区 tab(`web/app.js` 的 `configTabItems`)按 `.configgroup` 小标题把后面的节点切进- * 面板,所以小标题和槽位要在 Preact 同步画出来的这一层,不能等 React 产物加载完才出现。 */-import { noteHtml } from '@peach/legacy/ui';-import type { ConfigurationData, ConfigurationGroupProps } from '@peach/react';--import { apiGet } from '../api';-import { CONFIGURATION_URL } from '../configuration-endpoints';-import { ReactSlot } from '../react-slot';--export type { ConfigurationData };--export interface ConfigurationProps {- /** 保存成功后的过去时回执(遗留层的 Toast)。 */- receipt(message: string): void;-}--export const loadConfiguration = (- _props: ConfigurationProps,- signal: AbortSignal,-): Promise<ConfigurationData> => apiGet<ConfigurationData>(CONFIGURATION_URL, signal);--type State = { data: ConfigurationData | null; error: string };--export function Configuration({ receipt, data, error }: ConfigurationProps & State) {- if (error || !data) {- return <div class="configpage" dangerouslySetInnerHTML={{ __html: noteHtml(error || '没有读到配置', { variant: 'error', label: '打不开配置' }) }} />;- }- const props: ConfigurationGroupProps = { data, receipt };- return (- <div class="configpage">- {data.startup ? <h2 class="configgroup">通用</h2> : null}- {data.startup ? <ReactSlot mount="mountGeneralSettings" props={props} /> : null}- <h2 class="configgroup">媒体</h2>- <ReactSlot mount="mountMediaSettings" props={props} />- {data.peach_proxy || data.access ? <h2 class="configgroup">网络与访问</h2> : null}- {data.peach_proxy || data.access ? <ReactSlot mount="mountNetworkSettings" props={props} /> : null}- <h2 class="configgroup">更新与维护</h2>- <ReactSlot mount="mountMaintenanceSettings" props={props} />- </div>- );-}diff --git a/frontend/src/react-slot.tsx b/frontend/src/react-slot.tsxdeleted file mode 100644index 8b9b4e0ef..000000000--- a/frontend/src/react-slot.tsx+++ /dev/null@@ -1,40 +0,0 @@-/* 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 = 'mountGeneralSettings' | 'mountMediaSettings' | 'mountNetworkSettings' | 'mountMaintenanceSettings';-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/avatar-picker/avatar-picker-page.tsx b/frontend/src/react/avatar-picker/avatar-picker-page.tsxnew file mode 100644index 000000000..f2494cc60--- /dev/null+++ b/frontend/src/react/avatar-picker/avatar-picker-page.tsx@@ -0,0 +1,154 @@+/* 换头像:资料页圆框角上那个加号。+ *+ * 自动挑的那张按来源优先级来,而那个顺序回答的是「先试哪一张」,不是「哪一张适合当+ * 头像」——图库里排第一的常常是压着书名的写真封面,同一个人往下翻几张就有片商的正脸+ * 原图。所以这里不做更聪明的自动挑选,只把候选摊开让人看一眼就能换。+ *+ * 这一屏要回答的是「换成哪一张」,所以候选网格占掉中间全部高度,头部和底下那排操作+ * 固定不动,只有网格滚。候选到点开弹层才取:资料页每进一次就预取一遍,多数时候没人点。+ * 注册表里没有模态弹层,用 React Aria 的 `Modal` 组合,差异登记在 `../boardui/ORIGIN.md`。 */+import { useEffect, useRef, useState } from 'react';+import type { ChangeEvent } from 'react';+import { RiAddLine, RiCloseLine, RiUserLine } from '@remixicon/react';+import { useMutation, useQuery } from '@tanstack/react-query';+import { Dialog, Heading, Modal, ModalOverlay } from 'react-aria-components';++import { Chip } from '@/components/base/badges/chip';+import { Button } from '@/components/base/buttons/button';+import { IconButton } from '@/components/base/buttons/icon-button';+import { Input } from '@/components/base/input/input';++import { errorMessage } from '../../api';+import type { AvatarPickerProps } from '../bundle';+import { Note } from '../components/note';+import { queryClient } from '../query';+import { busyProps } from '../settings/use-action';+import {+ avatarChoicesKey, choiceDetail, choiceImageUrl, fetchAvatarChoices, indexNotReady, pickerNote,+ sendAvatarPick, type AvatarSubmission,+} from './avatar-picker';++export function AvatarPicker({ kind, entityId, name, onPicked }: AvatarPickerProps) {+ const [open, setOpen] = useState(false);+ return (+ <>+ {/* 加号压在圆框右下角那一圈上——它属于这张头像,离得远了就成了页面上一个不知道+ 管什么的按钮。定位归外面这一层,按钮本身照 BoardUI 原样。 */}+ <span className="absolute right-1 bottom-1">+ <IconButton icon={RiAddLine} size="small" aria-haspopup="dialog"+ aria-label={`更换${name}的头像`} onClick={() => setOpen(true)} />+ </span>+ <ModalOverlay isOpen={open} onOpenChange={setOpen} isDismissable+ className="fixed inset-0 z-50 flex items-center justify-center bg-scrim p-4">+ <Modal className="flex max-h-full w-full max-w-avatar-picker flex-col overflow-hidden rounded-2xl border border-separator-border bg-background-primary-default shadow-dropdown">+ <Dialog aria-label="更换头像" className="flex min-h-0 flex-col outline-none">+ <PickerBody kind={kind} entityId={entityId} name={name} onPicked={onPicked}+ close={() => setOpen(false)} />+ </Dialog>+ </Modal>+ </ModalOverlay>+ </>+ );+}++/** 弹层内容。只在弹层开着时挂载,候选也就只在这时候取。 */+function PickerBody({ kind, entityId, name, onPicked, close }: AvatarPickerProps & { close(): void }) {+ const file = useRef<HTMLInputElement>(null);+ const [url, setUrl] = useState('');+ const [fileProblem, setFileProblem] = useState('');+ const key = avatarChoicesKey(kind, entityId);+ const picked = useRef(false);++ const listing = useQuery({+ queryKey: key,+ queryFn: ({ signal }) => fetchAvatarChoices(kind, entityId, signal),+ // 上一次点开没取到就重来。取到过的那一份留着,反复开合不必每次再问一遍。+ retryOnMount: true,+ });+ /* 换成功之后这一份候选里「在用」是哪一格已经过期,扔掉它,下次点开重新取。要等到弹层+ 真的收起来再扔:这时候还有人在读这个键,当场清掉它会立刻再取一遍,白问一趟。 */+ useEffect(() => () => {+ if (picked.current) queryClient.removeQueries({ queryKey: avatarChoicesKey(kind, entityId) });+ }, [kind, entityId]);+ /* 三种来源共用一个出口,成功后就地关掉并让宿主重画。失败留在原地并说出原因——+ 这一步会改掉盘上的图,静默失败等于让人以为换好了。 */+ const submit = useMutation({+ mutationFn: (submission: AvatarSubmission) => sendAvatarPick(kind, entityId, submission),+ onSuccess: () => {+ picked.current = true;+ close();+ onPicked();+ },+ });++ function pickFile(event: ChangeEvent<HTMLInputElement>) {+ const input = event.currentTarget;+ const chosen = input.files?.[0];+ input.value = '';+ setFileProblem('');+ if (chosen) submit.mutate({ file: chosen });+ }++ const data = listing.data;+ const choices = data?.choices ?? [];+ const problem = fileProblem+ || (submit.error ? errorMessage(submit.error) : '')+ || (listing.error ? errorMessage(listing.error) : '');+ return (+ <>+ {/* 头部:左边一个方图标槽,右边标题加一句说明,右上角是关闭键。 */}+ <div className="flex shrink-0 items-start gap-4 p-5">+ <span aria-hidden className="flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary">+ <RiUserLine className="size-6" />+ </span>+ <div className="flex min-w-0 flex-1 flex-col gap-2">+ <div className="flex flex-wrap items-center gap-2">+ <Heading slot="title" className="text-title-3-semibold text-text-primary">更换头像</Heading>+ {choices.length ? <Chip color="soft">{choices.length} 张可选</Chip> : null}+ </div>+ <p className="text-body-2-regular text-text-secondary">{pickerNote(name, data)}</p>+ {indexNotReady(data)+ ? <Note tone="neutral">图库索引还没取过,只能从用过的图里选。</Note>+ : null}+ {problem ? <Note tone="error">{problem}</Note> : null}+ </div>+ <IconButton icon={RiCloseLine} size="small" aria-label="关闭" onClick={close} />+ </div>+ {/* 候选网格是这一屏唯一会滚的层:头部和底下那排操作再长也不动。 */}+ <div className="flex min-h-0 flex-1 flex-col overflow-y-auto border-t border-separator-border px-5 pt-4">+ <div role="listbox" aria-label="候选头像"+ className="inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4">+ {choices.map((choice) => (+ <button type="button" key={choice.ref} role="option" data-avatar-choice+ aria-selected={choice.current} title={choiceDetail(choice)} {...busyProps(submit.isPending)}+ onClick={() => { if (!submit.isPending) submit.mutate({ ref: choice.ref }) }}+ className="relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60">+ <img loading="lazy" alt="" src={choiceImageUrl(kind, entityId, choice.ref)}+ className="block w-full aspect-avatar-choice object-cover" />+ <span className="truncate px-1">{choice.label}</span>+ {choice.current+ ? <span className="absolute top-1 left-1"><Chip variant="caption" color="blue">在用</Chip></span>+ : null}+ </button>+ ))}+ </div>+ </div>+ {/* 手填地址和本机文件跟候选是并列的三条路,不是候选看完之后的补充,所以摆在固定+ 的那一排里:网格再长也不会把它们推到看不见的地方。 */}+ <div className="flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5">+ <Button variant="secondary" onClick={() => file.current?.click()}+ {...busyProps(submit.isPending)}>从本机选图片</Button>+ {/* 原生文件选择器长相不可控,按钮归 BoardUI,输入框只留着接文件。 */}+ <input ref={file} type="file" accept="image/png,image/jpeg" tabIndex={-1} aria-hidden+ className="hidden" onChange={pickFile} />+ <div className="flex min-w-0 flex-1 items-center gap-2">+ <div className="min-w-0 flex-1">+ <Input type="url" aria-label="图片地址" placeholder="https://…" value={url} onChange={setUrl} />+ </div>+ <Button disabled={!url.trim()} {...busyProps(submit.isPending)}+ onClick={() => { if (!submit.isPending) submit.mutate({ url: url.trim() }) }}>用这个地址</Button>+ </div>+ </div>+ </>+ );+}diff --git a/frontend/src/react/avatar-picker/avatar-picker.ts b/frontend/src/react/avatar-picker/avatar-picker.tsnew file mode 100644index 000000000..6d01e352f--- /dev/null+++ b/frontend/src/react/avatar-picker/avatar-picker.ts@@ -0,0 +1,87 @@+/* 换头像的数据契约。+ *+ * 候选图走 `/avatar-choice?ref=`:页面只递服务端自己列出来的 ref,地址由服务端按索引拼。+ * 手填地址那一条是唯一的例外,它在服务端有自己的公网判据。 */+import { ApiError, apiGet, apiSend } from '../../api';++export const AVATAR_CHOICES_URL = '/api/avatar-choices';+export const AVATAR_PICK_URL = '/api/avatar-pick';+const AVATAR_CHOICE_IMAGE_URL = '/avatar-choice';++export interface AvatarChoice {+ ref: string;+ source: 'gfriends' | 'history';+ label: string;+ width: number;+ height: number;+ detail: string;+ /** 这一格是按哪个名字从图库里找到的。只有一个名字命中时是空串。 */+ found_by: string;+ current: boolean;+}++export interface AvatarChoices {+ kind: string;+ entity_id: number;+ names: string[];+ /** 名字链里在图库中真有图的那几个,按链上的先后。 */+ matched_names: string[];+ choices: AvatarChoice[];+ index_age_hours: number | null;+ index_stale: boolean;+}++/** 一个人一个键:换个人就是另一份候选,不该读到上一个人的。 */+export const avatarChoicesKey = (kind: string, id: number) => ['avatar-choices', kind, id] as const;++const query = (kind: string, id: number) => `?kind=${encodeURIComponent(kind)}&id=${id}`;++export const choiceImageUrl = (kind: string, id: number, ref: string) =>+ `${AVATAR_CHOICE_IMAGE_URL}${query(kind, id)}&ref=${encodeURIComponent(ref)}`;++export const fetchAvatarChoices = (kind: string, id: number, signal?: AbortSignal) =>+ apiGet<AvatarChoices>(AVATAR_CHOICES_URL + query(kind, id), signal);++/** 三条路交上去的东西不同,落点是同一个端点。 */+export type AvatarSubmission = { ref: string } | { url: string } | { file: File };++export async function sendAvatarPick(+ kind: string, id: number, submission: AvatarSubmission,+): Promise<void> {+ if (!('file' in submission)) {+ await apiSend(AVATAR_PICK_URL, { kind, id, ...submission });+ return;+ }+ /* 本机文件按原样发字节,不走 multipart:解析 multipart 要多一个依赖,而这里只有+ 一个文件、没有别的字段,文件名走查询串。请求体不是 JSON,所以不经 `apiSend`。 */+ const file = submission.file;+ const response = await fetch(+ `${AVATAR_PICK_URL}${query(kind, id)}&name=${encodeURIComponent(file.name)}`,+ { method: 'POST', credentials: 'same-origin', body: file });+ if (response.ok) return;+ const payload = await response.json().catch(() => null) as { error?: string } | null;+ throw new ApiError(payload?.error || `请求失败(${response.status})`, response.status, payload);+}++/** 说明只留一句:这一屏已经用图说清了在选什么,多一行字就是多一行要读的东西。+ * 按哪个名字找到的要说——找错人是这里唯一会出的大错,而名字是唯一的线索。 */+export function pickerNote(name: string, data: AvatarChoices | undefined): string {+ if (!data) return '正在找可用的图…';+ const elsewhere = data.matched_names.filter((one) => one !== name);+ if (elsewhere.length) return `${name}:图库里按「${elsewhere.join('」「')}」找到的。`;+ return data.choices.length+ ? `${name}:换上的那张留在本机,随时能换回来。`+ : `${name}:图库里没有这个名字,用下面两种方式换。`;+}++/** 图库索引还没取过、这一次也一张图库图都没拿到:能走的只剩手填那两条路。 */+export const indexNotReady = (data: AvatarChoices | undefined): boolean =>+ !!data && data.index_stale && !data.choices.some((one) => one.source === 'gfriends');++const SOURCE_LABELS: Record<string, string> = { gfriends: '图库', history: '用过的' };++/** 一格的完整说明,进 `title`:哪儿来的、多大、按谁找到的。 */+export const choiceDetail = (choice: AvatarChoice): string =>+ `${SOURCE_LABELS[choice.source] || choice.source} · ${choice.label}`+ + (choice.width ? ` · ${choice.width}×${choice.height}` : '')+ + (choice.found_by ? ` · 按「${choice.found_by}」找到` : '');diff --git a/frontend/src/react/boardui/ORIGIN.md b/frontend/src/react/boardui/ORIGIN.mdindex d8fb7cc80..213ced414 100644--- a/frontend/src/react/boardui/ORIGIN.md+++ b/frontend/src/react/boardui/ORIGIN.md@@ -54,3 +54,5 @@| 主键带下拉 | `../library-processing/library-processing-card.tsx` 的 `ScanActions`:触发键是一颗 `iconOnly` 的 `Button`,面板用 React Aria 的 `Popover` + `Dialog`,行的外观取 `components/base/dropdown/menu-styles.ts` | `dropdown` 条目的 `DropdownTrigger` 自己就是那颗按钮、外观全由 `className` 给,`@shadcn/lint` 的 `no-restyle` 只放行布局类,套不进 `Button` 的档位 || 行内横幅 | `../library-processing/library-processing-notice.tsx` 按语气取 `status-yellow`、`background-tertiary-error` 与 `separator-border` 组合,一行里放进度环、一句话和一个去处 | 注册表里没有行内横幅;`notification` 条目是带关闭键和计时的浮动通知 || 进度环 | 同上的 `Gauge`:SVG 两圈,`pathLength={100}` 把一圈长度钉成 100,画出来的那一段就是百分比 | 注册表里没有环形进度;`../components/progress.tsx` 那一份是横条,横幅那一行放不下 |+| 模态弹层 | `../avatar-picker/avatar-picker-page.tsx` 用 React Aria 的 `ModalOverlay` + `Modal` + `Dialog` 组合,遮罩取 `../styles.css` 的 `--color-scrim`(同旧样式表 `.geist-modal::backdrop` 的黑 60%) | 注册表里没有模态弹层,也就没有它的遮罩底色 |+| 候选网格 | 同上:一排四张 3:4 的候选,弹层宽度与格子比例取 `../styles.css` 的 `--container-avatar-picker` 与 `--aspect-avatar-choice` | 注册表里没有图片选择网格;这两档在工具类里没有对应档位,写成 `@theme` 而不是任意值 |diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.tsindex e679d0754..3b4be99b0 100644--- a/frontend/src/react/bundle.d.ts+++ b/frontend/src/react/bundle.d.ts@@ -1,6 +1,6 @@/* `web/dist/peach-react.js` 的对外契约。*- * Preact 那一侧按 `@peach/react` 引用这份产物,构建时改写成 `/dist/peach-react.js`;+ * `frontend/src/islands.ts` 按 `@peach/react` 引用这份产物,构建时改写成 `/dist/peach-react.js`;* `entry.tsx` 按这里的签名实现,两边的类型检查各自对照同一份声明。* 配置数据的形状以 `/api/configuration`(`src/peach/routes_configuration.py`)为准。 */import type { QualityGoal } from './quality-goals/quality-goals';@@ -74,13 +74,17 @@ export interface ConfigurationData {facts: ConfigurationFact[];}-/** 配置页的一个分组(「通用」「媒体」「网络与访问」「更新与维护」)。 */-export interface ConfigurationGroupProps {- data: ConfigurationData;+/** 配置页只要遗留层的 Toast:保存是写操作,回执归全站那一份。 */+export interface ConfigurationProps {/** 保存成功后的过去时回执(遗留层的 Toast)。 */receipt(message: string): void;}+/** 配置页的一个分组(「通用」「媒体」「网络与访问」「更新与维护」)。 */+export interface ConfigurationGroupProps extends ConfigurationProps {+ data: ConfigurationData;+}+/** 一棵挂在遗留容器里的 React 根。`unmount` 之后容器归还给挂载方。 */export interface ReactMount<P> {update(props: P): void;@@ -131,16 +135,24 @@ export interface LibraryProcessingProps {monitor?: boolean;}+/** 换头像:资料页圆框角上那个加号,连同它点开的那一屏候选。 */+export interface AvatarPickerProps {+ /** 实体类型(`performer`/`creator`)。 */+ kind: string;+ entityId: number;+ /** 页面上显示的这个人的名字,用在无障碍名称和那一句说明里。 */+ name: string;+ /** 换成功后让宿主重画头像。遗留层传的是「重新进这一页」。 */+ onPicked(): void;+}+export interface ReactPages {activity: ReactPage<ActivityProps>;+ 'avatar-picker': ReactPage<AvatarPickerProps>;+ configuration: ReactPage<ConfigurationProps>;'library-processing': ReactPage<LibraryProcessingProps>;'quality-goals': ReactPage<QualityGoalsProps>;scraping: ReactPage<ScrapingProps>;}export declare const pages: ReactPages;--export declare function mountGeneralSettings(el: Element, props: ConfigurationGroupProps): ReactMount<ConfigurationGroupProps>;-export declare function mountMediaSettings(el: Element, props: ConfigurationGroupProps): ReactMount<ConfigurationGroupProps>;-export declare function mountNetworkSettings(el: Element, props: ConfigurationGroupProps): ReactMount<ConfigurationGroupProps>;-export declare function mountMaintenanceSettings(el: Element, props: ConfigurationGroupProps): ReactMount<ConfigurationGroupProps>;diff --git a/frontend/src/react/entry.tsx b/frontend/src/react/entry.tsxindex a8e73c9be..0367406f8 100644--- a/frontend/src/react/entry.tsx+++ b/frontend/src/react/entry.tsx@@ -5,9 +5,11 @@ import type { ComponentType } from 'react';import { QueryClientProvider } from '@tanstack/react-query';import { UNSAFE_PortalProvider } from 'react-aria';import { createRoot } from 'react-dom/client';+import { flushSync } from 'react-dom';import { ActivityPage } from './activity/activity-page';import { prefetchTasks } from './activity/tasks';+import { AvatarPicker } from './avatar-picker/avatar-picker-page';import type * as Bundle from './bundle';import { prefetchLibraryProcessing } from './library-processing/library-processing';import { LibraryProcessingCard } from './library-processing/library-processing-card';@@ -17,10 +19,8 @@ import { prefetchQualityGoals } from './quality-goals/quality-goals';import { queryClient } from './query';import { ScrapingPage } from './scraping/scraping-page';import { prefetchScraping } from './scraping/scraping';-import { GeneralSettings } from './settings/general-settings';-import { MaintenanceSettings } from './settings/maintenance-settings';-import { MediaSettings } from './settings/media-settings';-import { NetworkSettings } from './settings/network-settings';+import { prefetchConfiguration } from './settings/configuration';+import { ConfigurationPage } from './settings/configuration-page';/* Popover 这类弹出层由 React Aria 渲染到挂载容器外面。落在 `body` 上就出了 `.peach-react`* 的作用域:token 读到的是 `board.css` 的值,Preflight 也管不到。所有 React 根的弹出层都进@@ -37,7 +37,11 @@ function overlayContainer(): HTMLElement {}/* 所有 React 根共用一个 QueryClient(ADR-0031):页面级 `prefetch` 写进去的首屏,- * 组件挂上去就直接读到,同一份数据不会因为挂在哪棵根上而各取一次。 */+ * 组件挂上去就直接读到,同一份数据不会因为挂在哪棵根上而各取一次。+ *+ * 第一帧用 `flushSync` 同步落到 DOM 上:遗留壳挂完这一页紧接着就读它画出来的结构+ * (设置弹层按 `.configgroup` 小标题拆左栏那一列),而 `root.render` 自己是排进下一次+ * 渲染的。往后的 `update` 照常异步。 */function mounter<P extends object>(Component: ComponentType<P>) {return (el: Element, props: P): Bundle.ReactMount<P> => {const root = createRoot(el);@@ -46,7 +50,7 @@ function mounter<P extends object>(Component: ComponentType<P>) {<UNSAFE_PortalProvider getContainer={overlayContainer}><Component {...next} /></UNSAFE_PortalProvider></QueryClientProvider>,);- paint(props);+ flushSync(() => paint(props));return { update: paint, unmount: () => root.unmount() };};}@@ -57,9 +61,15 @@ const LibraryProcessing = (props: Bundle.LibraryProcessingProps) => (props.mode === 'notice' ? <LibraryProcessingNotice {...props} /> : <LibraryProcessingCard {...props} />);-/** 整页归 React 的那些页面,按名字给遗留层的 React 档用。 */+/** 整页归 React 的那些页面,按名字给遗留层用。 */export const pages: Bundle.ReactPages = {activity: { prefetch: (_props, signal) => prefetchTasks(signal), mount: mounter(ActivityPage) },+ /* 换头像的候选要打到图库上,而资料页每进一次就预取一遍的话,多数时候没人点开它。+ 首屏没有要取的东西,`prefetch` 是空操作,候选由弹层自己在打开时取。 */+ 'avatar-picker': { prefetch: async () => {}, mount: mounter(AvatarPicker) },+ configuration: {+ prefetch: (_props, signal) => prefetchConfiguration(signal), mount: mounter(ConfigurationPage),+ },'library-processing': {prefetch: (_props, signal) => prefetchLibraryProcessing(signal),mount: mounter(LibraryProcessing),@@ -69,8 +79,3 @@ export const pages: Bundle.ReactPages = {},scraping: { prefetch: (_props, signal) => prefetchScraping(signal), mount: mounter(ScrapingPage) },};--export const mountGeneralSettings: typeof Bundle.mountGeneralSettings = mounter(GeneralSettings);-export const mountMediaSettings: typeof Bundle.mountMediaSettings = mounter(MediaSettings);-export const mountNetworkSettings: typeof Bundle.mountNetworkSettings = mounter(NetworkSettings);-export const mountMaintenanceSettings: typeof Bundle.mountMaintenanceSettings = mounter(MaintenanceSettings);diff --git a/frontend/src/react/settings/configuration-page.tsx b/frontend/src/react/settings/configuration-page.tsxnew file mode 100644index 000000000..9f08dba35--- /dev/null+++ b/frontend/src/react/settings/configuration-page.tsx@@ -0,0 +1,47 @@+/* 配置页(`/configuration`,也挂在设置弹层的「这台电脑」里):四个分区排成一条窄列,+ * 每组一个小标题。服务端按两道门放行,不能编辑时「媒体」那一组只留一句原因。+ *+ * 遗留壳按 `.configgroup` 小标题把后面的兄弟节点切进左栏页签(`web/app.js` 的+ * `configTabItems`),所以标题和分区必须是 `.configpage` 的直接子节点、交替排列,+ * 没有内容的组连标题一起省略。设置弹层挂完这一页紧接着就读它,所以第一帧要同步落到+ * DOM 上:`../entry.tsx` 的 `mounter` 用 `flushSync` 画第一帧。 */+import { useQuery } from '@tanstack/react-query';++import { errorMessage } from '../../api';+import type { ConfigurationGroupProps, ConfigurationProps } from '../bundle';+import { Note } from '../components/note';+import { CONFIGURATION_KEY, fetchConfiguration } from './configuration';+import { GeneralSettings } from './general-settings';+import { MaintenanceSettings } from './maintenance-settings';+import { MediaSettings } from './media-settings';+import { NetworkSettings } from './network-settings';++export function ConfigurationPage({ receipt }: ConfigurationProps) {+ const config = useQuery({+ queryKey: CONFIGURATION_KEY, queryFn: ({ signal }) => fetchConfiguration(signal),+ });+ const data = config.data;+ if (!data) {+ return (+ <div className="configpage">+ <Note tone="error" title="打不开配置">+ {config.error ? errorMessage(config.error) : '没有读到配置'}+ </Note>+ </div>+ );+ }+ const group: ConfigurationGroupProps = { data, receipt };+ const network = Boolean(data.peach_proxy || data.access);+ return (+ <div className="configpage">+ {data.startup ? <h2 className="configgroup">通用</h2> : null}+ {data.startup ? <GeneralSettings {...group} /> : null}+ <h2 className="configgroup">媒体</h2>+ <MediaSettings {...group} />+ {network ? <h2 className="configgroup">网络与访问</h2> : null}+ {network ? <NetworkSettings {...group} /> : null}+ <h2 className="configgroup">更新与维护</h2>+ <MaintenanceSettings {...group} />+ </div>+ );+}diff --git a/frontend/src/react/settings/configuration.ts b/frontend/src/react/settings/configuration.tsnew file mode 100644index 000000000..11509b703--- /dev/null+++ b/frontend/src/react/settings/configuration.ts@@ -0,0 +1,21 @@+/* 配置页的首屏数据。+ *+ * 整页和四个分区读同一个 `queryKey`:挂载状态那一块按下「刷新」重取回来的也是整份配置,+ * 换进这一个键,屏幕上就只有一份真相。端点字符串在 `frontend/src` 里只声明一次,+ * 在 `../../configuration-endpoints`(`tests/test_frontend_build.py` 盯着)。 */+import { apiGet } from '../../api';+import { CONFIGURATION_URL } from '../../configuration-endpoints';+import type { ConfigurationData } from '../bundle';+import { queryClient } from '../query';++export const CONFIGURATION_KEY = ['configuration'] as const;++export const fetchConfiguration = (signal?: AbortSignal) =>+ apiGet<ConfigurationData>(CONFIGURATION_URL, signal);++/** 首屏:取回来才画。中止时 `fetchQuery` 把 `AbortError` 抛回给挂载方,它据此放弃这一次。 */+export async function prefetchConfiguration(signal: AbortSignal): Promise<void> {+ await queryClient.fetchQuery({+ queryKey: CONFIGURATION_KEY, queryFn: () => fetchConfiguration(signal),+ });+}diff --git a/frontend/src/react/settings/media-settings.tsx b/frontend/src/react/settings/media-settings.tsxindex 0a955437c..1b1018dca 100644--- a/frontend/src/react/settings/media-settings.tsx+++ b/frontend/src/react/settings/media-settings.tsx@@ -16,11 +16,13 @@ import { Checkbox } from '@/components/base/checkbox/checkbox';import { Input } from '@/components/base/input/input';import { Select, SelectItem } from '@/components/base/select/select';-import { ApiError, apiGet, apiSend, errorMessage } from '../../api';+import { ApiError, apiSend, errorMessage } from '../../api';import { CONFIGURATION_URL, PICK_FOLDER_URL } from '../../configuration-endpoints';import type { ConfigurationData, ConfigurationGroupProps } from '../bundle';import { Note } from '../components/note';+import { queryClient } from '../query';import { CloudDriveGuide } from './clouddrive-guide';+import { CONFIGURATION_KEY, fetchConfiguration } from './configuration';import { LibraryIconPicker } from './library-icon-picker';import {ErrorText, ExternalLink, Fact, FactList, FieldLabel, Footer, Help, Section, SourceMark, Stack,@@ -256,12 +258,14 @@ function MountBadge({ online }: { online: boolean | undefined }) {return <span data-mount="unknown" className="inline-flex items-center gap-1.5 text-body-2-medium text-text-secondary"><span aria-hidden className="size-1.5 rounded-full bg-current" />未检测</span>;}+/* 重取回来的是整份配置,换进整页那一个键:屏幕上只有一份真相,页面上别处读到的+ 也是这一次的结果。另存一份的话,挂载点在这里是新的、在「这台电脑」那张表单里还是旧的。 */function MountStatus({ data }: { data: ConfigurationData }) {- const [sources, setSources] = useState(data.media_sources);+ const sources = data.media_sources;const action = useAction();if (!sources) return null;- const refresh = () => void action.run('refresh', (signal) => apiGet<ConfigurationData>(CONFIGURATION_URL, signal),- (result) => setSources(result.media_sources));+ const refresh = () => void action.run('refresh', (signal) => fetchConfiguration(signal),+ (result) => queryClient.setQueryData(CONFIGURATION_KEY, result));return (<Section title="挂载状态"><FactList>diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.cssindex 1175ec303..918ceb061 100644--- a/frontend/src/react/styles.css+++ b/frontend/src/react/styles.css@@ -32,6 +32,13 @@* 所以取一个共用的名字,而不是每页各写一次像素值。 */--container-card-cover: 150px;--aspect-card-cover: 16 / 10;+ /* 换头像那一屏:一排四张 3:4 的候选。头像源基本都是竖的,方格会把人裁成一条。+ * 工具类里没有这两档,写成 token 而不是任意值。 */+ --container-avatar-picker: 720px;+ --aspect-avatar-choice: 3 / 4;+ /* 模态弹层的遮罩。注册表里没有模态弹层,也就没有它的底色;取值同旧样式表+ * `.geist-modal::backdrop` 的黑 60%,深浅两档共用一个。 */+ --color-scrim: color-mix(in srgb, var(--color-black) 60%, transparent);}/* 卡片网格:按可用宽度自动折行,一列放不下 360px 时自己退成一列。工具类里没有diff --git a/frontend/src/react/tsconfig.json b/frontend/src/react/tsconfig.jsonindex 2b22c17f5..a42d281d8 100644--- a/frontend/src/react/tsconfig.json+++ b/frontend/src/react/tsconfig.json@@ -1,9 +1,8 @@{- // React 子树(ADR-0022 试点)。Vite 与 tsc 都按「离文件最近的 tsconfig」决定 JSX 运行时,- // 所以这一层只换 jsxImportSource,其余继承 frontend/tsconfig.json。+ // React 子树(ADR-0031)。这一层只放宽 boardui/ 要的那两条,其余继承 frontend/tsconfig.json;+ // Vite 与 tsc 都按「离文件最近的 tsconfig」找配置。"extends": "../../tsconfig.json","compilerOptions": {- "jsxImportSource": "react",// boardui/ 逐字复制上游源码,上游没有按这两条写;在这里放宽,而不是改上游文件。"exactOptionalPropertyTypes": false,"noUncheckedIndexedAccess": false,diff --git a/frontend/test/avatar-picker.test.tsx b/frontend/test/avatar-picker.test.tsxdeleted file mode 100644index f1ccd15cd..000000000--- a/frontend/test/avatar-picker.test.tsx+++ /dev/null@@ -1,157 +0,0 @@-import { afterEach, expect, it, vi } from 'vitest';-import { act } from 'preact/test-utils';--import { mountAvatarPicker, unmountAvatarPicker } from '../src/avatar-picker';-import type { AvatarChoice } from '../src/avatar-picker';--let root: HTMLDivElement;-afterEach(() => { unmountAvatarPicker(root); document.body.innerHTML = ''; vi.unstubAllGlobals() });--const choice = (overrides: Partial<AvatarChoice> = {}): AvatarChoice => ({- ref: 'gfriends:7-S1/葵つかさ.jpg',- source: 'gfriends',- label: '7-S1',- width: 0,- height: 0,- detail: '葵つかさ.jpg',- found_by: '',- current: false,- ...overrides,-});--const listing = (choices: AvatarChoice[], extra: Record<string, unknown> = {}) => ({- kind: 'performer', entity_id: 7792, names: ['葵司', '葵つかさ'],- matched_names: ['葵つかさ'], choices, index_age_hours: 2, index_stale: false, ...extra,-});--type Call = [string, RequestInit];--/** 按次序记下的第 n 个请求。 */-const sent = (calls: Call[], n: number): Call => calls[n] as Call;--/** 第一次取候选、之后每次提交都成功。 */-const server = (body: unknown) => {- const calls: Call[] = [];- const fetched = vi.fn(async (input: string, init?: RequestInit) => {- calls.push([input, init || {}]);- return { ok: true, status: 200, json: async () => (init?.method === 'POST' ? { ok: true } : body) };- });- vi.stubGlobal('fetch', fetched);- return calls;-};--/** 取数与提交都跨若干个微任务,等它们落地再断言。 */-const settle = () => act(async () => { await new Promise(resolve => setTimeout(resolve, 0)) });--const press = async (selector: string) => {- await act(async () => { root.querySelector<HTMLButtonElement>(selector)!.click() });- await settle();-};--/** jsdom 没有实现 `showModal`/`close`,它们只改 open 属性。 */-async function openPicker(props: Record<string, unknown> = {}) {- root = document.createElement('div');- document.body.append(root);- const picked = vi.fn();- await act(async () => mountAvatarPicker(root, {- kind: 'performer', id: 7792, name: '葵司', onPicked: picked, ...props,- } as never));- const popup = root.querySelector('dialog')!;- popup.showModal = () => popup.setAttribute('open', '');- popup.close = () => popup.removeAttribute('open');- await press('.avatarpick-open');- return { picked, popup };-}--it('候选到点开才取,图片只带服务端列出来的 ref', async () => {- const calls = server(listing([choice(), choice({ ref: 'sha256:abc', source: 'history', label: 'twitter', current: true })]));- await openPicker();- expect(sent(calls, 0)[0]).toBe('/api/avatar-choices?kind=performer&id=7792');- const cells = [...root.querySelectorAll('.avatarpick-cell')];- expect(cells).toHaveLength(2);- expect(cells[0]!.querySelector('img')!.getAttribute('src'))- .toBe('/avatar-choice?kind=performer&id=7792&ref=gfriends%3A7-S1%2F%E8%91%B5%E3%81%A4%E3%81%8B%E3%81%95.jpg');- // 在用的那张标出来,但照样可点——换回去和换过去是同一件事。- expect(cells[1]!.classList.contains('current')).toBe(true);- expect(cells[1]!.querySelector('b')!.textContent).toBe('在用');-});--it('图库里的名字与页面上的不同名时说清按谁找到的', async () => {- server(listing([choice()]));- await openPicker();- expect(root.textContent).toContain('图库里按「葵つかさ」找到的');-});--it('好几个名字各带回一批图时,每一格说清自己是按哪个名字找到的', async () => {- // 找错人是这一屏唯一会出的大错,而名字是唯一的线索:整屏只报一句「图库里找到的」,- // 一张同名不同人的图就没有任何能让人起疑的地方。- server(listing(- [choice({ found_by: '葵つかさ' }),- choice({ ref: 'gfriends:3-Prestige/葵ツカサ.jpg', label: '3-Prestige', found_by: '葵ツカサ' })],- { matched_names: ['葵つかさ', '葵ツカサ'] }));- await openPicker();- expect(root.textContent).toContain('图库里按「葵つかさ」「葵ツカサ」找到的');- const cells = [...root.querySelectorAll('.avatarpick-cell')];- expect(cells[0]!.getAttribute('title')).toContain('按「葵つかさ」找到');- expect(cells[1]!.getAttribute('title')).toContain('按「葵ツカサ」找到');-});--it('点一张就提交,换完关掉弹层并让宿主重画', async () => {- const calls = server(listing([choice()]));- const { picked, popup } = await openPicker();- await press('.avatarpick-cell');- expect(sent(calls, 1)[0]).toBe('/api/avatar-pick');- expect(JSON.parse(String(sent(calls, 1)[1].body))).toEqual({- kind: 'performer', id: 7792, ref: 'gfriends:7-S1/葵つかさ.jpg',- });- expect(picked).toHaveBeenCalledOnce();- expect(popup.hasAttribute('open')).toBe(false);-});--it('地址栏填了才允许提交,提交的是 url 而不是 ref', async () => {- const calls = server(listing([]));- await openPicker();- expect(root.querySelector<HTMLButtonElement>('.avatarpick-url button')!.disabled).toBe(true);- const field = root.querySelector<HTMLInputElement>('.avatarpick-url input')!;- field.value = ' https://example.com/a.jpg ';- await act(async () => { field.dispatchEvent(new Event('input', { bubbles: true })) });- expect(root.querySelector<HTMLButtonElement>('.avatarpick-url button')!.disabled).toBe(false);- await press('.avatarpick-url button');- expect(JSON.parse(String(sent(calls, 1)[1].body))).toEqual({- kind: 'performer', id: 7792, url: 'https://example.com/a.jpg',- });-});--it('本机选的图按原字节发出去,名字走查询串', async () => {- const calls = server(listing([]));- await openPicker();- const file = new File([new Uint8Array([1, 2, 3])], '我的图.jpg', { type: 'image/jpeg' });- const input = root.querySelector<HTMLInputElement>('input[type=file]')!;- Object.defineProperty(input, 'files', { value: [file], configurable: true });- await act(async () => { input.dispatchEvent(new Event('change', { bubbles: true })) });- await settle();- expect(sent(calls, 1)[0]).toBe('/api/avatar-pick?kind=performer&id=7792&name=%E6%88%91%E7%9A%84%E5%9B%BE.jpg');- expect(sent(calls, 1)[1].body).toBe(file);-});--it('换不成时弹层留在原地,原因写在里面', async () => {- const fetched = vi.fn(async (_input: string, init?: RequestInit) => (- init?.method === 'POST'- ? { ok: false, status: 400, json: async () => ({ error: '只接受指向公网的 https 地址' }) }- : { ok: true, status: 200, json: async () => listing([choice()]) }- ));- vi.stubGlobal('fetch', fetched);- const { picked, popup } = await openPicker();- await press('.avatarpick-cell');- expect(root.querySelector('.avatarpick-error')!.textContent).toContain('只接受指向公网的 https 地址');- expect(picked).not.toHaveBeenCalled();- expect(popup.hasAttribute('open')).toBe(true);-});--it('图库索引还没取过时只剩手填那两条路', async () => {- server(listing([], { matched_names: [], index_age_hours: null, index_stale: true }));- await openPicker();- expect(root.querySelectorAll('.avatarpick-cell')).toHaveLength(0);- expect(root.textContent).toContain('图库索引还没取过');- expect(root.querySelector('input[type=file]')).not.toBeNull();-});diff --git a/frontend/test/configuration.test.tsx b/frontend/test/configuration.test.tsxdeleted file mode 100644index 6df9d83a2..000000000--- a/frontend/test/configuration.test.tsx+++ /dev/null@@ -1,61 +0,0 @@-import { render } from 'preact';-import { afterEach, expect, it, vi } from 'vitest';--import { CONFIGURATION_URL } from '../src/configuration-endpoints';-import { Configuration, loadConfiguration } from '../src/islands/configuration';-import type { ConfigurationData } from '../src/islands/configuration';--// 分区本身由 `test/react/` 的用例覆盖;这里只看外壳把哪一组交给哪个挂载点。-vi.mock('../src/react-slot', () => ({- ReactSlot: ({ mount }: { mount: string }) => <div data-slot={mount} />,-}));--const data = (over: Partial<ConfigurationData> = {}): ConfigurationData => ({- editable: true, notice: '', revision: 'rev-1', media_dirs: ['D:\\Media'], port: 9123, facts: [], ...over,-});--afterEach(() => {- for (const el of [...document.body.children]) render(null, el);- document.body.innerHTML = '';- vi.unstubAllGlobals();-});--const draw = (state: { data: ConfigurationData | null; error?: string }) => {- const el = document.createElement('div');- document.body.append(el);- render(<Configuration receipt={vi.fn()} data={state.data} error={state.error ?? ''} />, el);- return el;-};-const groups = (el: Element) => [...el.querySelectorAll('.configgroup')]- .map((title) => [title.textContent, title.nextElementSibling?.getAttribute('data-slot')]);--it('每组小标题后面紧跟它的分区,没有内容的组连标题一起省略', () => {- const startup = { available: true, enabled: false, silent: true, message: '', desktop: false, desktop_message: '' };- const full = draw({ data: data({ startup, peach_proxy: { mode: 'direct', proxy_saved: false, needs_selection: false } }) });- expect(groups(full)).toEqual([- ['通用', 'mountGeneralSettings'],- ['媒体', 'mountMediaSettings'],- ['网络与访问', 'mountNetworkSettings'],- ['更新与维护', 'mountMaintenanceSettings'],- ]);- const access = draw({ data: data({ access: { mode: 'open', revision: 'r' } }) });- expect(groups(access).map(([title]) => title)).toEqual(['媒体', '网络与访问', '更新与维护']);- const readonly = draw({ data: data({ editable: false }) });- expect(groups(readonly).map(([title]) => title)).toEqual(['媒体', '更新与维护']);-});--it('首屏走 /api/configuration 并带上中止信号', async () => {- const fetch = vi.fn(async (_url: string, _init: RequestInit) => ({ ok: true, status: 200, json: async () => data() }));- vi.stubGlobal('fetch', fetch);- const controller = new AbortController();- await loadConfiguration({ receipt: vi.fn() }, controller.signal);- const [url, init] = fetch.mock.calls[0] ?? [];- expect(url).toBe(CONFIGURATION_URL);- expect(init?.signal).toBe(controller.signal);-});--it('首屏取数失败时画原因', () => {- const el = draw({ data: null, error: '请先完成首次设置' });- expect(el.querySelector('.geist-note-error')?.textContent).toContain('请先完成首次设置');- expect(el.querySelector('.configgroup')).toBeNull();-});diff --git a/frontend/test/helpers.ts b/frontend/test/helpers.tsindex 2eb4e6995..0ffef967b 100644--- a/frontend/test/helpers.ts+++ b/frontend/test/helpers.ts@@ -1,18 +1,5 @@import { vi } from 'vitest';-import type { ConfigurationData, ConfigurationProps } from '../src/islands/configuration';--/** 配置页的一份首屏。`islands.test.ts` 拿它当 Preact 档的样本——配置页是仅剩的一个。 */-export const configuration = (- overrides: Partial<ConfigurationData> = {},-): ConfigurationData => ({- editable: true, notice: '', revision: 'rev-1', media_dirs: ['D:\\Media'], port: 9123, facts: [],- ...overrides,-});--/** 遗留层传给 Preact 档的助手。换成可辨认的最小实现,断言只看 island 是否用了它们。 */-export const legacyProps = (): ConfigurationProps => ({ receipt: vi.fn<(message: string) => void>() });-/** 一个可手动兑现的 fetch:island 的等待窗口本身就是被测行为,不能靠 setTimeout 猜。 */export function deferredFetch(body: unknown) {let settle = (): void => {};diff --git a/frontend/test/islands.test.ts b/frontend/test/islands.test.tsindex ae342c078..88fdbc79d 100644--- a/frontend/test/islands.test.ts+++ b/frontend/test/islands.test.ts@@ -4,12 +4,9 @@ import { afterEach, beforeAll, describe, expect, it, vi } from 'vitest';import { islandMounted, islandNames, mountIsland, unmountIsland } from '../src/islands';import { queryClient } from '../src/react/query';-import { configuration, deferredFetch, legacyProps } from './helpers';+import { deferredFetch } from './helpers';-// Preact 档只剩配置页,它的四个分区本身是 React 子树;这里量的是挂载契约,不挂那四棵根。-vi.mock('../src/react-slot', () => ({ ReactSlot: () => null }));--// React 档挂的是一棵真的 React 根,更新要在 `act` 里落地,否则断言读到的是上一帧。+// 挂的是一棵真的 React 根,更新要在 `act` 里落地,否则断言读到的是上一帧。(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;const container = () => {@@ -20,14 +17,18 @@ const container = () => {return el;};-afterEach(() => {+afterEach(async () => {+ // 页面自己的轮询挂在 React 根上,只清 DOM 不卸载的话,它会一直敲到下一条用例里。+ await act(async () => {+ for (const el of [...document.body.children]) unmountIsland(el);+ });document.body.innerHTML = '';- // React 档的首屏落在共用的 Query 缓存里,它是模块级的,会活过单个用例。+ // 首屏落在共用的 Query 缓存里,它是模块级的,会活过单个用例。queryClient.clear();vi.unstubAllGlobals();});-/** React 档要先动态取回 React 产物再取数,中间隔几步不固定;等到条件成立为止。 */+/** 动态取回 React 产物再取数,中间隔几步不固定;等到条件成立为止。 */async function until(ok: () => boolean, what: string): Promise<void> {for (let step = 0; step < 100; step += 1) {if (ok()) return;@@ -38,8 +39,8 @@ async function until(ok: () => boolean, what: string): Promise<void> {describe('island 注册表', () => {it('登记的名字就是遗留路由能挂载的名字', () => {- expect(islandNames()).toEqual(- ['library-processing', 'scraping', 'quality-goals', 'configuration', 'activity']);+ expect(islandNames()).toEqual([+ 'avatar-picker', 'library-processing', 'scraping', 'quality-goals', 'configuration', 'activity']);});it('未注册的名字立刻失败,不是静默什么都不画', async () => {@@ -49,90 +50,22 @@ describe('island 注册表', () => {});});-/** 只有「通用」这一组要 `startup` 才画得出来,用它区分两趟取数回来的是哪一份。 */-const startup = {- available: true, enabled: false, silent: true, message: '', desktop: false, desktop_message: '',+const tasks = {+ available: true,+ running: [{+ id: 1, task_key: 'follow-check', task_label: '追更检查', trigger: 'manual', status: 'running',+ host: 'desk', started_at: '2026-09-11T10:00:00Z', finished_at: null, elapsed_seconds: 5,+ progress_current: null, progress_total: null, progress_label: '正在查第三个来源',+ result_summary: {}, error: '',+ }],+ skipped: [],+ finished: [],};-const groups = (el: Element) => [...el.querySelectorAll('.configgroup')].map((title) => title.textContent);describe('mountIsland', () => {- it('取数期间保留遗留骨架,数据到位才一次性换掉', async () => {- const fetch = deferredFetch(configuration());- fetch.install();- const el = container();- const mounting = mountIsland('configuration', el, legacyProps());- await Promise.resolve();- expect(el.querySelector('[data-skeleton]'), '骨架被提前撤掉会出现第二段等待态').not.toBeNull();- fetch.resolve();- await mounting;- expect(el.querySelector('[data-skeleton]')).toBeNull();- expect(el.querySelectorAll('.configpage')).toHaveLength(1);- });-- it('首屏取数失败时画出原因,不留在骨架上', async () => {- vi.stubGlobal('fetch', vi.fn(async () => ({- ok: false,- status: 500,- json: async () => ({ message: '账本当前只能浏览' }),- })));- const el = container();- await mountIsland('configuration', el, legacyProps());- expect(el.querySelector('.geist-note-error')?.textContent).toContain('账本当前只能浏览');- });-- it('取数期间用户走开就不画:遗留层换页的判据是代,不是信号', async () => {- const fetch = deferredFetch(configuration());- fetch.install();- const el = container();- let current = true;- const mounting = mountIsland('configuration', el, legacyProps(), {- isCurrent: () => current,- });- await Promise.resolve();- current = false;- fetch.resolve();- await mounting;- expect(el.querySelector('.configpage'), '页面已经换掉,数据不能盖上去').toBeNull();- expect(el.querySelector('[data-skeleton]')).not.toBeNull();- });-- it('重新挂载时上一次的迟到响应不再写进容器', async () => {- const stale = deferredFetch(configuration({ startup }));- stale.install();- const el = container();- const first = mountIsland('configuration', el, legacyProps());- await Promise.resolve();-- const fresh = deferredFetch(configuration());- fresh.install();- const second = mountIsland('configuration', el, legacyProps());- fresh.resolve();- await second;- stale.resolve();- await first;-- expect(el.querySelectorAll('.configpage')).toHaveLength(1);- expect(groups(el), '迟到的那一份带着「通用」,它不能盖到这一次的结果上')- .toEqual(['媒体', '更新与维护']);- });-});--describe('mountIsland 的 React 档', () => {// 第一次 `import('@peach/react')` 要现编译整棵 React 子树,比用例里的等待窗口长得多。beforeAll(async () => { await import('@peach/react') });- const tasks = {- available: true,- running: [{- id: 1, task_key: 'follow-check', task_label: '追更检查', trigger: 'manual', status: 'running',- host: 'desk', started_at: '2026-09-11T10:00:00Z', finished_at: null, elapsed_seconds: 5,- progress_current: null, progress_total: null, progress_label: '正在查第三个来源',- result_summary: {}, error: '',- }],- skipped: [],- finished: [],- };-it('先把首屏取回来再画,React 根挂在自己的 `.peach-react` 容器里', async () => {const fetch = deferredFetch(tasks);fetch.install();@@ -185,21 +118,40 @@ describe('mountIsland 的 React 档', () => {});});-describe('unmountIsland', () => {- it('中止在途取数并清空容器', async () => {- const fetch = deferredFetch(configuration());+const configuration = {+ editable: true, notice: '', revision: 'rev-1', media_dirs: ['D:\\Media'], port: 9123, facts: [],+ startup: { available: true, enabled: false, silent: true, message: '', desktop: false, desktop_message: '' },+ peach_proxy: { mode: 'environment', proxy_saved: false, needs_selection: false },+};++describe('配置页的分区拆分', () => {+ beforeAll(async () => { await import('@peach/react') });++ /* 遗留壳按 `.configgroup` 小标题把后面的兄弟节点切进左栏那一列(`configTabItems`),+ 设置弹层挂完这一页紧接着就读它。`mountIsland` 返回时结构必须已经在 DOM 上——所以+ React 根的第一帧走 `flushSync`(`react/entry.tsx` 的 `mounter`)。+ 分区自己怎么排在 `test/react/configuration.test.tsx`。 */+ it('挂载返回的那一刻,小标题和它的分区已经在容器里', async () => {+ const fetch = deferredFetch(configuration);fetch.install();const el = container();- const mounting = mountIsland('configuration', el, legacyProps());- await Promise.resolve();- unmountIsland(el);- await mounting;- expect(fetch.signal()?.aborted, '离开页面必须真的中止请求').toBe(true);- expect(el.querySelector('.configpage')).toBeNull();- expect(el.querySelector('[data-skeleton]'),- '还没画过就卸载时容器里是遗留骨架,island 不该清掉不属于它的东西').not.toBeNull();+ await act(async () => {+ const mounting = mountIsland('configuration', el, { receipt: vi.fn() });+ await until(() => fetch.fetched.mock.calls.length > 0, '取数发出去');+ fetch.resolve();+ await mounting;+ const titles = [...el.querySelectorAll('.configgroup')].map((title) => title.textContent);+ expect(titles, '标题还没落到 DOM 上,壳那一刻就拆不出分区')+ .toEqual(['通用', '媒体', '网络与访问', '更新与维护']);+ expect(el.querySelector('.configpage')?.parentElement?.classList.contains('peach-react')).toBe(true);+ });});+});++describe('unmountIsland', () => {+ beforeAll(async () => { await import('@peach/react') });+it('没挂载过的容器是空操作,不抛错也不动 DOM', () => {const el = container();unmountIsland(el);@@ -207,17 +159,15 @@ describe('unmountIsland', () => {});it('容器上挂没挂着,遗留层问得出来', async () => {- vi.stubGlobal('fetch', vi.fn(async () => ({- ok: true, status: 200, json: async () => configuration(),- })));+ vi.stubGlobal('fetch', vi.fn(async () => ({ ok: true, status: 200, json: async () => tasks })));const el = container();expect(islandMounted(el)).toBe(false);// 取数还没回来也算挂着:这段时间里再挂一次会把在途那次作废,白等一趟。- const mounting = mountIsland('configuration', el, legacyProps());+ const mounting = mountIsland('activity', el, {});expect(islandMounted(el)).toBe(true);- await mounting;+ await act(async () => { await mounting });expect(islandMounted(el)).toBe(true);- unmountIsland(el);+ await act(async () => { unmountIsland(el) });expect(islandMounted(el)).toBe(false);// 遗留层拿到的可能是个空引用——那时页面上根本没有这个容器。expect(islandMounted(null)).toBe(false);diff --git a/frontend/test/react/avatar-picker.test.tsx b/frontend/test/react/avatar-picker.test.tsxnew file mode 100644index 000000000..5a65428e8--- /dev/null+++ b/frontend/test/react/avatar-picker.test.tsx@@ -0,0 +1,180 @@+/* 换头像:点开之前不取候选,点开之后三条路交什么、换不成时说什么。+ *+ * 弹层由 React Aria 渲染到挂载容器外面,所以这里的查询都从整页找。+ * 外观(遮罩、网格列数)由 `frontend/e2e/design.test.ts` 读 `getComputedStyle` 断言。 */+import { act } from 'react';+import { notifyManager, QueryClientProvider } from '@tanstack/react-query';+import { afterEach, expect, it, vi } from 'vitest';++import type { AvatarChoice } from '../../src/react/avatar-picker/avatar-picker';+import { AvatarPicker } from '../../src/react/avatar-picker/avatar-picker-page';+import { queryClient } from '../../src/react/query';++import { buttonNamed, click, mount, settle, type } from './render';++afterEach(() => { queryClient.clear() });++/* Query 派发更新用的是它自己抓住的那个真 `setTimeout(0)`,用例里的等待推不动它。 */+notifyManager.setScheduler((notify) => notify());++const choice = (over: Partial<AvatarChoice> = {}): AvatarChoice => ({+ ref: 'gfriends:7-S1/葵つかさ.jpg',+ source: 'gfriends',+ label: '7-S1',+ width: 0,+ height: 0,+ detail: '葵つかさ.jpg',+ found_by: '',+ current: false,+ ...over,+});++const listing = (choices: AvatarChoice[], extra: Record<string, unknown> = {}) => ({+ kind: 'performer', entity_id: 7792, names: ['葵司', '葵つかさ'],+ matched_names: ['葵つかさ'], choices, index_age_hours: 2, index_stale: false, ...extra,+});++type Call = [string, RequestInit];++/** 第一次取候选、之后每次提交都成功。 */+function server(body: unknown) {+ const calls: Call[] = [];+ const fetched = vi.fn(async (input: string, init?: RequestInit) => {+ calls.push([input, init || {}]);+ return { ok: true, status: 200, json: async () => (init?.method === 'POST' ? { ok: true } : body) };+ });+ vi.stubGlobal('fetch', fetched);+ return calls;+}++const sent = (calls: Call[], n: number): Call => calls[n] as Call;+const body = (calls: Call[], n: number) => JSON.parse(String(sent(calls, n)[1].body));++const cells = () => [...document.querySelectorAll<HTMLElement>('[data-avatar-choice]')];+const dialog = () => document.querySelector('[role="dialog"]');++/** 挂上资料页那个加号,并点开弹层。 */+async function openPicker(props: Record<string, unknown> = {}) {+ const picked = vi.fn();+ const host = await mount(+ <QueryClientProvider client={queryClient}>+ <AvatarPicker kind="performer" entityId={7792} name="葵司" onPicked={picked} {...props} />+ </QueryClientProvider>,+ );+ await click(host.querySelector('button'));+ await settle();+ return { host, picked };+}++it('候选到点开才取,图片只带服务端列出来的 ref', async () => {+ const calls = server(listing([+ choice(), choice({ ref: 'sha256:abc', source: 'history', label: 'twitter', current: true }),+ ]));+ const picked = vi.fn();+ const host = await mount(+ <QueryClientProvider client={queryClient}>+ <AvatarPicker kind="performer" entityId={7792} name="葵司" onPicked={picked} />+ </QueryClientProvider>,+ );+ // 资料页每进一次就预取一遍的话,多数时候没人点开这一屏。+ expect(calls).toHaveLength(0);+ expect(dialog()).toBeNull();++ await click(host.querySelector('button'));+ await settle();+ expect(sent(calls, 0)[0]).toBe('/api/avatar-choices?kind=performer&id=7792');+ expect(cells()).toHaveLength(2);+ expect(cells()[0]?.querySelector('img')?.getAttribute('src'))+ .toBe('/avatar-choice?kind=performer&id=7792&ref=gfriends%3A7-S1%2F%E8%91%B5%E3%81%A4%E3%81%8B%E3%81%95.jpg');+ // 在用的那张标出来,但照样可点——换回去和换过去是同一件事。+ expect(cells()[1]?.getAttribute('aria-selected')).toBe('true');+ expect(cells()[1]?.getAttribute('aria-disabled')).toBeNull();+ expect(cells()[1]?.textContent).toContain('在用');+});++it('图库里的名字与页面上的不同名时说清按谁找到的', async () => {+ server(listing([choice()]));+ await openPicker();+ expect(dialog()?.textContent).toContain('图库里按「葵つかさ」找到的');+});++it('好几个名字各带回一批图时,每一格说清自己是按哪个名字找到的', async () => {+ // 找错人是这一屏唯一会出的大错,而名字是唯一的线索:整屏只报一句「图库里找到的」,+ // 一张同名不同人的图就没有任何能让人起疑的地方。+ server(listing(+ [choice({ found_by: '葵つかさ' }),+ choice({ ref: 'gfriends:3-Prestige/葵ツカサ.jpg', label: '3-Prestige', found_by: '葵ツカサ' })],+ { matched_names: ['葵つかさ', '葵ツカサ'] }));+ await openPicker();+ expect(dialog()?.textContent).toContain('图库里按「葵つかさ」「葵ツカサ」找到的');+ expect(cells()[0]?.getAttribute('title')).toContain('按「葵つかさ」找到');+ expect(cells()[1]?.getAttribute('title')).toContain('按「葵ツカサ」找到');+});++it('点一张就提交,换完关掉弹层并让宿主重画', async () => {+ const calls = server(listing([choice()]));+ const { picked } = await openPicker();+ await click(cells()[0]);+ await settle();+ expect(sent(calls, 1)[0]).toBe('/api/avatar-pick');+ expect(body(calls, 1)).toEqual({ kind: 'performer', id: 7792, ref: 'gfriends:7-S1/葵つかさ.jpg' });+ expect(picked).toHaveBeenCalledOnce();+ expect(dialog()).toBeNull();+});++it('换过之后再点开重新取,「在用」不停在上一次那一格', async () => {+ const calls = server(listing([choice(), choice({ ref: 'sha256:abc', source: 'history', label: 'twitter' })]));+ const { host } = await openPicker();+ await click(cells()[0]);+ await settle();+ await click(host.querySelector('button'));+ await settle();+ expect(calls.filter(([url]) => url.startsWith('/api/avatar-choices'))).toHaveLength(2);+});++it('地址栏填了才允许提交,提交的是 url 而不是 ref', async () => {+ const calls = server(listing([]));+ await openPicker();+ expect(buttonNamed('用这个地址')?.disabled).toBe(true);+ await type(document.querySelector<HTMLInputElement>('input[aria-label="图片地址"]'), ' https://example.com/a.jpg ');+ expect(buttonNamed('用这个地址')?.disabled).toBe(false);+ await click(buttonNamed('用这个地址'));+ await settle();+ expect(body(calls, 1)).toEqual({ kind: 'performer', id: 7792, url: 'https://example.com/a.jpg' });+});++it('本机选的图按原字节发出去,名字走查询串', async () => {+ const calls = server(listing([]));+ await openPicker();+ const file = new File([new Uint8Array([1, 2, 3])], '我的图.jpg', { type: 'image/jpeg' });+ const input = document.querySelector<HTMLInputElement>('input[type=file]')!;+ Object.defineProperty(input, 'files', { value: [file], configurable: true });+ // 按钮只是把点击转给这个输入框,挑完文件由浏览器派发 change。+ await act(async () => { input.dispatchEvent(new Event('change', { bubbles: true })) });+ await settle();+ expect(sent(calls, 1)[0]).toBe('/api/avatar-pick?kind=performer&id=7792&name=%E6%88%91%E7%9A%84%E5%9B%BE.jpg');+ expect(sent(calls, 1)[1].body).toBe(file);+});++it('换不成时弹层留在原地,原因写在里面', async () => {+ vi.stubGlobal('fetch', vi.fn(async (_input: string, init?: RequestInit) => (+ init?.method === 'POST'+ ? { ok: false, status: 400, json: async () => ({ error: '只接受指向公网的 https 地址' }) }+ : { ok: true, status: 200, json: async () => listing([choice()]) }+ )));+ const { picked } = await openPicker();+ await click(cells()[0]);+ await settle();+ expect(dialog()?.querySelector('[role="alert"]')?.textContent).toContain('只接受指向公网的 https 地址');+ expect(picked).not.toHaveBeenCalled();+ expect(dialog()).not.toBeNull();+});++it('图库索引还没取过时只剩手填那两条路', async () => {+ server(listing([], { matched_names: [], index_age_hours: null, index_stale: true }));+ await openPicker();+ expect(cells()).toHaveLength(0);+ expect(dialog()?.textContent).toContain('图库索引还没取过');+ expect(buttonNamed('从本机选图片')).not.toBeNull();+ expect(document.querySelector('input[type=file]')).not.toBeNull();+});diff --git a/frontend/test/react/configuration.test.tsx b/frontend/test/react/configuration.test.tsxnew file mode 100644index 000000000..067caef48--- /dev/null+++ b/frontend/test/react/configuration.test.tsx@@ -0,0 +1,101 @@+/* 配置页整页:四个分区怎么排,取不到配置时说什么,以及「一份数据一个读者」。+ *+ * 分区的小标题是遗留壳拆左栏页签的依据(`web/app.js` 的 `configTabItems` 按 `.configgroup`+ * 切后面的兄弟节点),所以这里量的是结构,不是外观。各分区内部的行为在+ * `general-network-settings`、`media-settings`、`maintenance-settings` 几份用例里。 */+import { notifyManager, QueryClientProvider } from '@tanstack/react-query';+import { afterEach, expect, it, vi } from 'vitest';++import { CONFIGURATION_URL } from '../../src/configuration-endpoints';+import type { ConfigurationData } from '../../src/react/bundle';+import { queryClient } from '../../src/react/query';+import { CONFIGURATION_KEY, prefetchConfiguration } from '../../src/react/settings/configuration';+import { ConfigurationPage } from '../../src/react/settings/configuration-page';++import { buttonNamed, click, mount, section, settle, type } from './render';++// 客户端是模块级的单例(所有 React 根共用一个),用例之间不清就互相喂数据。+afterEach(() => { queryClient.clear() });++/* Query 派发更新用的是它自己抓住的那个真 `setTimeout(0)`,用例里的等待推不动它:+ 断言到的还是上一帧的 DOM。改成当场派发。 */+notifyManager.setScheduler((notify) => notify());++const data = (over: Partial<ConfigurationData> = {}): ConfigurationData => ({+ editable: true, notice: '', revision: 'rev-1', media_dirs: ['D:\\Media'], port: 9123, facts: [], ...over,+});++const startup = {+ available: true, enabled: false, silent: true, message: '', desktop: false, desktop_message: '',+};++/** 除了配置本身,页面上还有按自己节律问的块(播放兼容修复)。按路径应答,别的路径直接空转。 */+function serve(config: ConfigurationData) {+ const calls: string[] = [];+ const fetcher = vi.fn(async (path: string) => {+ calls.push(path);+ if (path === CONFIGURATION_URL) return { ok: true, status: 200, json: async () => config };+ return { ok: true, status: 200, json: async () => ({ status: 'idle' }) };+ });+ vi.stubGlobal('fetch', fetcher);+ return calls;+}++/** 走完真实的首屏路径:先 `prefetch` 把配置落进缓存,再挂页面。 */+async function open(config: ConfigurationData, receipt = vi.fn()) {+ serve(config);+ await prefetchConfiguration(new AbortController().signal);+ const host = await mount(+ <QueryClientProvider client={queryClient}><ConfigurationPage receipt={receipt} /></QueryClientProvider>,+ );+ return host;+}++const groups = (host: ParentNode) => [...host.querySelectorAll('.configgroup')].map((title) => title.textContent);++it('四个分区各有小标题,标题和分区交替排在 `.configpage` 的第一层', async () => {+ const host = await open(data({+ startup, peach_proxy: { mode: 'environment', proxy_saved: false, needs_selection: false },+ }));+ expect(groups(host)).toEqual(['通用', '媒体', '网络与访问', '更新与维护']);+ const page = host.querySelector('.configpage')!;+ expect([...page.children].map((node) => node.classList.contains('configgroup')))+ .toEqual([true, false, true, false, true, false, true, false]);+});++it('没有内容的组连标题一起省略', async () => {+ const host = await open(data());+ expect(groups(host)).toEqual(['媒体', '更新与维护']);+ expect(host.textContent).not.toContain('开机自启');+ expect(host.textContent).not.toContain('Peach 代理');+});++it('取不到配置就说打不开,连同服务端给的那句原因', async () => {+ vi.stubGlobal('fetch', vi.fn(async () => ({+ ok: false, status: 503, json: async () => ({ message: '账本正在迁移' }),+ })));+ const host = await mount(+ <QueryClientProvider client={queryClient}><ConfigurationPage receipt={vi.fn()} /></QueryClientProvider>,+ );+ await settle();+ const note = host.querySelector('[role="alert"]');+ expect(note?.textContent).toContain('打不开配置');+ expect(note?.textContent).toContain('账本正在迁移');+ expect(host.querySelector('.configgroup')).toBeNull();+});++/* 刷新挂载状态重取的是整份配置。它换进整页那一个 `queryKey`:屏幕上只有一份真相,+ 另存一份的话,挂载点在那一块是新的、在上面那张表单里还是旧的。 */+it('刷新挂载状态换掉整页那一份配置,不动没保存的路径', async () => {+ const offline = { location: '115', path: 'B:/', root: 'B:/', online: false };+ const host = await open(data({ windows: true, media_sources: [offline] }));+ serve(data({ windows: true, media_sources: [{ ...offline, online: true }], revision: 'rev-2' }));++ await type(host.querySelector<HTMLInputElement>('input[aria-label^="媒体文件夹 "]'), 'B:/Movies');+ await click(buttonNamed('刷新挂载状态', host));+ await settle();++ expect(section(host, '挂载状态')?.textContent).toContain('在线');+ expect(host.querySelector<HTMLInputElement>('input[aria-label^="媒体文件夹 "]')?.value).toBe('B:/Movies');+ expect(queryClient.getQueryData<ConfigurationData>(CONFIGURATION_KEY)?.revision).toBe('rev-2');+});diff --git a/frontend/test/react/media-settings.test.tsx b/frontend/test/react/media-settings.test.tsxindex 0264ed267..2ea1cc842 100644--- a/frontend/test/react/media-settings.test.tsx+++ b/frontend/test/react/media-settings.test.tsx@@ -67,18 +67,8 @@ describe('媒体文件夹', () => {.toEqual(['#i-fixture-115', '#i-fixture-pikpak', '#i-hard-drive']);});- it('刷新挂载状态只换状态,不动没保存的路径', async () => {- const media_sources = [{ location: '115', path: 'B:/', root: 'B:/', online: false }];- const fetcher = fetchMock(200, data({ media_sources: [{ ...media_sources[0]!, online: true }] }));- vi.stubGlobal('fetch', fetcher);- const host = await open({ windows: true, media_sources });- await type(paths(host)[0], 'B:/Movies');- await click(buttonNamed('刷新挂载状态', host));- await settle();- expect(fetcher.mock.calls[0]?.[0]).toBe(CONFIGURATION_URL);- expect(paths(host)[0]?.value).toBe('B:/Movies');- expect(section(host, '挂载状态')?.textContent).toContain('在线');- });+ /* 「刷新挂载状态」重取的是整份配置、换进整页那一个 `queryKey`,那条用例在+ `configuration.test.tsx` 里:只挂这一个分区,看不出换进去之后谁读到了新的。 */it('按来源回填全部挂载点,提交带上盘符映射与媒体库', async () => {const fetcher = fetchMock(200, { saved: true, url: '/', revision: 'rev-2' });diff --git a/frontend/tsconfig.json b/frontend/tsconfig.jsonindex 07aa5212e..9f8691416 100644--- a/frontend/tsconfig.json+++ b/frontend/tsconfig.json@@ -5,7 +5,6 @@"moduleResolution": "bundler","lib": ["ES2022", "DOM", "DOM.Iterable"],"jsx": "react-jsx",- "jsxImportSource": "preact","strict": true,"noUncheckedIndexedAccess": true,@@ -28,6 +27,6 @@}},"include": ["src", "test", "vite.config.ts", "vite.react.config.ts", "vitest.config.ts"],- // React 子树按 React JSX 检查,入口是 src/react/tsconfig.json(`npm run typecheck` 两份都跑)。+ // React 子树另有一份放宽过的配置,入口是 src/react/tsconfig.json(`npm run typecheck` 两份都跑)。"exclude": ["src/react", "test/react"]}diff --git a/src/peach/routes_configuration.py b/src/peach/routes_configuration.pyindex 19a592601..2b05b5cd6 100644--- a/src/peach/routes_configuration.py+++ b/src/peach/routes_configuration.py@@ -1,7 +1,7 @@"""本机配置的 JSON 契约:读取、校验、原子保存与托盘重启请求。-页面外壳是 `frontend/src/islands/configuration.tsx`,各分区是 `frontend/src/react/settings/`-下的 React 子树,挂在主站的 `/configuration` 路由里(ADR-0031);这里只回数据。两道门都在服务端:只放行本机连接,只在托盘管理的服务里可写。+页面整个是 `frontend/src/react/settings/` 下的 React 子树(入口 `configuration-page.tsx`),+挂在主站的 `/configuration` 路由里(ADR-0031);这里只回数据。两道门都在服务端:只放行本机连接,只在托盘管理的服务里可写。手机上的管理菜单不列这一页,靠的是 `/healthz` 的 `configurable`,但那只是入口的显隐,拒绝写入的判定在这里。"""diff --git a/tests/test_frontend_build.py b/tests/test_frontend_build.pyindex 7434e03a7..0850cdeec 100644--- a/tests/test_frontend_build.py+++ b/tests/test_frontend_build.py@@ -150,9 +150,9 @@ class ReactBundleTests(unittest.TestCase):"""island 按 `@peach/react` 写,产物里必须改写成服务端真的提供的路径,且 React 不进 peach-ui.js。"""self.assertIn('import("/dist/peach-react.js")', self.islands)self.assertNotIn("react-dom", self.islands)- for mount in ("mountGeneralSettings", "mountMediaSettings", "mountNetworkSettings",- "mountMaintenanceSettings"):- self.assertIn(mount, self.react)+ # 注册表按名字取页面,名字得在产物里对得上。+ for page in ("avatar-picker", "library-processing", "quality-goals", "configuration"):+ self.assertIn(page, self.react)def test_the_react_bundle_keeps_the_legacy_modules_external(self):self.assertIn('from "/js/core.js"', self.react)@@ -250,6 +250,15 @@ class FrontendManifestTests(unittest.TestCase):self.assertNotIn("vite", root.get("devDependencies", {}))self.assertNotIn("preact", root.get("dependencies", {}))+ def test_the_frontend_has_no_preact_left(self):+ """前端只有 React 一档(ADR-0031):留着 Preact 就是两套运行时各打一份进产物。"""+ manifest = json.loads((FRONTEND / "package.json").read_text(encoding="utf-8"))+ for section in ("dependencies", "devDependencies"):+ self.assertNotIn("preact", manifest.get(section, {}))+ config = json.loads(re.sub(r"^\s*//.*$", "", (FRONTEND / "tsconfig.json")+ .read_text(encoding="utf-8"), flags=re.M))+ self.assertNotIn("jsxImportSource", config["compilerOptions"])+def test_dependabot_watches_the_frontend_manifest(self):dependabot = (ROOT / ".github" / "dependabot.yml").read_text(encoding="utf-8")self.assertIn("directory: /frontend", dependabot)@@ -275,7 +284,7 @@ class FrontendManifestTests(unittest.TestCase):["git", "-C", str(ROOT), "check-ignore", "web/dist/peach-ui.js"],capture_output=True, text=True, encoding="utf-8", errors="replace", check=False)self.assertEqual(tracked.returncode, 1, "web/dist 被 .gitignore 排除了,产物发不出去")- for ignored in ("frontend/node_modules/preact/package.json",):+ for ignored in ("frontend/node_modules/react/package.json",):result = subprocess.run(["git", "-C", str(ROOT), "check-ignore", ignored],capture_output=True, text=True, encoding="utf-8",errors="replace", check=False)@@ -379,7 +388,7 @@ class LibraryProcessingEndpointTests(unittest.TestCase):class ConfigurationEndpointTests(unittest.TestCase):- """配置页的 Preact 外壳和 React 分区读同一条 `/api/configuration`,两份产物各打包一份。"""+ """整页和各分区读同一条 `/api/configuration`,两份产物各打包一份这个模块。"""def test_the_endpoint_is_declared_once(self):sources = sorted(path for path in (FRONTEND / "src").rglob("*.ts*"))@@ -387,6 +396,13 @@ class ConfigurationEndpointTests(unittest.TestCase):if "'/api/configuration'" in path.read_text(encoding="utf-8")]self.assertEqual(declared, ["configuration-endpoints.ts"], f"端点声明在 {declared}")+ def test_the_first_screen_and_the_sections_share_one_query_key(self):+ """挂载状态那一块重取回来的是整份配置,换进整页那一个键:屏幕上只有一份真相。"""+ sources = sorted(path for path in (FRONTEND / "src" / "react").rglob("*.ts*"))+ declared = [path.name for path in sources+ if "CONFIGURATION_KEY = [" in path.read_text(encoding="utf-8")]+ self.assertEqual(declared, ["configuration.ts"], f"queryKey 声明在 {declared}")+class SharedStateContractTests(unittest.TestCase):"""一份数据有第二个读者时,两个读者读同一个 `queryKey`(ADR-0031)。diff --git a/tests/test_metadata_library.py b/tests/test_metadata_library.pyindex 5d8aa108d..00a56e28b 100644--- a/tests/test_metadata_library.py+++ b/tests/test_metadata_library.py@@ -601,7 +601,7 @@ class LibraryNfoTests(unittest.TestCase):self.assertIn("catalogEmptyHtml({configurable:runtimeConfigurable})}</div>", source)self.assertIn("unmountIsland($('#libraryProcessingNotice'))", source)self.assertIn("mode:'notice'", source)- configuration = (root / 'frontend/src/islands/configuration.tsx').read_text(encoding='utf-8')+ configuration = (root / 'frontend/src/react/settings/configuration-page.tsx').read_text(encoding='utf-8')self.assertNotIn("'/api/library-processing'", configuration)self.assertIn('toast,monitor:true,onComplete:', source)diff --git a/tests/test_web_ui.py b/tests/test_web_ui.pyindex 0b3c32281..4dc28157a 100644--- a/tests/test_web_ui.py+++ b/tests/test_web_ui.py@@ -1543,7 +1543,7 @@ class WebUiSourceTests(unittest.TestCase):css = stylesheet_source()# 播放列表那几个弹层没有自己的关闭键:它们穿 Geist Modal,退出走操作条左端的# 取消、Escape 和点遮罩,右上角不再另摆一个叉。- for selector in (".mixqueuehead button{", ".settingshead button,.avatarpick-close{"):+ for selector in (".mixqueuehead button{", ".settingshead button{"):start = css.index(selector)rule = css[start:css.index("}", start)]self.assertIn("var(--control-radius)", rule,@@ -1557,37 +1557,16 @@ class WebUiSourceTests(unittest.TestCase):self.assertIn("border-radius:50%", media_close,"全屏媒体关闭钮属于圆形媒体操作,不沿用普通 Dialog 关闭钮")self.assertIn(- ".settingshead button:hover,.avatarpick-close:hover"- "{background:var(--hover);color:var(--ink)}", css)- # 换头像弹层右上角那颗跟设置弹层是同一颗:并在同一条选择器上,不另画一遍。- # 同时要进纯图标按钮那条名单——`<button>` 的 UA 样式带 `padding:1px 6px`,- # 24px 的键只剩 12px 内容宽,16px 的图标挤到一边,看着就是那个叉没居中。+ ".settingshead button:hover{background:var(--hover);color:var(--ink)}", css)+ # 纯图标按钮要进那条名单——`<button>` 的 UA 样式带 `padding:1px 6px`,24px 的键+ # 只剩 12px 内容宽,16px 的图标挤到一边,看着就是那个叉没居中。board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")- self.assertIn(".settingscard .settingshead button,.avatarpick-close{", board)+ self.assertIn(".settingscard .settingshead button{", board)icon_only = [line for line in board.splitlines()- if line.startswith(":is(.settingshead button,.avatarpick-close,")]- self.assertTrue(icon_only, "换头像的关闭键不在纯图标按钮那条名单里")+ if line.startswith(":is(.settingshead button,")]+ self.assertTrue(icon_only, "设置弹层的关闭键不在纯图标按钮那条名单里")self.assertIn("padding:0", icon_only[0])- def test_the_avatar_picker_puts_the_grid_straight_on_the_card(self):- """换头像弹层一张面到底:候选网格不另外套底色、描边或圆角。-- 候选图本身就是一格一格的方块,外面再套一个沉下去的底加一圈框,等于给同一件事- 画了两层边界。卡片面用 --page 而不是 `.geist-modal` 自己的 --surface:board.css- 把面色重排过,--surface 浅色是 #fff、暗色是 #262626,拿它当卡片面,暗色里这张- 卡会比它盖住的页面还亮一档。- """- css = stylesheet_source()- self.assertIn(".avatarpick-popover{background:var(--page)}", css)- panel = css[css.index(".avatarpick-panel{"):]- panel = panel[:panel.index("}")]- self.assertIn("border-top:1px solid var(--line-soft)", panel)- self.assertNotIn("background:", panel)- wrap = css[css.index(".avatarpick-gridwrap{"):]- wrap = wrap[:wrap.index("}")]- for absent in ("background:", "border:", "border-radius:"):- self.assertNotIn(absent, wrap, "网格外面不再套一层框")-def test_an_open_collapse_stops_cropping_what_is_inside_it(self):"""展开着不动时那道裁边摘掉:高度过渡需要它,展开完就只剩副作用。@@ -1621,21 +1600,6 @@ class WebUiSourceTests(unittest.TestCase):self.assertIn(".fauthorhead>.fmeta~.fmeta,.fauthorhead>.fmeta~.board-author-actions""{margin-left:0}", board, "撑开的空当只交给第一个 .fmeta")- def test_the_avatar_picker_leaves_the_same_gap_above_and_below_its_actions(self):- """底下那排手填地址上下各留 20px,跟网格滚到哪儿无关。-- 上方那道留白整份由这一排自己出。交给网格的 `padding-bottom` 的话,它只在滚到底时- 才露出来——没滚到底时最后一行图正被下沿裁着,紧接着就是这一排,上面看着只剩几个- 像素,下面却是满的。- """- css = stylesheet_source()- grid = css[css.index(".avatarpick-grid{"):]- grid = grid[:grid.index("}")]- self.assertIn("padding:16px 20px 0", grid, "网格自己不留下边距")- actions = css[css.index(".avatarpick-actions{"):]- actions = actions[:actions.index("}")]- self.assertIn("padding:20px", actions)-def test_history_actions_are_one_split_button_with_the_primary_mirrored(self):"""读取本机浏览记录和导入历史文件是同一件事的两种做法,合成一个 Split Button。@@ -8539,9 +8503,6 @@ class WebUiSourceTests(unittest.TestCase):"""新增 CSS 省略必须先决定它是语义文本,还是应改用 MiddleTruncate。"""reviewed_end_selectors = {".alphatag span:first-of-type", ".av .nm",- # 候选格底下那行是来源名(`S1`、`用过的`),一格只有 80 像素宽。它是语义- # 文本不是标识符:中间截断会把「Hand-Storage」切成看不出是哪来的两截。- ".avatarpick-cell span",".entitylinklabel",".fauthor .fsource.frow>b", ".fauthorhead b",# 作者是展示名,尾部省略;完整身份保留在 title。diff --git a/web/app.js b/web/app.jsindex 81efdc81e..a2ec3289b 100644--- a/web/app.js+++ b/web/app.js@@ -411,6 +411,8 @@ const claimSurface=path=>{管取数的根:不卸掉它,离开之后那棵根还活着,有轮询的页面照着原节律继续敲库。没挂过东西的容器 unmountIsland 直接返回,逐页判断反而会漏掉新迁过来的那一页。 */unmountIsland($('#stats'));+ /* 资料页那块(换头像挂在它的圆框上)在管理区打开时只是被藏起来,DOM 还在。 */+ unmountIsland($('#index'));surfaceRequests?.abort();surfaceRequests=new AbortController();surfaceEpoch++;return surfaceToken(path)};@@ -4228,6 +4230,9 @@ function showHomeSurfaces(){// 两个类都要清:只清 entity-open 会让从索引页回首页时顶栏一直空着,// 而且下面那两行 style.display='' 恢复不了被 class 隐藏的元素。document.body.classList.remove('entity-open','index-open');+ /* 索引页和资料页都画进 #index,两条路都先经过这里再 `innerHTML=`:直接盖掉的话,+ 上一页挂在里面的 React 根(换头像)就没人卸,留着一棵管着已经不在页面上的节点的根。 */+ unmountIsland($('#index'));$('#stats').hidden=true;$('#index').hidden=true;$('#tiers').style.display='';$('#tagbar').style.display='';buildManageBar();paintListTitle(); // 放在最后:管理区要盖掉上面刚恢复的首页横条@@ -8942,9 +8947,11 @@ async function openEntity(kind,name,push=true){不是「哪一张适合当头像」:图库排第一的常是写真封面,同一个人往下翻几张就有片商的正脸原图。换完重进这一页——头像索引在服务端已经失效过一次,重画才读得到新图。 */const pickerHost=$('#index').querySelector('[data-avatar-picker]');- if(pickerHost&&d.id)import('/dist/peach-ui.js').then(ui=>ui.mountAvatarPicker(pickerHost,{- kind,id:Number(d.id),name:d.canonical_name||name,- onPicked:()=>openEntity(kind,name,false)}));+ if(pickerHost&&d.id)import('/dist/peach-ui.js').then(ui=>ui.mountIsland('avatar-picker',pickerHost,{+ kind,entityId:Number(d.id),name:d.canonical_name||name,+ onPicked:()=>openEntity(kind,name,false)},+ // 取产物要等一个来回,这期间页面可能已经重画了:那时这个容器已经不在 #index 里。+ {isCurrent:()=>$('#index').contains(pickerHost)}));// 资料页的标签和顶部标签条是同一个开关,读的写的都是这一页的筛选。$('#index').querySelectorAll('[data-entity-tag]').forEach(b=>b.onclick=()=>toggleTag(b.dataset.entityTag));diff --git a/web/board.css b/web/board.cssindex ab9af679f..30891994a 100644--- a/web/board.css+++ b/web/board.css@@ -36,8 +36,8 @@标题像是第一行设置。 */.settingscard.settingscard .settingshead{grid-column:2;grid-row:1;padding:32px 32px 24px;background:transparent;border:0}.settingscard .settingshead h2{font-size:20px;font-weight:500;line-height:28px}-.settingscard .settingshead button,.avatarpick-close{width:24px;height:24px;border-radius:50%;background:var(--surface)}-.settingscard .settingshead button svg,.avatarpick-close svg{width:16px;height:16px}+.settingscard .settingshead button{width:24px;height:24px;border-radius:50%;background:var(--surface)}+.settingscard .settingshead button svg{width:16px;height:16px}.settingscard.settingscard .settingsscroll{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}/* 右侧这一栏和「这台电脑」下的配置页是同一套分区:标题与页底是 `--page`,每组开关行坐在一张 `--ground` 灰卡上,16px 圆角、左内边距 12px,行的分隔线在卡片左沿内 12px 收住——@@ -784,9 +784,9 @@ body>.board-filter-frame{margin-inline:16px}}@media(max-width:760px){.settingspanel.settingspanel{padding:12px;grid-template-columns:minmax(0,1fr)}.settingscard.settingscard{width:calc(100vw - 24px);max-width:calc(100vw - 24px);min-width:0}.settingscard .settingsscroll .settingrow:has(.board-optional-number){grid-template-columns:minmax(0,1fr) auto;gap:12px}.settingscard>.board-local-nav{min-width:0;max-width:100%}}/* 纯图标按钮不继承浏览器按钮的水平内边距。 */-:is(.settingshead button,.avatarpick-close,.srctools button,.detailtitletools button,.sidebarorderrow button,#drawerClose){padding:0;display:inline-grid;place-items:center;line-height:1;flex-shrink:0}-:is(.settingshead button,.avatarpick-close,.srctools button,.detailtitletools button,.sidebarorderrow button,#drawerClose)>svg{display:block;margin:0;flex-shrink:0;align-self:center;justify-self:center}-:is(.settingshead button,.avatarpick-close,.srctools button,.detailtitletools button,.sidebarorderrow button,#drawerClose)[hidden]{display:none}+:is(.settingshead button,.srctools button,.detailtitletools button,.sidebarorderrow button,#drawerClose){padding:0;display:inline-grid;place-items:center;line-height:1;flex-shrink:0}+:is(.settingshead button,.srctools button,.detailtitletools button,.sidebarorderrow button,#drawerClose)>svg{display:block;margin:0;flex-shrink:0;align-self:center;justify-self:center}+:is(.settingshead button,.srctools button,.detailtitletools button,.sidebarorderrow button,#drawerClose)[hidden]{display:none}.closestage{padding:0;display:grid;place-items:center;line-height:1;border-radius:50%;background:var(--surface);color:var(--ink)}.closestage svg{display:block;margin:0;justify-self:center;align-self:center}diff --git a/web/css/07-entity.css b/web/css/07-entity.cssindex 818400702..db02c7e02 100644--- a/web/css/07-entity.css+++ b/web/css/07-entity.css@@ -122,94 +122,3 @@`.entitybatch`。 */.photoback{display:flex;align-items:center;gap:4px;height:28px;padding:0 10px 0 6px;border:1px solid var(--line);border-radius:var(--control-radius);background:transparent;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer}--/* 换头像。加号压在圆框右下角那一圈上——它属于这张头像,离得远了就成了页面上一个- 不知道管什么的按钮。 */-.avatarpick-open{position:absolute;right:4px;bottom:4px;width:32px;height:32px;display:grid;- place-items:center;border:0;border-radius:50%;background:var(--ground);color:var(--ink-2);- box-shadow:0 0 0 1px var(--line);cursor:pointer;z-index:2}-.avatarpick-open:hover{color:var(--ink);box-shadow:0 0 0 1px var(--ink-2)}-.avatarpick-open svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;- stroke-linecap:round}-/* 弹层本体是 `.geist-modal`,这里接管三件事:放宽到能摆下一排候选、把它切成- 「头部 / 网格 / 操作」三层,以及换成设置弹层那套开合动画。- 三层是为了只留一条滚动条:`.geist-modal` 自己 `overflow:hidden auto`,网格再自己- 滚一次,同一屏里就有两条并排的竖条,滚哪条都只动一半内容。 */-.avatarpick-popover{width:min(720px,calc(100vw - 20px));max-width:min(720px,calc(100vw - 20px));- max-height:min(760px,86dvh);display:flex;flex-direction:column;overflow:hidden}-/* 整张卡片一个面,跟设置弹层的卡片走同一个 token。用 --page 而不是 `.geist-modal`- 自己铺的 --surface:board.css 把面色重排过,--surface 在浅色是 #fff、暗色是 #262626,- 两档扮演的角色正好相反——拿它当卡片面,暗色里这张卡会比它盖住的页面还亮一档。- --page 在两档里都是「最靠那一端的那个面」,设置弹层的卡片用的也是它。- BoardUI 的 Pro access 卡片把中间一整块沉一档(2026-09-12 实测 boardui.com/components/- composer:浅色白卡配 rgb(247,247,247)、暗色 rgb(23,23,23) 配 rgb(38,38,38)),- 这里按用户要求不跟:那张卡片的中间放的是两行文字步骤,靠沉下去的底才分得出段;- 这一屏中间放的是一格一格的候选图,图本身就是边界,再沉一层只是多一圈框。 */-.avatarpick-popover{background:var(--page)}-/* 开合动画跟设置弹层同一份口径(`board-dialog-in`/`--board-dialog-motion`):- 0.85 起手、4px 模糊、300ms。这里写成 transition 而不是复用那两个 keyframes——- `<dialog>` 的关闭要靠 `overlay`/`display` 的 allow-discrete 才等得到动画播完,- 而 keyframes 版只在开的那一下播,关是立刻消失。数值两边必须一样。 */-.avatarpick-popover{transform:scale(.85);filter:blur(4px);- transition:opacity var(--board-dialog-motion),transform var(--board-dialog-motion),- filter var(--board-dialog-motion),overlay var(--board-dialog-motion) allow-discrete,- display var(--board-dialog-motion) allow-discrete}-.avatarpick-popover[open]{transform:scale(1);filter:blur(0)}-@starting-style{.avatarpick-popover[open]{opacity:0;transform:scale(.85);filter:blur(4px)}}-.avatarpick-popover::backdrop{transition:opacity .3s ease-out,- overlay .3s ease-out allow-discrete,display .3s ease-out allow-discrete}-/* 头部照 BoardUI 的 Pro access 卡片:左边 56×56 的图标槽,右边标题加一句说明。- 间距按实测的 20px 内边距、16px 间隔。- BoardUI 把徽章绝对定位到卡片右上角,Peach 这里右上角归关闭键——弹层跟那张卡片- 差着一件事,卡片是页面里的一块,弹层要能关掉,而右上角是所有弹层放关闭键的地方。- 徽章因此跟到标题后面:它说的本来就是这个标题下有多少张图,挨着读反而更直接。 */-.avatarpick-head{display:flex;align-items:flex-start;gap:16px;flex:none;padding:20px}-.avatarpick-mark{display:grid;place-items:center;flex:none;width:56px;height:56px;- border:1px solid var(--border-10);border-radius:var(--floating-radius);- background:var(--overlay-5);color:var(--ink-2)}-.avatarpick-mark svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2}-.avatarpick-headtext{flex:1;min-width:0}-.avatarpick-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px}-.avatarpick-headtext h3{margin:0;font-size:var(--fs-xl);line-height:26px;font-weight:600;color:var(--ink)}-.avatarpick-headtext p{margin:8px 0 0;font-size:var(--fs-md);line-height:20px;color:var(--ink-2)}-.avatarpick-note{margin:8px 0 0;color:var(--muted);font-size:var(--fs-xs)}-.avatarpick-error{margin:8px 0 0;color:var(--drop);font-size:var(--fs-xs)}-/* 关闭键的长相不写在这儿:它跟设置弹层是同一颗,样式并在 16-settings.css 与- board.css 里那两份选择器上,这里只说它在头部里怎么站——跟图标槽和标题一样- 顶着上沿,说明有两行时也不往下飘。 */-.avatarpick-close{flex:none;align-self:flex-start}-/* 头部之下那块,网格和底下那排操作都在里面。它不自己画面,用的就是卡片那一面:- 候选图本身已经是一格一格的方块,外面再套一个沉下去的底加一圈描边,等于给同一件事- 画了两层边界,格子反而被挤窄。上下两段之间留一条发丝线就够说清头部到这儿为止。 */-.avatarpick-panel{display:flex;flex-direction:column;flex:1;min-height:0;- border-top:1px solid var(--line-soft)}-/* 轨道得是滚动容器的兄弟,所以网格要有一层只裹着它自己的定位父级。 */-.avatarpick-gridwrap{position:relative;flex:1;min-height:0;display:flex}-/* 一行四张,格子按 3:4 竖构图——头像源基本都是竖的,方格会把人裁成一条。- 右边留出滑块那一列:覆盖式滑块不占宽度,压在最后一列图上却照样挡脸。- 行高必须写死成 max-content:格子是 `<button>`,而 button 的自动最小尺寸是 0,- 行高交给 auto 就会按剩下的高度平分,图照原比例画、底下那行来源标签被裁成 0 高。 */-.avatarpick-grid{flex:1;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));- gap:8px;grid-auto-rows:max-content;align-content:start;- overflow:auto;overscroll-behavior:contain;padding:16px 20px 0}-.avatarpick-cell{position:relative;display:grid;gap:4px;padding:0 0 4px;- border:1px solid var(--border-10);border-radius:var(--surface-radius);background:var(--overlay-5);- color:var(--muted);font-size:var(--fs-xs);cursor:pointer;overflow:hidden;text-align:center}-.avatarpick-cell:hover:not(:disabled){border-color:var(--field-ring-hover);color:var(--ink)}-.avatarpick-cell:disabled{cursor:progress;opacity:.6}-.avatarpick-cell.current{border-color:var(--field-ring-focus);background:var(--picked)}-.avatarpick-cell img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;background:var(--overlay-5)}-.avatarpick-cell span{padding:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}-.avatarpick-cell b{position:absolute;top:4px;left:4px;padding:1px 6px;border-radius:var(--badge-radius);- background:var(--picked);color:var(--ink);font-weight:400;font-size:var(--fs-xs)}-/* 手填地址和本机文件同处固定的那一排:它们跟候选是并列的三条路,摆在网格后面的话,- 候选一多就被推到滚不到的地方。四边都是 20px,跟网格、头部对齐到同一条边。- 这一排上方那道留白整份由它自己出,网格的 `padding-bottom` 归零:交给网格的话,- 那一档留白只在滚到底时才露出来——网格没滚到底时最后一行图正被下沿裁着,紧接着- 就是这一排,上面看着只剩几个像素,下面却是满的 20px。 */-.avatarpick-actions{display:flex;flex:none;flex-wrap:wrap;align-items:center;gap:8px 16px;- padding:20px}-.avatarpick-url{display:flex;flex:1 1 220px;gap:8px;min-width:0}-.avatarpick-url input{flex:1 1 auto;min-width:0}-@media (max-width:640px){.avatarpick-grid{grid-template-columns:repeat(3,minmax(0,1fr));- padding:12px 16px 0}.avatarpick-head{padding:16px}.avatarpick-actions{padding:16px}}diff --git a/web/css/16-settings.css b/web/css/16-settings.cssindex 22f0e2f09..058e9c1ce 100644--- a/web/css/16-settings.css+++ b/web/css/16-settings.css@@ -28,11 +28,9 @@ body.settings-open{overflow:hidden}/* 这个文件里一条分主题的规则都没有:卡片与分组走 --page、--ground 和 --field-ring,遮罩走 --scrim,两档主题由 token 自己换。 */.settingshead h2{margin:0;font-size:var(--fs-xl)}-/* 关闭键全站一份:设置弹层的和换头像弹层的是同一颗,并在同一条选择器上而不是各画一遍。- 两处摆的位置不同(一处在标题行右端、一处在头部右上角),位置由各自的容器说;- 这一条只说它长什么样、悬停时怎么变。 */-.settingshead button,.avatarpick-close{border:0;background:transparent;color:var(--muted);width:34px;height:34px;border-radius:var(--control-radius);cursor:pointer;display:grid;place-items:center;transition:background-color .12s ease,color .12s ease}.settingshead button:hover,.avatarpick-close:hover{background:var(--hover);color:var(--ink)}-.settingshead svg,.avatarpick-close svg{width:20px;height:20px;stroke:currentColor;fill:none}.settingrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px 0 14px;border-top:1px solid var(--line-soft)}+/* 标题行右端那颗关闭键。 */+.settingshead button{border:0;background:transparent;color:var(--muted);width:34px;height:34px;border-radius:var(--control-radius);cursor:pointer;display:grid;place-items:center;transition:background-color .12s ease,color .12s ease}.settingshead button:hover{background:var(--hover);color:var(--ink)}+.settingshead svg{width:20px;height:20px;stroke:currentColor;fill:none}.settingrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px 0 14px;border-top:1px solid var(--line-soft)}.settinggroup>h3+.settingrow{border-top:0}.settingrow b{display:block;font-size:var(--fs-md)}.settingrow small{display:block;color:var(--muted);margin-top:8px;line-height:1.45}.settingrow .gselect{min-width:148px}.settingrow.settingrelated{border-top:0}diff --git a/web/css/23-configuration.css b/web/css/23-configuration.cssindex 2e8c98016..ed339f548 100644--- a/web/css/23-configuration.css+++ b/web/css/23-configuration.css@@ -18,6 +18,4 @@margin:0;padding:12px 12px 12px 20px;display:flex;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);background:var(--surface)}.configfieldset>.geist-fieldset-footer>p{min-width:0;margin:0 auto 0 0;color:var(--muted);font-size:var(--fs-sm)}-/* React 产物加载失败时 `ReactSlot` 在分组里留下的那一句。 */-.configbad{margin:8px 0 0;color:var(--drop);font-size:var(--fs-sm)}@media(max-width:560px){.configfieldset>.geist-fieldset-footer{flex-wrap:wrap}}diff --git a/web/dist/peach-react.css b/web/dist/peach-react.cssindex f578feab7..36961e9b9 100644--- a/web/dist/peach-react.css+++ b/web/dist/peach-react.css@@ -1,3 +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,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--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-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@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:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--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-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-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-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--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-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--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;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10}}.\@container{container-type:inline-size}.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}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-\[3px\]{top:3px}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-\[3px\]{left:3px}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.mx-auto{margin-inline:auto}.mr-auto{margin-right:auto}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.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-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-full{width:100%;height:100%}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-full{height:100%}.h-max{height:max-content}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-\[52px\]{min-height:52px}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-52{width:calc(var(--spacing) * 52)}.w-72{width:calc(var(--spacing) * 72)}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-board{max-width:var(--container-board)}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.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}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.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-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[5px\]{gap:5px}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xs{border-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.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-solid{--tw-border-style:solid;border-style:solid}.border-accent-600{border-color:var(--color-accent-600)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.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-black{background-color:var(--color-black)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-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))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{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))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--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-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--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-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--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-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.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))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--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-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--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-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--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))}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.p-0{padding:0}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.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-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.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-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-1{padding-top:var(--spacing)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-5{padding-top:calc(var(--spacing) * 5)}.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)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--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-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--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))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-accent-600{color:var(--color-accent-600)}.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-primary{color:var(--color-foreground-icon-primary)}.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-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.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-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.shadow{--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)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 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-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px 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-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px 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-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-dropdown{--tw-shadow:0 1px 1px 0 var(--tw-shadow-color,#0000000a), 0 4px 4px 0 var(--tw-shadow-color,#00000005);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)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;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-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.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}.empty\:hidden:empty{display:none}@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)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.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)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.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-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.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\:no-underline[aria-disabled=true]{text-decoration-line:none}.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)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@scope(.peach-react){*,:after,:before,::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)}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}: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;--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-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--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-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--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-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-800)}@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-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@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-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}+@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,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--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-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@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:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--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-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-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-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-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--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-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--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;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}}.\@container{container-type:inline-size}.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}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-\[3px\]{top:3px}.right-1{right:var(--spacing)}.bottom-1{bottom:var(--spacing)}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-\[3px\]{left:3px}.z-50{z-index:50}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.mx-auto{margin-inline:auto}.mr-auto{margin-right:auto}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.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-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-full{width:100%;height:100%}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-full{height:100%}.h-max{height:max-content}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-\[52px\]{min-height:52px}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-52{width:calc(var(--spacing) * 52)}.w-72{width:calc(var(--spacing) * 72)}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.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}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.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-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[5px\]{gap:5px}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xs{border-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.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-solid{--tw-border-style:solid;border-style:solid}.border-accent-600{border-color:var(--color-accent-600)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.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-black{background-color:var(--color-black)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-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))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{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))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--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-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--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-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--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-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.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))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--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-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--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-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--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))}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.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-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.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-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-1{padding-top:var(--spacing)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.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)}.pb-1{padding-bottom:var(--spacing)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--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-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--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))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-accent-600{color:var(--color-accent-600)}.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-primary{color:var(--color-foreground-icon-primary)}.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-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.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-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.shadow{--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)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 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-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px 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-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px 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-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-dropdown{--tw-shadow:0 1px 1px 0 var(--tw-shadow-color,#0000000a), 0 4px 4px 0 var(--tw-shadow-color,#00000005);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)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;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-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.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}.empty\:hidden:empty{display:none}@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)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.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)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.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-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.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\:cursor-progress[aria-disabled=true]{cursor:progress}.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\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.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)}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (width>=40rem){.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@scope(.peach-react){*,:after,:before,::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)}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}: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;--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-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--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-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--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-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-800)}@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-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@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-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}/*$vite$:1*/\ No newline at end of filediff --git a/web/dist/peach-react.js b/web/dist/peach-react.jsindex 15a16811c..8fea81a0c 100644--- a/web/dist/peach-react.js+++ b/web/dist/peach-react.js@@ -157,7 +157,7 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescr}console.error(e);};- function ie(e) {+ function P(e) {var t = T.T, n = {};n.types = t === null ? null : t.types, T.T = n;try {@@ -169,14 +169,14 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescrt !== null && n.types !== null && (t.types = n.types), T.T = t;}}- function ae(e) {+ function ie(e) {var t = T.T;if (t !== null) {var n = t.types;n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);- } else ie(ae.bind(null, e));+ } else P(ie.bind(null, e));}- var oe = {+ var ae = {map: ne,forEach: function(e, t, n) {ne(e, function() {@@ -199,12 +199,12 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescrreturn e;}};- e.Activity = f, e.Children = oe, 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 = T, e.__COMPILER_RUNTIME = {+ e.Activity = f, e.Children = ae, 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 = T, e.__COMPILER_RUNTIME = {__proto__: null,c: function(e) {return T.H.useMemoCache(e);}- }, e.addTransitionType = ae, e.cache = function(e) {+ }, e.addTransitionType = ie, e.cache = function(e) {return function() {return e.apply(null, arguments);};@@ -266,7 +266,7 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescrtype: e,compare: t === void 0 ? null : t};- }, e.startTransition = ie, e.unstable_useCacheRefresh = function() {+ }, e.startTransition = P, e.unstable_useCacheRefresh = function() {return T.H.useCacheRefresh();}, e.use = function(e) {return T.H.use(e);@@ -381,7 +381,7 @@ function ne(e, t) {if (o) {if (r) {if (t.queryHash !== re(o, t.options)) return !1;- } else if (!ae(t.queryKey, o)) return !1;+ } else if (!ie(t.queryKey, o)) return !1;}if (n !== "all") {let e = t.isActive();@@ -394,95 +394,95 @@ function N(e, t) {if (a) {if (!t.options.mutationKey) return !1;if (n) {- if (ie(t.options.mutationKey) !== ie(a)) return !1;- } else if (!ae(t.options.mutationKey, a)) return !1;+ if (P(t.options.mutationKey) !== P(a)) return !1;+ } else if (!ie(t.options.mutationKey, a)) return !1;}return !(r && t.state.status !== r || i && !i(t));}function re(e, t) {- return (t?.queryKeyHashFn || ie)(e);+ return (t?.queryKeyHashFn || P)(e);}-function ie(e) {- return JSON.stringify(e, (e, t) => ue(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);+function P(e) {+ return JSON.stringify(e, (e, t) => le(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);}-function ae(e, t) {+function ie(e, t) {if (e === t) return !0;if (typeof e != typeof t) return !1;if (e && t && typeof e == "object" && typeof t == "object") {if (Array.isArray(e) && Array.isArray(t)) {- for (let n = 0; n < t.length; n++) if (!ae(e[n], t[n])) return !1;+ for (let n = 0; n < t.length; n++) if (!ie(e[n], t[n])) return !1;return !0;}let n = Object.keys(t);- for (let r of n) if (!ae(e[r], t[r])) return !1;+ for (let r of n) if (!ie(e[r], t[r])) return !1;return !0;}return !1;}-var oe = Object.prototype.hasOwnProperty;-function se(e, t, n = 0) {+var ae = Object.prototype.hasOwnProperty;+function oe(e, t, n = 0) {if (e === t) return e;if (n > 500) return t;- let r = le(e) && le(t);- if (!r && !(ue(e) && ue(t))) return t;+ let r = ce(e) && ce(t);+ if (!r && !(le(e) && le(t))) return t;let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;for (let l = 0; l < o; l++) {let o = r ? l : a[l], u = e[o], d = t[o];if (u === d) {- s[o] = u, (r ? l < i : oe.call(e, o)) && c++;+ s[o] = u, (r ? l < i : ae.call(e, o)) && c++;continue;}if (u === null || d === null || typeof u != "object" || typeof d != "object") {s[o] = d;continue;}- let f = se(u, d, n + 1);+ let f = oe(u, d, n + 1);s[o] = f, f === u && c++;}return i === o && c === i ? e : s;}-function ce(e, t) {+function se(e, t) {if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;for (let n in e) if (e[n] !== t[n]) return !1;return !0;}-function le(e) {+function ce(e) {return Array.isArray(e) && e.length === Object.keys(e).length;}-function ue(e) {- if (!de(e)) return !1;+function le(e) {+ if (!ue(e)) return !1;let t = e.constructor;if (t === void 0) return !0;let n = t.prototype;- return !(!de(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);+ return !(!ue(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);}-function de(e) {+function ue(e) {return Object.prototype.toString.call(e) === "[object Object]";}-function fe(e) {+function de(e) {return new Promise((t) => {D.setTimeout(t, e);});}-function pe(e, t, n) {- return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : se(e, t);+function fe(e, t, n) {+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : oe(e, t);}-function me(e, t, n = 0) {+function pe(e, t, n = 0) {let r = [...e, t];return n && r.length > n ? r.slice(1) : r;}-function P(e, t, n = 0) {+function F(e, t, n = 0) {let r = [t, ...e];return n && r.length > n ? r.slice(0, -1) : r;}-var F = Symbol();-function he(e, t) {- return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === F ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;+var I = Symbol();+function me(e, t) {+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === I ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;}-function ge(e, t) {+function he(e, t) {return typeof e == "function" ? e(...t) : !!e;}-function _e(e, t, n) {+function ge(e, t, n) {let r = !1, i;return Object.defineProperty(e, "signal", {enumerable: !0,@@ -491,7 +491,7 @@ function _e(e, t, n) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js-var ve = () => k, ye = () => ve(), be = class {+var _e = () => k, ve = () => _e(), ye = class {constructor() {this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);}@@ -505,7 +505,7 @@ var ve = () => k, ye = () => ve(), be = class {}onSubscribe() {}onUnsubscribe() {}-}, xe = new class extends be {+}, be = new class extends ye {#e;#t;#n;@@ -542,13 +542,13 @@ var ve = () => k, ye = () => ve(), be = class {isFocused() {return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";}-}(), Se = O;-function Ce() {+}(), xe = O;+function Se() {let e = [], t = 0, n = (e) => {e();}, r = (e) => {e();- }, i = Se, a = (r) => {+ }, i = xe, a = (r) => {t ? e.push(r) : i(() => {n(r);});@@ -590,7 +590,7 @@ function Ce() {}};}-var we = Ce(), Te = new class extends be {+var Ce = Se(), we = new class extends ye {#e = !0;#t;#n;@@ -624,32 +624,32 @@ var we = Ce(), Te = new class extends be {}();//#endregion//#region node_modules/@tanstack/query-core/build/modern/retryer.js-function Ee(e) {+function Te(e) {return Math.min(1e3 * 2 ** e, 3e4);}-function De(e) {- return (e ?? "online") !== "online" || Te.isOnline();+function Ee(e) {+ return (e ?? "online") !== "online" || we.isOnline();}-var Oe = class extends Error {+var De = class extends Error {constructor(e) {super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;}};-function ke(e) {+function Oe(e) {let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {a = e, o = t;});s.catch(A);let c = () => i !== "pending", l = (t) => {if (!c()) {- let n = new Oe(t);+ let n = new De(t);h(n), e.onCancel?.(n);}}, u = () => {t = !0;}, d = () => {t = !1;- }, f = () => xe.isFocused() && (e.networkMode === "always" || Te.isOnline()) && e.canRun(), p = () => De(e.networkMode) && e.canRun(), m = (e) => {+ }, f = () => be.isFocused() && (e.networkMode === "always" || we.isOnline()) && e.canRun(), p = () => Ee(e.networkMode) && e.canRun(), m = (e) => {c() || (r?.(), i = "resolved", a(e));}, h = (e) => {c() || (r?.(), i = "rejected", o(e));@@ -669,12 +669,12 @@ function ke(e) {}Promise.resolve(r).then(m).catch((r) => {if (c()) return;- let i = e.retry ?? (ye() ? 0 : 3), a = e.retryDelay ?? Ee, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);+ let i = e.retry ?? (ve() ? 0 : 3), a = e.retryDelay ?? Te, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);if (t || !s) {h(r);return;}- n++, e.onFail?.(n, r), fe(o).then(() => f() ? void 0 : g()).then(() => {+ n++, e.onFail?.(n, r), de(o).then(() => f() ? void 0 : g()).then(() => {t ? h(r) : _();});});@@ -692,7 +692,7 @@ function ke(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/removable.js-var Ae = class {+var ke = class {#e;destroy() {this.clearGcTimeout();@@ -703,7 +703,7 @@ var Ae = class {}, this.gcTime));}updateGcTime(e) {- this.gcTime = Math.max(this.gcTime || 0, e ?? (ye() ? Infinity : 3e5));+ this.gcTime = Math.max(this.gcTime || 0, e ?? (ve() ? Infinity : 3e5));}clearGcTimeout() {this.#e !== void 0 && (D.clearTimeout(this.#e), this.#e = void 0);@@ -711,15 +711,15 @@ var Ae = class {};//#endregion//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js-function je(e) {+function Ae(e) {return { onFetch: (t, n) => {let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {pages: [],pageParams: []}, c = 0, l = async () => {let n = !1, l = (e) => {- _e(e, () => t.signal, () => n = !0);- }, u = he(t.options, t.fetchOptions), d = async (e, r, i) => {+ ge(e, () => t.signal, () => n = !0);+ }, u = me(t.options, t.fetchOptions), d = async (e, r, i) => {if (n) return Promise.reject(t.signal.reason);if (r == null && e.pages.length) return Promise.resolve(e);let a = (() => {@@ -731,14 +731,14 @@ function je(e) {meta: t.options.meta};return l(e), e;- })(), o = await u(a), { maxPages: s } = t.options, c = i ? P : me;+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? F : pe;return {pages: c(e.pages, o, s),pageParams: c(e.pageParams, r, s)};};if (i && a.length) {- let e = i === "backward", t = e ? Ne : Me, n = {+ let e = i === "backward", t = e ? Me : je, n = {pages: a,pageParams: o};@@ -746,7 +746,7 @@ function je(e) {} else {let t = e ?? a.length;do {- let e = c === 0 ? o[0] ?? r.initialPageParam : Me(r, s);+ let e = c === 0 ? o[0] ?? r.initialPageParam : je(r, s);if (c > 0 && e == null) break;s = await d(s, e), c++;} while (c < t);@@ -761,16 +761,16 @@ function je(e) {}, n) : l;} };}-function Me(e, { pages: t, pageParams: n }) {+function je(e, { pages: t, pageParams: n }) {let r = t.length - 1;return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;}-function Ne(e, { pages: t, pageParams: n }) {+function Me(e, { pages: t, pageParams: n }) {return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/query.js-var Pe = class extends Ae {+var Ne = class extends ke {#e;#t;#n;@@ -780,7 +780,7 @@ var Pe = class extends Ae {#o;#s;constructor(e) {- super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = Le(this.options), this.state = e.state ?? this.#t, this.scheduleGc();+ super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = Ie(this.options), this.state = e.state ?? this.#t, this.scheduleGc();}get meta() {return this.options.meta;@@ -796,15 +796,15 @@ var Pe = class extends Ae {...this.#o,...e}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {- let e = Le(this.options);- e.data !== void 0 && (this.setState(Ie(e.data, e.dataUpdatedAt)), this.#t = e);+ let e = Ie(this.options);+ e.data !== void 0 && (this.setState(Fe(e.data, e.dataUpdatedAt)), this.#t = e);}}optionalRemove() {!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);}setData(e, t) {- let n = pe(this.state.data, e, this.options);+ let n = fe(this.state.data, e, this.options);return this.#c({data: n,type: "success",@@ -835,7 +835,7 @@ var Pe = class extends Ae {return this.observers.some((e) => M(e.options.enabled, this) !== !1);}isDisabled() {- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === F || !this.isFetched();+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === I || !this.isFetched();}isFetched() {return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;@@ -891,7 +891,7 @@ var Pe = class extends Ae {get: () => (this.#s = !0, n.signal)});}, i = () => {- let e = he(this.options, t), n = (() => {+ let e = me(this.options, t), n = (() => {let e = {client: this.#i,queryKey: this.queryKey,@@ -911,15 +911,15 @@ var Pe = class extends Ae {};return r(e), e;})();- (this.#e === "infinite" ? je(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({+ (this.#e === "infinite" ? Ae(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({type: "fetch",meta: a.fetchOptions?.meta});- let o = this.#a = ke({+ let o = this.#a = Oe({initialPromise: t?.initialPromise,fn: a.fetchFn,onCancel: (e) => {- e instanceof Oe && e.revert && this.setState({+ e instanceof De && e.revert && this.setState({...this.#n,fetchStatus: "idle"}), n.abort();@@ -947,7 +947,7 @@ var Pe = class extends Ae {if (e === void 0) throw Error(`${this.queryHash} data is undefined`);return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;} catch (e) {- if (e instanceof Oe) {+ if (e instanceof De) {if (e.silent) return this.#a.promise;if (e.revert) {if (this.state.data === void 0) throw e;@@ -980,13 +980,13 @@ var Pe = class extends Ae {};case "fetch": return {...t,- ...Fe(t.data, this.options),+ ...Pe(t.data, this.options),fetchMeta: e.meta ?? null};case "success":let n = {...t,- ...Ie(e.data, e.dataUpdatedAt),+ ...Fe(e.data, e.dataUpdatedAt),dataUpdateCount: t.dataUpdateCount + 1,...!e.manual && {fetchStatus: "idle",@@ -1018,7 +1018,7 @@ var Pe = class extends Ae {};}};- this.state = t(this.state), we.batch(() => {+ this.state = t(this.state), Ce.batch(() => {this.observers.slice().forEach((e) => {e.onQueryUpdate();}), this.#r.notify({@@ -1029,18 +1029,18 @@ var Pe = class extends Ae {});}};-function Fe(e, t) {+function Pe(e, t) {return {fetchFailureCount: 0,fetchFailureReason: null,- fetchStatus: De(t.networkMode) ? "fetching" : "paused",+ fetchStatus: Ee(t.networkMode) ? "fetching" : "paused",...e === void 0 && {error: null,status: "pending"}};}-function Ie(e, t) {+function Fe(e, t) {return {data: e,dataUpdatedAt: t ?? Date.now(),@@ -1049,7 +1049,7 @@ function Ie(e, t) {status: "success"};}-function Le(e) {+function Ie(e) {let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;return {data: t,@@ -1068,7 +1068,7 @@ function Le(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js-var Re = class extends be {+var Le = class extends ye {#e;#t = void 0;#n = void 0;@@ -1090,16 +1090,16 @@ var Re = class extends be {this.refetch = this.refetch.bind(this);}onSubscribe() {- this.listeners.size === 1 && (this.#t.addObserver(this), Be(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());+ this.listeners.size === 1 && (this.#t.addObserver(this), ze(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());}onUnsubscribe() {this.hasListeners() || this.destroy();}shouldFetchOnReconnect() {- return Ve(this.#t, this.options, this.options.refetchOnReconnect);+ return Be(this.#t, this.options, this.options.refetchOnReconnect);}shouldFetchOnWindowFocus() {- return Ve(this.#t, this.options, this.options.refetchOnWindowFocus);+ return Be(this.#t, this.options, this.options.refetchOnWindowFocus);}destroy() {this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);@@ -1107,19 +1107,19 @@ var Re = class extends be {setOptions(e) {let t = this.options, n = this.#t;if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof M(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");- this.#S(), this.#t.setOptions(this.options), t._defaulted && !ce(this.options, t) && this.#e.getQueryCache().notify({+ this.#S(), this.#t.setOptions(this.options), t._defaulted && !se(this.options, t) && this.#e.getQueryCache().notify({type: "observerOptionsUpdated",query: this.#t,observer: this});let r = this.hasListeners();- r && He(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || M(this.options.enabled, this.#t) !== M(t.enabled, this.#t) || M(this.options.staleTime, this.#t) !== M(t.staleTime, this.#t)) && this.#g();+ r && Ve(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || M(this.options.enabled, this.#t) !== M(t.enabled, this.#t) || M(this.options.staleTime, this.#t) !== M(t.staleTime, this.#t)) && this.#g();let i = this.#_();r && (this.#t !== n || M(this.options.enabled, this.#t) !== M(t.enabled, this.#t) || i !== this.#f) && this.#v(i);}getOptimisticResult(e) {let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);- return ce(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;+ return se(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;}getCurrentResult() {return this.#r;@@ -1161,7 +1161,7 @@ var Re = class extends be {return e?.throwOnError || (t = t.catch(A)), t;}#h(e) {- return !ye() && M(this.options.enabled, this.#t) !== !1 && j(e);+ return !ve() && M(this.options.enabled, this.#t) !== !1 && j(e);}#g() {this.#b();@@ -1177,7 +1177,7 @@ var Re = class extends be {}#v(e) {this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = D.setInterval(() => {- (this.options.refetchIntervalInBackground || xe.isFocused()) && this.#m();+ (this.options.refetchIntervalInBackground || be.isFocused()) && this.#m();}, this.#f));}#y() {@@ -1192,10 +1192,10 @@ var Re = class extends be {createResult(e, t) {let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;if (t._optimisticResults) {- let i = this.hasListeners(), a = !i && Be(e, t), o = i && He(e, n, t, r);+ let i = this.hasListeners(), a = !i && ze(e, t), o = i && Ve(e, n, t, r);(a || o) && (l = {...l,- ...Fe(c.data, e.options)+ ...Pe(c.data, e.options)}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");}let { error: f, errorUpdatedAt: p, status: m } = l;@@ -1203,12 +1203,12 @@ var Re = class extends be {let h = !1;if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {let e;- i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = pe(i?.data, e, t), u = !0);+ i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = fe(i?.data, e, t), u = !0);}if (t.select && d !== void 0 && !h) {if (i && d === a?.data && t.select === this.#s) d = this.#c;else try {- this.#s = t.select, d = t.select(d), d = pe(i?.data, d, t), this.#c = d, this.#o = null;+ this.#s = t.select, d = t.select(d), d = fe(i?.data, d, t), this.#c = d, this.#o = null;} catch (e) {this.#o = e;}@@ -1238,14 +1238,14 @@ var Re = class extends be {isPaused: l.fetchStatus === "paused",isPlaceholderData: u,isRefetchError: v && b,- isStale: Ue(e, t),+ isStale: He(e, t),refetch: this.refetch,isEnabled: M(t.enabled, e) !== !1};}updateResult() {let e = this.#r, t = this.createResult(this.#t, this.options);- if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), ce(t, e)) return;+ if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), se(t, e)) return;this.#r = t;let n = (() => {if (!e) return !0;@@ -1257,7 +1257,7 @@ var Re = class extends be {return this.#r[n] !== e[n] && r.has(n);});})();- we.batch(() => {+ Ce.batch(() => {n && this.listeners.forEach((e) => {e(this.#r);}), this.#e.getQueryCache().notify({@@ -1276,34 +1276,34 @@ var Re = class extends be {this.updateResult(), this.hasListeners() && this.#y();}};-function ze(e, t) {+function Re(e, t) {return M(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || M(t.retryOnMount, e) !== !1);}-function Be(e, t) {- return ze(e, t) || e.state.data !== void 0 && Ve(e, t, t.refetchOnMount);+function ze(e, t) {+ return Re(e, t) || e.state.data !== void 0 && Be(e, t, t.refetchOnMount);}-function Ve(e, t, n) {+function Be(e, t, n) {if (M(t.enabled, e) !== !1 && M(t.staleTime, e) !== "static") {let r = typeof n == "function" ? n(e) : n;- return r === "always" || r !== !1 && Ue(e, t);+ return r === "always" || r !== !1 && He(e, t);}return !1;}-function He(e, t, n, r) {- return (e !== t || M(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Ue(e, n);+function Ve(e, t, n, r) {+ return (e !== t || M(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && He(e, n);}-function Ue(e, t) {+function He(e, t) {return M(t.enabled, e) !== !1 && e.isStaleByTime(M(t.staleTime, e));}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutation.js-var We = class extends Ae {+var Ue = class extends ke {#e;#t;#n;#r;constructor(e) {- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Ge(), this.setOptions(e.options), this.scheduleGc();+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || We(), this.setOptions(e.options), this.scheduleGc();}setOptions(e) {this.options = e, this.updateGcTime(this.options.gcTime);@@ -1338,7 +1338,7 @@ var We = class extends Ae {client: this.#e,meta: this.options.meta,mutationKey: this.options.mutationKey- }, r = this.#r = ke({+ }, r = this.#r = Oe({fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),onFail: (e, t) => {this.#i({@@ -1454,7 +1454,7 @@ var We = class extends Ae {};}};- this.state = t(this.state), we.batch(() => {+ this.state = t(this.state), Ce.batch(() => {this.#t.forEach((t) => {t.onMutationUpdate(e);}), this.#n.notify({@@ -1465,7 +1465,7 @@ var We = class extends Ae {});}};-function Ge() {+function We() {return {context: void 0,data: void 0,@@ -1480,7 +1480,7 @@ function Ge() {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js-var Ke = class extends be {+var Ge = class extends ye {#e;#t;#n;@@ -1488,7 +1488,7 @@ var Ke = class extends be {super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;}build(e, t, n) {- let r = new We({+ let r = new Ue({client: e,mutationCache: this,mutationId: ++this.#n,@@ -1499,7 +1499,7 @@ var Ke = class extends be {}add(e) {this.#e.add(e);- let t = qe(e);+ let t = Ke(e);if (typeof t == "string") {let n = this.#t.get(t);n ? n.push(e) : this.#t.set(t, [e]);@@ -1511,7 +1511,7 @@ var Ke = class extends be {}remove(e) {if (this.#e.delete(e)) {- let t = qe(e);+ let t = Ke(e);if (typeof t == "string") {let n = this.#t.get(t);if (n) {@@ -1528,7 +1528,7 @@ var Ke = class extends be {});}canRun(e) {- let t = qe(e);+ let t = Ke(e);if (typeof t == "string") {let n = this.#t.get(t)?.find((e) => e.state.status === "pending");return !n || n === e;@@ -1536,11 +1536,11 @@ var Ke = class extends be {return !0;}runNext(e) {- let t = qe(e);+ let t = Ke(e);return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();}clear() {- we.batch(() => {+ Ce.batch(() => {this.#e.forEach((e) => {this.notify({type: "removed",@@ -1563,7 +1563,7 @@ var Ke = class extends be {return this.getAll().filter((t) => N(e, t));}notify(e) {- we.batch(() => {+ Ce.batch(() => {this.listeners.forEach((t) => {t(e);});@@ -1571,15 +1571,15 @@ var Ke = class extends be {}resumePausedMutations() {let e = this.getAll().filter((e) => e.state.isPaused);- return we.batch(() => Promise.all(e.map((e) => e.continue().catch(A))));+ return Ce.batch(() => Promise.all(e.map((e) => e.continue().catch(A))));}};-function qe(e) {+function Ke(e) {return e.options.scope?.id;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js-var Je = class extends be {+var qe = class extends ye {#e;#t = void 0;#n;@@ -1592,11 +1592,11 @@ var Je = class extends be {}setOptions(e) {let t = this.options;- this.options = this.#e.defaultMutationOptions(e), ce(this.options, t) || this.#e.getMutationCache().notify({+ this.options = this.#e.defaultMutationOptions(e), se(this.options, t) || this.#e.getMutationCache().notify({type: "observerOptionsUpdated",mutation: this.#n,observer: this- }), t?.mutationKey && this.options.mutationKey && ie(t.mutationKey) !== ie(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);+ }), t?.mutationKey && this.options.mutationKey && P(t.mutationKey) !== P(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);}onSubscribe() {this.listeners.size === 1 && this.#n && (this.#n.addObserver(this), this.#i());@@ -1617,7 +1617,7 @@ var Je = class extends be {return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);}#i() {- let e = this.#n?.state ?? Ge();+ let e = this.#n?.state ?? We();this.#t = {...e,isPending: e.status === "pending",@@ -1629,7 +1629,7 @@ var Je = class extends be {};}#a(e) {- we.batch(() => {+ Ce.batch(() => {if (this.#r && this.hasListeners()) {let t = this.#t.variables, n = this.#t.context, r = {client: this.#e,@@ -1665,14 +1665,14 @@ var Je = class extends be {});});}-}, Ye = class extends be {+}, Je = class extends ye {#e;constructor(e = {}) {super(), this.config = e, this.#e = /* @__PURE__ */ new Map();}build(e, t, n) {let r = t.queryKey, i = t.queryHash ?? re(r, t), a = this.get(i);- return a || (a = new Pe({+ return a || (a = new Ne({client: e,queryKey: r,queryHash: i,@@ -1695,7 +1695,7 @@ var Je = class extends be {}));}clear() {- we.batch(() => {+ Ce.batch(() => {this.getAll().forEach((e) => {this.remove(e);});@@ -1719,27 +1719,27 @@ var Je = class extends be {return Object.keys(e).length > 0 ? t.filter((t) => ne(e, t)) : t;}notify(e) {- we.batch(() => {+ Ce.batch(() => {this.listeners.forEach((t) => {t(e);});});}onFocus() {- we.batch(() => {+ Ce.batch(() => {this.getAll().forEach((e) => {e.onFocus();});});}onOnline() {- we.batch(() => {+ Ce.batch(() => {this.getAll().forEach((e) => {e.onOnline();});});}-}, Xe = class {+}, Ye = class {#e;#t;#n;@@ -1749,12 +1749,12 @@ var Je = class extends be {#o;#s;constructor(e = {}) {- this.#e = e.queryCache || new Ye(), this.#t = e.mutationCache || new Ke(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;+ this.#e = e.queryCache || new Je(), this.#t = e.mutationCache || new Ge(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;}mount() {- this.#a++, this.#a === 1 && (this.#o = xe.subscribe(async (e) => {+ this.#a++, this.#a === 1 && (this.#o = be.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onFocus());- }), this.#s = Te.subscribe(async (e) => {+ }), this.#s = we.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onOnline());}));}@@ -1792,7 +1792,7 @@ var Je = class extends be {});}setQueriesData(e, t, n) {- return we.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));+ return Ce.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));}getQueryState(e) {let t = this.defaultQueryOptions({ queryKey: e });@@ -1800,7 +1800,7 @@ var Je = class extends be {}removeQueries(e) {let t = this.#e;- we.batch(() => {+ Ce.batch(() => {t.findAll(e).forEach((e) => {t.remove(e);});@@ -1808,7 +1808,7 @@ var Je = class extends be {}resetQueries(e, t) {let n = this.#e;- return we.batch(() => {+ return Ce.batch(() => {let r = n.findAll(e), i = new Set(r);return r.forEach((e) => {e.reset();@@ -1822,11 +1822,11 @@ var Je = class extends be {let n = {revert: !0,...t- }, r = we.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));+ }, r = Ce.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));return Promise.all(r).then(A).catch(A);}invalidateQueries(e, t = {}) {- return we.batch(() => (this.#e.findAll(e).forEach((e) => {+ return Ce.batch(() => (this.#e.findAll(e).forEach((e) => {e.invalidate();}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({...e,@@ -1837,7 +1837,7 @@ var Je = class extends be {let n = {...t,cancelRefetch: t.cancelRefetch ?? !0- }, r = we.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {+ }, r = Ce.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {let t = e.fetch(void 0, n);return n.throwOnError || (t = t.catch(A)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;}));@@ -1871,7 +1871,7 @@ var Je = class extends be {return e._type = "infinite", this.ensureQueryData(e);}resumePausedMutations() {- return Te.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();+ return we.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();}getQueryCache() {return this.#e;@@ -1886,7 +1886,7 @@ var Je = class extends be {this.#n = e;}setQueryDefaults(e, t) {- this.#r.set(ie(e), {+ this.#r.set(P(e), {queryKey: e,defaultOptions: t});@@ -1894,11 +1894,11 @@ var Je = class extends be {getQueryDefaults(e) {let t = [...this.#r.values()], n = {};return t.forEach((t) => {- ae(e, t.queryKey) && Object.assign(n, t.defaultOptions);+ ie(e, t.queryKey) && Object.assign(n, t.defaultOptions);}), n;}setMutationDefaults(e, t) {- this.#i.set(ie(e), {+ this.#i.set(P(e), {mutationKey: e,defaultOptions: t});@@ -1906,7 +1906,7 @@ var Je = class extends be {getMutationDefaults(e) {let t = [...this.#i.values()], n = {};return t.forEach((t) => {- ae(e, t.mutationKey) && Object.assign(n, t.defaultOptions);+ ie(e, t.mutationKey) && Object.assign(n, t.defaultOptions);}), n;}defaultQueryOptions(e) {@@ -1917,7 +1917,7 @@ var Je = class extends be {...e,_defaulted: !0};- return t.queryHash ||= re(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === F && (t.enabled = !1), t;+ return t.queryHash ||= re(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === I && (t.enabled = !1), t;}defaultMutationOptions(e) {return e?._defaulted ? e : {@@ -1930,11 +1930,11 @@ var Je = class extends be {clear() {this.#e.clear(), this.#t.clear();}-}, Ze = x.createContext(!1), Qe = () => x.useContext(Ze);-Ze.Provider;+}, Xe = x.createContext(!1), Ze = () => x.useContext(Xe);+Xe.Provider;//#endregion//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js-function $e() {+function Qe() {let e = !1;return {clearReset: () => {@@ -1946,34 +1946,34 @@ function $e() {isReset: () => e};}-var et = x.createContext($e()), tt = () => x.useContext(et), nt = (e, t, n) => {- let r = n?.state.error && typeof e.throwOnError == "function" ? ge(e.throwOnError, [n.state.error, n]) : e.throwOnError;+var $e = x.createContext(Qe()), et = () => x.useContext($e), tt = (e, t, n) => {+ let r = n?.state.error && typeof e.throwOnError == "function" ? he(e.throwOnError, [n.state.error, n]) : e.throwOnError;(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));-}, rt = (e) => {+}, nt = (e) => {x.useEffect(() => {e.clearReset();}, [e]);-}, it = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ge(n, [e.error, r])), at = (e) => {+}, rt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || he(n, [e.error, r])), it = (e) => {if (e.suspense) {let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));}-}, ot = (e, t) => e?.suspense && t.isPending, st = (e, t, n) => t.fetchOptimistic(e).catch(() => {+}, at = (e, t) => e?.suspense && t.isPending, ot = (e, t, n) => t.fetchOptimistic(e).catch(() => {n.clearReset();});//#endregion//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js-function ct(e, t, n) {- let r = Qe(), i = tt(), a = w(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, at(o), nt(o, i, s), rt(i);+function st(e, t, n) {+ let r = Ze(), i = et(), a = w(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, it(o), tt(o, i, s), nt(i);let [l] = x.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;if (x.useSyncExternalStore(x.useCallback((e) => {- let t = d ? l.subscribe(we.batchCalls(e)) : A;+ let t = d ? l.subscribe(Ce.batchCalls(e)) : A;return l.updateResult(), t;}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), x.useEffect(() => {l.setOptions(o);- }, [o, l]), ot(o, u)) throw st(o, l, i);- if (it({+ }, [o, l]), at(o, u)) throw ot(o, l, i);+ if (rt({result: u,errorResetBoundary: i,throwOnError: o.throwOnError,@@ -1984,20 +1984,20 @@ function ct(e, t, n) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useQuery.js-function lt(e, t) {- return ct(e, Re, t);+function ct(e, t) {+ return st(e, Le, t);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useMutation.js-function ut(e, t) {- let n = w(t), [r] = x.useState(() => new Je(n, e));+function lt(e, t) {+ let n = w(t), [r] = x.useState(() => new qe(n, e));x.useEffect(() => {r.setOptions(e);}, [r, e]);- let i = x.useSyncExternalStore(x.useCallback((e) => r.subscribe(we.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = x.useCallback((...e) => {+ let i = x.useSyncExternalStore(x.useCallback((e) => r.subscribe(Ce.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = x.useCallback((...e) => {r.mutate(e[0], e[1]).catch(A);}, [r]);- if (i.error && ge(r.options.throwOnError, [i.error])) throw i.error;+ if (i.error && he(r.options.throwOnError, [i.error])) throw i.error;return {...i,mutate: a,@@ -2006,7 +2006,7 @@ function ut(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/collections/BaseCollection.mjs-var dt = class {+var ut = class {constructor(e) {this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;}@@ -2021,22 +2021,22 @@ var dt = class {let r = this.clone();return t.addDescendants(r, e), r;}-}, ft = class extends dt {+}, dt = class extends ut {filter(e, t, n) {- let [r, i] = gt(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = ht(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends dt {+(class extends ut {static {this.type = "header";}});-var pt = class extends dt {+var ft = class extends ut {static {this.type = "loader";}-}, mt = class extends ft {+}, pt = class extends dt {static {this.type = "item";}@@ -2048,7 +2048,7 @@ var pt = class extends dt {return null;}};-(class extends ft {+(class extends dt {static {this.type = "section";}@@ -2061,7 +2061,7 @@ var pt = class extends dt {return null;}});-var ht = class {+var mt = class {get size() {return this.itemCount;}@@ -2136,14 +2136,14 @@ var ht = class {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = gt(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = ht(this, t, this.firstKey, e);return t?.commit(n, r), t;}constructor() {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;}};-function gt(e, t, n, r) {+function ht(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -2158,7 +2158,7 @@ function gt(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/collections/Document.mjs-var _t = class {+var gt = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -2239,7 +2239,7 @@ var _t = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, vt = class e extends _t {+}, _t = class e extends gt {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -2290,7 +2290,7 @@ var _t = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, yt = class extends _t {+}, vt = class extends gt {constructor(e) {super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;}@@ -2298,7 +2298,7 @@ var _t = class {return !0;}createElement(e) {- return new vt(e, this);+ return new _t(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -2320,8 +2320,8 @@ var _t = class {return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);}updateCollection() {- for (let e of this.dirtyNodes) e instanceof vt && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof vt ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);+ for (let e of this.dirtyNodes) e instanceof _t && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof _t ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));}queueUpdate() {@@ -2340,13 +2340,13 @@ var _t = class {};//#endregion//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function bt(e) {+function yt(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, x.useMemo)(() => void 0, [t]), s = (0, x.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, x.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = xt(a) ? a : null, o = n ? s.get(n) : null;+ let n = bt(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -2371,7 +2371,7 @@ function bt(e) {i]);}-function xt(e) {+function bt(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -2381,26 +2381,26 @@ function xt(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function St(e) {- if (wt()) e.focus({ preventScroll: !0 });+function xt(e) {+ if (Ct()) e.focus({ preventScroll: !0 });else {- let t = Tt(e);- e.focus(), Et(t);+ let t = wt(e);+ e.focus(), Tt(t);}}-var Ct = null;-function wt() {- if (Ct == null) {- Ct = !1;+var St = null;+function Ct() {+ if (St == null) {+ St = !1;try {document.createElement("div").focus({ get preventScroll() {- return Ct = !0, !0;+ return St = !0, !0;} });} catch {}}- return Ct;+ return St;}-function Tt(e) {+function wt(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,@@ -2413,25 +2413,25 @@ function Tt(e) {scrollLeft: r.scrollLeft}), n;}-function Et(e) {+function Tt(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/domHelpers.mjs-var I = (e) => kt(e) ? e.document : At(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Dt = (e) => I(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function Ot(e) {+var L = (e) => Ot(e) ? e.document : kt(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Et = (e) => L(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function Dt(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function kt(e) {+function Ot(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function At(e) {- return Ot(e) && e.nodeType === 9;+function kt(e) {+ return Dt(e) && e.nodeType === 9;}-function jt(e) {- return Ot(e) && e.nodeType === 11 && "host" in e;+function At(e) {+ return Dt(e) && e.nodeType === 11 && "host" in e;}-function Mt(e, t, n, r) {+function jt(e, t, n, r) {if (n == null || e == null) return () => {};let i = Array.isArray(e) ? e : [e];for (let e of i) e.addEventListener(t, n, r);@@ -2439,7 +2439,7 @@ function Mt(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function Nt(e, t, n, r) {+function Mt(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -2454,73 +2454,73 @@ function Nt(e, t, n, r) {}//#endregion//#region node_modules/react-stately/dist/private/flags/flags.mjs-var Pt = !1;-function Ft() {- return Pt;+var Nt = !1;+function Pt() {+ return Nt;}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function L(e, t) {- if (!Ft()) return t && e ? e.contains(t) : !1;+function R(e, t) {+ if (!Pt()) 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 : jt(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : At(n) ? n.host : n.parentNode;}return !1;}-var It = (e = document) => {- if (!Ft()) return e.activeElement;+var Ft = (e = document) => {+ if (!Pt()) 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 (Ft() && e.target instanceof Element && e.target.shadowRoot) {+function z(e) {+ if (Pt() && 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;}-function Lt(e, t) {+function It(e, t) {if (t === null) return [];- t ??= Dt(e);+ t ??= Et(e);let n = [t];- if (!Ft() || !e || e === t) return n;+ if (!Pt() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; jt(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; At(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function Rt(e) {+function Lt(e) {if (!e) return !1;- let t = e.getRootNode(), n = Dt(e);+ let t = e.getRootNode(), n = Et(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}//#endregion//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var zt = typeof Element < "u" && "checkVisibility" in Element.prototype;-function Bt(e) {- let t = Dt(e);+var Rt = typeof Element < "u" && "checkVisibility" in Element.prototype;+function zt(e) {+ let t = Et(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 } = Dt(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = Et(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function Vt(e, t) {+function Bt(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 Ht(e, t) {- return zt ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Bt(e) && Vt(e, t) && (!e.parentElement || Ht(e.parentElement, e));+function Vt(e, t) {+ return Rt ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && zt(e) && Bt(e, t) && (!e.parentElement || Vt(e.parentElement, e));}//#endregion//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs-var Ut = [+var Ht = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -2535,60 +2535,60 @@ var Ut = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], z = Ut.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-Ut.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var Wt = Ut.join(":not([hidden]):not([tabindex=\"-1\"]),");-function Gt(e, t) {- return e.matches(z) && !qt(e) && (t?.skipVisibilityCheck || Ht(e));+], B = Ht.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+Ht.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var Ut = Ht.join(":not([hidden]):not([tabindex=\"-1\"]),");+function Wt(e, t) {+ return e.matches(B) && !Kt(e) && (t?.skipVisibilityCheck || Vt(e));}-function Kt(e) {- return e.matches(Wt) && Ht(e) && !qt(e);+function Gt(e) {+ return e.matches(Ut) && Vt(e) && !Kt(e);}-function qt(e) {+function Kt(e) {let t = e;for (; t != null;) {- if (t instanceof Dt(t).HTMLElement && t.inert) return !0;+ if (t instanceof Et(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}//#endregion//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var B = typeof document < "u" ? x.useLayoutEffect : () => {};+var V = typeof document < "u" ? x.useLayoutEffect : () => {};//#endregion//#region node_modules/react-aria/dist/private/interactions/utils.mjs-function Jt(e) {+function qt(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function Yt(e, t) {+function Jt(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function Xt(e) {+function Yt(e) {let t = (0, x.useRef)({isFocused: !1,observer: null});- return B(() => {+ return V(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);};}, []), (0, x.useCallback)((n) => {- let r = R(n);+ let r = z(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 = Jt(r);+ let t = qt(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 === It() ? null : It();+ let e = n === Ft() ? null : Ft();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -2601,83 +2601,83 @@ function Xt(e) {}}, [e]);}-var Zt = !1;-function Qt(e) {- for (; e && !Gt(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = It(Dt(e).document);+var Xt = !1;+function Zt(e) {+ for (; e && !Wt(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = Ft(Et(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && jt(n) ? n : Dt(e), i = (t) => t === e || t != null && L(e, t), a = (e) => e === t || t != null && e != null && L(t, e);- Zt = !0;+ let n = e?.getRootNode(), r = n != null && At(n) ? n : Et(e), i = (t) => t === e || t != null && R(e, t), a = (e) => e === t || t != null && e != null && R(t, e);+ Xt = !0;let o = !1, s = (e) => {- (a(R(e)) || o) && e.stopImmediatePropagation();+ (a(z(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(R(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, St(t), d()));+ (a(z(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, xt(t), d()));}, l = (e) => {- (i(R(e)) || o) && e.stopImmediatePropagation();+ (i(z(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(R(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, St(t), d()));+ (i(z(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, xt(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), Zt = !1, o = !1;+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), Xt = !1, o = !1;}, f = requestAnimationFrame(d);return d;}//#endregion//#region node_modules/react-aria/dist/private/utils/platform.mjs-function $t(e) {+function Qt(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 en(e) {+function $t(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function tn(e) {+function en(e) {let t = null;return () => (t ??= e(), t);}-var nn = tn(function() {- return en(/^Mac/i);-}), rn = tn(function() {- return en(/^iPhone/i);-}), an = tn(function() {- return en(/^iPad/i) || nn() && navigator.maxTouchPoints > 1;-}), on = tn(function() {- return rn() || an();-}), sn = tn(function() {- return nn() || on();-}), cn = tn(function() {- return $t(/AppleWebKit/i) && (on() || !ln());-}), ln = tn(function() {- return $t(/Chrome|CriOS|CrMo/i);-}), un = tn(function() {- return $t(/Android/i);-}), dn = tn(function() {- return $t(/(Firefox|FxiOS)/i);+var tn = en(function() {+ return $t(/^Mac/i);+}), nn = en(function() {+ return $t(/^iPhone/i);+}), rn = en(function() {+ return $t(/^iPad/i) || tn() && navigator.maxTouchPoints > 1;+}), an = en(function() {+ return nn() || rn();+}), on = en(function() {+ return tn() || an();+}), sn = en(function() {+ return Qt(/AppleWebKit/i) && (an() || !cn());+}), cn = en(function() {+ return Qt(/Chrome|CriOS|CrMo/i);+}), ln = en(function() {+ return Qt(/Android/i);+}), un = en(function() {+ return Qt(/(Firefox|FxiOS)/i);});//#endregion//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function fn(e) {- return e.pointerType === "" && e.isTrusted ? !0 : un() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function dn(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : ln() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function pn(e) {- return !un() && e.width === 0 && e.height === 0 || un() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function fn(e) {+ return !ln() && e.width === 0 && e.height === 0 || ln() && 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-var mn = /*#__PURE__*/ (0, x.createContext)({+var pn = /*#__PURE__*/ (0, x.createContext)({isNative: !0,- open: vn,+ open: _n,useHref: (e) => e});-function hn() {- return (0, x.useContext)(mn);+function mn() {+ return (0, x.useContext)(pn);}-function gn(e, t, n = !0) {+function hn(e, t, n = !0) {let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;- !cn() && dn() && window.event?.type?.startsWith("key") && e.target === "_blank" && (nn() ? r = !0 : i = !0);- let s = cn() && nn() && !an() ? new KeyboardEvent("keydown", {+ !sn() && un() && window.event?.type?.startsWith("key") && e.target === "_blank" && (tn() ? r = !0 : i = !0);+ let s = sn() && tn() && !rn() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -2692,21 +2692,21 @@ function gn(e, t, n = !0) {bubbles: !0,cancelable: !0});- gn.isOpening = n, St(e), e.dispatchEvent(s), gn.isOpening = !1;+ hn.isOpening = n, xt(e), e.dispatchEvent(s), hn.isOpening = !1;}-gn.isOpening = !1;-function _n(e, t) {+hn.isOpening = !1;+function gn(e, t) {if (e instanceof HTMLAnchorElement) t(e);else if (e.hasAttribute("data-href")) {let n = document.createElement("a");n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);}}-function vn(e, t) {- _n(e, (e) => gn(e, t));+function _n(e, t) {+ gn(e, (e) => hn(e, t));}-function yn(e) {- let t = hn().useHref(e?.href ?? ""), n = {};+function vn(e) {+ let t = mn().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -2719,121 +2719,121 @@ function yn(e) {}//#endregion//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var bn = {+var yn = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, xn = /*#__PURE__*/ x.createContext(bn), Sn = /*#__PURE__*/ x.createContext(!1);+}, bn = /*#__PURE__*/ x.createContext(yn), xn = /*#__PURE__*/ x.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var Cn = /* @__PURE__ */ new WeakMap();-function wn(e = !1) {- let t = (0, x.useContext)(xn), n = (0, x.useRef)(null);+var Sn = /* @__PURE__ */ new WeakMap();+function Cn(e = !1) {+ let t = (0, x.useContext)(bn), n = (0, x.useRef)(null);if (n.current === null && !e) {let e = x.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = Cn.get(e);- n == null ? Cn.set(e, {+ let n = Sn.get(e);+ n == null ? Sn.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, Cn.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, Sn.delete(e));}n.current = ++t.current;}return n.current;}-function Tn(e) {- let t = (0, x.useContext)(xn), n = wn(!!e), r = `react-aria${t.prefix}`;+function wn(e) {+ let t = (0, x.useContext)(bn), n = Cn(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function En(e) {- let t = x.useId(), [n] = (0, x.useState)(jn()), r = n ? "react-aria" : `react-aria${bn.prefix}`;+function Tn(e) {+ let t = x.useId(), [n] = (0, x.useState)(An()), r = n ? "react-aria" : `react-aria${yn.prefix}`;return e || `${r}-${t}`;}-var Dn = typeof x.useId == "function" ? En : Tn;-function On() {+var En = typeof x.useId == "function" ? Tn : wn;+function Dn() {return !1;}-function kn() {+function On() {return !0;}-function An(e) {+function kn(e) {return () => {};}-function jn() {- return typeof x.useSyncExternalStore == "function" ? x.useSyncExternalStore(An, On, kn) : (0, x.useContext)(Sn);+function An() {+ return typeof x.useSyncExternalStore == "function" ? x.useSyncExternalStore(kn, Dn, On) : (0, x.useContext)(xn);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var Mn = null, Nn = /* @__PURE__ */ new Set(), Pn = /* @__PURE__ */ new Map(), Fn = !1, In = !1, Ln = {+var jn = null, Mn = /* @__PURE__ */ new Set(), Nn = /* @__PURE__ */ new Map(), Pn = !1, Fn = !1, In = {Tab: !0,Escape: !0};-function Rn(e, t) {- for (let n of Nn) n(e, t);+function Ln(e, t) {+ for (let n of Mn) n(e, t);+}+function Rn(e) {+ return !(e.metaKey || !tn() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}function zn(e) {- return !(e.metaKey || !nn() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+ Pn = !0, !hn.isOpening && Rn(e) && (jn = "keyboard", Ln("keyboard", e));}function Bn(e) {- Fn = !0, !gn.isOpening && zn(e) && (Mn = "keyboard", Rn("keyboard", e));+ jn = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Pn = !0, Ln("pointer", e));}function Vn(e) {- Mn = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Fn = !0, Rn("pointer", e));+ !hn.isOpening && dn(e) && (Pn = !0, jn = "virtual");}function Hn(e) {- !gn.isOpening && fn(e) && (Fn = !0, Mn = "virtual");-}-function Un(e) {- if (Zt) return;- let t = R(e), n = Dt(t), r = I(t);+ if (Xt) return;+ let t = z(e), n = Et(t), r = L(t);if (t === n) {- In = !0;+ Fn = !0;return;}- t === r || !e.isTrusted || (!Fn && !In && (Mn = "virtual", Rn("virtual", e)), Fn = !1, In = !1);+ t === r || !e.isTrusted || (!Pn && !Fn && (jn = "virtual", Ln("virtual", e)), Pn = !1, Fn = !1);}-function Wn() {- Zt || (Fn = !1, In = !0);+function Un() {+ Xt || (Pn = !1, Fn = !0);}-function Gn(e) {+function Wn(e) {if (typeof window > "u" || typeof document > "u") return;- let t = Dt(e), n = I(e);- if (Pn.get(t)) return;+ let t = Et(e), n = L(e);+ if (Nn.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- Fn = !0, r.apply(this, arguments);+ Pn = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", Bn, !0), n.addEventListener("keyup", Bn, !0), n.addEventListener("click", Hn, !0), t.addEventListener("focus", Un, !0), t.addEventListener("blur", Wn, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Vn, !0), n.addEventListener("pointermove", Vn, !0), n.addEventListener("pointerup", Vn, !0)), t.addEventListener("beforeunload", () => {- Kn(e);- }, { once: !0 }), Pn.set(t, { focus: r });+ }), n.addEventListener("keydown", zn, !0), n.addEventListener("keyup", zn, !0), n.addEventListener("click", Vn, !0), t.addEventListener("focus", Hn, !0), t.addEventListener("blur", Un, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Bn, !0), n.addEventListener("pointermove", Bn, !0), n.addEventListener("pointerup", Bn, !0)), t.addEventListener("beforeunload", () => {+ Gn(e);+ }, { once: !0 }), Nn.set(t, { focus: r });}-var Kn = (e, t) => {- let n = Dt(e), r = I(e);- t && r.removeEventListener("DOMContentLoaded", t), Pn.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var Gn = (e, t) => {+ let n = Et(e), r = L(e);+ t && r.removeEventListener("DOMContentLoaded", t), Nn.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: Pn.get(n).focus- }), r.removeEventListener("keydown", Bn, !0), r.removeEventListener("keyup", Bn, !0), r.removeEventListener("click", Hn, !0), n.removeEventListener("focus", Un, !0), n.removeEventListener("blur", Wn, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Vn, !0), r.removeEventListener("pointermove", Vn, !0), r.removeEventListener("pointerup", Vn, !0)), Pn.delete(n));+ value: Nn.get(n).focus+ }), r.removeEventListener("keydown", zn, !0), r.removeEventListener("keyup", zn, !0), r.removeEventListener("click", Vn, !0), n.removeEventListener("focus", Hn, !0), n.removeEventListener("blur", Un, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Bn, !0), r.removeEventListener("pointermove", Bn, !0), r.removeEventListener("pointerup", Bn, !0)), Nn.delete(n));};-function qn(e) {- let t = I(e), n;+function Kn(e) {+ let t = L(e), n;return t.readyState === "loading" ? (n = () => {- Gn(e);- }, t.addEventListener("DOMContentLoaded", n)) : Gn(e), () => Kn(e, n);+ Wn(e);+ }, t.addEventListener("DOMContentLoaded", n)) : Wn(e), () => Gn(e, n);}-typeof document < "u" && qn();-function Jn() {- return Mn !== "pointer";+typeof document < "u" && Kn();+function qn() {+ return jn !== "pointer";}-function Yn() {- return Mn;+function Jn() {+ return jn;}-function Xn(e) {- Mn = e, Rn(e, null);+function Yn(e) {+ jn = e, Ln(e, null);}-var Zn = /* @__PURE__ */ new Set([+var Xn = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -2844,77 +2844,77 @@ var Zn = /* @__PURE__ */ new Set(["submit","reset"]);-function Qn(e, t, n) {- let r = n ? R(n) : void 0, i = I(r), a = Dt(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 = It(i);- return e = e || u instanceof o && !Zn.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Ln[n.key]);+function Zn(e, t, n) {+ let r = n ? z(n) : void 0, i = L(r), a = Et(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 = Ft(i);+ return e = e || u instanceof o && !Xn.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !In[n.key]);}-function $n(e, t, n) {- Gn(), (0, x.useEffect)(() => {+function Qn(e, t, n) {+ Wn(), (0, x.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- Qn(!!n?.isTextInput, t, r) && e(Jn());+ Zn(!!n?.isTextInput, t, r) && e(qn());};- return Nn.add(t), () => {- Nn.delete(t);+ return Mn.add(t), () => {+ Mn.delete(t);};}, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var er = /* @__PURE__ */ new Map(), tr = /* @__PURE__ */ new Set();-function nr() {+var $n = /* @__PURE__ */ new Map(), er = /* @__PURE__ */ new Set();+function tr() {if (typeof window > "u") return;function e(e) {return "propertyName" in e;}let t = (t) => {- let r = R(t);+ let r = z(t);if (!e(t) || !r) return;- let i = er.get(r);- i || (i = /* @__PURE__ */ new Set(), er.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);+ let i = $n.get(r);+ i || (i = /* @__PURE__ */ new Set(), $n.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);}, n = (t) => {- let r = R(t);+ let r = z(t);if (!e(t) || !r) return;- let i = er.get(r);- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), er.delete(r)), er.size === 0)) {- for (let e of tr) e();- tr.clear();+ let i = $n.get(r);+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), $n.delete(r)), $n.size === 0)) {+ for (let e of er) e();+ er.clear();}};document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);}-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", nr) : nr());-function rr() {- for (let [e] of er) "isConnected" in e && !e.isConnected && er.delete(e);+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", tr) : tr());+function nr() {+ for (let [e] of $n) "isConnected" in e && !e.isConnected && $n.delete(e);}-function ir(e) {+function rr(e) {requestAnimationFrame(() => {- rr(), er.size === 0 ? e() : tr.add(e);+ nr(), $n.size === 0 ? e() : er.add(e);});}//#endregion//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function ar(e) {+function ir(e) {if (!e.isConnected) return;- let t = I(e);- if (Yn() === "virtual") {- let n = It(t);- ir(() => {- let r = It(t);- (r === n || r === t.body) && e.isConnected && St(e);+ let t = L(e);+ if (Jn() === "virtual") {+ let n = Ft(t);+ rr(() => {+ let r = Ft(t);+ (r === n || r === t.body) && e.isConnected && xt(e);});- } else St(e);+ } else xt(e);}//#endregion//#region node_modules/react-aria/dist/private/utils/chain.mjs-function or(...e) {+function ar(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}//#endregion//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function sr(e) {+function or(e) {let [t, n] = (0, x.useState)(e), r = (0, x.useRef)(t), i = (0, x.useRef)(null), a = (0, x.useRef)(() => {if (!i.current) return;let e = i.current.next();@@ -2924,7 +2924,7 @@ function sr(e) {}r.current === e.value ? a.current() : n(e.value);});- return B(() => {+ return V(() => {r.current = t, i.current && a.current();}), [t, (0, x.useCallback)((e) => {i.current = e(r.current), a.current();@@ -2932,21 +2932,21 @@ function sr(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useId.mjs-var cr = !!(typeof window < "u" && window.document && window.document.createElement), lr = /* @__PURE__ */ new Map(), ur;-typeof FinalizationRegistry < "u" && (ur = new FinalizationRegistry((e) => {- lr.delete(e);+var sr = !!(typeof window < "u" && window.document && window.document.createElement), cr = /* @__PURE__ */ new Map(), lr;+typeof FinalizationRegistry < "u" && (lr = new FinalizationRegistry((e) => {+ cr.delete(e);}));-var dr = /* @__PURE__ */ new WeakMap();-function fr(e) {- let [t, n] = (0, x.useState)(e), r = (0, x.useRef)(null), i = Dn(t), a = (0, x.useRef)(null), o = dr.get(a);- if (ur && o !== i && (o != null && ur.unregister(a), ur.register(a, i, a), dr.set(a, i)), cr) {- let e = lr.get(i);- e && !e.includes(r) ? e.push(r) : lr.set(i, [r]);- }- return B(() => {+var ur = /* @__PURE__ */ new WeakMap();+function dr(e) {+ let [t, n] = (0, x.useState)(e), r = (0, x.useRef)(null), i = En(t), a = (0, x.useRef)(null), o = ur.get(a);+ if (lr && o !== i && (o != null && lr.unregister(a), lr.register(a, i, a), ur.set(a, i)), sr) {+ let e = cr.get(i);+ e && !e.includes(r) ? e.push(r) : cr.set(i, [r]);+ }+ return V(() => {let e = i;return () => {- ur && (ur.unregister(a), dr.delete(a)), lr.delete(e);+ lr && (lr.unregister(a), ur.delete(a)), cr.delete(e);};}, [i]), (0, x.useEffect)(() => {let e = r.current;@@ -2955,20 +2955,20 @@ function fr(e) {};}), i;}-function pr(e, t) {+function fr(e, t) {if (e === t) return e;- let n = lr.get(e);+ let n = cr.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = lr.get(t);+ let r = cr.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function mr(e = []) {- let t = fr(), [n, r] = sr(t), i = (0, x.useCallback)(() => {+function pr(e = []) {+ let t = dr(), [n, r] = or(t), i = (0, x.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return B(i, [+ return V(i, [t,i,...e@@ -2976,60 +2976,60 @@ function mr(e = []) {}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function hr(...e) {+function mr(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = gr(e, t);+ let r = hr(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : gr(e[n], null);+ typeof t == "function" ? t() : hr(e[n], null);});};};}-function gr(e, t) {+function hr(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}//#endregion//#region node_modules/clsx/dist/clsx.mjs-function _r(e) {+function gr(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 = _r(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = gr(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function vr() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = _r(e)) && (r && (r += " "), r += t);+function _r() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = gr(e)) && (r && (r += " "), r += t);return r;}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs-function V(...e) {+function H(...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] = or(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = vr(n, i) : e === "id" && n && i ? t.id = pr(n, i) : e === "ref" && n && i ? t.ref = hr(n, i) : t[e] = i === void 0 ? n : i;+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = ar(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = _r(n, i) : e === "id" && n && i ? t.id = fr(n, i) : e === "ref" && n && i ? t.ref = mr(n, i) : t[e] = i === void 0 ? n : i;}}return t;}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs-function yr(e) {+function vr(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, x.useCallback)((e) => {- if (R(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = Xt(a), s = (0, x.useCallback)((e) => {- let t = R(e), r = I(t), a = r ? It(r) : It();+ if (z(e) === e.currentTarget) return r && r(e), i && i(!1), !0;+ }, [r, i]), o = Yt(a), s = (0, x.useCallback)((e) => {+ let t = z(e), r = L(t), a = r ? Ft(r) : Ft();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -3043,7 +3043,7 @@ function yr(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function br(e) {+function yr(e) {if (e) return (t) => {let n = !0;e({@@ -3068,33 +3068,33 @@ function br(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var xr = /* @__PURE__ */ new Set([+var br = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Sr = [+]), xr = ["Alt","Control","Meta","Shift"];-function Cr(e) {+function Sr(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(nn() ? "Meta" : "Control"), t;+ 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(tn() ? "Meta" : "Control"), t;}-function wr(e) {+function Cr(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 Tr(e) {- return Sr.filter((t) => e.has(t));+function wr(e) {+ return xr.filter((t) => e.has(t));}-function Er(e) {+function Tr(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return xr.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;+ return br.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,@@ -3106,10 +3106,10 @@ function Er(e) {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 Dr(e) {+function Er(e) {return e.toLowerCase();}-var Or = {+var Dr = {space: " ",esc: "escape",del: "delete",@@ -3121,26 +3121,26 @@ var Or = {pageup: "pageup",pagedown: "pagedown"};-function kr(e) {- let t = Dr(e);- return Or[t] ?? t;+function Or(e) {+ let t = Er(e);+ return Dr[t] ?? t;}-function Ar(e) {- let t = Tr(Cr(e)), n = kr(e.key);+function kr(e) {+ let t = wr(Sr(e)), n = Or(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function jr(e) {- let t = Tr(wr(e)), n = Dr(e.key);+function Ar(e) {+ let t = wr(Cr(e)), n = Er(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function Mr(e) {+function jr(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = Er(n);- t.set(Ar(e), r);+ let e = Tr(n);+ t.set(kr(e), r);}return (e) => {- let n = jr(e), r = t.get(n), i = r?.(e);+ let n = Ar(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -3152,11 +3152,11 @@ function Mr(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function Nr(e) {+function Mr(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Mr(t), s = br((e) => {- if (!L(e.currentTarget, R(e))) {+ let o = jr(t), s = yr((e) => {+ if (!R(e.currentTarget, z(e))) {e.continuePropagation();return;}@@ -3165,8 +3165,8 @@ function Nr(e) {return;}o(e);- }), c = br((e) => {- if (!L(e.currentTarget, R(e))) {+ }), c = yr((e) => {+ if (!R(e.currentTarget, z(e))) {e.continuePropagation();return;}@@ -3176,8 +3176,8 @@ function Nr(e) {}e.continuePropagation();});- i = e.onKeyDown ? or(e.onKeyDown, s) : s, a = e.onKeyUp ? or(e.onKeyUp, c) : c;- } else i = br(e.onKeyDown), a = br(e.onKeyUp);+ i = e.onKeyDown ? ar(e.onKeyDown, s) : s, a = e.onKeyUp ? ar(e.onKeyUp, c) : c;+ } else i = yr(e.onKeyDown), a = yr(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a@@ -3185,7 +3185,7 @@ function Nr(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function Pr(e) {+function Nr(e) {let t = (0, x.useRef)(null), n = (0, x.useRef)(void 0), r = (0, x.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -3208,8 +3208,8 @@ function Pr(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function Fr(e, t) {- B(() => {+function Pr(e, t) {+ V(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};@@ -3217,20 +3217,20 @@ function Fr(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var Ir = /*#__PURE__*/ x.createContext(null);-function Lr(e) {- let t = (0, x.useContext)(Ir) || {};- Fr(t, e);+var Fr = /*#__PURE__*/ x.createContext(null);+function Ir(e) {+ let t = (0, x.useContext)(Fr) || {};+ Pr(t, e);let { ref: n, ...r } = t;return r;}-function Rr(e, t) {- let { focusProps: n } = yr(e), { keyboardProps: r } = Nr(e), i = V(n, r), a = Lr(t), o = e.isDisabled ? {} : a, s = (0, x.useRef)(e.autoFocus);+function Lr(e, t) {+ let { focusProps: n } = vr(e), { keyboardProps: r } = Mr(e), i = H(n, r), a = Ir(t), o = e.isDisabled ? {} : a, s = (0, x.useRef)(e.autoFocus);(0, x.useEffect)(() => {- s.current && t.current && ar(t.current), s.current = !1;+ s.current && t.current && ir(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;- return e.isDisabled && (c = void 0), { focusableProps: V({+ return e.isDisabled && (c = void 0), { focusableProps: H({...i,tabIndex: c}, o) };@@ -3262,22 +3262,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var zr = /*#__PURE__*/ (0, x.createContext)(!1);-function Br(e) {- if ((0, x.useContext)(zr)) return /*#__PURE__*/ x.createElement(x.Fragment, null, e.children);- let t = /*#__PURE__*/ x.createElement(zr.Provider, { value: !0 }, e.children);+var Rr = /*#__PURE__*/ (0, x.createContext)(!1);+function zr(e) {+ if ((0, x.useContext)(Rr)) return /*#__PURE__*/ x.createElement(x.Fragment, null, e.children);+ let t = /*#__PURE__*/ x.createElement(Rr.Provider, { value: !0 }, e.children);return /*#__PURE__*/ x.createElement("template", null, t);}-function Vr(e) {- let t = (t, n) => (0, x.useContext)(zr) ? null : e(t, n);+function Br(e) {+ let t = (t, n) => (0, x.useContext)(Rr) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, x.forwardRef)(t);}-function Hr() {- return (0, x.useContext)(zr);+function Vr() {+ return (0, x.useContext)(Rr);}//#endregion//#region node_modules/react-dom/cjs/react-dom.production.js-var Ur = /* @__PURE__ */ m(((e) => {+var Hr = /* @__PURE__ */ m(((e) => {var t = v();function n(e) {var t = "https://react.dev/errors/" + e;@@ -3405,7 +3405,7 @@ var Ur = /* @__PURE__ */ m(((e) => {}, e.useFormStatus = function() {return l.H.useHostTransitionStatus();}, e.version = "19.3.0";-})), Wr = /* @__PURE__ */ m(((e, t) => {+})), Ur = /* @__PURE__ */ m(((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);@@ -3413,8 +3413,8 @@ var Ur = /* @__PURE__ */ m(((e) => {console.error(e);}}- n(), t.exports = Ur();-})), Gr = /* @__PURE__ */ m(((e) => {+ n(), t.exports = Hr();+})), Wr = /* @__PURE__ */ m(((e) => {var t = v();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -3452,47 +3452,47 @@ var Ur = /* @__PURE__ */ m(((e) => {}var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;-})), Kr = /* @__PURE__ */ m(((e, t) => {- t.exports = Gr();-})), qr = /* @__PURE__ */ g(Wr(), 1), Jr = Kr(), Yr = /*#__PURE__*/ (0, x.createContext)(!1), Xr = /*#__PURE__*/ (0, x.createContext)(null);-function Zr(e) {- if ((0, x.useContext)(Xr)) return e.content;- let { collection: t, document: n } = ti(e.createCollection);- return /*#__PURE__*/ x.createElement(x.Fragment, null, /*#__PURE__*/ x.createElement(Br, null, /*#__PURE__*/ x.createElement(Xr.Provider, { value: n }, e.content)), /*#__PURE__*/ x.createElement(Qr, {+})), Gr = /* @__PURE__ */ m(((e, t) => {+ t.exports = Wr();+})), Kr = /* @__PURE__ */ g(Ur(), 1), qr = Gr(), Jr = /*#__PURE__*/ (0, x.createContext)(!1), Yr = /*#__PURE__*/ (0, x.createContext)(null);+function Xr(e) {+ if ((0, x.useContext)(Yr)) return e.content;+ let { collection: t, document: n } = ei(e.createCollection);+ return /*#__PURE__*/ x.createElement(x.Fragment, null, /*#__PURE__*/ x.createElement(zr, null, /*#__PURE__*/ x.createElement(Yr.Provider, { value: n }, e.content)), /*#__PURE__*/ x.createElement(Zr, {render: e.children,collection: t}));}-function Qr({ collection: e, render: t }) {+function Zr({ collection: e, render: t }) {return t(e);}-function $r(e, t, n) {- let r = jn(), i = (0, x.useRef)(r);+function Qr(e, t, n) {+ let r = An(), i = (0, x.useRef)(r);i.current = r;let a = (0, x.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, Jr.useSyncExternalStore)(e, a);+ return (0, qr.useSyncExternalStore)(e, a);}-var ei = typeof x.useSyncExternalStore == "function" ? x.useSyncExternalStore : $r;-function ti(e) {- let [t] = (0, x.useState)(() => new yt(e?.() || new ht()));+var $r = typeof x.useSyncExternalStore == "function" ? x.useSyncExternalStore : Qr;+function ei(e) {+ let [t] = (0, x.useState)(() => new vt(e?.() || new mt()));return {- collection: ei((0, x.useCallback)((e) => t.subscribe(e), [t]), (0, x.useCallback)(() => {+ collection: $r((0, x.useCallback)((e) => t.subscribe(e), [t]), (0, x.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, x.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var ni = /*#__PURE__*/ (0, x.createContext)(null);-function ri(e) {- return class extends dt {+var ti = /*#__PURE__*/ (0, x.createContext)(null);+function ni(e) {+ return class extends ut {static {this.type = e;}};}-function ii(e, t, n, r, i, a) {- typeof e == "string" && (e = ri(e));+function ri(e, t, n, r, i, a) {+ typeof e == "string" && (e = ni(e));let o = (0, x.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -3501,77 +3501,77 @@ function ii(e, t, n, r, i, a) {r,a,e- ]), s = (0, x.useContext)(ni);+ ]), s = (0, x.useContext)(ti);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ x.createElement(ni.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ x.createElement(ti.Provider, { value: o }, i) : null;}return /*#__PURE__*/ x.createElement(e.type, { ref: o }, i);}-function ai(e, t) {+function ii(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, x.forwardRef)((r, i) => {- let a = (0, x.useContext)(Ir);- if (!(0, x.useContext)(Yr)) {+ let a = (0, x.useContext)(Fr);+ if (!(0, x.useContext)(Jr)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return ii(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ x.createElement(Ir.Provider, { value: a }, /*#__PURE__*/ x.createElement(n, { node: e })));+ return ri(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ x.createElement(Fr.Provider, { value: a }, /*#__PURE__*/ x.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function oi(e) {- return bt({+function ai(e) {+ return yt({...e,addIdAndValue: !0});}-var si = /*#__PURE__*/ (0, x.createContext)(null);-function ci(e) {- let t = (0, x.useContext)(si), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = oi({+var oi = /*#__PURE__*/ (0, x.createContext)(null);+function si(e) {+ let t = (0, x.useContext)(oi), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = ai({...e,idScope: r,dependencies: n});- return (0, x.useContext)(Xr) && (i = /*#__PURE__*/ x.createElement(li, null, i)), t = (0, x.useMemo)(() => ({+ return (0, x.useContext)(Yr) && (i = /*#__PURE__*/ x.createElement(ci, null, i)), t = (0, x.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ x.createElement(si.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ x.createElement(oi.Provider, { value: t }, i);}-function li({ children: e }) {- let t = (0, x.useContext)(Xr), n = (0, x.useMemo)(() => /*#__PURE__*/ x.createElement(Xr.Provider, { value: null }, /*#__PURE__*/ x.createElement(Yr.Provider, { value: !0 }, e)), [e]);- return jn() ? /*#__PURE__*/ x.createElement(ni.Provider, { value: t }, n) : /*#__PURE__*/ (0, qr.createPortal)(n, t);+function ci({ children: e }) {+ let t = (0, x.useContext)(Yr), n = (0, x.useMemo)(() => /*#__PURE__*/ x.createElement(Yr.Provider, { value: null }, /*#__PURE__*/ x.createElement(Jr.Provider, { value: !0 }, e)), [e]);+ return An() ? /*#__PURE__*/ x.createElement(ti.Provider, { value: t }, n) : /*#__PURE__*/ (0, Kr.createPortal)(n, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/constants.mjs-var ui = "react-aria-clear-focus", di = "react-aria-focus";+var li = "react-aria-clear-focus", ui = "react-aria-focus";//#endregion//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function fi(e) {- let t = hi(I(e));- t !== e && (t && pi(t, e), e && mi(e, t));+function di(e) {+ let t = mi(L(e));+ t !== e && (t && fi(t, e), e && pi(e, t));}-function pi(e, t) {+function fi(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function mi(e, t) {+function pi(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function hi(e) {- let t = It(e), n = t?.getAttribute("aria-activedescendant");+function mi(e) {+ let t = Ft(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}//#endregion//#region node_modules/react-aria/dist/private/utils/keyboard.mjs-function gi(e) {- return nn() ? e.metaKey : e.ctrlKey;+function hi(e) {+ return tn() ? e.metaKey : e.ctrlKey;}-var _i = /* @__PURE__ */ new Set([+var gi = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -3582,15 +3582,15 @@ var _i = /* @__PURE__ */ new Set(["submit","reset"]);-function vi(e) {- return e instanceof HTMLInputElement && !_i.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;+function _i(e) {+ return e instanceof HTMLInputElement && !gi.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;}//#endregion//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var yi = x.useInsertionEffect ?? B;-function bi(e) {+var vi = x.useInsertionEffect ?? V;+function yi(e) {let t = (0, x.useRef)(null);- return yi(() => {+ return vi(() => {t.current = e;}, [e]), (0, x.useCallback)((...e) => {let n = t.current;@@ -3599,10 +3599,10 @@ function bi(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useEvent.mjs-function xi(e, t, n, r) {- let i = bi(n), a = n == null;+function bi(e, t, n, r) {+ let i = yi(n), a = n == null;(0, x.useEffect)(() => {- if (!(a || e.current == null)) return Mt(e.current, t, i, r);+ if (!(a || e.current == null)) return jt(e.current, t, i, r);}, [e,t,@@ -3612,9 +3612,9 @@ function xi(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLabels.mjs-function Si(e, t) {+function xi(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = fr(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {+ return n = dr(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@@ -3622,7 +3622,7 @@ function Si(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/utils.mjs-var Ci = /* @__PURE__ */ new Set([+var Si = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -3633,7 +3633,7 @@ var Ci = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), wi = /* @__PURE__ */ new Set([+]), Ci = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -3654,20 +3654,20 @@ var Ci = /* @__PURE__ */ new Set(["ur","yi"]);-function Ti(e) {+function wi(e) {if (Intl.Locale) {let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;if (n) return n.direction === "rtl";- if (t.script) return Ci.has(t.script);+ if (t.script) return Si.has(t.script);}let t = e.split("-")[0];- return wi.has(t);+ return Ci.has(t);}//#endregion//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var Ei = Symbol.for("react-aria.i18n.locale");-function Di() {- let e = typeof window < "u" && window[Ei] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var Ti = Symbol.for("react-aria.i18n.locale");+function Ei() {+ let e = typeof window < "u" && window[Ti] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -3675,33 +3675,33 @@ function Di() {}return {locale: e,- direction: Ti(e) ? "rtl" : "ltr"+ direction: wi(e) ? "rtl" : "ltr"};}-var Oi = Di(), ki = /* @__PURE__ */ new Set();-function Ai() {- Oi = Di();- for (let e of ki) e(Oi);+var Di = Ei(), Oi = /* @__PURE__ */ new Set();+function ki() {+ Di = Ei();+ for (let e of Oi) e(Di);}-function ji() {- let e = jn(), [t, n] = (0, x.useState)(Oi);- return (0, x.useEffect)(() => (ki.size === 0 && window.addEventListener("languagechange", Ai), ki.add(n), () => {- ki.delete(n), ki.size === 0 && window.removeEventListener("languagechange", Ai);+function Ai() {+ let e = An(), [t, n] = (0, x.useState)(Di);+ return (0, x.useEffect)(() => (Oi.size === 0 && window.addEventListener("languagechange", ki), Oi.add(n), () => {+ Oi.delete(n), Oi.size === 0 && window.removeEventListener("languagechange", ki);}), []), e ? {- locale: typeof window < "u" && window[Ei] || "en-US",+ locale: typeof window < "u" && window[Ti] || "en-US",direction: "ltr"} : t;}//#endregion//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var Mi = /*#__PURE__*/ x.createContext(null);-function Ni() {- let e = ji();- return (0, x.useContext)(Mi) || e;+var ji = /*#__PURE__*/ x.createContext(null);+function Mi() {+ let e = Ai();+ return (0, x.useContext)(ji) || e;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var Pi = Symbol.for("react-aria.i18n.locale"), Fi = Symbol.for("react-aria.i18n.strings"), Ii = void 0, Li = class e {+var Ni = Symbol.for("react-aria.i18n.locale"), Pi = Symbol.for("react-aria.i18n.strings"), Fi = void 0, Ii = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -3712,39 +3712,39 @@ var Pi = Symbol.for("react-aria.i18n.locale"), Fi = Symbol.for("react-aria.i18n.}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = Ri(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = Li(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[Pi];- if (Ii === void 0) {- let t = window[Fi];+ let n = window[Ni];+ if (Fi === void 0) {+ let t = window[Pi];if (!t) return null;- Ii = {};- for (let r in t) Ii[r] = new e({ [n]: t[r] }, n);+ Fi = {};+ for (let r in t) Fi[r] = new e({ [n]: t[r] }, n);}- let r = Ii?.[t];+ let r = Fi?.[t];if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r;}};-function Ri(e, t, n = "en-US") {+function Li(e, t, n = "en-US") {if (t[e]) return t[e];- let r = zi(e), i = Bi(e);+ let r = Ri(e), i = zi(e);if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];if (t[r]) return t[r];for (let e in t) if (e.startsWith(r + "-")) return t[e];return t[n];}-function zi(e) {+function Ri(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function Bi(e) {+function zi(e) {if (Intl.Locale) return new Intl.Locale(e).script;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var Vi = /* @__PURE__ */ new Map(), Hi = /* @__PURE__ */ new Map(), Ui = class {+var Bi = /* @__PURE__ */ new Map(), Vi = /* @__PURE__ */ new Map(), Hi = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -3755,37 +3755,37 @@ var Vi = /* @__PURE__ */ new Map(), Hi = /* @__PURE__ */ new Map(), Ui = class {plural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = Vi.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Vi.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = Bi.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Bi.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = Hi.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), Hi.set(this.locale, t)), t.format(e);+ let t = Vi.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), Vi.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, Wi = /* @__PURE__ */ new WeakMap();-function Gi(e) {- let t = Wi.get(e);- return t || (t = new Li(e), Wi.set(e, t)), t;+}, Ui = /* @__PURE__ */ new WeakMap();+function Wi(e) {+ let t = Ui.get(e);+ return t || (t = new Ii(e), Ui.set(e, t)), t;}-function Ki(e, t) {- return t && Li.getGlobalDictionaryForPackage(t) || Gi(e);+function Gi(e, t) {+ return t && Ii.getGlobalDictionaryForPackage(t) || Wi(e);}-function qi(e, t) {- let { locale: n } = Ni(), r = Ki(e, t);- return (0, x.useMemo)(() => new Ui(n, r), [n, r]);+function Ki(e, t) {+ let { locale: n } = Mi(), r = Gi(e, t);+ return (0, x.useMemo)(() => new Hi(n, r), [n, r]);}//#endregion//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var Ji = /* @__PURE__ */ new Set(["id"]), Yi = /* @__PURE__ */ new Set([+var qi = /* @__PURE__ */ new Set(["id"]), Ji = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), Xi = /* @__PURE__ */ new Set([+]), Yi = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -3793,71 +3793,71 @@ var Ji = /* @__PURE__ */ new Set(["id"]), Yi = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), Zi = /* @__PURE__ */ new Set([+]), Xi = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate"-]), Qi = /* @__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(".")), $i = /^(data-.*)$/;-function H(e, t = {}) {+]), Zi = /* @__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(".")), Qi = /^(data-.*)$/;+function U(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) && (Ji.has(t) || n && Yi.has(t) || r && Xi.has(t) || i && Zi.has(t) || a && (Qi.has(t) || t.endsWith("Capture") && Qi.has(t.slice(0, -7))) || o?.has(t) || $i.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (qi.has(t) || n && Ji.has(t) || r && Yi.has(t) || i && Xi.has(t) || a && (Zi.has(t) || t.endsWith("Capture") && Zi.has(t.slice(0, -7))) || o?.has(t) || Qi.test(t)) && (s[t] = e[t]);return s;}//#endregion//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs-var ea = "default", U = "", ta = /* @__PURE__ */ new WeakMap();-function na(e) {- if (on() && cn()) {- if (ea === "default") {- let t = I(e);- U = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- ea = "disabled";+var $i = "default", W = "", ea = /* @__PURE__ */ new WeakMap();+function ta(e) {+ if (an() && sn()) {+ if ($i === "default") {+ let t = L(e);+ W = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ $i = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- ta.set(e, e.style[t]), e.style[t] = "none";+ ea.set(e, e.style[t]), e.style[t] = "none";}}-function ra(e) {- if (on() && cn()) {- if (ea !== "disabled") return;- ea = "restoring", setTimeout(() => {- ir(() => {- if (ea === "restoring") {- let t = I(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = U || ""), U = "", ea = "default";+function na(e) {+ if (an() && sn()) {+ if ($i !== "disabled") return;+ $i = "restoring", setTimeout(() => {+ rr(() => {+ if ($i === "restoring") {+ let t = L(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = W || ""), W = "", $i = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && ta.has(e)) {- let t = ta.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), ta.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && ea.has(e)) {+ let t = ea.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), ea.delete(e);}}//#endregion//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function ia(e, t) {- let n = Dt(t), r = I(t);+function ra(e, t) {+ let n = Et(t), r = L(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 aa = /* @__PURE__ */ new WeakMap();-function oa(e) {- let t = I(e), n = aa.get(t);- return n ??= ia("csp-nonce", t), n !== void 0 && aa.set(t, n), n;+var ia = /* @__PURE__ */ new WeakMap();+function aa(e) {+ let t = L(e), n = ia.get(t);+ return n ??= ra("csp-nonce", t), n !== void 0 && ia.set(t, n), n;}//#endregion//#region node_modules/react-aria/dist/private/interactions/context.mjs-var sa = x.createContext({ register: () => {} });-sa.displayName = "PressResponderContext";+var oa = x.createContext({ register: () => {} });+oa.displayName = "PressResponderContext";//#endregion//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function ca() {+function sa() {let e = (0, x.useRef)(/* @__PURE__ */ new Map()), t = (0, x.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -3884,15 +3884,15 @@ function ca() {}//#endregion//#region node_modules/react-aria/dist/private/interactions/usePress.mjs-function la(e) {- let t = (0, x.useContext)(sa);+function ca(e) {+ let t = (0, x.useContext)(oa);if (t) {let { register: n, ref: r, ...i } = t;- e = V(i, e), n();+ e = H(i, e), n();}- return Fr(t, e.ref), e;+ return Pr(t, e.ref), e;}-var ua = class {+var la = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -3905,9 +3905,9 @@ var ua = class {get shouldStopPropagation() {return this.#e;}-}, da = Symbol("linkClicked"), fa = "react-aria-pressable-style", pa = "data-react-aria-pressable";-function ma(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 } = la(e), [m, h] = (0, x.useState)(!1), g = (0, x.useRef)({+}, ua = Symbol("linkClicked"), da = "react-aria-pressable-style", fa = "data-react-aria-pressable";+function pa(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 } = ca(e), [m, h] = (0, x.useState)(!1), g = (0, x.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -3917,12 +3917,12 @@ function ma(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = ca(), y = (0, x.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = sa(), y = (0, x.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new ua("pressstart", t, e);+ let n = new la("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -3936,11 +3936,11 @@ function ma(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new ua("pressend", r, e);+ let t = new la("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new ua("press", r, e);+ let n = new la("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -3949,19 +3949,19 @@ function ma(e) {i,n,t- ]), S = bi(b), C = bi((0, x.useCallback)((e, t) => {+ ]), S = yi(b), C = yi((0, x.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new ua("pressup", t, e);+ let r = new la("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), w = (0, x.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(_a(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || ra(t.target);+ t.didFirePressStart && t.pointerType != null && b(ga(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || na(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -3969,7 +3969,7 @@ function ma(e) {d,v,b- ]), T = bi(w);+ ]), T = yi(w);(0, x.useEffect)(() => {s && g.current.isPressed && T({currentTarget: g.current.target,@@ -3986,39 +3986,39 @@ function ma(e) {}, [s, o]), O = (0, x.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- Yt(n, t), o(Jt(n));+ Jt(n, t), o(qt(n));}}, [s, o]), k = (0, x.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (ga(t.nativeEvent, t.currentTarget) && L(t.currentTarget, R(t))) {- ya(R(t), t.key) && t.preventDefault();+ if (ha(t.nativeEvent, t.currentTarget) && R(t.currentTarget, z(t))) {+ va(z(t), t.key) && t.preventDefault();let r = !0;!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));let i = t.currentTarget;- _(I(t.currentTarget), "keyup", or((t) => {- ga(t, i) && !t.repeat && L(i, R(t)) && e.target && C(_a(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && nn() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(L(t.currentTarget), "keyup", ar((t) => {+ ha(t, i) && !t.repeat && R(i, z(t)) && e.target && C(ga(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && tn() && 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 && !gn.isOpening) {+ if (!(t && !R(t.currentTarget, z(t))) && t && t.button === 0 && !e.isTriggeringEvent && !hn.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || fn(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || dn(t.nativeEvent))) {let e = y(t, "virtual"), r = C(t, "virtual"), i = S(t, "virtual");D(t), n = e && r && i;} else if (e.isPressed && e.pointerType !== "keyboard") {- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(_a(t.currentTarget, t), r), a = S(_a(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(ga(t.currentTarget, t), r), a = S(ga(t.currentTarget, t), r, !0);n = i && a, e.isOverTarget = !1, D(t), T(t);}e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();}}}, n = (t) => {- if (e.isPressed && e.target && ga(t, e.target)) {- ya(R(t), t.key) && t.preventDefault();- let n = R(t), r = L(e.target, n);- S(_a(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && ha(e.target) && L(e.target, n) && !t[da] && (t[da] = !0, gn(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && ha(t, e.target)) {+ va(z(t), t.key) && t.preventDefault();+ let n = z(t), r = R(e.target, n);+ S(ga(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && ma(e.target) && R(e.target, n) && !t[ua] && (t[ua] = !0, hn(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;@@ -4027,39 +4027,39 @@ function ma(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !L(t.currentTarget, R(t))) return;- if (pn(t.nativeEvent)) {+ if (t.button !== 0 || !R(t.currentTarget, z(t))) return;+ if (fn(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 || na(e.target), i = y(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)), _(I(t.currentTarget), "pointerup", n, !1), _(I(t.currentTarget), "pointercancel", r, !1);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || ta(e.target), i = y(t, e.pointerType);+ let a = z(t);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(L(t.currentTarget), "pointerup", n, !1), _(L(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (L(t.currentTarget, R(t)) && t.button === 0) {+ if (R(t.currentTarget, z(t)) && t.button === 0) {if (l) {- let n = Qt(t.target);+ let n = Zt(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 && C(t, e.pointerType || t.pointerType);+ !R(t.currentTarget, z(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && C(t, e.pointerType || t.pointerType);}, t.onPointerEnter = (t) => {- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(_a(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(ga(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, S(_a(e.target, t), e.pointerType, !1), E(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, S(ga(e.target, t), e.pointerType, !1), E(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) {+ if (R(e.target, z(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (St(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (xt(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else T(t);@@ -4069,7 +4069,7 @@ function ma(e) {T(e);};t.onDragStart = (e) => {- L(e.currentTarget, R(e)) && T(e);+ R(e.currentTarget, z(e)) && T(e);};}return t;@@ -4086,14 +4086,14 @@ function ma(e) {]);return (0, x.useEffect)(() => {if (!f) return;- let e = I(f.current);- if (!e || !e.head || e.getElementById(fa)) return;+ let e = L(f.current);+ if (!e || !e.head || e.getElementById(da)) return;let t = e.createElement("style");- t.id = fa;- let n = oa(e);+ t.id = da;+ let n = aa(e);n && (t.nonce = n), t.textContent = `@layer {- [${pa}] {+ [${fa}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -4101,23 +4101,23 @@ function ma(e) {}, [f]), (0, x.useEffect)(() => {let e = g.current;return () => {- d || ra(e.target ?? void 0);+ d || na(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: V(p, k, { [pa]: !0 })+ pressProps: H(p, k, { [fa]: !0 })};}-function ha(e) {+function ma(e) {return e.tagName === "A" && e.hasAttribute("href");}-function ga(e, t) {+function ha(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Dt(i).HTMLInputElement && !xa(i, n) || i instanceof Dt(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && ha(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Et(i).HTMLInputElement && !ba(i, n) || i instanceof Et(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && ma(i)) && n !== "Enter");}-function _a(e, t) {+function ga(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -4130,13 +4130,13 @@ function _a(e, t) {key: t.key};}-function va(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !ha(e);+function _a(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !ma(e);}-function ya(e, t) {- return nn() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !xa(e, t) : va(e);+function va(e, t) {+ return tn() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !ba(e, t) : _a(e);}-var ba = /* @__PURE__ */ new Set([+var ya = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -4147,12 +4147,12 @@ var ba = /* @__PURE__ */ new Set(["submit","reset"]);-function xa(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : ba.has(e.type);+function ba(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : ya.has(e.type);}//#endregion//#region node_modules/react-aria/dist/private/button/useButton.mjs-function Sa(e, t) {+function xa(e, t) {let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;g = n === "button" ? {type: h,@@ -4174,7 +4174,7 @@ function Sa(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = ma({+ let { pressProps: _, isPressed: v } = pa({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -4184,12 +4184,12 @@ function Sa(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = Rr(e, t);+ }), { focusableProps: y } = Lr(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = V(y, _, H(e, { labelable: !0 }));+ let b = H(y, _, U(e, { labelable: !0 }));return {isPressed: v,- buttonProps: V(g, b, {+ buttonProps: H(g, b, {"aria-haspopup": e["aria-haspopup"],"aria-expanded": e["aria-expanded"],"aria-controls": e["aria-controls"],@@ -4201,7 +4201,7 @@ function Sa(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var Ca = class {+var Sa = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -4226,7 +4226,7 @@ var Ca = class {return this._currentNode;}set currentNode(e) {- if (!L(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!R(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -4240,7 +4240,7 @@ var Ca = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return L(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return R(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -4304,45 +4304,45 @@ var Ca = class {return null;}};-function wa(e, t, n, r) {- return Ft() ? new Ca(e, t, n, r) : e.createTreeWalker(t, n, r);+function Ca(e, t, n, r) {+ return Pt() ? new Sa(e, t, n, r) : e.createTreeWalker(t, n, r);}//#endregion//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs-var Ta = /*#__PURE__*/ x.createContext(null), Ea = "react-aria-focus-scope-restore", W = null;-function Da(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, x.useRef)(null), o = (0, x.useRef)(null), s = (0, x.useRef)([]), { parentNode: c } = (0, x.useContext)(Ta) || {}, l = (0, x.useMemo)(() => new Ya({ scopeRef: s }), [s]);- B(() => {- let e = c || Xa.root;- if (Xa.getTreeNode(e.scopeRef) && W && !Ra(W, e.scopeRef)) {- let t = Xa.getTreeNode(W);+var wa = /*#__PURE__*/ x.createContext(null), Ta = "react-aria-focus-scope-restore", G = null;+function Ea(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, x.useRef)(null), o = (0, x.useRef)(null), s = (0, x.useRef)([]), { parentNode: c } = (0, x.useContext)(wa) || {}, l = (0, x.useMemo)(() => new Ja({ scopeRef: s }), [s]);+ V(() => {+ let e = c || Ya.root;+ if (Ya.getTreeNode(e.scopeRef) && G && !La(G, e.scopeRef)) {+ let t = Ya.getTreeNode(G);t && (e = t);}- e.addChild(l), Xa.addNode(l);- }, [l, c]), B(() => {- let e = Xa.getTreeNode(s);+ e.addChild(l), Ya.addNode(l);+ }, [l, c]), V(() => {+ let e = Ya.getTreeNode(s);e && (e.contain = !!n);- }, [n]), B(() => {+ }, [n]), V(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(Ea, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(Ta, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(Ea, n);+ for (let e of t) e.removeEventListener(Ta, n);};- }, [t]), Ua(s, r, n), Na(s, n), Ga(s, r, n), Ha(s, i), (0, x.useEffect)(() => {- let e = It(I(s.current ? s.current[0] : void 0)), t = null;- if (Fa(e, s.current)) {- for (let n of Xa.traverse()) n.scopeRef && Fa(e, n.scopeRef.current) && (t = n);- t === Xa.getTreeNode(s) && (W = t.scopeRef);- }- }, [s]), B(() => () => {- let e = Xa.getTreeNode(s)?.parent?.scopeRef ?? null;- (s === W || Ra(s, W)) && (!e || Xa.getTreeNode(e)) && (W = e), Xa.removeTreeNode(s);+ }, [t]), Ha(s, r, n), Ma(s, n), Wa(s, r, n), Va(s, i), (0, x.useEffect)(() => {+ let e = Ft(L(s.current ? s.current[0] : void 0)), t = null;+ if (Pa(e, s.current)) {+ for (let n of Ya.traverse()) n.scopeRef && Pa(e, n.scopeRef.current) && (t = n);+ t === Ya.getTreeNode(s) && (G = t.scopeRef);+ }+ }, [s]), V(() => () => {+ let e = Ya.getTreeNode(s)?.parent?.scopeRef ?? null;+ (s === G || La(s, G)) && (!e || Ya.getTreeNode(e)) && (G = e), Ya.removeTreeNode(s);}, [s]);- let u = (0, x.useMemo)(() => Oa(s), []), d = (0, x.useMemo)(() => ({+ let u = (0, x.useMemo)(() => Da(s), []), d = (0, x.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ x.createElement(Ta.Provider, { value: d }, /*#__PURE__*/ x.createElement("span", {+ return /*#__PURE__*/ x.createElement(wa.Provider, { value: d }, /*#__PURE__*/ x.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -4352,154 +4352,154 @@ function Da(e) {ref: o}));}-function Oa(e) {+function Da(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || It(I(n[0] ?? void 0)), c = n[0].previousElementSibling, l = qa(ka(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Ft(L(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Ka(Oa(n), {tabbable: i,accept: o}, n);- l.currentNode = Fa(s, n) ? s : c;+ l.currentNode = Pa(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && za(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Ra(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || It(I(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = qa(ka(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Ft(L(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Ka(Oa(n), {tabbable: i,accept: o}, n);- l.currentNode = Fa(s, n) ? s : c;+ l.currentNode = Pa(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && za(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Ra(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = qa(ka(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = Ka(Oa(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && za(o, !0), o;+ return o && Ra(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = qa(ka(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = Ka(Oa(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && za(o, !0), o;+ return o && Ra(o, !0), o;}};}-function ka(e) {+function Oa(e) {return e[0].parentElement;}-function Aa(e) {- let t = Xa.getTreeNode(W);+function ka(e) {+ let t = Ya.getTreeNode(G);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function ja(e) {- if (!e.form) return Array.from(I(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = Dt(e);+function Aa(e) {+ if (!e.form) return Array.from(L(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = Et(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function Ma(e) {+function ja(e) {if (e.checked) return !0;- let t = ja(e);+ let t = Aa(e);return t.length > 0 && !t.some((e) => e.checked);}-function Na(e, t) {+function Ma(e, t) {let n = (0, x.useRef)(void 0), r = (0, x.useRef)(void 0);- B(() => {+ V(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = I(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Aa(e) || t.isComposing) return;- let n = It(a), r = e.current;- if (!r || !Fa(n, r)) return;- let i = qa(ka(r), { tabbable: !0 }, r);+ let a = L(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !ka(e) || t.isComposing) return;+ let n = Ft(a), r = e.current;+ if (!r || !Pa(n, r)) return;+ let i = Ka(Oa(r), { tabbable: !0 }, r);if (!n) return;i.currentNode = n;let o = t.shiftKey ? i.previousNode() : i.nextNode();- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (za(o, !0), o instanceof Dt(o).HTMLInputElement && o.select());+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Ra(o, !0), o instanceof Et(o).HTMLInputElement && o.select());}, s = (t) => {- (!W || Ra(W, e)) && Fa(R(t), e.current) ? (W = e, n.current = R(t)) : Aa(e) && !Ia(R(t), e) ? n.current ? za(n.current) : W && W.current && Va(W.current) : Aa(e) && (n.current = R(t));+ (!G || La(G, e)) && Pa(z(t), e.current) ? (G = e, n.current = z(t)) : ka(e) && !Fa(z(t), e) ? n.current ? Ra(n.current) : G && G.current && Ba(G.current) : ka(e) && (n.current = z(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = Yn(), i = (r === "virtual" || r === null) && un() && ln(), o = It(a);- if (!i && o && Aa(e) && !Ia(o, e)) {- W = e;- let r = R(t);- r && r.isConnected ? (n.current = r, za(n.current)) : W.current && Va(W.current);+ let r = Jn(), i = (r === "virtual" || r === null) && ln() && cn(), o = Ft(a);+ if (!i && o && ka(e) && !Fa(o, e)) {+ G = e;+ let r = z(t);+ r && r.isConnected ? (n.current = r, Ra(n.current)) : G.current && Ba(G.current);}});};return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));};- }, [e, t]), B(() => () => {+ }, [e, t]), V(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function Pa(e) {- return Ia(e);+function Na(e) {+ return Fa(e);}-function Fa(e, t) {- return !e || !t ? !1 : t.some((t) => L(t, e));+function Pa(e, t) {+ return !e || !t ? !1 : t.some((t) => R(t, e));}-function Ia(e, t = null) {+function Fa(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of Xa.traverse(Xa.getTreeNode(t))) if (n && Fa(e, n.current)) return !0;+ for (let { scopeRef: n } of Ya.traverse(Ya.getTreeNode(t))) if (n && Pa(e, n.current)) return !0;return !1;}-function La(e) {- return Ia(e, W);+function Ia(e) {+ return Fa(e, G);}-function Ra(e, t) {- let n = Xa.getTreeNode(t)?.parent;+function La(e, t) {+ let n = Ya.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function za(e, t = !1) {+function Ra(e, t = !1) {if (e != null && !t) try {- ar(e);+ ir(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function Ba(e, t = !0) {- let n = e[0].previousElementSibling, r = ka(e), i = qa(r, { tabbable: t }, e);+function za(e, t = !0) {+ let n = e[0].previousElementSibling, r = Oa(e), i = Ka(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = ka(e), i = qa(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = Oa(e), i = Ka(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function Va(e, t = !0) {- za(Ba(e, t));+function Ba(e, t = !0) {+ Ra(za(e, t));}-function Ha(e, t) {+function Va(e, t) {let n = x.useRef(t);(0, x.useEffect)(() => {- n.current && (W = e, !Fa(It(I(e.current ? e.current[0] : void 0)), W.current) && e.current && Va(e.current)), n.current = !1;+ n.current && (G = e, !Pa(Ft(L(e.current ? e.current[0] : void 0)), G.current) && e.current && Ba(e.current)), n.current = !1;}, [e]);}-function Ua(e, t, n) {- B(() => {+function Ha(e, t, n) {+ V(() => {if (t || n) return;- let r = e.current, i = I(r ? r[0] : void 0), a = (t) => {- let n = R(t);- Fa(n, e.current) ? W = e : Pa(n) || (W = null);+ let r = e.current, i = L(r ? r[0] : void 0), a = (t) => {+ let n = z(t);+ Pa(n, e.current) ? G = e : Na(n) || (G = null);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));@@ -4510,43 +4510,43 @@ function Ua(e, t, n) {n]);}-function Wa(e) {- let t = Xa.getTreeNode(W);+function Ua(e) {+ let t = Ya.getTreeNode(G);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function Ga(e, t, n) {- let r = (0, x.useRef)(typeof document < "u" ? It(I(e.current ? e.current[0] : void 0)) : null);- B(() => {- let r = e.current, i = I(r ? r[0] : void 0);+function Wa(e, t, n) {+ let r = (0, x.useRef)(typeof document < "u" ? Ft(L(e.current ? e.current[0] : void 0)) : null);+ V(() => {+ let r = e.current, i = L(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!W || Ra(W, e)) && Fa(It(i), e.current) && (W = e);+ (!G || La(G, e)) && Pa(Ft(i), e.current) && (G = e);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));};- }, [e, n]), B(() => {- let r = I(e.current ? e.current[0] : void 0);+ }, [e, n]), V(() => {+ let r = L(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Aa(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !ka(e) || t.isComposing) return;let n = r.activeElement;- if (!Ia(n, e) || !Wa(e)) return;- let i = Xa.getTreeNode(e);+ if (!Fa(n, e) || !Ua(e)) return;+ let i = Ya.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = qa(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = Ka(r.body, { tabbable: !0 });o.currentNode = n;let s = t.shiftKey ? o.previousNode() : o.nextNode();- if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Ia(s, e)) && a) {+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Fa(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (Ia(s, e));- t.preventDefault(), t.stopPropagation(), s ? za(s, !0) : Pa(a) ? za(a, !0) : n.blur();+ while (Fa(s, e));+ t.preventDefault(), t.stopPropagation(), s ? Ra(s, !0) : Na(a) ? Ra(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -4556,31 +4556,31 @@ function Ga(e, t, n) {e,t,n- ]), B(() => {- let n = I(e.current ? e.current[0] : void 0);+ ]), V(() => {+ let n = L(e.current ? e.current[0] : void 0);if (!t) return;- let i = Xa.getTreeNode(e);+ let i = Ya.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = Xa.getTreeNode(e);+ let r = Ya.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = It(n);- if (t && i && (a && Ia(a, e) || a === n.body && Wa(e))) {- let t = Xa.clone();+ let i = r.nodeToRestore, a = Ft(n);+ if (t && i && (a && Fa(a, e) || a === n.body && Ua(e))) {+ let t = Ya.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- Ka(n.nodeToRestore);+ Ga(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && Xa.getTreeNode(n.scopeRef)) {- let e = Ba(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && Ya.getTreeNode(n.scopeRef)) {+ let e = za(n.scopeRef.current, !0);if (e) {- Ka(e);+ Ga(e);return;}}@@ -4592,21 +4592,21 @@ function Ga(e, t, n) {};}, [e, t]);}-function Ka(e) {- e.dispatchEvent(new CustomEvent(Ea, {+function Ga(e) {+ e.dispatchEvent(new CustomEvent(Ta, {bubbles: !0,cancelable: !0- })) && za(e);+ })) && Ra(e);}-function qa(e, t, n) {- let r = t?.tabbable ? Kt : Gt, i = I(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = wa(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return L(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Ma(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Fa(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function Ka(e, t, n) {+ let r = t?.tabbable ? Gt : Wt, i = L(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Ca(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return R(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!ja(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Pa(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var Ja = class e {+var qa = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new Ya({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new Ja({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -4617,7 +4617,7 @@ var Ja = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new Ya({ scopeRef: e });+ let i = new Ja({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -4628,7 +4628,7 @@ var Ja = class e {let t = this.fastMap.get(e);if (!t) return;let n = t.parent;- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && Fa(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && Pa(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);let r = t.children;n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);}@@ -4640,7 +4640,7 @@ var Ja = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, Ya = class {+}, Ja = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -4650,13 +4650,13 @@ var Ja = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, Xa = new Ja(), Za = 7e3, Qa = null;-function $a(e, t = "assertive", n = Za) {- Qa ? Qa.announce(e, t, n) : (Qa = new eo(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Qa.announce(e, t, n) : setTimeout(() => {- Qa?.isAttached() && Qa?.announce(e, t, n);+}, Ya = new qa(), Xa = 7e3, Za = null;+function Qa(e, t = "assertive", n = Xa) {+ Za ? Za.announce(e, t, n) : (Za = new $a(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Za.announce(e, t, n) : setTimeout(() => {+ Za?.isAttached() && Za?.announce(e, t, n);}, 100));}-var eo = class {+var $a = class {constructor() {this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {border: 0,@@ -4681,7 +4681,7 @@ var eo = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = Za) {+ announce(e, t = "assertive", n = Xa) {if (!this.node) return;let r = document.createElement("div");typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {@@ -4694,46 +4694,46 @@ var eo = class {};//#endregion//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs-function to(e, t) {+function eo(e, t) {if (!e) return !1;let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function no(e, t) {+function to(e, t) {let n = e;- for (to(n, t) && (n = n.parentElement); n && !to(n, t);) n = n.parentElement;+ for (eo(n, t) && (n = n.parentElement); n && !eo(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function ro(e, t) {+function no(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (to(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (eo(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}//#endregion//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function io(e, t, n = {}) {- e !== t && ao(e, t, t.getBoundingClientRect(), n);-}-function ao(e, t, n, r = {}) {- let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, ee = n.left - y, j = n.right + b, te = e === d ? 0 : D + O, M = e === d ? 0 : T + E, ne = e === d ? 0 : e.offsetWidth - e.clientWidth - te, N = e === d ? 0 : e.offsetHeight - e.clientHeight - M, re = p + (f ? 0 : T) + x, ie = m - (f ? 0 : E) - S - N, ae = h + (f ? 0 : D) + C, oe = g - (f ? 0 : O) - w;- on() && cn() || u.direction === "ltr" ? oe -= ne : u.direction === "rtl" && (ae += ne);- let se = k < re || A > ie, ce = ee < ae || j > oe;- if (se && i === "start") o += k - re;- else if (se && i === "center") o += (k + A) / 2 - (re + ie) / 2;- else if (se && i === "end") o += A - ie;- else if (se && i === "nearest") {- let e = k - re, t = A - ie;+function ro(e, t, n = {}) {+ e !== t && io(e, t, t.getBoundingClientRect(), n);+}+function io(e, t, n, r = {}) {+ let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, ee = n.left - y, j = n.right + b, te = e === d ? 0 : D + O, M = e === d ? 0 : T + E, ne = e === d ? 0 : e.offsetWidth - e.clientWidth - te, N = e === d ? 0 : e.offsetHeight - e.clientHeight - M, re = p + (f ? 0 : T) + x, P = m - (f ? 0 : E) - S - N, ie = h + (f ? 0 : D) + C, ae = g - (f ? 0 : O) - w;+ an() && sn() || u.direction === "ltr" ? ae -= ne : u.direction === "rtl" && (ie += ne);+ let oe = k < re || A > P, se = ee < ie || j > ae;+ if (oe && i === "start") o += k - re;+ else if (oe && i === "center") o += (k + A) / 2 - (re + P) / 2;+ else if (oe && i === "end") o += A - P;+ else if (oe && i === "nearest") {+ let e = k - re, t = A - P;o += Math.abs(e) <= Math.abs(t) ? e : t;}- if (ce && a === "start") s += ee - ae;- else if (ce && a === "center") s += (ee + j) / 2 - (ae + oe) / 2;- else if (ce && a === "end") s += j - oe;- else if (ce && a === "nearest") {- let e = ee - ae, t = j - oe;+ if (se && a === "start") s += ee - ie;+ else if (se && a === "center") s += (ee + j) / 2 - (ie + ae) / 2;+ else if (se && a === "end") s += j - ae;+ else if (se && a === "nearest") {+ let e = ee - ie, t = j - ae;s += Math.abs(e) <= Math.abs(t) ? e : t;}e.scrollTo({@@ -4741,7 +4741,7 @@ function ao(e, t, n, r = {}) {top: o});}-function oo(e, t = {}) {+function ao(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -4754,47 +4754,47 @@ function oo(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = ro(e, !0);- for (let t of i) io(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = no(e, !0);+ for (let t of i) ro(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? ro(n, !0) : [];- for (let e of i) io(e, n, {+ i = n ? no(n, !0) : [];+ for (let e of i) ro(e, n, {block: "center",inline: "center"});- for (let t of ro(e, !0)) io(t, e);+ for (let t of no(e, !0)) ro(t, e);}}}}//#endregion//#region node_modules/react-aria/dist/private/utils/useDescription.mjs-var so = 0, co = /* @__PURE__ */ new Map();-function lo(e) {+var oo = 0, so = /* @__PURE__ */ new Map();+function co(e) {let [t, n] = (0, x.useState)();- return B(() => {+ return V(() => {if (!e) return;- let t = co.get(e);+ let t = so.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${so++}`;+ let r = `react-aria-description-${oo++}`;n(r);let i = document.createElement("div");i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {refCount: 0,element: i- }, co.set(e, t);+ }, so.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), co.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), so.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}//#endregion//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs-function uo(e, t, n) {- let r = bi((e) => {+function lo(e, t, n) {+ let r = yi((e) => {n && !e.defaultPrevented && n(t);});(0, x.useEffect)(() => {@@ -4806,21 +4806,21 @@ function uo(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs-function fo(e, t, n) {+function uo(e, t, n) {let { validationBehavior: r, focus: i } = e;- B(() => {+ V(() => {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(mo(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(po(n.current));}});- let a = (0, x.useRef)(!1), o = bi(() => {+ let a = (0, x.useRef)(!1), o = yi(() => {a.current || t.resetValidation();- }), s = bi((e) => {+ }), s = yi((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && ho(r) === n.current && (i ? i() : n.current?.focus(), Xn("keyboard")), e.preventDefault();- }), c = bi(() => {+ !e.defaultPrevented && n && r && mo(r) === n.current && (i ? i() : n.current?.focus(), Yn("keyboard")), e.preventDefault();+ }), c = yi(() => {t.commitValidation();});(0, x.useEffect)(() => {@@ -4828,13 +4828,13 @@ function fo(e, t, n) {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;+ a.current = !window.event || window.event.type === "message" && z(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 po(e) {+function fo(e) {let t = e.validity;return {badInput: t.badInput,@@ -4850,14 +4850,14 @@ function po(e) {valid: t.valid};}-function mo(e) {+function po(e) {return {isInvalid: !e.validity.valid,- validationDetails: po(e),+ validationDetails: fo(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function ho(e) {+function mo(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -4866,16 +4866,16 @@ function ho(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSlot.mjs-function go(e = !0) {+function ho(e = !0) {let [t, n] = (0, x.useState)(e), r = (0, x.useRef)(!1), i = (0, x.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return B(() => {+ return V(() => {r.current || n(!1);}, []), [i, t];}-function _o(e = !0) {- let t = fr(), [n, r] = go(e);+function go(e = !0) {+ let t = dr(), [n, r] = ho(e);return {id: r ? t : void 0,ref: n@@ -4883,7 +4883,7 @@ function _o(e = !0) {}//#endregion//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var vo = {+var _o = {badInput: !1,customError: !1,patternMismatch: !1,@@ -4895,18 +4895,18 @@ var vo = {typeMismatch: !1,valueMissing: !1,valid: !0-}, yo = {- ...vo,+}, vo = {+ ..._o,customError: !0,valid: !1-}, bo = {+}, yo = {isInvalid: !1,- validationDetails: vo,+ validationDetails: _o,validationErrors: []-}, xo = (0, x.createContext)({}), So = "__reactAriaFormValidationState";-function Co(e) {+}, bo = (0, x.createContext)({}), xo = "__reactAriaFormValidationState";+function So(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[So];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[xo];return {realtimeValidation: t,displayValidation: n,@@ -4915,71 +4915,71 @@ function Co(e) {commitValidation: a};}- return wo(e);+ return Co(e);}-function wo(e) {+function Co(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: yo- }, l = (0, x.useMemo)(() => !o || i == null ? null : Do(Eo(o, i)), [o, i]);+ validationDetails: vo+ }, l = (0, x.useMemo)(() => !o || i == null ? null : Eo(To(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, x.useContext)(xo), d = (0, x.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => To(u[e])) : To(u[r]) : [], [u, r]), [f, p] = (0, x.useState)(u), [m, h] = (0, x.useState)(!1);+ let u = (0, x.useContext)(bo), d = (0, x.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => wo(u[e])) : wo(u[r]) : [], [u, r]), [f, p] = (0, x.useState)(u), [m, h] = (0, x.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, x.useMemo)(() => Do(m ? [] : d), [m, d]), _ = (0, x.useRef)(bo), [v, y] = (0, x.useState)(bo), b = (0, x.useRef)(bo), S = () => {+ let g = (0, x.useMemo)(() => Eo(m ? [] : d), [m, d]), _ = (0, x.useRef)(yo), [v, y] = (0, x.useState)(yo), b = (0, x.useRef)(yo), S = () => {if (!C) return;w(!1);let e = l || a || _.current;- Oo(e, b.current) || (b.current = e, y(e));+ Do(e, b.current) || (b.current = e, y(e));}, [C, w] = (0, x.useState)(!1);return (0, x.useEffect)(S), {- realtimeValidation: c || g || l || a || bo,+ realtimeValidation: c || g || l || a || yo,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !Oo(v, e) ? y(e) : _.current = e;+ s === "aria" && !Do(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = bo;- Oo(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);+ let e = yo;+ Do(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);},commitValidation() {s === "native" && w(!0), h(!0);}};}-function To(e) {+function wo(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function Eo(e, t) {+function To(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return To(n);+ if (n && typeof n != "boolean") return wo(n);}return [];}-function Do(e) {+function Eo(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: yo+ validationDetails: vo} : null;}-function Oo(e, t) {+function Do(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/dist/private/toggle/useToggle.mjs-function ko(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: v, onClick: y } = e, b = Co({+function Oo(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: v, onClick: y } = e, b = So({...e,value: t.isSelected}), { isInvalid: S, validationErrors: C, validationDetails: w } = b.displayValidation;- fo(e, b, n);+ uo(e, b, n);let T = (e) => {- e.stopPropagation(), t.setSelected(R(e).checked);- }, { pressProps: E, isPressed: D } = ma({+ e.stopPropagation(), t.setSelected(z(e).checked);+ }, { pressProps: E, isPressed: D } = pa({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -4987,7 +4987,7 @@ function ko(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [O, k] = (0, x.useState)(!1), { pressProps: A } = ma({+ }), [O, k] = (0, x.useState)(!1), { pressProps: A } = pa({onPressStart(e) {if (e.pointerType === "keyboard" || e.pointerType === "virtual") {e.continuePropagation();@@ -5016,16 +5016,16 @@ function ko(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [So]: i } = e, { commitValidation: a } = i || b;+ let { [xo]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: ee } = Rr(e, n), j = V(E, ee), te = H(e, { labelable: !0 });- uo(n, t.defaultSelected, t.setSelected);- let M = _o(), ne = _o();+ }), { focusableProps: ee } = Lr(e, n), j = H(E, ee), te = U(e, { labelable: !0 });+ lo(n, t.defaultSelected, t.setSelected);+ let M = go(), ne = go();return {- labelProps: V(A, { onClick: (e) => e.preventDefault() }),- inputProps: V(te, {+ labelProps: H(A, { onClick: (e) => e.preventDefault() }),+ inputProps: H(te, {checked: t.isSelected,"aria-required": l && u === "aria" || void 0,required: l && u === "native",@@ -5059,12 +5059,12 @@ function ko(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function Ao(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 } = ko(e, t, n), { isIndeterminate: m } = e;+function ko(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 } = Oo(e, t, n), { isIndeterminate: m } = e;return (0, x.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {- labelProps: V(r, (0, x.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),+ labelProps: H(r, (0, x.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),inputProps: i,descriptionProps: a,errorMessageProps: o,@@ -5079,18 +5079,18 @@ function Ao(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/utils.mjs-var jo = /* @__PURE__ */ new WeakMap();+var Ao = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/label/useLabel.mjs-function Mo(e) {+function jo(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = fr(t);- let o = fr(), s = {};+ t = dr(t);+ let o = dr(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = Si({+ let c = xi({id: t,"aria-label": i,"aria-labelledby": r@@ -5102,19 +5102,19 @@ function Mo(e) {}//#endregion//#region node_modules/react-aria/dist/private/label/useField.mjs-function No(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Mo(e), s = mr([+function Mo(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = jo(e), s = pr([!!t,!!n,r,i- ]), c = mr([+ ]), c = pr([!!t,!!n,r,i]);- return o = V(o, { "aria-describedby": [+ return o = H(o, { "aria-describedby": [s,c,e["aria-describedby"]@@ -5127,26 +5127,26 @@ function No(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function Po(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, x.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = ca(), c = (0, x.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));+function No(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, x.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = sa(), c = (0, x.useCallback)((e) => {+ R(e.currentTarget, z(e)) && a.current.isFocusWithin && !R(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = Xt(c), u = (0, x.useCallback)((e) => {- if (!L(e.currentTarget, R(e))) return;- let t = R(e), n = I(t), s = It(n);+ ]), l = Yt(c), u = (0, x.useCallback)((e) => {+ if (!R(e.currentTarget, z(e))) return;+ let t = z(e), n = L(t), s = Ft(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 r = z(e);+ if (a.current.isFocusWithin && !R(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- Yt(e, t);- let i = Jt(e);+ Jt(e, t);+ let i = qt(e);c(i);}}, { capture: !0 });@@ -5168,14 +5168,14 @@ function Po(e) {}//#endregion//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs-var Fo = typeof document < "u" ? x.useInsertionEffect ?? x.useLayoutEffect : () => {};-function Io(e, t, n) {+var Po = typeof document < "u" ? x.useInsertionEffect ?? x.useLayoutEffect : () => {};+function Fo(e, t, n) {let [r, i] = (0, x.useState)(e || t), a = (0, x.useRef)(r), o = (0, x.useRef)(e !== void 0), s = e !== void 0;(0, x.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- Fo(() => {+ Po(() => {a.current = c;});let [, l] = (0, x.useReducer)(() => ({}), {});@@ -5186,8 +5186,8 @@ function Io(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function Lo(e = {}) {- let { isReadOnly: t } = e, [n, r] = Io(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, x.useState)(n);+function Io(e = {}) {+ let { isReadOnly: t } = e, [n, r] = Fo(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, x.useState)(n);function a(e) {t || r(e);}@@ -5203,26 +5203,26 @@ function Lo(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function G(e, t, n) {- let r = Lo({+function K(e, t, n) {+ let r = Io({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 } = jo.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Ao.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = Co({+ let { realtimeValidation: l } = So({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, x.useRef)(bo), d = () => {+ }), u = (0, x.useRef)(yo), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, x.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = Ao({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = ko({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -5230,7 +5230,7 @@ function G(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [So]: {+ [xo]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -5254,12 +5254,12 @@ function G(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/utils/number.mjs-function Ro(e, t = -Infinity, n = Infinity) {+function Lo(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}//#endregion//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var zo = {+var Ro = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -5271,40 +5271,40 @@ var zo = {width: "1px",whiteSpace: "nowrap"};-function Bo(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, x.useState)(!1), { focusWithinProps: a } = Po({+function zo(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, x.useState)(!1), { focusWithinProps: a } = No({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, x.useMemo)(() => r ? t : t ? {- ...zo,+ ...Ro,...t- } : zo, [r]);+ } : Ro, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function Vo(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Bo(e);- return /*#__PURE__*/ x.createElement(n, V(a, o), t);+function Bo(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = zo(e);+ return /*#__PURE__*/ x.createElement(n, H(a, o), t);}//#endregion//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs-function Ho(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Io(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Rr(e, t), d = Co({+function Vo(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Fo(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Lr(e, t), d = So({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = No({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = Mo({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = H(e, { labelable: !0 }), b = {+ }), y = U(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [S] = (0, x.useState)(c);- return uo(t, e.defaultValue ?? S, l), fo(e, d, t), {+ return lo(t, e.defaultValue ?? S, l), uo(e, d, t), {labelProps: h,- inputProps: V(y, n === "input" ? b : void 0, {+ inputProps: H(y, n === "input" ? b : void 0, {disabled: r,readOnly: a,required: i && s === "native",@@ -5316,7 +5316,7 @@ function Ho(e, t) {"aria-haspopup": e["aria-haspopup"],"aria-controls": e["aria-controls"],value: c,- onChange: (e) => l(R(e).value),+ onChange: (e) => l(z(e).value),autoComplete: e.autoComplete,autoCapitalize: e.autoCapitalize,maxLength: e.maxLength,@@ -5349,42 +5349,42 @@ function Ho(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var Uo = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function Wo(e) {+var Ho = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function Uo(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var Go = /* @__PURE__ */ new WeakMap(), Ko = [];-function qo(e, t) {- let n = Dt(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Uo, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {+var Wo = /* @__PURE__ */ new WeakMap(), Go = [];+function Ko(e, t) {+ let n = Et(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Ho, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));}, u = /* @__PURE__ */ new Set();- if (Ft()) {+ if (Pt()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; jt(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; At(e) && e !== t;) u.add(e), e = e.host.getRootNode();}}let d = (e) => {for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);let t = (e) => {if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;- for (let t of o) if (L(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (R(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = wa(I(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = Ca(L(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {let e = n.nextNode();for (; e != null;) f(e), e = n.nextNode();}}, f = (e) => {- let t = Go.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Go.set(e, t + 1));+ let t = Wo.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Wo.set(e, t + 1));};- Ko.length && Ko[Ko.length - 1].disconnect(), d(i);+ Go.length && Go[Go.length - 1].disconnect(), d(i);let p = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => L(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Wo(e) ? o.add(e) : e instanceof Element && d(e);- if (Ft()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => R(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Uo(e) ? o.add(e) : e instanceof Element && d(e);+ if (Pt()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -5397,11 +5397,11 @@ function qo(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (Ft()) for (let e of u) {+ if (Pt()) for (let e of u) {let t = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => L(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Wo(e) ? o.add(e) : e instanceof Element && d(e);- if (Ft()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => R(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Uo(e) ? o.add(e) : e instanceof Element && d(e);+ if (Pt()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -5427,59 +5427,59 @@ function qo(e, t) {p.disconnect();}};- return Ko.push(h), () => {- if (p.disconnect(), Ft()) for (let e of m) e.disconnect();+ return Go.push(h), () => {+ if (p.disconnect(), Pt()) for (let e of m) e.disconnect();for (let e of s) {- let t = Go.get(e);- t != null && (t === 1 ? (l(e, !1), Go.delete(e)) : Go.set(e, t - 1));+ let t = Wo.get(e);+ t != null && (t === 1 ? (l(e, !1), Wo.delete(e)) : Wo.set(e, t - 1));}- h === Ko[Ko.length - 1] ? (Ko.pop(), Ko.length && Ko[Ko.length - 1].observe()) : Ko.splice(Ko.indexOf(h), 1);+ h === Go[Go.length - 1] ? (Go.pop(), Go.length && Go[Go.length - 1].observe()) : Go.splice(Go.indexOf(h), 1);};}-function Jo(e) {- let t = Ko[Ko.length - 1];+function qo(e) {+ let t = Go[Go.length - 1];if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {t.visibleNodes.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/listbox/utils.mjs-var Yo = /* @__PURE__ */ new WeakMap();-function Xo(e) {+var Jo = /* @__PURE__ */ new WeakMap();+function Yo(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function Zo(e, t) {- let n = Yo.get(e);+function Xo(e, t) {+ let n = Jo.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${Xo(t)}`;+ return `${n.id}-option-${Yo(t)}`;}//#endregion//#region node_modules/react-aria/dist/private/selection/utils.mjs-function Qo(e) {- return sn() ? e.altKey : e.ctrlKey;+function Zo(e) {+ return on() ? e.altKey : e.ctrlKey;}-function $o(e, t) {+function Qo(e, t) {let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);}-var es = /* @__PURE__ */ new WeakMap();-function ts(e) {- let t = fr();- return es.set(e, t), t;+var $o = /* @__PURE__ */ new WeakMap();+function es(e) {+ let t = dr();+ return $o.set(e, t), t;}-function ns(e) {- return es.get(e);+function ts(e) {+ return $o.get(e);}//#endregion//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var rs = class {+var ns = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : $o(this.ref, e);+ let n = e == null ? null : Qo(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -5505,12 +5505,12 @@ var rs = class {height: e?.clientHeight ?? 0};}-}, is = class {+}, rs = class {constructor(...e) {if (e.length === 1) {let t = e[0];- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new rs(t.ref);- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new rs(this.ref);+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new ns(t.ref);+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new ns(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -5550,14 +5550,14 @@ var rs = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = $o(this.ref, e);+ let t = this.getNextKey(e), n = Qo(this.ref, e);if (t != null) {- let e = $o(this.ref, t);+ let e = Qo(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = $o(this.ref, r);+ let e = Qo(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -5591,7 +5591,7 @@ var rs = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !to(t)) return this.getFirstKey();+ if (t && !eo(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -5606,7 +5606,7 @@ var rs = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !to(t)) return this.getLastKey();+ if (t && !eo(t)) return this.getLastKey();let i = e;if (this.orientation === "horizontal") {let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);@@ -5629,184 +5629,184 @@ var rs = class {}return null;}-}, as = {};-as = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, is = {};+is = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var os = {};-os = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var as = {};+as = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var ss = {};-ss = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var os = {};+os = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs-var cs = {};-cs = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var ss = {};+ss = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs-var ls = {};-ls = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var cs = {};+cs = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs-var us = {};-us = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var ls = {};+ls = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var ds = {};-ds = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var us = {};+us = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var fs = {};-fs = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var ds = {};+ds = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var ps = {};-ps = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var fs = {};+fs = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var ms = {};-ms = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var ps = {};+ps = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var hs = {};-hs = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var ms = {};+ms = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs-var gs = {};-gs = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var hs = {};+hs = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var _s = {};-_s = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var gs = {};+gs = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var vs = {};-vs = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var _s = {};+_s = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var ys = {};-ys = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var vs = {};+vs = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var bs = {};-bs = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var ys = {};+ys = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var xs = {};-xs = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var bs = {};+bs = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var Ss = {};-Ss = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var xs = {};+xs = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var Cs = {};-Cs = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var Ss = {};+Ss = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs-var ws = {};-ws = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var Cs = {};+Cs = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var Ts = {};-Ts = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var ws = {};+ws = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs-var Es = {};-Es = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var Ts = {};+Ts = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs-var Ds = {};-Ds = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var Es = {};+Es = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs-var Os = {};-Os = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var Ds = {};+Ds = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs-var ks = {};-ks = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var Os = {};+Os = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs-var As = {};-As = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var ks = {};+ks = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var js = {};-js = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var As = {};+As = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs-var Ms = {};-Ms = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var js = {};+js = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs-var Ns = {};-Ns = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var Ms = {};+Ms = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var Ps = {};-Ps = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var Ns = {};+Ns = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs-var Fs = {};-Fs = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var Ps = {};+Ps = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs-var Is = {};-Is = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var Fs = {};+Fs = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var Ls = {};-Ls = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var Is = {};+Is = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var Rs = {};-Rs = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var Ls = {};+Ls = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };//#endregion//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs-var zs = {};-zs = {- "ar-AE": as,- "bg-BG": os,- "cs-CZ": ss,- "da-DK": cs,- "de-DE": ls,- "el-GR": us,- "en-US": ds,- "es-ES": fs,- "et-EE": ps,- "fi-FI": ms,- "fr-FR": hs,- "he-IL": gs,- "hr-HR": _s,- "hu-HU": vs,- "it-IT": ys,- "ja-JP": bs,- "ko-KR": xs,- "lt-LT": Ss,- "lv-LV": Cs,- "nb-NO": ws,- "nl-NL": Ts,- "pl-PL": Es,- "pt-BR": Ds,- "pt-PT": Os,- "ro-RO": ks,- "ru-RU": As,- "sk-SK": js,- "sl-SI": Ms,- "sr-SP": Ns,- "sv-SE": Ps,- "tr-TR": Fs,- "uk-UA": Is,- "zh-CN": Ls,- "zh-TW": Rs+var Rs = {};+Rs = {+ "ar-AE": is,+ "bg-BG": as,+ "cs-CZ": os,+ "da-DK": ss,+ "de-DE": cs,+ "el-GR": ls,+ "en-US": us,+ "es-ES": ds,+ "et-EE": fs,+ "fi-FI": ps,+ "fr-FR": ms,+ "he-IL": hs,+ "hr-HR": gs,+ "hu-HU": _s,+ "it-IT": vs,+ "ja-JP": ys,+ "ko-KR": bs,+ "lt-LT": xs,+ "lv-LV": Ss,+ "nb-NO": Cs,+ "nl-NL": ws,+ "pl-PL": Ts,+ "pt-BR": Es,+ "pt-PT": Ds,+ "ro-RO": Os,+ "ru-RU": ks,+ "sk-SK": As,+ "sl-SI": js,+ "sr-SP": Ms,+ "sv-SE": Ns,+ "tr-TR": Ps,+ "uk-UA": Fs,+ "zh-CN": Is,+ "zh-TW": Ls};//#endregion//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var Bs = 500;-function Vs(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Bs, accessibilityDescription: s } = e, c = (0, x.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = ca(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = ma({+var zs = 500;+function Bs(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = zs, accessibilityDescription: s } = e, c = (0, x.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = sa(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = pa({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -5814,12 +5814,12 @@ function Vs(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), I(e.target).activeElement !== e.target && St(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), L(e.target).activeElement !== e.target && xt(e.target), a && a({...e,type: "longpress"}), c.current = void 0;}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });- let t = Dt(e.target);+ let t = Et(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -5834,12 +5834,12 @@ function Vs(e) {});}});- return { longPressProps: V(f, lo(a && !t ? s : void 0)) };+ return { longPressProps: H(f, co(a && !t ? s : void 0)) };}//#endregion//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function Hs(e) {- let { onContextMenu: t } = e, n = (0, x.useRef)(!1), { longPressProps: r } = Vs({+function Vs(e) {+ let { onContextMenu: t } = e, n = (0, x.useRef)(!1), { longPressProps: r } = Bs({onLongPressStart() {n.current = !1;},@@ -5851,7 +5851,7 @@ function Hs(e) {});}});- return t ? { contextMenuProps: V(on() ? r : {}, {+ return t ? { contextMenuProps: H(an() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -5862,7 +5862,7 @@ function Hs(e) {});},onKeyDown(e) {- if (nn() && e.ctrlKey && e.key === "Enter") {+ if (tn() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -5882,13 +5882,13 @@ function Hs(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var Us = /* @__PURE__ */ new WeakMap();-function Ws(e) {+var Hs = /* @__PURE__ */ new WeakMap();+function Us(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, x.useEffect)(() => !n || r === null ? void 0 : Mt(Lt(t.current), "scroll", (e) => {- let n = R(e);- if (!t.current || n instanceof Node && !L(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || Us.get(t.current);+ (0, x.useEffect)(() => !n || r === null ? void 0 : jt(It(t.current), "scroll", (e) => {+ let n = z(e);+ if (!t.current || n instanceof Node && !R(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || Hs.get(t.current);i && i();}, !0), [n,@@ -5898,14 +5898,14 @@ function Ws(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function Gs(e, t, n) {+function Ws(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, x.useEffect)(() => {- n && n.current && Us.set(n.current, t.close);+ n && n.current && Hs.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = fr();+ let o = dr();return {triggerProps: {"aria-haspopup": a,@@ -5918,14 +5918,14 @@ function Gs(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function Ks(e) {+function Gs(e) {return e && e.__esModule ? e.default : e;}-function qs(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = fr(), { triggerProps: s, overlayProps: c } = Gs({ type: r }, t, n), l = (e, n, r = "first") => {+function Ks(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = dr(), { triggerProps: s, overlayProps: c } = Ws({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = Nr({+ }, { keyboardProps: u } = Mr({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -5937,7 +5937,7 @@ function qs(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = qi(Ks(zs), "@react-aria/menu"), { longPressProps: f } = Vs({+ }), d = Ki(Gs(Rs), "@react-aria/menu"), { longPressProps: f } = Bs({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -5949,14 +5949,14 @@ function qs(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (St(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (xt(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (St(e.target), t.toggle());+ e.pointerType === "touch" && !i && (xt(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = Hs({ onContextMenu(e) {+ let { contextMenuProps: m } = Vs({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -5966,7 +5966,7 @@ function qs(e, t, n) {(0, x.useEffect)(() => {if (t.isOpen && a === "contextMenu") {let e = (e) => {- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && R(e) === document.body && t.close();+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && z(e) === document.body && t.close();};return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);}@@ -6001,8 +6001,8 @@ function qs(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var Js = 1e3;-function Ys(e) {+var qs = 1e3;+function Js(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, x.useRef)({search: "",timeout: void 0@@ -6021,12 +6021,12 @@ function Ys(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, Js);+ }, qs);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = Xs(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !L(e.currentTarget, R(e)) || i.current.search.length === 0 && a === " ")) {+ let a = Ys(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !R(e.currentTarget, z(e)) || i.current.search.length === 0 && a === " ")) {if (i.current.search += a, t.getKeyForSearch != null) {let a = t.getKeyForSearch(i.current.search, n.focusedKey);if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();@@ -6037,34 +6037,34 @@ function Ys(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, Js);+ }, qs);}} : void 0} };}-function Xs(e) {+function Ys(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function Zs(e, t) {+function Xs(e, t) {let n = (0, x.useRef)(!0), r = (0, x.useRef)(null);- B(() => (n.current = !0, () => {+ V(() => (n.current = !0, () => {n.current = !1;- }), []), B(() => {+ }), []), V(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function Qs(e) {- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Ni(), _ = hn(), v = (e, n, i) => {+function Zs(e) {+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Mi(), _ = mn(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !Qo(e)) {- (0, qr.flushSync)(() => {+ if (t.isLink(n) && m === "selection" && l && !Zo(e)) {+ (0, Kr.flushSync)(() => {t.setFocusedKey(n, i);});- let a = $o(r, n), o = t.getItemProps(n);+ let a = Qo(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -6076,7 +6076,7 @@ function Qs(e) {t.extendSelection(n);return;}- if (l && !Qo(e)) {+ if (l && !Zo(e)) {t.replaceSelection(n);return;}@@ -6103,9 +6103,9 @@ function Qs(e) {}, S = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, gi(e));+ let r = n.getFirstKey(t.focusedKey, hi(e));if (t.setFocusedKey(r), r != null) {- if (gi(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (hi(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -6137,9 +6137,9 @@ function Qs(e) {}, T = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, gi(e));+ let r = n.getLastKey(t.focusedKey, hi(e));if (t.setFocusedKey(r), r != null) {- if (gi(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (hi(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -6176,12 +6176,12 @@ function Qs(e) {return !1;}, A = () => {if (!f && r.current) {- let e = qa(r.current, { tabbable: !0 }), t, n;+ let e = Ka(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = It();- t && (!Rt(t) || i && !Kt(i)) && St(t);+ let i = Ft();+ t && (!Lt(t) || i && !Gt(i)) && xt(t);}return {shouldContinuePropagation: !0,@@ -6191,11 +6191,11 @@ function Qs(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), j = (e, t) => ({- [nn() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [tn() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [nn() ? e + "+Alt" : e + "+Control"]: t,+ [tn() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: te } = Nr({+ }), { keyboardProps: te } = Mr({shortcuts: {...j("ArrowDown", y),...j("ArrowUp", b),@@ -6205,7 +6205,7 @@ function Qs(e) {...j("PageUp", D)},allowRepeats: !0- }), { keyboardProps: M } = Nr({ shortcuts: {+ }), { keyboardProps: M } = Mr({ shortcuts: {...j("Home", S),...j("End", T),"Mod+A": O,@@ -6216,7 +6216,7 @@ function Qs(e) {top: 0,left: 0});- xi(p, "scroll", () => {+ bi(p, "scroll", () => {ne.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -6224,11 +6224,11 @@ function Qs(e) {});let N = (e) => {if (t.isFocused) {- L(e.currentTarget, R(e)) || t.setFocused(!1);+ R(e.currentTarget, z(e)) || t.setFocused(!1);return;}- if (!L(e.currentTarget, R(e))) return;- let i = Yn();+ if (!R(e.currentTarget, z(e))) return;+ let i = Jn();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -6239,32 +6239,32 @@ function Qs(e) {r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());} else p.current && (p.current.scrollTop = ne.current.top, p.current.scrollLeft = ne.current.left);if (t.focusedKey != null && p.current) {- let e = $o(r, t.focusedKey);- e instanceof HTMLElement && (!Rt(e) && !d && St(e), (i === "keyboard" || h && i === "virtual") && oo(e, { containingElement: r.current }));+ let e = Qo(r, t.focusedKey);+ e instanceof HTMLElement && (!Lt(e) && !d && xt(e), (i === "keyboard" || h && i === "virtual") && ao(e, { containingElement: r.current }));}}, re = (e) => {- L(e.currentTarget, e.relatedTarget) || t.setFocused(!1);- }, ie = (0, x.useRef)(!1);- xi(r, di, d ? (e) => {+ R(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ }, P = (0, x.useRef)(!1);+ bi(r, ui, d ? (e) => {let { detail: n } = e;- e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ie.current = !0);+ e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (P.current = !0);} : void 0);- let ae = n.getFirstKey?.() ?? null;- Zs(() => {- if (ie.current) {- if (ae == null) {- let e = It();- fi(r.current), mi(e, null), t.collection.size > 0 && (ie.current = !1);- } else t.setFocusedKey(ae), ie.current = !1;- }- }, [ae, t.collection.size]), Zs(() => {- t.collection.size > 0 && (ie.current = !1);- }, [t.focusedKey]), xi(r, ui, d ? (e) => {+ let ie = n.getFirstKey?.() ?? null;+ Xs(() => {+ if (P.current) {+ if (ie == null) {+ let e = Ft();+ di(r.current), pi(e, null), t.collection.size > 0 && (P.current = !1);+ } else t.setFocusedKey(ie), P.current = !1;+ }+ }, [ie, t.collection.size]), Xs(() => {+ t.collection.size > 0 && (P.current = !1);+ }, [t.focusedKey]), bi(r, li, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);- let oe = (0, x.useRef)(i), se = (0, x.useRef)(!1);+ let ae = (0, x.useRef)(i), oe = (0, x.useRef)(!1);(0, x.useEffect)(() => {- if (oe.current) {+ if (ae.current) {let e = null;i === "first" && (e = n.getFirstKey?.() ?? null), i === "last" && (e = n.getLastKey?.() ?? null);let a = t.selectedKeys;@@ -6274,53 +6274,53 @@ function Qs(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && ar(r.current), t.collection.size > 0 && (oe.current = !1, se.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && ir(r.current), t.collection.size > 0 && (ae.current = !1, oe.current = !0);}});- let ce = (0, x.useRef)(t.focusedKey), le = (0, x.useRef)(null);+ let se = (0, x.useRef)(t.focusedKey), ce = (0, x.useRef)(null);(0, x.useEffect)(() => {- if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ce.current || se.current) && p.current && r.current) {- let e = Yn(), n = $o(r, t.focusedKey);+ if (t.isFocused && t.focusedKey != null && (t.focusedKey !== se.current || oe.current) && p.current && r.current) {+ let e = Jn(), n = Qo(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;- (e === "keyboard" || se.current) && (le.current && cancelAnimationFrame(le.current), le.current = requestAnimationFrame(() => {- p.current && (io(p.current, n), e !== "virtual" && oo(n, { containingElement: r.current }));+ (e === "keyboard" || oe.current) && (ce.current && cancelAnimationFrame(ce.current), ce.current = requestAnimationFrame(() => {+ p.current && (ro(p.current, n), e !== "virtual" && ao(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && ce.current != null && r.current && ar(r.current), ce.current = t.focusedKey, se.current = !1;+ !d && t.isFocused && t.focusedKey == null && se.current != null && r.current && ir(r.current), se.current = t.focusedKey, oe.current = !1;}), (0, x.useEffect)(() => () => {- le.current && cancelAnimationFrame(le.current);- }, []), xi(r, "react-aria-focus-scope-restore", (e) => {+ ce.current && cancelAnimationFrame(ce.current);+ }, []), bi(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});- let ue = {- ...V(M, te),+ let le = {+ ...H(M, te),onFocus: N,onBlur: re,onMouseDown(e) {- p.current === R(e) && e.preventDefault();+ p.current === z(e) && e.preventDefault();}- }, { typeSelectProps: de } = Ys({+ }, { typeSelectProps: ue } = Js({keyboardDelegate: n,selectionManager: t});- u || (ue = V(de, ue));- let fe;- d || (fe = t.focusedKey == null ? 0 : -1);- let pe = ts(t.collection);- return { collectionProps: V(ue, {- tabIndex: fe,- "data-collection": pe+ u || (le = H(ue, le));+ let de;+ d || (de = t.focusedKey == null ? 0 : -1);+ let fe = es(t.collection);+ return { collectionProps: H(le, {+ tabIndex: de,+ "data-collection": fe}) };}//#endregion//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function $s(e, t) {+function Qs(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function ec(e) {- return tc(e, 0);+function $s(e) {+ return ec(e, 0);}-function tc(e, t) {+function ec(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -6328,96 +6328,96 @@ function tc(e, t) {n++;}}-function nc(e, t, n) {+function tc(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...rc(e, t), t], i = [...rc(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...nc(e, t), t], i = [...nc(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);}-function rc(e, t) {+function nc(e, t) {let n = [], r = t;for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);return n;}//#endregion//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs-var ic = /* @__PURE__ */ new WeakMap();-function ac(e) {- let t = ic.get(e);+var rc = /* @__PURE__ */ new WeakMap();+function ic(e) {+ let t = rc.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r($s(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(Qs(i, e)) : i.type === "item" && n++;};- return r(e), ic.set(e, n), n;+ return r(e), rc.set(e, n), n;}//#endregion//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs-var oc = /* @__PURE__ */ new Map();-function sc(e) {- let { locale: t } = Ni(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (oc.has(n)) return oc.get(n);+var ac = /* @__PURE__ */ new Map();+function oc(e) {+ let { locale: t } = Mi(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (ac.has(n)) return ac.get(n);let r = new Intl.Collator(t, e);- return oc.set(n, r), r;+ return ac.set(n, r), r;}//#endregion//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs-function cc({ children: e }) {+function sc({ children: e }) {let t = (0, x.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ x.createElement(sa.Provider, { value: t }, e);+ return /*#__PURE__*/ x.createElement(oa.Provider, { value: t }, e);}//#endregion//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var lc = /*#__PURE__*/ (0, x.createContext)({});-function uc(e) {- let { getContainer: t } = e, { getContainer: n } = dc();- return /*#__PURE__*/ x.createElement(lc.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var cc = /*#__PURE__*/ (0, x.createContext)({});+function lc(e) {+ let { getContainer: t } = e, { getContainer: n } = uc();+ return /*#__PURE__*/ x.createElement(cc.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function dc() {- return (0, x.useContext)(lc) ?? {};+function uc() {+ return (0, x.useContext)(cc) ?? {};}//#endregion//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs-var fc = /*#__PURE__*/ x.createContext(null);-function pc(e) {- let t = jn(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, x.useState)(!1), o = (0, x.useMemo)(() => ({+var dc = /*#__PURE__*/ x.createContext(null);+function fc(e) {+ let t = An(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, x.useState)(!1), o = (0, x.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = dc();+ }), [i, a]), { getContainer: s } = uc();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ x.createElement(Da, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ x.createElement(Ea, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ x.createElement(fc.Provider, { value: o }, /*#__PURE__*/ x.createElement(cc, null, /*#__PURE__*/ x.createElement(Ir.Provider, { value: null }, c))), /*#__PURE__*/ qr.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ x.createElement(dc.Provider, { value: o }, /*#__PURE__*/ x.createElement(sc, null, /*#__PURE__*/ x.createElement(Fr.Provider, { value: null }, c))), /*#__PURE__*/ Kr.createPortal(c, n);}-function mc() {- let e = (0, x.useContext)(fc)?.setContain;- B(() => {+function pc() {+ let e = (0, x.useContext)(dc)?.setContain;+ V(() => {e?.(!0);}, [e]);}//#endregion//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs-function hc(e, t) {- let { role: n = "dialog" } = e, r = mr();+function mc(e, t) {+ let { role: n = "dialog" } = e, r = pr();r = e["aria-label"] ? void 0 : r;- let i = mr();+ let i = pr();i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;let a = (0, x.useRef)(!1);(0, x.useEffect)(() => {- if (t.current && !Rt(t.current)) {- ar(t.current);+ if (t.current && !Lt(t.current)) {+ ir(t.current);let e = setTimeout(() => {- (It() === t.current || It() === document.body) && (a.current = !0, t.current && (t.current.blur(), ar(t.current)), a.current = !1);+ (Ft() === t.current || Ft() === document.body) && (a.current = !0, t.current && (t.current.blur(), ir(t.current)), a.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t]), mc(), (0, x.useRef)(!1), (0, x.useEffect)(() => {});+ }, [t]), pc(), (0, x.useRef)(!1), (0, x.useEffect)(() => {});let o = e["aria-describedby"] ?? i;return {dialogProps: {- ...H(e, { labelable: !0 }),+ ...U(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? r,@@ -6432,23 +6432,23 @@ function hc(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function gc(e = {}) {+function hc(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, x.useRef)({isFocused: !1,- isFocusVisible: t || Jn()+ isFocusVisible: t || qn()}), [a, o] = (0, x.useState)(!1), [s, c] = (0, x.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, x.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, x.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = Jn(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = qn(), o(e), l();}, [l]);- $n((e) => {+ Qn((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = yr({+ let { focusProps: d } = vr({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = Po({+ }), { focusWithinProps: f } = No({isDisabled: !r,onFocusWithinChange: u});@@ -6460,42 +6460,42 @@ function gc(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function _c(e = {}) {- let { locale: t } = Ni();+function gc(e = {}) {+ let { locale: t } = Mi();return (0, x.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useHover.mjs-var vc = !1, yc = 0;-function bc() {- vc = !0, setTimeout(() => {- vc = !1;+var _c = !1, vc = 0;+function yc() {+ _c = !0, setTimeout(() => {+ _c = !1;}, 500);}-function xc(e) {- e.pointerType === "touch" && bc();+function bc(e) {+ e.pointerType === "touch" && yc();}-function Sc() {- let e = I(null);- if (e !== void 0) return yc === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", xc), yc++, () => {- yc--, !(yc > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", xc);+function xc() {+ let e = L(null);+ if (e !== void 0) return vc === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", bc), vc++, () => {+ vc--, !(vc > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", bc);};}-function Cc(e) {+function Sc(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, x.useState)(!1), s = (0, x.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, x.useEffect)(Sc, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = ca(), { hoverProps: u, triggerHoverEnd: d } = (0, x.useMemo)(() => {+ (0, x.useEffect)(xc, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = sa(), { hoverProps: u, triggerHoverEnd: d } = (0, x.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !L(e.currentTarget, R(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !R(e.currentTarget, z(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(I(R(e)), "pointerover", (e) => {- s.isHovered && s.target && !L(s.target, R(e)) && a(e, e.pointerType);+ s.target = l, c(L(z(e)), "pointerover", (e) => {+ s.isHovered && s.target && !R(s.target, z(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -6510,9 +6510,9 @@ function Cc(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- vc && t.pointerType === "mouse" || e(t, t.pointerType);+ _c && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && L(e.currentTarget, R(e)) && a(e, e.pointerType);+ !i && R(e.currentTarget, z(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -6535,22 +6535,22 @@ function Cc(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function wc(e) {+function Cc(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, x.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = bi((e) => {- n && Tc(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = bi((e) => {+ }), o = yi((e) => {+ n && wc(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = yi((e) => {n && n(e);});(0, x.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = I(n);+ let n = t.current, i = L(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && Tc(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && wc(n, t) && s(n), e.isPointerDown = !1;};return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);@@ -6558,22 +6558,22 @@ function wc(e) {}}, [t, r]);}-function Tc(e, t) {+function wc(e, t) {if (e.button > 0) return !1;- let n = R(e);+ let n = z(e);if (n) {let e = n.ownerDocument;- if (!e || !L(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !R(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function Ec(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = sc({+function Tc(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = oc({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, x.useMemo)(() => a || new is({+ }), l = t.disabledBehavior, u = (0, x.useMemo)(() => a || new rs({collection: n,disabledKeys: r,disabledBehavior: l,@@ -6590,7 +6590,7 @@ function Ec(e) {c,l,s- ]), { collectionProps: d } = Qs({+ ]), { collectionProps: d } = Zs({...e,ref: i,selectionManager: t,@@ -6600,11 +6600,11 @@ function Ec(e) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function Dc(e) {- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = hn();- t = fr(t);+function Ec(e) {+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = mn();+ t = dr(t);let p = (e) => {- if (e.pointerType === "keyboard" && Qo(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && Zo(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -6615,11 +6615,11 @@ function Dc(e) {}if (d === "override" || d === "none") return;}- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (gi(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (hi(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, x.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? fi(i.current) : s ? s() : It() !== i.current && i.current && ar(i.current));+ r === n.focusedKey && n.isFocused && (o ? di(i.current) : s ? s() : Ft() !== i.current && i.current && ir(i.current));}, [i,r,@@ -6632,7 +6632,7 @@ function Dc(e) {!o && !c ? m = {tabIndex: r === n.focusedKey ? 0 : -1,onFocus(e) {- R(e) === i.current && n.setFocusedKey(r);+ z(e) === i.current && n.setFocusedKey(r);}} : c && (m.onMouseDown = (e) => {e.preventDefault();@@ -6647,23 +6647,23 @@ function Dc(e) {l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);}, A = { ref: i };a ? (A.onPressStart = (e) => {- w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || kc(e.key)) && p(e);+ w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || Oc(e.key)) && p(e);}, u ? (A.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, A.onPress = b ? k : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : A.onPress = (e) => {if (b || S && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !Oc(e.key)) return;+ if (e.pointerType === "keyboard" && !Dc(e.key)) return;k(e);} else e.pointerType !== "keyboard" && v && p(e);}) : (A.onPressStart = (e) => {- w.current = e.pointerType, E.current = T, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || kc(e.key))) && p(e);+ w.current = e.pointerType, E.current = T, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || Oc(e.key))) && p(e);}, A.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && Oc(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && Dc(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));});- let ee = ns(n.collection);- if (m["data-collection"] = ee, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = V(A, {+ let ee = ts(n.collection);+ if (m["data-collection"] = ee, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = H(A, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));},@@ -6677,10 +6677,10 @@ function Dc(e) {"onPress","onPressUp","onClick"- ]) O[e] && (A[e] = or(A[e], O[e]));- let { pressProps: j, isPressed: te } = ma(A), M = S ? (e) => {+ ]) O[e] && (A[e] = ar(A[e], O[e]));+ let { pressProps: j, isPressed: te } = pa(A), M = S ? (e) => {w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));- } : void 0, { longPressProps: ne } = Vs({+ } : void 0, { longPressProps: ne } = Bs({isDisabled: !T,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -6688,39 +6688,39 @@ function Dc(e) {}), N = (e) => {w.current === "touch" && E.current && e.preventDefault();}, re = d !== "none" && n.isLink(r) ? (e) => {- gn.isOpening || e.preventDefault();- } : void 0, ie = V(m, v || b || o && !c ? j : {}, T ? ne : {}, {+ hn.isOpening || e.preventDefault();+ } : void 0, P = H(m, v || b || o && !c ? j : {}, T ? ne : {}, {onDoubleClick: M,onDragStartCapture: N,onClick: re,id: t- }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ae = (e) => {+ }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ie = (e) => {let t = e;for (; t && t !== i.current;) {let e = t.getAttribute("data-collection");if (e != null) return e !== ee;t = t.parentElement;}- return Kt(e);- }, oe = ie.onPointerDown;- ie.onPointerDown = (e) => {- let t = R(e);- if (t && t !== i.current && ae(t)) {+ return Gt(e);+ }, ae = P.onPointerDown;+ P.onPointerDown = (e) => {+ let t = z(e);+ if (t && t !== i.current && ie(t)) {e.stopPropagation();return;}- oe?.(e);+ ae?.(e);};- let se = ie.onMouseDown;- return ie.onMouseDown = (e) => {- let t = R(e);- if (t && t !== i.current && ae(t)) {+ let oe = P.onMouseDown;+ return P.onMouseDown = (e) => {+ let t = z(e);+ if (t && t !== i.current && ie(t)) {e.stopPropagation();return;}- se?.(e);+ oe?.(e);}, {- itemProps: ie,+ itemProps: P,isPressed: te,isSelected: n.isSelected(r),isFocused: n.isFocused && n.focusedKey === r,@@ -6729,30 +6729,30 @@ function Dc(e) {hasAction: C};}-function Oc(e) {+function Dc(e) {return e === "Enter";}-function kc(e) {+function Oc(e) {return e === " ";}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Ac(e, t, n) {- let r = H(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function kc(e, t, n) {+ let r = U(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");i === "toggle" && o === "action" && (o = "override");- let { listProps: s } = Ec({+ let { listProps: s } = Tc({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = Po({+ }), { focusWithinProps: c } = No({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = fr(e.id);- Yo.set(t, {+ }), l = dr(e.id);+ Jo.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -6762,24 +6762,24 @@ function Ac(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = Mo({+ let { labelProps: u, fieldProps: d } = jo({...e,id: l,labelElementType: "span"});return {labelProps: u,- listBoxProps: V(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {+ listBoxProps: H(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {role: "listbox","aria-orientation": a,- ...V(d, s)+ ...H(d, s)})};}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function jc(e) {- let { heading: t, "aria-label": n } = e, r = fr();+function Ac(e) {+ let { heading: t, "aria-label": n } = e, r = dr();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -6798,8 +6798,8 @@ function jc(e) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useOption.mjs-function Mc(e, t, n) {- let { key: r } = e, i = Yo.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = mr(), f = mr(), p = {+function jc(e, t, n) {+ let { key: r } = e, i = Jo.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = pr(), f = pr(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -6809,9 +6809,9 @@ function Mc(e, t, n) {}, m = t.collection.getItem(r);if (u) {let e = Number(m?.index);- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = ac(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = ic(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Zo(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Dc({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Xo(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Ec({selectionManager: t.selectionManager,key: r,ref: n,@@ -6820,28 +6820,28 @@ function Mc(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? or(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? ar(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = Cc({+ }), { hoverProps: S } = Sc({isDisabled: a || !c,onHoverStart() {- Jn() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ qn() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = H(m?.props);+ }), C = U(m?.props);delete C.id;- let w = yn(m?.props);+ let w = vn(m?.props);return {optionProps: {...p,- ...V(C, _, S, w),+ ...H(C, _, S, w),id: g},labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && Jn(),+ isFocusVisible: y && t.selectionManager.isFocused && qn(),isSelected: o,isDisabled: a,isPressed: v,@@ -6851,15 +6851,15 @@ function Mc(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function Nc() {+function Mc() {return window.ResizeObserver !== void 0;}-function Pc(e) {- let { ref: t, box: n, onResize: r } = e, i = bi(r);+function Nc(e) {+ let { ref: t, box: n, onResize: r } = e, i = yi(r);(0, x.useEffect)(() => {let e = t?.current;if (e) {- if (Nc()) {+ if (Mc()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -6875,189 +6875,189 @@ function Pc(e) {}//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var Fc = {};-Fc = { dismiss: "تجاهل" };+var Pc = {};+Pc = { dismiss: "تجاهل" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var Ic = {};-Ic = { dismiss: "Отхвърляне" };+var Fc = {};+Fc = { dismiss: "Отхвърляне" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var Lc = {};-Lc = { dismiss: "Odstranit" };+var Ic = {};+Ic = { dismiss: "Odstranit" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var Rc = {};-Rc = { dismiss: "Luk" };+var Lc = {};+Lc = { dismiss: "Luk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var zc = {};-zc = { dismiss: "Schließen" };+var Rc = {};+Rc = { dismiss: "Schließen" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var Bc = {};-Bc = { dismiss: "Απόρριψη" };+var zc = {};+zc = { dismiss: "Απόρριψη" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var Vc = {};-Vc = { dismiss: "Dismiss" };+var Bc = {};+Bc = { dismiss: "Dismiss" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var Hc = {};-Hc = { dismiss: "Descartar" };+var Vc = {};+Vc = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var Uc = {};-Uc = { dismiss: "Lõpeta" };+var Hc = {};+Hc = { dismiss: "Lõpeta" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var Wc = {};-Wc = { dismiss: "Hylkää" };+var Uc = {};+Uc = { dismiss: "Hylkää" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var Gc = {};-Gc = { dismiss: "Rejeter" };+var Wc = {};+Wc = { dismiss: "Rejeter" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var Kc = {};-Kc = { dismiss: "התעלם" };+var Gc = {};+Gc = { dismiss: "התעלם" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var qc = {};-qc = { dismiss: "Odbaci" };+var Kc = {};+Kc = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var Jc = {};-Jc = { dismiss: "Elutasítás" };+var qc = {};+qc = { dismiss: "Elutasítás" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var Yc = {};-Yc = { dismiss: "Ignora" };+var Jc = {};+Jc = { dismiss: "Ignora" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var Xc = {};-Xc = { dismiss: "閉じる" };+var Yc = {};+Yc = { dismiss: "閉じる" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var Zc = {};-Zc = { dismiss: "무시" };+var Xc = {};+Xc = { dismiss: "무시" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var Qc = {};-Qc = { dismiss: "Atmesti" };+var Zc = {};+Zc = { dismiss: "Atmesti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var $c = {};-$c = { dismiss: "Nerādīt" };+var Qc = {};+Qc = { dismiss: "Nerādīt" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var el = {};-el = { dismiss: "Lukk" };+var $c = {};+$c = { dismiss: "Lukk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var tl = {};-tl = { dismiss: "Negeren" };+var el = {};+el = { dismiss: "Negeren" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var nl = {};-nl = { dismiss: "Zignoruj" };+var tl = {};+tl = { dismiss: "Zignoruj" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var rl = {};-rl = { dismiss: "Descartar" };+var nl = {};+nl = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var il = {};-il = { dismiss: "Dispensar" };+var rl = {};+rl = { dismiss: "Dispensar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var al = {};-al = { dismiss: "Revocare" };+var il = {};+il = { dismiss: "Revocare" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var ol = {};-ol = { dismiss: "Пропустить" };+var al = {};+al = { dismiss: "Пропустить" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var sl = {};-sl = { dismiss: "Zrušiť" };+var ol = {};+ol = { dismiss: "Zrušiť" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var cl = {};-cl = { dismiss: "Opusti" };+var sl = {};+sl = { dismiss: "Opusti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var ll = {};-ll = { dismiss: "Odbaci" };+var cl = {};+cl = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var ul = {};-ul = { dismiss: "Avvisa" };+var ll = {};+ll = { dismiss: "Avvisa" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var dl = {};-dl = { dismiss: "Kapat" };+var ul = {};+ul = { dismiss: "Kapat" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var fl = {};-fl = { dismiss: "Скасувати" };+var dl = {};+dl = { dismiss: "Скасувати" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var pl = {};-pl = { dismiss: "取消" };+var fl = {};+fl = { dismiss: "取消" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var ml = {};-ml = { dismiss: "關閉" };+var pl = {};+pl = { dismiss: "關閉" };//#endregion//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var hl = {};-hl = {- "ar-AE": Fc,- "bg-BG": Ic,- "cs-CZ": Lc,- "da-DK": Rc,- "de-DE": zc,- "el-GR": Bc,- "en-US": Vc,- "es-ES": Hc,- "et-EE": Uc,- "fi-FI": Wc,- "fr-FR": Gc,- "he-IL": Kc,- "hr-HR": qc,- "hu-HU": Jc,- "it-IT": Yc,- "ja-JP": Xc,- "ko-KR": Zc,- "lt-LT": Qc,- "lv-LV": $c,- "nb-NO": el,- "nl-NL": tl,- "pl-PL": nl,- "pt-BR": rl,- "pt-PT": il,- "ro-RO": al,- "ru-RU": ol,- "sk-SK": sl,- "sl-SI": cl,- "sr-SP": ll,- "sv-SE": ul,- "tr-TR": dl,- "uk-UA": fl,- "zh-CN": pl,- "zh-TW": ml+var ml = {};+ml = {+ "ar-AE": Pc,+ "bg-BG": Fc,+ "cs-CZ": Ic,+ "da-DK": Lc,+ "de-DE": Rc,+ "el-GR": zc,+ "en-US": Bc,+ "es-ES": Vc,+ "et-EE": Hc,+ "fi-FI": Uc,+ "fr-FR": Wc,+ "he-IL": Gc,+ "hr-HR": Kc,+ "hu-HU": qc,+ "it-IT": Jc,+ "ja-JP": Yc,+ "ko-KR": Xc,+ "lt-LT": Zc,+ "lv-LV": Qc,+ "nb-NO": $c,+ "nl-NL": el,+ "pl-PL": tl,+ "pt-BR": nl,+ "pt-PT": rl,+ "ro-RO": il,+ "ru-RU": al,+ "sk-SK": ol,+ "sl-SI": sl,+ "sr-SP": cl,+ "sv-SE": ll,+ "tr-TR": ul,+ "uk-UA": dl,+ "zh-CN": fl,+ "zh-TW": pl};//#endregion//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function gl(e) {+function hl(e) {return e && e.__esModule ? e.default : e;}-function _l(e) {- let { onDismiss: t, ...n } = e, r = Si(n, qi(gl(hl), "@react-aria/overlays").format("dismiss")), i = () => {+function gl(e) {+ let { onDismiss: t, ...n } = e, r = xi(n, Ki(hl(ml), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ x.createElement(Vo, null, /*#__PURE__*/ x.createElement("button", {+ return /*#__PURE__*/ x.createElement(Bo, null, /*#__PURE__*/ x.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -7069,38 +7069,38 @@ function _l(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var vl = [];-function yl(e, t) {+var _l = [];+function vl(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, x.useRef)(void 0);(0, x.useEffect)(() => {- if (i && !vl.includes(t)) return vl.push(t), () => {- let e = vl.indexOf(t);- e >= 0 && vl.splice(e, 1);+ if (i && !_l.includes(t)) return _l.push(t), () => {+ let e = _l.indexOf(t);+ e >= 0 && _l.splice(e, 1);};}, [i, t]);let l = () => {- vl[vl.length - 1] === t && n && n();+ _l[_l.length - 1] === t && n && n();}, u = (e) => {- let n = vl[vl.length - 1];- c.current = n, (!s || s(R(e))) && n === t && e.stopPropagation();+ let n = _l[_l.length - 1];+ c.current = n, (!s || s(z(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(R(e))) && (vl[vl.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = Nr({ shortcuts: { Escape: () => {+ (!s || s(z(e))) && (_l[_l.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = Mr({ shortcuts: { Escape: () => {if (!o) {l();return;}return !1;} } });- wc({+ Cc({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = Po({+ let { focusWithinProps: p } = No({isDisabled: !r,onBlurWithin: (e) => {- !e.relatedTarget || La(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();+ !e.relatedTarget || Ia(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();}});return {@@ -7113,26 +7113,26 @@ function yl(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var bl = typeof document < "u" && window.visualViewport, xl = 0, Sl;-function Cl(e = {}) {+var yl = typeof document < "u" && window.visualViewport, bl = 0, xl;+function Sl(e = {}) {let { isDisabled: t } = e;- B(() => {- if (!t) return xl++, xl === 1 && (Sl = on() && cn() ? Tl() : wl()), () => {- xl--, xl === 0 && Sl();+ V(() => {+ if (!t) return bl++, bl === 1 && (xl = an() && sn() ? wl() : Cl()), () => {+ bl--, bl === 0 && xl();};}, [t]);}-function wl() {+function Cl() {let e = window.innerWidth - document.documentElement.clientWidth;- return or(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Nt(document.documentElement, "scrollbar-gutter", "stable") : Nt(document.documentElement, "padding-right", `${e}px`)), Nt(document.documentElement, "overflow", "hidden"));+ return ar(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Mt(document.documentElement, "scrollbar-gutter", "stable") : Mt(document.documentElement, "padding-right", `${e}px`)), Mt(document.documentElement, "overflow", "hidden"));}-function Tl() {- let e = Nt(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {- let r = R(e);- t = to(r) ? r : no(r, !0), n = !1;+function wl() {+ let e = Mt(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+ let r = z(e);+ t = eo(r) ? r : to(r, !0), n = !1;let i = r.ownerDocument.defaultView.getSelection();i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);- }, i = document.createElement("style"), a = oa();+ }, i = document.createElement("style"), a = aa();a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);let o = (e) => {if (!(e.touches.length === 2 || n)) {@@ -7143,27 +7143,27 @@ function Tl() {t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && e.preventDefault();}}, s = (e) => {- let t = R(e), n = e.relatedTarget;- n && vi(n) ? (n.focus({ preventScroll: !0 }), El(n, vi(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ let t = z(e), n = e.relatedTarget;+ n && _i(n) ? (n.focus({ preventScroll: !0 }), Tl(n, _i(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, c = HTMLElement.prototype.focus;Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function(e) {- let t = It(), n = t != null && vi(t);+ let t = Ft(), n = t != null && _i(t);c.call(this, {...e,preventScroll: !0- }), (!e || !e.preventScroll) && El(this, n);+ }), (!e || !e.preventScroll) && Tl(this, n);}});- let l = or(Mt(document, "touchstart", r, {+ let l = ar(jt(document, "touchstart", r, {passive: !1,capture: !0- }), Mt(document, "touchmove", o, {+ }), jt(document, "touchmove", o, {passive: !1,capture: !0- }), Mt(document, "blur", s, !0));+ }), jt(document, "blur", s, !0));return () => {e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -7172,18 +7172,18 @@ function Tl() {});};}-function El(e, t) {- t || !bl ? Dl(e) : bl.addEventListener("resize", () => Dl(e), { once: !0 });+function Tl(e, t) {+ t || !yl ? El(e) : yl.addEventListener("resize", () => El(e), { once: !0 });}-function Dl(e) {+function El(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t;) {- let e = no(n);+ let e = to(n);if (e !== document.documentElement && e !== document.body && e !== n) {let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();if (r.top < t.top || r.bottom > t.top + n.clientHeight) {let n = t.bottom;- bl && (n = Math.min(n, bl.offsetTop + bl.height));+ yl && (n = Math.min(n, yl.offsetTop + yl.height));let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);e.scrollTo({top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),@@ -7195,6 +7195,21 @@ function Dl(e) {}}//#endregion+//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs+function Dl(e, t, n) {+ let { overlayProps: r, underlayProps: i } = vl({+ ...e,+ isOpen: t.isOpen,+ onClose: t.close+ }, n);+ return Sl({ isDisabled: !t.isOpen }), pc(), (0, x.useEffect)(() => {+ if (t.isOpen && n.current) return Ko([n.current], { shouldUseInert: !0 });+ }, [t.isOpen, n]), {+ modalProps: H(r),+ underlayProps: i+ };+}+//#endregion//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjsvar Ol = {top: "top",@@ -7222,7 +7237,7 @@ function Fl(e, t) {let l = document.documentElement;i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));} else ({width: n, height: r, top: o, left: s} = Kl(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return cn() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {+ return sn() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {width: n,height: r,totalWidth: i,@@ -7271,7 +7286,7 @@ function Bl(e, t, n, r, i, a, o, s, c, l, u) {let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;- if (_[m] = Ro(_[m], v, y), d === p) {+ if (_[m] = Lo(_[m], v, y), d === p) {let t = s ? u[h] : u[Ml[h]];_[kl[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);@@ -7301,7 +7316,7 @@ function Ul(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {let k = Vl(w, s, l, f, i, a, n.height, D, c, g, _);p && p < k && (k = p), n.height = Math.min(n.height, k), w = Bl(t, s, n, v, T, d, l, f, m, h, c), O = Ll(b, w[b], n[x], s, c, a, l), w[b] += O;let A = {}, ee = t[b] - w[b] - i[Ol[b]], j = ee + .5 * t[x], te = m / 2 + h, M = Ol[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - M - m / 2 - h;- A[b] = Ro(Ro(j, t[b] + m / 2 - (w[b] + i[Ol[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Ol[b]])), te, ne), {placement: S, crossPlacement: C} = v, m ? ee = A[b] : C === "right" ? ee += t[x] : C === "center" && (ee += t[x] / 2);+ A[b] = Lo(Lo(j, t[b] + m / 2 - (w[b] + i[Ol[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Ol[b]])), te, ne), {placement: S, crossPlacement: C} = v, m ? ee = A[b] : C === "right" ? ee += t[x] : C === "center" && (ee += t[x] / 2);let N = S === "left" || S === "top" ? n[y] : 0, re = {x: S === "top" || S === "bottom" ? ee : N,y: S === "left" || S === "right" ? ee : N@@ -7338,7 +7353,7 @@ function Wl(e) {width: 0,height: 0} : ql(s, h, !1);- let E = L(s, h);+ let E = R(s, h);return Ul(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}function Gl(e, t) {@@ -7382,7 +7397,7 @@ function Yl(e) {//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjsvar Xl = typeof document < "u" ? window.visualViewport : null;function Zl(e) {- let { direction: t } = Ni(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, x.useState)(null), S = [+ let { direction: t } = Mi(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, x.useState)(null), S = [p,s,i.current,@@ -7406,8 +7421,8 @@ function Zl(e) {let w = (0, x.useCallback)(() => {if (p === !1 || !m || !i.current || !r.current || !u || Xl?.scale !== C.current) return;let e = null;- if (o.current && Rt(o.current)) {- let t = It()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && Lt(o.current)) {+ let t = Ft()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -7432,22 +7447,22 @@ function Zl(e) {});if (!y.position) return;h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";- let x = It();+ let x = Ft();if (e && x && o.current) {let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];o.current.scrollTop += r - e.offset;}b(y);}, S);- B(w, S), Ql(w), Pc({+ V(w, S), Ql(w), Nc({ref: i,onResize: w- }), Pc({+ }), Nc({ref: r,onResize: w});let T = (0, x.useRef)(!1);- B(() => {+ V(() => {let e, t = () => {T.current = !0, clearTimeout(e), e = setTimeout(() => {T.current = !1;@@ -7456,7 +7471,7 @@ function Zl(e) {T.current && t();};Xl?.addEventListener("resize", t), Xl?.addEventListener("scroll", n);- let r = Mt(Lt(window), "scroll", n);+ let r = jt(It(window), "scroll", n);return () => {Xl?.removeEventListener("resize", t), Xl?.removeEventListener("scroll", n), r();};@@ -7464,7 +7479,7 @@ function Zl(e) {let E = (0, x.useCallback)(() => {T.current || h?.();}, [h, T]);- return Ws({+ return Us({triggerRef: r,isOpen: m,onClose: h && E@@ -7491,7 +7506,7 @@ function Zl(e) {};}function Ql(e) {- B(() => (window.addEventListener("resize", e, !1), () => {+ V(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}@@ -7501,7 +7516,7 @@ function $l(e, t) {//#endregion//#region node_modules/react-aria/dist/private/overlays/usePopover.mjsfunction eu(e, t) {- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = yl({+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = vl({isOpen: t.isOpen,onClose: t.close,shouldCloseOnBlur: !0,@@ -7516,17 +7531,17 @@ function eu(e, t) {onClose: a && !l ? t.close : null,getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)});- Cl({ isDisabled: a || !t.isOpen }), (0, x.useEffect)(() => {- if (t.isOpen && r.current) return a ? Jo(i?.current ?? r.current) : qo([i?.current ?? r.current], { shouldUseInert: !0 });+ Sl({ isDisabled: a || !t.isOpen }), (0, x.useEffect)(() => {+ if (t.isOpen && r.current) return a ? qo(i?.current ?? r.current) : Ko([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = Po(e);+ let { focusWithinProps: g } = No(e);return {- popoverProps: V(u, f, g),+ popoverProps: H(u, f, g),arrowProps: p,underlayProps: d,placement: m,@@ -7541,7 +7556,7 @@ var tu = /* @__PURE__ */ new WeakMap();function nu(e, t, n) {let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {e.stopPropagation(), t.setSelectedValue(r);- }, { pressProps: g, isPressed: _ } = ma({+ }, { pressProps: g, isPressed: _ } = pa({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -7549,7 +7564,7 @@ function nu(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = ma({+ }), { pressProps: v, isPressed: y } = pa({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -7559,17 +7574,17 @@ function nu(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = Rr(V(e, { onFocus: () => t.setLastFocusedValue(r) }), n), S = V(g, b), C = H(e, { labelable: !0 }), w = -1;+ }), { focusableProps: b } = Lr(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), S = H(g, b), C = U(e, { labelable: !0 }), w = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (w = 0) : t.selectedValue === r && (w = 0), p && (w = void 0);let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = tu.get(t);- uo(n, t.defaultSelectedValue, t.setSelectedValue), fo({ validationBehavior: k }, t, n);- let A = _o();+ lo(n, t.defaultSelectedValue, t.setSelectedValue), uo({ validationBehavior: k }, t, n);+ let A = go();return {- labelProps: V(v, (0, x.useMemo)(() => ({+ labelProps: H(v, (0, x.useMemo)(() => ({onClick: (e) => e.preventDefault(),onMouseDown: (e) => e.preventDefault()}), [])),- inputProps: V(C, {+ inputProps: H(C, {...S,type: "radio",name: T,@@ -7596,12 +7611,12 @@ function nu(e, t, n) {//#endregion//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjsfunction ru(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Ni(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = No({+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Mi(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Mo({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = H(e, { labelable: !0 }), { focusWithinProps: v } = Po({+ }), _ = U(e, { labelable: !0 }), { focusWithinProps: v } = No({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -7609,13 +7624,13 @@ function ru(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = qa(n.currentTarget, {- from: R(n),- accept: (e) => e instanceof Dt(e).HTMLInputElement && e.type === "radio"+ let r = Ka(n.currentTarget, {+ from: z(n),+ accept: (e) => e instanceof Et(e).HTMLInputElement && e.type === "radio"}), i;return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;}- let { keyboardProps: b } = Nr({+ let { keyboardProps: b } = Mr({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -7623,7 +7638,7 @@ function ru(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = fr(n);+ }), x = dr(n);return tu.set(t, {name: x,form: r,@@ -7631,7 +7646,7 @@ function ru(e, t) {errorMessageId: g.id,validationBehavior: c}), {- radioGroupProps: V(_, {+ radioGroupProps: H(_, {role: "radiogroup",...b,"aria-invalid": t.isInvalid || void 0,@@ -7655,19 +7670,19 @@ function ru(e, t) {//#region node_modules/react-aria/dist/private/select/useSelect.mjsvar iu = /* @__PURE__ */ new WeakMap();function au(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = sc({+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = oc({usage: "search",sensitivity: "base"- }), u = (0, x.useMemo)(() => r || new is(t.collection, t.disabledKeys, n, l), [+ }), u = (0, x.useMemo)(() => r || new rs(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = qs({+ ]), { menuTriggerProps: d, menuProps: f } = Ks({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = Nr({+ }, t, n), { keyboardProps: p } = Mr({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -7683,20 +7698,20 @@ function au(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = Ys({+ }), { typeSelectProps: m } = Js({keyboardDelegate: u,selectionManager: t.selectionManager,onTypeSelect(e) {t.setSelectedKey(e);}- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: S } = No({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: S } = Mo({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let C = H(e, { labelable: !0 }), w = V(m, d, y), T = fr();+ let C = U(e, { labelable: !0 }), w = H(m, d, y), T = dr();return iu.set(t, {isDisabled: i,isRequired: a,@@ -7707,13 +7722,13 @@ function au(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), Xn("keyboard"));+ e.isDisabled || (n.current?.focus(), Yn("keyboard"));}},- triggerProps: V(C, {+ triggerProps: H(C, {...w,isDisabled: i,- onKeyDown: or(w.onKeyDown, p.onKeyDown),+ onKeyDown: ar(w.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [T,@@ -7737,7 +7752,7 @@ function au(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- L(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ R(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));},"aria-labelledby": [y["aria-labelledby"], w["aria-label"] && !y["aria-labelledby"] ? w.id : null].filter(Boolean).join(" ")},@@ -7759,17 +7774,17 @@ function au(e, t, n) {//#endregion//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjsfunction ou(e, t, n) {- let r = iu.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Bo({ style: {+ let r = iu.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = zo({ style: {position: "fixed",top: 0,left: 0} });- uo(e.selectRef, t.defaultValue, t.setValue), fo({+ lo(e.selectRef, t.defaultValue, t.setValue), uo({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);let d = t.setValue, f = (0, x.useCallback)((e) => {- let t = R(e);+ let t = z(e);t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);}, [d]);return {@@ -7851,7 +7866,7 @@ function su(e) {//#endregion//#region node_modules/react-aria/dist/private/switch/useSwitch.mjsfunction cu(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = ko(e, t, n);+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = Oo(e, t, n);return {labelProps: r,inputProps: {@@ -8067,7 +8082,7 @@ var lu = /* @__PURE__ */ m(((e) => {})), uu = /* @__PURE__ */ m(((e, t) => {t.exports = lu();})), du = /* @__PURE__ */ m(((e) => {- var t = uu(), n = v(), r = Wr();+ var t = uu(), n = v(), r = Ur();function i(e) {var t = "https://react.dev/errors/" + e;if (1 < arguments.length) {@@ -8237,14 +8252,14 @@ var lu = /* @__PURE__ */ m(((e) => {}return null;}- var T = Object.assign, E = Symbol.for("react.element"), D = Symbol.for("react.transitional.element"), O = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), ee = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), te = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), re = Symbol.for("react.memo"), ie = Symbol.for("react.lazy"), ae = Symbol.for("react.activity"), oe = Symbol.for("react.legacy_hidden"), se = Symbol.for("react.memo_cache_sentinel"), ce = Symbol.for("react.view_transition"), le = Symbol.for("react.recoverable"), ue = Symbol.iterator;- function de(e) {- return typeof e != "object" || !e ? null : (e = ue && e[ue] || e["@@iterator"], typeof e == "function" ? e : null);+ var T = Object.assign, E = Symbol.for("react.element"), D = Symbol.for("react.transitional.element"), O = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), ee = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), te = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), re = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), ie = Symbol.for("react.activity"), ae = Symbol.for("react.legacy_hidden"), oe = Symbol.for("react.memo_cache_sentinel"), se = Symbol.for("react.view_transition"), ce = Symbol.for("react.recoverable"), le = Symbol.iterator;+ function ue(e) {+ return typeof e != "object" || !e ? null : (e = le && e[le] || e["@@iterator"], typeof e == "function" ? e : null);}- var fe = Symbol.for("react.client.reference");- function pe(e) {+ var de = Symbol.for("react.client.reference");+ function fe(e) {if (e == null) return null;- if (typeof e == "function") return e.$$typeof === fe ? null : e.displayName || e.name || null;+ if (typeof e == "function") return e.$$typeof === de ? null : e.displayName || e.name || null;if (typeof e == "string") return e;switch (e) {case k: return "Fragment";@@ -8252,8 +8267,8 @@ var lu = /* @__PURE__ */ m(((e) => {case A: return "StrictMode";case ne: return "Suspense";case N: return "SuspenseList";- case ae: return "Activity";- case ce: return "ViewTransition";+ case ie: return "Activity";+ case se: return "ViewTransition";}if (typeof e == "object") switch (e.$$typeof) {case O: return "Portal";@@ -8262,33 +8277,33 @@ var lu = /* @__PURE__ */ m(((e) => {case M:var t = e.render;return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;- case re: return t = e.displayName || null, t === null ? pe(e.type) || "Memo" : t;- case ie:+ case re: return t = e.displayName || null, t === null ? fe(e.type) || "Memo" : t;+ case P:t = e._payload, e = e._init;try {- return pe(e(t));+ return fe(e(t));} catch {}}return null;}- var me = Array.isArray, P = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, he = {+ var pe = Array.isArray, F = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, me = {pending: !1,data: null,method: null,action: null- }, ge = [], _e = -1;- function ve(e) {+ }, he = [], ge = -1;+ function _e(e) {return { current: e };}- function ye(e) {- 0 > _e || (e.current = ge[_e], ge[_e] = null, _e--);+ function ve(e) {+ 0 > ge || (e.current = he[ge], he[ge] = null, ge--);}- function be(e, t) {- _e++, ge[_e] = e.current, e.current = t;+ function ye(e, t) {+ ge++, he[ge] = e.current, e.current = t;}- var xe = ve(null), Se = ve(null), Ce = ve(null), we = ve(null);- function Te(e, t) {- switch (be(Ce, t), be(Se, e), be(xe, null), t.nodeType) {+ var be = _e(null), xe = _e(null), Se = _e(null), Ce = _e(null);+ function we(e, t) {+ switch (ye(Se, t), ye(xe, e), ye(be, null), t.nodeType) {case 9:case 11:e = (e = t.documentElement) && (e = e.namespaceURI) ? up(e) : 0;@@ -8304,34 +8319,34 @@ var lu = /* @__PURE__ */ m(((e) => {default: e = 0;}}- ye(xe), be(xe, e);+ ve(be), ye(be, e);}- function Ee() {- ye(xe), ye(Se), ye(Ce);+ function Te() {+ ve(be), ve(xe), ve(Se);}- function De(e) {+ function Ee(e) {var t = e.memoizedState;- t !== null && (sh._currentValue = t.memoizedState, be(we, e)), t = xe.current;+ t !== null && (sh._currentValue = t.memoizedState, ye(Ce, e)), t = be.current;var n = dp(t, e.type);- t !== n && (be(Se, e), be(xe, n));+ t !== n && (ye(xe, e), ye(be, n));}- function Oe(e) {- Se.current === e && (ye(xe), ye(Se)), we.current === e && (ye(we), sh._currentValue = he);+ function De(e) {+ xe.current === e && (ve(be), ve(xe)), Ce.current === e && (ve(Ce), sh._currentValue = me);}- var ke, Ae;- function je(e) {- if (ke === void 0) try {+ var Oe, ke;+ function Ae(e) {+ if (Oe === void 0) try {throw Error();} catch (e) {var t = e.stack.trim().match(/\n( *(at )?)/);- ke = t && t[1] || "", Ae = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";+ Oe = t && t[1] || "", ke = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";}- return "\n" + ke + e + Ae;+ return "\n" + Oe + e + ke;}- var Me = !1;- function Ne(e, t) {- if (!e || Me) return "";- Me = !0;+ var je = !1;+ function Me(e, t) {+ if (!e || je) return "";+ je = !0;var n = Error.prepareStackTrace;Error.prepareStackTrace = void 0;try {@@ -8402,50 +8417,50 @@ var lu = /* @__PURE__ */ m(((e) => {}}} finally {- Me = !1, Error.prepareStackTrace = n;+ je = !1, Error.prepareStackTrace = n;}- return (n = e ? e.displayName || e.name : "") ? je(n) : "";+ return (n = e ? e.displayName || e.name : "") ? Ae(n) : "";}- function Pe(e, t) {+ function Ne(e, t) {switch (e.tag) {case 26:case 27:- case 5: return je(e.type);- case 16: return je("Lazy");- case 13: return e.child !== t && t !== null ? je("Suspense Fallback") : je("Suspense");- case 19: return je("SuspenseList");+ case 5: return Ae(e.type);+ case 16: return Ae("Lazy");+ case 13: return e.child !== t && t !== null ? Ae("Suspense Fallback") : Ae("Suspense");+ case 19: return Ae("SuspenseList");case 0:- case 15: return Ne(e.type, !1);- case 11: return Ne(e.type.render, !1);- case 1: return Ne(e.type, !0);- case 31: return je("Activity");- case 30: return je("ViewTransition");+ case 15: return Me(e.type, !1);+ case 11: return Me(e.type.render, !1);+ case 1: return Me(e.type, !0);+ case 31: return Ae("Activity");+ case 30: return Ae("ViewTransition");default: return "";}}- function Fe(e) {+ function Pe(e) {try {var t = "", n = null;do- t += Pe(e, n), n = e, e = e.return;+ t += Ne(e, n), n = e, e = e.return;while (e);return t;} catch (e) {return "\nError generating stack: " + e.message + "\n" + e.stack;}}- var Ie = Object.prototype.hasOwnProperty, Le = t.unstable_scheduleCallback, Re = t.unstable_cancelCallback, ze = t.unstable_shouldYield, Be = t.unstable_requestPaint, Ve = t.unstable_now, He = t.unstable_getCurrentPriorityLevel, Ue = t.unstable_ImmediatePriority, We = t.unstable_UserBlockingPriority, Ge = t.unstable_NormalPriority, Ke = t.unstable_LowPriority, qe = t.unstable_IdlePriority, Je = t.log, Ye = t.unstable_setDisableYieldValue, Xe = null, Ze = null;- function Qe(e) {- if (typeof Je == "function" && Ye(e), Ze && typeof Ze.setStrictMode == "function") try {- Ze.setStrictMode(Xe, e);+ var Fe = Object.prototype.hasOwnProperty, Ie = t.unstable_scheduleCallback, Le = t.unstable_cancelCallback, Re = t.unstable_shouldYield, ze = t.unstable_requestPaint, Be = t.unstable_now, Ve = t.unstable_getCurrentPriorityLevel, He = t.unstable_ImmediatePriority, Ue = t.unstable_UserBlockingPriority, We = t.unstable_NormalPriority, Ge = t.unstable_LowPriority, Ke = t.unstable_IdlePriority, qe = t.log, Je = t.unstable_setDisableYieldValue, Ye = null, Xe = null;+ function Ze(e) {+ if (typeof qe == "function" && Je(e), Xe && typeof Xe.setStrictMode == "function") try {+ Xe.setStrictMode(Ye, e);} catch {}}- var $e = Math.clz32 ? Math.clz32 : nt, et = Math.log, tt = Math.LN2;- function nt(e) {- return e >>>= 0, e === 0 ? 32 : 31 - (et(e) / tt | 0) | 0;+ var Qe = Math.clz32 ? Math.clz32 : tt, $e = Math.log, et = Math.LN2;+ function tt(e) {+ return e >>>= 0, e === 0 ? 32 : 31 - ($e(e) / et | 0) | 0;}- var rt = 256, it = 262144, at = 4194304;- function ot(e) {+ var nt = 256, rt = 262144, it = 4194304;+ function at(e) {var t = e & 42;if (t !== 0) return t;switch (e & -e) {@@ -8483,27 +8498,27 @@ var lu = /* @__PURE__ */ m(((e) => {default: return e;}}- function st(e, t, n) {+ function ot(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 = ot(n))) : i = ot(o) : i = ot(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = ot(n))) : i = ot(o)) : i = ot(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;+ return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = at(n))) : i = at(o) : i = at(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = at(n))) : i = at(o)) : i = at(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 ct(e, t) {+ function st(e, t) {return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;}- function lt(e, t) {+ function ct(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 - $e(n), i = 1 << r;+ var r = 31 - Qe(n), i = 1 << r;t |= e[r], n &= ~i;}return t;}- function ut(e, t) {+ function lt(e, t) {switch (e) {case 1:case 2:@@ -8539,23 +8554,23 @@ var lu = /* @__PURE__ */ m(((e) => {default: return -1;}}- function dt() {- var e = at;- return at <<= 1, !(at & 62914560) && (at = 4194304), e;+ function ut() {+ var e = it;+ return it <<= 1, !(it & 62914560) && (it = 4194304), e;}- function ft(e) {+ function dt(e) {for (var t = [], n = 0; 31 > n; n++) t.push(e);return t;}- function pt(e, t) {+ function ft(e, t) {e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);}- function mt(e, t, n, r, i, a) {+ function pt(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 - $e(n), d = 1 << u;+ var u = 31 - Qe(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++) {@@ -8564,25 +8579,25 @@ var lu = /* @__PURE__ */ m(((e) => {}n &= ~d;}- r !== 0 && ht(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));+ r !== 0 && mt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));}- function ht(e, t, n) {+ function mt(e, t, n) {e.pendingLanes |= t, e.suspendedLanes &= ~t;- var r = 31 - $e(t);+ var r = 31 - Qe(t);e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;}- function gt(e, t) {+ function ht(e, t) {var n = e.entangledLanes |= t;for (e = e.entanglements; n;) {- var r = 31 - $e(n), i = 1 << r;+ var r = 31 - Qe(n), i = 1 << r;i & t | e[r] & t && (e[r] |= t), n &= ~i;}}- function _t(e, t) {+ function gt(e, t) {var n = t & -t;- return n = n & 42 ? 1 : vt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;+ return n = n & 42 ? 1 : _t(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;}- function vt(e) {+ function _t(e) {switch (e) {case 2:e = 1;@@ -8620,32 +8635,32 @@ var lu = /* @__PURE__ */ m(((e) => {}return e;}- function yt(e) {+ function vt(e) {return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;}- function bt() {- var e = F.p;+ function yt() {+ var e = I.p;return e === 0 ? (e = window.event, e === void 0 ? 32 : Ch(e.type)) : e;}- function xt(e, t) {- var n = F.p;+ function bt(e, t) {+ var n = I.p;try {- return F.p = e, t();+ return I.p = e, t();} finally {- F.p = n;+ I.p = n;}}- var St = Math.random().toString(36).slice(2), Ct = "__reactFiber$" + St, wt = "__reactProps$" + St, Tt = "__reactContainer$" + St, Et = "__reactEvents$" + St, I = "__reactListeners$" + St, Dt = "__reactHandles$" + St, Ot = "__reactResources$" + St, kt = "__reactMarker$" + St, At = "__reactLoad$" + St;- function jt(e) {- delete e[Ct], delete e[wt], delete e[I], delete e[Dt];+ var xt = Math.random().toString(36).slice(2), St = "__reactFiber$" + xt, Ct = "__reactProps$" + xt, wt = "__reactContainer$" + xt, Tt = "__reactEvents$" + xt, L = "__reactListeners$" + xt, Et = "__reactHandles$" + xt, Dt = "__reactResources$" + xt, Ot = "__reactMarker$" + xt, kt = "__reactLoad$" + xt;+ function At(e) {+ delete e[St], delete e[Ct], delete e[L], delete e[Et];}- function Mt(e) {+ function jt(e) {var t;- if (t = e[Ct]) return t;+ if (t = e[St]) return t;for (var n = e.parentNode; n;) {- if (t = n[Tt] || n[Ct]) {+ if (t = n[wt] || n[St]) {if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = fm(e); e !== null;) {- if (n = e[Ct]) return n;+ if (n = e[St]) return n;e = fm(e);}return t;@@ -8654,49 +8669,49 @@ var lu = /* @__PURE__ */ m(((e) => {}return null;}- function Nt(e) {- if (e = e[Ct] || e[Tt]) {+ function Mt(e) {+ if (e = e[St] || e[wt]) {var t = e.tag;if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;}return null;}- function Pt(e) {+ function Nt(e) {var t = e.tag;if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;throw Error(i(33));}- function Ft(e) {- var t = e[Ot];- return t ||= e[Ot] = {+ function Pt(e) {+ var t = e[Dt];+ return t ||= e[Dt] = {hoistableStyles: /* @__PURE__ */ new Map(),hoistableScripts: /* @__PURE__ */ new Map()}, t;}- function L(e) {- e[kt] = !0;+ function R(e) {+ e[Ot] = !0;}- function It(e) {- e[At] = void 0;+ function Ft(e) {+ e[kt] = void 0;}- var R = /* @__PURE__ */ new Set(), Lt = {};- function Rt(e, t) {- zt(e, t), zt(e + "Capture", t);+ var z = /* @__PURE__ */ new Set(), It = {};+ function Lt(e, t) {+ Rt(e, t), Rt(e + "Capture", t);}- function zt(e, t) {- for (Lt[e] = t, e = 0; e < t.length; e++) R.add(t[e]);+ function Rt(e, t) {+ for (It[e] = t, e = 0; e < t.length; e++) z.add(t[e]);}- var Bt = 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]*$"), Vt = {}, Ht = {};- function Ut(e) {- return Ie.call(Ht, e) ? !0 : Ie.call(Vt, e) ? !1 : Bt.test(e) ? Ht[e] = !0 : (Vt[e] = !0, !1);+ var zt = 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]*$"), Bt = {}, Vt = {};+ function Ht(e) {+ return Fe.call(Vt, e) ? !0 : Fe.call(Bt, e) ? !1 : zt.test(e) ? Vt[e] = !0 : (Bt[e] = !0, !1);}- var z = !1;- function Wt() {- var e = z;- return z = !1, e;+ var B = !1;+ function Ut() {+ var e = B;+ return B = !1, e;}- function Gt(e, t, n) {- if (Ut(t)) {+ function Wt(e, t, n) {+ if (Ht(t)) {if (n === null) e.removeAttribute(t);else {switch (typeof n) {@@ -8716,7 +8731,7 @@ var lu = /* @__PURE__ */ m(((e) => {}}}- function Kt(e, t, n) {+ function Gt(e, t, n) {if (n === null) e.removeAttribute(t);else {switch (typeof n) {@@ -8730,7 +8745,7 @@ var lu = /* @__PURE__ */ m(((e) => {e.setAttribute(t, n);}}- function qt(e, t, n, r) {+ function Kt(e, t, n, r) {if (r === null) e.removeAttribute(n);else {switch (typeof r) {@@ -8744,7 +8759,7 @@ var lu = /* @__PURE__ */ m(((e) => {e.setAttributeNS(t, n, r);}}- function B(e) {+ function V(e) {switch (typeof e) {case "bigint":case "boolean":@@ -8755,11 +8770,11 @@ var lu = /* @__PURE__ */ m(((e) => {default: return "";}}- function Jt(e) {+ function qt(e) {var t = e.type;return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");}- function Yt(e, t, n) {+ function Jt(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;@@ -8784,48 +8799,48 @@ var lu = /* @__PURE__ */ m(((e) => {};}}- function Xt(e) {+ function Yt(e) {if (!e._valueTracker) {- var t = Jt(e) ? "checked" : "value";- e._valueTracker = Yt(e, t, "" + e[t]);+ var t = qt(e) ? "checked" : "value";+ e._valueTracker = Jt(e, t, "" + e[t]);}}- function Zt(e) {+ function Xt(e) {if (!e) return !1;var t = e._valueTracker;if (!t) return !0;var n = t.getValue(), r = "";- return e && (r = Jt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);+ return e && (r = qt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);}- var Qt = /[\n"\\]/g;- function $t(e) {- return e.replace(Qt, function(e) {+ var Zt = /[\n"\\]/g;+ function Qt(e) {+ return e.replace(Zt, function(e) {return "\\" + e.charCodeAt(0).toString(16) + " ";});}- function en(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 = "" + B(t)) : e.value !== "" + B(t) && (e.value = "" + B(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : nn(e, B(n)) : o === "number" && e.value == t ? nn(e, B(e.value)) : nn(e, B(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 = "" + B(s) : e.removeAttribute("name");+ function $t(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 = "" + V(t)) : e.value !== "" + V(t) && (e.value = "" + V(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : tn(e, V(n)) : o === "number" && e.value == t ? tn(e, V(e.value)) : tn(e, V(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 = "" + V(s) : e.removeAttribute("name");}- function tn(e, t, n, r, i, a, o, s) {+ function en(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)) {- Xt(e);+ Yt(e);return;}- n = n == null ? "" : "" + B(n), t = t == null ? n : "" + B(t), s || t === e.value || (e.value = t), e.defaultValue = t;+ n = n == null ? "" : "" + V(n), t = t == null ? n : "" + V(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), Xt(e);+ 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), Yt(e);}- function nn(e, t) {+ function tn(e, t) {e.defaultValue !== "" + t && (e.defaultValue = "" + t);}- function rn(e, t, n, r) {+ function nn(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 = "" + B(n), t = null, i = 0; i < e.length; i++) {+ for (n = "" + V(n), t = null, i = 0; i < e.length; i++) {if (e[i].value === n) {e[i].selected = !0, r && (e[i].defaultSelected = !0);return;@@ -8835,18 +8850,18 @@ var lu = /* @__PURE__ */ m(((e) => {t !== null && (t.selected = !0);}}- function an(e, t, n) {- if (t != null && (t = "" + B(t), t !== e.value && (e.value = t), n == null)) {+ function rn(e, t, n) {+ if (t != null && (t = "" + V(t), t !== e.value && (e.value = t), n == null)) {e.defaultValue !== t && (e.defaultValue = t);return;}- e.defaultValue = n == null ? "" : "" + B(n);+ e.defaultValue = n == null ? "" : "" + V(n);}- function on(e, t, n, r) {+ function an(e, t, n, r) {if (t == null) {if (r != null) {if (n != null) throw Error(i(92));- if (me(r)) {+ if (pe(r)) {if (1 < r.length) throw Error(i(93));r = r[0];}@@ -8854,9 +8869,9 @@ var lu = /* @__PURE__ */ m(((e) => {}n ??= "", t = n;}- n = B(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Xt(e);+ n = V(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Yt(e);}- function sn(e, t) {+ function on(e, t) {if (t) {var n = e.firstChild;if (n && n === e.lastChild && n.nodeType === 3) {@@ -8866,19 +8881,19 @@ var lu = /* @__PURE__ */ m(((e) => {}e.textContent = t;}- var cn = 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 ln(e, t, n) {+ var sn = 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 cn(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 || cn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";+ 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 || sn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";}- function un(e, t, n) {+ function ln(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] = "", z = !0);- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (ln(e, a, r), z = !0);- } else for (var o in t) t.hasOwnProperty(o) && ln(e, o, t[o]);+ 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] = "", B = !0);+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (cn(e, a, r), B = !0);+ } else for (var o in t) t.hasOwnProperty(o) && cn(e, o, t[o]);}- function dn(e) {+ function un(e) {if (e.indexOf("-") === -1) return !1;switch (e) {case "annotation-xml":@@ -8892,7 +8907,7 @@ var lu = /* @__PURE__ */ m(((e) => {default: return !0;}}- var fn = /* @__PURE__ */ new Map([+ var dn = /* @__PURE__ */ new Map([["acceptCharset", "accept-charset"],["htmlFor", "for"],["httpEquiv", "http-equiv"],@@ -8972,56 +8987,56 @@ var lu = /* @__PURE__ */ m(((e) => {["writingMode", "writing-mode"],["xmlnsXlink", "xmlns:xlink"],["xHeight", "x-height"]- ]), pn = /^[\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 mn(e) {- return pn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;+ ]), fn = /^[\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 pn(e) {+ return fn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;}- function hn() {}- var gn = null;- function _n(e) {+ function mn() {}+ var hn = null;+ function gn(e) {return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;}- var vn = null, yn = null;- function bn(e) {- var t = Nt(e);+ var _n = null, vn = null;+ function yn(e) {+ var t = Mt(e);if (t && (e = t.stateNode)) {- var n = e[wt] || null;+ var n = e[Ct] || null;a: switch (e = t.stateNode, t.type) {case "input":- if (en(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {+ if ($t(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=\"" + $t("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {+ for (n = n.querySelectorAll("input[name=\"" + Qt("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {var r = n[t];if (r !== e && r.form === e.form) {- var a = r[wt] || null;+ var a = r[Ct] || null;if (!a) throw Error(i(90));- en(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);+ $t(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 && Zt(r);+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && Xt(r);}break a;case "textarea":- an(e, n.value, n.defaultValue);+ rn(e, n.value, n.defaultValue);break a;- case "select": t = n.value, t != null && rn(e, !!n.multiple, t, !1);+ case "select": t = n.value, t != null && nn(e, !!n.multiple, t, !1);}}}- var xn = !1;- function Sn(e, t, n) {- if (xn) return e(t, n);- xn = !0;+ var bn = !1;+ function xn(e, t, n) {+ if (bn) return e(t, n);+ bn = !0;try {return e(t);} finally {- if (xn = !1, (vn !== null || yn !== null) && (zd(), vn && (t = vn, e = yn, yn = vn = null, bn(t), e))) for (t = 0; t < e.length; t++) bn(e[t]);+ if (bn = !1, (_n !== null || vn !== null) && (Rd(), _n && (t = _n, e = vn, vn = _n = null, yn(t), e))) for (t = 0; t < e.length; t++) yn(e[t]);}}- function Cn(e, t) {+ function Sn(e, t) {var n = e.stateNode;if (n === null) return null;- var r = n[wt] || null;+ var r = n[Ct] || null;if (r === null) return null;n = r[t];a: switch (t) {@@ -9044,54 +9059,54 @@ var lu = /* @__PURE__ */ m(((e) => {if (n && typeof n != "function") throw Error(i(231, t, typeof n));return n;}- var wn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), Tn = !1;- if (wn) try {- var En = {};- Object.defineProperty(En, "passive", { get: function() {- Tn = !0;- } }), window.addEventListener("test", En, En), window.removeEventListener("test", En, En);+ var Cn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), wn = !1;+ if (Cn) try {+ var Tn = {};+ Object.defineProperty(Tn, "passive", { get: function() {+ wn = !0;+ } }), window.addEventListener("test", Tn, Tn), window.removeEventListener("test", Tn, Tn);} catch {- Tn = !1;+ wn = !1;}- var Dn = null, On = null, kn = null;- function An() {- if (kn) return kn;- var e, t = On, n = t.length, r, i = "value" in Dn ? Dn.value : Dn.textContent, a = i.length;+ var En = null, Dn = null, On = null;+ function kn() {+ if (On) return On;+ var e, t = Dn, n = t.length, r, i = "value" in En ? En.value : En.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 kn = i.slice(e, 1 < r ? 1 - r : void 0);+ return On = i.slice(e, 1 < r ? 1 - r : void 0);}- function jn(e) {+ function An(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 Mn() {+ function jn() {return !0;}- function Nn() {+ function Mn() {return !1;}- function Pn(e) {+ function Nn(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) ? Mn : Nn, this.isPropagationStopped = Nn, this;+ return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? jn : Mn, this.isPropagationStopped = Mn, 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 = Mn);+ e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = jn);},stopPropagation: function() {var e = this.nativeEvent;- e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Mn);+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = jn);},persist: function() {},- isPersistent: Mn+ isPersistent: jn}), t;}- var Fn = {+ var Pn = {eventPhase: 0,bubbles: 0,cancelable: 0,@@ -9100,10 +9115,10 @@ var lu = /* @__PURE__ */ m(((e) => {},defaultPrevented: 0,isTrusted: 0- }, In = Pn(Fn), Ln = T({}, Fn, {+ }, Fn = Nn(Pn), In = T({}, Pn, {view: 0,detail: 0- }), Rn = Pn(Ln), zn, Bn, Vn, Hn = T({}, Ln, {+ }), Ln = Nn(In), Rn, zn, Bn, Vn = T({}, In, {screenX: 0,screenY: 0,clientX: 0,@@ -9114,25 +9129,25 @@ var lu = /* @__PURE__ */ m(((e) => {shiftKey: 0,altKey: 0,metaKey: 0,- getModifierState: $n,+ getModifierState: Qn,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 !== Vn && (Vn && e.type === "mousemove" ? (zn = e.screenX - Vn.screenX, Bn = e.screenY - Vn.screenY) : Bn = zn = 0, Vn = e), zn);+ return "movementX" in e ? e.movementX : (e !== Bn && (Bn && e.type === "mousemove" ? (Rn = e.screenX - Bn.screenX, zn = e.screenY - Bn.screenY) : zn = Rn = 0, Bn = e), Rn);},movementY: function(e) {- return "movementY" in e ? e.movementY : Bn;+ return "movementY" in e ? e.movementY : zn;}- }), Un = Pn(Hn), Wn = Pn(T({}, Hn, { dataTransfer: 0 })), Gn = Pn(T({}, Ln, { relatedTarget: 0 })), Kn = Pn(T({}, Fn, {+ }), Hn = Nn(Vn), Un = Nn(T({}, Vn, { dataTransfer: 0 })), Wn = Nn(T({}, In, { relatedTarget: 0 })), Gn = Nn(T({}, Pn, {animationName: 0,elapsedTime: 0,pseudoElement: 0- })), qn = Pn(T({}, Fn, { clipboardData: function(e) {+ })), Kn = Nn(T({}, Pn, { clipboardData: function(e) {return "clipboardData" in e ? e.clipboardData : window.clipboardData;- } })), Jn = Pn(T({}, Fn, { data: 0 })), Yn = {+ } })), qn = Nn(T({}, Pn, { data: 0 })), Jn = {Esc: "Escape",Spacebar: " ",Left: "ArrowLeft",@@ -9145,7 +9160,7 @@ var lu = /* @__PURE__ */ m(((e) => {Apps: "ContextMenu",Scroll: "ScrollLock",MozPrintableKey: "Unidentified"- }, Xn = {+ }, Yn = {8: "Backspace",9: "Tab",12: "Clear",@@ -9182,26 +9197,26 @@ var lu = /* @__PURE__ */ m(((e) => {144: "NumLock",145: "ScrollLock",224: "Meta"- }, Zn = {+ }, Xn = {Alt: "altKey",Control: "ctrlKey",Meta: "metaKey",Shift: "shiftKey"};- function Qn(e) {+ function Zn(e) {var t = this.nativeEvent;- return t.getModifierState ? t.getModifierState(e) : (e = Zn[e]) ? !!t[e] : !1;+ return t.getModifierState ? t.getModifierState(e) : (e = Xn[e]) ? !!t[e] : !1;}- function $n() {- return Qn;+ function Qn() {+ return Zn;}- var er = Pn(T({}, Ln, {+ var $n = Nn(T({}, In, {key: function(e) {if (e.key) {- var t = Yn[e.key] || e.key;+ var t = Jn[e.key] || e.key;if (t !== "Unidentified") return t;}- return e.type === "keypress" ? (e = jn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Xn[e.keyCode] || "Unidentified" : "";+ return e.type === "keypress" ? (e = An(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Yn[e.keyCode] || "Unidentified" : "";},code: 0,location: 0,@@ -9211,17 +9226,17 @@ var lu = /* @__PURE__ */ m(((e) => {metaKey: 0,repeat: 0,locale: 0,- getModifierState: $n,+ getModifierState: Qn,charCode: function(e) {- return e.type === "keypress" ? jn(e) : 0;+ return e.type === "keypress" ? An(e) : 0;},keyCode: function(e) {return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;},which: function(e) {- return e.type === "keypress" ? jn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;+ return e.type === "keypress" ? An(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;}- })), tr = Pn(T({}, Hn, {+ })), er = Nn(T({}, Vn, {pointerId: 0,width: 0,height: 0,@@ -9232,7 +9247,7 @@ var lu = /* @__PURE__ */ m(((e) => {twist: 0,pointerType: 0,isPrimary: 0- })), nr = Pn(T({}, Fn, { submitter: 0 })), rr = Pn(T({}, Ln, {+ })), tr = Nn(T({}, Pn, { submitter: 0 })), nr = Nn(T({}, In, {touches: 0,targetTouches: 0,changedTouches: 0,@@ -9240,12 +9255,12 @@ var lu = /* @__PURE__ */ m(((e) => {metaKey: 0,ctrlKey: 0,shiftKey: 0,- getModifierState: $n- })), ir = Pn(T({}, Fn, {+ getModifierState: Qn+ })), rr = Nn(T({}, Pn, {propertyName: 0,elapsedTime: 0,pseudoElement: 0- })), ar = Pn(T({}, Hn, {+ })), ir = Nn(T({}, Vn, {deltaX: function(e) {return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;},@@ -9254,21 +9269,21 @@ var lu = /* @__PURE__ */ m(((e) => {},deltaZ: 0,deltaMode: 0- })), or = Pn(T({}, Fn, {+ })), ar = Nn(T({}, Pn, {newState: 0,oldState: 0,source: 0- })), sr = [+ })), or = [9,13,27,32- ], cr = wn && "CompositionEvent" in window, lr = null;- wn && "documentMode" in document && (lr = document.documentMode);- var ur = wn && "TextEvent" in window && !lr, dr = wn && (!cr || lr && 8 < lr && 11 >= lr), fr = " ", pr = !1;- function mr(e, t) {+ ], sr = Cn && "CompositionEvent" in window, cr = null;+ Cn && "documentMode" in document && (cr = document.documentMode);+ var lr = Cn && "TextEvent" in window && !cr, ur = Cn && (!sr || cr && 8 < cr && 11 >= cr), dr = " ", fr = !1;+ function pr(e, t) {switch (e) {- case "keyup": return sr.indexOf(t.keyCode) !== -1;+ case "keyup": return or.indexOf(t.keyCode) !== -1;case "keydown": return t.keyCode !== 229;case "keypress":case "mousedown":@@ -9276,20 +9291,20 @@ var lu = /* @__PURE__ */ m(((e) => {default: return !1;}}- function hr(e) {+ function mr(e) {return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;}- var gr = !1;- function _r(e, t) {+ var hr = !1;+ function gr(e, t) {switch (e) {- case "compositionend": return hr(t);- case "keypress": return t.which === 32 ? (pr = !0, fr) : null;- case "textInput": return e = t.data, e === fr && pr ? null : e;+ case "compositionend": return mr(t);+ case "keypress": return t.which === 32 ? (fr = !0, dr) : null;+ case "textInput": return e = t.data, e === dr && fr ? null : e;default: return null;}}- function vr(e, t) {- if (gr) return e === "compositionend" || !cr && mr(e, t) ? (e = An(), kn = On = Dn = null, gr = !1, e) : null;+ function _r(e, t) {+ if (hr) return e === "compositionend" || !sr && pr(e, t) ? (e = kn(), On = Dn = En = null, hr = !1, e) : null;switch (e) {case "paste": return null;case "keypress":@@ -9298,11 +9313,11 @@ var lu = /* @__PURE__ */ m(((e) => {if (t.which) return String.fromCharCode(t.which);}return null;- case "compositionend": return dr && t.locale !== "ko" ? null : t.data;+ case "compositionend": return ur && t.locale !== "ko" ? null : t.data;default: return null;}}- var V = {+ var H = {color: !0,date: !0,datetime: !0,@@ -9319,76 +9334,76 @@ var lu = /* @__PURE__ */ m(((e) => {url: !0,week: !0};- function yr(e) {+ function vr(e) {var t = e && e.nodeName && e.nodeName.toLowerCase();- return t === "input" ? !!V[e.type] : t === "textarea";+ return t === "input" ? !!H[e.type] : t === "textarea";}- function br(e, t, n, r) {- vn ? yn ? yn.push(r) : yn = [r] : vn = r, t = Yf(t, "onChange"), 0 < t.length && (n = new In("onChange", "change", null, n, r), e.push({+ function yr(e, t, n, r) {+ _n ? vn ? vn.push(r) : vn = [r] : _n = r, t = qf(t, "onChange"), 0 < t.length && (n = new Fn("onChange", "change", null, n, r), e.push({event: n,listeners: t}));}- var xr = null, Sr = null;- function Cr(e) {- Hf(e, 0);+ var br = null, xr = null;+ function Sr(e) {+ Bf(e, 0);}- function wr(e) {- if (Zt(Pt(e))) return e;+ function Cr(e) {+ if (Xt(Nt(e))) return e;}- function Tr(e, t) {+ function wr(e, t) {if (e === "change") return t;}- var Er = !1;- if (wn) {- var Dr;- if (wn) {- var Or = "oninput" in document;- if (!Or) {- var kr = document.createElement("div");- kr.setAttribute("oninput", "return;"), Or = typeof kr.oninput == "function";+ var Tr = !1;+ if (Cn) {+ var Er;+ if (Cn) {+ var Dr = "oninput" in document;+ if (!Dr) {+ var Or = document.createElement("div");+ Or.setAttribute("oninput", "return;"), Dr = typeof Or.oninput == "function";}- Dr = Or;- } else Dr = !1;- Er = Dr && (!document.documentMode || 9 < document.documentMode);+ Er = Dr;+ } else Er = !1;+ Tr = Er && (!document.documentMode || 9 < document.documentMode);}- function Ar() {- xr && (xr.detachEvent("onpropertychange", jr), Sr = xr = null);+ function kr() {+ br && (br.detachEvent("onpropertychange", Ar), xr = br = null);}- function jr(e) {- if (e.propertyName === "value" && wr(Sr)) {+ function Ar(e) {+ if (e.propertyName === "value" && Cr(xr)) {var t = [];- br(t, Sr, e, _n(e)), Sn(Cr, t);+ yr(t, xr, e, gn(e)), xn(Sr, t);}}- function Mr(e, t, n) {- e === "focusin" ? (Ar(), xr = t, Sr = n, xr.attachEvent("onpropertychange", jr)) : e === "focusout" && Ar();+ function jr(e, t, n) {+ e === "focusin" ? (kr(), br = t, xr = n, br.attachEvent("onpropertychange", Ar)) : e === "focusout" && kr();+ }+ function Mr(e) {+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return Cr(xr);}- function Nr(e) {- if (e === "selectionchange" || e === "keyup" || e === "keydown") return wr(Sr);+ function Nr(e, t) {+ if (e === "click") return Cr(t);}function Pr(e, t) {- if (e === "click") return wr(t);+ if (e === "input" || e === "change") return Cr(t);}function Fr(e, t) {- if (e === "input" || e === "change") return wr(t);- }- function Ir(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}- var Lr = typeof Object.is == "function" ? Object.is : Ir;- function Rr(e, t) {- if (Lr(e, t)) return !0;+ var Ir = typeof Object.is == "function" ? Object.is : Fr;+ function Lr(e, t) {+ if (Ir(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 (!Ie.call(t, i) || !Lr(e[i], t[i])) return !1;+ if (!Fe.call(t, i) || !Ir(e[i], t[i])) return !1;}return !0;}- function zr(e) {+ function Rr(e) {if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;try {return e.activeElement || e.body;@@ -9396,12 +9411,12 @@ var lu = /* @__PURE__ */ m(((e) => {return e.body;}}- function Br(e) {+ function zr(e) {for (; e && e.firstChild;) e = e.firstChild;return e;}- function Vr(e, t) {- var n = Br(e);+ function Br(e, t) {+ var n = zr(e);e = 0;for (var r; n;) {if (n.nodeType === 3) {@@ -9421,15 +9436,15 @@ var lu = /* @__PURE__ */ m(((e) => {}n = void 0;}- n = Br(n);+ n = zr(n);}}- function Hr(e, t) {- return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Hr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;+ function Vr(e, t) {+ return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Vr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;}- function Ur(e) {+ function Hr(e) {e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;- for (var t = zr(e.document); t instanceof e.HTMLIFrameElement;) {+ for (var t = Rr(e.document); t instanceof e.HTMLIFrameElement;) {try {var n = typeof t.contentWindow.location.href == "string";} catch {@@ -9437,18 +9452,18 @@ var lu = /* @__PURE__ */ m(((e) => {}if (n) e = t.contentWindow;else break;- t = zr(e.document);+ t = Rr(e.document);}return t;}- function Gr(e) {+ function Wr(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 Kr = wn && "documentMode" in document && 11 >= document.documentMode, qr = null, Jr = null, Yr = null, Xr = !1;- function Zr(e, t, n) {+ var Gr = Cn && "documentMode" in document && 11 >= document.documentMode, Kr = null, qr = null, Jr = null, Yr = !1;+ function Xr(e, t, n) {var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;- Xr || qr == null || qr !== zr(r) || (r = qr, "selectionStart" in r && Gr(r) ? r = {+ Yr || Kr == null || Kr !== Rr(r) || (r = Kr, "selectionStart" in r && Wr(r) ? r = {start: r.selectionStart,end: r.selectionEnd} : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {@@ -9456,48 +9471,48 @@ var lu = /* @__PURE__ */ m(((e) => {anchorOffset: r.anchorOffset,focusNode: r.focusNode,focusOffset: r.focusOffset- }), Yr && Rr(Yr, r) || (Yr = r, r = Yf(Jr, "onSelect"), 0 < r.length && (t = new In("onSelect", "select", null, t, n), e.push({+ }), Jr && Lr(Jr, r) || (Jr = r, r = qf(qr, "onSelect"), 0 < r.length && (t = new Fn("onSelect", "select", null, t, n), e.push({event: t,listeners: r- }), t.target = qr)));+ }), t.target = Kr)));}- function Qr(e, t) {+ function Zr(e, t) {var n = {};return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;}- var $r = {- animationend: Qr("Animation", "AnimationEnd"),- animationiteration: Qr("Animation", "AnimationIteration"),- animationstart: Qr("Animation", "AnimationStart"),- transitionrun: Qr("Transition", "TransitionRun"),- transitionstart: Qr("Transition", "TransitionStart"),- transitioncancel: Qr("Transition", "TransitionCancel"),- transitionend: Qr("Transition", "TransitionEnd")- }, ei = {}, ti = {};- wn && (ti = document.createElement("div").style, "AnimationEvent" in window || (delete $r.animationend.animation, delete $r.animationiteration.animation, delete $r.animationstart.animation), "TransitionEvent" in window || delete $r.transitionend.transition);- function ni(e) {- if (ei[e]) return ei[e];- if (!$r[e]) return e;- var t = $r[e], n;- for (n in t) if (t.hasOwnProperty(n) && n in ti) return ei[e] = t[n];+ var Qr = {+ animationend: Zr("Animation", "AnimationEnd"),+ animationiteration: Zr("Animation", "AnimationIteration"),+ animationstart: Zr("Animation", "AnimationStart"),+ transitionrun: Zr("Transition", "TransitionRun"),+ transitionstart: Zr("Transition", "TransitionStart"),+ transitioncancel: Zr("Transition", "TransitionCancel"),+ transitionend: Zr("Transition", "TransitionEnd")+ }, $r = {}, ei = {};+ Cn && (ei = document.createElement("div").style, "AnimationEvent" in window || (delete Qr.animationend.animation, delete Qr.animationiteration.animation, delete Qr.animationstart.animation), "TransitionEvent" in window || delete Qr.transitionend.transition);+ function ti(e) {+ if ($r[e]) return $r[e];+ if (!Qr[e]) return e;+ var t = Qr[e], n;+ for (n in t) if (t.hasOwnProperty(n) && n in ei) return $r[e] = t[n];return e;}- var ri = ni("animationend"), ii = ni("animationiteration"), ai = ni("animationstart"), oi = ni("transitionrun"), si = ni("transitionstart"), ci = ni("transitioncancel"), li = ni("transitionend"), ui = /* @__PURE__ */ new Map(), di = "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(" ");- di.push("scrollEnd");- function fi(e, t) {- ui.set(e, t), Rt(t, [e]);+ var ni = ti("animationend"), ri = ti("animationiteration"), ii = ti("animationstart"), ai = ti("transitionrun"), oi = ti("transitionstart"), si = ti("transitioncancel"), ci = ti("transitionend"), li = /* @__PURE__ */ new Map(), ui = "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(" ");+ ui.push("scrollEnd");+ function di(e, t) {+ li.set(e, t), Lt(t, [e]);}- var pi = 0;- function mi(e, t) {+ var fi = 0;+ function pi(e, t) {if (e.name != null && e.name !== "auto") return e.name;if (t.autoName !== null) return t.autoName;- e = Sd.identifierPrefix;- var n = pi++;+ e = xd.identifierPrefix;+ var n = fi++;return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;}- function hi(e) {+ function mi(e) {if (e == null || typeof e == "string") return e;- var t = null, n = kd;+ var t = null, n = Od;if (n !== null) for (var r = 0; r < n.length; r++) {var i = e[n[r]];if (i != null) {@@ -9507,10 +9522,10 @@ var lu = /* @__PURE__ */ m(((e) => {}return t ?? e.default;}- function gi(e, t) {- return e = hi(e), t = hi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;+ function hi(e, t) {+ return e = mi(e), t = mi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;}- var _i = typeof reportError == "function" ? reportError : function(e) {+ var gi = typeof reportError == "function" ? reportError : function(e) {if (typeof window == "object" && typeof window.ErrorEvent == "function") {var t = new window.ErrorEvent("error", {bubbles: !0,@@ -9524,62 +9539,62 @@ var lu = /* @__PURE__ */ m(((e) => {return;}console.error(e);- }, vi = [], yi = 0, bi = 0;- function xi() {- for (var e = yi, t = bi = yi = 0; t < e;) {- var n = vi[t];- vi[t++] = null;- var r = vi[t];- vi[t++] = null;- var i = vi[t];- vi[t++] = null;- var a = vi[t];- if (vi[t++] = null, r !== null && i !== null) {+ }, _i = [], vi = 0, yi = 0;+ function bi() {+ for (var e = vi, t = yi = vi = 0; t < e;) {+ var n = _i[t];+ _i[t++] = null;+ var r = _i[t];+ _i[t++] = null;+ var i = _i[t];+ _i[t++] = null;+ var a = _i[t];+ if (_i[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 && Ti(n, i, a);+ a !== 0 && wi(n, i, a);}}- function Si(e, t, n, r) {- vi[yi++] = e, vi[yi++] = t, vi[yi++] = n, vi[yi++] = r, bi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);+ function xi(e, t, n, r) {+ _i[vi++] = e, _i[vi++] = t, _i[vi++] = n, _i[vi++] = r, yi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);}- function Ci(e, t, n, r) {- return Si(e, t, n, r), Ei(e);+ function Si(e, t, n, r) {+ return xi(e, t, n, r), Ti(e);}- function wi(e, t) {- return Si(e, null, null, t), Ei(e);+ function Ci(e, t) {+ return xi(e, null, null, t), Ti(e);}- function Ti(e, t, n) {+ function wi(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 - $e(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;+ return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - Qe(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;}- function Ei(e) {- if (50 < Ad) throw Ad = 0, X = null, Error(i(185));+ function Ti(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 Di = {};- function Oi(e, t, n, r) {+ var Ei = {};+ function Di(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 ki(e, t, n, r) {- return new Oi(e, t, n, r);+ function Oi(e, t, n, r) {+ return new Di(e, t, n, r);}- function Ai(e) {+ function ki(e) {return e = e.prototype, !(!e || !e.isReactComponent);}- function ji(e, t) {+ function Ai(e, t) {var n = e.alternate;- return n === null ? (n = ki(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 : {+ return n === null ? (n = Oi(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 Mi(e, t) {+ function ji(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 : {@@ -9587,21 +9602,21 @@ var lu = /* @__PURE__ */ m(((e) => {firstContext: t.firstContext}), e;}- function Ni(e, t, n, r, a, o) {+ function Mi(e, t, n, r, a, o) {var s = 0;- if (r = e, typeof r == "function") Ai(r) && (s = 1);- else if (typeof r == "string") s = qm(e, n, xe.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;+ if (r = e, typeof r == "function") ki(r) && (s = 1);+ else if (typeof r == "string") s = qm(e, n, be.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;else a: switch (r) {- case ae: return e = ki(31, n, t, a), e.elementType = ae, e.lanes = o, e;- case k: return Pi(n.children, a, o, t);+ case ie: return e = Oi(31, n, t, a), e.elementType = ie, e.lanes = o, e;+ case k: return Ni(n.children, a, o, t);case A:s = 8, a |= 24;break;- case ee: return e = ki(12, n, t, a | 2), e.elementType = ee, e.lanes = o, e;- case ne: return e = ki(13, n, t, a), e.elementType = ne, e.lanes = o, e;- case N: return e = ki(19, n, t, a), e.elementType = N, e.lanes = o, e;- case oe:- case ce: return e = a | 32, e = ki(30, n, t, e), e.elementType = ce, e.lanes = o, e.stateNode = {+ case ee: return e = Oi(12, n, t, a | 2), e.elementType = ee, e.lanes = o, e;+ case ne: return e = Oi(13, n, t, a), e.elementType = ne, e.lanes = o, e;+ case N: return e = Oi(19, n, t, a), e.elementType = N, e.lanes = o, e;+ case ae:+ case se: return e = a | 32, e = Oi(30, n, t, e), e.elementType = se, e.lanes = o, e.stateNode = {autoName: null,paired: null,clones: null,@@ -9621,165 +9636,165 @@ var lu = /* @__PURE__ */ m(((e) => {case re:s = 14;break a;- case ie:+ case P:s = 16, r = null;break a;}s = 29, n = Error(i(130, e === null ? "null" : typeof e, "")), r = null;}- return t = ki(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;+ return t = Oi(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;}- function Pi(e, t, n, r) {- return e = ki(7, e, r, t), e.lanes = n, e;+ function Ni(e, t, n, r) {+ return e = Oi(7, e, r, t), e.lanes = n, e;}- function Fi(e, t, n) {- return e = ki(6, e, null, t), e.lanes = n, e;+ function Pi(e, t, n) {+ return e = Oi(6, e, null, t), e.lanes = n, e;}- function Ii(e) {- var t = ki(18, null, null, 0);+ function Fi(e) {+ var t = Oi(18, null, null, 0);return t.stateNode = e, t;}- function Li(e, t, n) {- return t = ki(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {+ function Ii(e, t, n) {+ return t = Oi(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {containerInfo: e.containerInfo,pendingChildren: null,implementation: e.implementation}, t;}- var Ri = /* @__PURE__ */ new WeakMap();- function zi(e, t) {+ var Li = /* @__PURE__ */ new WeakMap();+ function Ri(e, t) {if (typeof e == "object" && e) {- var n = Ri.get(e);+ var n = Li.get(e);return n === void 0 ? (t = {value: e,source: t,- stack: Fe(t)- }, Ri.set(e, t), t) : n;+ stack: Pe(t)+ }, Li.set(e, t), t) : n;}return {value: e,source: t,- stack: Fe(t)+ stack: Pe(t)};}- var Bi = [], Vi = 0, Hi = null, Ui = 0, Wi = [], Gi = 0, Ki = null, qi = 1, Ji = "";- function Yi(e, t) {- Bi[Vi++] = Ui, Bi[Vi++] = Hi, Hi = e, Ui = t;+ var zi = [], Bi = 0, Vi = null, Hi = 0, Ui = [], Wi = 0, Gi = null, Ki = 1, qi = "";+ function Ji(e, t) {+ zi[Bi++] = Hi, zi[Bi++] = Vi, Vi = e, Hi = t;}- function Xi(e, t, n) {- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, Ki = e;- var r = qi;- e = Ji;- var i = 32 - $e(r) - 1;+ function Yi(e, t, n) {+ Ui[Wi++] = Ki, Ui[Wi++] = qi, Ui[Wi++] = Gi, Gi = e;+ var r = Ki;+ e = qi;+ var i = 32 - Qe(r) - 1;r &= ~(1 << i), n += 1;- var a = 32 - $e(t) + i;+ var a = 32 - Qe(t) + i;if (30 < a) {var o = i - i % 5;- a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, qi = 1 << 32 - $e(t) + i | n << i | r, Ji = a + e;- } else qi = 1 << a | n << i | r, Ji = e;+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ki = 1 << 32 - Qe(t) + i | n << i | r, qi = a + e;+ } else Ki = 1 << a | n << i | r, qi = e;+ }+ function Xi(e) {+ e.return !== null && (Ji(e, 1), Yi(e, 1, 0));}function Zi(e) {- e.return !== null && (Yi(e, 1), Xi(e, 1, 0));+ for (; e === Vi;) Vi = zi[--Bi], zi[Bi] = null, Hi = zi[--Bi], zi[Bi] = null;+ for (; e === Gi;) Gi = Ui[--Wi], Ui[Wi] = null, qi = Ui[--Wi], Ui[Wi] = null, Ki = Ui[--Wi], Ui[Wi] = null;}- function Qi(e) {- for (; e === Hi;) Hi = Bi[--Vi], Bi[Vi] = null, Ui = Bi[--Vi], Bi[Vi] = null;- for (; e === Ki;) Ki = Wi[--Gi], Wi[Gi] = null, Ji = Wi[--Gi], Wi[Gi] = null, qi = Wi[--Gi], Wi[Gi] = null;+ function Qi(e, t) {+ Ui[Wi++] = Ki, Ui[Wi++] = qi, Ui[Wi++] = Gi, Ki = t.id, qi = t.overflow, Gi = e;}- function $i(e, t) {- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, qi = t.id, Ji = t.overflow, Ki = e;+ var U = null, $i = null, W = !1, ea = null, ta = !1, na = Error(i(519));+ function ra(e) {+ throw la(Ri(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), na;}- var H = null, ea = null, U = !1, ta = null, na = !1, ra = Error(i(519));function ia(e) {- throw ua(zi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), ra;- }- function aa(e) {var t = e.stateNode, n = e.type, r = e.memoizedProps;- switch (t[Ct] = e, t[wt] = r, n) {+ switch (t[St] = e, t[Ct] = r, n) {case "dialog":- Z("cancel", t), Z("close", t);+ $("cancel", t), $("close", t);break;case "iframe":case "object":case "embed":- Z("load", t);+ $("load", t);break;case "video":case "audio":- for (n = 0; n < Bf.length; n++) Z(Bf[n], t);+ for (n = 0; n < Rf.length; n++) $(Rf[n], t);break;case "source":- Z("error", t);+ $("error", t);break;case "img":case "image":case "link":- Z("error", t), Z("load", t);+ $("error", t), $("load", t);break;case "details":- Z("toggle", t);+ $("toggle", t);break;case "input":- Z("invalid", t), tn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);+ $("invalid", t), en(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);break;case "select":- Z("invalid", t);+ $("invalid", t);break;- case "textarea": Z("invalid", t), on(t, r.value, r.defaultValue, r.children);+ case "textarea": $("invalid", t), an(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 || tp(t.textContent, n) ? (r.popover != null && (Z("beforetoggle", t), Z("toggle", t)), r.onScroll != null && Z("scroll", t), r.onScrollEnd != null && Z("scrollend", t), r.onClick != null && (t.onclick = hn), t = !0) : t = !1, t || ia(e, !0);+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || $f(t.textContent, n) ? (r.popover != null && ($("beforetoggle", t), $("toggle", t)), r.onScroll != null && $("scroll", t), r.onScrollEnd != null && $("scrollend", t), r.onClick != null && (t.onclick = mn), t = !0) : t = !1, t || ra(e, !0);}- function oa(e) {- for (H = e.return; H;) switch (H.tag) {+ function aa(e) {+ for (U = e.return; U;) switch (U.tag) {case 5:case 31:case 13:- na = !1;+ ta = !1;return;case 27:case 3:- na = !0;+ ta = !0;return;- default: H = H.return;+ default: U = U.return;}}- function sa(e) {- if (e !== H) return !1;- if (!U) return oa(e), U = !0, !1;+ function oa(e) {+ if (e !== U) return !1;+ if (!W) return aa(e), W = !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 && ea && ia(e), oa(e), t === 13) {+ 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 && $i && ra(e), aa(e), t === 13) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ea = dm(e);+ $i = dm(e);} else if (t === 31) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ea = dm(e);- } else t === 27 ? (t = ea, Sp(e.type) ? (e = um, um = null, ea = e) : ea = t) : ea = H ? lm(e.stateNode.nextSibling) : null;+ $i = dm(e);+ } else t === 27 ? (t = $i, Sp(e.type) ? (e = um, um = null, $i = e) : $i = t) : $i = U ? lm(e.stateNode.nextSibling) : null;return !0;}- function ca() {- ea = H = null, U = !1;+ function sa() {+ $i = U = null, W = !1;}- function la() {- var e = ta;- return e !== null && (md === null ? md = e : md.push.apply(md, e), ta = null), e;+ function ca() {+ var e = ea;+ return e !== null && (md === null ? md = e : md.push.apply(md, e), ea = null), e;}- function ua(e) {- ta === null ? ta = [e] : ta.push(e);+ function la(e) {+ ea === null ? ea = [e] : ea.push(e);}- var da = ve(null), fa = null, pa = null;- function ma(e, t, n) {- be(da, t._currentValue), t._currentValue = n;+ var ua = _e(null), da = null, fa = null;+ function pa(e, t, n) {+ ye(ua, t._currentValue), t._currentValue = n;}- function ha(e) {- e._currentValue = da.current, ye(da);+ function ma(e) {+ e._currentValue = ua.current, ve(ua);}- function ga(e, t, n) {+ function ha(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 _a(e, t, n, r) {+ function ga(e, t, n, r) {var a = e.child;for (a !== null && (a.return = e); a !== null;) {var o = a.dependencies;@@ -9790,15 +9805,15 @@ var lu = /* @__PURE__ */ m(((e) => {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), ga(o.return, n, e), r || (s = null);+ o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), ha(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), ga(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), ga(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;+ s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), ha(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), ha(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) {@@ -9814,7 +9829,7 @@ var lu = /* @__PURE__ */ m(((e) => {a = s;}}- function va(e, t, n, r) {+ function _a(e, t, n, r) {e = null;for (var a = t, o = !1; a !== null;) {if (!o) {@@ -9826,48 +9841,48 @@ var lu = /* @__PURE__ */ m(((e) => {if (s === null) throw Error(i(387));if (s = s.memoizedProps, s !== null) {var c = a.type;- Lr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));+ Ir(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));}- } else if (a === we.current) {+ } else if (a === Ce.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 && _a(t, e, n, r), t.flags |= 262144, e !== null;+ return e !== null && ga(t, e, n, r), t.flags |= 262144, e !== null;}- function ya(e) {+ function va(e) {for (e = e.firstContext; e !== null;) {- if (!Lr(e.context._currentValue, e.memoizedValue)) return !0;+ if (!Ir(e.context._currentValue, e.memoizedValue)) return !0;e = e.next;}return !1;}+ function ya(e) {+ da = e, fa = null, e = e.dependencies, e !== null && (e.firstContext = null);+ }function ba(e) {- fa = e, pa = null, e = e.dependencies, e !== null && (e.firstContext = null);+ return Sa(da, e);}- function xa(e) {- return Ca(fa, e);+ function xa(e, t) {+ return da === null && ya(e), Sa(e, t);}function Sa(e, t) {- return fa === null && ba(e), Ca(e, t);- }- function Ca(e, t) {var n = t._currentValue;if (t = {context: t,memoizedValue: n,next: null- }, pa === null) {+ }, fa === null) {if (e === null) throw Error(i(308));- pa = t, e.dependencies = {+ fa = t, e.dependencies = {lanes: 0,firstContext: t}, e.flags |= 524288;- } else pa = pa.next = t;+ } else fa = fa.next = t;return n;}- var wa = typeof AbortController < "u" ? AbortController : function() {+ var Ca = typeof AbortController < "u" ? AbortController : function() {var e = [], t = this.signal = {aborted: !1,addEventListener: function(t, n) {@@ -9879,7 +9894,7 @@ var lu = /* @__PURE__ */ m(((e) => {return e();});};- }, Ta = t.unstable_scheduleCallback, Ea = t.unstable_NormalPriority, W = {+ }, wa = t.unstable_scheduleCallback, Ta = t.unstable_NormalPriority, G = {$$typeof: te,Consumer: null,Provider: null,@@ -9887,19 +9902,19 @@ var lu = /* @__PURE__ */ m(((e) => {_currentValue2: null,_threadCount: 0};- function Da() {+ function Ea() {return {- controller: new wa(),+ controller: new Ca(),data: /* @__PURE__ */ new Map(),refCount: 0};}- function Oa(e) {- e.refCount--, e.refCount === 0 && Ta(Ea, function() {+ function Da(e) {+ e.refCount--, e.refCount === 0 && wa(Ta, function() {e.controller.abort();});}- function ka(e, t) {+ function Oa(e, t) {if (e.pendingLanes & 4194048) {var n = e.transitionTypes;for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {@@ -9908,16 +9923,16 @@ var lu = /* @__PURE__ */ m(((e) => {}}}- var Aa = null;- function ja(e) {+ var ka = null;+ function Aa(e) {var t = e.transitionTypes;return e.transitionTypes = null, t;}- var Ma = null, Na = 0, Pa = 0, Fa = null;- function Ia(e, t) {- if (Ma === null) {- var n = Ma = [];- Na = 0, Pa = Ff(), Fa = {+ var ja = null, Ma = 0, Na = 0, Pa = null;+ function Fa(e, t) {+ if (ja === null) {+ var n = ja = [];+ Ma = 0, Na = Nf(), Pa = {status: "pending",value: void 0,then: function(e) {@@ -9925,17 +9940,17 @@ var lu = /* @__PURE__ */ m(((e) => {}};}- return Na++, t.then(La, La), t;+ return Ma++, t.then(Ia, Ia), t;}- function La() {- if (--Na === 0 && (Aa = null, Ma !== null)) {- Fa !== null && (Fa.status = "fulfilled");- var e = Ma;- Ma = null, Pa = 0, Fa = null;+ function Ia() {+ if (--Ma === 0 && (ka = null, ja !== null)) {+ Pa !== null && (Pa.status = "fulfilled");+ var e = ja;+ ja = null, Na = 0, Pa = null;for (var t = 0; t < e.length; t++) (0, e[t])();}}- function Ra(e, t) {+ function La(e, t) {var n = [], r = {status: "pending",value: null,@@ -9951,48 +9966,48 @@ var lu = /* @__PURE__ */ m(((e) => {for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);}), r;}- var za = P.S;- P.S = function(e, t) {- if (_d = Ve(), typeof t == "object" && t && typeof t.then == "function" && Ia(e, t), Aa !== null) for (var n = xf; n !== null;) ka(n, Aa), n = n.next;+ var Ra = F.S;+ F.S = function(e, t) {+ if (gd = Be(), typeof t == "object" && t && typeof t.then == "function" && Fa(e, t), ka !== null) for (var n = yf; n !== null;) Oa(n, ka), n = n.next;if (n = e.types, n !== null) {- for (var r = xf; r !== null;) ka(r, n), r = r.next;- if (Pa !== 0) {- r = Aa, r === null && (r = Aa = []);+ for (var r = yf; r !== null;) Oa(r, n), r = r.next;+ if (Na !== 0) {+ r = ka, r === null && (r = ka = []);for (var i = 0; i < n.length; i++) {var a = n[i];r.indexOf(a) === -1 && r.push(a);}}}- za !== null && za(e, t);+ Ra !== null && Ra(e, t);};- var Ba = ve(null);- function Va() {- var e = Ba.current;- return e === null ? td.pooledCache : e;+ var za = _e(null);+ function Ba() {+ var e = za.current;+ return e === null ? ed.pooledCache : e;}- function Ha(e, t) {- t === null ? be(Ba, Ba.current) : be(Ba, t.pool);+ function Va(e, t) {+ t === null ? ye(za, za.current) : ye(za, t.pool);}- function Ua() {- var e = Va();+ function Ha() {+ var e = Ba();return e === null ? null : {- parent: W._currentValue,+ parent: G._currentValue,pool: e};}- var Wa = Error(i(460)), Ga = Error(i(474)), Ka = Error(i(542)), qa = { then: function() {} };- function Ja(e) {+ var Ua = Error(i(460)), Wa = Error(i(474)), Ga = Error(i(542)), Ka = { then: function() {} };+ function qa(e) {return e = e.status, e === "fulfilled" || e === "rejected";}- function Ya(e, t, n) {- switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(hn, hn), t = n), t.status) {+ function Ja(e, t, n) {+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(mn, mn), t = n), t.status) {case "fulfilled": return t.value;- case "rejected": throw e = t.reason, $a(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;+ case "rejected": throw e = t.reason, Qa(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;default:- if (typeof t.status == "string") t.then(hn, hn);+ if (typeof t.status == "string") t.then(mn, mn);else {- if (e = td, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));+ if (e = ed, 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;@@ -10007,40 +10022,40 @@ var lu = /* @__PURE__ */ m(((e) => {}switch (t.status) {case "fulfilled": return t.value;- case "rejected": throw e = t.reason, $a(e), e;+ case "rejected": throw e = t.reason, Qa(e), e;}- throw Za = t, Wa;+ throw Xa = t, Ua;}}- function Xa(e) {+ function Ya(e) {try {var t = e._init;return t(e._payload);} catch (e) {- throw typeof e == "object" && e && typeof e.then == "function" ? (Za = e, Wa) : e;+ throw typeof e == "object" && e && typeof e.then == "function" ? (Xa = e, Ua) : e;}}- var Za = null;- function Qa() {- if (Za === null) throw Error(i(459));- var e = Za;- return Za = null, e;+ var Xa = null;+ function Za() {+ if (Xa === null) throw Error(i(459));+ var e = Xa;+ return Xa = null, e;}- function $a(e) {- if (e === Wa || e === Ka) throw Error(i(483));+ function Qa(e) {+ if (e === Ua || e === Ga) throw Error(i(483));}- var eo = null, to = 0;- function no(e) {- var t = to;- return to += 1, eo === null && (eo = []), Ya(eo, e, t);+ var $a = null, eo = 0;+ function to(e) {+ var t = eo;+ return eo += 1, $a === null && ($a = []), Ja($a, e, t);}- function ro(e, t) {+ function no(e, t) {t = t.props.ref, e.ref = t === void 0 ? null : t;}- function io(e, t) {+ function ro(e, t) {throw t.$$typeof === E ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));}- function ao(e) {+ function io(e) {function t(t, n) {if (e) {var r = t.deletions;@@ -10057,7 +10072,7 @@ var lu = /* @__PURE__ */ m(((e) => {return t;}function a(e, t) {- return e = ji(e, t), e.index = 0, e.sibling = null, e;+ return e = Ai(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);@@ -10066,30 +10081,30 @@ var lu = /* @__PURE__ */ m(((e) => {return e && t.alternate === null && (t.flags |= 134217730), t;}function c(e, t, n, r) {- return t === null || t.tag !== 6 ? (t = Fi(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);+ return t === null || t.tag !== 6 ? (t = Pi(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 === k ? (e = d(e, t, n.props.children, r, n.key), ro(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === ie && Xa(i) === t.type) ? (t = a(t, n.props), ro(t, n), t.return = e, t) : (t = Ni(n.type, n.key, n.props, null, e.mode, r), ro(t, n), t.return = e, t);+ return i === k ? (e = d(e, t, n.props.children, r, n.key), no(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === P && Ya(i) === t.type) ? (t = a(t, n.props), no(t, n), t.return = e, t) : (t = Mi(n.type, n.key, n.props, null, e.mode, r), no(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 = Li(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);+ return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Ii(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 = Pi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);+ return t === null || t.tag !== 7 ? (t = Ni(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 = Fi("" + t, e.mode, n), t.return = e, t;+ if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Pi("" + t, e.mode, n), t.return = e, t;if (typeof t == "object" && t) {switch (t.$$typeof) {- case D: return n = Ni(t.type, t.key, t.props, null, e.mode, n), ro(n, t), n.return = e, n;- case O: return t = Li(t, e.mode, n), t.return = e, t;- case ie: return t = Xa(t), f(e, t, n);+ case D: return n = Mi(t.type, t.key, t.props, null, e.mode, n), no(n, t), n.return = e, n;+ case O: return t = Ii(t, e.mode, n), t.return = e, t;+ case P: return t = Ya(t), f(e, t, n);}- if (me(t) || de(t)) return t = Pi(t, e.mode, n, null), t.return = e, t;- if (typeof t.then == "function") return f(e, no(t), n);- if (t.$$typeof === te) return f(e, Sa(e, t), n);- io(e, t);+ if (pe(t) || ue(t)) return t = Ni(t, e.mode, n, null), t.return = e, t;+ if (typeof t.then == "function") return f(e, to(t), n);+ if (t.$$typeof === te) return f(e, xa(e, t), n);+ ro(e, t);}return null;}@@ -10100,12 +10115,12 @@ var lu = /* @__PURE__ */ m(((e) => {switch (n.$$typeof) {case D: return n.key === i ? l(e, t, n, r) : null;case O: return n.key === i ? u(e, t, n, r) : null;- case ie: return n = Xa(n), p(e, t, n, r);+ case P: return n = Ya(n), p(e, t, n, r);}- if (me(n) || de(n)) return i === null ? d(e, t, n, r, null) : null;- if (typeof n.then == "function") return p(e, t, no(n), r);- if (n.$$typeof === te) return p(e, t, Sa(e, n), r);- io(e, n);+ if (pe(n) || ue(n)) return i === null ? d(e, t, n, r, null) : null;+ if (typeof n.then == "function") return p(e, t, to(n), r);+ if (n.$$typeof === te) return p(e, t, xa(e, n), r);+ ro(e, n);}return null;}@@ -10115,12 +10130,12 @@ var lu = /* @__PURE__ */ m(((e) => {switch (r.$$typeof) {case D: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);case O: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);- case ie: return r = Xa(r), m(e, t, n, r, i);+ case P: return r = Ya(r), m(e, t, n, r, i);}- if (me(r) || de(r)) return e = e.get(n) || null, d(t, e, r, i, null);- if (typeof r.then == "function") return m(e, t, n, no(r), i);- if (r.$$typeof === te) return m(e, t, n, Sa(t, r), i);- io(t, r);+ if (pe(r) || ue(r)) return e = e.get(n) || null, d(t, e, r, i, null);+ if (typeof r.then == "function") return m(e, t, n, to(r), i);+ if (r.$$typeof === te) return m(e, t, n, xa(t, r), i);+ ro(t, r);}return null;}@@ -10134,15 +10149,15 @@ var lu = /* @__PURE__ */ m(((e) => {}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), U && Yi(i, h), l;+ if (h === s.length) return n(i, d), W && Ji(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 U && Yi(i, h), l;+ return W && Ji(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);- }), U && Yi(i, h), l;+ }), W && Ji(i, h), l;}function g(a, s, c, l) {if (c == null) throw Error(i(151));@@ -10155,15 +10170,15 @@ var lu = /* @__PURE__ */ m(((e) => {}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), U && Yi(a, g), u;+ if (v.done) return n(a, h), W && Ji(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 U && Yi(a, g), u;+ return W && Ji(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);- }), U && Yi(a, g), u;+ }), W && Ji(a, g), u;}function _(e, r, o, c) {if (typeof o == "object" && o && o.type === k && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {@@ -10174,11 +10189,11 @@ var lu = /* @__PURE__ */ m(((e) => {if (r.key === l) {if (l = o.type, l === k) {if (r.tag === 7) {- n(e, r.sibling), c = a(r, o.props.children), ro(c, o), c.return = e, e = c;+ n(e, r.sibling), c = a(r, o.props.children), no(c, o), c.return = e, e = c;break a;}- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === ie && Xa(l) === r.type) {- n(e, r.sibling), c = a(r, o.props), ro(c, o), c.return = e, e = c;+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === P && Ya(l) === r.type) {+ n(e, r.sibling), c = a(r, o.props), no(c, o), c.return = e, e = c;break a;}n(e, r);@@ -10186,7 +10201,7 @@ var lu = /* @__PURE__ */ m(((e) => {}t(e, r), r = r.sibling;}- o.type === k ? (c = Pi(o.props.children, e.mode, c, o.key), ro(c, o), c.return = e, e = c) : (c = Ni(o.type, o.key, o.props, null, e.mode, c), ro(c, o), c.return = e, e = c);+ o.type === k ? (c = Ni(o.props.children, e.mode, c, o.key), no(c, o), c.return = e, e = c) : (c = Mi(o.type, o.key, o.props, null, e.mode, c), no(c, o), c.return = e, e = c);}return s(e);case O:@@ -10202,36 +10217,36 @@ var lu = /* @__PURE__ */ m(((e) => {}t(e, r), r = r.sibling;}- c = Li(o, e.mode, c), c.return = e, e = c;+ c = Ii(o, e.mode, c), c.return = e, e = c;}return s(e);- case ie: return o = Xa(o), _(e, r, o, c);+ case P: return o = Ya(o), _(e, r, o, c);}- if (me(o)) return h(e, r, o, c);- if (de(o)) {- if (l = de(o), typeof l != "function") throw Error(i(150));+ if (pe(o)) return h(e, r, o, c);+ if (ue(o)) {+ if (l = ue(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, no(o), c);- if (o.$$typeof === te) return _(e, r, Sa(e, o), c);- io(e, o);+ if (typeof o.then == "function") return _(e, r, to(o), c);+ if (o.$$typeof === te) return _(e, r, xa(e, o), c);+ ro(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 = Fi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);+ 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 = Pi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);}return function(e, t, n, r) {try {- to = 0;+ eo = 0;var i = _(e, t, n, r);- return eo = null, i;+ return $a = null, i;} catch (t) {- if (t === Wa || t === Ka) throw t;- var a = ki(29, t, null, e.mode);+ if (t === Ua || t === Ga) throw t;+ var a = Oi(29, t, null, e.mode);return a.lanes = r, a.return = e, a;}};}- var oo = ao(!0), so = ao(!1), co = !1;- function lo(e) {+ var ao = io(!0), oo = io(!1), so = !1;+ function co(e) {e.updateQueue = {baseState: e.memoizedState,firstBaseUpdate: null,@@ -10244,7 +10259,7 @@ var lu = /* @__PURE__ */ m(((e) => {callbacks: null};}- function uo(e, t) {+ function lo(e, t) {e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {baseState: e.baseState,firstBaseUpdate: e.firstBaseUpdate,@@ -10253,7 +10268,7 @@ var lu = /* @__PURE__ */ m(((e) => {callbacks: null});}- function fo(e) {+ function uo(e) {return {lane: e,tag: 0,@@ -10262,22 +10277,22 @@ var lu = /* @__PURE__ */ m(((e) => {next: null};}- function po(e, t, n) {+ function fo(e, t, n) {var r = e.updateQueue;if (r === null) return null;- if (r = r.shared, ed & 2) {+ if (r = r.shared, $u & 2) {var i = r.pending;- return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Ei(e), Ti(e, null, n), t;+ return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Ti(e), wi(e, null, n), t;}- return Si(e, r, t, n), Ei(e);+ return xi(e, r, t, n), Ti(e);}- function mo(e, t, n) {+ function po(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, gt(e, n);+ r &= e.pendingLanes, n |= r, t.lanes = n, ht(e, n);}}- function ho(e, t) {+ function mo(e, t) {var n = e.updateQueue, r = e.alternate;if (r !== null && (r = r.updateQueue, n === r)) {var i = null, a = null;@@ -10305,17 +10320,17 @@ var lu = /* @__PURE__ */ m(((e) => {}e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;}- var go = !1;- function _o() {- if (go) {- var e = Fa;+ var ho = !1;+ function go() {+ if (ho) {+ var e = Pa;if (e !== null) throw e;}}- function vo(e, t, n, r) {- go = !1;+ function _o(e, t, n, r) {+ ho = !1;var i = e.updateQueue;- co = !1;+ so = !1;var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;if (s !== null) {i.shared.pending = null;@@ -10329,8 +10344,8 @@ var lu = /* @__PURE__ */ m(((e) => {o = 0, u = l = c = null, s = a;do {var f = s.lane & -536870913, p = f !== s.lane;- if (p ? (q & f) === f : (r & f) === f) {- f !== 0 && f === Pa && (go = !0), u !== null && (u = u.next = {+ if (p ? (J & f) === f : (r & f) === f) {+ f !== 0 && f === Na && (ho = !0), u !== null && (u = u.next = {lane: 0,tag: s.tag,payload: s.payload,@@ -10354,7 +10369,7 @@ var lu = /* @__PURE__ */ m(((e) => {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: co = !0;+ case 2: so = !0;}}f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));@@ -10370,52 +10385,52 @@ var lu = /* @__PURE__ */ m(((e) => {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), ld |= o, e.lanes = o, e.memoizedState = d;+ u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), cd |= o, e.lanes = o, e.memoizedState = d;}}- function yo(e, t) {+ function vo(e, t) {if (typeof e != "function") throw Error(i(191, e));e.call(t);}- function bo(e, t) {+ function yo(e, t) {var n = e.callbacks;- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) yo(n[e], t);+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) vo(n[e], t);}- var xo = ve(null), So = ve(0);- function Co(e, t) {- e = sd, be(So, e), be(xo, t), sd = e | t.baseLanes;+ var bo = _e(null), xo = _e(0);+ function So(e, t) {+ e = od, ye(xo, e), ye(bo, t), od = e | t.baseLanes;+ }+ function Co() {+ ye(xo, od), ye(bo, bo.current);}function wo() {- be(So, sd), be(xo, xo.current);+ od = xo.current, ve(bo), ve(xo);}- function To() {- sd = So.current, ye(xo), ye(So);+ var To = _e(null), Eo = null;+ function Do(e) {+ var t = e.alternate;+ ye(Mo, Mo.current & 1), ye(To, e), Eo === null && (t === null || bo.current !== null || t.memoizedState !== null) && (Eo = e);}- var Eo = ve(null), Do = null;function Oo(e) {- var t = e.alternate;- be(No, No.current & 1), be(Eo, e), Do === null && (t === null || xo.current !== null || t.memoizedState !== null) && (Do = e);+ ye(Mo, Mo.current), ye(To, e), Eo === null && (Eo = e);}function ko(e) {- be(No, No.current), be(Eo, e), Do === null && (Do = e);+ e.tag === 22 ? (ye(Mo, Mo.current), ye(To, e), Eo === null && (Eo = e)) : Ao();}- function Ao(e) {- e.tag === 22 ? (be(No, No.current), be(Eo, e), Do === null && (Do = e)) : jo();+ function Ao() {+ ye(Mo, Mo.current), ye(To, To.current);}- function jo() {- be(No, No.current), be(Eo, Eo.current);+ function jo(e) {+ ve(To), Eo === e && (Eo = null), ve(Mo);}- function Mo(e) {- ye(Eo), Do === e && (Do = null), ye(No);+ var Mo = _e(0);+ function No(e, t) {+ ye(To, To.current), ye(Mo, t);}- var No = ve(0);- function Po(e, t) {- be(Eo, Eo.current), be(No, t);+ function Po(e) {+ ve(Mo), ve(To), Eo === e && (Eo = null);}function Fo(e) {- ye(No), ye(Eo), Do === e && (Do = null);- }- function Io(e) {for (var t = e; t !== null;) {if (t.tag === 13) {var n = t.memoizedState;@@ -10435,59 +10450,59 @@ var lu = /* @__PURE__ */ m(((e) => {}return null;}- var Lo = 0, G = null, Ro = null, zo = null, Bo = !1, Vo = !1, Ho = !1, Uo = 0, Wo = 0, Go = null, Ko = 0;- function qo() {+ var Io = 0, K = null, Lo = null, Ro = null, zo = !1, Bo = !1, Vo = !1, Ho = 0, Uo = 0, Wo = null, Go = 0;+ function Ko() {throw Error(i(321));}- function Jo(e, t) {+ function qo(e, t) {if (t === null) return !1;- for (var n = 0; n < t.length && n < e.length; n++) if (!Lr(e[n], t[n])) return !1;+ for (var n = 0; n < t.length && n < e.length; n++) if (!Ir(e[n], t[n])) return !1;return !0;}- function Yo(e, t, n, r, i, a) {- return Lo = a, G = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, P.H = e === null || e.memoizedState === null ? fc : pc, Ho = !1, a = n(r, i), Ho = !1, Vo && (a = Zo(t, n, r, i)), Xo(e), a;+ function Jo(e, t, n, r, i, a) {+ return Io = a, K = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, F.H = e === null || e.memoizedState === null ? dc : fc, Vo = !1, a = n(r, i), Vo = !1, Bo && (a = Xo(t, n, r, i)), Yo(e), a;}- function Xo(e) {- P.H = dc;- var t = Ro !== null && Ro.next !== null;- if (Lo = 0, zo = Ro = G = null, Bo = !1, Wo = 0, Go = null, t) throw Error(i(300));- e === null || Ac || (e = e.dependencies, e !== null && ya(e) && (Ac = !0));+ function Yo(e) {+ F.H = uc;+ var t = Lo !== null && Lo.next !== null;+ if (Io = 0, Ro = Lo = K = null, zo = !1, Uo = 0, Wo = null, t) throw Error(i(300));+ e === null || kc || (e = e.dependencies, e !== null && va(e) && (kc = !0));}- function Zo(e, t, n, r) {- G = e;+ function Xo(e, t, n, r) {+ K = e;var a = 0;do {- if (Vo && (Go = null), Wo = 0, Vo = !1, 25 <= a) throw Error(i(301));- if (a += 1, zo = Ro = null, e.updateQueue != null) {+ if (Bo && (Wo = null), Uo = 0, Bo = !1, 25 <= a) throw Error(i(301));+ if (a += 1, Ro = Lo = null, e.updateQueue != null) {var o = e.updateQueue;o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);}- P.H = mc, o = t(n, r);- } while (Vo);+ F.H = pc, o = t(n, r);+ } while (Bo);return o;}- function Qo() {- var e = P.H, t = e.useState()[0];- return t = typeof t.then == "function" ? as(t) : t, e = e.useState()[0], (Ro === null ? null : Ro.memoizedState) !== e && (G.flags |= 1024), t;+ function Zo() {+ var e = F.H, t = e.useState()[0];+ return t = typeof t.then == "function" ? is(t) : t, e = e.useState()[0], (Lo === null ? null : Lo.memoizedState) !== e && (K.flags |= 1024), t;}- function $o() {- var e = Uo !== 0;- return Uo = 0, e;+ function Qo() {+ var e = Ho !== 0;+ return Ho = 0, e;}- function es(e, t, n) {+ function $o(e, t, n) {t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;}- function ts(e) {- if (Bo) {+ function es(e) {+ if (zo) {for (e = e.memoizedState; e !== null;) {var t = e.queue;t !== null && (t.pending = null), e = e.next;}- Bo = !1;+ zo = !1;}- Lo = 0, zo = Ro = G = null, Vo = !1, Wo = Uo = 0, Go = null;+ Io = 0, Ro = Lo = K = null, Bo = !1, Uo = Ho = 0, Wo = null;}- function ns() {+ function ts() {var e = {memoizedState: null,baseState: null,@@ -10495,28 +10510,28 @@ var lu = /* @__PURE__ */ m(((e) => {queue: null,next: null};- return zo === null ? G.memoizedState = zo = e : zo = zo.next = e, zo;+ return Ro === null ? K.memoizedState = Ro = e : Ro = Ro.next = e, Ro;}- function rs() {- if (Ro === null) {- var e = G.alternate;+ function ns() {+ if (Lo === null) {+ var e = K.alternate;e = e === null ? null : e.memoizedState;- } else e = Ro.next;- var t = zo === null ? G.memoizedState : zo.next;- if (t !== null) zo = t, Ro = e;+ } else e = Lo.next;+ var t = Ro === null ? K.memoizedState : Ro.next;+ if (t !== null) Ro = t, Lo = e;else {- if (e === null) throw G.alternate === null ? Error(i(467)) : Error(i(310));- Ro = e, e = {- memoizedState: Ro.memoizedState,- baseState: Ro.baseState,- baseQueue: Ro.baseQueue,- queue: Ro.queue,+ if (e === null) throw K.alternate === null ? Error(i(467)) : Error(i(310));+ Lo = e, e = {+ memoizedState: Lo.memoizedState,+ baseState: Lo.baseState,+ baseQueue: Lo.baseQueue,+ queue: Lo.queue,next: null- }, zo === null ? G.memoizedState = zo = e : zo = zo.next = e;+ }, Ro === null ? K.memoizedState = Ro = e : Ro = Ro.next = e;}- return zo;+ return Ro;}- function is() {+ function rs() {return {lastEffect: null,events: null,@@ -10524,22 +10539,22 @@ var lu = /* @__PURE__ */ m(((e) => {memoCache: null};}- function as(e) {- var t = Wo;- return Wo += 1, Go === null && (Go = []), e = Ya(Go, e, t), t = G, (zo === null ? t.memoizedState : zo.next) === null && (t = t.alternate, P.H = t === null || t.memoizedState === null ? fc : pc), e;+ function is(e) {+ var t = Uo;+ return Uo += 1, Wo === null && (Wo = []), e = Ja(Wo, e, t), t = K, (Ro === null ? t.memoizedState : Ro.next) === null && (t = t.alternate, F.H = t === null || t.memoizedState === null ? dc : fc), e;}- function os(e) {+ function as(e) {if (typeof e == "object" && e) {- if (typeof e.then == "function") return as(e);- if (e.$$typeof === le) return;- if (e.$$typeof === te) return xa(e);+ if (typeof e.then == "function") return is(e);+ if (e.$$typeof === ce) return;+ if (e.$$typeof === te) return ba(e);}throw Error(i(438, String(e)));}- function ss(e) {- var t = null, n = G.updateQueue;+ function os(e) {+ var t = null, n = K.updateQueue;if (n !== null && (t = n.memoCache), t == null) {- var r = G.alternate;+ var r = K.alternate;r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {data: r.data.map(function(e) {return e.slice();@@ -10550,16 +10565,16 @@ var lu = /* @__PURE__ */ m(((e) => {if (t ??= {data: [],index: 0- }, n === null && (n = is(), G.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] = se;+ }, n === null && (n = rs(), K.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] = oe;return t.index++, n;}- function cs(e, t) {+ function ss(e, t) {return typeof t == "function" ? t(e) : t;}- function ls(e) {- return us(rs(), Ro, e);+ function cs(e) {+ return ls(ns(), Lo, e);}- function us(e, t, n) {+ function ls(e, t, n) {var r = e.queue;if (r === null) throw Error(i(311));r.lastRenderedReducer = n;@@ -10577,7 +10592,7 @@ var lu = /* @__PURE__ */ m(((e) => {var c = s = null, l = null, u = t, d = !1;do {var f = u.lane & -536870913;- if (f === u.lane ? (Lo & f) === f : (q & f) === f) {+ if (f === u.lane ? (Io & f) === f : (J & f) === f) {var p = u.revertLane;if (p === 0) l !== null && (l = l.next = {lane: 0,@@ -10587,9 +10602,9 @@ var lu = /* @__PURE__ */ m(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }), f === Pa && (d = !0);- else if ((Lo & p) === p) {- u = u.next, p === Pa && (d = !0);+ }), f === Na && (d = !0);+ else if ((Io & p) === p) {+ u = u.next, p === Na && (d = !0);continue;} else f = {lane: 0,@@ -10599,8 +10614,8 @@ var lu = /* @__PURE__ */ m(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }, l === null ? (c = l = f, s = o) : l = l.next = f, G.lanes |= p, ld |= p;- f = u.action, Ho && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);+ }, l === null ? (c = l = f, s = o) : l = l.next = f, K.lanes |= p, cd |= p;+ f = u.action, Vo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);} else p = {lane: f,revertLane: u.revertLane,@@ -10609,16 +10624,16 @@ var lu = /* @__PURE__ */ m(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }, l === null ? (c = l = p, s = o) : l = l.next = p, G.lanes |= f, ld |= f;+ }, l === null ? (c = l = p, s = o) : l = l.next = p, K.lanes |= f, cd |= f;u = u.next;} while (u !== null && u !== t);- if (l === null ? s = o : l.next = c, !Lr(o, e.memoizedState) && (Ac = !0, d && (n = Fa, n !== null))) throw n;+ if (l === null ? s = o : l.next = c, !Ir(o, e.memoizedState) && (kc = !0, d && (n = Pa, 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 ds(e) {- var t = rs(), n = t.queue;+ function us(e) {+ var t = ns(), n = t.queue;if (n === null) throw Error(i(311));n.lastRenderedReducer = e;var r = n.dispatch, a = n.pending, o = t.memoizedState;@@ -10628,61 +10643,61 @@ var lu = /* @__PURE__ */ m(((e) => {doo = e(o, s.action), s = s.next;while (s !== a);- Lr(o, t.memoizedState) || (Ac = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;+ Ir(o, t.memoizedState) || (kc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;}return [o, r];}- function fs(e, t, n) {- var r = G, a = rs(), o = U;+ function ds(e, t, n) {+ var r = K, a = ns(), o = W;if (o) {if (n === void 0) throw Error(i(407));n = n();} else n = t();- var s = !Lr((Ro || a).memoizedState, n);- if (s && (a.memoizedState = n, Ac = !0), a = a.queue, Ls(hs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || zo !== null && !!(zo.memoizedState.tag & 1), Ms(e ? 9 : 8, { destroy: void 0 }, ms.bind(null, r, a, n, t), null), e) {- if (r.flags |= 2048, td === null) throw Error(i(349));- o || Lo & 127 || ps(r, t, n);+ var s = !Ir((Lo || a).memoizedState, n);+ if (s && (a.memoizedState = n, kc = !0), a = a.queue, Is(ms.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Ro !== null && !!(Ro.memoizedState.tag & 1), js(e ? 9 : 8, { destroy: void 0 }, ps.bind(null, r, a, n, t), null), e) {+ if (r.flags |= 2048, ed === null) throw Error(i(349));+ o || Io & 127 || fs(r, t, n);}return n;}- function ps(e, t, n) {+ function fs(e, t, n) {e.flags |= 16384, e = {getSnapshot: t,value: n- }, t = G.updateQueue, t === null ? (t = is(), G.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));+ }, t = K.updateQueue, t === null ? (t = rs(), K.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));}- function ms(e, t, n, r) {- t.value = n, t.getSnapshot = r, gs(t) && _s(e);+ function ps(e, t, n, r) {+ t.value = n, t.getSnapshot = r, hs(t) && gs(e);}- function hs(e, t, n) {+ function ms(e, t, n) {return n(function() {- gs(t) && _s(e);+ hs(t) && gs(e);});}- function gs(e) {+ function hs(e) {var t = e.getSnapshot;e = e.value;try {var n = t();- return !Lr(e, n);+ return !Ir(e, n);} catch {return !0;}}- function _s(e) {- var t = wi(e, 2);- t !== null && Pd(t, e, 2);+ function gs(e) {+ var t = Ci(e, 2);+ t !== null && Nd(t, e, 2);}- function vs(e) {- var t = ns();+ function _s(e) {+ var t = ts();if (typeof e == "function") {var n = e;- if (e = n(), Ho) {- Qe(!0);+ if (e = n(), Vo) {+ Ze(!0);try {n();} finally {- Qe(!1);+ Ze(!1);}}}@@ -10690,15 +10705,15 @@ var lu = /* @__PURE__ */ m(((e) => {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: cs,+ lastRenderedReducer: ss,lastRenderedState: e}, t;}- function ys(e, t, n, r) {- return e.baseState = n, us(e, Ro, typeof r == "function" ? r : cs);+ function vs(e, t, n, r) {+ return e.baseState = n, ls(e, Lo, typeof r == "function" ? r : ss);}- function bs(e, t, n, r, a) {- if (cc(e)) throw Error(i(485));+ function ys(e, t, n, r, a) {+ if (sc(e)) throw Error(i(485));if (e = t.action, e !== null) {var o = {payload: a,@@ -10713,65 +10728,65 @@ var lu = /* @__PURE__ */ m(((e) => {o.listeners.push(e);}};- P.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, xs(t, o)) : (o.next = n.next, t.pending = n.next = o);+ F.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, bs(t, o)) : (o.next = n.next, t.pending = n.next = o);}}- function xs(e, t) {+ function bs(e, t) {var n = t.action, r = t.payload, i = e.state;if (t.isTransition) {- var a = P.T, o = {};- o.types = a === null ? null : a.types, P.T = o;+ var a = F.T, o = {};+ o.types = a === null ? null : a.types, F.T = o;try {- var s = n(i, r), c = P.S;- c !== null && c(o, s), Ss(e, t, s);+ var s = n(i, r), c = F.S;+ c !== null && c(o, s), xs(e, t, s);} catch (n) {- ws(e, t, n);+ Cs(e, t, n);} finally {- a !== null && o.types !== null && (a.types = o.types), P.T = a;+ a !== null && o.types !== null && (a.types = o.types), F.T = a;}} else try {- a = n(i, r), Ss(e, t, a);+ a = n(i, r), xs(e, t, a);} catch (n) {- ws(e, t, n);+ Cs(e, t, n);}}- function Ss(e, t, n) {+ function xs(e, t, n) {typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {- Cs(e, t, n);+ Ss(e, t, n);}, function(n) {- return ws(e, t, n);- }) : Cs(e, t, n);+ return Cs(e, t, n);+ }) : Ss(e, t, n);}- function Cs(e, t, n) {- t.status = "fulfilled", t.value = n, Ts(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, xs(e, n)));+ function Ss(e, t, n) {+ t.status = "fulfilled", t.value = n, ws(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, bs(e, n)));}- function ws(e, t, n) {+ function Cs(e, t, n) {var r = e.pending;if (e.pending = null, r !== null) {r = r.next;do- t.status = "rejected", t.reason = n, Ts(t), t = t.next;+ t.status = "rejected", t.reason = n, ws(t), t = t.next;while (t !== r);}e.action = null;}- function Ts(e) {+ function ws(e) {e = e.listeners;for (var t = 0; t < e.length; t++) (0, e[t])();}- function Es(e, t) {+ function Ts(e, t) {return t;}- function Ds(e, t) {- if (U) {- var n = td.formState;+ function Es(e, t) {+ if (W) {+ var n = ed.formState;if (n !== null) {a: {- var r = G;- if (U) {- if (ea) {+ var r = K;+ if (W) {+ if ($i) {b: {- for (var i = ea, a = na; i.nodeType !== 8;) {+ for (var i = $i, a = ta; i.nodeType !== 8;) {if (!a) {i = null;break b;@@ -10784,59 +10799,59 @@ var lu = /* @__PURE__ */ m(((e) => {a = i.data, i = a === "F!" || a === "F" ? i : null;}if (i) {- ea = lm(i.nextSibling), r = i.data === "F!";+ $i = lm(i.nextSibling), r = i.data === "F!";break a;}}- ia(r);+ ra(r);}r = !1;}r && (t = n[0]);}}- return n = ns(), n.memoizedState = n.baseState = t, r = {+ return n = ts(), n.memoizedState = n.baseState = t, r = {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: Es,+ lastRenderedReducer: Ts,lastRenderedState: t- }, n.queue = r, n = ac.bind(null, G, r), r.dispatch = n, r = vs(!1), a = sc.bind(null, G, !1, r.queue), r = ns(), i = {+ }, n.queue = r, n = ic.bind(null, K, r), r.dispatch = n, r = _s(!1), a = oc.bind(null, K, !1, r.queue), r = ts(), i = {state: t,dispatch: null,action: e,pending: null- }, r.queue = i, n = bs.bind(null, G, i, a, n), i.dispatch = n, r.memoizedState = e, [+ }, r.queue = i, n = ys.bind(null, K, i, a, n), i.dispatch = n, r.memoizedState = e, [t,n,!1];}- function Os(e) {- return ks(rs(), Ro, e);+ function Ds(e) {+ return Os(ns(), Lo, e);}- function ks(e, t, n) {- if (t = us(e, t, Es)[0], e = ls(cs)[0], typeof t == "object" && t && typeof t.then == "function") try {- var r = as(t);+ function Os(e, t, n) {+ if (t = ls(e, t, Ts)[0], e = cs(ss)[0], typeof t == "object" && t && typeof t.then == "function") try {+ var r = is(t);} catch (e) {- throw e === Wa ? Ka : e;+ throw e === Ua ? Ga : e;}else r = t;- t = rs();+ t = ns();var i = t.queue, a = i.dispatch;- return n !== t.memoizedState && (G.flags |= 2048, Ms(9, { destroy: void 0 }, As.bind(null, i, n), null)), [+ return n !== t.memoizedState && (K.flags |= 2048, js(9, { destroy: void 0 }, ks.bind(null, i, n), null)), [r,a,e];}- function As(e, t) {+ function ks(e, t) {e.action = t;}- function js(e) {- var t = rs(), n = Ro;- if (n !== null) return ks(t, n, e);- rs(), t = t.memoizedState, n = rs();+ function As(e) {+ var t = ns(), n = Lo;+ if (n !== null) return Os(t, n, e);+ ns(), t = t.memoizedState, n = ns();var r = n.queue.dispatch;return n.memoizedState = e, [t,@@ -10844,60 +10859,60 @@ var lu = /* @__PURE__ */ m(((e) => {!1];}- function Ms(e, t, n, r) {+ function js(e, t, n, r) {return e = {tag: e,create: n,deps: r,inst: t,next: null- }, t = G.updateQueue, t === null && (t = is(), G.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;+ }, t = K.updateQueue, t === null && (t = rs(), K.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 Ns() {- return rs().memoizedState;+ function Ms() {+ return ns().memoizedState;+ }+ function Ns(e, t, n, r) {+ var i = ts();+ K.flags |= e, i.memoizedState = js(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);}function Ps(e, t, n, r) {var i = ns();- G.flags |= e, i.memoizedState = Ms(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);- }- function Fs(e, t, n, r) {- var i = rs();r = r === void 0 ? null : r;var a = i.memoizedState.inst;- Ro !== null && r !== null && Jo(r, Ro.memoizedState.deps) ? i.memoizedState = Ms(t, a, n, r) : (G.flags |= e, i.memoizedState = Ms(1 | t, a, n, r));+ Lo !== null && r !== null && qo(r, Lo.memoizedState.deps) ? i.memoizedState = js(t, a, n, r) : (K.flags |= e, i.memoizedState = js(1 | t, a, n, r));}- function Is(e, t) {- Ps(8390656, 8, e, t);+ function Fs(e, t) {+ Ns(8390656, 8, e, t);}- function Ls(e, t) {- Fs(2048, 8, e, t);+ function Is(e, t) {+ Ps(2048, 8, e, t);}- function Rs(e) {- G.flags |= 4;- var t = G.updateQueue;- if (t === null) t = is(), G.updateQueue = t, t.events = [e];+ function Ls(e) {+ K.flags |= 4;+ var t = K.updateQueue;+ if (t === null) t = rs(), K.updateQueue = t, t.events = [e];else {var n = t.events;n === null ? t.events = [e] : n.push(e);}}- function zs(e) {- var t = rs().memoizedState;- return Rs({+ function Rs(e) {+ var t = ns().memoizedState;+ return Ls({ref: t,nextImpl: e}), function() {- if (ed & 2) throw Error(i(440));+ if ($u & 2) throw Error(i(440));return t.impl.apply(void 0, arguments);};}+ function zs(e, t) {+ return Ps(4, 2, e, t);+ }function Bs(e, t) {- return Fs(4, 2, e, t);+ return Ps(4, 4, e, t);}function Vs(e, t) {- return Fs(4, 4, e, t);- }- function Hs(e, t) {if (typeof t == "function") {e = e();var n = t(e);@@ -10909,76 +10924,76 @@ var lu = /* @__PURE__ */ m(((e) => {t.current = null;};}- function Us(e, t, n) {- n = n == null ? null : n.concat([e]), Fs(4, 4, Hs.bind(null, t, e), n);+ function Hs(e, t, n) {+ n = n == null ? null : n.concat([e]), Ps(4, 4, Vs.bind(null, t, e), n);}- function Ws() {}- function Gs(e, t) {- var n = rs();+ function Us() {}+ function Ws(e, t) {+ var n = ns();t = t === void 0 ? null : t;var r = n.memoizedState;- return t !== null && Jo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);+ return t !== null && qo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);}- function Ks(e, t) {- var n = rs();+ function Gs(e, t) {+ var n = ns();t = t === void 0 ? null : t;var r = n.memoizedState;- if (t !== null && Jo(t, r[1])) return r[0];- if (r = e(), Ho) {- Qe(!0);+ if (t !== null && qo(t, r[1])) return r[0];+ if (r = e(), Vo) {+ Ze(!0);try {e();} finally {- Qe(!1);+ Ze(!1);}}return n.memoizedState = [r, t], r;}- function qs(e, t, n) {- return n === void 0 || Lo & 1073741824 && !(q & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Md(), G.lanes |= e, ld |= e, n);+ function Ks(e, t, n) {+ return n === void 0 || Io & 1073741824 && !(J & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Md(), K.lanes |= e, cd |= e, n);}- function Js(e, t, n, r) {- return Lr(n, t) ? n : xo.current === null ? !(Lo & 106) || Lo & 1073741824 && !(q & 261930) ? (Ac = !0, e.memoizedState = n) : (e = Md(), G.lanes |= e, ld |= e, t) : (e = qs(e, n, r), Lr(e, t) || (Ac = !0), e);+ function qs(e, t, n, r) {+ return Ir(n, t) ? n : bo.current === null ? !(Io & 106) || Io & 1073741824 && !(J & 261930) ? (kc = !0, e.memoizedState = n) : (e = Md(), K.lanes |= e, cd |= e, t) : (e = Ks(e, n, r), Ir(e, t) || (kc = !0), e);}- function Ys(e, t, n, r, i) {- var a = F.p;- F.p = a !== 0 && 8 > a ? a : 8;- var o = P.T, s = {};- s.types = o === null ? null : o.types, P.T = s, sc(e, !1, t, n);+ function Js(e, t, n, r, i) {+ var a = I.p;+ I.p = a !== 0 && 8 > a ? a : 8;+ var o = F.T, s = {};+ s.types = o === null ? null : o.types, F.T = s, oc(e, !1, t, n);try {- var c = i(), l = P.S;- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? oc(e, t, Ra(c, r), jd(e)) : oc(e, t, r, jd(e));+ var c = i(), l = F.S;+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? ac(e, t, La(c, r), jd(e)) : ac(e, t, r, jd(e));} catch (n) {- oc(e, t, {+ ac(e, t, {then: function() {},status: "rejected",reason: n}, jd());} finally {- F.p = a, o !== null && s.types !== null && (o.types = s.types), P.T = o;+ I.p = a, o !== null && s.types !== null && (o.types = s.types), F.T = o;}}- function Xs() {}- function Zs(e, t, n, r) {+ function Ys() {}+ function Xs(e, t, n, r) {if (e.tag !== 5) throw Error(i(476));- var a = Qs(e).queue;- Ys(e, a, t, he, n === null ? Xs : function() {- return $s(e), n(r);+ var a = Zs(e).queue;+ Js(e, a, t, me, n === null ? Ys : function() {+ return Qs(e), n(r);});}- function Qs(e) {+ function Zs(e) {var t = e.memoizedState;if (t !== null) return t;t = {- memoizedState: he,- baseState: he,+ memoizedState: me,+ baseState: me,baseQueue: null,queue: {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: cs,- lastRenderedState: he+ lastRenderedReducer: ss,+ lastRenderedState: me},next: null};@@ -10991,40 +11006,40 @@ var lu = /* @__PURE__ */ m(((e) => {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: cs,+ lastRenderedReducer: ss,lastRenderedState: n},next: null}, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;}- function $s(e) {- var t = Qs(e);- t.next === null && (t = e.alternate.memoizedState), oc(e, t.next.queue, {}, jd());+ function Qs(e) {+ var t = Zs(e);+ t.next === null && (t = e.alternate.memoizedState), ac(e, t.next.queue, {}, jd());+ }+ function $s() {+ return ba(sh);}function ec() {- return xa(sh);+ return ns().memoizedState;}function tc() {- return rs().memoizedState;- }- function nc() {- return rs().memoizedState;+ return ns().memoizedState;}- function rc(e) {+ function nc(e) {for (var t = e.return; t !== null;) {switch (t.tag) {case 24:case 3:var n = jd();- e = fo(n);- var r = po(t, e, n);- r !== null && (Pd(r, t, n), mo(r, t, n)), t = { cache: Da() }, e.payload = t;+ e = uo(n);+ var r = fo(t, e, n);+ r !== null && (Nd(r, t, n), po(r, t, n)), t = { cache: Ea() }, e.payload = t;return;}t = t.return;}}- function ic(e, t, n) {+ function rc(e, t, n) {var r = jd();n = {lane: r,@@ -11034,12 +11049,12 @@ var lu = /* @__PURE__ */ m(((e) => {hasEagerState: !1,eagerState: null,next: null- }, cc(e) ? lc(t, n) : (n = Ci(e, t, n, r), n !== null && (Pd(n, e, r), uc(n, t, r)));+ }, sc(e) ? cc(t, n) : (n = Si(e, t, n, r), n !== null && (Nd(n, e, r), lc(n, t, r)));}- function ac(e, t, n) {- oc(e, t, n, jd());+ function ic(e, t, n) {+ ac(e, t, n, jd());}- function oc(e, t, n, r) {+ function ac(e, t, n, r) {var i = {lane: r,revertLane: 0,@@ -11049,111 +11064,111 @@ var lu = /* @__PURE__ */ m(((e) => {eagerState: null,next: null};- if (cc(e)) lc(t, i);+ if (sc(e)) cc(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, Lr(s, o)) return Si(e, t, i, 0), td === null && xi(), !1;+ if (i.hasEagerState = !0, i.eagerState = s, Ir(s, o)) return xi(e, t, i, 0), ed === null && bi(), !1;} catch {}- if (n = Ci(e, t, i, r), n !== null) return Pd(n, e, r), uc(n, t, r), !0;+ if (n = Si(e, t, i, r), n !== null) return Nd(n, e, r), lc(n, t, r), !0;}return !1;}- function sc(e, t, n, r) {+ function oc(e, t, n, r) {if (r = {lane: 2,- revertLane: Ff(),+ revertLane: Nf(),gesture: null,action: r,hasEagerState: !1,eagerState: null,next: null- }, cc(e)) {+ }, sc(e)) {if (t) throw Error(i(479));- } else t = Ci(e, n, r, 2), t !== null && Pd(t, e, 2);+ } else t = Si(e, n, r, 2), t !== null && Nd(t, e, 2);}- function cc(e) {+ function sc(e) {var t = e.alternate;- return e === G || t !== null && t === G;+ return e === K || t !== null && t === K;}- function lc(e, t) {- Vo = Bo = !0;+ function cc(e, t) {+ Bo = zo = !0;var n = e.pending;n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;}- function uc(e, t, n) {+ function lc(e, t, n) {if (n & 4194048) {var r = t.lanes;- r &= e.pendingLanes, n |= r, t.lanes = n, gt(e, n);- }- }- var dc = {- readContext: xa,- use: os,- useCallback: qo,- useContext: qo,- useEffect: qo,- useImperativeHandle: qo,- useLayoutEffect: qo,- useInsertionEffect: qo,- useMemo: qo,- useReducer: qo,- useRef: qo,- useState: qo,- useDebugValue: qo,- useDeferredValue: qo,- useTransition: qo,- useSyncExternalStore: qo,- useId: qo,- useHostTransitionStatus: qo,- useFormState: qo,- useActionState: qo,- useOptimistic: qo,- useMemoCache: qo,- useCacheRefresh: qo,- useEffectEvent: qo- }, fc = {- readContext: xa,- use: os,+ r &= e.pendingLanes, n |= r, t.lanes = n, ht(e, n);+ }+ }+ var uc = {+ readContext: ba,+ use: as,+ useCallback: Ko,+ useContext: Ko,+ useEffect: Ko,+ useImperativeHandle: Ko,+ useLayoutEffect: Ko,+ useInsertionEffect: Ko,+ useMemo: Ko,+ useReducer: Ko,+ useRef: Ko,+ useState: Ko,+ useDebugValue: Ko,+ useDeferredValue: Ko,+ useTransition: Ko,+ useSyncExternalStore: Ko,+ useId: Ko,+ useHostTransitionStatus: Ko,+ useFormState: Ko,+ useActionState: Ko,+ useOptimistic: Ko,+ useMemoCache: Ko,+ useCacheRefresh: Ko,+ useEffectEvent: Ko+ }, dc = {+ readContext: ba,+ use: as,useCallback: function(e, t) {- return ns().memoizedState = [e, t === void 0 ? null : t], e;+ return ts().memoizedState = [e, t === void 0 ? null : t], e;},- useContext: xa,- useEffect: Is,+ useContext: ba,+ useEffect: Fs,useImperativeHandle: function(e, t, n) {- n = n == null ? null : n.concat([e]), Ps(4194308, 4, Hs.bind(null, t, e), n);+ n = n == null ? null : n.concat([e]), Ns(4194308, 4, Vs.bind(null, t, e), n);},useLayoutEffect: function(e, t) {- return Ps(4194308, 4, e, t);+ return Ns(4194308, 4, e, t);},useInsertionEffect: function(e, t) {- Ps(4, 2, e, t);+ Ns(4, 2, e, t);},useMemo: function(e, t) {- var n = ns();+ var n = ts();t = t === void 0 ? null : t;var r = e();- if (Ho) {- Qe(!0);+ if (Vo) {+ Ze(!0);try {e();} finally {- Qe(!1);+ Ze(!1);}}return n.memoizedState = [r, t], r;},useReducer: function(e, t, n) {- var r = ns();+ var r = ts();if (n !== void 0) {var i = n(t);- if (Ho) {- Qe(!0);+ if (Vo) {+ Ze(!0);try {n(t);} finally {- Qe(!1);+ Ze(!1);}}} else i = t;@@ -11163,54 +11178,54 @@ var lu = /* @__PURE__ */ m(((e) => {dispatch: null,lastRenderedReducer: e,lastRenderedState: i- }, r.queue = e, e = e.dispatch = ic.bind(null, G, e), [r.memoizedState, e];+ }, r.queue = e, e = e.dispatch = rc.bind(null, K, e), [r.memoizedState, e];},useRef: function(e) {- var t = ns();+ var t = ts();return e = { current: e }, t.memoizedState = e;},useState: function(e) {- e = vs(e);- var t = e.queue, n = ac.bind(null, G, t);+ e = _s(e);+ var t = e.queue, n = ic.bind(null, K, t);return t.dispatch = n, [e.memoizedState, n];},- useDebugValue: Ws,+ useDebugValue: Us,useDeferredValue: function(e, t) {- return qs(ns(), e, t);+ return Ks(ts(), e, t);},useTransition: function() {- var e = vs(!1);- return e = Ys.bind(null, G, e.queue, !0, !1), ns().memoizedState = e, [!1, e];+ var e = _s(!1);+ return e = Js.bind(null, K, e.queue, !0, !1), ts().memoizedState = e, [!1, e];},useSyncExternalStore: function(e, t, n) {- var r = G, a = ns();- if (U) {+ var r = K, a = ts();+ if (W) {if (n === void 0) throw Error(i(407));n = n();} else {- if (n = t(), td === null) throw Error(i(349));- q & 127 || ps(r, t, n);+ if (n = t(), ed === null) throw Error(i(349));+ J & 127 || fs(r, t, n);}a.memoizedState = n;var o = {value: n,getSnapshot: t};- return a.queue = o, Is(hs.bind(null, r, o, e), [e]), r.flags |= 2048, Ms(9, { destroy: void 0 }, ms.bind(null, r, o, n, t), null), n;+ return a.queue = o, Fs(ms.bind(null, r, o, e), [e]), r.flags |= 2048, js(9, { destroy: void 0 }, ps.bind(null, r, o, n, t), null), n;},useId: function() {- var e = ns(), t = td.identifierPrefix;- if (U) {- var n = Ji, r = qi;- n = (r & ~(1 << 32 - $e(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Uo++, 0 < n && (t += "H" + n.toString(32)), t += "_";- } else n = Ko++, t = "_" + t + "r_" + n.toString(32) + "_";+ var e = ts(), t = ed.identifierPrefix;+ if (W) {+ var n = qi, r = Ki;+ n = (r & ~(1 << 32 - Qe(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Ho++, 0 < n && (t += "H" + n.toString(32)), t += "_";+ } else n = Go++, t = "_" + t + "r_" + n.toString(32) + "_";return e.memoizedState = t;},- useHostTransitionStatus: ec,- useFormState: Ds,- useActionState: Ds,+ useHostTransitionStatus: $s,+ useFormState: Es,+ useActionState: Es,useOptimistic: function(e) {- var t = ns();+ var t = ts();t.memoizedState = t.baseState = e;var n = {pending: null,@@ -11219,132 +11234,132 @@ var lu = /* @__PURE__ */ m(((e) => {lastRenderedReducer: null,lastRenderedState: null};- return t.queue = n, t = sc.bind(null, G, !0, n), n.dispatch = t, [e, t];+ return t.queue = n, t = oc.bind(null, K, !0, n), n.dispatch = t, [e, t];},- useMemoCache: ss,+ useMemoCache: os,useCacheRefresh: function() {- return ns().memoizedState = rc.bind(null, G);+ return ts().memoizedState = nc.bind(null, K);},useEffectEvent: function(e) {- var t = ns(), n = { impl: e };+ var t = ts(), n = { impl: e };return t.memoizedState = n, function() {- if (ed & 2) throw Error(i(440));+ if ($u & 2) throw Error(i(440));return n.impl.apply(void 0, arguments);};}- }, pc = {- readContext: xa,- use: os,- useCallback: Gs,- useContext: xa,- useEffect: Ls,- useImperativeHandle: Us,- useInsertionEffect: Bs,- useLayoutEffect: Vs,- useMemo: Ks,- useReducer: ls,- useRef: Ns,+ }, fc = {+ readContext: ba,+ use: as,+ useCallback: Ws,+ useContext: ba,+ useEffect: Is,+ useImperativeHandle: Hs,+ useInsertionEffect: zs,+ useLayoutEffect: Bs,+ useMemo: Gs,+ useReducer: cs,+ useRef: Ms,useState: function() {- return ls(cs);+ return cs(ss);},- useDebugValue: Ws,+ useDebugValue: Us,useDeferredValue: function(e, t) {- return Js(rs(), Ro.memoizedState, e, t);+ return qs(ns(), Lo.memoizedState, e, t);},useTransition: function() {- var e = ls(cs)[0], t = rs().memoizedState;- return [typeof e == "boolean" ? e : as(e), t];+ var e = cs(ss)[0], t = ns().memoizedState;+ return [typeof e == "boolean" ? e : is(e), t];},- useSyncExternalStore: fs,- useId: tc,- useHostTransitionStatus: ec,- useFormState: Os,- useActionState: Os,+ useSyncExternalStore: ds,+ useId: ec,+ useHostTransitionStatus: $s,+ useFormState: Ds,+ useActionState: Ds,useOptimistic: function(e, t) {- return ys(rs(), Ro, e, t);+ return vs(ns(), Lo, e, t);},- useMemoCache: ss,- useCacheRefresh: nc,- useEffectEvent: zs- }, mc = {- readContext: xa,- use: os,- useCallback: Gs,- useContext: xa,- useEffect: Ls,- useImperativeHandle: Us,- useInsertionEffect: Bs,- useLayoutEffect: Vs,- useMemo: Ks,- useReducer: ds,- useRef: Ns,+ useMemoCache: os,+ useCacheRefresh: tc,+ useEffectEvent: Rs+ }, pc = {+ readContext: ba,+ use: as,+ useCallback: Ws,+ useContext: ba,+ useEffect: Is,+ useImperativeHandle: Hs,+ useInsertionEffect: zs,+ useLayoutEffect: Bs,+ useMemo: Gs,+ useReducer: us,+ useRef: Ms,useState: function() {- return ds(cs);+ return us(ss);},- useDebugValue: Ws,+ useDebugValue: Us,useDeferredValue: function(e, t) {- var n = rs();- return Ro === null ? qs(n, e, t) : Js(n, Ro.memoizedState, e, t);+ var n = ns();+ return Lo === null ? Ks(n, e, t) : qs(n, Lo.memoizedState, e, t);},useTransition: function() {- var e = ds(cs)[0], t = rs().memoizedState;- return [typeof e == "boolean" ? e : as(e), t];+ var e = us(ss)[0], t = ns().memoizedState;+ return [typeof e == "boolean" ? e : is(e), t];},- useSyncExternalStore: fs,- useId: tc,- useHostTransitionStatus: ec,- useFormState: js,- useActionState: js,+ useSyncExternalStore: ds,+ useId: ec,+ useHostTransitionStatus: $s,+ useFormState: As,+ useActionState: As,useOptimistic: function(e, t) {- var n = rs();- return Ro === null ? (n.baseState = e, [e, n.queue.dispatch]) : ys(n, Ro, e, t);+ var n = ns();+ return Lo === null ? (n.baseState = e, [e, n.queue.dispatch]) : vs(n, Lo, e, t);},- useMemoCache: ss,- useCacheRefresh: nc,- useEffectEvent: zs+ useMemoCache: os,+ useCacheRefresh: tc,+ useEffectEvent: Rs};- function hc(e, t, n, r) {+ function mc(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 gc = {+ var hc = {enqueueSetState: function(e, t, n) {e = e._reactInternals;- var r = jd(), i = fo(r);- i.payload = t, n != null && (i.callback = n), t = po(e, i, r), t !== null && (Pd(t, e, r), mo(t, e, r));+ var r = jd(), i = uo(r);+ i.payload = t, n != null && (i.callback = n), t = fo(e, i, r), t !== null && (Nd(t, e, r), po(t, e, r));},enqueueReplaceState: function(e, t, n) {e = e._reactInternals;- var r = jd(), i = fo(r);- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = po(e, i, r), t !== null && (Pd(t, e, r), mo(t, e, r));+ var r = jd(), i = uo(r);+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = fo(e, i, r), t !== null && (Nd(t, e, r), po(t, e, r));},enqueueForceUpdate: function(e, t) {e = e._reactInternals;- var n = jd(), r = fo(n);- r.tag = 2, t != null && (r.callback = t), t = po(e, r, n), t !== null && (Pd(t, e, n), mo(t, e, n));+ var n = jd(), r = uo(n);+ r.tag = 2, t != null && (r.callback = t), t = fo(e, r, n), t !== null && (Nd(t, e, n), po(t, e, n));}};- function _c(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 ? !Rr(n, r) || !Rr(i, a) : !0;+ function gc(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 ? !Lr(n, r) || !Lr(i, a) : !0;}- function vc(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 && gc.enqueueReplaceState(t, t.state, null);+ function _c(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 && hc.enqueueReplaceState(t, t.state, null);}- function yc(e, t) {+ function vc(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 bc(e) {- _i(e);+ function yc(e) {+ gi(e);}- function xc(e) {+ function bc(e) {console.error(e);}- function Sc(e) {- _i(e);+ function xc(e) {+ gi(e);}- function Cc(e, t) {+ function Sc(e, t) {try {var n = e.onUncaughtError;n(t.value, { componentStack: t.stack });@@ -11354,7 +11369,7 @@ var lu = /* @__PURE__ */ m(((e) => {});}}- function wc(e, t, n) {+ function Cc(e, t, n) {try {var r = e.onCaughtError;r(n.value, {@@ -11367,57 +11382,57 @@ var lu = /* @__PURE__ */ m(((e) => {});}}- function Tc(e, t, n) {- return n = fo(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {- Cc(e, t);+ function wc(e, t, n) {+ return n = uo(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {+ Sc(e, t);}, n;}- function Ec(e) {- return e = fo(e), e.tag = 3, e;+ function Tc(e) {+ return e = uo(e), e.tag = 3, e;}- function Dc(e, t, n, r) {+ function Ec(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() {- wc(t, n, r);+ Cc(t, n, r);};}var o = n.stateNode;o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {- wc(t, n, r), typeof i != "function" && (bd === null ? bd = /* @__PURE__ */ new Set([this]) : bd.add(this));+ Cc(t, n, r), typeof i != "function" && (yd === null ? yd = /* @__PURE__ */ new Set([this]) : yd.add(this));var e = r.stack;this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });});}- function Oc(e, t, n, r, a) {+ function Dc(e, t, n, r, a) {if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {- if (t = n.alternate, t !== null && va(t, n, a, !0), n = Eo.current, n !== null) {+ if (t = n.alternate, t !== null && _a(t, n, a, !0), n = To.current, n !== null) {switch (n.tag) {case 31:case 13:- case 19: return Do === null ? Kd() : n.alternate === null && cd === 0 && (cd = 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), hf(e, r, a)), !1;- case 22: return n.flags |= 65536, r === qa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {+ case 19: return Eo === null ? Gd() : n.alternate === null && sd === 0 && (sd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ka ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), pf(e, r, a)), !1;+ case 22: return n.flags |= 65536, r === Ka ? 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)), hf(e, r, a)), !1;+ }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), pf(e, r, a)), !1;}throw Error(i(435, n.tag));}- return hf(e, r, a), Kd(), !1;+ return pf(e, r, a), Gd(), !1;}- if (U) return t = Eo.current, t === null ? (r !== ra && (t = Error(i(423), { cause: r }), ua(zi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = zi(r, n), a = Tc(e.stateNode, r, a), ho(e, a), cd !== 4 && (cd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== ra && (e = Error(i(422), { cause: r }), ua(zi(e, n)))), !1;+ if (W) return t = To.current, t === null ? (r !== na && (t = Error(i(423), { cause: r }), la(Ri(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Ri(r, n), a = wc(e.stateNode, r, a), mo(e, a), sd !== 4 && (sd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== na && (e = Error(i(422), { cause: r }), la(Ri(e, n)))), !1;var o = Error(i(520), { cause: r });- if (o = zi(o, n), pd === null ? pd = [o] : pd.push(o), cd !== 4 && (cd = 2), t === null) return !0;- r = zi(r, n), n = t;+ if (o = Ri(o, n), pd === null ? pd = [o] : pd.push(o), sd !== 4 && (sd = 2), t === null) return !0;+ r = Ri(r, n), n = t;do {switch (n.tag) {- case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Tc(n.stateNode, r, e), ho(n, e), !1;+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = wc(n.stateNode, r, e), mo(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" && (bd === null || !bd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Ec(a), Dc(a, e, n, r), ho(n, a), !1;+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (yd === null || !yd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Tc(a), Ec(a, e, n, r), mo(n, a), !1;break;case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;}@@ -11425,41 +11440,41 @@ var lu = /* @__PURE__ */ m(((e) => {} while (n !== null);return !1;}- var kc = Error(i(461)), Ac = !1;- function jc(e, t, n, r) {- t.child = e === null ? so(t, null, n, r) : oo(t, e.child, n, r);+ var Oc = Error(i(461)), kc = !1;+ function Ac(e, t, n, r) {+ t.child = e === null ? oo(t, null, n, r) : ao(t, e.child, n, r);}- function Mc(e, t, n, r, i) {+ function jc(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 ba(t), r = Yo(e, t, n, o, a, i), s = $o(), e !== null && !Ac ? (es(e, t, i), ol(e, t, i)) : (U && s && Zi(t), t.flags |= 1, jc(e, t, r, i), t.child);+ return ya(t), r = Jo(e, t, n, o, a, i), s = Qo(), e !== null && !kc ? ($o(e, t, i), al(e, t, i)) : (W && s && Xi(t), t.flags |= 1, Ac(e, t, r, i), t.child);}- function Nc(e, t, n, r, i) {+ function Mc(e, t, n, r, i) {if (e === null) {var a = n.type;- return typeof a == "function" && !Ai(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Pc(e, t, a, r, i)) : (e = Ni(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);+ return typeof a == "function" && !ki(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Nc(e, t, a, r, i)) : (e = Mi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);}- if (a = e.child, !sl(e, i)) {+ if (a = e.child, !ol(e, i)) {var o = a.memoizedProps;- if (n = n.compare, n = n === null ? Rr : n, n(o, r) && e.ref === t.ref) return ol(e, t, i);+ if (n = n.compare, n = n === null ? Lr : n, n(o, r) && e.ref === t.ref) return al(e, t, i);}- return t.flags |= 1, e = ji(a, r), e.ref = t.ref, e.return = t, t.child = e;+ return t.flags |= 1, e = Ai(a, r), e.ref = t.ref, e.return = t, t.child = e;}- function Pc(e, t, n, r, i) {+ function Nc(e, t, n, r, i) {if (e !== null) {var a = e.memoizedProps;- if (Rr(a, r) && e.ref === t.ref) {- if (Ac = !1, t.pendingProps = r = a, sl(e, i)) e.flags & 131072 && (Ac = !0);- else return t.lanes = e.lanes, ol(e, t, i);+ if (Lr(a, r) && e.ref === t.ref) {+ if (kc = !1, t.pendingProps = r = a, ol(e, i)) e.flags & 131072 && (kc = !0);+ else return t.lanes = e.lanes, al(e, t, i);}}- return Hc(e, t, n, r, i);+ return Vc(e, t, n, r, i);}- function Fc(e, t, n, r) {+ function Pc(e, t, n, r) {var i = r.children, a = e === null ? null : e.memoizedState;if (e === null && t.stateNode === null && (t.stateNode = {_visibility: 1,@@ -11472,17 +11487,17 @@ var lu = /* @__PURE__ */ m(((e) => {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 Lc(e, t, a, n, r);+ return Ic(e, t, a, n, r);}if (n & 536870912) t.memoizedState = {baseLanes: 0,cachePool: null- }, e !== null && Ha(t, a === null ? null : a.cachePool), a === null ? wo() : Co(t, a), Ao(t);- else return r = t.lanes = 536870912, Lc(e, t, a === null ? n : a.baseLanes | n, n, r);- } else a === null ? (e !== null && Ha(t, null), wo(), jo()) : (Ha(t, a.cachePool), Co(t, a), jo(), t.memoizedState = null);- return jc(e, t, i, n), t.child;+ }, e !== null && Va(t, a === null ? null : a.cachePool), a === null ? Co() : So(t, a), ko(t);+ else return r = t.lanes = 536870912, Ic(e, t, a === null ? n : a.baseLanes | n, n, r);+ } else a === null ? (e !== null && Va(t, null), Co(), Ao()) : (Va(t, a.cachePool), So(t, a), Ao(), t.memoizedState = null);+ return Ac(e, t, i, n), t.child;}- function Ic(e, t) {+ function Fc(e, t) {return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {_visibility: 1,_pendingMarkers: null,@@ -11490,68 +11505,68 @@ var lu = /* @__PURE__ */ m(((e) => {_transitions: null}), t.sibling;}- function Lc(e, t, n, r, i) {- var a = Va();+ function Ic(e, t, n, r, i) {+ var a = Ba();return a = a === null ? null : {- parent: W._currentValue,+ parent: G._currentValue,pool: a}, t.memoizedState = {baseLanes: n,cachePool: a- }, e !== null && Ha(t, null), wo(), Ao(t), e !== null && va(e, t, r, !0), t.childLanes = i, null;+ }, e !== null && Va(t, null), Co(), ko(t), e !== null && _a(e, t, r, !0), t.childLanes = i, null;}- function Rc(e, t) {- return t = Zc({+ function Lc(e, t) {+ return t = Xc({mode: t.mode,children: t.children}, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;}- function zc(e, t, n) {- return oo(t, e.child, null, n), e = Rc(t, t.pendingProps), e.flags |= 2, Mo(t), t.memoizedState = null, e;+ function Rc(e, t, n) {+ return ao(t, e.child, null, n), e = Lc(t, t.pendingProps), e.flags |= 2, jo(t), t.memoizedState = null, e;}- function Bc(e, t, n) {+ function zc(e, t, n) {var r = t.pendingProps, a = !!(t.flags & 128);if (t.flags &= -129, e === null) {- if (U) {- if (r.mode === "hidden") return e = Rc(t, r), t.lanes = 536870912, e.memoizedState = {+ if (W) {+ if (r.mode === "hidden") return e = Lc(t, r), t.lanes = 536870912, e.memoizedState = {baseLanes: 0,cachePool: null- }, Ic(null, e);- if (ko(t), (e = ea) ? (e = am(e, na), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {+ }, Fc(null, e);+ if (Oo(t), (e = $i) ? (e = am(e, ta), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,- treeContext: Ki === null ? null : {- id: qi,- overflow: Ji+ treeContext: Gi === null ? null : {+ id: Ki,+ overflow: qi},retryLane: 536870912,hydrationErrors: null- }, n = Ii(e), n.return = t, t.child = n, H = t, ea = null)) : e = null, e === null) throw ia(t);+ }, n = Fi(e), n.return = t, t.child = n, U = t, $i = null)) : e = null, e === null) throw ra(t);return t.lanes = 536870912, null;}- return Rc(t, r);+ return Lc(t, r);}var o = e.memoizedState;if (o !== null) {var s = o.dehydrated;- if (ko(t), a) {- if (t.flags & 256) t.flags &= -257, t = zc(e, t, n);+ if (Oo(t), a) {+ if (t.flags & 256) t.flags &= -257, t = Rc(e, t, n);else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;else throw Error(i(558));- } else if (Ac || va(e, t, n, !1), a = (n & e.childLanes) !== 0, Ac || a) {- if (xo.current === null) {- if (r = td, r !== null && (s = _t(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, wi(e, s), Pd(r, e, s), kc;- Kd();+ } else if (kc || _a(e, t, n, !1), a = (n & e.childLanes) !== 0, kc || a) {+ if (bo.current === null) {+ if (r = ed, r !== null && (s = gt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ci(e, s), Nd(r, e, s), Oc;+ Gd();}- t = zc(e, t, n);- } else e = o.treeContext, ea = lm(s.nextSibling), H = t, U = !0, ta = null, na = !1, e !== null && $i(t, e), t = Rc(t, r), t.flags |= 134221824;+ t = Rc(e, t, n);+ } else e = o.treeContext, $i = lm(s.nextSibling), U = t, W = !0, ea = null, ta = !1, e !== null && Qi(t, e), t = Lc(t, r), t.flags |= 134221824;return t;}- return e = ji(e.child, {+ return e = Ai(e.child, {mode: r.mode,children: r.children}), e.ref = t.ref, t.child = e, e.return = t, e;}- function Vc(e, t) {+ function Bc(e, t) {var n = t.ref;if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);else {@@ -11559,135 +11574,135 @@ var lu = /* @__PURE__ */ m(((e) => {(e === null || e.ref !== n) && (t.flags |= 4194816);}}- function Hc(e, t, n, r, i) {- return ba(t), n = Yo(e, t, n, r, void 0, i), r = $o(), e !== null && !Ac ? (es(e, t, i), ol(e, t, i)) : (U && r && Zi(t), t.flags |= 1, jc(e, t, n, i), t.child);+ function Vc(e, t, n, r, i) {+ return ya(t), n = Jo(e, t, n, r, void 0, i), r = Qo(), e !== null && !kc ? ($o(e, t, i), al(e, t, i)) : (W && r && Xi(t), t.flags |= 1, Ac(e, t, n, i), t.child);}- function Uc(e, t, n, r, i, a) {- return ba(t), t.updateQueue = null, n = Zo(t, r, n, i), Xo(e), r = $o(), e !== null && !Ac ? (es(e, t, a), ol(e, t, a)) : (U && r && Zi(t), t.flags |= 1, jc(e, t, n, a), t.child);+ function Hc(e, t, n, r, i, a) {+ return ya(t), t.updateQueue = null, n = Xo(t, r, n, i), Yo(e), r = Qo(), e !== null && !kc ? ($o(e, t, a), al(e, t, a)) : (W && r && Xi(t), t.flags |= 1, Ac(e, t, n, a), t.child);}- function Wc(e, t, n, r, i) {- if (ba(t), t.stateNode === null) {- var a = Di, o = n.contextType;- typeof o == "object" && o && (a = xa(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = gc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, lo(t), o = n.contextType, a.context = typeof o == "object" && o ? xa(o) : Di, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (hc(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 && gc.enqueueReplaceState(a, a.state, null), vo(t, r, a, i), _o(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;+ function Uc(e, t, n, r, i) {+ if (ya(t), t.stateNode === null) {+ var a = Ei, o = n.contextType;+ typeof o == "object" && o && (a = ba(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = hc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, co(t), o = n.contextType, a.context = typeof o == "object" && o ? ba(o) : Ei, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (mc(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 && hc.enqueueReplaceState(a, a.state, null), _o(t, r, a, i), go(), 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 = yc(n, s);+ var s = t.memoizedProps, c = vc(n, s);a.props = c;var l = a.context, u = n.contextType;- o = Di, typeof u == "object" && u && (o = xa(u));+ o = Ei, typeof u == "object" && u && (o = ba(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) && vc(t, a, r, o), co = !1;+ 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) && _c(t, a, r, o), so = !1;var f = t.memoizedState;- a.state = f, vo(t, r, a, i), _o(), l = t.memoizedState, s || f !== l || co ? (typeof d == "function" && (hc(t, n, d, r), l = t.memoizedState), (c = co || _c(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);+ a.state = f, _o(t, r, a, i), go(), l = t.memoizedState, s || f !== l || so ? (typeof d == "function" && (mc(t, n, d, r), l = t.memoizedState), (c = so || gc(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, uo(e, t), o = t.memoizedProps, u = yc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Di, typeof l == "object" && l && (c = xa(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) && vc(t, a, r, c), co = !1, f = t.memoizedState, a.state = f, vo(t, r, a, i), _o();+ a = t.stateNode, lo(e, t), o = t.memoizedProps, u = vc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Ei, typeof l == "object" && l && (c = ba(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) && _c(t, a, r, c), so = !1, f = t.memoizedState, a.state = f, _o(t, r, a, i), go();var p = t.memoizedState;- o !== d || f !== p || co || e !== null && e.dependencies !== null && ya(e.dependencies) ? (typeof s == "function" && (hc(t, n, s, r), p = t.memoizedState), (u = co || _c(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && ya(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);+ o !== d || f !== p || so || e !== null && e.dependencies !== null && va(e.dependencies) ? (typeof s == "function" && (mc(t, n, s, r), p = t.memoizedState), (u = so || gc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && va(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, Vc(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 = oo(t, e.child, null, i), t.child = oo(t, null, n, i)) : jc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ol(e, t, i), e;+ return a = r, Bc(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 = ao(t, e.child, null, i), t.child = ao(t, null, n, i)) : Ac(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = al(e, t, i), e;}- function Gc(e, t, n, r) {- return ca(), t.flags |= 256, jc(e, t, n, r), t.child;+ function Wc(e, t, n, r) {+ return sa(), t.flags |= 256, Ac(e, t, n, r), t.child;}- var Kc = {+ var Gc = {dehydrated: null,treeContext: null,retryLane: 0,hydrationErrors: null};- function qc(e) {+ function Kc(e) {return {baseLanes: e,- cachePool: Ua()+ cachePool: Ha()};}- function Jc(e, t, n) {- return e = e === null ? 0 : e.childLanes & ~n, t && (e |= fd), e;+ function qc(e, t, n) {+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= dd), e;}- function Yc(e, t, n) {+ function Jc(e, t, n) {var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;- if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(No.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {- if (U) {- if (i ? Oo(t) : jo(), (e = ea) ? (e = am(e, na), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {+ if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Mo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {+ if (W) {+ if (i ? Do(t) : Ao(), (e = $i) ? (e = am(e, ta), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,- treeContext: Ki === null ? null : {- id: qi,- overflow: Ji+ treeContext: Gi === null ? null : {+ id: Ki,+ overflow: qi},retryLane: 536870912,hydrationErrors: null- }, n = Ii(e), n.return = t, t.child = n, H = t, ea = null)) : e = null, e === null) throw ia(t);+ }, n = Fi(e), n.return = t, t.child = n, U = t, $i = null)) : e = null, e === null) throw ra(t);return t.lanes = sm(e) ? 32 : 536870912, null;}- return a = r.children, r = r.fallback, i ? (jo(), i = t.mode, a = Zc({+ return a = r.children, r = r.fallback, i ? (Ao(), i = t.mode, a = Xc({mode: "hidden",children: a- }, i), r = Pi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = qc(n), r.childLanes = Jc(e, o, n), t.memoizedState = Kc, Ic(null, r)) : (Oo(t), Xc(t, a));+ }, i), r = Ni(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Kc(n), r.childLanes = qc(e, o, n), t.memoizedState = Gc, Fc(null, r)) : (Do(t), Yc(t, a));}var s = e.memoizedState;if (s !== null) {var c = s.dehydrated;- if (c !== null) return $c(e, t, a, o, r, c, s, n);+ if (c !== null) return Qc(e, t, a, o, r, c, s, n);}- return i ? (jo(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = ji(s, {+ return i ? (Ao(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Ai(s, {mode: "hidden",children: r.children- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Pi(i, a, n, null), i.flags |= 2) : i = ji(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Ic(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = qc(n) : (a = i.cachePool, a === null ? a = Ua() : (s = W._currentValue, a = a.parent === s ? a : {+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Ni(i, a, n, null), i.flags |= 2) : i = Ai(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Fc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Kc(n) : (a = i.cachePool, a === null ? a = Ha() : (s = G._currentValue, a = a.parent === s ? a : {parent: s,pool: s}), i = {baseLanes: i.baseLanes | n,cachePool: a- }), r.memoizedState = i, r.childLanes = Jc(e, o, n), t.memoizedState = Kc, Ic(e.child, r)) : (Oo(t), n = e.child, e = n.sibling, n = ji(n, {+ }), r.memoizedState = i, r.childLanes = qc(e, o, n), t.memoizedState = Gc, Fc(e.child, r)) : (Do(t), n = e.child, e = n.sibling, n = Ai(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 Xc(e, t) {- return t = Zc({+ function Yc(e, t) {+ return t = Xc({mode: "visible",children: t}, e.mode), t.return = e, e.child = t;}- function Zc(e, t) {- return e = ki(22, e, null, t), e.lanes = 0, e;+ function Xc(e, t) {+ return e = Oi(22, e, null, t), e.lanes = 0, e;}- function Qc(e, t, n) {- return oo(t, e.child, null, n), e = Xc(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;+ function Zc(e, t, n) {+ return ao(t, e.child, null, n), e = Yc(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;}- function $c(e, t, n, r, a, o, s, c) {- if (n) return t.flags & 256 ? (Oo(t), t.flags &= -257, Qc(e, t, c)) : t.memoizedState === null ? (jo(), o = a.fallback, s = t.mode, a = Zc({+ function Qc(e, t, n, r, a, o, s, c) {+ if (n) return t.flags & 256 ? (Do(t), t.flags &= -257, Zc(e, t, c)) : t.memoizedState === null ? (Ao(), o = a.fallback, s = t.mode, a = Xc({mode: "visible",children: a.children- }, s), o = Pi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, oo(t, e.child, null, c), a = t.child, a.memoizedState = qc(c), a.childLanes = Jc(e, r, c), t.memoizedState = Kc, Ic(null, a)) : (jo(), t.child = e.child, t.flags |= 128, null);- if (Oo(t), sm(o)) {+ }, s), o = Ni(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, ao(t, e.child, null, c), a = t.child, a.memoizedState = Kc(c), a.childLanes = qc(e, r, c), t.memoizedState = Gc, Fc(null, a)) : (Ao(), t.child = e.child, t.flags |= 128, null);+ if (Do(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, ua({+ return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, la({value: a,source: null,stack: null- })), Qc(e, t, c);+ })), Zc(e, t, c);}- if (Ac || va(e, t, c, !1), r = (c & e.childLanes) !== 0, Ac || r) {- if (xo.current !== null) return Qc(e, t, c);- if (r = td, r !== null && (a = _t(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, wi(e, a), Pd(r, e, a), kc;- return om(o) || Kd(), Qc(e, t, c);+ if (kc || _a(e, t, c, !1), r = (c & e.childLanes) !== 0, kc || r) {+ if (bo.current !== null) return Zc(e, t, c);+ if (r = ed, r !== null && (a = gt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ci(e, a), Nd(r, e, a), Oc;+ return om(o) || Gd(), Zc(e, t, c);}- return om(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ea = lm(o.nextSibling), H = t, U = !0, ta = null, na = !1, e !== null && $i(t, e), t = Xc(t, a.children), t.flags |= 134221824, t);+ return om(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, $i = lm(o.nextSibling), U = t, W = !0, ea = null, ta = !1, e !== null && Qi(t, e), t = Yc(t, a.children), t.flags |= 134221824, t);}- function el(e, t, n) {+ function $c(e, t, n) {e.lanes |= t;var r = e.alternate;- r !== null && (r.lanes |= t), ga(e.return, t, n);+ r !== null && (r.lanes |= t), ha(e.return, t, n);}- function tl(e) {+ function el(e) {for (var t = null; e !== null;) {var n = e.alternate;- n !== null && Io(n) === null && (t = e), e = e.sibling;+ n !== null && Fo(n) === null && (t = e), e = e.sibling;}return t;}- function nl(e, t, n, r, i, a) {+ function tl(e, t, n, r, i, a) {var o = e.memoizedState;o === null ? e.memoizedState = {isBackwards: t,@@ -11699,22 +11714,22 @@ var lu = /* @__PURE__ */ m(((e) => {treeForkCount: a} : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i, o.treeForkCount = a);}- function rl(e) {+ function nl(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 il(e, t, n) {+ function rl(e, t, n) {var r = t.pendingProps, i = r.revealOrder, a = r.tail;r = r.children;- var o = No.current;- if (t.flags & 128) return Po(t, o), null;+ var o = Mo.current;+ if (t.flags & 128) return No(t, o), null;var s = !!(o & 2);- if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Po(t, o), i === "backwards" && e !== null ? (rl(e), jc(e, t, r, n), rl(e)) : jc(e, t, r, n), r = U ? Ui : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {- if (e.tag === 13) e.memoizedState !== null && el(e, n, t);- else if (e.tag === 19) el(e, n, t);+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, No(t, o), i === "backwards" && e !== null ? (nl(e), Ac(e, t, r, n), nl(e)) : Ac(e, t, r, n), r = W ? Hi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {+ if (e.tag === 13) e.memoizedState !== null && $c(e, n, t);+ else if (e.tag === 19) $c(e, n, t);else if (e.child !== null) {e.child.return = e, e = e.child;continue;@@ -11728,142 +11743,142 @@ var lu = /* @__PURE__ */ m(((e) => {}switch (i) {case "backwards":- n = tl(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, rl(t)), nl(t, !0, i, null, a, r);+ n = el(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, nl(t)), tl(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 && Io(e) === null) {+ if (e = i.alternate, e !== null && Fo(e) === null) {t.child = i;break;}e = i.sibling, i.sibling = n, n = i, i = e;}- nl(t, !0, n, null, a, r);+ tl(t, !0, n, null, a, r);break;case "together":- nl(t, !1, null, null, void 0, r);+ tl(t, !1, null, null, void 0, r);break;case "independent":t.memoizedState = null;break;- default: n = tl(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), nl(t, !1, i, n, a, r);+ default: n = el(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), tl(t, !1, i, n, a, r);}return t.child;}- function al(e, t, n) {+ function il(e, t, n) {var r = t.pendingProps;- return ma(t, t.type, r.value), jc(e, t, r.children, n), t.child;+ return pa(t, t.type, r.value), Ac(e, t, r.children, n), t.child;}- function ol(e, t, n) {- if (e !== null && (t.dependencies = e.dependencies), ld |= t.lanes, (n & t.childLanes) === 0) {+ function al(e, t, n) {+ if (e !== null && (t.dependencies = e.dependencies), cd |= t.lanes, (n & t.childLanes) === 0) {if (e !== null) {- if (va(e, t, n, !1), (n & t.childLanes) === 0) return null;+ if (_a(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 = ji(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = ji(e, e.pendingProps), n.return = t;+ for (e = t.child, n = Ai(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = Ai(e, e.pendingProps), n.return = t;n.sibling = null;}return t.child;}- function sl(e, t) {- return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && ya(e)));+ function ol(e, t) {+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && va(e)));}- function cl(e, t, n) {+ function sl(e, t, n) {switch (t.tag) {case 3:- Te(t, t.stateNode.containerInfo), ma(t, W, e.memoizedState.cache), ca();+ we(t, t.stateNode.containerInfo), pa(t, G, e.memoizedState.cache), sa();break;case 27:case 5:- De(t);+ Ee(t);break;case 4:- Te(t, t.stateNode.containerInfo);+ we(t, t.stateNode.containerInfo);break;case 10:- ma(t, t.type, t.memoizedProps.value);+ pa(t, t.type, t.memoizedProps.value);break;case 31:- if (t.memoizedState !== null) return t.flags |= 128, ko(t), null;+ if (t.memoizedState !== null) return t.flags |= 128, Oo(t), null;break;case 13:var r = t.memoizedState;if (r !== null) {- if (r.dehydrated !== null) return Oo(t), t.flags |= 128, null;- r = va(e, t, n, !1);+ if (r.dehydrated !== null) return Do(t), t.flags |= 128, null;+ r = _a(e, t, n, !1);var i = t.child.childLanes;- return r || (n & i) !== 0 ? Yc(e, t, n) : (Oo(t), e = ol(e, t, n), e === null ? null : e.sibling);+ return r || (n & i) !== 0 ? Jc(e, t, n) : (Do(t), e = al(e, t, n), e === null ? null : e.sibling);}- Oo(t);+ Do(t);break;case 19:- if (t.flags & 128) return il(e, t, n);- if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (va(e, t, n, !1), (n & t.childLanes) !== 0), i) {- if (r) return il(e, t, n);+ if (t.flags & 128) return rl(e, t, n);+ if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (_a(e, t, n, !1), (n & t.childLanes) !== 0), i) {+ if (r) return rl(e, t, n);t.flags |= 128;}- if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Po(t, No.current), r) break;+ if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), No(t, Mo.current), r) break;return null;- case 22: return t.lanes = 0, Fc(e, t, n, t.pendingProps);- case 24: ma(t, W, e.memoizedState.cache);+ case 22: return t.lanes = 0, Pc(e, t, n, t.pendingProps);+ case 24: pa(t, G, e.memoizedState.cache);}- return ol(e, t, n);+ return al(e, t, n);}- function ll(e, t, n) {+ function cl(e, t, n) {if (e !== null) {- if (e.memoizedProps !== t.pendingProps) Ac = !0;+ if (e.memoizedProps !== t.pendingProps) kc = !0;else {- if (!sl(e, n) && !(t.flags & 128)) return Ac = !1, cl(e, t, n);- Ac = !!(e.flags & 131072);+ if (!ol(e, n) && !(t.flags & 128)) return kc = !1, sl(e, t, n);+ kc = !!(e.flags & 131072);}- } else Ac = !1, U && t.flags & 1048576 && Xi(t, Ui, t.index);+ } else kc = !1, W && t.flags & 1048576 && Yi(t, Hi, t.index);switch (t.lanes = 0, t.tag) {case 16:a: {var r = t.pendingProps;- if (e = Xa(t.elementType), t.type = e, typeof e == "function") Ai(e) ? (r = yc(e, r), t.tag = 1, t = Wc(null, t, e, r, n)) : (t.tag = 0, t = Hc(null, t, e, r, n));+ if (e = Ya(t.elementType), t.type = e, typeof e == "function") ki(e) ? (r = vc(e, r), t.tag = 1, t = Uc(null, t, e, r, n)) : (t.tag = 0, t = Vc(null, t, e, r, n));else {if (e != null) {var a = e.$$typeof;if (a === M) {- t.tag = 11, t = Mc(null, t, e, r, n);+ t.tag = 11, t = jc(null, t, e, r, n);break a;}if (a === re) {- t.tag = 14, t = Nc(null, t, e, r, n);+ t.tag = 14, t = Mc(null, t, e, r, n);break a;}if (a === te) {- t.tag = 10, t.type = e, t = al(null, t, n);+ t.tag = 10, t.type = e, t = il(null, t, n);break a;}}- throw t = pe(e) || e, Error(i(306, t, ""));+ throw t = fe(e) || e, Error(i(306, t, ""));}}return t;- case 0: return Hc(e, t, t.type, t.pendingProps, n);- case 1: return r = t.type, a = yc(r, t.pendingProps), Wc(e, t, r, a, n);+ case 0: return Vc(e, t, t.type, t.pendingProps, n);+ case 1: return r = t.type, a = vc(r, t.pendingProps), Uc(e, t, r, a, n);case 3:a: {- if (Te(t, t.stateNode.containerInfo), e === null) throw Error(i(387));+ if (we(t, t.stateNode.containerInfo), e === null) throw Error(i(387));r = t.pendingProps;var o = t.memoizedState;- a = o.element, uo(e, t), vo(t, r, null, n);+ a = o.element, lo(e, t), _o(t, r, null, n);var s = t.memoizedState;- if (r = s.cache, ma(t, W, r), r !== o.cache && _a(t, [W], n, !0), _o(), r = s.element, o.isDehydrated) {+ if (r = s.cache, pa(t, G, r), r !== o.cache && ga(t, [G], n, !0), go(), 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 = Gc(e, t, r, n);+ t = Wc(e, t, r, n);break a;}if (r !== a) {- a = zi(Error(i(424)), t), ua(a), t = Gc(e, t, r, n);+ a = Ri(Error(i(424)), t), la(a), t = Wc(e, t, r, n);break a;}switch (e = t.stateNode.containerInfo, e.nodeType) {@@ -11872,76 +11887,76 @@ var lu = /* @__PURE__ */ m(((e) => {break;default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;}- for (ea = lm(e.firstChild), H = t, U = !0, ta = null, na = !0, n = so(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;+ for ($i = lm(e.firstChild), U = t, W = !0, ea = null, ta = !0, n = oo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;} else {- if (ca(), r === a) {- t = ol(e, t, n);+ if (sa(), r === a) {+ t = al(e, t, n);break a;}- jc(e, t, r, n);+ Ac(e, t, r, n);}t = t.child;}return t;- case 26: return Vc(e, t), e === null ? (n = Nm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : U || (t.stateNode = fp(t.type, t.pendingProps, Ce.current, t)) : t.memoizedState = Nm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;- case 27: return De(t), e === null && U && (r = t.stateNode = hm(t.type, t.pendingProps, Ce.current), H = t, na = !0, a = ea, Sp(t.type) ? (um = a, ea = lm(r.firstChild)) : ea = a), jc(e, t, t.pendingProps.children, n), Vc(e, t), e === null && (t.flags |= 4194304), t.child;- case 5: return e === null && U && ((a = r = ea) && (r = rm(r, t.type, t.pendingProps, na), r === null ? a = !1 : (t.stateNode = r, H = t, ea = lm(r.firstChild), na = !1, a = !0)), a || ia(t)), De(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 = Yo(e, t, Qo, null, null, n), sh._currentValue = a), Vc(e, t), jc(e, t, r, n), t.child;- case 6: return e === null && U && ((e = n = ea) && (n = im(n, t.pendingProps, na), n === null ? e = !1 : (t.stateNode = n, H = t, ea = null, e = !0)), e || ia(t)), null;- case 13: return Yc(e, t, n);- case 4: return Te(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = oo(t, null, r, n) : jc(e, t, r, n), t.child;- case 11: return Mc(e, t, t.type, t.pendingProps, n);- case 7: return r = t.pendingProps, Vc(e, t), jc(e, t, r, n), t.child;- case 8: return jc(e, t, t.pendingProps.children, n), t.child;- case 12: return jc(e, t, t.pendingProps.children, n), t.child;- case 10: return al(e, t, n);- case 9: return a = t.type._context, r = t.pendingProps.children, ba(t), a = xa(a), r = r(a), t.flags |= 1, jc(e, t, r, n), t.child;- case 14: return Nc(e, t, t.type, t.pendingProps, n);- case 15: return Pc(e, t, t.type, t.pendingProps, n);- case 19: return il(e, t, n);- case 31: return Bc(e, t, n);- case 22: return Fc(e, t, n, t.pendingProps);- case 24: return ba(t), r = xa(W), e === null ? (a = Va(), a === null && (a = td, o = Da(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {+ case 26: return Bc(e, t), e === null ? (n = Nm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : W || (t.stateNode = fp(t.type, t.pendingProps, Se.current, t)) : t.memoizedState = Nm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;+ case 27: return Ee(t), e === null && W && (r = t.stateNode = hm(t.type, t.pendingProps, Se.current), U = t, ta = !0, a = $i, Sp(t.type) ? (um = a, $i = lm(r.firstChild)) : $i = a), Ac(e, t, t.pendingProps.children, n), Bc(e, t), e === null && (t.flags |= 4194304), t.child;+ case 5: return e === null && W && ((a = r = $i) && (r = rm(r, t.type, t.pendingProps, ta), r === null ? a = !1 : (t.stateNode = r, U = t, $i = lm(r.firstChild), ta = !1, a = !0)), a || ra(t)), Ee(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 = Jo(e, t, Zo, null, null, n), sh._currentValue = a), Bc(e, t), Ac(e, t, r, n), t.child;+ case 6: return e === null && W && ((e = n = $i) && (n = im(n, t.pendingProps, ta), n === null ? e = !1 : (t.stateNode = n, U = t, $i = null, e = !0)), e || ra(t)), null;+ case 13: return Jc(e, t, n);+ case 4: return we(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = ao(t, null, r, n) : Ac(e, t, r, n), t.child;+ case 11: return jc(e, t, t.type, t.pendingProps, n);+ case 7: return r = t.pendingProps, Bc(e, t), Ac(e, t, r, n), t.child;+ case 8: return Ac(e, t, t.pendingProps.children, n), t.child;+ case 12: return Ac(e, t, t.pendingProps.children, n), t.child;+ case 10: return il(e, t, n);+ case 9: return a = t.type._context, r = t.pendingProps.children, ya(t), a = ba(a), r = r(a), t.flags |= 1, Ac(e, t, r, n), t.child;+ case 14: return Mc(e, t, t.type, t.pendingProps, n);+ case 15: return Nc(e, t, t.type, t.pendingProps, n);+ case 19: return rl(e, t, n);+ case 31: return zc(e, t, n);+ case 22: return Pc(e, t, n, t.pendingProps);+ case 24: return ya(t), r = ba(G), e === null ? (a = Ba(), a === null && (a = ed, o = Ea(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {parent: r,cache: a- }, lo(t), ma(t, W, a)) : ((e.lanes & n) !== 0 && (uo(e, t), vo(t, null, null, n), _o()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ma(t, W, r), r !== a.cache && _a(t, [W], n, !0)) : (a = {+ }, co(t), pa(t, G, a)) : ((e.lanes & n) !== 0 && (lo(e, t), _o(t, null, null, n), go()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, pa(t, G, r), r !== a.cache && ga(t, [G], n, !0)) : (a = {parent: r,cache: r- }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ma(t, W, r))), jc(e, t, t.pendingProps.children, n), t.child;+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), pa(t, G, r))), Ac(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 : U && Zi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Vc(e, t), jc(e, t, r.children, n), t.child;+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : W && Xi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Bc(e, t), Ac(e, t, r.children, n), t.child;case 29: throw t.pendingProps;}throw Error(i(156, t.tag));}- function ul(e) {+ function ll(e) {e.flags |= 4;}- function dl(e, t, n, r, i) {+ function ul(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 Za = qa, Ga;+ else if (Hd()) e.flags |= 8192;+ else throw Xa = Ka, Wa;}} else e.flags &= -16777217;}- function fl(e, t) {+ function dl(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 Za = qa, Ga;+ if (Hd()) e.flags |= 8192;+ else throw Xa = Ka, Wa;}}- function pl(e, t) {- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : dt(), e.lanes |= t, J |= t);+ function fl(e, t) {+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ut(), e.lanes |= t, fd |= t);}- function ml(e, t) {- if (!U) switch (e.tailMode) {+ function pl(e, t) {+ if (!W) 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;@@ -11952,15 +11967,15 @@ var lu = /* @__PURE__ */ m(((e) => {n === null ? e.tail = null : n.sibling = null;}}- function hl(e) {+ function ml(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 gl(e, t, n) {+ function hl(e, t, n) {var r = t.pendingProps;- switch (Qi(t), t.tag) {+ switch (Zi(t), t.tag) {case 16:case 15:case 0:@@ -11969,32 +11984,32 @@ var lu = /* @__PURE__ */ m(((e) => {case 8:case 12:case 9:- case 14: return hl(t), null;- case 1: return hl(t), null;- case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), ha(W), Ee(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (sa(t) ? ul(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, la())), hl(t), null;+ case 14: return ml(t), null;+ case 1: return ml(t), null;+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), ma(G), Te(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (oa(t) ? ll(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, ca())), ml(t), null;case 26:var a = t.type, o = t.memoizedState;- return e === null ? (ul(t), o === null ? (hl(t), dl(t, a, null, r, n)) : (hl(t), fl(t, o))) : o ? o === e.memoizedState ? (hl(t), t.flags &= -16777217) : (ul(t), hl(t), fl(t, o)) : (e = e.memoizedProps, e !== r && ul(t), hl(t), dl(t, a, e, r, n)), null;+ return e === null ? (ll(t), o === null ? (ml(t), ul(t, a, null, r, n)) : (ml(t), dl(t, o))) : o ? o === e.memoizedState ? (ml(t), t.flags &= -16777217) : (ll(t), ml(t), dl(t, o)) : (e = e.memoizedProps, e !== r && ll(t), ml(t), ul(t, a, e, r, n)), null;case 27:- if (Oe(t), n = Ce.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ul(t);+ if (De(t), n = Se.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ll(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));- return hl(t), t.subtreeFlags &= -33554433, null;+ return ml(t), t.subtreeFlags &= -33554433, null;}- e = xe.current, sa(t) ? aa(t, e) : (e = hm(a, r, n), t.stateNode = e, ul(t));+ e = be.current, oa(t) ? ia(t, e) : (e = hm(a, r, n), t.stateNode = e, ll(t));}- return hl(t), t.subtreeFlags &= -33554433, null;+ return ml(t), t.subtreeFlags &= -33554433, null;case 5:- if (Oe(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ul(t);+ if (De(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ll(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));- return hl(t), t.subtreeFlags &= -33554433, null;+ return ml(t), t.subtreeFlags &= -33554433, null;}- if (o = xe.current, sa(t)) aa(t, o);+ if (o = be.current, oa(t)) ia(t, o);else {- var s = lp(Ce.current);+ var s = lp(Se.current);switch (o) {case 1:o = s.createElementNS("http://www.w3.org/2000/svg", a);@@ -12018,7 +12033,7 @@ var lu = /* @__PURE__ */ m(((e) => {default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);}}- o[Ct] = t, o[wt] = r;+ o[St] = t, o[Ct] = 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) {@@ -12033,7 +12048,7 @@ var lu = /* @__PURE__ */ m(((e) => {s.sibling.return = s.return, s = s.sibling;}t.stateNode = o;- a: switch ($(o, a, r), a) {+ a: switch (np(o, a, r), a) {case "button":case "input":case "select":@@ -12045,71 +12060,71 @@ var lu = /* @__PURE__ */ m(((e) => {break a;default: r = !1;}- r && ul(t);+ r && ll(t);}}- return hl(t), t.subtreeFlags &= -33554433, dl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;+ return ml(t), t.subtreeFlags &= -33554433, ul(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;case 6:- if (e && t.stateNode != null) e.memoizedProps !== r && ul(t);+ if (e && t.stateNode != null) e.memoizedProps !== r && ll(t);else {if (typeof r != "string" && t.stateNode === null) throw Error(i(166));- if (e = Ce.current, sa(t)) {- if (e = t.stateNode, n = t.memoizedProps, r = null, a = H, a !== null) switch (a.tag) {+ if (e = Se.current, oa(t)) {+ if (e = t.stateNode, n = t.memoizedProps, r = null, a = U, a !== null) switch (a.tag) {case 27:case 5: r = a.memoizedProps;}- e[Ct] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || tp(e.nodeValue, n)), e || ia(t, !0);- } else e = lp(e).createTextNode(r), e[Ct] = t, t.stateNode = e;+ e[St] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || $f(e.nodeValue, n)), e || ra(t, !0);+ } else e = lp(e).createTextNode(r), e[St] = t, t.stateNode = e;}- return hl(t), null;+ return ml(t), null;case 31:if (n = t.memoizedState, e === null || e.memoizedState !== null) {- if (r = sa(t), n !== null) {+ if (r = oa(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[Ct] = t;- } else ca(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;- hl(t), e = !1;- } else n = la(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;- if (!e) return t.flags & 256 ? (Mo(t), t) : (Mo(t), null);+ e[St] = t;+ } else sa(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ ml(t), e = !1;+ } else n = ca(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;+ if (!e) return t.flags & 256 ? (jo(t), t) : (jo(t), null);if (t.flags & 128) throw Error(i(558));}- return hl(t), null;+ return ml(t), null;case 13:if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {- if (a = sa(t), r !== null && r.dehydrated !== null) {+ if (a = oa(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[Ct] = t;- } else ca(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;- hl(t), a = !1;- } else a = la(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;- if (!a) return t.flags & 256 ? (Mo(t), t) : (Mo(t), null);+ a[St] = t;+ } else sa(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ ml(t), a = !1;+ } else a = ca(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;+ if (!a) return t.flags & 256 ? (jo(t), t) : (jo(t), null);}- return Mo(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), pl(t, t.updateQueue), hl(t), null);- case 4: return Ee(), e === null && Gf(t.stateNode.containerInfo), t.flags |= 67108864, hl(t), null;- case 10: return ha(t.type), hl(t), null;+ return jo(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), fl(t, t.updateQueue), ml(t), null);+ case 4: return Te(), e === null && Uf(t.stateNode.containerInfo), t.flags |= 67108864, ml(t), null;+ case 10: return ma(t.type), ml(t), null;case 19:- if (Fo(t), r = t.memoizedState, r === null) return hl(t), null;+ if (Po(t), r = t.memoizedState, r === null) return ml(t), null;if (a = !!(t.flags & 128), o = r.rendering, o === null) {- if (a) ml(r, !1);+ if (a) pl(r, !1);else {- if (cd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {- if (o = Io(e), o !== null) {- for (t.flags |= 128, ml(r, !1), e = o.updateQueue, t.updateQueue = e, pl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Mi(n, e), n = n.sibling;- return Po(t, No.current & 1 | 2), U && Yi(t, r.treeForkCount), t.child;+ if (sd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {+ if (o = Fo(e), o !== null) {+ for (t.flags |= 128, pl(r, !1), e = o.updateQueue, t.updateQueue = e, fl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) ji(n, e), n = n.sibling;+ return No(t, Mo.current & 1 | 2), W && Ji(t, r.treeForkCount), t.child;}e = e.sibling;}- r.tail !== null && Ve() > vd && (t.flags |= 128, a = !0, ml(r, !1), t.lanes = 4194304);+ r.tail !== null && Be() > _d && (t.flags |= 128, a = !0, pl(r, !1), t.lanes = 4194304);}} else {if (!a) {- if (e = Io(o), e !== null) {- if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, pl(t, e), ml(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !U) return hl(t), null;- } else 2 * Ve() - r.renderingStartTime > vd && n !== 536870912 && (t.flags |= 128, a = !0, ml(r, !1), t.lanes = 4194304);+ if (e = Fo(o), e !== null) {+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, fl(t, e), pl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !W) return ml(t), null;+ } else 2 * Be() - r.renderingStartTime > _d && n !== 536870912 && (t.flags |= 128, a = !0, pl(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);}@@ -12125,79 +12140,79 @@ var lu = /* @__PURE__ */ m(((e) => {}n = !0;}- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Ve(), e.sibling = null, o = No.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || U ? Po(t, o) : (n = o, be(Eo, t), be(No, n), Do === null && (Do = t)), U && Yi(t, r.treeForkCount), e;+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Be(), e.sibling = null, o = Mo.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || W ? No(t, o) : (n = o, ye(To, t), ye(Mo, n), Eo === null && (Eo = t)), W && Ji(t, r.treeForkCount), e;}- return hl(t), null;+ return ml(t), null;case 22:- case 23: return Mo(t), To(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (hl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : hl(t), n = t.updateQueue, n !== null && pl(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 && ye(Ba), null;- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ha(W), hl(t), null;+ case 23: return jo(t), wo(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (ml(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : ml(t), n = t.updateQueue, n !== null && fl(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 && ve(za), null;+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ma(G), ml(t), null;case 25: return null;- case 30: return t.flags |= 33554432, hl(t), null;+ case 30: return t.flags |= 33554432, ml(t), null;}throw Error(i(156, t.tag));}- function _l(e, t) {- switch (Qi(t), t.tag) {+ function gl(e, t) {+ switch (Zi(t), t.tag) {case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 3: return ha(W), Ee(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;+ case 3: return ma(G), Te(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;case 26:case 27:- case 5: return Oe(t), null;+ case 5: return De(t), null;case 31:if (t.memoizedState !== null) {- if (Mo(t), t.alternate === null) throw Error(i(340));- ca();+ if (jo(t), t.alternate === null) throw Error(i(340));+ sa();}return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;case 13:- if (Mo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {+ if (jo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {if (t.alternate === null) throw Error(i(340));- ca();+ sa();}return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 19: return Fo(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 Ee(), null;- case 10: return ha(t.type), null;+ case 19: return Po(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 Te(), null;+ case 10: return ma(t.type), null;case 22:- case 23: return Mo(t), To(), e !== null && ye(Ba), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 24: return ha(W), null;+ case 23: return jo(t), wo(), e !== null && ve(za), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 24: return ma(G), null;case 25: return null;default: return null;}}- function vl(e, t) {- switch (Qi(t), t.tag) {+ function _l(e, t) {+ switch (Zi(t), t.tag) {case 3:- ha(W), Ee();+ ma(G), Te();break;case 26:case 27:case 5:- Oe(t);+ De(t);break;case 4:- Ee();+ Te();break;case 31:- t.memoizedState !== null && Mo(t);+ t.memoizedState !== null && jo(t);break;case 13:- Mo(t);+ jo(t);break;case 19:- Fo(t);+ Po(t);break;case 10:- ha(t.type);+ ma(t.type);break;case 22:case 23:- Mo(t), To(), e !== null && ye(Ba);+ jo(t), wo(), e !== null && ve(za);break;- case 24: ha(W);+ case 24: ma(G);}}- function yl(e, t) {+ function vl(e, t) {try {var n = t.updateQueue, r = n === null ? null : n.lastEffect;if (r !== null) {@@ -12213,10 +12228,10 @@ var lu = /* @__PURE__ */ m(((e) => {} while (n !== i);}} catch (e) {- mf(t, t.return, e);+ Q(t, t.return, e);}}- function bl(e, t, n) {+ function yl(e, t, n) {try {var r = t.updateQueue, i = r === null ? null : r.lastEffect;if (i !== null) {@@ -12231,7 +12246,7 @@ var lu = /* @__PURE__ */ m(((e) => {try {l();} catch (e) {- mf(i, c, e);+ Q(i, c, e);}}}@@ -12239,29 +12254,29 @@ var lu = /* @__PURE__ */ m(((e) => {} while (r !== a);}} catch (e) {- mf(t, t.return, e);+ Q(t, t.return, e);}}- function xl(e) {+ function bl(e) {var t = e.updateQueue;if (t !== null) {var n = e.stateNode;try {- bo(t, n);+ yo(t, n);} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}}}- function Sl(e, t, n) {- n.props = yc(e.type, e.memoizedProps), n.state = e.memoizedState;+ function xl(e, t, n) {+ n.props = vc(e.type, e.memoizedProps), n.state = e.memoizedState;try {n.componentWillUnmount();} catch (n) {- mf(e, t, n);+ Q(e, t, n);}}- function Cl(e, t) {+ function Sl(e, t) {try {var n = e.ref;if (n !== null) {@@ -12272,7 +12287,7 @@ var lu = /* @__PURE__ */ m(((e) => {var r = e.stateNode;break;case 30:- var i = e.stateNode, a = mi(e.memoizedProps, i);+ var i = e.stateNode, a = pi(e.memoizedProps, i);(i.ref === null || i.ref.name !== a) && (i.ref = Pp(a)), r = i.ref;break;case 7:@@ -12287,43 +12302,43 @@ var lu = /* @__PURE__ */ m(((e) => {typeof n == "function" ? e.refCleanup = n(r) : n.current = r;}} catch (n) {- mf(e, t, n);+ Q(e, t, n);}}- function wl(e, t) {+ function Cl(e, t) {var n = e.ref, r = e.refCleanup;if (n !== null) {if (typeof r == "function") try {r();} catch (n) {- mf(e, t, n);+ Q(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) {- mf(e, t, n);+ Q(e, t, n);}else n.current = null;}}- function Tl(e, t) {+ function wl(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 Tl(e) {+ for (var t = e.return; t !== null && (Ol(t) && em(e.stateNode, t.stateNode), !Dl(t));) t = t.return;+ }function El(e) {- for (var t = e.return; t !== null && (kl(t) && em(e.stateNode, t.stateNode), !Ol(t));) t = t.return;+ for (var t = e.return; t !== null && (Ol(t) && tm(e.stateNode, t.stateNode), !Dl(t));) t = t.return;}function Dl(e) {- for (var t = e.return; t !== null && (kl(t) && tm(e.stateNode, t.stateNode), !Ol(t));) t = t.return;- }- function Ol(e) {return e.tag === 5 || e.tag === 3 || e.tag === 27;}- function kl(e) {+ function Ol(e) {return e && e.tag === 7 && e.stateNode !== null;}- function Al(e) {+ function kl(e) {var t = e.type, n = e.memoizedProps, r = e.stateNode;try {a: switch (t) {@@ -12336,24 +12351,24 @@ var lu = /* @__PURE__ */ m(((e) => {case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);}} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}}- function jl(e, t, n) {+ function Al(e, t, n) {try {var r = e.stateNode;- ip(r, e.type, n, t), r[wt] = t;+ ip(r, e.type, n, t), r[Ct] = t;} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}}- function Ml(e) {+ function jl(e) {return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Sp(e.type) || e.tag === 4;}- function Nl(e) {+ function Ml(e) {a: for (;;) {for (; e.sibling === null;) {- if (e.return === null || Ml(e.return)) return null;+ if (e.return === null || jl(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;) {@@ -12363,39 +12378,39 @@ var lu = /* @__PURE__ */ m(((e) => {if (!(e.flags & 2)) return e.stateNode;}}- function Pl(e, t, n, r) {+ function Nl(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 = hn)), Tl(e, r), z = !0;- else if (i !== 4 && (i === 27 && (Tl(e, r), r = null, Sp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Pl(e, t, n, r), e = e.sibling; e !== null;) Pl(e, t, n, r), e = e.sibling;+ 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 = mn)), wl(e, r), B = !0;+ else if (i !== 4 && (i === 27 && (wl(e, r), r = null, Sp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Nl(e, t, n, r), e = e.sibling; e !== null;) Nl(e, t, n, r), e = e.sibling;}- function Fl(e, t, n, r) {+ function Pl(e, t, n, r) {var i = e.tag;- if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Tl(e, r), z = !0;- else if (i !== 4 && (i === 27 && (Tl(e, r), r = null, Sp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Fl(e, t, n, r), e = e.sibling; e !== null;) Fl(e, t, n, r), e = e.sibling;+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), wl(e, r), B = !0;+ else if (i !== 4 && (i === 27 && (wl(e, r), r = null, Sp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Pl(e, t, n, r), e = e.sibling; e !== null;) Pl(e, t, n, r), e = e.sibling;}- function Il(e) {+ function Fl(e) {var t = e.stateNode, n = e.memoizedProps;try {for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);- $(t, r, n), t[Ct] = e, t[wt] = n;+ np(t, r, n), t[St] = e, t[Ct] = n;} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}}- var Ll = !1, Rl = null;- function zl(e) {- (e.tag === 30 || e.subtreeFlags & 33554432) && (Ll = !0);+ var Il = !1, Ll = null;+ function Rl(e) {+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Il = !0);}- var Bl = null;- function Vl() {- var e = Bl;- return Bl = null, e;+ var zl = null;+ function Bl() {+ var e = zl;+ return zl = null, e;}- var Hl = 0;- function Ul(e, t, n, r, i) {- return Hl = 0, Wl(e.child, t, n, r, i);+ var Vl = 0;+ function Hl(e, t, n, r, i) {+ return Vl = 0, Ul(e.child, t, n, r, i);}- function Wl(e, t, n, r, i) {+ function Ul(e, t, n, r, i) {for (var a = !1; e !== null;) {if (e.tag === 5) {var o = e.stateNode;@@ -12403,36 +12418,36 @@ var lu = /* @__PURE__ */ m(((e) => {var s = Op(o);r.push(s), s.view && (a = !0);} else a || Op(o).view && (a = !0);- Ll = !0, Tp(o, Hl === 0 ? t : t + "_" + Hl, n), Hl++;- } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Wl(e.child, t, n, r, i) && (a = !0));+ Il = !0, Tp(o, Vl === 0 ? t : t + "_" + Vl, n), Vl++;+ } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Ul(e.child, t, n, r, i) && (a = !0));e = e.sibling;}return a;}- function Gl(e, t) {- for (; e !== null;) e.tag === 5 ? Ep(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Gl(e.child, t)), e = e.sibling;+ function Wl(e, t) {+ for (; e !== null;) e.tag === 5 ? Ep(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Wl(e.child, t)), e = e.sibling;}- function Kl(e) {+ function Gl(e) {if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {- if ((e.tag !== 22 || e.memoizedState === null) && (Kl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {+ if ((e.tag !== 22 || e.memoizedState === null) && (Gl(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 = gi(t.default, t.share), t !== "none" && (Ul(e, n, t, null, !1) || Gl(e.child, !1));+ t = hi(t.default, t.share), t !== "none" && (Hl(e, n, t, null, !1) || Wl(e.child, !1));}e = e.sibling;}}- function ql(e, t) {+ function Kl(e, t) {if (e.tag === 30) {- var n = e.stateNode, r = e.memoizedProps, i = mi(r, n), a = gi(r.default, n.paired ? r.share : r.enter);- a === "none" ? Kl(e) : Ul(e, i, a, null, !1) ? (Kl(e), n.paired || t || Nd(e, r.onEnter)) : Gl(e.child, !1);- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) ql(e, t), e = e.sibling;- else Kl(e);- }- function Jl(e) {- if (Rl !== null && Rl.size !== 0) {- var t = Rl;+ var n = e.stateNode, r = e.memoizedProps, i = pi(r, n), a = hi(r.default, n.paired ? r.share : r.enter);+ a === "none" ? Gl(e) : Hl(e, i, a, null, !1) ? (Gl(e), n.paired || t || Z(e, r.onEnter)) : Wl(e.child, !1);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Kl(e, t), e = e.sibling;+ else Gl(e);+ }+ function ql(e) {+ if (Ll !== null && Ll.size !== 0) {+ var t = Ll;if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {if (e.tag !== 22 || e.memoizedState === null) {if (e.tag === 30 && e.flags & 18874368) {@@ -12440,59 +12455,59 @@ var lu = /* @__PURE__ */ m(((e) => {if (r != null && r !== "auto") {var i = t.get(r);if (i !== void 0) {- var a = gi(n.default, n.share);- if (a !== "none" && (Ul(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Nd(e, n.onShare)) : Gl(e.child, !1)), t.delete(r), t.size === 0) break;+ var a = hi(n.default, n.share);+ if (a !== "none" && (Hl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Z(e, n.onShare)) : Wl(e.child, !1)), t.delete(r), t.size === 0) break;}}}- Jl(e);+ ql(e);}e = e.sibling;}}}- function Yl(e) {+ function Jl(e) {if (e.tag === 30) {- var t = e.memoizedProps, n = mi(t, e.stateNode), r = Rl === null ? void 0 : Rl.get(n), i = gi(t.default, r === void 0 ? t.exit : t.share);- i !== "none" && (Ul(e, n, i, null, !1) ? r === void 0 ? Nd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Rl.delete(n), Nd(e, t.onShare)) : Gl(e.child, !1)), Rl !== null && Jl(e);- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Yl(e), e = e.sibling;- else Rl !== null && Jl(e);+ var t = e.memoizedProps, n = pi(t, e.stateNode), r = Ll === null ? void 0 : Ll.get(n), i = hi(t.default, r === void 0 ? t.exit : t.share);+ i !== "none" && (Hl(e, n, i, null, !1) ? r === void 0 ? Z(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Ll.delete(n), Z(e, t.onShare)) : Wl(e.child, !1)), Ll !== null && ql(e);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Jl(e), e = e.sibling;+ else Ll !== null && ql(e);}- function Xl(e) {+ function Yl(e) {for (e = e.child; e !== null;) {if (e.tag === 30) {- var t = e.memoizedProps, n = mi(t, e.stateNode);- t = gi(t.default, t.update), e.flags &= -5, t !== "none" && Ul(e, n, t, e.memoizedState = [], !1);- } else e.subtreeFlags & 33554432 && Xl(e);+ var t = e.memoizedProps, n = pi(t, e.stateNode);+ t = hi(t.default, t.update), e.flags &= -5, t !== "none" && Hl(e, n, t, e.memoizedState = [], !1);+ } else e.subtreeFlags & 33554432 && Yl(e);e = e.sibling;}}- function Zl(e) {+ function Xl(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, Gl(e.child, !1));+ t.paired !== null && (t.paired = null, Wl(e.child, !1));}- Zl(e);+ Xl(e);}e = e.sibling;}}- function Ql(e) {- if (e.tag === 30) e.stateNode.paired = null, Gl(e.child, !1), Zl(e);- else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Ql(e), e = e.sibling;- else Zl(e);+ function Zl(e) {+ if (e.tag === 30) e.stateNode.paired = null, Wl(e.child, !1), Xl(e);+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Zl(e), e = e.sibling;+ else Xl(e);}- function $l(e) {- for (e = e.child; e !== null;) e.tag === 30 ? Gl(e.child, !1) : e.subtreeFlags & 33554432 && $l(e), e = e.sibling;+ function Ql(e) {+ for (e = e.child; e !== null;) e.tag === 30 ? Wl(e.child, !1) : e.subtreeFlags & 33554432 && Ql(e), e = e.sibling;}- function eu(e, t, n, r, i, a, o) {+ function $l(e, t, n, r, i, a, o) {for (var s = !1; t !== null;) {if (t.tag === 5) {var c = t.stateNode;- if (a !== null && Hl < a.length) {- var l = a[Hl], u = Op(c);+ if (a !== null && Vl < a.length) {+ var l = a[Vl], u = Op(c);(l.view || u.view) && (s = !0);var d;if (d = !(e.flags & 4)) {@@ -12505,30 +12520,30 @@ var lu = /* @__PURE__ */ m(((e) => {}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, Hl === 0 ? n : n + "_" + Hl, i), s && e.flags & 4 || (Bl === null && (Bl = []), Bl.push(c, Hl === 0 ? r : r + "_" + Hl, t.memoizedProps)), Hl++;- } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : eu(e, t.child, n, r, i, a, o) && (s = !0));+ e.flags & 4 && Tp(c, Vl === 0 ? n : n + "_" + Vl, i), s && e.flags & 4 || (zl === null && (zl = []), zl.push(c, Vl === 0 ? r : r + "_" + Vl, t.memoizedProps)), Vl++;+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : $l(e, t.child, n, r, i, a, o) && (s = !0));t = t.sibling;}return s;}- function tu(e, t) {+ function eu(e, t) {for (e = e.child; e !== null;) {if (e.tag === 30) {- var n = e.memoizedProps, r = e.stateNode, i = mi(n, r), a = gi(n.default, n.update);+ var n = e.memoizedProps, r = e.stateNode, i = pi(n, r), a = hi(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;- Hl = 0, i = eu(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Nd(e, n.onUpdate));- } else e.subtreeFlags & 33554432 && tu(e, t);+ Vl = 0, i = $l(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Z(e, n.onUpdate));+ } else e.subtreeFlags & 33554432 && eu(e, t);e = e.sibling;}}- var nu = !1, ru = !1, iu = !1, au = !1, ou = typeof WeakSet == "function" ? WeakSet : Set, su = null, cu = !1, lu = !1, du = !1, fu = !1;- function pu(e, t, n) {- if (e = e.containerInfo, sp = gh, e = Ur(e), Gr(e)) {+ var tu = !1, nu = !1, ru = !1, iu = !1, au = typeof WeakSet == "function" ? WeakSet : Set, ou = null, su = !1, cu = !1, lu = !1, du = !1;+ function fu(e, t, n) {+ if (e = e.containerInfo, sp = gh, e = Hr(e), Wr(e)) {if ("selectionStart" in e) var r = {start: e.selectionStart,end: e.selectionEnd@@ -12570,28 +12585,28 @@ var lu = /* @__PURE__ */ m(((e) => {for (cp = {focusedElem: e,selectionRange: r- }, gh = !1, n = (n & 335544064) === n, su = t, t = n ? 9270 : 1024; su !== null;) {- if (e = su, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Yl(r[a]);- if (e.alternate === null && e.flags & 2) n && zl(e), mu(n);+ }, gh = !1, n = (n & 335544064) === n, ou = t, t = n ? 9270 : 1024; ou !== null;) {+ if (e = ou, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Jl(r[a]);+ if (e.alternate === null && e.flags & 2) n && Rl(e), pu(n);else {if (e.tag === 22) {if (r = e.alternate, e.memoizedState !== null) {- r !== null && r.memoizedState === null && n && Yl(r), mu(n);+ r !== null && r.memoizedState === null && n && Jl(r), pu(n);continue;}if (r !== null && r.memoizedState !== null) {- n && zl(e), mu(n);+ n && Rl(e), pu(n);continue;}}- r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, su = r) : (n && Xl(e), mu(n));+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, ou = r) : (n && Yl(e), pu(n));}}- Rl = null;+ Ll = null;}- function mu(e) {- for (; su !== null;) {- var t = su, n = e, r = t.alternate, a = t.flags;+ function pu(e) {+ for (; ou !== null;) {+ var t = ou, n = e, r = t.alternate, a = t.flags;switch (t.tag) {case 0:case 11:@@ -12601,10 +12616,10 @@ var lu = /* @__PURE__ */ m(((e) => {n = void 0, a = r.memoizedProps, r = r.memoizedState;var o = t.stateNode;try {- var s = yc(t.type, a);+ var s = vc(t.type, a);n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;} catch (e) {- mf(t, t.return, e);+ Q(t, t.return, e);}}break;@@ -12628,46 +12643,46 @@ var lu = /* @__PURE__ */ m(((e) => {case 4:case 17: break;case 30:- n && r !== null && (n = mi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = gi(a.default, a.update), a !== "none" && Ul(r, n, a, r.memoizedState = [], !0));+ n && r !== null && (n = pi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = hi(a.default, a.update), a !== "none" && Hl(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, su = r;+ r.return = t.return, ou = r;break;}- su = t.return;+ ou = t.return;}}- function hu(e, t, n) {+ function mu(e, t, n) {var r = n.flags;switch (n.tag) {case 0:case 11:case 15:- Fu(e, n), r & 4 && yl(5, n);+ Pu(e, n), r & 4 && vl(5, n);break;case 1:- if (Fu(e, n), r & 4) {+ if (Pu(e, n), r & 4) {if (e = n.stateNode, t === null) try {e.componentDidMount();} catch (e) {- mf(n, n.return, e);+ Q(n, n.return, e);}else {- var i = yc(n.type, t.memoizedProps);+ var i = vc(n.type, t.memoizedProps);t = t.memoizedState;try {e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);} catch (e) {- mf(n, n.return, e);+ Q(n, n.return, e);}}}- r & 64 && xl(n), r & 512 && Cl(n, n.return);+ r & 64 && bl(n), r & 512 && Sl(n, n.return);break;case 3:- if (Fu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {+ if (Pu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {if (t = null, n.child !== null) switch (n.child.tag) {case 27:case 5:@@ -12676,43 +12691,43 @@ var lu = /* @__PURE__ */ m(((e) => {case 1: t = n.child.stateNode;}try {- bo(e, t);+ yo(e, t);} catch (e) {- mf(n, n.return, e);+ Q(n, n.return, e);}}break;- case 27: t === null && r & 4 && Il(n);+ case 27: t === null && r & 4 && Fl(n);case 26:case 5:- Fu(e, n), t === null && r & 4 && Al(n), r & 512 && Cl(n, n.return);+ Pu(e, n), t === null && r & 4 && kl(n), r & 512 && Sl(n, n.return);break;case 12:- Fu(e, n);+ Pu(e, n);break;case 31:- Fu(e, n), r & 4 && wu(e, n);+ Pu(e, n), r & 4 && Cu(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 = vf.bind(null, n), cm(e, n))));+ Pu(e, n), r & 4 && wu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = gf.bind(null, n), cm(e, n))));break;case 22:- if (r = n.memoizedState !== null || nu, !r) {- var a = t !== null && t.memoizedState !== null || ru;- t = nu, i = ru, nu = r, (ru = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Lu(e, n, r)) : Fu(e, n), nu = t, ru = i;+ if (r = n.memoizedState !== null || tu, !r) {+ var a = t !== null && t.memoizedState !== null || nu;+ t = tu, i = nu, tu = r, (nu = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Iu(e, n, r)) : Pu(e, n), tu = t, nu = i;}break;case 30:- Fu(e, n), r & 512 && Cl(n, n.return);+ Pu(e, n), r & 512 && Sl(n, n.return);break;- case 7: r & 512 && Cl(n, n.return);- default: Fu(e, n);+ case 7: r & 512 && Sl(n, n.return);+ default: Pu(e, n);}}- function gu(e, t) {- for (e = e.child; e !== null;) _u(e, t), e = e.sibling;+ function hu(e, t) {+ for (e = e.child; e !== null;) gu(e, t), e = e.sibling;}- function _u(e, t) {+ function gu(e, t) {switch (e.tag) {case 5:case 26:@@ -12726,15 +12741,15 @@ var lu = /* @__PURE__ */ m(((e) => {i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();}} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}- vu(e, t);+ _u(e, t);break;case 6:try {- e.stateNode.nodeValue = t ? "" : e.memoizedProps, z = !0;+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, B = !0;} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}break;case 18:@@ -12742,138 +12757,138 @@ var lu = /* @__PURE__ */ m(((e) => {var s = e.stateNode;t ? wp(s, !0) : wp(e.stateNode, !1);} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}break;case 22:case 23:- e.memoizedState === null && gu(e, t);+ e.memoizedState === null && hu(e, t);break;- default: gu(e, t);+ default: hu(e, t);}}- function vu(e, t) {+ function _u(e, t) {if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {a: {var n = e, r = t;switch (n.tag) {case 4:- _u(n, r);+ gu(n, r);break a;case 22:- n.memoizedState === null && vu(n, r);+ n.memoizedState === null && _u(n, r);break a;- default: vu(n, r);+ default: _u(n, r);}}e = e.sibling;}}- function yu(e) {+ function vu(e) {var t = e.alternate;- t !== null && (e.alternate = null, yu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && jt(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;+ t !== null && (e.alternate = null, vu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && At(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 bu = null, xu = !1;- function Su(e, t, n) {- for (n = n.child; n !== null;) Cu(e, t, n), n = n.sibling;+ var yu = null, bu = !1;+ function xu(e, t, n) {+ for (n = n.child; n !== null;) Su(e, t, n), n = n.sibling;}- function Cu(e, t, n) {- if (Ze && typeof Ze.onCommitFiberUnmount == "function") try {- Ze.onCommitFiberUnmount(Xe, n);+ function Su(e, t, n) {+ if (Xe && typeof Xe.onCommitFiberUnmount == "function") try {+ Xe.onCommitFiberUnmount(Ye, n);} catch {}switch (n.tag) {case 26:- ru || wl(n, t), Su(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !ru && (n = n.stateNode, n.parentNode.removeChild(n));+ nu || Cl(n, t), xu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !nu && (n = n.stateNode, n.parentNode.removeChild(n));break;case 27:- ru || wl(n, t), Dl(n);- var r = bu, i = xu;- Sp(n.type) && (bu = n.stateNode, xu = !1), Su(e, t, n), gm(n.stateNode, n.type, n.memoizedProps), bu = r, xu = i;+ nu || Cl(n, t), El(n);+ var r = yu, i = bu;+ Sp(n.type) && (yu = n.stateNode, bu = !1), xu(e, t, n), gm(n.stateNode, n.type, n.memoizedProps), yu = r, bu = i;break;- case 5: ru || wl(n, t), Dl(n);+ case 5: nu || Cl(n, t), El(n);case 6:- if (n.tag === 6 && Dl(n), r = bu, i = xu, bu = null, Su(e, t, n), bu = r, xu = i, bu !== null) {- if (xu) try {- (bu.nodeType === 9 ? bu.body : bu.nodeName === "HTML" ? bu.ownerDocument.body : bu).removeChild(n.stateNode), z = !0;+ if (n.tag === 6 && El(n), r = yu, i = bu, yu = null, xu(e, t, n), yu = r, bu = i, yu !== null) {+ if (bu) try {+ (yu.nodeType === 9 ? yu.body : yu.nodeName === "HTML" ? yu.ownerDocument.body : yu).removeChild(n.stateNode), B = !0;} catch (e) {- mf(n, t, e);+ Q(n, t, e);}else try {- bu.removeChild(n.stateNode), z = !0;+ yu.removeChild(n.stateNode), B = !0;} catch (e) {- mf(n, t, e);+ Q(n, t, e);}}break;case 18:- bu !== null && (xu ? (e = bu, Cp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Hh(e)) : Cp(bu, n.stateNode));+ yu !== null && (bu ? (e = yu, Cp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Hh(e)) : Cp(yu, n.stateNode));break;case 4:- r = bu, i = xu, bu = n.stateNode.containerInfo, xu = !0, Su(e, t, n), bu = r, xu = i;+ r = yu, i = bu, yu = n.stateNode.containerInfo, bu = !0, xu(e, t, n), yu = r, bu = i;break;case 0:case 11:case 14:case 15:- bl(2, n, t), ru || bl(4, n, t), Su(e, t, n);+ yl(2, n, t), nu || yl(4, n, t), xu(e, t, n);break;case 1:- ru || (wl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Sl(n, t, r)), Su(e, t, n);+ nu || (Cl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && xl(n, t, r)), xu(e, t, n);break;case 21:- Su(e, t, n);+ xu(e, t, n);break;case 22:- ru = (r = ru) || n.memoizedState !== null, Su(e, t, n), ru = r;+ nu = (r = nu) || n.memoizedState !== null, xu(e, t, n), nu = r;break;case 30:- wl(n, t), Su(e, t, n);+ Cl(n, t), xu(e, t, n);break;case 7:- ru || wl(n, t), Su(e, t, n);+ nu || Cl(n, t), xu(e, t, n);break;- default: Su(e, t, n);+ default: xu(e, t, n);}}- function wu(e, t) {+ function Cu(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {e = e.dehydrated;try {Hh(e);} catch (e) {- mf(t, t.return, e);+ Q(t, t.return, e);}}}- function Tu(e, t) {+ function wu(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) {- mf(t, t.return, e);+ Q(t, t.return, e);}}- function Eu(e) {+ function Tu(e) {switch (e.tag) {case 31:case 13:case 19:var t = e.stateNode;- return t === null && (t = e.stateNode = new ou()), t;- case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new ou()), t;+ return t === null && (t = e.stateNode = new au()), t;+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new au()), t;default: throw Error(i(435, e.tag));}}- function Du(e, t) {- var n = Eu(e);+ function Eu(e, t) {+ var n = Tu(e);t.forEach(function(t) {if (!n.has(t)) {n.add(t);- var r = yf.bind(null, e, t);+ var r = _f.bind(null, e, t);t.then(r, r);}});}- function Ou(e, t, n) {+ function Du(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;@@ -12881,27 +12896,27 @@ var lu = /* @__PURE__ */ m(((e) => {switch (l.tag) {case 27:if (Sp(l.type)) {- bu = l.stateNode, xu = !1;+ yu = l.stateNode, bu = !1;break a;}break;case 5:- bu = l.stateNode, xu = !1;+ yu = l.stateNode, bu = !1;break a;case 3:case 4:- bu = l.stateNode.containerInfo, xu = !0;+ yu = l.stateNode.containerInfo, bu = !0;break a;}l = l.return;}- if (bu === null) throw Error(i(160));- Cu(s, c, o), bu = null, xu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;+ if (yu === null) throw Error(i(160));+ Su(s, c, o), yu = null, bu = !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;+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) ku(t, e, n), t = t.sibling;}- var ku = null;- function Au(e, t, n) {+ var Ou = null;+ function ku(e, t, n) {var r = e.alternate, a = e.flags;switch (e.tag) {case 0:@@ -12912,23 +12927,23 @@ var lu = /* @__PURE__ */ m(((e) => {var s = r[o];s.ref.impl = s.nextImpl;}- Ou(t, e, n), ju(e), a & 4 && (bl(3, e, e.return), yl(3, e), bl(5, e, e.return));+ Du(t, e, n), Au(e), a & 4 && (yl(3, e, e.return), vl(3, e), yl(5, e, e.return));break;case 1:- Ou(t, e, n), ju(e), a & 512 && (ru || r === null || wl(r, r.return)), a & 64 && nu && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));+ Du(t, e, n), Au(e), a & 512 && (nu || r === null || Cl(r, r.return)), a & 64 && tu && (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 && (ru || r === null || wl(r, r.return)), a & 4) {+ if (o = Ou, Du(t, e, n), Au(e), a & 512 && (nu || r === null || Cl(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 (nu) e.stateNode = fp(e.type, e.memoizedProps, t.containerInfo, e);+ if (tu) 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[kt] || r[Ct] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), $(r, t, n), r[Ct] = e, L(r), t = r;+ r = a.getElementsByTagName("title")[0], (!r || r[Ot] || r[St] || 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[St] = e, R(r), t = r;break a;case "link":if (o = Gm("link", "href", a).get(t + (n.href || ""))) {@@ -12937,7 +12952,7 @@ var lu = /* @__PURE__ */ m(((e) => {break b;}}- r = a.createElement(t), $(r, t, n), a.head.appendChild(r);+ 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 || ""))) {@@ -12946,86 +12961,86 @@ var lu = /* @__PURE__ */ m(((e) => {break b;}}- r = a.createElement(t), $(r, t, n), a.head.appendChild(r);+ r = a.createElement(t), np(r, t, n), a.head.appendChild(r);break;default: throw Error(i(468, t));}- r[Ct] = e, L(r), t = r;+ r[St] = e, R(r), t = r;}e.stateNode = t;}- } else nu || Km(o, e.type, e.stateNode);+ } else tu || Km(o, e.type, e.stateNode);} else e.stateNode = Bm(o, n, e.memoizedProps);- } else a === n ? n === null && e.stateNode !== null && jl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || ru || t.parentNode.removeChild(t)) : a.count--, n === null ? nu || Km(o, e.type, e.stateNode) : Bm(o, n, e.memoizedProps));+ } else a === n ? n === null && e.stateNode !== null && Al(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || nu || t.parentNode.removeChild(t)) : a.count--, n === null ? tu || Km(o, e.type, e.stateNode) : Bm(o, n, e.memoizedProps));}break;case 27:- Ou(t, e, n), ju(e), a & 512 && (ru || r === null || wl(r, r.return)), r !== null && a & 4 && jl(e, e.memoizedProps, r.memoizedProps);+ Du(t, e, n), Au(e), a & 512 && (nu || r === null || Cl(r, r.return)), r !== null && a & 4 && Al(e, e.memoizedProps, r.memoizedProps);break;case 5:- if (o = iu, iu = !1, Ou(t, e, n), iu = o, ju(e), a & 512 && (ru || r === null || wl(r, r.return)), e.flags & 32) {+ if (o = ru, ru = !1, Du(t, e, n), ru = o, Au(e), a & 512 && (nu || r === null || Cl(r, r.return)), e.flags & 32) {t = e.stateNode;try {- sn(t, ""), z = !0;+ on(t, ""), B = !0;} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}}- a & 4 && e.stateNode != null && (t = e.memoizedProps, jl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (au = !0);+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Al(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (iu = !0);break;case 6:- if (Ou(t, e, n), ju(e), a & 4) {+ if (Du(t, e, n), Au(e), a & 4) {if (e.stateNode === null) throw Error(i(162));t = e.memoizedProps, n = e.stateNode;try {- n.nodeValue = t, z = !0;+ n.nodeValue = t, B = !0;} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}}break;case 3:- if (z = !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 {+ if (B = !1, Wm = null, o = Ou, Ou = bm(t.containerInfo), Du(t, e, n), Ou = o, Au(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {Hh(t.containerInfo);} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}- au && (au = !1, Mu(e)), z = !1;+ iu && (iu = !1, ju(e)), B = !1;break;case 4:- a = iu, iu = nu, r = Wt(), o = ku, ku = bm(e.stateNode.containerInfo), Ou(t, e, n), ju(e), ku = o, z && lu && (du = !0), z = r, iu = a;+ a = ru, ru = tu, r = Ut(), o = Ou, Ou = bm(e.stateNode.containerInfo), Du(t, e, n), Au(e), Ou = o, B && cu && (lu = !0), B = r, ru = a;break;case 12:- Ou(t, e, n), ju(e);+ Du(t, e, n), Au(e);break;case 31:- Ou(t, e, n), ju(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));+ Du(t, e, n), Au(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Eu(e, t)));break;case 13:- Ou(t, e, n), ju(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (gd = Ve()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));+ Du(t, e, n), Au(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (hd = Be()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Eu(e, t)));break;case 22:o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;- var c = nu, l = ru, u = iu;- nu = c || o, iu = u || o, ru = l || s, Ou(t, e, n), ru = l, iu = u, nu = c, ju(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || nu || ru || (t = s || ru, n = nu, r = ru, nu = o || nu, ru = t, Iu(e, 2), nu = n, ru = r), !o && iu || gu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Du(e, n))));+ var c = tu, l = nu, u = ru;+ tu = c || o, ru = u || o, nu = l || s, Du(t, e, n), nu = l, ru = u, tu = c, Au(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || tu || nu || (t = s || nu, n = tu, r = nu, tu = o || tu, nu = t, Fu(e, 2), tu = n, nu = r), !o && ru || hu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Eu(e, n))));break;case 19:- Ou(t, e, n), ju(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));+ Du(t, e, n), Au(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Eu(e, t)));break;case 30:- a & 512 && (ru || r === null || wl(r, r.return)), a = Wt(), o = lu, s = (n & 335544064) === n, c = e.memoizedProps, lu = s && gi(c.default, c.update) !== "none", Ou(t, e, n), ju(e), s && r !== null && z && (e.flags |= 4), lu = o, z = a;+ a & 512 && (nu || r === null || Cl(r, r.return)), a = Ut(), o = cu, s = (n & 335544064) === n, c = e.memoizedProps, cu = s && hi(c.default, c.update) !== "none", Du(t, e, n), Au(e), s && r !== null && B && (e.flags |= 4), cu = o, B = a;break;case 21: break;- case 7: a & 512 && (ru || r === null || wl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);- default: Ou(t, e, n), ju(e);+ case 7: a & 512 && (nu || r === null || Cl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);+ default: Du(t, e, n), Au(e);}}- function ju(e) {+ function Au(e) {var t = e.flags;if (t & 2) {try {for (var n, r = e.return; r !== null;) {- if (Ml(r)) {+ if (jl(r)) {n = r;break;}@@ -13033,11 +13048,11 @@ var lu = /* @__PURE__ */ m(((e) => {}r = null;for (var a = e.return; a !== null;) {- if (kl(a)) {+ if (Ol(a)) {var o = a.stateNode;r === null ? r = [o] : r.push(o);}- if (Ol(a)) break;+ if (Dl(a)) break;a = a.return;}var s = r;@@ -13045,43 +13060,43 @@ var lu = /* @__PURE__ */ m(((e) => {switch (n.tag) {case 27:var c = n.stateNode;- Fl(e, Nl(e), c, s);+ Pl(e, Ml(e), c, s);break;case 5:var l = n.stateNode;- n.flags & 32 && (sn(l, ""), n.flags &= -33), Fl(e, Nl(e), l, s);+ n.flags & 32 && (on(l, ""), n.flags &= -33), Pl(e, Ml(e), l, s);break;case 3:case 4:var u = n.stateNode.containerInfo;- Pl(e, Nl(e), u, s);+ Nl(e, Ml(e), u, s);break;default: throw Error(i(161));}} catch (t) {- mf(e, e.return, t);+ Q(e, e.return, t);}e.flags &= -3;}t & 4096 && (e.flags &= -4097);}- function Mu(e) {+ function ju(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;+ ju(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 tu(t, !1);+ function Mu(e, t) {+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Nu(t, e), t = t.sibling;+ else eu(t, !1);}- function Pu(e, t) {+ function Nu(e, t) {var n = e.alternate;- if (n === null) ql(e, !1);+ if (n === null) Kl(e, !1);else switch (e.tag) {case 3:- if (fu = cu = !1, Vl(), Nu(t, e), !cu && !du) {- if (e = Bl, e !== null) for (var r = 0; r < e.length; r += 3) {+ if (du = su = !1, Bl(), Mu(t, e), !su && !lu) {+ if (e = zl, 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({@@ -13107,33 +13122,33 @@ var lu = /* @__PURE__ */ m(((e) => {duration: 0,fill: "forwards",pseudoElement: "::view-transition"- })), fu = !0;+ })), du = !0;}- Bl = null;+ zl = null;break;case 5:- Nu(t, e);+ Mu(t, e);break;case 4:- r = cu, cu = !1, Nu(t, e), cu && (du = !0), cu = r;+ r = su, su = !1, Mu(t, e), su && (lu = !0), su = r;break;case 22:- e.memoizedState === null && (n.memoizedState === null ? Nu(t, e) : ql(e, !1));+ e.memoizedState === null && (n.memoizedState === null ? Mu(t, e) : Kl(e, !1));break;case 30:- r = cu, i = Vl(), cu = !1, Nu(t, e), cu && (e.flags |= 4);+ r = su, i = Bl(), su = !1, Mu(t, e), su && (e.flags |= 4);var a = e.memoizedProps, o = e.stateNode;- t = mi(a, o), o = mi(n.memoizedProps, o);- var s = gi(a.default, a.update);- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Hl = 0, t = eu(e, n, t, o, s, a, !0), Hl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Nd(e, e.memoizedProps.onUpdate), Bl = i) : i !== null && (i.push.apply(i, Bl), Bl = i), cu = e.flags & 32 ? !0 : r;+ t = pi(a, o), o = pi(n.memoizedProps, o);+ var s = hi(a.default, a.update);+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Vl = 0, t = $l(e, n, t, o, s, a, !0), Vl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Z(e, e.memoizedProps.onUpdate), zl = i) : i !== null && (i.push.apply(i, zl), zl = i), su = e.flags & 32 ? !0 : r;break;- default: Nu(t, e);+ default: Mu(t, e);}}- function Fu(e, t) {- if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) hu(e, t.alternate, t), t = t.sibling;+ function Pu(e, t) {+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) mu(e, t.alternate, t), t = t.sibling;}- function Iu(e, t) {+ function Fu(e, t) {for (e = e.child; e !== null;) {var n = e, r = t;switch (n.tag) {@@ -13141,218 +13156,218 @@ var lu = /* @__PURE__ */ m(((e) => {case 11:case 14:case 15:- bl(4, n, n.return), Iu(n, r);+ yl(4, n, n.return), Fu(n, r);break;case 1:- wl(n, n.return);+ Cl(n, n.return);var i = n.stateNode;- typeof i.componentWillUnmount == "function" && Sl(n, n.return, i), Iu(n, r);+ typeof i.componentWillUnmount == "function" && xl(n, n.return, i), Fu(n, r);break;case 27: r & 2 && gm(n.stateNode, n.type, n.memoizedProps);case 5:- wl(n, n.return), n.tag !== 5 && n.tag !== 27 || Dl(n), Iu(n, r);+ Cl(n, n.return), n.tag !== 5 && n.tag !== 27 || El(n), Fu(n, r);break;case 6:- Dl(n);+ El(n);break;case 26:- wl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || ru || i.parentNode.removeChild(i), Iu(n, r);+ Cl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || nu || i.parentNode.removeChild(i), Fu(n, r);break;case 22:- n.memoizedState === null && Iu(n, r);+ n.memoizedState === null && Fu(n, r);break;case 30:- wl(n, n.return), Iu(n, r);+ Cl(n, n.return), Fu(n, r);break;- case 7: wl(n, n.return);- default: Iu(n, r);+ case 7: Cl(n, n.return);+ default: Fu(n, r);}e = e.sibling;}}- function Lu(e, t, n) {+ function Iu(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), yl(4, a);+ Iu(i, a, n), vl(4, a);break;case 1:- if (Lu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {+ if (Iu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {i.componentDidMount();} catch (e) {- mf(r, r.return, e);+ Q(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++) yo(l[i], c);+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) vo(l[i], c);} catch (e) {- mf(r, r.return, e);+ Q(r, r.return, e);}}- s && o & 64 && xl(a), Cl(a, a.return);+ s && o & 64 && bl(a), Sl(a, a.return);break;- case 27: n & 2 && Il(a);+ case 27: n & 2 && Fl(a);case 5:- a.tag !== 5 && a.tag !== 27 || El(a), Lu(i, a, n), s && r === null && o & 4 && Al(a), Cl(a, a.return);+ a.tag !== 5 && a.tag !== 27 || Tl(a), Iu(i, a, n), s && r === null && o & 4 && kl(a), Sl(a, a.return);break;case 6:- El(a);+ Tl(a);break;case 26:- c = a.stateNode, a.memoizedState !== null || c === null || nu || Km(bm(c.ownerDocument), a.type, c), Lu(i, a, n), s && r === null && o & 4 && Al(a), Cl(a, a.return);+ c = a.stateNode, a.memoizedState !== null || c === null || tu || Km(bm(c.ownerDocument), a.type, c), Iu(i, a, n), s && r === null && o & 4 && kl(a), Sl(a, a.return);break;case 12:- Lu(i, a, n);+ Iu(i, a, n);break;case 31:- Lu(i, a, n), s && o & 4 && wu(i, a);+ Iu(i, a, n), s && o & 4 && Cu(i, a);break;case 13:- Lu(i, a, n), s && o & 4 && Tu(i, a);+ Iu(i, a, n), s && o & 4 && wu(i, a);break;case 22:- a.memoizedState === null && Lu(i, a, n), Cl(a, a.return);+ a.memoizedState === null && Iu(i, a, n), Sl(a, a.return);break;case 30:- Lu(i, a, n), Cl(a, a.return);+ Iu(i, a, n), Sl(a, a.return);break;- case 7: Cl(a, a.return);- default: Lu(i, a, n);+ case 7: Sl(a, a.return);+ default: Iu(i, a, n);}t = t.sibling;}}- function Ru(e, t) {+ function Lu(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 && Oa(n));+ 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 && Da(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 && Oa(e));+ function Ru(e, t) {+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Da(e));}- function Bu(e, t, n, r) {+ function zu(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 && $l(t);+ if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Bu(e, t, n, r), t = t.sibling;+ else i && Ql(t);}- function Vu(e, t, n, r) {+ function Bu(e, t, n, r) {var i = (n & 335544064) === n;- i && t.alternate === null && t.return !== null && t.return.alternate !== null && Ql(t);+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && Zl(t);var a = t.flags;switch (t.tag) {case 0:case 11:case 15:- Bu(e, t, n, r), a & 2048 && yl(9, t);+ zu(e, t, n, r), a & 2048 && vl(9, t);break;case 1:- Bu(e, t, n, r);+ zu(e, t, n, r);break;case 3:- Bu(e, t, n, r), i && fu && (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 && Oa(a)));+ zu(e, t, n, r), i && du && (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 && Da(a)));break;case 12:if (a & 2048) {- Bu(e, t, n, r), a = t.stateNode;+ zu(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) {- mf(t, t.return, e);+ Q(t, t.return, e);}- } else Bu(e, t, n, r);+ } else zu(e, t, n, r);break;case 31:- Bu(e, t, n, r);+ zu(e, t, n, r);break;case 13:- Bu(e, t, n, r);+ zu(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 && Ql(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 && Ql(s), o._visibility & 2 ? Bu(e, t, n, r) : Uu(e, t)), a & 2048 && Ru(s, t);+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && Zl(t), o._visibility & 2 ? zu(e, t, n, r) : (o._visibility |= 2, Vu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && Zl(s), o._visibility & 2 ? zu(e, t, n, r) : Hu(e, t)), a & 2048 && Lu(s, t);break;case 24:- Bu(e, t, n, r), a & 2048 && zu(t.alternate, t);+ zu(e, t, n, r), a & 2048 && Ru(t.alternate, t);break;case 30:- i && (a = t.alternate, a !== null && (Gl(a.child, !0), Gl(t.child, !0))), Bu(e, t, n, r);+ i && (a = t.alternate, a !== null && (Wl(a.child, !0), Wl(t.child, !0))), zu(e, t, n, r);break;- default: Bu(e, t, n, r);+ default: zu(e, t, n, r);}}- function Hu(e, t, n, r, i) {+ function Vu(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), yl(8, o);+ Vu(a, o, s, c, i), vl(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);+ o.memoizedState === null ? (u._visibility |= 2, Vu(a, o, s, c, i)) : u._visibility & 2 ? Vu(a, o, s, c, i) : Hu(a, o), i && l & 2048 && Lu(o.alternate, o);break;case 24:- Hu(a, o, s, c, i), i && l & 2048 && zu(o.alternate, o);+ Vu(a, o, s, c, i), i && l & 2048 && Ru(o.alternate, o);break;- default: Hu(a, o, s, c, i);+ default: Vu(a, o, s, c, i);}t = t.sibling;}}- function Uu(e, t) {+ function Hu(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);+ Hu(n, r), i & 2048 && Lu(r.alternate, r);break;case 24:- Uu(n, r), i & 2048 && zu(r.alternate, r);+ Hu(n, r), i & 2048 && Ru(r.alternate, r);break;- default: Uu(n, r);+ default: Hu(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;+ var Uu = 8192;+ function Wu(e, t, n) {+ if (e.subtreeFlags & Uu) for (e = e.child; e !== null;) Gu(e, t, n), e = e.sibling;}- function Ku(e, t, n) {+ function Gu(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));+ Wu(e, t, n), e.flags & Uu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && Zm(n, e)) : Qm(n, Ou, e.memoizedState, e.memoizedProps));break;case 5:- Gu(e, t, n), e.flags & Wu && (e = e.stateNode, (t & 335544128) === t && Zm(n, e));+ Wu(e, t, n), e.flags & Uu && (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;+ var r = Ou;+ Ou = bm(e.stateNode.containerInfo), Wu(e, t, n), Ou = 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));+ e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Uu, Uu = 16777216, Wu(e, t, n), Uu = r) : Wu(e, t, n));break;case 30:- if ((e.flags & Wu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {+ if ((e.flags & Uu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {var i = e.stateNode;- i.paired = null, Rl === null && (Rl = /* @__PURE__ */ new Map()), Rl.set(r, i);+ i.paired = null, Ll === null && (Ll = /* @__PURE__ */ new Map()), Ll.set(r, i);}- Gu(e, t, n);+ Wu(e, t, n);break;- default: Gu(e, t, n);+ default: Wu(e, t, n);}}- function qu(e) {+ function Ku(e) {var t = e.alternate;if (t !== null && (e = t.child, e !== null)) {t.child = null;@@ -13361,69 +13376,69 @@ var lu = /* @__PURE__ */ m(((e) => {while (e !== null);}}- function Ju(e) {+ function qu(e) {var t = e.deletions;if (e.flags & 16) {if (t !== null) for (var n = 0; n < t.length; n++) {var r = t[n];- su = r, Zu(r, e);+ ou = r, Xu(r, e);}- qu(e);+ Ku(e);}- if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Yu(e), e = e.sibling;+ if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Ju(e), e = e.sibling;}- function Yu(e) {+ function Ju(e) {switch (e.tag) {case 0:case 11:case 15:- Ju(e), e.flags & 2048 && bl(9, e, e.return);+ qu(e), e.flags & 2048 && yl(9, e, e.return);break;case 3:- Ju(e);+ qu(e);break;case 12:- Ju(e);+ qu(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);+ e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Yu(e)) : qu(e);break;- default: Ju(e);+ default: qu(e);}}- function Xu(e) {+ function Yu(e) {var t = e.deletions;if (e.flags & 16) {if (t !== null) for (var n = 0; n < t.length; n++) {var r = t[n];- su = r, Zu(r, e);+ ou = r, Xu(r, e);}- qu(e);+ Ku(e);}for (e = e.child; e !== null;) {switch (t = e, t.tag) {case 0:case 11:case 15:- bl(8, t, t.return), Xu(t);+ yl(8, t, t.return), Yu(t);break;case 22:- n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Xu(t));+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Yu(t));break;- default: Xu(t);+ default: Yu(t);}e = e.sibling;}}- function Zu(e, t) {- for (; su !== null;) {- var n = su;+ function Xu(e, t) {+ for (; ou !== null;) {+ var n = ou;switch (n.tag) {case 0:case 11:case 15:- bl(8, n, t);+ yl(8, n, t);break;case 23:case 22:@@ -13432,64 +13447,64 @@ var lu = /* @__PURE__ */ m(((e) => {r != null && r.refCount++;}break;- case 24: Oa(n.memoizedState.cache);+ case 24: Da(n.memoizedState.cache);}- if (r = n.child, r !== null) r.return = n, su = r;- else a: for (n = e; su !== null;) {- r = su;+ if (r = n.child, r !== null) r.return = n, ou = r;+ else a: for (n = e; ou !== null;) {+ r = ou;var i = r.sibling, a = r.return;- if (yu(r), r === n) {- su = null;+ if (vu(r), r === n) {+ ou = null;break a;}if (i !== null) {- i.return = a, su = i;+ i.return = a, ou = i;break a;}- su = a;+ ou = a;}}}- var Qu = {+ var Zu = {getCacheForType: function(e) {- var t = xa(W), n = t.data.get(e);+ var t = ba(G), n = t.data.get(e);return n === void 0 && (n = e(), t.data.set(e, n)), n;},cacheSignal: function() {- return xa(W).controller.signal;+ return ba(G).controller.signal;}- }, $u = typeof WeakMap == "function" ? WeakMap : Map, ed = 0, td = null, K = null, q = 0, nd = 0, rd = null, id = !1, ad = !1, od = !1, sd = 0, cd = 0, ld = 0, ud = 0, dd = 0, fd = 0, J = 0, pd = null, md = null, hd = !1, gd = 0, _d = 0, vd = Infinity, yd = null, bd = null, xd = 0, Sd = null, Cd = null, Y = 0, wd = 0, Td = null, Ed = null, Dd = null, Od = null, kd = null, Ad = 0, X = null;+ }, Qu = typeof WeakMap == "function" ? WeakMap : Map, $u = 0, ed = null, q = null, J = 0, td = 0, nd = null, rd = !1, id = !1, ad = !1, od = 0, sd = 0, cd = 0, ld = 0, ud = 0, dd = 0, fd = 0, pd = null, md = null, Y = !1, hd = 0, gd = 0, _d = Infinity, vd = null, yd = null, bd = 0, xd = null, Sd = null, Cd = 0, wd = 0, Td = null, X = null, Ed = null, Dd = null, Od = null, kd = 0, Ad = null;function jd() {- return ed & 2 && q !== 0 ? q & -q : P.T === null ? bt() : Ff();+ return $u & 2 && J !== 0 ? J & -J : F.T === null ? yt() : Nf();}function Md() {- if (fd === 0) {- if (!(q & 536870912) || U) {- var e = it;- it <<= 1, !(it & 3932160) && (it = 262144), fd = e;- } else fd = 536870912;+ if (dd === 0) {+ if (!(J & 536870912) || W) {+ var e = rt;+ rt <<= 1, !(rt & 3932160) && (rt = 262144), dd = e;+ } else dd = 536870912;}- return e = Eo.current, e !== null && (e.flags |= 32), fd;+ return e = To.current, e !== null && (e.flags |= 32), dd;}- function Nd(e, t) {+ function Z(e, t) {if (t != null) {var n = e.stateNode, r = n.ref;- r === null && (r = n.ref = Pp(mi(e.memoizedProps, n))), Od === null && (Od = []), Od.push(t.bind(null, r));+ r === null && (r = n.ref = Pp(pi(e.memoizedProps, n))), Dd === null && (Dd = []), Dd.push(t.bind(null, r));}}- function Pd(e, t, n) {- (e === td && (nd === 2 || nd === 9) || e.cancelPendingCommit !== null) && (Vd(e, 0), Rd(e, q, fd, !1)), pt(e, n), (!(ed & 2) || e !== td) && (e === td && (!(ed & 2) && (ud |= n), cd === 4 && Rd(e, q, fd, !1)), Df(e));+ function Nd(e, t, n) {+ (e === ed && (td === 2 || td === 9) || e.cancelPendingCommit !== null) && (Bd(e, 0), Ld(e, J, dd, !1)), ft(e, n), (!($u & 2) || e !== ed) && (e === ed && (!($u & 2) && (ld |= n), sd === 4 && Ld(e, J, dd, !1)), Tf(e));}- function Fd(e, t, n) {- if (ed & 6) throw Error(i(327));- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || ct(e, t), a = r ? Yd(e, t) : qd(e, t, !0), o = r;+ function Pd(e, t, n) {+ if ($u & 6) throw Error(i(327));+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || st(e, t), a = r ? Jd(e, t) : Kd(e, t, !0), o = r;do {if (a === 0) {- ad && !r && Rd(e, t, 0, !1);+ id && !r && Ld(e, t, 0, !1);break;}- if (n = e.current.alternate, o && !Ld(n)) {- a = qd(e, t, !1), o = !1;+ if (n = e.current.alternate, o && !Id(n)) {+ a = Kd(e, t, !1), o = !1;continue;}if (a === 2) {@@ -13501,9 +13516,9 @@ var lu = /* @__PURE__ */ m(((e) => {var c = e;a = pd;var l = c.current.memoizedState.isDehydrated;- if (l && (Vd(c, s).flags |= 256), s = qd(c, s, !1), s !== 2 && s !== 6) {- if (od && !l) {- c.errorRecoveryDisabledLanes |= o, ud |= o, a = 4;+ if (l && (Bd(c, s).flags |= 256), s = Kd(c, s, !1), s !== 2 && s !== 6) {+ if (ad && !l) {+ c.errorRecoveryDisabledLanes |= o, ld |= o, a = 4;break a;}o = md, md = a, o !== null && (md === null ? md = o : md.push.apply(md, o));@@ -13514,7 +13529,7 @@ var lu = /* @__PURE__ */ m(((e) => {}}if (a === 1) {- Vd(e, 0), Rd(e, t, 0, !0);+ Bd(e, 0), Ld(e, t, 0, !0);break;}a: {@@ -13523,7 +13538,7 @@ var lu = /* @__PURE__ */ m(((e) => {case 1: throw Error(i(345));case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;case 6:- Rd(r, t, fd, !id);+ Ld(r, t, dd, !rd);break a;case 2:md = null;@@ -13532,18 +13547,18 @@ var lu = /* @__PURE__ */ m(((e) => {case 5: break;default: throw Error(i(329));}- if ((t & 62914560) === t && (a = gd + 300 - Ve(), 10 < a)) {- if (Rd(r, t, fd, !id), st(r, 0, !0) !== 0) break a;- Y = t, r.timeoutHandle = gp(Id.bind(null, r, n, md, yd, hd, t, fd, ud, J, id, o, "Throttled", -0, 0), a);+ if ((t & 62914560) === t && (a = hd + 300 - Be(), 10 < a)) {+ if (Ld(r, t, dd, !rd), ot(r, 0, !0) !== 0) break a;+ Cd = t, r.timeoutHandle = gp(Fd.bind(null, r, n, md, vd, Y, t, dd, ld, fd, rd, o, "Throttled", -0, 0), a);break a;}- Id(r, n, md, yd, hd, t, fd, ud, J, id, o, null, -0, 0);+ Fd(r, n, md, vd, Y, t, dd, ld, fd, rd, o, null, -0, 0);}break;} while (1);- Df(e);+ Tf(e);}- function Id(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {+ function Fd(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 = {@@ -13554,21 +13569,21 @@ var lu = /* @__PURE__ */ m(((e) => {suspenseyImages: [],waitingForImages: !0,waitingForViewTransition: !1,- unsuspend: hn- }, Rl = 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 ? gd - Ve() : (a & 4194048) === a ? _d - Ve() : 0, m = eh(d, m), m !== null)) {- Y = 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);+ unsuspend: mn+ }, Ll = null, Gu(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 ? hd - Be() : (a & 4194048) === a ? gd - Be() : 0, m = eh(d, m), m !== null)) {+ Cd = a, e.cancelPendingCommit = m(tf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Ld(e, a, o, !l);return;}- nf(e, t, a, n, r, i, o, s, c, l, u, d);+ tf(e, t, a, n, r, i, o, s, c, l, u, d);}- function Ld(e) {+ function Id(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 (!Lr(a(), i)) return !1;+ if (!Ir(a(), i)) return !1;} catch {return !1;}@@ -13585,281 +13600,281 @@ var lu = /* @__PURE__ */ m(((e) => {}return !0;}- function Rd(e, t, n, r) {- t = lt(e, t), t &= ~dd, t &= ~ud, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;+ function Ld(e, t, n, r) {+ t = ct(e, t), t &= ~ud, t &= ~ld, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;for (var i = t; 0 < i;) {- var a = 31 - $e(i), o = 1 << a;+ var a = 31 - Qe(i), o = 1 << a;r[a] = -1, i &= ~o;}- n !== 0 && ht(e, n, t);+ n !== 0 && mt(e, n, t);}- function zd() {- return ed & 6 ? !0 : (Of(0, !1), !1);+ function Rd() {+ return $u & 6 ? !0 : (Ef(0, !1), !1);}- function Bd() {- if (K !== null) {- if (nd === 0) var e = K.return;- else e = K, pa = fa = null, ts(e), eo = null, to = 0, e = K;- for (; e !== null;) vl(e.alternate, e), e = e.return;- K = null;+ function zd() {+ if (q !== null) {+ if (td === 0) var e = q.return;+ else e = q, fa = da = null, es(e), $a = null, eo = 0, e = q;+ for (; e !== null;) _l(e.alternate, e), e = e.return;+ q = null;}}- function Vd(e, t) {+ function Bd(e, t) {var n = e.timeoutHandle;- return n !== -1 && (e.timeoutHandle = -1, _p(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Y = 0, Bd(), td = e, K = n = ji(e.current, null), q = t, nd = 0, rd = null, id = !1, ad = ct(e, t), od = !1, J = fd = dd = ud = ld = cd = 0, md = pd = null, hd = !1, sd = lt(e, t), xi(), n;+ return n !== -1 && (e.timeoutHandle = -1, _p(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Cd = 0, zd(), ed = e, q = n = Ai(e.current, null), J = t, td = 0, nd = null, rd = !1, id = st(e, t), ad = !1, fd = dd = ud = ld = cd = sd = 0, md = pd = null, Y = !1, od = ct(e, t), bi(), n;+ }+ function Vd(e, t) {+ K = null, F.H = uc, t === Ua || t === Ga ? (t = Za(), td = 3) : t === Wa ? (t = Za(), td = 4) : td = t === Oc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, nd = t, q === null && (sd = 1, Sc(e, Ri(t, e.current)));}- function Hd(e, t) {- G = null, P.H = dc, t === Wa || t === Ka ? (t = Qa(), nd = 3) : t === Ga ? (t = Qa(), nd = 4) : nd = t === kc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, rd = t, K === null && (cd = 1, Cc(e, zi(t, e.current)));+ function Hd() {+ var e = To.current;+ return e === null ? !0 : (J & 4194048) === J ? Eo === null : (J & 62914560) === J || J & 536870912 ? e === Eo : !1;}function Ud() {- var e = Eo.current;- return e === null ? !0 : (q & 4194048) === q ? Do === null : (q & 62914560) === q || q & 536870912 ? e === Do : !1;+ var e = F.H;+ return F.H = uc, e === null ? uc : e;}function Wd() {- var e = P.H;- return P.H = dc, e === null ? dc : e;+ var e = F.A;+ return F.A = Zu, e;}function Gd() {- var e = P.A;- return P.A = Qu, e;- }- function Kd() {- cd = 4, id || (q & 4194048) !== q && Eo.current !== null || (ad = !0), !(ld & 134217727) && !(ud & 134217727) || td === null || Rd(td, q, fd, !1);- }- function qd(e, t, n) {- var r = ed;- ed |= 2;- var i = Wd(), a = Gd();- (td !== e || q !== t) && (yd = null, Vd(e, t)), t = !1;- var o = cd;+ sd = 4, rd || (J & 4194048) !== J && To.current !== null || (id = !0), !(cd & 134217727) && !(ld & 134217727) || ed === null || Ld(ed, J, dd, !1);+ }+ function Kd(e, t, n) {+ var r = $u;+ $u |= 2;+ var i = Ud(), a = Wd();+ (ed !== e || J !== t) && (vd = null, Bd(e, t)), t = !1;+ var o = sd;a: dotry {- if (nd !== 0 && K !== null) {- var s = K, c = rd;- switch (nd) {+ if (td !== 0 && q !== null) {+ var s = q, c = nd;+ switch (td) {case 8:- Bd(), o = 6;+ zd(), o = 6;break a;case 3:case 2:case 9:case 6:- Eo.current === null && (t = !0);- var l = nd;- if (nd = 0, rd = null, $d(e, s, c, l), n && ad) {+ To.current === null && (t = !0);+ var l = td;+ if (td = 0, nd = null, Qd(e, s, c, l), n && id) {o = 0;break a;}break;- default: l = nd, nd = 0, rd = null, $d(e, s, c, l);+ default: l = td, td = 0, nd = null, Qd(e, s, c, l);}}- Jd(), o = cd;+ qd(), o = sd;break;} catch (t) {- Hd(e, t);+ Vd(e, t);}while (1);- return t && e.shellSuspendCounter++, pa = fa = null, ed = r, P.H = i, P.A = a, K === null && (td = null, q = 0, xi()), o;+ return t && e.shellSuspendCounter++, fa = da = null, $u = r, F.H = i, F.A = a, q === null && (ed = null, J = 0, bi()), o;}- function Jd() {- for (; K !== null;) Zd(K);+ function qd() {+ for (; q !== null;) Xd(q);}- function Yd(e, t) {- var n = ed;- ed |= 2;- var r = Wd(), a = Gd();- td !== e || q !== t ? (yd = null, vd = Ve() + 500, Vd(e, t)) : ad = ct(e, t);+ function Jd(e, t) {+ var n = $u;+ $u |= 2;+ var r = Ud(), a = Wd();+ ed !== e || J !== t ? (vd = null, _d = Be() + 500, Bd(e, t)) : id = st(e, t);a: dotry {- if (nd !== 0 && K !== null) {- t = K;- var o = rd;- b: switch (nd) {+ if (td !== 0 && q !== null) {+ t = q;+ var o = nd;+ b: switch (td) {case 1:- nd = 0, rd = null, $d(e, t, o, 1);+ td = 0, nd = null, Qd(e, t, o, 1);break;case 2:case 9:- if (Ja(o)) {- nd = 0, rd = null, Qd(t);+ if (qa(o)) {+ td = 0, nd = null, Zd(t);break;}t = function() {- nd !== 2 && nd !== 9 || td !== e || (nd = 7), Df(e);+ td !== 2 && td !== 9 || ed !== e || (td = 7), Tf(e);}, o.then(t, t);break a;case 3:- nd = 7;+ td = 7;break a;case 4:- nd = 5;+ td = 5;break a;case 7:- Ja(o) ? (nd = 0, rd = null, Qd(t)) : (nd = 0, rd = null, $d(e, t, o, 7));+ qa(o) ? (td = 0, nd = null, Zd(t)) : (td = 0, nd = null, Qd(e, t, o, 7));break;case 5:var s = null;- switch (K.tag) {- case 26: s = K.memoizedState;+ switch (q.tag) {+ case 26: s = q.memoizedState;case 5:case 27:- var c = K;+ var c = q;if (s ? Ym(s) : c.stateNode.complete) {- nd = 0, rd = null;+ td = 0, nd = null;var l = c.sibling;- if (l !== null) K = l;+ if (l !== null) q = l;else {var u = c.return;- u === null ? K = null : (K = u, ef(u));+ u === null ? q = null : (q = u, $d(u));}break b;}}- nd = 0, rd = null, $d(e, t, o, 5);+ td = 0, nd = null, Qd(e, t, o, 5);break;case 6:- nd = 0, rd = null, $d(e, t, o, 6);+ td = 0, nd = null, Qd(e, t, o, 6);break;case 8:- Bd(), cd = 6;+ zd(), sd = 6;break a;default: throw Error(i(462));}}- Xd();+ Yd();break;} catch (t) {- Hd(e, t);+ Vd(e, t);}while (1);- return pa = fa = null, P.H = r, P.A = a, ed = n, K === null ? (td = null, q = 0, xi(), cd) : 0;+ return fa = da = null, F.H = r, F.A = a, $u = n, q === null ? (ed = null, J = 0, bi(), sd) : 0;}- function Xd() {- for (; K !== null && !ze();) Zd(K);+ function Yd() {+ for (; q !== null && !Re();) Xd(q);}- function Zd(e) {- var t = ll(e.alternate, e, sd);- e.memoizedProps = e.pendingProps, t === null ? ef(e) : K = t;+ function Xd(e) {+ var t = cl(e.alternate, e, od);+ e.memoizedProps = e.pendingProps, t === null ? $d(e) : q = t;}- function Qd(e) {+ function Zd(e) {var t = e, n = t.alternate;switch (t.tag) {case 15:case 0:- t = Uc(n, t, t.pendingProps, t.type, void 0, q);+ t = Hc(n, t, t.pendingProps, t.type, void 0, J);break;case 11:- t = Uc(n, t, t.pendingProps, t.type.render, t.ref, q);+ t = Hc(n, t, t.pendingProps, t.type.render, t.ref, J);break;case 5:- ts(t);+ es(t);var r = t;- r === H && (U ? (oa(r), r.tag === 5 && r.stateNode != null && (ea = r.stateNode)) : (oa(r), U = !0));- default: vl(n, t), t = K = Mi(t, sd), t = ll(n, t, sd);+ r === U && (W ? (aa(r), r.tag === 5 && r.stateNode != null && ($i = r.stateNode)) : (aa(r), W = !0));+ default: _l(n, t), t = q = ji(t, od), t = cl(n, t, od);}- e.memoizedProps = e.pendingProps, t === null ? ef(e) : K = t;+ e.memoizedProps = e.pendingProps, t === null ? $d(e) : q = t;}- function $d(e, t, n, r) {- pa = fa = null, ts(t), eo = null, to = 0;+ function Qd(e, t, n, r) {+ fa = da = null, es(t), $a = null, eo = 0;var i = t.return;try {- if (Oc(e, i, t, n, q)) {- cd = 1, Cc(e, zi(n, e.current)), K = null;+ if (Dc(e, i, t, n, J)) {+ sd = 1, Sc(e, Ri(n, e.current)), q = null;return;}} catch (t) {- if (i !== null) throw K = i, t;- cd = 1, Cc(e, zi(n, e.current)), K = null;+ if (i !== null) throw q = i, t;+ sd = 1, Sc(e, Ri(n, e.current)), q = null;return;}- t.flags & 32768 ? (U || r === 1 ? e = !0 : ad || q & 536870912 ? e = !1 : (id = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Eo.current, r !== null && r.tag === 13 && (r.flags |= 16384))), tf(t, e)) : ef(t);+ t.flags & 32768 ? (W || r === 1 ? e = !0 : id || J & 536870912 ? e = !1 : (rd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = To.current, r !== null && r.tag === 13 && (r.flags |= 16384))), ef(t, e)) : $d(t);}- function ef(e) {+ function $d(e) {var t = e;do {if (t.flags & 32768) {- tf(t, id);+ ef(t, rd);return;}e = t.return;- var n = gl(t.alternate, t, sd);+ var n = hl(t.alternate, t, od);if (n !== null) {- K = n;+ q = n;return;}if (t = t.sibling, t !== null) {- K = t;+ q = t;return;}- K = t = e;+ q = t = e;} while (t !== null);- cd === 0 && (cd = 5);+ sd === 0 && (sd = 5);}- function tf(e, t) {+ function ef(e, t) {do {- var n = _l(e.alternate, e);+ var n = gl(e.alternate, e);if (n !== null) {- n.flags &= 32767, K = n;+ n.flags &= 32767, q = n;return;}if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {- K = e;+ q = e;return;}- K = e = n;+ q = e = n;} while (e !== null);- cd = 6, K = null;+ sd = 6, q = null;}- function nf(e, t, n, r, a, o, s, c, l, u, d, f) {+ function tf(e, t, n, r, a, o, s, c, l, u, d, f) {e.cancelPendingCommit = null;do- df();- while (xd !== 0);- if (ed & 6) throw Error(i(327));+ uf();+ while (bd !== 0);+ if ($u & 6) throw Error(i(327));if (t !== null) {if (t === e.current) throw Error(i(177));- e === td && (K = td = null, q = 0), Cd = t, Sd = e, Y = n, Td = a, Ed = r, rf(e, t, n, s, c, l, f);+ e === ed && (q = ed = null, J = 0), Sd = t, xd = e, Cd = n, Td = a, X = r, nf(e, t, n, s, c, l, f);}}- function rf(e, t, n, r, i, a, o) {+ function nf(e, t, n, r, i, a, o) {var s = t.lanes | t.childLanes;- if (wd = s, s |= bi, mt(e, n, s, r, i, a), Od = null, (n & 335544064) === n ? (kd = ja(e), r = 10262) : (kd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, bf(Ge, function() {- return ff(), null;- })) : (e.callbackNode = null, e.callbackPriority = 0), Ll = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {- r = P.T, P.T = null, i = F.p, F.p = 2, a = ed, ed |= 4;+ if (wd = s, s |= yi, pt(e, n, s, r, i, a), Dd = null, (n & 335544064) === n ? (Od = Aa(e), r = 10262) : (Od = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, vf(We, function() {+ return df(), null;+ })) : (e.callbackNode = null, e.callbackPriority = 0), Il = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {+ r = F.T, F.T = null, i = I.p, I.p = 2, a = $u, $u |= 4;try {- pu(e, t, n);+ fu(e, t, n);} finally {- ed = a, F.p = i, P.T = r;+ $u = a, I.p = i, F.T = r;}}- xd = 1, Ll ? Dd = Mp(o, e.containerInfo, kd, sf, cf, of, lf, ff, af, null, null) : (sf(), cf(), lf());+ bd = 1, Il ? Ed = Mp(o, e.containerInfo, Od, of, sf, af, cf, df, rf, null, null) : (of(), sf(), cf());}- function af(e) {- if (xd !== 0) {- var t = Sd.onRecoverableError;+ function rf(e) {+ if (bd !== 0) {+ var t = xd.onRecoverableError;t(e, { componentStack: null });}}- function of() {- xd === 3 && (xd = 0, Pu(Cd, Sd), xd = 4);+ function af() {+ bd === 3 && (bd = 0, Nu(Sd, xd), bd = 4);}- function sf() {- if (xd === 1) {- xd = 0;- var e = Sd, t = Cd, n = Y, r = !!(t.flags & 13878);+ function of() {+ if (bd === 1) {+ bd = 0;+ var e = xd, t = Sd, n = Cd, r = !!(t.flags & 13878);if (t.subtreeFlags & 13878 || r) {- r = P.T, P.T = null;- var i = F.p;- F.p = 2;- var a = ed;- ed |= 4;+ r = F.T, F.T = null;+ var i = I.p;+ I.p = 2;+ var a = $u;+ $u |= 4;try {- lu = du = !1, Au(t, e, n), n = cp;- var o = Ur(e.containerInfo), s = n.focusedElem, c = n.selectionRange;- if (o !== s && s && s.ownerDocument && Hr(s.ownerDocument.documentElement, s)) {- if (c !== null && Gr(s)) {+ cu = lu = !1, ku(t, e, n), n = cp;+ var o = Hr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;+ if (o !== s && s && s.ownerDocument && Vr(s.ownerDocument.documentElement, s)) {+ if (c !== null && Wr(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 {@@ -13867,7 +13882,7 @@ var lu = /* @__PURE__ */ m(((e) => {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 _ = Vr(s, h), v = Vr(s, g);+ var _ = Br(s, h), v = Br(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));@@ -13887,120 +13902,120 @@ var lu = /* @__PURE__ */ m(((e) => {}gh = !!sp, cp = sp = null;} finally {- ed = a, F.p = i, P.T = r;+ $u = a, I.p = i, F.T = r;}}- e.current = t, xd = 2;+ e.current = t, bd = 2;}}- function cf() {- if (xd === 2) {- xd = 0;- var e = Sd, t = Cd, n = !!(t.flags & 8772);+ function sf() {+ if (bd === 2) {+ bd = 0;+ var e = xd, t = Sd, n = !!(t.flags & 8772);if (t.subtreeFlags & 8772 || n) {- n = P.T, P.T = null;- var r = F.p;- F.p = 2;- var i = ed;- ed |= 4;+ n = F.T, F.T = null;+ var r = I.p;+ I.p = 2;+ var i = $u;+ $u |= 4;try {- hu(e, t.alternate, t);+ mu(e, t.alternate, t);} finally {- ed = i, F.p = r, P.T = n;+ $u = i, I.p = r, F.T = n;}}- xd = 3;+ bd = 3;}}- function lf() {- if (xd === 4 || xd === 3) {- xd = 0;- var e = Dd;- Dd = null, Be();- var t = Sd, n = Cd, r = Y, i = Ed, a = (r & 335544064) === r ? 10262 : 10256;- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? xd = 5 : (xd = 0, Cd = Sd = null, uf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (bd = null), yt(r), n = n.stateNode, Ze && typeof Ze.onCommitFiberRoot == "function") try {- Ze.onCommitFiberRoot(Xe, n, void 0, (n.current.flags & 128) == 128);+ function cf() {+ if (bd === 4 || bd === 3) {+ bd = 0;+ var e = Ed;+ Ed = null, ze();+ var t = xd, n = Sd, r = Cd, i = X, a = (r & 335544064) === r ? 10262 : 10256;+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? bd = 5 : (bd = 0, Sd = xd = null, lf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (yd = null), vt(r), n = n.stateNode, Xe && typeof Xe.onCommitFiberRoot == "function") try {+ Xe.onCommitFiberRoot(Ye, n, void 0, (n.current.flags & 128) == 128);} catch {}if (i !== null) {- n = P.T, a = F.p, F.p = 2, P.T = null;+ n = F.T, a = I.p, I.p = 2, F.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 {- P.T = n, F.p = a;+ F.T = n, I.p = a;}}- if (i = Od, o = kd, kd = null, i !== null && (Od = 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);- Y & 3 && df(), Df(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === X ? Ad++ : (Ad = 0, X = t) : (Ad = 0, X = null), Of(0, !1);+ 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);+ Cd & 3 && uf(), Tf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Ad ? kd++ : (kd = 0, Ad = t) : (kd = 0, Ad = null), Ef(0, !1);}}- function uf(e, t) {- (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Oa(t)));+ function lf(e, t) {+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Da(t)));}- function df() {- return Dd !== null && (Dd.skipTransition(), Dd = null), sf(), cf(), lf(), ff();+ function uf() {+ return Ed !== null && (Ed.skipTransition(), Ed = null), of(), sf(), cf(), df();}- function ff() {- if (xd !== 5) return !1;- var e = Sd, t = wd;+ function df() {+ if (bd !== 5) return !1;+ var e = xd, t = wd;wd = 0;- var n = yt(Y), r = P.T, a = F.p;+ var n = vt(Cd), r = F.T, a = I.p;try {- F.p = 32 > n ? 32 : n, P.T = null, n = Td, Td = null;- var o = Sd, s = Y;- if (xd = 0, Cd = Sd = null, Y = 0, ed & 6) throw Error(i(331));- var c = ed;- if (ed |= 4, Yu(o.current), Vu(o, o.current, s, n), ed = c, Of(0, !1), Ze && typeof Ze.onPostCommitFiberRoot == "function") try {- Ze.onPostCommitFiberRoot(Xe, o);+ I.p = 32 > n ? 32 : n, F.T = null, n = Td, Td = null;+ var o = xd, s = Cd;+ if (bd = 0, Sd = xd = null, Cd = 0, $u & 6) throw Error(i(331));+ var c = $u;+ if ($u |= 4, Ju(o.current), Bu(o, o.current, s, n), $u = c, Ef(0, !1), Xe && typeof Xe.onPostCommitFiberRoot == "function") try {+ Xe.onPostCommitFiberRoot(Ye, o);} catch {}return !0;} finally {- F.p = a, P.T = r, uf(e, t);+ I.p = a, F.T = r, lf(e, t);}}- function pf(e, t, n) {- t = zi(n, t), t = Tc(e.stateNode, t, 2), e = po(e, t, 2), e !== null && (pt(e, 2), Df(e));+ function ff(e, t, n) {+ t = Ri(n, t), t = wc(e.stateNode, t, 2), e = fo(e, t, 2), e !== null && (ft(e, 2), Tf(e));}- function mf(e, t, n) {- if (e.tag === 3) pf(e, e, n);+ function Q(e, t, n) {+ if (e.tag === 3) ff(e, e, n);else for (; t !== null;) {if (t.tag === 3) {- pf(t, e, n);+ ff(t, e, n);break;}if (t.tag === 1) {var r = t.stateNode;- if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (bd === null || !bd.has(r))) {- e = zi(n, e), n = Ec(2), r = po(t, n, 2), r !== null && (Dc(n, r, t, e), pt(r, 2), Df(r));+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (yd === null || !yd.has(r))) {+ e = Ri(n, e), n = Tc(2), r = fo(t, n, 2), r !== null && (Ec(n, r, t, e), ft(r, 2), Tf(r));break;}}t = t.return;}}- function hf(e, t, n) {+ function pf(e, t, n) {var r = e.pingCache;if (r === null) {- r = e.pingCache = new $u();+ r = e.pingCache = new Qu();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) || (od = !0, i.add(n), e = gf.bind(null, e, t, n), t.then(e, e));+ i.has(n) || (ad = !0, i.add(n), e = mf.bind(null, e, t, n), t.then(e, e));}- function gf(e, t, n) {+ function mf(e, t, n) {var r = e.pingCache;- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, td === e && (q & n) === n && (cd === 4 || cd === 3 && (q & 62914560) === q && 300 > Ve() - gd ? ed & 2 ? dd |= n : Vd(e, 0) : dd |= n, J === q && (J = 0)), Df(e);+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, ed === e && (J & n) === n && (sd === 4 || sd === 3 && (J & 62914560) === J && 300 > Be() - hd ? $u & 2 ? ud |= n : Bd(e, 0) : ud |= n, fd === J && (fd = 0)), Tf(e);}- function _f(e, t) {- t === 0 && (t = dt()), e = wi(e, t), e !== null && (pt(e, t), Df(e));+ function hf(e, t) {+ t === 0 && (t = ut()), e = Ci(e, t), e !== null && (ft(e, t), Tf(e));}- function vf(e) {+ function gf(e) {var t = e.memoizedState, n = 0;- t !== null && (n = t.retryLane), _f(e, n);+ t !== null && (n = t.retryLane), hf(e, n);}- function yf(e, t) {+ function _f(e, t) {var n = 0;switch (e.tag) {case 31:@@ -14016,122 +14031,122 @@ var lu = /* @__PURE__ */ m(((e) => {break;default: throw Error(i(314));}- r !== null && r.delete(t), _f(e, n);+ r !== null && r.delete(t), hf(e, n);}- function bf(e, t) {- return Le(e, t);+ function vf(e, t) {+ return Ie(e, t);}- var xf = null, Sf = null, Cf = !1, wf = !1, Tf = !1, Ef = 0;- function Df(e) {- e !== Sf && e.next === null && (Sf === null ? xf = Sf = e : Sf = Sf.next = e), wf = !0, Cf || (Cf = !0, Pf());+ var yf = null, bf = null, xf = !1, Sf = !1, Cf = !1, wf = 0;+ function Tf(e) {+ e !== bf && e.next === null && (bf === null ? yf = bf = e : bf = bf.next = e), Sf = !0, xf || (xf = !0, Mf());}- function Of(e, t) {- if (!Tf && wf) {- Tf = !0;+ function Ef(e, t) {+ if (!Cf && Sf) {+ Cf = !0;do- for (var n = !1, r = xf; r !== null;) {+ for (var n = !1, r = yf; 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 - $e(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;+ a = (1 << 31 - Qe(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;}- a !== 0 && (n = !0, Nf(r, a));- } else a = q, a = st(r, r === td ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || ct(r, a) || (n = !0, Nf(r, a));+ a !== 0 && (n = !0, jf(r, a));+ } else a = J, a = ot(r, r === ed ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || st(r, a) || (n = !0, jf(r, a));}r = r.next;}while (n);- Tf = !1;+ Cf = !1;}}- function kf() {- Af();+ function Df() {+ Of();}- function Af() {- wf = Cf = !1;+ function Of() {+ Sf = xf = !1;var e = 0;- Ef !== 0 && hp() && (e = Ef);- for (var t = Ve(), n = null, r = xf; r !== null;) {- var i = r.next, a = jf(r, t);- a === 0 ? (r.next = null, n === null ? xf = i : n.next = i, i === null && (Sf = n)) : (n = r, (e !== 0 || a & 3) && (wf = !0)), r = i;+ wf !== 0 && hp() && (e = wf);+ for (var t = Be(), n = null, r = yf; r !== null;) {+ var i = r.next, a = kf(r, t);+ a === 0 ? (r.next = null, n === null ? yf = i : n.next = i, i === null && (bf = n)) : (n = r, (e !== 0 || a & 3) && (Sf = !0)), r = i;}- xd !== 0 && xd !== 5 || Of(e, !1), Ef !== 0 && (Ef = 0);+ bd !== 0 && bd !== 5 || Ef(e, !1), wf !== 0 && (wf = 0);}- function jf(e, t) {+ function kf(e, t) {for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {- var o = 31 - $e(a), s = 1 << o, c = i[o];- c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = ut(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;+ var o = 31 - Qe(a), s = 1 << o, c = i[o];+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = lt(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;}- if (t = td, n = q, n = st(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (nd === 2 || nd === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Re(r), e.callbackNode = null, e.callbackPriority = 0;- if (!(n & 3) || ct(e, n)) {+ if (t = ed, n = J, n = ot(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (td === 2 || td === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Le(r), e.callbackNode = null, e.callbackPriority = 0;+ if (!(n & 3) || st(e, n)) {if (t = n & -n, t === e.callbackPriority) return t;- switch (r !== null && Re(r), yt(n)) {+ switch (r !== null && Le(r), vt(n)) {case 2:case 8:- n = We;+ n = Ue;break;case 32:- n = Ge;+ n = We;break;case 268435456:- n = qe;+ n = Ke;break;- default: n = Ge;+ default: n = We;}- return r = Mf.bind(null, e), n = Le(n, r), e.callbackPriority = t, e.callbackNode = n, t;+ return r = Af.bind(null, e), n = Ie(n, r), e.callbackPriority = t, e.callbackNode = n, t;}- return r !== null && r !== null && Re(r), e.callbackPriority = 2, e.callbackNode = null, 2;+ return r !== null && r !== null && Le(r), e.callbackPriority = 2, e.callbackNode = null, 2;}- function Mf(e, t) {- if (xd !== 0 && xd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;+ function Af(e, t) {+ if (bd !== 0 && bd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;var n = e.callbackNode;- if (df() && e.callbackNode !== n) return null;- var r = q;- return r = st(e, e === td ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Fd(e, r, t), jf(e, Ve()), e.callbackNode != null && e.callbackNode === n ? Mf.bind(null, e) : null);+ if (uf() && e.callbackNode !== n) return null;+ var r = J;+ return r = ot(e, e === ed ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Pd(e, r, t), kf(e, Be()), e.callbackNode != null && e.callbackNode === n ? Af.bind(null, e) : null);}- function Nf(e, t) {- if (df()) return null;- Fd(e, t, !0);+ function jf(e, t) {+ if (uf()) return null;+ Pd(e, t, !0);}- function Pf() {+ function Mf() {bp(function() {- ed & 6 ? Le(Ue, kf) : Af();+ $u & 6 ? Ie(He, Df) : Of();});}- function Ff() {- if (Ef === 0) {- var e = Pa;- e === 0 && (e = rt, rt <<= 1, !(rt & 261888) && (rt = 256)), Ef = e;+ function Nf() {+ if (wf === 0) {+ var e = Na;+ e === 0 && (e = nt, nt <<= 1, !(nt & 261888) && (nt = 256)), wf = e;}- return Ef;+ return wf;}- function If(e) {- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : mn(e);+ function Pf(e) {+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : pn(e);}- function Lf(e, t, n, r, i) {+ function Ff(e, t, n, r, i) {if (t === "submit" && n && n.stateNode === i) {- var a = If((i[wt] || null).action), o = r.submitter;- o && (t = (t = o[wt] || null) ? If(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));- var s = new In("action", "action", null, r, i);+ var a = Pf((i[Ct] || null).action), o = r.submitter;+ o && (t = (t = o[Ct] || null) ? Pf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));+ var s = new Fn("action", "action", null, r, i);e.push({event: s,listeners: [{instance: null,listener: function() {if (r.defaultPrevented) {- if (Ef !== 0) {+ if (wf !== 0) {var e = new FormData(i, o);- Zs(n, {+ Xs(n, {pending: !0,data: e,method: i.method,action: a}, null, e);}- } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), Zs(n, {+ } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), Xs(n, {pending: !0,data: e,method: i.method,@@ -14143,18 +14158,18 @@ var lu = /* @__PURE__ */ m(((e) => {});}}- for (var Rf = 0; Rf < di.length; Rf++) {- var zf = di[Rf];- fi(zf.toLowerCase(), "on" + (zf[0].toUpperCase() + zf.slice(1)));+ for (var If = 0; If < ui.length; If++) {+ var Lf = ui[If];+ di(Lf.toLowerCase(), "on" + (Lf[0].toUpperCase() + Lf.slice(1)));}- fi(ri, "onAnimationEnd"), fi(ii, "onAnimationIteration"), fi(ai, "onAnimationStart"), fi("dblclick", "onDoubleClick"), fi("focusin", "onFocus"), fi("focusout", "onBlur"), fi(oi, "onTransitionRun"), fi(si, "onTransitionStart"), fi(ci, "onTransitionCancel"), fi(li, "onTransitionEnd"), zt("onMouseEnter", ["mouseout", "mouseover"]), zt("onMouseLeave", ["mouseout", "mouseover"]), zt("onPointerEnter", ["pointerout", "pointerover"]), zt("onPointerLeave", ["pointerout", "pointerover"]), Rt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Rt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Rt("onBeforeInput", [+ di(ni, "onAnimationEnd"), di(ri, "onAnimationIteration"), di(ii, "onAnimationStart"), di("dblclick", "onDoubleClick"), di("focusin", "onFocus"), di("focusout", "onBlur"), di(ai, "onTransitionRun"), di(oi, "onTransitionStart"), di(si, "onTransitionCancel"), di(ci, "onTransitionEnd"), Rt("onMouseEnter", ["mouseout", "mouseover"]), Rt("onMouseLeave", ["mouseout", "mouseover"]), Rt("onPointerEnter", ["pointerout", "pointerover"]), Rt("onPointerLeave", ["pointerout", "pointerover"]), Lt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Lt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Lt("onBeforeInput", ["compositionend","keypress","textInput","paste"- ]), Rt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Rt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Rt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));- var Bf = "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(" "), Vf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Bf));- function Hf(e, t) {+ ]), Lt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Lt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Lt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));+ var Rf = "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(" "), zf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Rf));+ function Bf(e, t) {t = !!(t & 4);for (var n = 0; n < e.length; n++) {var r = e[n], i = r.event;@@ -14168,7 +14183,7 @@ var lu = /* @__PURE__ */ m(((e) => {try {a(i);} catch (e) {- _i(e);+ gi(e);}i.currentTarget = null, a = c;}@@ -14178,34 +14193,34 @@ var lu = /* @__PURE__ */ m(((e) => {try {a(i);} catch (e) {- _i(e);+ gi(e);}i.currentTarget = null, a = c;}}}}- function Z(e, t) {- var n = t[Et];- n === void 0 && (n = t[Et] = /* @__PURE__ */ new Set());+ function $(e, t) {+ var n = t[Tt];+ n === void 0 && (n = t[Tt] = /* @__PURE__ */ new Set());var r = e + "__bubble";- n.has(r) || (Kf(t, e, 2, !1), n.add(r));+ n.has(r) || (Wf(t, e, 2, !1), n.add(r));}- function Uf(e, t, n) {+ function Vf(e, t, n) {var r = 0;- t && (r |= 4), Kf(n, e, r, t);+ t && (r |= 4), Wf(n, e, r, t);}- var Wf = "_reactListening" + Math.random().toString(36).slice(2);- function Gf(e) {- if (!e[Wf]) {- e[Wf] = !0, R.forEach(function(t) {- t !== "selectionchange" && (Vf.has(t) || Uf(t, !1, e), Uf(t, !0, e));+ var Hf = "_reactListening" + Math.random().toString(36).slice(2);+ function Uf(e) {+ if (!e[Hf]) {+ e[Hf] = !0, z.forEach(function(t) {+ t !== "selectionchange" && (zf.has(t) || Vf(t, !1, e), Vf(t, !0, e));});var t = e.nodeType === 9 ? e : e.ownerDocument;- t === null || t[Wf] || (t[Wf] = !0, Uf("selectionchange", !1, t));+ t === null || t[Hf] || (t[Hf] = !0, Vf("selectionchange", !1, t));}}- function Kf(e, t, n, r) {+ function Wf(e, t, n, r) {switch (Ch(t)) {case 2:var i = _h;@@ -14215,12 +14230,12 @@ var lu = /* @__PURE__ */ m(((e) => {break;default: i = yh;}- n = i.bind(null, t, n, e), i = void 0, !Tn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {+ n = i.bind(null, t, n, e), i = void 0, !wn || 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 qf(e, t, n, r, i) {+ function Gf(e, t, n, r, i) {var a = r;if (!(t & 1) && !(t & 2) && r !== null) a: for (;;) {if (r === null) return;@@ -14234,7 +14249,7 @@ var lu = /* @__PURE__ */ m(((e) => {s = s.return;}for (; c !== null;) {- if (s = Mt(c), s === null) return;+ if (s = jt(c), s === null) return;if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {r = a = s;continue a;@@ -14244,27 +14259,27 @@ var lu = /* @__PURE__ */ m(((e) => {}r = r.return;}- Sn(function() {- var r = a, i = _n(n), s = [];+ xn(function() {+ var r = a, i = gn(n), s = [];a: {- var c = ui.get(e);+ var c = li.get(e);if (c !== void 0) {- var l = In, u = e;+ var l = Fn, u = e;switch (e) {- case "keypress": if (jn(n) === 0) break a;+ case "keypress": if (An(n) === 0) break a;case "keydown":case "keyup":- l = er;+ l = $n;break;case "focusin":- u = "focus", l = Gn;+ u = "focus", l = Wn;break;case "focusout":- u = "blur", l = Gn;+ u = "blur", l = Wn;break;case "beforeblur":case "afterblur":- l = Gn;+ l = Wn;break;case "click": if (n.button === 2) break a;case "auxclick":@@ -14275,7 +14290,7 @@ var lu = /* @__PURE__ */ m(((e) => {case "mouseout":case "mouseover":case "contextmenu":- l = Un;+ l = Hn;break;case "drag":case "dragend":@@ -14285,33 +14300,33 @@ var lu = /* @__PURE__ */ m(((e) => {case "dragover":case "dragstart":case "drop":- l = Wn;+ l = Un;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":- l = rr;+ l = nr;break;+ case ni:case ri:case ii:- case ai:- l = Kn;+ l = Gn;break;- case li:- l = ir;+ case ci:+ l = rr;break;case "scroll":case "scrollend":- l = Rn;+ l = Ln;break;case "wheel":- l = ar;+ l = ir;break;case "copy":case "cut":case "paste":- l = qn;+ l = Kn;break;case "gotpointercapture":case "lostpointercapture":@@ -14321,19 +14336,19 @@ var lu = /* @__PURE__ */ m(((e) => {case "pointerout":case "pointerover":case "pointerup":- l = tr;+ l = er;break;case "submit":- l = nr;+ l = tr;break;case "toggle":- case "beforetoggle": l = or;+ case "beforetoggle": l = ar;}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 = Cn(m, p), g != null && d.push(Jf(m, g, h))), f) break;+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = Sn(m, p), g != null && d.push(Kf(m, g, h))), f) break;m = m.return;}0 < d.length && (c = new l(c, u, null, n, i), s.push({@@ -14344,45 +14359,45 @@ var lu = /* @__PURE__ */ m(((e) => {}if (!(t & 7)) {a: {- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== gn && (u = n.relatedTarget || n.fromElement) && (Mt(u) || u[Tt])) 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 ? Mt(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 = Un, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = tr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Pt(c), h = l == null ? u : Pt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Mt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? w(c, l, Xf) : null, c !== null && Zf(s, u, c, d, !1), l !== null && f !== null && Zf(s, f, l, d, !0)));+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== hn && (u = n.relatedTarget || n.fromElement) && (jt(u) || u[wt])) 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 ? jt(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 = Hn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = er, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Nt(c), h = l == null ? u : Nt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, jt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? w(c, l, Jf) : null, c !== null && Yf(s, u, c, d, !1), l !== null && f !== null && Yf(s, f, l, d, !0)));}a: {- if (c = r ? Pt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Tr;- else if (yr(c)) {- if (Er) _ = Fr;+ if (c = r ? Nt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = wr;+ else if (vr(c)) {+ if (Tr) _ = Pr;else {- _ = Nr;- var v = Mr;+ _ = Mr;+ var v = jr;}- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && dn(r.elementType) && (_ = Tr) : _ = Pr;+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && un(r.elementType) && (_ = wr) : _ = Nr;if (_ &&= _(e, r)) {- br(s, _, n, i);+ yr(s, _, n, i);break a;}v && v(e, c, r);}- switch (v = r ? Pt(r) : window, e) {+ switch (v = r ? Nt(r) : window, e) {case "focusin":- (yr(v) || v.contentEditable === "true") && (qr = v, Jr = r, Yr = null);+ (vr(v) || v.contentEditable === "true") && (Kr = v, qr = r, Jr = null);break;case "focusout":- Yr = Jr = qr = null;+ Jr = qr = Kr = null;break;case "mousedown":- Xr = !0;+ Yr = !0;break;case "contextmenu":case "mouseup":case "dragend":- Xr = !1, Zr(s, n, i);+ Yr = !1, Xr(s, n, i);break;- case "selectionchange": if (Kr) break;+ case "selectionchange": if (Gr) break;case "keydown":- case "keyup": Zr(s, n, i);+ case "keyup": Xr(s, n, i);}var y;- if (cr) b: {+ if (sr) b: {switch (e) {case "compositionstart":var b = "onCompositionStart";@@ -14396,83 +14411,83 @@ var lu = /* @__PURE__ */ m(((e) => {}b = void 0;}- else gr ? mr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");- b && (dr && n.locale !== "ko" && (gr || b !== "onCompositionStart" ? b === "onCompositionEnd" && gr && (y = An()) : (Dn = i, On = "value" in Dn ? Dn.value : Dn.textContent, gr = !0)), v = Yf(r, b), 0 < v.length && (b = new Jn(b, e, null, n, i), s.push({+ else hr ? pr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");+ b && (ur && n.locale !== "ko" && (hr || b !== "onCompositionStart" ? b === "onCompositionEnd" && hr && (y = kn()) : (En = i, Dn = "value" in En ? En.value : En.textContent, hr = !0)), v = qf(r, b), 0 < v.length && (b = new qn(b, e, null, n, i), s.push({event: b,listeners: v- }), y ? b.data = y : (y = hr(n), y !== null && (b.data = y)))), (y = ur ? _r(e, n) : vr(e, n)) && (b = Yf(r, "onBeforeInput"), 0 < b.length && (v = new Jn("onBeforeInput", "beforeinput", null, n, i), s.push({+ }), y ? b.data = y : (y = mr(n), y !== null && (b.data = y)))), (y = lr ? gr(e, n) : _r(e, n)) && (b = qf(r, "onBeforeInput"), 0 < b.length && (v = new qn("onBeforeInput", "beforeinput", null, n, i), s.push({event: v,listeners: b- }), v.data = y)), Lf(s, e, r, n, i);+ }), v.data = y)), Ff(s, e, r, n, i);}- Hf(s, t);+ Bf(s, t);});}- function Jf(e, t, n) {+ function Kf(e, t, n) {return {instance: e,listener: t,currentTarget: n};}- function Yf(e, t) {+ function qf(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 = Cn(e, n), i != null && r.unshift(Jf(e, i, a)), i = Cn(e, t), i != null && r.push(Jf(e, i, a))), e.tag === 3) return r;+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = Sn(e, n), i != null && r.unshift(Kf(e, i, a)), i = Sn(e, t), i != null && r.push(Kf(e, i, a))), e.tag === 3) return r;e = e.return;}return [];}- function Xf(e) {+ function Jf(e) {if (e === null) return null;doe = e.return;while (e && e.tag !== 5 && e.tag !== 27);return e || null;}- function Zf(e, t, n, r, i) {+ function Yf(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 = Cn(n, a), l != null && o.unshift(Jf(n, l, c))) : i || (l = Cn(n, a), l != null && o.push(Jf(n, l, c)))), n = n.return;+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = Sn(n, a), l != null && o.unshift(Kf(n, l, c))) : i || (l = Sn(n, a), l != null && o.push(Kf(n, l, c)))), n = n.return;}o.length !== 0 && e.push({event: t,listeners: o});}- var Qf = /\r\n?/g, $f = /\u0000|\uFFFD/g;- function ep(e) {- return (typeof e == "string" ? e : "" + e).replace(Qf, "\n").replace($f, "");+ var Xf = /\r\n?/g, Zf = /\u0000|\uFFFD/g;+ function Qf(e) {+ return (typeof e == "string" ? e : "" + e).replace(Xf, "\n").replace(Zf, "");}- function tp(e, t) {- return t = ep(t), ep(e) === t;+ function $f(e, t) {+ return t = Qf(t), Qf(e) === t;}- function Q(e, t, n, r, a, o) {+ function ep(e, t, n, r, a, o) {switch (n) {case "children":- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || sn(e, r);- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && sn(e, "" + r);+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || on(e, r);+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && on(e, "" + r);else return;break;case "className":- Kt(e, "class", r);+ Gt(e, "class", r);break;case "tabIndex":- Kt(e, "tabindex", r);+ Gt(e, "tabindex", r);break;case "dir":case "role":case "viewBox":case "width":case "height":- Kt(e, n, r);+ Gt(e, n, r);break;case "style":- un(e, r, o);+ ln(e, r, o);return;case "data": if (t !== "object") {- Kt(e, "data", r);+ Gt(e, "data", r);break;}case "src":@@ -14485,7 +14500,7 @@ var lu = /* @__PURE__ */ m(((e) => {e.removeAttribute(n);break;}- r = mn(r), e.setAttribute(n, r);+ r = pn(r), e.setAttribute(n, r);break;case "action":case "formAction":@@ -14493,20 +14508,20 @@ var lu = /* @__PURE__ */ m(((e) => {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" && Q(e, t, "name", a.name, a, null), Q(e, t, "formEncType", a.formEncType, a, null), Q(e, t, "formMethod", a.formMethod, a, null), Q(e, t, "formTarget", a.formTarget, a, null)) : (Q(e, t, "encType", a.encType, a, null), Q(e, t, "method", a.method, a, null), Q(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {+ if (typeof o == "function" && (n === "formAction" ? (t !== "input" && ep(e, t, "name", a.name, a, null), ep(e, t, "formEncType", a.formEncType, a, null), ep(e, t, "formMethod", a.formMethod, a, null), ep(e, t, "formTarget", a.formTarget, a, null)) : (ep(e, t, "encType", a.encType, a, null), ep(e, t, "method", a.method, a, null), ep(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {e.removeAttribute(n);break;}- r = mn(r), e.setAttribute(n, r);+ r = pn(r), e.setAttribute(n, r);break;case "onClick":- r != null && (e.onclick = hn);+ r != null && (e.onclick = mn);return;case "onScroll":- r != null && Z("scroll", e);+ r != null && $("scroll", e);return;case "onScrollEnd":- r != null && Z("scrollend", e);+ r != null && $("scrollend", e);return;case "dangerouslySetInnerHTML":if (r != null) {@@ -14535,7 +14550,7 @@ var lu = /* @__PURE__ */ m(((e) => {e.removeAttribute("xlink:href");break;}- n = mn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);+ n = pn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);break;case "contentEditable":case "spellCheck":@@ -14588,49 +14603,49 @@ var lu = /* @__PURE__ */ m(((e) => {r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);break;case "popover":- Z("beforetoggle", e), Z("toggle", e), Gt(e, "popover", r);+ $("beforetoggle", e), $("toggle", e), Wt(e, "popover", r);break;case "xlinkActuate":- qt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);break;case "xlinkArcrole":- qt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);break;case "xlinkRole":- qt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);break;case "xlinkShow":- qt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);break;case "xlinkTitle":- qt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);break;case "xlinkType":- qt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);break;case "xmlBase":- qt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);+ Kt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);break;case "xmlLang":- qt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);+ Kt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);break;case "xmlSpace":- qt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);+ Kt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);break;case "is":- Gt(e, "is", r);+ Wt(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 = fn.get(n) || n, Gt(e, n, r);+ default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = dn.get(n) || n, Wt(e, n, r);else return;}- z = !0;+ B = !0;}- function np(e, t, n, r, a, o) {+ function tp(e, t, n, r, a, o) {switch (n) {case "style":- un(e, r, o);+ ln(e, r, o);return;case "dangerouslySetInnerHTML":if (r != null) {@@ -14642,18 +14657,18 @@ var lu = /* @__PURE__ */ m(((e) => {}break;case "children":- if (typeof r == "string") sn(e, r);- else if (typeof r == "number" || typeof r == "bigint") sn(e, "" + r);+ if (typeof r == "string") on(e, r);+ else if (typeof r == "number" || typeof r == "bigint") on(e, "" + r);else return;break;case "onScroll":- r != null && Z("scroll", e);+ r != null && $("scroll", e);return;case "onScrollEnd":- r != null && Z("scrollend", e);+ r != null && $("scrollend", e);return;case "onClick":- r != null && (e.onclick = hn);+ r != null && (e.onclick = mn);return;case "suppressContentEditableWarning":case "suppressHydrationWarning":@@ -14662,18 +14677,18 @@ var lu = /* @__PURE__ */ m(((e) => {case "innerText":case "textContent": return;default:- if (!Lt.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[wt] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {+ if (!It.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[Ct] || 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;}- z = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Gt(e, n, r);+ B = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Wt(e, n, r);}return;}- z = !0;+ B = !0;}- function $(e, t, n) {+ function np(e, t, n) {switch (t) {case "div":case "span":@@ -14684,7 +14699,7 @@ var lu = /* @__PURE__ */ m(((e) => {case "p":case "li": break;case "img":- Z("error", e), Z("load", e);+ $("error", e), $("load", e);var r = !1, a = !1, o;for (o in n) if (n.hasOwnProperty(o)) {var s = n[o];@@ -14697,13 +14712,13 @@ var lu = /* @__PURE__ */ m(((e) => {break;case "children":case "dangerouslySetInnerHTML": throw Error(i(137, t));- default: Q(e, t, o, s, n, null);+ default: ep(e, t, o, s, n, null);}}- a && Q(e, t, "srcSet", n.srcSet, n, null), r && Q(e, t, "src", n.src, n, null);+ a && ep(e, t, "srcSet", n.srcSet, n, null), r && ep(e, t, "src", n.src, n, null);return;case "input":- Z("invalid", e);+ $("invalid", e);var c = o = s = a = null, l = null, u = null;for (r in n) if (n.hasOwnProperty(r)) {var d = n[r];@@ -14730,13 +14745,13 @@ var lu = /* @__PURE__ */ m(((e) => {case "dangerouslySetInnerHTML":if (d != null) throw Error(i(137, t));break;- default: Q(e, t, r, d, n, null);+ default: ep(e, t, r, d, n, null);}}- tn(e, o, c, l, u, s, a, !1);+ en(e, o, c, l, u, s, a, !1);return;case "select":- for (a in Z("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {+ for (a in $("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {case "value":o = c;break;@@ -14744,12 +14759,12 @@ var lu = /* @__PURE__ */ m(((e) => {s = c;break;case "multiple": r = c;- default: Q(e, t, a, c, n, null);+ default: ep(e, t, a, c, n, null);}- t = o, n = s, e.multiple = !!r, t == null ? n != null && rn(e, !!r, n, !0) : rn(e, !!r, t, !1);+ t = o, n = s, e.multiple = !!r, t == null ? n != null && nn(e, !!r, n, !0) : nn(e, !!r, t, !1);return;case "textarea":- for (s in Z("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {+ for (s in $("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {case "value":r = c;break;@@ -14762,38 +14777,38 @@ var lu = /* @__PURE__ */ m(((e) => {case "dangerouslySetInnerHTML":if (c != null) throw Error(i(91));break;- default: Q(e, t, s, c, n, null);+ default: ep(e, t, s, c, n, null);}- on(e, r, a, o);+ an(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: Q(e, t, l, r, n, null);+ default: ep(e, t, l, r, n, null);}return;case "dialog":- Z("beforetoggle", e), Z("toggle", e), Z("cancel", e), Z("close", e);+ $("beforetoggle", e), $("toggle", e), $("cancel", e), $("close", e);break;case "iframe":case "object":- Z("load", e);+ $("load", e);break;case "video":case "audio":- for (r = 0; r < Bf.length; r++) Z(Bf[r], e);+ for (r = 0; r < Rf.length; r++) $(Rf[r], e);break;case "image":- Z("error", e), Z("load", e);+ $("error", e), $("load", e);break;case "details":- Z("toggle", e);+ $("toggle", e);break;case "embed":case "source":- case "link": Z("error", e), Z("load", e);+ case "link": $("error", e), $("load", e);case "area":case "base":case "br":@@ -14808,15 +14823,15 @@ var lu = /* @__PURE__ */ m(((e) => {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: Q(e, t, u, r, n, null);+ default: ep(e, t, u, r, n, null);}return;- default: if (dn(t)) {- for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && np(e, t, d, r, n, void 0));+ default: if (un(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 && Q(e, t, c, r, n, null));+ for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && ep(e, t, c, r, n, null));}var rp = {};function ip(e, t, n, r) {@@ -14837,90 +14852,90 @@ var lu = /* @__PURE__ */ m(((e) => {case "checked": break;case "value": break;case "defaultValue": l = f;- default: r.hasOwnProperty(m) || Q(e, t, m, null, r, f);+ default: r.hasOwnProperty(m) || ep(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 && (z = !0), o = m;+ m !== f && (B = !0), o = m;break;case "name":- m !== f && (z = !0), a = m;+ m !== f && (B = !0), a = m;break;case "checked":- m !== f && (z = !0), u = m;+ m !== f && (B = !0), u = m;break;case "defaultChecked":- m !== f && (z = !0), d = m;+ m !== f && (B = !0), d = m;break;case "value":- m !== f && (z = !0), s = m;+ m !== f && (B = !0), s = m;break;case "defaultValue":- m !== f && (z = !0), c = m;+ m !== f && (B = !0), c = m;break;case "children":case "dangerouslySetInnerHTML":if (m != null) throw Error(i(137, t));break;- default: m !== f && Q(e, t, p, m, r, f);+ default: m !== f && ep(e, t, p, m, r, f);}}- en(e, s, c, l, u, d, o, a);+ $t(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) || Q(e, t, o, null, r, l);+ default: r.hasOwnProperty(o) || ep(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 && (z = !0), p = o;+ o !== l && (B = !0), p = o;break;case "defaultValue":- o !== l && (z = !0), c = o;+ o !== l && (B = !0), c = o;break;- case "multiple": o !== l && (z = !0), s = o;- default: o !== l && Q(e, t, a, o, r, l);+ case "multiple": o !== l && (B = !0), s = o;+ default: o !== l && ep(e, t, a, o, r, l);}- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? rn(e, !!n, n ? [] : "", !1) : rn(e, !!n, t, !0)) : rn(e, !!n, p, !1);+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? nn(e, !!n, n ? [] : "", !1) : nn(e, !!n, t, !0)) : nn(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: Q(e, t, c, null, r, a);+ default: ep(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 && (z = !0), p = a;+ a !== o && (B = !0), p = a;break;case "defaultValue":- a !== o && (z = !0), m = a;+ a !== o && (B = !0), m = a;break;case "children": break;case "dangerouslySetInnerHTML":if (a != null) throw Error(i(91));break;- default: a !== o && Q(e, t, s, a, r, o);+ default: a !== o && ep(e, t, s, a, r, o);}- an(e, p, m);+ rn(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: Q(e, t, h, null, r, p);+ default: ep(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 && (z = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";+ p !== m && (B = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";break;- default: Q(e, t, l, p, r, m);+ default: ep(e, t, l, p, r, m);}return;case "img":@@ -14938,23 +14953,23 @@ var lu = /* @__PURE__ */ m(((e) => {case "track":case "wbr":case "menuitem":- for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && Q(e, t, g, null, r, p);+ for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && ep(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: Q(e, t, u, p, r, m);+ default: ep(e, t, u, p, r, m);}return;- default: if (dn(t)) {- for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && np(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 || np(e, t, d, p, r, m);+ default: if (un(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) && Q(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 || Q(e, t, f, p, r, m);+ for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && ep(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 || ep(e, t, f, p, r, m);}function ap(e) {switch (e) {@@ -15006,7 +15021,7 @@ var lu = /* @__PURE__ */ m(((e) => {return e === 1 && t === "foreignObject" ? 0 : e;}function fp(e, t, n, r) {- return n = lp(n).createElement(e), n[Ct] = r, n[wt] = t, $(n, e, t), L(n), n;+ return n = lp(n).createElement(e), n[St] = r, n[Ct] = t, np(n, e, t), R(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;@@ -15044,7 +15059,7 @@ var lu = /* @__PURE__ */ m(((e) => {n = e.ownerDocument.head, _m(n);for (var a = n.firstChild; a;) {var o = a.nextSibling, s = a.nodeName;- a[kt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;+ a[Ot] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;}} else n === "body" && _m(e.ownerDocument.body);}@@ -15375,7 +15390,7 @@ var lu = /* @__PURE__ */ m(((e) => {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 = Mt(i);+ var a = jt(i);if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {if (n = !!a) a: {for (; a !== null;) {@@ -15472,7 +15487,7 @@ var lu = /* @__PURE__ */ m(((e) => {case "HTML":case "HEAD":case "BODY":- nm(n), jt(n);+ nm(n), At(n);continue;case "SCRIPT":case "STYLE": continue;@@ -15491,7 +15506,7 @@ var lu = /* @__PURE__ */ m(((e) => {var a = i.name == null ? null : "" + i.name;if (i.type === "hidden" && e.getAttribute("name") === a) return e;} else return e;- } else if (!e[kt]) switch (t) {+ } else if (!e[Ot]) switch (t) {case "meta":if (!e.hasAttribute("itemprop")) break;return e;@@ -15613,13 +15628,13 @@ var lu = /* @__PURE__ */ m(((e) => {function gm(e, t, n) {for (var r in n) {var i = n[r];- n.hasOwnProperty(r) && i != null && Q(e, t, r, null, rp, i);+ n.hasOwnProperty(r) && i != null && ep(e, t, r, null, rp, i);}- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === hn && (e.onclick = null), jt(e);+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === mn && (e.onclick = null), At(e);}function _m(e) {for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);- jt(e);+ At(e);}var vm = /* @__PURE__ */ new Map(), ym = /* @__PURE__ */ new Set();function bm(e) {@@ -15629,8 +15644,8 @@ var lu = /* @__PURE__ */ m(((e) => {}return e.nodeType === 9 ? e : e.ownerDocument;}- var xm = F.d;- F.d = {+ var xm = I.d;+ I.d = {f: Sm,r: Cm,D: Em,@@ -15642,23 +15657,23 @@ var lu = /* @__PURE__ */ m(((e) => {M: Mm};function Sm() {- var e = xm.f(), t = zd();+ var e = xm.f(), t = Rd();return e || t;}function Cm(e) {- var t = Nt(e);- t !== null && t.tag === 5 && t.type === "form" ? $s(t) : xm.r(e);+ var t = Mt(e);+ t !== null && t.tag === 5 && t.type === "form" ? Qs(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 = $t(t);+ var i = Qt(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"), $(t, "link", e), L(t), r.head.appendChild(t)));+ }, r.querySelector(i) === null && (t = r.createElement("link"), np(t, "link", e), R(t), r.head.appendChild(t)));}}function Em(e) {@@ -15671,8 +15686,8 @@ var lu = /* @__PURE__ */ m(((e) => {xm.L(e, t, n);var r = wm;if (r && e && t) {- var i = "link[rel=\"preload\"][as=\"" + $t(t) + "\"]";- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + $t(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + $t(n.imageSizes) + "\"]")) : i += "[href=\"" + $t(e) + "\"]";+ var i = "link[rel=\"preload\"][as=\"" + Qt(t) + "\"]";+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + Qt(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + Qt(n.imageSizes) + "\"]")) : i += "[href=\"" + Qt(e) + "\"]";var a = i;switch (t) {case "style":@@ -15686,9 +15701,9 @@ var lu = /* @__PURE__ */ m(((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");- $(o, "link", e), t === "style" && (o[At] = !0, o.onload = o.onerror = function() {- It(o);- }), L(o), r.head.appendChild(o);+ np(o, "link", e), t === "style" && (o[kt] = !0, o.onload = o.onerror = function() {+ Ft(o);+ }), R(o), r.head.appendChild(o);}}}@@ -15696,7 +15711,7 @@ var lu = /* @__PURE__ */ m(((e) => {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=\"" + $t(r) + "\"][href=\"" + $t(e) + "\"]", a = i;+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + Qt(r) + "\"][href=\"" + Qt(e) + "\"]", a = i;switch (r) {case "audioworklet":case "paintworklet":@@ -15717,7 +15732,7 @@ var lu = /* @__PURE__ */ m(((e) => {case "worker":case "script": if (n.querySelector(zm(a))) return;}- r = n.createElement("link"), $(r, "link", e), L(r), n.head.appendChild(r);+ r = n.createElement("link"), np(r, "link", e), R(r), n.head.appendChild(r);}}}@@ -15725,7 +15740,7 @@ var lu = /* @__PURE__ */ m(((e) => {xm.S(e, t, n);var r = wm;if (r && e) {- var i = Ft(r).hoistableStyles, a = Pm(e);+ var i = Pt(r).hoistableStyles, a = Pm(e);t ||= "default";var o = i.get(a);if (!o) {@@ -15741,7 +15756,7 @@ var lu = /* @__PURE__ */ m(((e) => {"data-precedence": t}, n), (n = vm.get(a)) && Hm(e, n);var c = o = r.createElement("link");- L(c), $(c, "link", e), c._p = new Promise(function(e, t) {+ R(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;@@ -15762,11 +15777,11 @@ var lu = /* @__PURE__ */ m(((e) => {xm.X(e, t);var n = wm;if (n && e) {- var r = Ft(n).hoistableScripts, i = Rm(e), a = r.get(i);+ var r = Pt(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"), L(a), $(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), R(a), np(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -15778,12 +15793,12 @@ var lu = /* @__PURE__ */ m(((e) => {xm.M(e, t);var n = wm;if (n && e) {- var r = Ft(n).hoistableScripts, i = Rm(e), a = r.get(i);+ var r = Pt(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"), L(a), $(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), R(a), np(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -15792,12 +15807,12 @@ var lu = /* @__PURE__ */ m(((e) => {}}function Nm(e, t, n, r) {- var a = (a = Ce.current) ? bm(a) : null;+ var a = (a = Se.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 = Ft(a).hoistableStyles, r = t.get(n), r || (r = {+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Pm(n.href), t = Pt(a).hoistableStyles, r = t.get(n), r || (r = {type: "style",instance: null,count: 0,@@ -15811,7 +15826,7 @@ var lu = /* @__PURE__ */ m(((e) => {case "link":if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {e = Pm(n.href);- var o = Ft(a).hoistableStyles, s = o.get(e);+ var o = Pt(a).hoistableStyles, s = o.get(e);if (s || (a = a.ownerDocument || a, s = {type: "stylesheet",instance: null,@@ -15834,7 +15849,7 @@ var lu = /* @__PURE__ */ m(((e) => {}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 = Ft(a).hoistableScripts, r = t.get(n), r || (r = {+ case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Rm(n), t = Pt(a).hoistableScripts, r = t.get(n), r || (r = {type: "script",instance: null,count: 0,@@ -15849,7 +15864,7 @@ var lu = /* @__PURE__ */ m(((e) => {}}function Pm(e) {- return "href=\"" + $t(e) + "\"";+ return "href=\"" + Qt(e) + "\"";}function Fm(e) {return "link[rel=\"stylesheet\"][" + e + "]";@@ -15862,11 +15877,11 @@ var lu = /* @__PURE__ */ m(((e) => {}function Lm(e, t, n, r) {if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {- if (!0 !== t[At]) {+ if (!0 !== t[kt]) {r.loading = 1;return;}- } else t = e.createElement("link"), t[At] = !0, t.onload = t.onerror = It.bind(null, t), $(t, "link", n), L(t), e.head.appendChild(t);+ } else t = e.createElement("link"), t[kt] = !0, t.onload = t.onerror = Ft.bind(null, t), np(t, "link", n), R(t), e.head.appendChild(t);r.preload = t, t.addEventListener("load", function() {return r.loading |= 1;}), t.addEventListener("error", function() {@@ -15874,7 +15889,7 @@ var lu = /* @__PURE__ */ m(((e) => {});}function Rm(e) {- return "[src=\"" + $t(e) + "\"]";+ return "[src=\"" + Qt(e) + "\"]";}function zm(e) {return "script[async]" + e;@@ -15882,25 +15897,25 @@ var lu = /* @__PURE__ */ m(((e) => {function Bm(e, t, n) {if (t.count++, t.instance === null) switch (t.type) {case "style":- var r = e.querySelector("style[data-href~=\"" + $t(n.href) + "\"]");- if (r) return t.instance = r, L(r), r;+ var r = e.querySelector("style[data-href~=\"" + Qt(n.href) + "\"]");+ if (r) return t.instance = r, R(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"), L(r), $(r, "style", a), Vm(r, n.precedence, e), t.instance = r;+ return r = (e.ownerDocument || e).createElement("style"), R(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, L(o), o;- r = Im(n), (a = vm.get(a)) && Hm(r, a), o = (e.ownerDocument || e).createElement("link"), L(o);+ if (o) return t.state.loading |= 4, t.instance = o, R(o), o;+ r = Im(n), (a = vm.get(a)) && Hm(r, a), o = (e.ownerDocument || e).createElement("link"), R(o);var s = o;return s._p = new Promise(function(e, t) {s.onload = e, s.onerror = t;- }), $(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, L(a), a) : (r = n, (a = vm.get(o)) && (r = T({}, n), Um(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), L(a), $(a, "link", r), e.head.appendChild(a), t.instance = a);+ }), 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, R(a), a) : (r = n, (a = vm.get(o)) && (r = T({}, n), Um(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), R(a), np(a, "link", r), e.head.appendChild(a), t.instance = a);case "void": return null;default: throw Error(i(443, t.type));}@@ -15930,7 +15945,7 @@ var lu = /* @__PURE__ */ m(((e) => {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[kt] || a[Ct] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {+ if (!(a[Ot] || a[St] || 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);@@ -15977,14 +15992,14 @@ var lu = /* @__PURE__ */ m(((e) => {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, L(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, R(a);return;}- a = t.ownerDocument || t, r = Im(r), (i = vm.get(i)) && Hm(r, i), a = a.createElement("link"), L(a);+ a = t.ownerDocument || t, r = Im(r), (i = vm.get(i)) && Hm(r, i), a = a.createElement("link"), R(a);var o = a;o._p = new Promise(function(e, t) {o.onload = e, o.onerror = t;- }), $(a, "link", r), n.instance = a;+ }), 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));}@@ -16048,25 +16063,25 @@ var lu = /* @__PURE__ */ m(((e) => {$$typeof: te,Provider: null,Consumer: null,- _currentValue: he,- _currentValue2: he,+ _currentValue: me,+ _currentValue2: me,_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 = ft(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = ft(0), this.hiddenUpdates = ft(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();+ 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 = dt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = dt(0), this.hiddenUpdates = dt(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 = ki(3, null, null, t), e.current = a, a.stateNode = e, t = Da(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {+ return e = new ch(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Oi(3, null, null, t), e.current = a, a.stateNode = e, t = Ea(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {element: r,isDehydrated: n,cache: t- }, lo(a), e;+ }, co(a), e;}function uh(e) {- return e ? (e = Di, e) : Di;+ return e ? (e = Ei, e) : Ei;}function dh(e, t, n, r, i, a) {- i = uh(i), r.context === null ? r.context = i : r.pendingContext = i, r = fo(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = po(e, r, t), n !== null && (Pd(n, e, t), mo(n, e, t));+ i = uh(i), r.context === null ? r.context = i : r.pendingContext = i, r = uo(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = fo(e, r, t), n !== null && (Nd(n, e, t), po(n, e, t));}function fh(e, t) {if (e = e.memoizedState, e !== null && e.dehydrated !== null) {@@ -16079,77 +16094,77 @@ var lu = /* @__PURE__ */ m(((e) => {}function mh(e) {if (e.tag === 13 || e.tag === 31) {- var t = wi(e, 67108864);- t !== null && Pd(t, e, 67108864), ph(e, 67108864);+ var t = Ci(e, 67108864);+ t !== null && Nd(t, e, 67108864), ph(e, 67108864);}}function hh(e) {if (e.tag === 13 || e.tag === 31) {var t = jd();- t = vt(t);- var n = wi(e, t);- n !== null && Pd(n, e, t), ph(e, t);+ t = _t(t);+ var n = Ci(e, t);+ n !== null && Nd(n, e, t), ph(e, t);}}var gh = !0;function _h(e, t, n, r) {- var i = P.T;- P.T = null;- var a = F.p;+ var i = F.T;+ F.T = null;+ var a = I.p;try {- F.p = 2, yh(e, t, n, r);+ I.p = 2, yh(e, t, n, r);} finally {- F.p = a, P.T = i;+ I.p = a, F.T = i;}}function vh(e, t, n, r) {- var i = P.T;- P.T = null;- var a = F.p;+ var i = F.T;+ F.T = null;+ var a = I.p;try {- F.p = 8, yh(e, t, n, r);+ I.p = 8, yh(e, t, n, r);} finally {- F.p = a, P.T = i;+ I.p = a, F.T = i;}}function yh(e, t, n, r) {if (gh) {var i = bh(r);- if (i === null) qf(e, t, r, xh, n), Mh(e, r);+ if (i === null) Gf(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 = Nt(i);+ var a = Mt(i);if (a !== null) switch (a.tag) {case 3:if (a = a.stateNode, a.current.memoizedState.isDehydrated) {- var o = ot(a.pendingLanes);+ var o = at(a.pendingLanes);if (o !== 0) {var s = a;for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {- var c = 1 << 31 - $e(o);+ var c = 1 << 31 - Qe(o);s.entanglements[1] |= c, o &= ~c;}- Df(a), !(ed & 6) && (vd = Ve() + 500, Of(0, !1));+ Tf(a), !($u & 6) && (_d = Be() + 500, Ef(0, !1));}}break;case 31:- case 13: s = wi(a, 2), s !== null && Pd(s, a, 2), zd(), ph(a, 2);+ case 13: s = Ci(a, 2), s !== null && Nd(s, a, 2), Rd(), ph(a, 2);}- if (a = bh(r), a === null && qf(e, t, r, xh, n), a === i) break;+ if (a = bh(r), a === null && Gf(e, t, r, xh, n), a === i) break;i = a;}i !== null && r.stopPropagation();- } else qf(e, t, r, null, n);+ } else Gf(e, t, r, null, n);}}function bh(e) {- return e = _n(e), Sh(e);+ return e = gn(e), Sh(e);}var xh = null;function Sh(e) {- if (xh = null, e = Mt(e), e !== null) {+ if (xh = null, e = jt(e), e !== null) {var t = o(e);if (t === null) e = null;else {@@ -16242,12 +16257,12 @@ var lu = /* @__PURE__ */ m(((e) => {case "mouseleave":case "pointerenter":case "pointerleave": return 8;- case "message": switch (He()) {- case Ue: return 2;- case We: return 8;- case Ge:- case Ke: return 32;- case qe: return 268435456;+ case "message": switch (Ve()) {+ case He: return 2;+ case Ue: return 8;+ case We:+ case Ge: return 32;+ case Ke: return 268435456;default: return 32;}default: return 32;@@ -16283,7 +16298,7 @@ var lu = /* @__PURE__ */ m(((e) => {eventSystemFlags: r,nativeEvent: a,targetContainers: [i]- }, t !== null && (t = Nt(t), t !== null && mh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);+ }, t !== null && (t = Mt(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) {@@ -16298,20 +16313,20 @@ var lu = /* @__PURE__ */ m(((e) => {return !1;}function Fh(e) {- var t = Mt(e.target);+ var t = jt(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, xt(e.priority, function() {+ e.blockedOn = t, bt(e.priority, function() {hh(n);});return;}} else if (t === 31) {if (t = c(n), t !== null) {- e.blockedOn = t, xt(e.priority, function() {+ e.blockedOn = t, bt(e.priority, function() {hh(n);});return;@@ -16331,8 +16346,8 @@ var lu = /* @__PURE__ */ m(((e) => {if (n === null) {n = e.nativeEvent;var r = new n.constructor(n.type, n);- gn = r, n.target.dispatchEvent(r), gn = null;- } else return t = Nt(n), t !== null && mh(t), e.blockedOn = n, !1;+ hn = r, n.target.dispatchEvent(r), hn = null;+ } else return t = Mt(n), t !== null && mh(t), e.blockedOn = n, !1;t.shift();}return !0;@@ -16356,8 +16371,8 @@ var lu = /* @__PURE__ */ m(((e) => {if (Sh(r || n) === null) continue;break;}- var a = Nt(n);- a !== null && (e.splice(t, 3), t -= 3, Zs(a, {+ var a = Mt(n);+ a !== null && (e.splice(t, 3), t -= 3, Xs(a, {pending: !0,data: i,method: n.method,@@ -16377,12 +16392,12 @@ var lu = /* @__PURE__ */ m(((e) => {}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[wt] || null;+ var i = n[r], a = n[r + 1], o = i[Ct] || null;if (typeof a == "function") o || Vh(n);else if (o) {var s = null;if (a && a.hasAttribute("formAction")) {- if (i = a, o = a[wt] || null) s = o.formAction;+ if (i = a, o = a[Ct] || 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);@@ -16434,7 +16449,7 @@ var lu = /* @__PURE__ */ m(((e) => {if (e !== null) {this._internalRoot = null;var t = e.containerInfo;- dh(e.current, 2, null, e, null, null), zd(), t[Tt] = null;+ dh(e.current, 2, null, e, null, null), Rd(), t[wt] = null;}};function Gh(e) {@@ -16442,7 +16457,7 @@ var lu = /* @__PURE__ */ m(((e) => {}Gh.prototype.unstable_scheduleHydration = function(e) {if (e) {- var t = bt();+ var t = yt();e = {blockedOn: null,target: e,@@ -16454,7 +16469,7 @@ var lu = /* @__PURE__ */ m(((e) => {};var Kh = n.version;if (Kh !== "19.3.0") throw Error(i(527, Kh, "19.3.0"));- F.findDOMNode = function(e) {+ I.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 : d(e), e = e === null ? null : e.stateNode, e;@@ -16463,19 +16478,19 @@ var lu = /* @__PURE__ */ m(((e) => {bundleType: 0,version: "19.3.0",rendererPackageName: "react-dom",- currentDispatcherRef: P,+ currentDispatcherRef: F,reconcilerVersion: "19.3.0"};if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {var Jh = __REACT_DEVTOOLS_GLOBAL_HOOK__;if (!Jh.isDisabled && Jh.supportsFiber) try {- Xe = Jh.inject(qh), Ze = Jh;+ Ye = Jh.inject(qh), Xe = Jh;} catch {}}e.createRoot = function(e, t) {if (!a(e)) throw Error(i(299));- var n = !1, r = "", o = bc, s = xc, c = Sc;- 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[Tt] = t.current, Gf(e), new Wh(t);+ var n = !1, r = "", o = yc, s = bc, c = xc;+ 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[wt] = t.current, Uf(e), new Wh(t);};})), fu = (/* @__PURE__ */ m(((e, t) => {function n() {@@ -16494,7 +16509,23 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), mu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), mu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, x.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), hu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, x.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), gu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16502,7 +16533,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), hu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), _u = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16510,7 +16541,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), gu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), vu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16518,7 +16549,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), _u = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), yu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16526,7 +16557,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), vu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.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 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), bu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16534,7 +16565,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.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 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), yu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), xu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16542,7 +16573,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), bu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.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 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Su = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16550,7 +16581,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.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 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), xu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Cu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16558,7 +16589,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Su = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), wu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16566,7 +16597,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Cu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.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" })), Tu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16574,7 +16605,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.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" })), wu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.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 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Eu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16582,7 +16613,7 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.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 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Tu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, x.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Du = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16590,100 +16621,100 @@ var lu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Eu = (e, t) => {+}, x.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Ou = (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;-}, Du = (e, t) => ({+}, ku = (e, t) => ({classGroupId: e,validator: t-}), Ou = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), Au = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), ku = "-", Au = [], ju = "arbitrary..", Mu = (e) => {- let t = Fu(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), ju = "-", Mu = [], Nu = "arbitrary..", Pu = (e) => {+ let t = Lu(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return Pu(e);- let n = e.split(ku);- return Nu(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return Iu(e);+ let n = e.split(ju);+ return Fu(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Eu(i, t) : t : i || Au;+ return t ? i ? Ou(i, t) : t : i || Mu;}- return n[e] || Au;+ return n[e] || Mu;}};-}, Nu = (e, t, n) => {+}, Fu = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = Nu(e, t + 1, i);+ let n = Fu(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(ku) : e.slice(t).join(ku), s = a.length;+ let o = t === 0 ? e.join(ju) : e.slice(t).join(ju), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, Pu = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, Iu = (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 ? ju + r : void 0;-})(), Fu = (e) => {+ return r ? Nu + r : void 0;+})(), Lu = (e) => {let { theme: t, classGroups: n } = e;- return Iu(n, t);-}, Iu = (e, t) => {- let n = Ou();+ return Ru(n, t);+}, Ru = (e, t) => {+ let n = Au();for (let r in e) {let i = e[r];- Lu(i, n, r, t);+ zu(i, n, r, t);}return n;-}, Lu = (e, t, n, r) => {+}, zu = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- Ru(i, t, n, r);+ Bu(i, t, n, r);}-}, Ru = (e, t, n, r) => {+}, Bu = (e, t, n, r) => {if (typeof e == "string") {- zu(e, t, n);+ Vu(e, t, n);return;}if (typeof e == "function") {- Bu(e, t, n, r);+ Hu(e, t, n, r);return;}- Vu(e, t, n, r);-}, zu = (e, t, n) => {- let r = e === "" ? t : Hu(t, e);+ Uu(e, t, n, r);+}, Vu = (e, t, n) => {+ let r = e === "" ? t : Wu(t, e);r.classGroupId = n;-}, Bu = (e, t, n, r) => {- if (Uu(e)) {- Lu(e(r), t, n, r);+}, Hu = (e, t, n, r) => {+ if (Gu(e)) {+ zu(e(r), t, n, r);return;}- t.validators === null && (t.validators = []), t.validators.push(Du(n, e));-}, Vu = (e, t, n, r) => {+ t.validators === null && (t.validators = []), t.validators.push(ku(n, e));+}, Uu = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- Lu(o, Hu(t, a), n, r);+ zu(o, Wu(t, a), n, r);}-}, Hu = (e, t) => {- let n = e, r = t.split(ku), i = r.length;+}, Wu = (e, t) => {+ let n = e, r = t.split(ju), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = Ou(), n.nextPart.set(t, i)), n = i;+ i || (i = Au(), n.nextPart.set(t, i)), n = i;}return n;-}, Uu = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Wu = (e) => {+}, Gu = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ku = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -16701,19 +16732,19 @@ var lu = /* @__PURE__ */ m(((e) => {e in n ? n[e] = t : i(e, t);}};-}, Gu = "!", Ku = ":", qu = [], Ju = (e, t, n, r, i) => ({+}, qu = "!", Ju = ":", Yu = [], Xu = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), Yu = (e) => {+}), Zu = (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 === Ku) {+ if (o === Ju) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -16725,13 +16756,13 @@ var lu = /* @__PURE__ */ m(((e) => {o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(Gu) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Gu) && (c = s.slice(1), l = !0);+ s.endsWith(qu) ? (c = s.slice(0, -1), l = !0) : s.startsWith(qu) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return Ju(t, l, c, u);+ return Xu(t, l, c, u);};if (t) {- let e = t + Ku, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Ju(qu, !1, t, void 0, !0);+ let e = t + Ju, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Xu(Yu, !1, t, void 0, !0);}if (n) {let e = r;@@ -16741,7 +16772,7 @@ var lu = /* @__PURE__ */ m(((e) => {});}return r;-}, Xu = (e) => {+}, Qu = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -16753,18 +16784,18 @@ var lu = /* @__PURE__ */ m(((e) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, Zu = (e) => ({- cache: Wu(e.cacheSize),- parseClassName: Yu(e),- sortModifiers: Xu(e),- postfixLookupClassGroupIds: Qu(e),- ...Mu(e)-}), Qu = (e) => {+}, $u = (e) => ({+ cache: Ku(e.cacheSize),+ parseClassName: Zu(e),+ sortModifiers: Qu(e),+ postfixLookupClassGroupIds: ed(e),+ ...Pu(e)+}), ed = (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;-}, $u = /\s+/, ed = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split($u), l = "";+}, q = /\s+/, J = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(q), 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) {@@ -16788,7 +16819,7 @@ var lu = /* @__PURE__ */ m(((e) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Gu : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + qu : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -16801,32 +16832,32 @@ var lu = /* @__PURE__ */ m(((e) => {return l;}, td = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = K(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = nd(n)) && (i && (i += " "), i += r);return i;-}, K = (e) => {+}, nd = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = K(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = nd(e[r])) && (n && (n += " "), n += t);return n;-}, q = (e, ...t) => {- let n, r, i, a, o = (o) => (n = Zu(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, rd = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = $u(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 = ed(e, n);+ let a = J(e, n);return i(e, a), a;};return a = o, (...e) => a(td(...e));-}, nd = [], rd = (e) => {- let t = (t) => t[e] || nd;+}, id = [], ad = (e) => {+ let t = (t) => t[e] || id;return t.isThemeGetter = !0, t.themeKey = e, t;-}, id = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ad = /^\((?:(\w[\w-]*):)?(.+)\)$/i, od = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, sd = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, cd = /\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$/, ld = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, ud = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, dd = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, fd = (e) => od.test(e), J = (e) => !!e && !Number.isNaN(Number(e)), pd = (e) => !!e && Number.isInteger(Number(e)), md = (e) => e.endsWith("%") && J(e.slice(0, -1)), hd = (e) => sd.test(e), gd = () => !0, _d = (e) => cd.test(e) && !ld.test(e), vd = () => !1, yd = (e) => ud.test(e), bd = (e) => dd.test(e), xd = (e) => !Y(e) && !X(e), Sd = (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)), Cd = (e) => Rd(e, Hd, vd), Y = (e) => id.test(e), wd = (e) => Rd(e, Ud, _d), Td = (e) => Rd(e, Wd, J), Ed = (e) => Rd(e, Kd, gd), Dd = (e) => Rd(e, Gd, vd), Od = (e) => Rd(e, Bd, vd), kd = (e) => Rd(e, Vd, bd), Ad = (e) => Rd(e, qd, yd), X = (e) => ad.test(e), jd = (e) => zd(e, Ud), Md = (e) => zd(e, Gd), Nd = (e) => zd(e, Bd), Pd = (e) => zd(e, Hd), Fd = (e) => zd(e, Vd), Id = (e) => zd(e, qd, !0), Ld = (e) => zd(e, Kd, !0), Rd = (e, t, n) => {- let r = id.exec(e);+}, od = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, sd = /^\((?:(\w[\w-]*):)?(.+)\)$/i, cd = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ld = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ud = /\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$/, dd = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, fd = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pd = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, md = (e) => cd.test(e), Y = (e) => !!e && !Number.isNaN(Number(e)), hd = (e) => !!e && Number.isInteger(Number(e)), gd = (e) => e.endsWith("%") && Y(e.slice(0, -1)), _d = (e) => ld.test(e), vd = () => !0, yd = (e) => ud.test(e) && !dd.test(e), bd = () => !1, xd = (e) => fd.test(e), Sd = (e) => pd.test(e), Cd = (e) => !X(e) && !Z(e), wd = (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)), Td = (e) => Bd(e, Wd, bd), X = (e) => od.test(e), Ed = (e) => Bd(e, Gd, yd), Dd = (e) => Bd(e, Kd, Y), Od = (e) => Bd(e, Jd, vd), kd = (e) => Bd(e, qd, bd), Ad = (e) => Bd(e, Hd, bd), jd = (e) => Bd(e, Ud, Sd), Md = (e) => Bd(e, Yd, xd), Z = (e) => sd.test(e), Nd = (e) => Vd(e, Gd), Pd = (e) => Vd(e, qd), Fd = (e) => Vd(e, Hd), Id = (e) => Vd(e, Wd), Ld = (e) => Vd(e, Ud), Rd = (e) => Vd(e, Yd, !0), zd = (e) => Vd(e, Jd, !0), Bd = (e, t, n) => {+ let r = od.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, zd = (e, t, n = !1) => {- let r = ad.exec(e);+}, Vd = (e, t, n = !1) => {+ let r = sd.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, Bd = (e) => e === "position" || e === "percentage", Vd = (e) => e === "image" || e === "url", Hd = (e) => e === "length" || e === "size" || e === "bg-size", Ud = (e) => e === "length", Wd = (e) => e === "number", Gd = (e) => e === "family-name", Kd = (e) => e === "number" || e === "weight", qd = (e) => e === "shadow", Jd = () => {- let e = rd("color"), t = rd("font"), n = rd("text"), r = rd("font-weight"), i = rd("tracking"), a = rd("leading"), o = rd("breakpoint"), s = rd("container"), c = rd("spacing"), l = rd("radius"), u = rd("shadow"), d = rd("inset-shadow"), f = rd("text-shadow"), p = rd("drop-shadow"), m = rd("blur"), h = rd("perspective"), g = rd("aspect"), _ = rd("ease"), v = rd("animate"), y = () => [+}, Hd = (e) => e === "position" || e === "percentage", Ud = (e) => e === "image" || e === "url", Wd = (e) => e === "length" || e === "size" || e === "bg-size", Gd = (e) => e === "length", Kd = (e) => e === "number", qd = (e) => e === "family-name", Jd = (e) => e === "number" || e === "weight", Yd = (e) => e === "shadow", Xd = () => {+ let e = ad("color"), t = ad("font"), n = ad("text"), r = ad("font-weight"), i = ad("tracking"), a = ad("leading"), o = ad("breakpoint"), s = ad("container"), c = ad("spacing"), l = ad("radius"), u = ad("shadow"), d = ad("inset-shadow"), f = ad("text-shadow"), p = ad("drop-shadow"), m = ad("blur"), h = ad("perspective"), g = ad("aspect"), _ = ad("ease"), v = ad("animate"), y = () => ["auto","avoid","all",@@ -16851,8 +16882,8 @@ var lu = /* @__PURE__ */ m(((e) => {"left-bottom"], x = () => [...b(),- X,- Y+ Z,+ X], S = () => ["auto","hidden",@@ -16864,43 +16895,43 @@ var lu = /* @__PURE__ */ m(((e) => {"contain","none"], w = () => [+ Z,X,- Y,c], T = () => [- fd,+ md,"full","auto",...w()], E = () => [- pd,+ hd,"none","subgrid",- X,- Y+ Z,+ X], D = () => ["auto",{ span: ["full",- pd,- X,- Y+ hd,+ Z,+ X] },- pd,- X,- Y+ hd,+ Z,+ X], O = () => [- pd,+ hd,"auto",- X,- Y+ Z,+ X], k = () => ["auto","min","max","fr",- X,- Y+ Z,+ X], A = () => ["start","end",@@ -16920,7 +16951,7 @@ var lu = /* @__PURE__ */ m(((e) => {"center-safe","end-safe"], j = () => ["auto", ...w()], te = () => [- fd,+ md,"auto","full","dvw",@@ -16935,7 +16966,7 @@ var lu = /* @__PURE__ */ m(((e) => {...w()], M = () => [s,- fd,+ md,"screen","full","dvw",@@ -16946,7 +16977,7 @@ var lu = /* @__PURE__ */ m(((e) => {"fit",...w()], ne = () => [- fd,+ md,"screen","full","lh",@@ -16959,48 +16990,48 @@ var lu = /* @__PURE__ */ m(((e) => {...w()], N = () => [e,- X,- Y+ Z,+ X], re = () => [...b(),- Nd,- Od,- { position: [X, Y] }- ], ie = () => ["no-repeat", { repeat: [+ Fd,+ Ad,+ { position: [Z, X] }+ ], P = () => ["no-repeat", { repeat: ["","x","y","space","round"- ] }], ae = () => [+ ] }], ie = () => ["auto","cover","contain",- Pd,- Cd,- { size: [X, Y] }+ Id,+ Td,+ { size: [Z, X] }+ ], ae = () => [+ gd,+ Nd,+ Ed], oe = () => [- md,- jd,- wd- ], se = () => ["","none","full",l,- X,- Y- ], ce = () => [+ Z,+ X+ ], se = () => ["",- J,- jd,- wd- ], le = () => [+ Y,+ Nd,+ Ed+ ], ce = () => ["solid","dashed","dotted","double"- ], ue = () => [+ ], le = () => ["normal","multiply","screen",@@ -17017,33 +17048,33 @@ var lu = /* @__PURE__ */ m(((e) => {"saturation","color","luminosity"+ ], ue = () => [+ Y,+ gd,+ Fd,+ Ad], de = () => [- J,- md,- Nd,- Od- ], fe = () => ["","none",m,- X,- Y- ], pe = () => [+ Z,+ X+ ], fe = () => ["none",- J,- X,- Y- ], me = () => [+ Y,+ Z,+ X+ ], pe = () => ["none",- J,- X,- Y- ], P = () => [- J,- X,- Y+ Y,+ Z,+ X], F = () => [- fd,+ Y,+ Z,+ X+ ], I = () => [+ md,"full",...w()];@@ -17057,17 +17088,17 @@ var lu = /* @__PURE__ */ m(((e) => {"bounce"],aspect: ["video"],- blur: [hd],- breakpoint: [hd],- color: [gd],- container: [hd],- "drop-shadow": [hd],+ blur: [_d],+ breakpoint: [_d],+ color: [vd],+ container: [_d],+ "drop-shadow": [_d],ease: ["in","out","in-out"],- font: [xd],+ font: [Cd],"font-weight": ["thin","extralight",@@ -17079,7 +17110,7 @@ var lu = /* @__PURE__ */ m(((e) => {"extrabold","black"],- "inset-shadow": [hd],+ "inset-shadow": [_d],leading: ["none","tight",@@ -17096,11 +17127,11 @@ var lu = /* @__PURE__ */ m(((e) => {"distant","none"],- radius: [hd],- shadow: [hd],- spacing: ["px", J],- text: [hd],- "text-shadow": [hd],+ radius: [_d],+ shadow: [_d],+ spacing: ["px", Y],+ text: [_d],+ "text-shadow": [_d],tracking: ["tighter","tight",@@ -17114,9 +17145,9 @@ var lu = /* @__PURE__ */ m(((e) => {aspect: [{ aspect: ["auto","square",- fd,- Y,+ md,X,+ Z,g] }],container: ["container"],@@ -17124,15 +17155,15 @@ var lu = /* @__PURE__ */ m(((e) => {"","normal","size",- X,- Y+ Z,+ X] }],- "container-named": [Sd],+ "container-named": [wd],columns: [{ columns: [- J,- "auto",Y,+ "auto",X,+ Z,s] }],"break-after": [{ "break-after": y() }],@@ -17229,13 +17260,13 @@ var lu = /* @__PURE__ */ m(((e) => {"collapse"],z: [{ z: [- pd,+ hd,"auto",- X,- Y+ Z,+ X] }],basis: [{ basis: [- fd,+ md,"full","auto",s,@@ -17253,32 +17284,32 @@ var lu = /* @__PURE__ */ m(((e) => {"wrap-reverse"] }],flex: [{ flex: [- J,- fd,+ Y,+ md,"auto","initial","none",- Y+ X] }],grow: [{ grow: ["",- J,- X,- Y+ Y,+ Z,+ X] }],shrink: [{ shrink: ["",- J,- X,- Y+ Y,+ Z,+ X] }],order: [{ order: [- pd,+ hd,"first","last","none",- X,- Y+ Z,+ X] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -17385,15 +17416,15 @@ var lu = /* @__PURE__ */ m(((e) => {"font-size": [{ text: ["base",n,- jd,- wd+ Nd,+ Ed] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- Ld,- Ed+ zd,+ Od] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -17405,15 +17436,15 @@ var lu = /* @__PURE__ */ m(((e) => {"expanded","extra-expanded","ultra-expanded",- md,- Y+ gd,+ X] }],"font-family": [{ font: [- Md,- Dd,+ Pd,+ kd,t] }],- "font-features": [{ "font-features": [Y] }],+ "font-features": [{ "font-features": [X] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -17422,14 +17453,14 @@ var lu = /* @__PURE__ */ m(((e) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- X,- Y+ Z,+ X] }],"line-clamp": [{ "line-clamp": [- J,+ Y,"none",- X,- Td+ Z,+ Dd] }],leading: [{ leading: ["none",@@ -17438,16 +17469,16 @@ var lu = /* @__PURE__ */ m(((e) => {] }],"list-image": [{ "list-image": ["none",- X,- Y+ Z,+ X] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- X,- Y+ Z,+ X] }],"text-alignment": [{ text: ["left",@@ -17465,20 +17496,20 @@ var lu = /* @__PURE__ */ m(((e) => {"line-through","no-underline"],- "text-decoration-style": [{ decoration: [...le(), "wavy"] }],+ "text-decoration-style": [{ decoration: [...ce(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- J,+ Y,"from-font","auto",- X,- wd+ Z,+ Ed] }],"text-decoration-color": [{ decoration: N() }],"underline-offset": [{ "underline-offset": [- J,+ Y,"auto",- X,- Y+ Z,+ X] }],"text-transform": ["uppercase",@@ -17499,9 +17530,9 @@ var lu = /* @__PURE__ */ m(((e) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- pd,- X,- Y+ hd,+ Z,+ X] }],"vertical-align": [{ align: ["baseline",@@ -17512,8 +17543,8 @@ var lu = /* @__PURE__ */ m(((e) => {"text-bottom","sub","super",- X,- Y+ Z,+ X] }],whitespace: [{ whitespace: ["normal",@@ -17541,8 +17572,8 @@ var lu = /* @__PURE__ */ m(((e) => {] }],content: [{ content: ["none",- X,- Y+ Z,+ X] }],"bg-attachment": [{ bg: ["fixed",@@ -17561,8 +17592,8 @@ var lu = /* @__PURE__ */ m(((e) => {"content"] }],"bg-position": [{ bg: re() }],- "bg-repeat": [{ bg: ie() }],- "bg-size": [{ bg: ae() }],+ "bg-repeat": [{ bg: P() }],+ "bg-size": [{ bg: ie() }],"bg-image": [{ bg: ["none",{@@ -17577,69 +17608,69 @@ var lu = /* @__PURE__ */ m(((e) => {"l","tl"] },- pd,- X,- Y+ hd,+ Z,+ X],radial: ["",- X,- Y+ Z,+ X],conic: ["",- pd,- X,- Y+ hd,+ Z,+ X]},- Fd,- kd+ Ld,+ jd] }],"bg-color": [{ bg: N() }],- "gradient-from-pos": [{ from: oe() }],- "gradient-via-pos": [{ via: oe() }],- "gradient-to-pos": [{ to: oe() }],+ "gradient-from-pos": [{ from: ae() }],+ "gradient-via-pos": [{ via: ae() }],+ "gradient-to-pos": [{ to: ae() }],"gradient-from": [{ from: N() }],"gradient-via": [{ via: N() }],"gradient-to": [{ to: N() }],- rounded: [{ rounded: se() }],- "rounded-s": [{ "rounded-s": se() }],- "rounded-e": [{ "rounded-e": se() }],- "rounded-t": [{ "rounded-t": se() }],- "rounded-r": [{ "rounded-r": se() }],- "rounded-b": [{ "rounded-b": se() }],- "rounded-l": [{ "rounded-l": se() }],- "rounded-ss": [{ "rounded-ss": se() }],- "rounded-se": [{ "rounded-se": se() }],- "rounded-ee": [{ "rounded-ee": se() }],- "rounded-es": [{ "rounded-es": se() }],- "rounded-tl": [{ "rounded-tl": se() }],- "rounded-tr": [{ "rounded-tr": se() }],- "rounded-br": [{ "rounded-br": se() }],- "rounded-bl": [{ "rounded-bl": se() }],- "border-w": [{ border: ce() }],- "border-w-x": [{ "border-x": ce() }],- "border-w-y": [{ "border-y": ce() }],- "border-w-s": [{ "border-s": ce() }],- "border-w-e": [{ "border-e": ce() }],- "border-w-bs": [{ "border-bs": ce() }],- "border-w-be": [{ "border-be": ce() }],- "border-w-t": [{ "border-t": ce() }],- "border-w-r": [{ "border-r": ce() }],- "border-w-b": [{ "border-b": ce() }],- "border-w-l": [{ "border-l": ce() }],- "divide-x": [{ "divide-x": ce() }],+ rounded: [{ rounded: oe() }],+ "rounded-s": [{ "rounded-s": oe() }],+ "rounded-e": [{ "rounded-e": oe() }],+ "rounded-t": [{ "rounded-t": oe() }],+ "rounded-r": [{ "rounded-r": oe() }],+ "rounded-b": [{ "rounded-b": oe() }],+ "rounded-l": [{ "rounded-l": oe() }],+ "rounded-ss": [{ "rounded-ss": oe() }],+ "rounded-se": [{ "rounded-se": oe() }],+ "rounded-ee": [{ "rounded-ee": oe() }],+ "rounded-es": [{ "rounded-es": oe() }],+ "rounded-tl": [{ "rounded-tl": oe() }],+ "rounded-tr": [{ "rounded-tr": oe() }],+ "rounded-br": [{ "rounded-br": oe() }],+ "rounded-bl": [{ "rounded-bl": oe() }],+ "border-w": [{ border: se() }],+ "border-w-x": [{ "border-x": se() }],+ "border-w-y": [{ "border-y": se() }],+ "border-w-s": [{ "border-s": se() }],+ "border-w-e": [{ "border-e": se() }],+ "border-w-bs": [{ "border-bs": se() }],+ "border-w-be": [{ "border-be": se() }],+ "border-w-t": [{ "border-t": se() }],+ "border-w-r": [{ "border-r": se() }],+ "border-w-b": [{ "border-b": se() }],+ "border-w-l": [{ "border-l": se() }],+ "divide-x": [{ "divide-x": se() }],"divide-x-reverse": ["divide-x-reverse"],- "divide-y": [{ "divide-y": ce() }],+ "divide-y": [{ "divide-y": se() }],"divide-y-reverse": ["divide-y-reverse"],"border-style": [{ border: [- ...le(),+ ...ce(),"hidden","none"] }],"divide-style": [{ divide: [- ...le(),+ ...ce(),"hidden","none"] }],@@ -17656,20 +17687,20 @@ var lu = /* @__PURE__ */ m(((e) => {"border-color-l": [{ "border-l": N() }],"divide-color": [{ divide: N() }],"outline-style": [{ outline: [- ...le(),+ ...ce(),"none","hidden"] }],"outline-offset": [{ "outline-offset": [- J,- X,- Y+ Y,+ Z,+ X] }],"outline-w": [{ outline: ["",- J,- jd,- wd+ Y,+ Nd,+ Ed] }],"outline-color": [{ outline: N() }],shadow: [{ shadow: [@@ -17677,42 +17708,42 @@ var lu = /* @__PURE__ */ m(((e) => {"inner","none",u,- Id,- Ad+ Rd,+ Md] }],"shadow-color": [{ shadow: N() }],"inset-shadow": [{ "inset-shadow": ["none",d,- Id,- Ad+ Rd,+ Md] }],"inset-shadow-color": [{ "inset-shadow": N() }],- "ring-w": [{ ring: ce() }],+ "ring-w": [{ ring: se() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: N() }],- "ring-offset-w": [{ "ring-offset": [J, wd] }],+ "ring-offset-w": [{ "ring-offset": [Y, Ed] }],"ring-offset-color": [{ "ring-offset": N() }],- "inset-ring-w": [{ "inset-ring": ce() }],+ "inset-ring-w": [{ "inset-ring": se() }],"inset-ring-color": [{ "inset-ring": N() }],"text-shadow": [{ "text-shadow": ["none",f,- Id,- Ad+ Rd,+ Md] }],"text-shadow-color": [{ "text-shadow": N() }],opacity: [{ opacity: [- J,- X,- Y+ Y,+ Z,+ X] }],"mix-blend": [{ "mix-blend": [- ...ue(),+ ...le(),"plus-darker","plus-lighter"] }],- "bg-blend": [{ "bg-blend": ue() }],+ "bg-blend": [{ "bg-blend": le() }],"mask-clip": [{ "mask-clip": ["border","padding",@@ -17727,38 +17758,38 @@ var lu = /* @__PURE__ */ m(((e) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [J] }],- "mask-image-linear-from-pos": [{ "mask-linear-from": de() }],- "mask-image-linear-to-pos": [{ "mask-linear-to": de() }],+ "mask-image-linear-pos": [{ "mask-linear": [Y] }],+ "mask-image-linear-from-pos": [{ "mask-linear-from": ue() }],+ "mask-image-linear-to-pos": [{ "mask-linear-to": ue() }],"mask-image-linear-from-color": [{ "mask-linear-from": N() }],"mask-image-linear-to-color": [{ "mask-linear-to": N() }],- "mask-image-t-from-pos": [{ "mask-t-from": de() }],- "mask-image-t-to-pos": [{ "mask-t-to": de() }],+ "mask-image-t-from-pos": [{ "mask-t-from": ue() }],+ "mask-image-t-to-pos": [{ "mask-t-to": ue() }],"mask-image-t-from-color": [{ "mask-t-from": N() }],"mask-image-t-to-color": [{ "mask-t-to": N() }],- "mask-image-r-from-pos": [{ "mask-r-from": de() }],- "mask-image-r-to-pos": [{ "mask-r-to": de() }],+ "mask-image-r-from-pos": [{ "mask-r-from": ue() }],+ "mask-image-r-to-pos": [{ "mask-r-to": ue() }],"mask-image-r-from-color": [{ "mask-r-from": N() }],"mask-image-r-to-color": [{ "mask-r-to": N() }],- "mask-image-b-from-pos": [{ "mask-b-from": de() }],- "mask-image-b-to-pos": [{ "mask-b-to": de() }],+ "mask-image-b-from-pos": [{ "mask-b-from": ue() }],+ "mask-image-b-to-pos": [{ "mask-b-to": ue() }],"mask-image-b-from-color": [{ "mask-b-from": N() }],"mask-image-b-to-color": [{ "mask-b-to": N() }],- "mask-image-l-from-pos": [{ "mask-l-from": de() }],- "mask-image-l-to-pos": [{ "mask-l-to": de() }],+ "mask-image-l-from-pos": [{ "mask-l-from": ue() }],+ "mask-image-l-to-pos": [{ "mask-l-to": ue() }],"mask-image-l-from-color": [{ "mask-l-from": N() }],"mask-image-l-to-color": [{ "mask-l-to": N() }],- "mask-image-x-from-pos": [{ "mask-x-from": de() }],- "mask-image-x-to-pos": [{ "mask-x-to": de() }],+ "mask-image-x-from-pos": [{ "mask-x-from": ue() }],+ "mask-image-x-to-pos": [{ "mask-x-to": ue() }],"mask-image-x-from-color": [{ "mask-x-from": N() }],"mask-image-x-to-color": [{ "mask-x-to": N() }],- "mask-image-y-from-pos": [{ "mask-y-from": de() }],- "mask-image-y-to-pos": [{ "mask-y-to": de() }],+ "mask-image-y-from-pos": [{ "mask-y-from": ue() }],+ "mask-image-y-to-pos": [{ "mask-y-to": ue() }],"mask-image-y-from-color": [{ "mask-y-from": N() }],"mask-image-y-to-color": [{ "mask-y-to": N() }],- "mask-image-radial": [{ "mask-radial": [X, Y] }],- "mask-image-radial-from-pos": [{ "mask-radial-from": de() }],- "mask-image-radial-to-pos": [{ "mask-radial-to": de() }],+ "mask-image-radial": [{ "mask-radial": [Z, X] }],+ "mask-image-radial-from-pos": [{ "mask-radial-from": ue() }],+ "mask-image-radial-to-pos": [{ "mask-radial-to": ue() }],"mask-image-radial-from-color": [{ "mask-radial-from": N() }],"mask-image-radial-to-color": [{ "mask-radial-to": N() }],"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],@@ -17767,9 +17798,9 @@ var lu = /* @__PURE__ */ m(((e) => {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": de() }],- "mask-image-conic-to-pos": [{ "mask-conic-to": de() }],+ "mask-image-conic-pos": [{ "mask-conic": [Y] }],+ "mask-image-conic-from-pos": [{ "mask-conic-from": ue() }],+ "mask-image-conic-to-pos": [{ "mask-conic-to": ue() }],"mask-image-conic-from-color": [{ "mask-conic-from": N() }],"mask-image-conic-to-color": [{ "mask-conic-to": N() }],"mask-mode": [{ mask: [@@ -17786,116 +17817,116 @@ var lu = /* @__PURE__ */ m(((e) => {"view"] }],"mask-position": [{ mask: re() }],- "mask-repeat": [{ mask: ie() }],- "mask-size": [{ mask: ae() }],+ "mask-repeat": [{ mask: P() }],+ "mask-size": [{ mask: ie() }],"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- X,- Y+ Z,+ X] }],filter: [{ filter: ["","none",- X,- Y+ Z,+ X] }],- blur: [{ blur: fe() }],+ blur: [{ blur: de() }],brightness: [{ brightness: [- J,- X,- Y+ Y,+ Z,+ X] }],contrast: [{ contrast: [- J,- X,- Y+ Y,+ Z,+ X] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- Id,- Ad+ Rd,+ Md] }],"drop-shadow-color": [{ "drop-shadow": N() }],grayscale: [{ grayscale: ["",- J,- X,- Y+ Y,+ Z,+ X] }],"hue-rotate": [{ "hue-rotate": [- J,- X,- Y+ Y,+ Z,+ X] }],invert: [{ invert: ["",- J,- X,- Y+ Y,+ Z,+ X] }],saturate: [{ saturate: [- J,- X,- Y+ Y,+ Z,+ X] }],sepia: [{ sepia: ["",- J,- X,- Y+ Y,+ Z,+ X] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- X,- Y+ Z,+ X] }],- "backdrop-blur": [{ "backdrop-blur": fe() }],+ "backdrop-blur": [{ "backdrop-blur": de() }],"backdrop-brightness": [{ "backdrop-brightness": [- J,- X,- Y+ Y,+ Z,+ X] }],"backdrop-contrast": [{ "backdrop-contrast": [- J,- X,- Y+ Y,+ Z,+ X] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- J,- X,- Y+ Y,+ Z,+ X] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- J,- X,- Y+ Y,+ Z,+ X] }],"backdrop-invert": [{ "backdrop-invert": ["",- J,- X,- Y+ Y,+ Z,+ X] }],"backdrop-opacity": [{ "backdrop-opacity": [- J,- X,- Y+ Y,+ Z,+ X] }],"backdrop-saturate": [{ "backdrop-saturate": [- J,- X,- Y+ Y,+ Z,+ X] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- J,- X,- Y+ Y,+ Z,+ X] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -17911,56 +17942,56 @@ var lu = /* @__PURE__ */ m(((e) => {"shadow","transform","none",- X,- Y+ Z,+ X] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- J,+ Y,"initial",- X,- Y+ Z,+ X] }],ease: [{ ease: ["linear","initial",_,- X,- Y+ Z,+ X] }],delay: [{ delay: [- J,- X,- Y+ Y,+ Z,+ X] }],animate: [{ animate: ["none",v,- X,- Y+ Z,+ X] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- X,- Y+ Z,+ X] }],"perspective-origin": [{ "perspective-origin": x() }],- rotate: [{ rotate: pe() }],- "rotate-x": [{ "rotate-x": pe() }],- "rotate-y": [{ "rotate-y": pe() }],- "rotate-z": [{ "rotate-z": pe() }],- scale: [{ scale: me() }],- "scale-x": [{ "scale-x": me() }],- "scale-y": [{ "scale-y": me() }],- "scale-z": [{ "scale-z": me() }],+ rotate: [{ rotate: fe() }],+ "rotate-x": [{ "rotate-x": fe() }],+ "rotate-y": [{ "rotate-y": fe() }],+ "rotate-z": [{ "rotate-z": fe() }],+ scale: [{ scale: pe() }],+ "scale-x": [{ "scale-x": pe() }],+ "scale-y": [{ "scale-y": pe() }],+ "scale-z": [{ "scale-z": pe() }],"scale-3d": ["scale-3d"],- skew: [{ skew: P() }],- "skew-x": [{ "skew-x": P() }],- "skew-y": [{ "skew-y": P() }],+ skew: [{ skew: F() }],+ "skew-x": [{ "skew-x": F() }],+ "skew-y": [{ "skew-y": F() }],transform: [{ transform: [+ Z,X,- Y,"","none","gpu",@@ -17968,15 +17999,15 @@ var lu = /* @__PURE__ */ m(((e) => {] }],"transform-origin": [{ origin: x() }],"transform-style": [{ transform: ["3d", "flat"] }],- translate: [{ translate: F() }],- "translate-x": [{ "translate-x": F() }],- "translate-y": [{ "translate-y": F() }],- "translate-z": [{ "translate-z": F() }],+ translate: [{ translate: I() }],+ "translate-x": [{ "translate-x": I() }],+ "translate-y": [{ "translate-y": I() }],+ "translate-z": [{ "translate-z": I() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- pd,- X,- Y+ hd,+ Z,+ X] }],accent: [{ accent: N() }],appearance: [{ appearance: ["none", "auto"] }],@@ -18026,8 +18057,8 @@ var lu = /* @__PURE__ */ m(((e) => {"nwse-resize","zoom-in","zoom-out",- X,- Y+ Z,+ X] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -18113,15 +18144,15 @@ var lu = /* @__PURE__ */ m(((e) => {"scroll","contents","transform",- X,- Y+ Z,+ X] }],fill: [{ fill: ["none", ...N()] }],"stroke-w": [{ stroke: [- J,- jd,- wd,- Td+ Y,+ Nd,+ Ed,+ Dd] }],stroke: [{ stroke: ["none", ...N()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -18379,16 +18410,16 @@ var lu = /* @__PURE__ */ m(((e) => {"selection"]};-}, Yd = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Xd(e, "cacheSize", t), Xd(e, "prefix", n), Xd(e, "experimentalParseClassName", r), Zd(e.theme, a.theme), Zd(e.classGroups, a.classGroups), Zd(e.conflictingClassGroups, a.conflictingClassGroups), Zd(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Xd(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Xd(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Qd(e.theme, i.theme), Qd(e.classGroups, i.classGroups), Qd(e.conflictingClassGroups, i.conflictingClassGroups), Qd(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), $d(e, i, "postfixLookupClassGroups"), $d(e, i, "orderSensitiveModifiers"), e), Xd = (e, t, n) => {+}, Zd = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Qd(e, "cacheSize", t), Qd(e, "prefix", n), Qd(e, "experimentalParseClassName", r), $d(e.theme, a.theme), $d(e.classGroups, a.classGroups), $d(e.conflictingClassGroups, a.conflictingClassGroups), $d(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Qd(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Qd(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), ef(e.theme, i.theme), ef(e.classGroups, i.classGroups), ef(e.conflictingClassGroups, i.conflictingClassGroups), ef(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), tf(e, i, "postfixLookupClassGroups"), tf(e, i, "orderSensitiveModifiers"), e), Qd = (e, t, n) => {n !== void 0 && (e[t] = n);-}, Zd = (e, t) => {- if (t) for (let n in t) Xd(e, n, t[n]);-}, Qd = (e, t) => {- if (t) for (let n in t) $d(e, t, n);-}, $d = (e, t, n) => {+}, $d = (e, t) => {+ if (t) for (let n in t) Qd(e, n, t[n]);+}, ef = (e, t) => {+ if (t) for (let n in t) tf(e, t, n);+}, tf = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, ef = (e, ...t) => typeof e == "function" ? q(Jd, e, ...t) : q(() => Yd(Jd(), e), ...t), tf = [+}, nf = (e, ...t) => typeof e == "function" ? rd(Xd, e, ...t) : rd(() => Zd(Xd(), e), ...t), rf = ["large-title","display-1","display-2",@@ -18402,18 +18433,18 @@ var lu = /* @__PURE__ */ m(((e) => {"body-2","caption-1","caption-2"-], nf = [+], af = ["regular","medium","semibold","bold"-], rf = ef({ extend: { classGroups: { "font-size": [{ text: tf.flatMap((e) => nf.map((t) => `${e}-${t}`)) }] } } });-function af(e) {+], of = nf({ extend: { classGroups: { "font-size": [{ text: rf.flatMap((e) => af.map((t) => `${e}-${t}`)) }] } } });+function sf(e) {return e;}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var of = af({+var cf = sf({base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",variant: {bold: "py-0.5 text-body-medium",@@ -18432,22 +18463,22 @@ var of = af({soft: "bg-background-secondary-default text-text-secondary"}});-function sf({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function lf({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, S.jsx)("span", {ref: r,- className: rf(of.base, of.variant[e], of.color[t], n),+ className: of(cf.base, cf.variant[e], cf.color[t], n),...i});}//#endregion//#region src/api.ts-var cf = class extends Error {+var uf = class extends Error {status;body;constructor(e, t, n = null) {super(r(e, t)), this.name = "ApiError", this.status = t, this.body = n;}-}, lf = (e) => {+}, df = (e) => {if (!e || typeof e != "object") return "";let t = e;for (let e of [@@ -18459,8 +18490,8 @@ var cf = class extends Error {if (typeof n == "string" && n) return n;}return "";-}, uf = (e) => r(e);-async function df(e, t) {+}, ff = (e) => r(e);+async function Q(e, t) {let n = await fetch(e, {headers: { Accept: "application/json" },credentials: "same-origin",@@ -18469,10 +18500,10 @@ async function df(e, t) {try {r = await n.json();} catch {}- if (!n.ok) throw new cf(lf(r) || `请求失败(${n.status})`, n.status);+ if (!n.ok) throw new uf(df(r) || `请求失败(${n.status})`, n.status);return r;}-async function ff(e, t, n = "POST", r) {+async function pf(e, t, n = "POST", r) {let i = await fetch(e, {method: n,...r ? { signal: r } : {},@@ -18486,12 +18517,12 @@ async function ff(e, t, n = "POST", r) {try {a = await i.json();} catch {}- if (!i.ok) throw new cf(lf(a) || `请求失败(${i.status})`, i.status, a);+ if (!i.ok) throw new uf(df(a) || `请求失败(${i.status})`, i.status, a);return a;}//#endregion//#region src/react/components/empty-state.tsx-function pf({ icon: e, title: t, children: n }) {+function mf({ icon: e, title: t, children: n }) {return /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col items-center gap-2 rounded-2xl border border-separator-border px-6 py-12 text-center",children: [@@ -18512,7 +18543,7 @@ function pf({ icon: e, title: t, children: n }) {}//#endregion//#region src/react/components/loading-dots.tsx-function mf({ label: e }) {+function hf({ label: e }) {return /* @__PURE__ */ (0, S.jsxs)("p", {role: "status",className: "flex items-center gap-2 text-caption-1-regular text-text-secondary",@@ -18529,7 +18560,7 @@ function mf({ label: e }) {}//#endregion//#region src/react/components/note.tsx-function hf({ tone: e, title: t, extra: n, children: r }) {+function gf({ tone: e, title: t, extra: n, children: r }) {let i = /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [t ? /* @__PURE__ */ (0, S.jsx)("p", {className: "text-body-medium",@@ -18571,7 +18602,7 @@ function hf({ tone: e, title: t, extra: n, children: r }) {}//#endregion//#region src/react/components/page.tsx-function gf({ children: e }) {+function _f({ children: e }) {return /* @__PURE__ */ (0, S.jsx)("div", {className: "mx-auto flex w-full max-w-board flex-col gap-8",children: e@@ -18579,7 +18610,7 @@ function gf({ children: e }) {}//#endregion//#region src/react/components/progress.tsx-function _f({ label: e, value: t, max: n = 100, stops: r = [] }) {+function vf({ label: e, value: t, max: n = 100, stops: r = [] }) {let i = Math.min(Math.max(t, 0), n);return /* @__PURE__ */ (0, S.jsxs)("svg", {role: "progressbar",@@ -18612,32 +18643,32 @@ function _f({ label: e, value: t, max: n = 100, stops: r = [] }) {}//#endregion//#region src/react/query.ts-var vf = new Xe({ defaultOptions: { queries: {+var yf = new Ye({ defaultOptions: { queries: {networkMode: "always",retry: 0,refetchOnWindowFocus: !1,refetchOnMount: !1,retryOnMount: !1-} } }), yf = "/api/tasks", bf = ["tasks"], xf = 2e3, Sf = 1e4, Cf = (e) => e?.running.length ? xf : Sf, wf = (e) => df(yf, e);-async function Tf(e) {- await vf.fetchQuery({- queryKey: bf,- queryFn: () => wf(e)+} } }), bf = "/api/tasks", xf = ["tasks"], Sf = 2e3, Cf = 1e4, wf = (e) => e?.running.length ? Sf : Cf, Tf = (e) => Q(bf, e);+async function Ef(e) {+ await yf.fetchQuery({+ queryKey: xf,+ queryFn: () => Tf(e)});}-var Ef = {+var Df = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, Df = {+}, Of = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "被打断"-}, Of = (e) => Df[e] || e, kf = {+}, kf = (e) => Of[e] || e, Af = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -18657,14 +18688,14 @@ var Ef = {exit_code: "退出码",issue_count: "问题"};-function Af(e) {+function jf(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 jf(e) {+function Mf(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -18674,24 +18705,24 @@ function jf(e) {minute: "2-digit"});}-function Mf(e) {- return Object.entries(e || {}).filter(([e, t]) => e !== "blocked_by" && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${kf[e] || e} ${t}`).join(" · ");+function Nf(e) {+ return Object.entries(e || {}).filter(([e, t]) => e !== "blocked_by" && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Af[e] || e} ${t}`).join(" · ");}//#endregion//#region src/react/activity/activity-page.tsx-var Nf = {+var Pf = {succeeded: "lime",failed: "rose",cancelled: "yellow",interrupted: "yellow"};-function Pf({ status: e }) {- return /* @__PURE__ */ (0, S.jsx)(sf, {- color: Nf[e] ?? "neutral",- children: Of(e)+function Ff({ status: e }) {+ return /* @__PURE__ */ (0, S.jsx)(lf, {+ color: Pf[e] ?? "neutral",+ children: kf(e)});}-function Ff({ run: e, meta: t, children: n, footer: r }) {+function If({ run: e, meta: t, children: n, footer: r }) {return /* @__PURE__ */ (0, S.jsxs)("li", {"data-status": e.status,"data-task-key": e.task_key,@@ -18704,7 +18735,7 @@ function Ff({ run: e, meta: t, children: n, footer: r }) {children: [/* @__PURE__ */ (0, S.jsx)("strong", {className: "min-w-0 break-words text-title-1-medium text-text-primary",children: e.task_label- }), /* @__PURE__ */ (0, S.jsx)(Pf, { status: e.status })]+ }), /* @__PURE__ */ (0, S.jsx)(Ff, { status: e.status })]}),/* @__PURE__ */ (0, S.jsx)("p", {className: "text-caption-1-regular text-text-secondary",@@ -18721,14 +18752,14 @@ function Ff({ run: e, meta: t, children: n, footer: r }) {}) : null]});}-function If({ run: e }) {- let t = e.progress_total || 0, n = e.progress_current || 0, r = e.progress_label || "正在进行", i = Af(e.elapsed_seconds), a = [Ef[e.trigger] || e.trigger, i && `已跑 ${i}`].filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, S.jsx)(Ff, {+function Lf({ run: e }) {+ let t = e.progress_total || 0, n = e.progress_current || 0, r = e.progress_label || "正在进行", i = jf(e.elapsed_seconds), a = [Df[e.trigger] || e.trigger, i && `已跑 ${i}`].filter(Boolean).join(" · ");+ return /* @__PURE__ */ (0, S.jsx)(If, {run: e,meta: a,children: t > 0 ? /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, S.jsx)(_f, {+ children: [/* @__PURE__ */ (0, S.jsx)(vf, {label: r,value: n,max: t@@ -18743,16 +18774,16 @@ function If({ run: e }) {" 项"]})]- }) : /* @__PURE__ */ (0, S.jsx)(mf, { label: r })+ }) : /* @__PURE__ */ (0, S.jsx)(hf, { label: r })});}-function Lf({ run: e }) {- let t = Mf(e.result_summary), n = Af(e.elapsed_seconds), r = [- Ef[e.trigger] || e.trigger,- jf(e.finished_at),+function Rf({ run: e }) {+ let t = Nf(e.result_summary), n = jf(e.elapsed_seconds), r = [+ Df[e.trigger] || e.trigger,+ Mf(e.finished_at),n && `用时 ${n}`].filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, S.jsx)(Ff, {+ return /* @__PURE__ */ (0, S.jsx)(If, {run: e,meta: r,footer: e.error,@@ -18762,7 +18793,7 @@ function Lf({ run: e }) {}) : null});}-function Rf({ title: e, children: t }) {+function zf({ title: e, children: t }) {let n = (0, x.useId)();return /* @__PURE__ */ (0, S.jsxs)("section", {"aria-labelledby": n,@@ -18774,123 +18805,67 @@ function Rf({ title: e, children: t }) {}), t]});}-function zf({ live: e = !1, children: t }) {+function Bf({ live: e = !1, children: t }) {return /* @__PURE__ */ (0, S.jsx)("ul", {"aria-live": e ? "polite" : void 0,className: "flex min-w-0 flex-col gap-3",children: t});}-function Bf(e) {- let t = lt({- queryKey: bf,- queryFn: ({ signal: e }) => wf(e),- refetchInterval: (e) => Cf(e.state.data)- }), n = t.data, r = t.error ? uf(t.error) : "";- if (!n) return /* @__PURE__ */ (0, S.jsx)(gf, { children: /* @__PURE__ */ (0, S.jsx)(hf, {+function $(e) {+ let t = ct({+ queryKey: xf,+ queryFn: ({ signal: e }) => Tf(e),+ refetchInterval: (e) => wf(e.state.data)+ }), n = t.data, r = t.error ? ff(t.error) : "";+ if (!n) return /* @__PURE__ */ (0, S.jsx)(_f, { children: /* @__PURE__ */ (0, S.jsx)(gf, {tone: "error",children: r || "读取任务中心失败"}) });let i = n.running || [], a = n.skipped || [], o = (n.finished || []).filter((e) => !a.some((t) => t.id === e.id)), s = !i.length && !a.length && !o.length;- return /* @__PURE__ */ (0, S.jsxs)(gf, { children: [- r ? /* @__PURE__ */ (0, S.jsx)(hf, {+ return /* @__PURE__ */ (0, S.jsxs)(_f, { children: [+ r ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "error",children: r}) : null,- n.available === !1 ? /* @__PURE__ */ (0, S.jsx)(hf, {+ n.available === !1 ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "warning",children: n.message || "账本上还没有任务中心的表"}) : null,- s ? /* @__PURE__ */ (0, S.jsx)(pf, {- icon: Su,+ s ? /* @__PURE__ */ (0, S.jsx)(mf, {+ icon: Cu,title: "还没有任务记录",children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"}) : /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [- /* @__PURE__ */ (0, S.jsx)(Rf, {+ /* @__PURE__ */ (0, S.jsx)(zf, {title: "正在进行",- children: i.length ? /* @__PURE__ */ (0, S.jsx)(zf, {+ children: i.length ? /* @__PURE__ */ (0, S.jsx)(Bf, {live: !0,- children: i.map((e) => /* @__PURE__ */ (0, S.jsx)(If, { run: e }, e.id))+ children: i.map((e) => /* @__PURE__ */ (0, S.jsx)(Lf, { run: e }, e.id))}) : /* @__PURE__ */ (0, S.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "没有任务在跑。"})}),- a.length ? /* @__PURE__ */ (0, S.jsx)(Rf, {+ a.length ? /* @__PURE__ */ (0, S.jsx)(zf, {title: "被挡下的",- children: /* @__PURE__ */ (0, S.jsx)(zf, { children: a.map((e) => /* @__PURE__ */ (0, S.jsx)(Lf, { run: e }, e.id)) })+ children: /* @__PURE__ */ (0, S.jsx)(Bf, { children: a.map((e) => /* @__PURE__ */ (0, S.jsx)(Rf, { run: e }, e.id)) })}) : null,- o.length ? /* @__PURE__ */ (0, S.jsx)(Rf, {+ o.length ? /* @__PURE__ */ (0, S.jsx)(zf, {title: "最近完成",- children: /* @__PURE__ */ (0, S.jsx)(zf, { children: o.map((e) => /* @__PURE__ */ (0, S.jsx)(Lf, { run: e }, e.id)) })+ children: /* @__PURE__ */ (0, S.jsx)(Bf, { children: o.map((e) => /* @__PURE__ */ (0, S.jsx)(Rf, { run: e }, e.id)) })}) : null] })] });}//#endregion-//#region src/react/library-processing/library-processing.ts-var Vf = "/api/library-processing", Hf = ["library-processing"], Z = (e) => df(Vf, e);-async function Uf(e) {- await vf.fetchQuery({- queryKey: Hf,- queryFn: () => Z(e)- });-}-var Wf = 2e3, Gf = 1e4, Kf = "连接中断,正在重新读取处理进度";-function qf(e, t) {- return e?.status === "running" ? Wf : t ? Gf : !1;-}-var Jf = {- reading_local: "读取本地资料",- querying_metadata: "查询外部资料",- fetching_cover: "采集缺失封面",- writing_candidates: "保存资料候选"-}, Yf = {- querying_metadata: "没有资料",- fetching_cover: "没有封面"-};-function Xf(e) {- let t = Object.entries(e).filter(([e, t]) => Yf[e] && t > 0).map(([e, t]) => `${Yf[e]} ${t} 部`);- return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";-}-function Zf(e) {- let t = Jf[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";- return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;-}-function Qf(e) {- let t = e.issue_preview || [];- return t.length ? {- label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,- items: t.map((e, t) => ({- key: `${e.asset_id ?? "source"}-${t}`,- label: e.title || (e.asset_id ? `视频 ${e.asset_id}` : "媒体来源"),- href: e.asset_id ? `/item/${e.asset_id}` : "",- note: e.message,- hint: e.path || ""- })),- footnote: e.issues_log ? `完整记录:${e.issues_log}` : ""- } : null;-}-var $f = "peach.library-processing.announced", ep = 120;-function tp(e, t, n) {- if (e.status !== "complete") return;- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < ep;- if (!(!n && !r)) {- try {- if (e.job_id && localStorage.getItem($f) === e.job_id) return;- e.job_id && localStorage.setItem($f, e.job_id);- } catch {}- t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选`);- }-}-//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var Q = Symbol("default");-function np({ values: e, children: t }) {+var Vf = Symbol("default");+function Hf({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ x.createElement(n.Provider, { value: r }, t);return t;}-function $(e) {+function Uf(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, x.useMemo)(() => {let e, l, u;@@ -18924,11 +18899,11 @@ function $(e) {c]);}-function rp(e, t) {+function Wf(e, t) {let n = (0, x.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || Q;+ let e = t || Vf;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}.`);@@ -18937,8 +18912,8 @@ function rp(e, t) {}return n;}-function ip(e, t, n) {- let { ref: r, ...i } = rp(n, e.slot) || {}, a = Pr((0, x.useMemo)(() => hr(t, r), [t, r])), o = V(i, e);+function Gf(e, t, n) {+ let { ref: r, ...i } = Wf(n, e.slot) || {}, a = Nr((0, x.useMemo)(() => mr(t, r), [t, r])), o = H(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,@@ -18956,42 +18931,42 @@ function ip(e, t, n) {...e.style}), [o, a];}-function ap(e = !0) {+function Kf(e = !0) {let [t, n] = (0, x.useState)(e), r = (0, x.useRef)(!1), i = (0, x.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return B(() => {+ return V(() => {r.current || n(!1);}, []), [i, t];}-function op(e) {+function qf(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function sp(e, t, n) {- let { render: r, ...i } = t, a = (0, x.useRef)(null), o = (0, x.useMemo)(() => hr(n, a), [n, a]);- B(() => {}, [e, r]);+function Jf(e, t, n) {+ let { render: r, ...i } = t, a = (0, x.useRef)(null), o = (0, x.useMemo)(() => mr(n, a), [n, a]);+ V(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ x.createElement(e, s);}-var cp = {}, lp = new Proxy({}, { get(e, t) {+var Yf = {}, Xf = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = cp[t];- return n || (n = /*#__PURE__*/ (0, x.forwardRef)(sp.bind(null, t)), cp[t] = n), n;-} }), up = /*#__PURE__*/ (0, x.createContext)(null), dp = /*#__PURE__*/ (0, x.createContext)(null), fp = /*#__PURE__*/ (0, x.createContext)(null), pp = {+ let n = Yf[t];+ return n || (n = /*#__PURE__*/ (0, x.forwardRef)(Jf.bind(null, t)), Yf[t] = n), n;+} }), Zf = /*#__PURE__*/ (0, x.createContext)(null), Qf = /*#__PURE__*/ (0, x.createContext)(null), $f = /*#__PURE__*/ (0, x.createContext)(null), ep = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return mp(e, null, t);+ return tp(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return mp(e, t, n);+ return tp(e, t, n);}};-function mp(e, t, n) {- return bt({+function tp(e, t, n) {+ return yt({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -19001,11 +18976,11 @@ function mp(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, hp(e, t, n));+ }), r, np(e, t, n));}});}-function hp(e, t, n) {+function np(e, t, n) {let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);let o = t.nextKey == null ? null : e.getItem(t.nextKey);@@ -19024,19 +18999,19 @@ function hp(e, t, n) {}return s;}-var gp = /*#__PURE__*/ (0, x.createContext)(pp), _p = /*#__PURE__*/ (0, x.createContext)({}), vp = /*#__PURE__*/ Vr(function(e, t) {- [e, t] = ip(e, t, _p);- let { elementType: n = "label", ...r } = e, i = lp[n];+var rp = /*#__PURE__*/ (0, x.createContext)(ep), ip = /*#__PURE__*/ (0, x.createContext)({}), ap = /*#__PURE__*/ Br(function(e, t) {+ [e, t] = Gf(e, t, ip);+ let { elementType: n = "label", ...r } = e, i = Xf[n];return /*#__PURE__*/ x.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), yp = /*#__PURE__*/ (0, x.createContext)(null), bp = /*#__PURE__*/ (0, x.createContext)({}), xp = /*#__PURE__*/ Vr(function(e, t) {- [e, t] = ip(e, t, bp);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Sa(e, t);- i = Cp(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = gc(e), { hoverProps: l, isHovered: u } = Cc({+}), op = /*#__PURE__*/ (0, x.createContext)(null), sp = /*#__PURE__*/ (0, x.createContext)({}), cp = /*#__PURE__*/ Br(function(e, t) {+ [e, t] = Gf(e, t, sp);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = xa(e, t);+ i = up(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = hc(e), { hoverProps: l, isHovered: u } = Sc({...e,isDisabled: e.isDisabled || r}), d = {@@ -19046,25 +19021,25 @@ var gp = /*#__PURE__*/ (0, x.createContext)(pp), _p = /*#__PURE__*/ (0, x.createisFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = $({+ }, f = Uf({...e,values: d,defaultClassName: "react-aria-Button"- }), p = fr(i.id), m = fr(), h = i["aria-labelledby"];+ }), p = dr(i.id), m = dr(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, x.useRef)(r);(0, x.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && $a(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && Qa(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = H(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ x.createElement(lp.button, {- ...V(_, f, i, o, l),+ let _ = U(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ x.createElement(Xf.button, {+ ...H(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,ref: t,@@ -19077,62 +19052,62 @@ var gp = /*#__PURE__*/ (0, x.createContext)(pp), _p = /*#__PURE__*/ (0, x.create"data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ x.createElement(yp.Provider, { value: { id: m } }, f.children));-}), Sp = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function Cp(e, t) {+ }, /*#__PURE__*/ x.createElement(op.Provider, { value: { id: m } }, f.children));+}), lp = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function up(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !Sp.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !lp.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}//#endregion//#region node_modules/react-aria-components/dist/private/Heading.mjs-var wp = /*#__PURE__*/ (0, x.createContext)({}), Tp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = ip(e, t, wp);- let { children: n, level: r = 3, className: i, ...a } = e, o = lp[`h${r}`];+var dp = /*#__PURE__*/ (0, x.createContext)({}), fp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ [e, t] = Gf(e, t, dp);+ let { children: n, level: r = 3, className: i, ...a } = e, o = Xf[`h${r}`];return /*#__PURE__*/ x.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), Ep = /*#__PURE__*/ (0, x.createContext)({}), Dp = /*#__PURE__*/ Vr(function(e, t) {- [e, t] = ip(e, t, Ep);- let { elementType: n = "span", ...r } = e, i = lp[n];+}), pp = /*#__PURE__*/ (0, x.createContext)({}), mp = /*#__PURE__*/ Br(function(e, t) {+ [e, t] = Gf(e, t, pp);+ let { elementType: n = "span", ...r } = e, i = Xf[n];return /*#__PURE__*/ x.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), Op = /*#__PURE__*/ (0, x.createContext)(null), kp = /*#__PURE__*/ (0, x.createContext)(null), Ap = /*#__PURE__*/ (0, x.createContext)(null), jp = /*#__PURE__*/ (0, x.createContext)(null), Mp = /*#__PURE__*/ (0, x.createContext)(null);-function Np(e, t) {- let { validationBehavior: n } = rp(kp) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, x.useContext)(jp), a = Pr((0, x.useMemo)(() => hr(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...op(e),+}), hp = /*#__PURE__*/ (0, x.createContext)(null), gp = /*#__PURE__*/ (0, x.createContext)(null), _p = /*#__PURE__*/ (0, x.createContext)(null), vp = /*#__PURE__*/ (0, x.createContext)(null), yp = /*#__PURE__*/ (0, x.createContext)(null);+function bp(e, t) {+ let { validationBehavior: n } = Wf(gp) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, x.useContext)(vp), a = Nr((0, x.useMemo)(() => mr(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...qf(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? G(o, i, a) : Ao(o, Lo(e), a), a];+ return [i ? K(o, i, a) : ko(o, Io(e), a), a];}-var Pp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+var xp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = ip(r, t, Ap);- let [i, a] = Np(e, n);- return /*#__PURE__*/ x.createElement(Mp.Provider, { value: {+ [e, t] = Gf(r, t, _p);+ let [i, a] = bp(e, n);+ return /*#__PURE__*/ x.createElement(yp.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ x.createElement(Fp, {+ } }, /*#__PURE__*/ x.createElement(Sp, {...e,ref: t}));-}), Fp = /*#__PURE__*/ (0, x.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, x.useContext)(Mp), { isFocused: p, isFocusVisible: m, focusProps: h } = gc(), g = a || o, { hoverProps: _, isHovered: v } = Cc({+}), Sp = /*#__PURE__*/ (0, x.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, x.useContext)(yp), { isFocused: p, isFocusVisible: m, focusProps: h } = hc(), g = a || o, { hoverProps: _, isHovered: v } = Sc({...e,isDisabled: g- }), y = $({+ }), y = Uf({...e,defaultClassName: u,values: {@@ -19147,9 +19122,9 @@ var Pp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = H(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ x.createElement(lp.label, {- ...V(b, n, _, y),+ }), b = U(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ x.createElement(Xf.label, {+ ...H(b, n, _, y),ref: t,slot: e.slot || void 0,"data-selected": i || void 0,@@ -19162,20 +19137,20 @@ var Pp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ x.createElement(Vo, { elementType: "span" }, /*#__PURE__*/ x.createElement("input", {- ...V(r, h),+ }, /*#__PURE__*/ x.createElement(Bo, { elementType: "span" }, /*#__PURE__*/ x.createElement("input", {+ ...H(r, h),ref: l})), y.children);-}), Ip = /*#__PURE__*/ (0, x.createContext)({}), Lp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = ip(e, t, Ip);+}), Cp = /*#__PURE__*/ (0, x.createContext)({}), wp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ [e, t] = Gf(e, t, Cp);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 } = Cc({+ let { hoverProps: l, isHovered: u } = Sc({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = gc({ within: !0 }), m = $({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = hc({ within: !0 }), m = Uf({...e,values: {isHovered: u,@@ -19186,8 +19161,8 @@ var Pp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ x.createElement(lp.div, {- ...V(c, p, l),+ return /*#__PURE__*/ x.createElement(Xf.div, {+ ...H(c, p, l),...m,ref: t,role: e.role ?? "group",@@ -19199,18 +19174,18 @@ var Pp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), Rp = /*#__PURE__*/ (0, x.createContext)({}), zp = (e) => {+}), Tp = /*#__PURE__*/ (0, x.createContext)({}), Ep = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Bp = /*#__PURE__*/ Vr(function(e, t) {- [e, t] = ip(e, t, Rp);- let { hoverProps: n, isHovered: r } = Cc({+}, Dp = /*#__PURE__*/ Br(function(e, t) {+ [e, t] = Gf(e, t, Tp);+ let { hoverProps: n, isHovered: r } = Sc({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = gc({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = hc({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = $({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Uf({...e,values: {isHovered: r,@@ -19221,8 +19196,8 @@ var Pp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ x.createElement(lp.input, {- ...V(zp(e), o, n),+ return /*#__PURE__*/ x.createElement(Xf.input, {+ ...H(Ep(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -19231,8 +19206,8 @@ var Pp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Vp = {};-Vp = {+}), Op = {};+Op = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -19240,8 +19215,8 @@ Vp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var Hp = {};-Hp = {+var kp = {};+kp = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -19249,8 +19224,8 @@ Hp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var Up = {};-Up = {+var Ap = {};+Ap = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -19258,8 +19233,8 @@ Up = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var Wp = {};-Wp = {+var jp = {};+jp = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -19267,8 +19242,8 @@ Wp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var Gp = {};-Gp = {+var Mp = {};+Mp = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -19276,8 +19251,8 @@ Gp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var Kp = {};-Kp = {+var Np = {};+Np = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -19285,8 +19260,8 @@ Kp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var qp = {};-qp = {+var Pp = {};+Pp = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -19294,8 +19269,8 @@ qp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var Jp = {};-Jp = {+var Fp = {};+Fp = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -19303,8 +19278,8 @@ Jp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var Yp = {};-Yp = {+var Ip = {};+Ip = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -19312,8 +19287,8 @@ Yp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var Xp = {};-Xp = {+var Lp = {};+Lp = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -19321,8 +19296,8 @@ Xp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var Zp = {};-Zp = {+var Rp = {};+Rp = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -19330,8 +19305,8 @@ Zp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var Qp = {};-Qp = {+var zp = {};+zp = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -19339,8 +19314,8 @@ Qp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var $p = {};-$p = {+var Bp = {};+Bp = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -19348,8 +19323,8 @@ $p = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var em = {};-em = {+var Vp = {};+Vp = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -19357,8 +19332,8 @@ em = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var tm = {};-tm = {+var Hp = {};+Hp = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -19366,8 +19341,8 @@ tm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var nm = {};-nm = {+var Up = {};+Up = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -19375,8 +19350,8 @@ nm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var rm = {};-rm = {+var Wp = {};+Wp = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -19384,8 +19359,8 @@ rm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var im = {};-im = {+var Gp = {};+Gp = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -19393,8 +19368,8 @@ im = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var am = {};-am = {+var Kp = {};+Kp = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -19402,8 +19377,8 @@ am = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var om = {};-om = {+var qp = {};+qp = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -19411,8 +19386,8 @@ om = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var sm = {};-sm = {+var Jp = {};+Jp = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -19420,8 +19395,8 @@ sm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var cm = {};-cm = {+var Yp = {};+Yp = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -19429,8 +19404,8 @@ cm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var lm = {};-lm = {+var Xp = {};+Xp = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -19438,8 +19413,8 @@ lm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var um = {};-um = {+var Zp = {};+Zp = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -19447,8 +19422,8 @@ um = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var dm = {};-dm = {+var Qp = {};+Qp = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -19456,8 +19431,8 @@ dm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var fm = {};-fm = {+var $p = {};+$p = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -19465,8 +19440,8 @@ fm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var pm = {};-pm = {+var em = {};+em = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -19474,8 +19449,8 @@ pm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var mm = {};-mm = {+var tm = {};+tm = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -19483,8 +19458,8 @@ mm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var hm = {};-hm = {+var nm = {};+nm = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -19492,8 +19467,8 @@ hm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var gm = {};-gm = {+var rm = {};+rm = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -19501,8 +19476,8 @@ gm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var _m = {};-_m = {+var im = {};+im = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -19510,8 +19485,8 @@ _m = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var vm = {};-vm = {+var am = {};+am = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -19519,8 +19494,8 @@ vm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var ym = {};-ym = {+var om = {};+om = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -19528,8 +19503,8 @@ ym = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var bm = {};-bm = {+var sm = {};+sm = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -19537,52 +19512,52 @@ bm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var xm = {};-xm = {- "ar-AE": Vp,- "bg-BG": Hp,- "cs-CZ": Up,- "da-DK": Wp,- "de-DE": Gp,- "el-GR": Kp,- "en-US": qp,- "es-ES": Jp,- "et-EE": Yp,- "fi-FI": Xp,- "fr-FR": Zp,- "he-IL": Qp,- "hr-HR": $p,- "hu-HU": em,- "it-IT": tm,- "ja-JP": nm,- "ko-KR": rm,- "lt-LT": im,- "lv-LV": am,- "nb-NO": om,- "nl-NL": sm,- "pl-PL": cm,- "pt-BR": lm,- "pt-PT": um,- "ro-RO": dm,- "ru-RU": fm,- "sk-SK": pm,- "sl-SI": mm,- "sr-SP": hm,- "sv-SE": gm,- "tr-TR": _m,- "uk-UA": vm,- "zh-CN": ym,- "zh-TW": bm+var cm = {};+cm = {+ "ar-AE": Op,+ "bg-BG": kp,+ "cs-CZ": Ap,+ "da-DK": jp,+ "de-DE": Mp,+ "el-GR": Np,+ "en-US": Pp,+ "es-ES": Fp,+ "et-EE": Ip,+ "fi-FI": Lp,+ "fr-FR": Rp,+ "he-IL": zp,+ "hr-HR": Bp,+ "hu-HU": Vp,+ "it-IT": Hp,+ "ja-JP": Up,+ "ko-KR": Wp,+ "lt-LT": Gp,+ "lv-LV": Kp,+ "nb-NO": qp,+ "nl-NL": Jp,+ "pl-PL": Yp,+ "pt-BR": Xp,+ "pt-PT": Zp,+ "ro-RO": Qp,+ "ru-RU": $p,+ "sk-SK": em,+ "sl-SI": tm,+ "sr-SP": nm,+ "sv-SE": rm,+ "tr-TR": im,+ "uk-UA": am,+ "zh-CN": om,+ "zh-TW": sm};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var Sm = /*#__PURE__*/ (0, x.createContext)({}), Cm = /*#__PURE__*/ (0, x.createContext)(null), wm = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- let { render: n } = (0, x.useContext)(Cm);+var lm = /*#__PURE__*/ (0, x.createContext)({}), um = /*#__PURE__*/ (0, x.createContext)(null), dm = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ let { render: n } = (0, x.useContext)(um);return /*#__PURE__*/ x.createElement(x.Fragment, null, n(e, t));});-function Tm(e, t) {+function fm(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, x.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ x.createElement(wm, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ x.createElement(dm, { target: e });}, [t?.target,r,@@ -19590,7 +19565,7 @@ function Tm(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function Em(e, t, n) {+function pm(e, t, n) {let r = e.focusedKey, i = null;if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {let e = n.collection.getKeyAfter(i), t = null;@@ -19613,15 +19588,15 @@ function Em(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var Dm = /*#__PURE__*/ (0, x.createContext)({}), Om = /*#__PURE__*/ (0, x.createContext)(null);-function km(e) {+var mm = /*#__PURE__*/ (0, x.createContext)({}), hm = /*#__PURE__*/ (0, x.createContext)(null);+function gm(e) {let t = (0, x.useRef)({});- return /*#__PURE__*/ x.createElement(Om.Provider, { value: t }, e.children);+ return /*#__PURE__*/ x.createElement(hm.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var Am = /*#__PURE__*/ (0, x.createContext)({ isSelected: !1 }), jm = /*#__PURE__*/ (0, x.createContext)({});-(class extends dt {+var _m = /*#__PURE__*/ (0, x.createContext)({ isSelected: !1 }), vm = /*#__PURE__*/ (0, x.createContext)({});+(class extends ut {static {this.type = "separator";}@@ -19636,13 +19611,13 @@ var Am = /*#__PURE__*/ (0, x.createContext)({ isSelected: !1 }), jm = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function Mm(e) {+function ym(e) {let t = x.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}//#endregion//#region node_modules/react-stately/dist/private/list/ListCollection.mjs-var Nm = class {+var bm = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -19686,20 +19661,20 @@ var Nm = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, Pm = class e extends Set {+}, xm = class e extends Set {constructor(t, n, r) {super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);}};//#endregion//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function Fm(e, t) {+function Sm(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function Im(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, x.useRef)(!1), [, s] = (0, x.useState)(!1), c = (0, x.useRef)(null), l = (0, x.useRef)(null), [, u] = (0, x.useState)(null), [d, f] = Io((0, x.useMemo)(() => Lm(e.selectedKeys), [e.selectedKeys]), (0, x.useMemo)(() => Lm(e.defaultSelectedKeys, new Pm()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, x.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, x.useState)(i);+function Cm(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, x.useRef)(!1), [, s] = (0, x.useState)(!1), c = (0, x.useRef)(null), l = (0, x.useRef)(null), [, u] = (0, x.useState)(null), [d, f] = Fo((0, x.useMemo)(() => wm(e.selectedKeys), [e.selectedKeys]), (0, x.useMemo)(() => wm(e.defaultSelectedKeys, new xm()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, x.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, x.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, x.useRef)(i);return (0, x.useEffect)(() => {@@ -19726,18 +19701,18 @@ function Im(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !Fm(e, d)) && f(e);+ (r || !Sm(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function Lm(e, t) {- return e ? e === "all" ? "all" : new Pm(e) : t;+function wm(e, t) {+ return e ? e === "all" ? "all" : new xm(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var Rm = class e {+var Tm = class e {constructor(e, t, n) {this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;}@@ -19793,7 +19768,7 @@ var Rm = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && nc(this.collection, n, e) < 0) && (e = n);+ (!e || n && tc(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -19801,7 +19776,7 @@ var Rm = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && nc(this.collection, n, e) > 0) && (e = n);+ (!e || n && tc(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -19820,10 +19795,10 @@ var Rm = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new Pm([t], t, t);+ if (this.state.selectedKeys === "all") n = new xm([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new Pm(e, r, t);+ n = new xm(e, r, t);for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);}@@ -19831,7 +19806,7 @@ var Rm = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? nc(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? tc(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];}getKeyRangeInternal(e, t) {if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);@@ -19857,19 +19832,19 @@ var Rm = class e {}let t = this.getKey(e);if (t == null) return;- let n = new Pm(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new xm(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);}replaceSelection(e) {if (this.selectionMode === "none") return;let t = this.getKey(e);if (t == null) return;- let n = this.canSelectItem(t) ? new Pm([t], t, t) : new Pm();+ let n = this.canSelectItem(t) ? new xm([t], t, t) : new xm();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new Pm();+ let t = new xm();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -19881,7 +19856,7 @@ var Rm = class e {for (; r != null;) {if (this.canSelectItemIn(r, e)) {let i = e.getItem(r);- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(ec($s(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n($s(Qs(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -19892,7 +19867,7 @@ var Rm = class e {!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");}clearSelection() {- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new Pm());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new xm());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -19933,9 +19908,9 @@ var Rm = class e {fullCollection: this.fullCollection ?? this.collection});}-}, zm = class {+}, Em = class {build(e, t) {- return this.context = t, Bm(() => this.iterateCollection(e));+ return this.context = t, Dm(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -20017,10 +19992,10 @@ var Rm = class e {...a,key: l,index: s,- wrapper: Vm(e.wrapper, a.wrapper)+ wrapper: Om(e.wrapper, a.wrapper)}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];for (let t of u) {- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${Hm(t.type)}> in <${Hm(r?.type ?? "unknown parent type")}>. Only <${Hm(e.type)}> is supported.`);+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${km(t.type)}> in <${km(r?.type ?? "unknown parent type")}>. Only <${km(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -20042,7 +20017,7 @@ var Rm = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: Bm(function* () {+ childNodes: Dm(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -20061,7 +20036,7 @@ var Rm = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function Bm(e) {+function Dm(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -20069,18 +20044,18 @@ function Bm(e) {for (let e of n) t.push(e), yield e;} };}-function Vm(e, t) {+function Om(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function Hm(e) {+function km(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function Um(e, t, n) {- let r = (0, x.useMemo)(() => new zm(), []), { children: i, items: a, collection: o } = e;+function Am(e, t, n) {+ let r = (0, x.useMemo)(() => new Em(), []), { children: i, items: a, collection: o } = e;return (0, x.useMemo)(() => o || t(r.build({children: i,items: a@@ -20095,27 +20070,27 @@ function Um(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function Wm(e) {- let { filter: t, layoutDelegate: n } = e, r = Im(e), i = (0, x.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = Um(e, (0, x.useCallback)((e) => t ? new Nm(t(e)) : new Nm(e), [t]), (0, x.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, x.useMemo)(() => new Rm(a, r, { layoutDelegate: n }), [+function jm(e) {+ let { filter: t, layoutDelegate: n } = e, r = Cm(e), i = (0, x.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = Am(e, (0, x.useCallback)((e) => t ? new bm(t(e)) : new bm(e), [t]), (0, x.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, x.useMemo)(() => new Tm(a, r, { layoutDelegate: n }), [a,r,n]);- return Km(a, o), {+ return Nm(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function Gm(e, t) {+function Mm(e, t) {let n = (0, x.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return Km(n, r), {+ return Nm(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function Km(e, t) {+function Nm(e, t) {let n = (0, x.useRef)(null);(0, x.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -20143,15 +20118,15 @@ function Km(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function qm(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, x.useRef)(null), s = bi((e) => {+function Pm(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, x.useRef)(null), s = yi((e) => {for (let t of e) t.isIntersecting && r && r();});- B(() => {+ V(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: no(t?.current),+ root: to(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -20167,42 +20142,42 @@ function qm(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var Jm = /*#__PURE__*/ (0, x.createContext)(null), Ym = /*#__PURE__*/ (0, x.createContext)(null), Xm = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = ip(e, t, Jm);- let n = (0, x.useContext)(Ym);- return n ? /*#__PURE__*/ x.createElement(Qm, {+var Fm = /*#__PURE__*/ (0, x.createContext)(null), Im = /*#__PURE__*/ (0, x.createContext)(null), Lm = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ [e, t] = Gf(e, t, Fm);+ let n = (0, x.useContext)(Im);+ return n ? /*#__PURE__*/ x.createElement(zm, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ x.createElement(Zr, { content: /*#__PURE__*/ x.createElement(ci, e) }, (n) => /*#__PURE__*/ x.createElement(Zm, {+ }) : /*#__PURE__*/ x.createElement(Xr, { content: /*#__PURE__*/ x.createElement(si, e) }, (n) => /*#__PURE__*/ x.createElement(Rm, {props: e,listBoxRef: t,collection: n}));});-function Zm({ props: e, listBoxRef: t, collection: n }) {+function Rm({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, x.useContext)(gp), i = Wm({+ let { layoutDelegate: r } = (0, x.useContext)(rp), i = jm({...e,layoutDelegate: r});- return /*#__PURE__*/ x.createElement(Qm, {+ return /*#__PURE__*/ x.createElement(zm, {state: i,props: e,listBoxRef: t});}-function Qm({ state: e, props: t, listBoxRef: n }) {- [t, n] = ip(t, n, up);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Gm(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Ni(), { disabledBehavior: p, disabledKeys: m } = l, h = sc({+function zm({ state: e, props: t, listBoxRef: n }) {+ [t, n] = Gf(t, n, Zf);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Mm(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Mi(), { disabledBehavior: p, disabledKeys: m } = l, h = oc({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, x.useContext)(gp), b = (0, x.useMemo)(() => t.keyboardDelegate || new is({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, x.useContext)(rp), b = (0, x.useMemo)(() => t.keyboardDelegate || new rs({collection: c,collator: h,ref: n,@@ -20223,7 +20198,7 @@ function Qm({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: S } = Ac({+ ]), { listBoxProps: S } = kc({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -20255,7 +20230,7 @@ function Qm({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, w, n), E = w.isDropTarget({ type: "root" });}- let { focusProps: k, isFocused: A, isFocusVisible: ee } = gc(), j = s.collection.size === 0, te = {+ let { focusProps: k, isFocused: A, isFocusVisible: ee } = hc(), j = s.collection.size === 0, te = {isDropTarget: E,isEmpty: j,isFocused: A,@@ -20263,7 +20238,7 @@ function Qm({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, M = $({+ }, M = Uf({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -20273,9 +20248,9 @@ function Qm({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(te)));- let N = H(t, { global: !0 });- return /*#__PURE__*/ x.createElement(Da, null, /*#__PURE__*/ x.createElement(lp.div, {- ...V(N, M, S, k, T?.collectionProps),+ let N = U(t, { global: !0 });+ return /*#__PURE__*/ x.createElement(Ea, null, /*#__PURE__*/ x.createElement(Xf.div, {+ ...H(N, M, S, k, T?.collectionProps),ref: n,slot: t.slot || void 0,onScroll: t.onScroll,@@ -20285,60 +20260,60 @@ function Qm({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": ee || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ x.createElement(np, { values: [- [Jm, t],- [Ym, s],- [Sm, {+ }, /*#__PURE__*/ x.createElement(Hf, { values: [+ [Fm, t],+ [Im, s],+ [lm, {dragAndDropHooks: r,dragState: C,dropState: w}],- [jm, { elementType: "div" }],- [Cm, { render: th }],- [fp, {+ [vm, { elementType: "div" }],+ [um, { render: Hm }],+ [$f, {name: "ListBoxSection",- render: $m+ render: Bm}]- ] }, /*#__PURE__*/ x.createElement(km, null, /*#__PURE__*/ x.createElement(y, {+ ] }, /*#__PURE__*/ x.createElement(gm, null, /*#__PURE__*/ x.createElement(y, {collection: c,scrollRef: n,- persistedKeys: Em(l, r, w),- renderDropIndicator: Tm(r, w)+ persistedKeys: pm(l, r, w),+ renderDropIndicator: fm(r, w)}))), ne, D));}-function $m(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, x.useContext)(Ym), { dragAndDropHooks: a, dropState: o } = (0, x.useContext)(Sm), { CollectionBranch: s } = (0, x.useContext)(gp), [c, l] = ap(), { headingProps: u, groupProps: d } = jc({+function Bm(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, x.useContext)(Im), { dragAndDropHooks: a, dropState: o } = (0, x.useContext)(lm), { CollectionBranch: s } = (0, x.useContext)(rp), [c, l] = Kf(), { headingProps: u, groupProps: d } = Ac({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = $({+ }), f = Uf({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = H(e, { global: !0 });- return delete p.id, /*#__PURE__*/ x.createElement(lp.section, {- ...V(p, f, d),+ }), p = U(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ x.createElement(Xf.section, {+ ...H(p, f, d),ref: t- }, /*#__PURE__*/ x.createElement(Dm.Provider, { value: {+ }, /*#__PURE__*/ x.createElement(mm.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ x.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: Tm(a, o)+ renderDropIndicator: fm(a, o)})));}-var eh = /*#__PURE__*/ ai(mt, function(e, t, n) {- let r = Pr(t), i = (0, x.useContext)(Ym), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, x.useContext)(Sm), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Mc({+var Vm = /*#__PURE__*/ ii(pt, function(e, t, n) {+ let r = Nr(t), i = (0, x.useContext)(Im), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, x.useContext)(lm), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = jc({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = Cc({+ }, i, r), { hoverProps: p, isHovered: m } = Sc({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = Nr(e), { focusProps: g } = yr(e), _ = null;+ }), { keyboardProps: h } = Mr(e), { focusProps: g } = vr(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -20349,7 +20324,7 @@ var eh = /*#__PURE__*/ ai(mt, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = $({+ let y = o && o.isDragging(n.key), b = Uf({...e,id: void 0,children: e.children,@@ -20367,9 +20342,9 @@ var eh = /*#__PURE__*/ ai(mt, function(e, t, n) {(0, x.useEffect)(() => {n.textValue;}, [n.textValue]);- let S = e.href ? lp.a : lp.div, C = H(e, { global: !0 });+ let S = e.href ? Xf.a : Xf.div, C = U(e, { global: !0 });return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ x.createElement(S, {- ...V(C, b, l, p, h, g, _?.dragProps, v?.dropProps),+ ...H(C, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,"data-allows-dragging": !!o || void 0,"data-selected": f.isSelected || void 0,@@ -20381,29 +20356,29 @@ var eh = /*#__PURE__*/ ai(mt, function(e, t, n) {"data-dragging": y || void 0,"data-drop-target": v?.isDropTarget || void 0,"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ x.createElement(np, { values: [[Ep, { slots: {- [Q]: u,+ }, /*#__PURE__*/ x.createElement(Hf, { values: [[pp, { slots: {+ [Vf]: u,label: u,description: d- } }], [Am, { isSelected: f.isSelected }]] }, b.children));+ } }], [_m, { isSelected: f.isSelected }]] }, b.children));});-function th(e, t) {- t = Pr(t);- let { dragAndDropHooks: n, dropState: r } = (0, x.useContext)(Sm), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ x.createElement(rh, {+function Hm(e, t) {+ t = Nr(t);+ let { dragAndDropHooks: n, dropState: r } = (0, x.useContext)(lm), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ x.createElement(Wm, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function nh(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = $({+function Um(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Uf({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ x.createElement(x.Fragment, null, /*#__PURE__*/ x.createElement(lp.div, {+ return /*#__PURE__*/ x.createElement(x.Fragment, null, /*#__PURE__*/ x.createElement(Xf.div, {...n,...a,role: "option",@@ -20411,10 +20386,10 @@ function nh(e, t) {"data-drop-target": r || void 0}));}-var rh = /*#__PURE__*/ (0, x.forwardRef)(nh);-ai(pt, function(e, t, n) {- let r = (0, x.useContext)(Ym), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, x.useRef)(null);- qm((0, x.useMemo)(() => ({+var Wm = /*#__PURE__*/ (0, x.forwardRef)(Um);+ii(ft, function(e, t, n) {+ let r = (0, x.useContext)(Im), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, x.useRef)(null);+ Pm((0, x.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -20424,7 +20399,7 @@ ai(pt, function(e, t, n) {o,r?.collection]), c);- let l = $({+ let l = Uf({...s,id: void 0,children: n.rendered,@@ -20437,7 +20412,7 @@ ai(pt, function(e, t, n) {width: 0,height: 0},- inert: Mm(!0)+ inert: ym(!0)}, /*#__PURE__*/ x.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -20446,8 +20421,8 @@ ai(pt, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ x.createElement(x.Fragment, null, /*#__PURE__*/ x.createElement(lp.div, {- ...V(H(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ x.createElement(x.Fragment, null, /*#__PURE__*/ x.createElement(Xf.div, {+ ...H(U(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t@@ -20455,11 +20430,11 @@ ai(pt, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var ih = /*#__PURE__*/ (0, x.createContext)({ placement: "bottom" });+var Gm = /*#__PURE__*/ (0, x.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function ah(e) {- let [t, n] = Io(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, x.useState)(null);+function Km(e) {+ let [t, n] = Fo(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, x.useState)(null);return {isOpen: t,setOpen: n,@@ -20478,13 +20453,13 @@ function ah(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function oh(e, t = !0) {+function qm(e, t = !0) {let [n, r] = (0, x.useState)(!0), i = n && t;- return B(() => {+ return V(() => {if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, i]), ch(e, i, (0, x.useCallback)(() => r(!1), [])), i;+ }, [e, i]), Ym(e, i, (0, x.useCallback)(() => r(!1), [])), i;}-function sh(e, t) {+function Jm(e, t) {let [n, r] = (0, x.useState)(t ? "open" : "closed");switch (n) {case "open":@@ -20494,12 +20469,12 @@ function sh(e, t) {case "exiting": t && r("open");}let i = n === "exiting";- return ch(e, i, (0, x.useCallback)(() => {+ return Ym(e, i, (0, x.useCallback)(() => {r((e) => e === "exiting" ? "closed" : e);}, [])), i;}-function ch(e, t, n) {- B(() => {+function Ym(e, t, n) {+ V(() => {if (t && e.current) {if (!("getAnimations" in e.current)) {n();@@ -20512,7 +20487,7 @@ function ch(e, t, n) {}let r = !1;return Promise.allSettled(t.map((e) => e.finished)).then(() => {- r || (0, qr.flushSync)(() => {+ r || (0, Kr.flushSync)(() => {n();});}), () => {@@ -20527,9 +20502,9 @@ function ch(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var lh = /*#__PURE__*/ (0, x.createContext)(null), uh = /*#__PURE__*/ (0, x.createContext)(null), dh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = ip(e, t, lh);- let n = (0, x.useContext)(mh), r = ah(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = sh(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Hr(), { direction: c } = Ni();+var Xm = /*#__PURE__*/ (0, x.createContext)(null), Zm = /*#__PURE__*/ (0, x.createContext)(null), Qm = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ [e, t] = Gf(e, t, Xm);+ let n = (0, x.useContext)(th), r = Km(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Jm(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Vr(), { direction: c } = Mi();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -20540,7 +20515,7 @@ var lh = /*#__PURE__*/ (0, x.createContext)(null), uh = /*#__PURE__*/ (0, x.creadefaultChildren: null})), /*#__PURE__*/ x.createElement(x.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ x.createElement(fh, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ x.createElement($m, {...e,triggerRef: e.triggerRef,state: i,@@ -20549,13 +20524,13 @@ var lh = /*#__PURE__*/ (0, x.createContext)(null), uh = /*#__PURE__*/ (0, x.creadir: c});});-function fh({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, x.useRef)(null), o = (0, x.useRef)(null), s = (0, x.useContext)(uh), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = eu({+function $m({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, x.useRef)(null), o = (0, x.useRef)(null), s = (0, x.useContext)(Zm), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = eu({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), m = i.popoverRef, h = oh(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = $({+ }, e), m = i.popoverRef, h = qm(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = Uf({...i,defaultClassName: "react-aria-Popover",values: {@@ -20565,10 +20540,10 @@ function fh({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextsisExiting: t}}), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, x.useState)(i.trigger === "PreviewTrigger");- B(() => {+ V(() => {m.current && b(v && !m.current.querySelector("[role=dialog]"));}, [m, v]), (0, x.useEffect)(() => {- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Yn() !== "pointer") && m.current && !Rt(m.current) && ar(m.current);+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Jn() !== "pointer") && m.current && !Lt(m.current) && ir(m.current);}, [y,m,@@ -20581,7 +20556,7 @@ function fh({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts}, [_.children, r]), [C, w] = (0, x.useState)(null), T = (0, x.useCallback)(() => {i.triggerRef.current && w(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- B(T, [T]), Pc({+ V(T, [T]), Nc({ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: T});@@ -20590,8 +20565,8 @@ function fh({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,..._.style,"--trigger-width": _.style?.["--trigger-width"] || C- }, D = /*#__PURE__*/ x.createElement(lp.div, {- ...V(H(i, { global: !0 }), l),+ }, D = /*#__PURE__*/ x.createElement(Xf.div, {+ ...H(U(i, { global: !0 }), l),..._,id: y ? i.id : void 0,role: y ? "dialog" : void 0,@@ -20606,17 +20581,17 @@ function fh({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts"data-placement": f,"data-entering": g || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ x.createElement(_l, { onDismiss: e.close }), /*#__PURE__*/ x.createElement(ih.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ x.createElement(gl, { onDismiss: e.close }), /*#__PURE__*/ x.createElement(Gm.Provider, { value: {...d,placement: f,ref: a- } }, S), /*#__PURE__*/ x.createElement(_l, { onDismiss: e.close }));- return c ? /*#__PURE__*/ x.createElement(pc, {+ } }, S), /*#__PURE__*/ x.createElement(gl, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ x.createElement(fc, {...i,shouldContainFocus: y && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, D) : /*#__PURE__*/ x.createElement(pc, {+ }, D) : /*#__PURE__*/ x.createElement(fc, {...i,shouldContainFocus: y && i.trigger !== "PreviewTrigger",isExiting: t,@@ -20631,50 +20606,174 @@ function fh({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts}), /*#__PURE__*/ x.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ x.createElement(uh.Provider, { value: o }, D)));+ }, /*#__PURE__*/ x.createElement(Zm.Provider, { value: o }, D)));}//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var ph = /*#__PURE__*/ (0, x.createContext)(null), mh = /*#__PURE__*/ (0, x.createContext)(null), hh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+var eh = /*#__PURE__*/ (0, x.createContext)(null), th = /*#__PURE__*/ (0, x.createContext)(null), nh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = ip(e, t, ph);- let { dialogProps: r, titleProps: i, contentProps: a } = hc({+ [e, t] = Gf(e, t, eh);+ let { dialogProps: r, titleProps: i, contentProps: a } = mc({...e,"aria-labelledby": n- }, t), o = (0, x.useContext)(mh);+ }, t), o = (0, x.useContext)(th);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = $({+ let s = Uf({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = H(e, { global: !0 });- return /*#__PURE__*/ x.createElement(lp.section, {- ...V(c, s, r),+ }), c = U(e, { global: !0 });+ return /*#__PURE__*/ x.createElement(Xf.section, {+ ...H(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ x.createElement(np, { values: [- [wp, { slots: {- [Q]: {},+ }, /*#__PURE__*/ x.createElement(Hf, { values: [+ [dp, { slots: {+ [Vf]: {},title: {...i,level: 2}} }],- [Ep, { slots: {- [Q]: {},+ [pp, { slots: {+ [Vf]: {},description: a} }],- [bp, { slots: {- [Q]: {},+ [sp, { slots: {+ [Vf]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), gh = Math.round(Math.random() * 1e10), _h = 0;-function vh(e) {- let t = (0, x.useMemo)(() => e.name || `radio-group-${gh}-${++_h}`, [e.name]), [n, r] = Io(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, x.useState)(n), [a, o] = (0, x.useState)(null), s = Co({+}), rh = typeof document < "u" && window.visualViewport;+function ih() {+ let e = An(), [t, n] = (0, x.useState)(() => e ? {+ width: 0,+ height: 0+ } : ah());+ return (0, x.useEffect)(() => {+ let e = (e) => {+ n((t) => e.width === t.width && e.height === t.height ? t : e);+ }, t = () => {+ rh && rh.scale > 1 || e(ah());+ }, r, i = (t) => {+ rh && rh.scale > 1 || _i(z(t)) && (r = requestAnimationFrame(() => {+ let t = Ft();+ (!t || !_i(t)) && e({+ width: document.documentElement.clientWidth,+ height: document.documentElement.clientHeight+ });+ }));+ };+ return e(ah()), an() && sn() && window.addEventListener("blur", i, !0), rh ? rh.addEventListener("resize", t) : window.addEventListener("resize", t), () => {+ cancelAnimationFrame(r), an() && sn() && window.removeEventListener("blur", i, !0), rh ? rh.removeEventListener("resize", t) : window.removeEventListener("resize", t);+ };+ }, []), t;+}+function ah() {+ return {+ width: rh ? Math.min(rh.width * rh.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: rh ? rh.height * rh.scale : document.documentElement.clientHeight+ };+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Modal.mjs+var oh = /*#__PURE__*/ (0, x.createContext)(null), sh = /*#__PURE__*/ (0, x.createContext)(null), ch = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ if ((0, x.useContext)(sh)) return /*#__PURE__*/ x.createElement(fh, {+ ...e,+ modalRef: t+ }, e.children);+ let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;+ return /*#__PURE__*/ x.createElement(uh, {+ isDismissable: n,+ isKeyboardDismissDisabled: r,+ isOpen: i,+ defaultOpen: a,+ onOpenChange: o,+ isEntering: c,+ isExiting: l,+ UNSTABLE_portalContainer: u,+ shouldCloseOnInteractOutside: d+ }, /*#__PURE__*/ x.createElement(fh, {+ ...f,+ modalRef: t+ }, s));+});+function lh(e, t) {+ [e, t] = Gf(e, t, oh);+ let n = (0, x.useContext)(th), r = Km(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Nr(t), o = (0, x.useRef)(null), s = Jm(a, i.isOpen), c = Jm(o, i.isOpen), l = s || c || e.isExiting || !1, u = An();+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ x.createElement(dh, {+ ...e,+ state: i,+ isExiting: l,+ overlayRef: a,+ modalRef: o+ });+}+var uh = /*#__PURE__*/ (0, x.forwardRef)(lh);+function dh({ UNSTABLE_portalContainer: e, ...t }) {+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Dl(t, r, n), o = qm(t.overlayRef) || t.isEntering || !1, s = Uf({+ ...t,+ defaultClassName: "react-aria-ModalOverlay",+ values: {+ isEntering: o,+ isExiting: t.isExiting,+ state: r+ }+ }), c = ih(), l, u;+ if (typeof document < "u") {+ let e = eo(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ l = e.scrollWidth - t, u = e.scrollHeight - n;+ }+ let d = {+ ...s.style,+ "--visual-viewport-width": c.width + "px",+ "--visual-viewport-height": c.height + "px",+ "--page-width": l === void 0 ? void 0 : l + "px",+ "--page-height": u === void 0 ? void 0 : u + "px"+ };+ return /*#__PURE__*/ x.createElement(fc, {+ isExiting: t.isExiting,+ portalContainer: e+ }, /*#__PURE__*/ x.createElement(Xf.div, {+ ...H(U(t, { global: !0 }), a),+ ...s,+ style: d,+ ref: t.overlayRef,+ "data-entering": o || void 0,+ "data-exiting": t.isExiting || void 0+ }, /*#__PURE__*/ x.createElement(Hf, { values: [[sh, {+ modalProps: i,+ modalRef: n,+ isExiting: t.isExiting,+ isDismissable: t.isDismissable+ }], [th, r]] }, s.children)));+}+function fh(e) {+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, x.useContext)(sh), a = (0, x.useContext)(th), o = Nr((0, x.useMemo)(() => mr(e.modalRef, n), [e.modalRef, n])), s = qm(o), c = Uf({+ ...e,+ defaultClassName: "react-aria-Modal",+ values: {+ isEntering: s,+ isExiting: r,+ state: a+ }+ });+ return /*#__PURE__*/ x.createElement(Xf.div, {+ ...H(U(e, { global: !0 }), t),+ ...c,+ ref: o,+ "data-entering": s || void 0,+ "data-exiting": r || void 0+ }, i && /*#__PURE__*/ x.createElement(gl, { onDismiss: a.close }), c.children);+}+//#endregion+//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs+var ph = Math.round(Math.random() * 1e10), mh = 0;+function hh(e) {+ let t = (0, x.useMemo)(() => e.name || `radio-group-${ph}-${++mh}`, [e.name]), [n, r] = Fo(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, x.useState)(n), [a, o] = (0, x.useState)(null), s = So({...e,value: n}), c = (t) => {@@ -20697,16 +20796,16 @@ function vh(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var yh = /*#__PURE__*/ (0, x.createContext)(null), bh = /*#__PURE__*/ (0, x.createContext)(null), xh = /*#__PURE__*/ (0, x.createContext)(null), Sh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = ip(e, t, yh);- let { validationBehavior: n } = rp(kp) || {}, r = e.validationBehavior ?? n ?? "native", i = vh({+var gh = /*#__PURE__*/ (0, x.createContext)(null), _h = /*#__PURE__*/ (0, x.createContext)(null), vh = /*#__PURE__*/ (0, x.createContext)(null), yh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ [e, t] = Gf(e, t, gh);+ let { validationBehavior: n } = Wf(gp) || {}, r = e.validationBehavior ?? n ?? "native", i = hh({...e,validationBehavior: r- }), [a, o] = ap(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = ru({+ }), [a, o] = Kf(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = ru({...e,label: o,validationBehavior: r- }, i), f = $({+ }, i), f = Uf({...e,values: {orientation: e.orientation || "vertical",@@ -20717,9 +20816,9 @@ var yh = /*#__PURE__*/ (0, x.createContext)(null), bh = /*#__PURE__*/ (0, x.creastate: i},defaultClassName: "react-aria-RadioGroup"- }), p = H(e, { global: !0 });- return /*#__PURE__*/ x.createElement(lp.div, {- ...V(p, f, s),+ }), p = U(e, { global: !0 });+ return /*#__PURE__*/ x.createElement(Xf.div, {+ ...H(p, f, s),ref: t,slot: e.slot || void 0,"data-orientation": e.orientation || "vertical",@@ -20727,39 +20826,39 @@ var yh = /*#__PURE__*/ (0, x.createContext)(null), bh = /*#__PURE__*/ (0, x.crea"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ x.createElement(np, { values: [- [xh, i],- [_p, {+ }, /*#__PURE__*/ x.createElement(Hf, { values: [+ [vh, i],+ [ip, {...c,ref: a,elementType: "span"}],- [Ep, { slots: {+ [pp, { slots: {description: l,errorMessage: u} }],- [Op, d]- ] }, /*#__PURE__*/ x.createElement(km, null, f.children)));-}), Ch = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ [hp, d]+ ] }, /*#__PURE__*/ x.createElement(gm, null, f.children)));+}), bh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = ip(r, t, bh);- let i = x.useContext(xh), a = Pr((0, x.useMemo)(() => hr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = nu({- ...op(e),+ [e, t] = Gf(r, t, _h);+ let i = x.useContext(vh), a = Nr((0, x.useMemo)(() => mr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = nu({+ ...qf(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ x.createElement(wh.Provider, { value: {+ return /*#__PURE__*/ x.createElement(xh.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ x.createElement(Th, {+ } }, /*#__PURE__*/ x.createElement(Sh, {...e,ref: t}));-}), wh = /*#__PURE__*/ (0, x.createContext)(null), Th = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, x.useContext)(wh), l = x.useContext(xh), { isFocused: u, isFocusVisible: d, focusProps: f } = gc(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Cc({+}), xh = /*#__PURE__*/ (0, x.createContext)(null), Sh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, x.useContext)(xh), l = x.useContext(vh), { isFocused: u, isFocusVisible: d, focusProps: f } = hc(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Sc({...e,isDisabled: p- }), g = $({+ }), g = Uf({...e,defaultClassName: s,values: {@@ -20773,9 +20872,9 @@ var yh = /*#__PURE__*/ (0, x.createContext)(null), bh = /*#__PURE__*/ (0, x.creaisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = H(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ x.createElement(lp.label, {- ...V(_, n, m, g),+ }), _ = U(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ x.createElement(Xf.label, {+ ...H(_, n, m, g),ref: t,"data-selected": i || void 0,"data-pressed": o || void 0,@@ -20786,19 +20885,19 @@ var yh = /*#__PURE__*/ (0, x.createContext)(null), bh = /*#__PURE__*/ (0, x.crea"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ x.createElement(Vo, { elementType: "span" }, /*#__PURE__*/ x.createElement("input", {- ...V(r, f),+ }, /*#__PURE__*/ x.createElement(Bo, { elementType: "span" }, /*#__PURE__*/ x.createElement("input", {+ ...H(r, f),ref: c})), g.children);});//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function Eh(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = ah(e), [i, a] = (0, x.useState)(null), o = (0, x.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Ch(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = Km(e), [i, a] = (0, x.useState)(null), o = (0, x.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = Io((0, x.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = Fo((0, x.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -20810,12 +20909,12 @@ function Eh(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = Wm({+ }, d = jm({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, x.useMemo)(() => Dh(l), [l]),+ selectedKeys: (0, x.useMemo)(() => wh(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -20825,7 +20924,7 @@ function Eh(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, x.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = Co({+ }), f = d.selectionManager.firstSelectedKey, p = (0, x.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = So({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, x.useState)(!1), [_] = (0, x.useState)(l);@@ -20852,16 +20951,16 @@ function Eh(e) {setFocused: g};}-function Dh(e) {+function wh(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}//#endregion//#region node_modules/react-aria-components/dist/private/Select.mjs-function Oh(e) {+function Th(e) {return e && e.__esModule ? e.default : e;}-var kh = /*#__PURE__*/ (0, x.createContext)(null), Ah = /*#__PURE__*/ (0, x.createContext)(null), jh = /*#__PURE__*/ Vr(function(e, t) {- [e, t] = ip(e, t, kh);+var Eh = /*#__PURE__*/ (0, x.createContext)(null), Dh = /*#__PURE__*/ (0, x.createContext)(null), Oh = /*#__PURE__*/ Br(function(e, t) {+ [e, t] = Gf(e, t, Eh);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, x.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -20876,24 +20975,24 @@ var kh = /*#__PURE__*/ (0, x.createContext)(null), Ah = /*#__PURE__*/ (0, x.creai,a]);- return /*#__PURE__*/ x.createElement(Zr, { content: o }, (n) => /*#__PURE__*/ x.createElement(Nh, {+ return /*#__PURE__*/ x.createElement(Xr, { content: o }, (n) => /*#__PURE__*/ x.createElement(Ah, {props: e,collection: n,selectRef: t}));-}), Mh = [- _p,- bp,- Ep+}), kh = [+ ip,+ sp,+ pp];-function Nh({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = rp(kp) || {}, i = e.validationBehavior ?? r ?? "native", a = Eh({+function Ah({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = Wf(gp) || {}, i = e.validationBehavior ?? r ?? "native", a = Ch({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = gc({ within: !0 }), c = (0, x.useRef)(null), [l, u] = ap(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = au({- ...op(e),+ }), { isFocusVisible: o, focusProps: s } = hc({ within: !0 }), c = (0, x.useRef)(null), [l, u] = Kf(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = au({+ ...qf(e),label: u,validationBehavior: i}, a, c), y = (0, x.useMemo)(() => ({@@ -20910,49 +21009,49 @@ function Nh({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = $({+ ]), b = Uf({...e,values: y,defaultClassName: "react-aria-Select"- }), S = H(e, { global: !0 });+ }), S = U(e, { global: !0 });delete S.id;let C = (0, x.useRef)(null);- return /*#__PURE__*/ x.createElement(np, { values: [- [kh, e],- [Ah, a],- [Ph, p],- [_p, {+ return /*#__PURE__*/ x.createElement(Hf, { values: [+ [Eh, e],+ [Dh, a],+ [jh, p],+ [ip, {...d,ref: l,elementType: "span"}],- [bp, {+ [sp, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [mh, a],- [lh, {+ [th, a],+ [Xm, {trigger: "Select",triggerRef: c,scrollRef: C,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: Mh+ clearContexts: kh}],- [Jm, {+ [Fm, {...m,ref: C}],- [Ym, a],- [Ep, { slots: {+ [Im, a],+ [pp, { slots: {description: h,errorMessage: g} }],- [Op, v]- ] }, /*#__PURE__*/ x.createElement(lp.div, {- ...V(S, b, s),+ [hp, v]+ ] }, /*#__PURE__*/ x.createElement(Xf.div, {+ ...H(S, b, s),ref: t,slot: e.slot || void 0,"data-focused": a.isFocused || void 0,@@ -20966,9 +21065,9 @@ function Nh({ props: e, selectRef: t, collection: n }) {autoComplete: e.autoComplete})));}-var Ph = /*#__PURE__*/ (0, x.createContext)(null), Fh = /*#__PURE__*/ Vr(function(e, t) {- [e, t] = ip(e, t, Ph);- let n = (0, x.useContext)(Ah), { placeholder: r } = rp(kh), i = n.selectedItems.map((e) => {+var jh = /*#__PURE__*/ (0, x.createContext)(null), Mh = /*#__PURE__*/ Br(function(e, t) {+ [e, t] = Gf(e, t, jh);+ let n = (0, x.useContext)(Dh), { placeholder: r } = Wf(Eh), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -20980,7 +21079,7 @@ var Ph = /*#__PURE__*/ (0, x.createContext)(null), Fh = /*#__PURE__*/ Vr(functioselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = _c(), o = (0, x.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, x.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = gc(), o = (0, x.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, x.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -20995,7 +21094,7 @@ var Ph = /*#__PURE__*/ (0, x.createContext)(null), Fh = /*#__PURE__*/ Vr(functioa,o,i- ]), u = qi(Oh(xm), "react-aria-components"), d = $({+ ]), u = Ki(Th(cm), "react-aria-components"), d = Uf({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -21006,33 +21105,33 @@ var Ph = /*#__PURE__*/ (0, x.createContext)(null), Fh = /*#__PURE__*/ Vr(functioisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = H(e, { global: !0 });- return /*#__PURE__*/ x.createElement(lp.span, {+ }), f = U(e, { global: !0 });+ return /*#__PURE__*/ x.createElement(Xf.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ x.createElement(Ep.Provider, { value: void 0 }, d.children));-}), Ih = /*#__PURE__*/ (0, x.createContext)(null), Lh = /*#__PURE__*/ (0, x.createContext)(null), Rh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ x.createElement(pp.Provider, { value: void 0 }, d.children));+}), Nh = /*#__PURE__*/ (0, x.createContext)(null), Ph = /*#__PURE__*/ (0, x.createContext)(null), Fh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = ip(r, t, Ih);- let i = Pr((0, x.useMemo)(() => hr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Lo(e), o = cu({- ...op(e),+ [e, t] = Gf(r, t, Nh);+ let i = Nr((0, x.useMemo)(() => mr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Io(e), o = cu({+ ...qf(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ x.createElement(np, { values: [[Lh, a], [zh, {+ return /*#__PURE__*/ x.createElement(Hf, { values: [[Ph, a], [Ih, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ x.createElement(Bh, {+ }]] }, /*#__PURE__*/ x.createElement(Lh, {...e,ref: t}));-}), zh = /*#__PURE__*/ (0, x.createContext)(null), Bh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, x.useContext)(zh), { isFocused: f, isFocusVisible: p, focusProps: m } = gc(), h = a || o, g = (0, x.useContext)(Lh), { hoverProps: _, isHovered: v } = Cc({+}), Ih = /*#__PURE__*/ (0, x.createContext)(null), Lh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, x.useContext)(Ih), { isFocused: f, isFocusVisible: p, focusProps: m } = hc(), h = a || o, g = (0, x.useContext)(Ph), { hoverProps: _, isHovered: v } = Sc({...e,isDisabled: h- }), y = $({+ }), y = Uf({...e,defaultClassName: u,values: {@@ -21047,9 +21146,9 @@ var Ph = /*#__PURE__*/ (0, x.createContext)(null), Fh = /*#__PURE__*/ Vr(functioisRequired: d || !1,state: g}- }), b = H(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ x.createElement(lp.label, {- ...V(b, n, _, y),+ }), b = U(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ x.createElement(Xf.label, {+ ...H(b, n, _, y),ref: t,slot: e.slot || void 0,"data-selected": i || void 0,@@ -21061,22 +21160,22 @@ var Ph = /*#__PURE__*/ (0, x.createContext)(null), Fh = /*#__PURE__*/ Vr(functio"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ x.createElement(Vo, { elementType: "span" }, /*#__PURE__*/ x.createElement("input", {- ...V(r, m),+ }, /*#__PURE__*/ x.createElement(Bo, { elementType: "span" }, /*#__PURE__*/ x.createElement("input", {+ ...H(r, m),ref: l})), y.children);-}), Vh = /*#__PURE__*/ (0, x.createContext)({}), Hh = /*#__PURE__*/ (0, x.createContext)(null), Uh = /*#__PURE__*/ Vr(function(e, t) {- [e, t] = ip(e, t, Hh);- let { validationBehavior: n } = rp(kp) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, x.useRef)(null);- [e, i] = ip(e, i, dp);- let [a, o] = ap(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, x.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Ho({- ...op(e),+}), Rh = /*#__PURE__*/ (0, x.createContext)({}), zh = /*#__PURE__*/ (0, x.createContext)(null), Bh = /*#__PURE__*/ Br(function(e, t) {+ [e, t] = Gf(e, t, zh);+ let { validationBehavior: n } = Wf(gp) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, x.useRef)(null);+ [e, i] = Gf(e, i, Qf);+ let [a, o] = Kf(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, x.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Vo({+ ...qf(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, x.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = $({+ }, [i]), h = Uf({...e,values: {isDisabled: e.isDisabled || !1,@@ -21085,8 +21184,8 @@ var Ph = /*#__PURE__*/ (0, x.createContext)(null), Fh = /*#__PURE__*/ Vr(functioisRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = H(e, { global: !0 });- return delete g.id, /*#__PURE__*/ x.createElement(lp.div, {+ }), g = U(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ x.createElement(Xf.div, {...g,...h,ref: t,@@ -21095,31 +21194,31 @@ var Ph = /*#__PURE__*/ (0, x.createContext)(null), Fh = /*#__PURE__*/ Vr(functio"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ x.createElement(np, { values: [- [_p, {+ }, /*#__PURE__*/ x.createElement(Hf, { values: [+ [ip, {...l,ref: a}],- [Rp, {+ [Tp, {...u,ref: m}],- [Vh, {+ [Rh, {...u,ref: m}],- [Ip, {+ [Cp, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [Ep, { slots: {+ [pp, { slots: {description: d,errorMessage: f} }],- [Op, p]+ [hp, p]] }, h.children));-}), Wh = af({+}), Vh = sf({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -21174,158 +21273,628 @@ var Ph = /*#__PURE__*/ (0, x.createContext)(null), Fh = /*#__PURE__*/ Vr(functio].join(" ")}});-function Gh({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, type: s = "button", ref: c, ...l }) {+function Hh({ 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, S.jsxs)("button", {ref: c,type: s,- className: rf(Wh.base, Wh.size[t], Wh.variant[e], n && Wh.iconOnlySize[t], o),+ className: of(Vh.base, Vh.size[t], Vh.variant[e], n && Vh.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, S.jsx)(r, {- className: Wh.icon[t],+ className: Vh.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, S.jsx)("span", {- className: Wh.label[t],+ className: Vh.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, S.jsx)(i, {- className: Wh.icon[t],+ className: Vh.icon[t],"aria-hidden": !0}) : null]});}//#endregion-//#region src/react/boardui/components/base/buttons/link-button.tsx-var Kh = af({+//#region src/react/boardui/components/base/buttons/icon-button.tsx+var Uh = sf({base: [- "inline-flex items-center justify-center gap-1 whitespace-nowrap",- "font-sans select-none cursor-pointer rounded-sm",- "underline-offset-3 hover:underline",- "transition-colors duration-150 ease",+ "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",+ "bg-background-primary-default text-foreground-icon-primary",+ "border border-border-button-default shadow-xs",+ "select-none cursor-pointer",+ "transition-[background-color,border-color,box-shadow,color] duration-150 ease","outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",- "disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline"+ "hover:bg-background-primary-hover hover:border-border-button-hover",+ "active:bg-background-primary-active active:border-border-button-active",+ "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none"].join(" "),size: {- medium: "text-body-medium",- small: "text-body-medium",- xs: "text-caption-1-semibold"+ medium: "size-9",+ small: "size-8"},icon: {medium: "size-5 shrink-0",- small: "size-[18px] shrink-0",- xs: "size-3.5 shrink-0"- },- variant: {- primary: ["text-accent-600 active:text-accent-800", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" "),- secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")+ small: "size-4 shrink-0"}});-function qh({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = rf(Kh.base, Kh.size[t], Kh.variant[e], a), l = /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [- n ? /* @__PURE__ */ (0, S.jsx)(n, {- className: Kh.icon[t],- "aria-hidden": !0- }) : null,- i != null && /* @__PURE__ */ (0, S.jsx)("span", { children: i }),- r ? /* @__PURE__ */ (0, S.jsx)(r, {- className: Kh.icon[t],- "aria-hidden": !0- }) : null- ] });- if (s.href !== void 0) {- let { ref: e, href: t, ...n } = s;- return /* @__PURE__ */ (0, S.jsx)("a", {- ref: e,- href: o ? void 0 : t,- "aria-disabled": o || void 0,- className: c,- ...n,- children: l- });- }- let { ref: u, type: d = "button", ...f } = s;+function Wh({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, S.jsx)("button", {- ref: u,- type: d,- disabled: o,- className: c,- ...f,- children: l+ ref: i,+ type: r,+ className: of(Uh.base, Uh.size[t], n),+ ...a,+ children: /* @__PURE__ */ (0, S.jsx)(e, {+ className: Uh.icon[t],+ "aria-hidden": !0+ })});}//#endregion-//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var Jh = [- "max-w-[calc(100vw-32px)] overflow-y-auto",- "rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",- "transition duration-150 ease-out",- "data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px]",- "data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",- "data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",- "data-[placement=left]:origin-right data-[placement=right]:origin-left"-].join(" "), Yh = "w-[266px]", Xh = "flex w-full flex-col gap-1 outline-none", Zh = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), Qh = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";-//#endregion-//#region src/react/boardui/components/application/settings/settings-rows.tsx-function $h({ className: e, children: t }) {- return /* @__PURE__ */ (0, S.jsx)("div", {- className: rf("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),- children: t- });-}-function eg({ className: e, children: t }) {- return /* @__PURE__ */ (0, S.jsx)("p", {- className: rf("w-full px-3 text-body-2-medium text-text-secondary", e),- children: t+//#region src/react/boardui/components/base/input/label.tsx+function Gh({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, S.jsxs)(ap, {+ "data-label": "true",+ ...a,+ className: of("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ children: [+ i,+ e && /* @__PURE__ */ (0, S.jsx)("span", {+ "aria-hidden": "true",+ className: "text-body-medium text-text-error-primary",+ children: "*"+ }),+ n && /* @__PURE__ */ (0, S.jsx)(wu, {+ className: "size-4 shrink-0 text-foreground-icon-quaternary",+ "aria-hidden": !0+ })+ ]});}-function tg({ label: e, description: t, children: n }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {- className: rf("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"),- children: [/* @__PURE__ */ (0, S.jsxs)("div", {- className: "flex min-w-0 flex-col",- children: [/* @__PURE__ */ (0, S.jsx)("p", {- className: "text-body-regular text-text-primary",- children: e- }), t && /* @__PURE__ */ (0, S.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: t- })]- }), n]+//#endregion+//#region src/react/boardui/components/base/input/hint-text.tsx+function Kh({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, S.jsx)(mp, {+ slot: e ? "errorMessage" : "description",+ ...n,+ className: of("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}//#endregion-//#region src/react/settings/section.tsx-function ng({ title: e, id: t, aside: n, onSubmit: r, children: i }) {- let a = /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [n ? /* @__PURE__ */ (0, S.jsxs)("div", {- className: "flex w-full flex-wrap items-center justify-between gap-2",- children: [/* @__PURE__ */ (0, S.jsx)("div", {- className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, S.jsx)(eg, { children: e })- }), n]- }) : /* @__PURE__ */ (0, S.jsx)(eg, { children: e }), /* @__PURE__ */ (0, S.jsx)($h, { children: i })] });- return r ? /* @__PURE__ */ (0, S.jsx)("form", {- id: t,- "aria-label": e,- noValidate: !0,- onSubmit: r,- className: "flex w-full flex-col gap-2",- children: a- }) : /* @__PURE__ */ (0, S.jsx)("section", {- id: t,- "aria-label": e,- className: "flex w-full flex-col gap-2",- children: a+//#region src/react/boardui/components/base/input/input.tsx+var qh = (0, x.createContext)({});+function Jh({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, S.jsx)(qh.Provider, {+ value: {+ size: e,+ fieldClassName: t,+ inputClassName: n+ },+ children: /* @__PURE__ */ (0, S.jsx)(Bh, {+ ...a,+ "data-input-size": e,+ className: of("group flex h-max w-full flex-col items-start gap-1", r),+ children: i+ })});}-function rg({ children: e }) {- return /* @__PURE__ */ (0, S.jsx)("div", {- className: "flex flex-col",+Jh.displayName = "TextField";+var Yh = sf({+ 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 Xh({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, x.useContext)(qh), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, S.jsx)(wp, {+ ref: s,+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => of(Yh.field, d ? Yh.fieldWithAddonSize[u] : Yh.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, S.jsxs)("div", {+ className: Yh.content,+ children: [/* @__PURE__ */ (0, S.jsxs)("div", {+ className: Yh.leftSection,+ children: [d ? r : t ? /* @__PURE__ */ (0, S.jsx)(t, {+ className: Yh.icon,+ "aria-hidden": !0+ }) : null, /* @__PURE__ */ (0, S.jsx)(Dp, {+ ref: o,+ ...c,+ className: of(Yh.input, l.inputClassName, a)+ })]+ }), n ? /* @__PURE__ */ (0, S.jsx)(n, {+ className: Yh.icon,+ "aria-hidden": !0+ }) : null]+ })+ });+}+Xh.displayName = "InputBase";+function Zh({ 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, S.jsx)(Jh, {+ ...d,+ className: u,+ "aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),+ children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [+ e && /* @__PURE__ */ (0, S.jsx)(Gh, {+ isRequired: u,+ isInvalid: d,+ tooltip: n,+ children: e+ }),+ /* @__PURE__ */ (0, S.jsx)(Xh, {+ ref: c,+ groupRef: l,+ placeholder: r,+ leadingIcon: i,+ trailingIcon: a,+ leadingAddon: o,+ fieldClassName: s+ }),+ t && /* @__PURE__ */ (0, S.jsx)(Kh, {+ isInvalid: d,+ children: t+ })+ ] })+ });+}+Zh.displayName = "Input";+//#endregion+//#region src/react/settings/use-action.ts+function Qh(e = "") {+ let t = (0, x.useRef)(null), [n, r] = (0, x.useState)(""), [i, a] = (0, x.useState)(e);+ (0, x.useEffect)(() => () => t.current?.abort(), []);+ async function o(e, n, i, o) {+ if (t.current) return;+ let s = new AbortController();+ t.current = s, r(e), a("");+ try {+ let e = await n(s.signal);+ s.signal.aborted || i(e);+ } catch (e) {+ if (s.signal.aborted) return;+ o ? o(e) : a(ff(e));+ } finally {+ t.current === s && (t.current = null), s.signal.aborted || r("");+ }+ }+ return {+ run: o,+ busy: n,+ error: i,+ setError: a+ };+}+function $h(e) {+ return e ? {+ "aria-busy": !0,+ "aria-disabled": !0+ } : {};+}+//#endregion+//#region src/react/avatar-picker/avatar-picker.ts+var eg = "/api/avatar-choices", tg = "/api/avatar-pick", ng = "/avatar-choice", rg = (e, t) => [+ "avatar-choices",+ e,+ t+], ig = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, ag = (e, t, n) => `${ng}${ig(e, t)}&ref=${encodeURIComponent(n)}`, og = (e, t, n) => Q(eg + ig(e, t), n);+async function sg(e, t, n) {+ if (!("file" in n)) {+ await pf(tg, {+ kind: e,+ id: t,+ ...n+ });+ return;+ }+ let r = n.file, i = await fetch(`${tg}${ig(e, t)}&name=${encodeURIComponent(r.name)}`, {+ method: "POST",+ credentials: "same-origin",+ body: r+ });+ if (i.ok) return;+ let a = await i.json().catch(() => null);+ throw new uf(a?.error || `请求失败(${i.status})`, i.status, a);+}+function cg(e, t) {+ if (!t) return "正在找可用的图…";+ let n = t.matched_names.filter((t) => t !== e);+ return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;+}+var lg = (e) => !!e && e.index_stale && !e.choices.some((e) => e.source === "gfriends"), ug = {+ gfriends: "图库",+ history: "用过的"+}, dg = (e) => `${ug[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "");+//#endregion+//#region src/react/avatar-picker/avatar-picker-page.tsx+function fg({ kind: e, entityId: t, name: n, onPicked: r }) {+ let [i, a] = (0, x.useState)(!1);+ return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)("span", {+ className: "absolute right-1 bottom-1",+ children: /* @__PURE__ */ (0, S.jsx)(Wh, {+ icon: pu,+ size: "small",+ "aria-haspopup": "dialog",+ "aria-label": `更换${n}的头像`,+ onClick: () => a(!0)+ })+ }), /* @__PURE__ */ (0, S.jsx)(uh, {+ isOpen: i,+ onOpenChange: a,+ isDismissable: !0,+ className: "fixed inset-0 z-50 flex items-center justify-center bg-scrim p-4",+ children: /* @__PURE__ */ (0, S.jsx)(ch, {+ className: "flex max-h-full w-full max-w-avatar-picker flex-col overflow-hidden rounded-2xl border border-separator-border bg-background-primary-default shadow-dropdown",+ children: /* @__PURE__ */ (0, S.jsx)(nh, {+ "aria-label": "更换头像",+ className: "flex min-h-0 flex-col outline-none",+ children: /* @__PURE__ */ (0, S.jsx)(pg, {+ kind: e,+ entityId: t,+ name: n,+ onPicked: r,+ close: () => a(!1)+ })+ })+ })+ })] });+}+function pg({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, x.useRef)(null), [o, s] = (0, x.useState)(""), [c, l] = (0, x.useState)(""), u = rg(e, t), d = (0, x.useRef)(!1), f = ct({+ queryKey: u,+ queryFn: ({ signal: n }) => og(e, t, n),+ retryOnMount: !0+ });+ (0, x.useEffect)(() => () => {+ d.current && yf.removeQueries({ queryKey: rg(e, t) });+ }, [e, t]);+ let p = lt({+ mutationFn: (n) => sg(e, t, n),+ onSuccess: () => {+ d.current = !0, i(), r();+ }+ });+ function m(e) {+ let t = e.currentTarget, n = t.files?.[0];+ t.value = "", l(""), n && p.mutate({ file: n });+ }+ let h = f.data, g = h?.choices ?? [], _ = c || (p.error ? ff(p.error) : "") || (f.error ? ff(f.error) : "");+ return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [+ /* @__PURE__ */ (0, S.jsxs)("div", {+ className: "flex shrink-0 items-start gap-4 p-5",+ children: [+ /* @__PURE__ */ (0, S.jsx)("span", {+ "aria-hidden": !0,+ className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",+ children: /* @__PURE__ */ (0, S.jsx)(Eu, { className: "size-6" })+ }),+ /* @__PURE__ */ (0, S.jsxs)("div", {+ className: "flex min-w-0 flex-1 flex-col gap-2",+ children: [+ /* @__PURE__ */ (0, S.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, S.jsx)(fp, {+ slot: "title",+ className: "text-title-3-semibold text-text-primary",+ children: "更换头像"+ }), g.length ? /* @__PURE__ */ (0, S.jsxs)(lf, {+ color: "soft",+ children: [g.length, " 张可选"]+ }) : null]+ }),+ /* @__PURE__ */ (0, S.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: cg(n, h)+ }),+ lg(h) ? /* @__PURE__ */ (0, S.jsx)(gf, {+ tone: "neutral",+ children: "图库索引还没取过,只能从用过的图里选。"+ }) : null,+ _ ? /* @__PURE__ */ (0, S.jsx)(gf, {+ tone: "error",+ children: _+ }) : null+ ]+ }),+ /* @__PURE__ */ (0, S.jsx)(Wh, {+ icon: _u,+ size: "small",+ "aria-label": "关闭",+ onClick: i+ })+ ]+ }),+ /* @__PURE__ */ (0, S.jsx)("div", {+ className: "flex min-h-0 flex-1 flex-col overflow-y-auto border-t border-separator-border px-5 pt-4",+ children: /* @__PURE__ */ (0, S.jsx)("div", {+ role: "listbox",+ "aria-label": "候选头像",+ className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",+ children: g.map((n) => /* @__PURE__ */ (0, S.jsxs)("button", {+ type: "button",+ role: "option",+ "data-avatar-choice": !0,+ "aria-selected": n.current,+ title: dg(n),+ ...$h(p.isPending),+ onClick: () => {+ p.isPending || p.mutate({ ref: n.ref });+ },+ className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",+ children: [+ /* @__PURE__ */ (0, S.jsx)("img", {+ loading: "lazy",+ alt: "",+ src: ag(e, t, n.ref),+ className: "block w-full aspect-avatar-choice object-cover"+ }),+ /* @__PURE__ */ (0, S.jsx)("span", {+ className: "truncate px-1",+ children: n.label+ }),+ n.current ? /* @__PURE__ */ (0, S.jsx)("span", {+ className: "absolute top-1 left-1",+ children: /* @__PURE__ */ (0, S.jsx)(lf, {+ variant: "caption",+ color: "blue",+ children: "在用"+ })+ }) : null+ ]+ }, n.ref))+ })+ }),+ /* @__PURE__ */ (0, S.jsxs)("div", {+ className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",+ children: [+ /* @__PURE__ */ (0, S.jsx)(Hh, {+ variant: "secondary",+ onClick: () => a.current?.click(),+ ...$h(p.isPending),+ children: "从本机选图片"+ }),+ /* @__PURE__ */ (0, S.jsx)("input", {+ ref: a,+ type: "file",+ accept: "image/png,image/jpeg",+ tabIndex: -1,+ "aria-hidden": !0,+ className: "hidden",+ onChange: m+ }),+ /* @__PURE__ */ (0, S.jsxs)("div", {+ className: "flex min-w-0 flex-1 items-center gap-2",+ children: [/* @__PURE__ */ (0, S.jsx)("div", {+ className: "min-w-0 flex-1",+ children: /* @__PURE__ */ (0, S.jsx)(Zh, {+ type: "url",+ "aria-label": "图片地址",+ placeholder: "https://…",+ value: o,+ onChange: s+ })+ }), /* @__PURE__ */ (0, S.jsx)(Hh, {+ disabled: !o.trim(),+ ...$h(p.isPending),+ onClick: () => {+ p.isPending || p.mutate({ url: o.trim() });+ },+ children: "用这个地址"+ })]+ })+ ]+ })+ ] });+}+//#endregion+//#region src/react/library-processing/library-processing.ts+var mg = "/api/library-processing", hg = ["library-processing"], gg = (e) => Q(mg, e);+async function _g(e) {+ await yf.fetchQuery({+ queryKey: hg,+ queryFn: () => gg(e)+ });+}+var vg = 2e3, yg = 1e4, bg = "连接中断,正在重新读取处理进度";+function xg(e, t) {+ return e?.status === "running" ? vg : t ? yg : !1;+}+var Sg = {+ reading_local: "读取本地资料",+ querying_metadata: "查询外部资料",+ fetching_cover: "采集缺失封面",+ writing_candidates: "保存资料候选"+}, Cg = {+ querying_metadata: "没有资料",+ fetching_cover: "没有封面"+};+function wg(e) {+ let t = Object.entries(e).filter(([e, t]) => Cg[e] && t > 0).map(([e, t]) => `${Cg[e]} ${t} 部`);+ return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";+}+function Tg(e) {+ let t = Sg[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";+ return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;+}+function Eg(e) {+ let t = e.issue_preview || [];+ return t.length ? {+ label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,+ items: t.map((e, t) => ({+ key: `${e.asset_id ?? "source"}-${t}`,+ label: e.title || (e.asset_id ? `视频 ${e.asset_id}` : "媒体来源"),+ href: e.asset_id ? `/item/${e.asset_id}` : "",+ note: e.message,+ hint: e.path || ""+ })),+ footnote: e.issues_log ? `完整记录:${e.issues_log}` : ""+ } : null;+}+var Dg = "peach.library-processing.announced", Og = 120;+function kg(e, t, n) {+ if (e.status !== "complete") return;+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Og;+ if (!(!n && !r)) {+ try {+ if (e.job_id && localStorage.getItem(Dg) === e.job_id) return;+ e.job_id && localStorage.setItem(Dg, e.job_id);+ } catch {}+ t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选`);+ }+}+//#endregion+//#region src/react/boardui/components/base/buttons/link-button.tsx+var Ag = sf({+ base: [+ "inline-flex items-center justify-center gap-1 whitespace-nowrap",+ "font-sans select-none cursor-pointer rounded-sm",+ "underline-offset-3 hover:underline",+ "transition-colors duration-150 ease",+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",+ "disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline"+ ].join(" "),+ size: {+ medium: "text-body-medium",+ small: "text-body-medium",+ xs: "text-caption-1-semibold"+ },+ icon: {+ medium: "size-5 shrink-0",+ small: "size-[18px] shrink-0",+ xs: "size-3.5 shrink-0"+ },+ variant: {+ primary: ["text-accent-600 active:text-accent-800", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" "),+ secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")+ }+});+function jg({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = of(Ag.base, Ag.size[t], Ag.variant[e], a), l = /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [+ n ? /* @__PURE__ */ (0, S.jsx)(n, {+ className: Ag.icon[t],+ "aria-hidden": !0+ }) : null,+ i != null && /* @__PURE__ */ (0, S.jsx)("span", { children: i }),+ r ? /* @__PURE__ */ (0, S.jsx)(r, {+ className: Ag.icon[t],+ "aria-hidden": !0+ }) : null+ ] });+ if (s.href !== void 0) {+ let { ref: e, href: t, ...n } = s;+ return /* @__PURE__ */ (0, S.jsx)("a", {+ ref: e,+ href: o ? void 0 : t,+ "aria-disabled": o || void 0,+ className: c,+ ...n,+ children: l+ });+ }+ let { ref: u, type: d = "button", ...f } = s;+ return /* @__PURE__ */ (0, S.jsx)("button", {+ ref: u,+ type: d,+ disabled: o,+ className: c,+ ...f,+ children: l+ });+}+//#endregion+//#region src/react/boardui/components/base/dropdown/menu-styles.ts+var Mg = [+ "max-w-[calc(100vw-32px)] overflow-y-auto",+ "rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",+ "transition duration-150 ease-out",+ "data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px]",+ "data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",+ "data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",+ "data-[placement=left]:origin-right data-[placement=right]:origin-left"+].join(" "), Ng = "w-[266px]", Pg = "flex w-full flex-col gap-1 outline-none", Fg = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), Ig = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+//#endregion+//#region src/react/boardui/components/application/settings/settings-rows.tsx+function Lg({ className: e, children: t }) {+ return /* @__PURE__ */ (0, S.jsx)("div", {+ className: of("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ children: t+ });+}+function Rg({ className: e, children: t }) {+ return /* @__PURE__ */ (0, S.jsx)("p", {+ className: of("w-full px-3 text-body-2-medium text-text-secondary", e),+ children: t+ });+}+function zg({ label: e, description: t, children: n }) {+ return /* @__PURE__ */ (0, S.jsxs)("div", {+ className: of("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"),+ children: [/* @__PURE__ */ (0, S.jsxs)("div", {+ className: "flex min-w-0 flex-col",+ children: [/* @__PURE__ */ (0, S.jsx)("p", {+ className: "text-body-regular text-text-primary",+ children: e+ }), t && /* @__PURE__ */ (0, S.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: t+ })]+ }), n]+ });+}+//#endregion+//#region src/react/settings/section.tsx+function Bg({ title: e, id: t, aside: n, onSubmit: r, children: i }) {+ let a = /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [n ? /* @__PURE__ */ (0, S.jsxs)("div", {+ className: "flex w-full flex-wrap items-center justify-between gap-2",+ children: [/* @__PURE__ */ (0, S.jsx)("div", {+ className: "min-w-0 flex-1",+ children: /* @__PURE__ */ (0, S.jsx)(Rg, { children: e })+ }), n]+ }) : /* @__PURE__ */ (0, S.jsx)(Rg, { children: e }), /* @__PURE__ */ (0, S.jsx)(Lg, { children: i })] });+ return r ? /* @__PURE__ */ (0, S.jsx)("form", {+ id: t,+ "aria-label": e,+ noValidate: !0,+ onSubmit: r,+ className: "flex w-full flex-col gap-2",+ children: a+ }) : /* @__PURE__ */ (0, S.jsx)("section", {+ id: t,+ "aria-label": e,+ className: "flex w-full flex-col gap-2",+ children: a+ });+}+function Vg({ children: e }) {+ return /* @__PURE__ */ (0, S.jsx)("div", {+ className: "flex flex-col",children: e});}-function ig({ divided: e = !1, children: t }) {+function Hg({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, S.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",children: t@@ -21334,7 +21903,7 @@ function ig({ divided: e = !1, children: t }) {children: t});}-function ag({ status: e, children: t }) {+function Ug({ status: e, children: t }) {return /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-wrap items-center justify-end gap-3 border-t border-separator-border py-3 pr-3",children: [e ? /* @__PURE__ */ (0, S.jsx)("div", {@@ -21343,43 +21912,43 @@ function ag({ status: e, children: t }) {}) : null, t]});}-function og({ role: e, children: t }) {+function Wg({ role: e, children: t }) {return /* @__PURE__ */ (0, S.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function sg({ children: e }) {+function Gg({ children: e }) {return /* @__PURE__ */ (0, S.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function cg({ children: e }) {+function Kg({ children: e }) {return /* @__PURE__ */ (0, S.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function lg({ href: e, children: t }) {- return /* @__PURE__ */ (0, S.jsx)(qh, {+function qg({ href: e, children: t }) {+ return /* @__PURE__ */ (0, S.jsx)(jg, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",- trailingIcon: yu,+ trailingIcon: bu,children: t});}-function ug({ children: e }) {+function Jg({ children: e }) {return /* @__PURE__ */ (0, S.jsx)("dl", {className: "flex flex-col",children: e});}-function dg({ term: e, children: t }) {+function Yg({ term: e, children: t }) {return /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",children: [/* @__PURE__ */ (0, S.jsx)("dt", {@@ -21391,7 +21960,7 @@ function dg({ term: e, children: t }) {})]});}-function fg({ summary: e, children: t }) {+function Xg({ summary: e, children: t }) {let n = (0, x.useId)(), r = (0, x.useRef)(null), i = (0, x.useRef)(null), [a, o] = (0, x.useState)(!1);return /* @__PURE__ */ (0, S.jsxs)("details", {ref: r,@@ -21402,7 +21971,7 @@ function fg({ summary: e, children: t }) {e.preventDefault(), !(!r.current || !i.current) && (s(r.current, i.current, !a), o(!a));},className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: [/* @__PURE__ */ (0, S.jsx)(hu, {+ children: [/* @__PURE__ */ (0, S.jsx)(gu, {"aria-hidden": !0,className: a ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"}), e]@@ -21417,7 +21986,7 @@ function fg({ summary: e, children: t }) {})]});}-function pg({ name: e }) {+function Zg({ name: e }) {return /* @__PURE__ */ (0, S.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -21426,61 +21995,29 @@ function pg({ name: e }) {children: /* @__PURE__ */ (0, S.jsx)("use", { href: `#i-${e}` })});}-function mg({ mark: e }) {+function Qg({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, S.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-4 shrink-0"- }) : /* @__PURE__ */ (0, S.jsx)(pg, { name: e });-}-//#endregion-//#region src/react/settings/use-action.ts-function hg(e = "") {- let t = (0, x.useRef)(null), [n, r] = (0, x.useState)(""), [i, a] = (0, x.useState)(e);- (0, x.useEffect)(() => () => t.current?.abort(), []);- async function o(e, n, i, o) {- if (t.current) return;- let s = new AbortController();- t.current = s, r(e), a("");- try {- let e = await n(s.signal);- s.signal.aborted || i(e);- } catch (e) {- if (s.signal.aborted) return;- o ? o(e) : a(uf(e));- } finally {- t.current === s && (t.current = null), s.signal.aborted || r("");- }- }- return {- run: o,- busy: n,- error: i,- setError: a- };-}-function gg(e) {- return e ? {- "aria-busy": !0,- "aria-disabled": !0- } : {};+ }) : /* @__PURE__ */ (0, S.jsx)(Zg, { name: e });}//#endregion//#region src/react/library-processing/use-library-processing.ts-function _g({ toast: e, mode: t, monitor: n }) {- let r = t === "notice" || !!n, i = lt({- queryKey: Hf,- queryFn: ({ signal: e }) => Z(e),- refetchInterval: (e) => qf(e.state.data, r)+function $g({ toast: e, mode: t, monitor: n }) {+ let r = t === "notice" || !!n, i = ct({+ queryKey: hg,+ queryFn: ({ signal: e }) => gg(e),+ refetchInterval: (e) => xg(e.state.data, r)}), [a, o] = (0, x.useState)(null), s = (0, x.useRef)(void 0), c = i.data;return (0, x.useEffect)(() => {if (!c) return;let n = s.current;s.current = c.status;let r = n === "running" && c.status !== "running";- r && o(c), (r || t === "notice") && tp(c, e, r);+ r && o(c), (r || t === "notice") && kg(c, e, r);}, [c,t,@@ -21493,51 +22030,51 @@ function _g({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var vg = [{+var e_ = [{label: "只扫描",- icon: xu,+ icon: Su,command: { stage: "scan" }}, {label: "只采集",- icon: bu,+ icon: xu,command: { stage: "collect" }-}], yg = rf(Zh, Qh, "text-body-2-medium"), bg = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", xg = "这个项目处理时间较长,暂时没有新进展。可以继续等待,或在任务结束后重试未完成项。", Sg = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选。`;-function Cg({ busy: e, onRun: t }) {+}], t_ = of(Fg, Ig, "text-body-2-medium"), n_ = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", r_ = "这个项目处理时间较长,暂时没有新进展。可以继续等待,或在任务结束后重试未完成项。", i_ = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选。`;+function a_({ busy: e, onRun: t }) {let n = (0, x.useRef)(null), [r, i] = (0, x.useState)(!1), a = (n) => {e || (i(!1), t(n));};return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsxs)("span", {className: "flex items-center gap-1",- children: [/* @__PURE__ */ (0, S.jsx)(Gh, {- leadingIcon: _u,+ children: [/* @__PURE__ */ (0, S.jsx)(Hh, {+ leadingIcon: vu,onClick: () => a({}),- ...gg(e),+ ...$h(e),children: "扫描并补全资料"- }), /* @__PURE__ */ (0, S.jsx)(Gh, {+ }), /* @__PURE__ */ (0, S.jsx)(Hh, {ref: n,iconOnly: !0,- leadingIcon: pu,+ leadingIcon: mu,"aria-label": "更多扫描与采集方式","aria-haspopup": "dialog","aria-expanded": r,- ...gg(e),+ ...$h(e),onClick: () => {e || i(!0);}})]- }), /* @__PURE__ */ (0, S.jsx)(dh, {+ }), /* @__PURE__ */ (0, S.jsx)(Qm, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: Jh,- children: /* @__PURE__ */ (0, S.jsx)(hh, {+ className: Mg,+ children: /* @__PURE__ */ (0, S.jsx)(nh, {"aria-label": "更多扫描与采集方式",className: "flex w-52 flex-col gap-1 outline-none",- children: vg.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, S.jsxs)("button", {+ children: e_.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, S.jsxs)("button", {type: "button",- className: yg,+ className: t_,onClick: () => a(n),children: [/* @__PURE__ */ (0, S.jsx)(t, {"aria-hidden": !0,@@ -21547,27 +22084,27 @@ function Cg({ busy: e, onRun: t }) {})})] });}-function wg({ state: e, problem: t, settled: n, onRetry: r }) {- let i = Qf(e), a = e.status === "failed" && !!e.retryable_asset_ids?.length, o = Xf(e.notes || {});+function o_({ state: e, problem: t, settled: n, onRetry: r }) {+ let i = Eg(e), a = e.status === "failed" && !!e.retryable_asset_ids?.length, o = wg(e.notes || {});return /* @__PURE__ */ (0, S.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, S.jsx)(hf, {+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "warning",title: "处理较慢",- children: xg+ children: r_}) : null,- t || e.status === "failed" ? /* @__PURE__ */ (0, S.jsx)(hf, {+ t || e.status === "failed" ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "error",extra: /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col items-start gap-3 pt-1",- children: [a ? /* @__PURE__ */ (0, S.jsx)(Gh, {+ children: [a ? /* @__PURE__ */ (0, S.jsx)(Hh, {variant: "secondary",size: "small",onClick: r,children: "重试未完成项"- }) : null, i ? /* @__PURE__ */ (0, S.jsxs)(fg, {+ }) : null, i ? /* @__PURE__ */ (0, S.jsxs)(Xg, {summary: i.label,children: [/* @__PURE__ */ (0, S.jsx)("ul", {className: "flex max-h-96 flex-col gap-2 overflow-y-auto",@@ -21600,41 +22137,41 @@ function wg({ state: e, problem: t, settled: n, onRetry: r }) {}),children: t || e.error || "处理未完成,请重试"}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, S.jsx)(hf, {+ n?.status === "complete" ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "success",title: "处理完成",- children: Sg(n)+ children: i_(n)}) : null,- e.status !== "running" && o ? /* @__PURE__ */ (0, S.jsxs)(hf, {+ e.status !== "running" && o ? /* @__PURE__ */ (0, S.jsxs)(gf, {tone: "neutral",children: [o, e.issues_log ? ` 完整记录:${e.issues_log}` : ""]}) : null]});}-function Tg(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = _g(e), o = ut({- mutationFn: (e) => ff(Vf, e),+function s_(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = $g(e), o = lt({+ mutationFn: (e) => pf(mg, e),onSuccess: (e) => {- a(), vf.setQueryData(Hf, e), vf.invalidateQueries({ queryKey: Hf });+ a(), yf.setQueryData(hg, e), yf.invalidateQueries({ queryKey: hg });}});(0, x.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? uf(o.error) : r.isError ? r.data ? Kf : uf(r.error) : "", l = o.isPending || s.status === "running", u = s.status === "failed" && !!s.retryable_asset_ids?.length, d = Zf(s), f = (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? ff(o.error) : r.isError ? r.data ? bg : ff(r.error) : "", l = o.isPending || s.status === "running", u = s.status === "failed" && !!s.retryable_asset_ids?.length, d = Tg(s), f = (e) => {l || (o.reset(), o.mutate(e));};return /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, S.jsxs)(ng, {+ children: [/* @__PURE__ */ (0, S.jsxs)(Bg, {title: "扫描与采集",- children: [/* @__PURE__ */ (0, S.jsxs)(ig, { children: [/* @__PURE__ */ (0, S.jsx)("p", {+ children: [/* @__PURE__ */ (0, S.jsxs)(Hg, { children: [/* @__PURE__ */ (0, S.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: bg+ children: n_}), s.status === "running" ? /* @__PURE__ */ (0, S.jsx)("div", {className: "flex flex-col gap-1.5",- children: s.total ? /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(_f, {+ children: s.total ? /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(vf, {label: d,value: s.checked || 0,max: s.total@@ -21648,26 +22185,26 @@ function Tg(e) {s.total," 个视频"]- })] }) : /* @__PURE__ */ (0, S.jsx)(mf, { label: d })- }) : null] }), /* @__PURE__ */ (0, S.jsxs)(ag, { children: [- /* @__PURE__ */ (0, S.jsx)(qh, {+ })] }) : /* @__PURE__ */ (0, S.jsx)(hf, { label: d })+ }) : null] }), /* @__PURE__ */ (0, S.jsxs)(Ug, { children: [+ /* @__PURE__ */ (0, S.jsx)(jg, {href: "/scraping",size: "small",- trailingIcon: mu,+ trailingIcon: hu,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, S.jsx)(qh, {+ s.candidates ? /* @__PURE__ */ (0, S.jsx)(jg, {href: "/review",size: "small",- trailingIcon: mu,+ trailingIcon: hu,children: "复核资料"}) : null,- u ? null : /* @__PURE__ */ (0, S.jsx)(Cg, {+ u ? null : /* @__PURE__ */ (0, S.jsx)(a_, {busy: l,onRun: f})] })]- }), /* @__PURE__ */ (0, S.jsx)(wg, {+ }), /* @__PURE__ */ (0, S.jsx)(o_, {state: s,problem: c,settled: i,@@ -21682,12 +22219,12 @@ function Tg(e) {}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var Eg = {+var c_ = {gray: "flex flex-wrap items-center justify-between gap-3 rounded-2xl border border-separator-border px-4 py-3 text-text-secondary",warning: "flex flex-wrap items-center justify-between gap-3 rounded-2xl border border-separator-border bg-status-yellow-background px-4 py-3 text-status-yellow-text",error: "flex flex-wrap items-center justify-between gap-3 rounded-2xl border border-separator-border bg-background-tertiary-error px-4 py-3 text-text-error-primary"};-function Dg({ value: e, max: t }) {+function l_({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, S.jsxs)("svg", {role: "progressbar",@@ -21715,16 +22252,16 @@ function Dg({ value: e, max: t }) {})]});}-function Og(e) {- let { job: t } = _g(e), n = t.data, r = t.isError ? n ? Kf : uf(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";+function u_(e) {+ let { job: t } = $g(e), n = t.data, r = t.isError ? n ? bg : ff(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";if (!r && !o && !a) return null;- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : Zf(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? wu : vu;+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : Tg(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? Tu : yu;return /* @__PURE__ */ (0, S.jsxs)("aside", {role: a ? "alert" : "status",- className: Eg[s],+ className: c_[s],children: [/* @__PURE__ */ (0, S.jsxs)("div", {className: "flex min-w-0 items-center gap-3",- children: [o && l ? /* @__PURE__ */ (0, S.jsx)(Dg, {+ children: [o && l ? /* @__PURE__ */ (0, S.jsx)(l_, {value: c,max: l}) : /* @__PURE__ */ (0, S.jsx)(d, {@@ -21734,27 +22271,27 @@ function Og(e) {className: "min-w-0 text-body-2-regular",children: u})]- }), /* @__PURE__ */ (0, S.jsx)(qh, {+ }), /* @__PURE__ */ (0, S.jsx)(jg, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: mu,+ trailingIcon: hu,children: r || a ? "查看并处理" : "查看进度"})]});}//#endregion//#region src/react/quality-goals/quality-goals.ts-var kg = "/api/quality-goals?limit=200", Ag = ["quality-goals"], jg = (e) => df(kg, e);-async function Mg(e) {- await vf.fetchQuery({- queryKey: Ag,- queryFn: () => jg(e)+var d_ = "/api/quality-goals?limit=200", f_ = ["quality-goals"], p_ = (e) => Q(d_, e);+async function m_(e) {+ await yf.fetchQuery({+ queryKey: f_,+ queryFn: () => p_(e)});}-var Ng = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;+var h_ = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;//#endregion//#region src/react/quality-goals/quality-goals-page.tsx-function Pg({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {+function g_({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {let c = () => i(r.id);return /* @__PURE__ */ (0, S.jsxs)("li", {"data-goal-id": r.id,@@ -21770,7 +22307,7 @@ function Pg({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadgeclassName: "text-caption-1-regular text-text-tertiary",children: "暂无预览"}), /* @__PURE__ */ (0, S.jsx)("img", {- src: Ng(r),+ src: h_(r),alt: "",loading: "lazy",onError: (e) => e.currentTarget.remove(),@@ -21809,7 +22346,7 @@ function Pg({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge})]}), /* @__PURE__ */ (0, S.jsx)("footer", {className: "flex justify-end",- children: /* @__PURE__ */ (0, S.jsx)(Gh, {+ children: /* @__PURE__ */ (0, S.jsx)(Hh, {variant: "secondary",size: "small",onClick: c,@@ -21818,18 +22355,18 @@ function Pg({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge})]});}-function Fg(e) {- let t = lt({- queryKey: Ag,- queryFn: ({ signal: e }) => jg(e)+function __(e) {+ let t = ct({+ queryKey: f_,+ queryFn: ({ signal: e }) => p_(e)}), n = t.data;- if (!n) return /* @__PURE__ */ (0, S.jsx)(gf, { children: /* @__PURE__ */ (0, S.jsx)(hf, {+ if (!n) return /* @__PURE__ */ (0, S.jsx)(_f, { children: /* @__PURE__ */ (0, S.jsx)(gf, {tone: "error",title: "读取失败",- children: t.error ? uf(t.error) : "读取高清版目标失败"+ children: t.error ? ff(t.error) : "读取高清版目标失败"}) });let r = n.items || [];- return r.length ? /* @__PURE__ */ (0, S.jsxs)(gf, { children: [/* @__PURE__ */ (0, S.jsxs)("p", {+ return r.length ? /* @__PURE__ */ (0, S.jsxs)(_f, { children: [/* @__PURE__ */ (0, S.jsxs)("p", {className: "text-body-2-regular text-text-secondary",children: [/* @__PURE__ */ (0, S.jsx)("strong", {@@ -21842,151 +22379,19 @@ function Fg(e) {]}), /* @__PURE__ */ (0, S.jsx)("ul", {className: "card-grid gap-5",- children: r.map((t) => /* @__PURE__ */ (0, S.jsx)(Pg, {+ children: r.map((t) => /* @__PURE__ */ (0, S.jsx)(g_, {item: t,...e}, t.id))- })] }) : /* @__PURE__ */ (0, S.jsx)(gf, { children: /* @__PURE__ */ (0, S.jsx)(pf, {- icon: Tu,+ })] }) : /* @__PURE__ */ (0, S.jsx)(_f, { children: /* @__PURE__ */ (0, S.jsx)(mf, {+ icon: Du,title: "没有标记中的高清版目标",children: "现有版本都已满足条件,或还没有加入追踪。"}) });}//#endregion-//#region src/react/boardui/components/base/input/label.tsx-function Ig({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, S.jsxs)(vp, {- "data-label": "true",- ...a,- className: rf("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),- children: [- i,- e && /* @__PURE__ */ (0, S.jsx)("span", {- "aria-hidden": "true",- className: "text-body-medium text-text-error-primary",- children: "*"- }),- n && /* @__PURE__ */ (0, S.jsx)(Cu, {- className: "size-4 shrink-0 text-foreground-icon-quaternary",- "aria-hidden": !0- })- ]- });-}-//#endregion-//#region src/react/boardui/components/base/input/hint-text.tsx-function Lg({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, S.jsx)(Dp, {- slot: e ? "errorMessage" : "description",- ...n,- className: rf("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 Rg = (0, x.createContext)({});-function zg({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, S.jsx)(Rg.Provider, {- value: {- size: e,- fieldClassName: t,- inputClassName: n- },- children: /* @__PURE__ */ (0, S.jsx)(Uh, {- ...a,- "data-input-size": e,- className: rf("group flex h-max w-full flex-col items-start gap-1", r),- children: i- })- });-}-zg.displayName = "TextField";-var Bg = af({- 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 Vg({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, x.useContext)(Rg), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, S.jsx)(Lp, {- ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => rf(Bg.field, d ? Bg.fieldWithAddonSize[u] : Bg.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, S.jsxs)("div", {- className: Bg.content,- children: [/* @__PURE__ */ (0, S.jsxs)("div", {- className: Bg.leftSection,- children: [d ? r : t ? /* @__PURE__ */ (0, S.jsx)(t, {- className: Bg.icon,- "aria-hidden": !0- }) : null, /* @__PURE__ */ (0, S.jsx)(Bp, {- ref: o,- ...c,- className: rf(Bg.input, l.inputClassName, a)- })]- }), n ? /* @__PURE__ */ (0, S.jsx)(n, {- className: Bg.icon,- "aria-hidden": !0- }) : null]- })- });-}-Vg.displayName = "InputBase";-function Hg({ 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, S.jsx)(zg, {- ...d,- className: u,- "aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),- children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [- e && /* @__PURE__ */ (0, S.jsx)(Ig, {- isRequired: u,- isInvalid: d,- tooltip: n,- children: e- }),- /* @__PURE__ */ (0, S.jsx)(Vg, {- ref: c,- groupRef: l,- placeholder: r,- leadingIcon: i,- trailingIcon: a,- leadingAddon: o,- fieldClassName: s- }),- t && /* @__PURE__ */ (0, S.jsx)(Lg, {- isInvalid: d,- children: t- })- ] })- });-}-Hg.displayName = "Input";-//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function Ug(e) {+function v_(e) {return /* @__PURE__ */ (0, S.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -22002,7 +22407,7 @@ function Ug(e) {}//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function Wg(e, t, n) {+function y_(e, t, n) {(0, x.useEffect)(() => {if (!e) return;let r = (e) => {@@ -22016,7 +22421,7 @@ function Wg(e, t, n) {n]);}-function Gg(e, t) {+function b_(e, t) {let n = (0, x.useRef)(!1);return (0, x.useEffect)(() => {if (!e) return;@@ -22030,33 +22435,33 @@ function Gg(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var Kg = (0, x.createContext)("md");-function qg({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var x_ = (0, x.createContext)("md");+function S_({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, x.useRef)(null), u = (0, x.useRef)(null), [d, f] = (0, x.useState)(!1);- Wg(d, () => f(!1), [l, u]);- let p = Gg(d, l);- return /* @__PURE__ */ (0, S.jsx)(jh, {+ y_(d, () => f(!1), [l, u]);+ let p = b_(d, l);+ return /* @__PURE__ */ (0, S.jsx)(Oh, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: rf("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsxs)(xp, {+ className: of("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsxs)(cp, {ref: l,- className: rf("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),- children: [/* @__PURE__ */ (0, S.jsx)(Fh, {- className: rf("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: of("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),+ children: [/* @__PURE__ */ (0, S.jsx)(Mh, {+ className: of("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, S.jsx)(Ug, { className: rf("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, S.jsx)(dh, {+ }), /* @__PURE__ */ (0, S.jsx)(v_, { className: of("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, S.jsx)(Qm, {ref: u,isNonModal: !0,offset: 4,- className: rf(Yh, Jh, "p-2", n),- children: /* @__PURE__ */ (0, S.jsx)(Xm, {+ className: of(Ng, Mg, "p-2", n),+ children: /* @__PURE__ */ (0, S.jsx)(Lm, {items: a,- className: rf(Xh, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, S.jsx)(Kg.Provider, {+ className: of(Pg, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, S.jsx)(x_.Provider, {value: r,children: i})@@ -22064,33 +22469,33 @@ function qg({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function Jg({ className: e, children: t, ...n }) {- let r = (0, x.useContext)(Kg);- return /* @__PURE__ */ (0, S.jsx)(eh, {+function C_({ className: e, children: t, ...n }) {+ let r = (0, x.useContext)(x_);+ return /* @__PURE__ */ (0, S.jsx)(Vm, {...n,- className: (t) => rf(Zh, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),+ className: (t) => of(Fg, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/react/scraping/scraping.ts-var Yg = "/api/scraping", Xg = "/api/scraping/settings", Zg = "/api/scraping/check", Qg = "/api/scraping/cover", $g = ["scraping"], e_ = ["scraping", "cover"], t_ = 2e3, n_ = (e) => df(Yg, e), r_ = (e) => df(Qg, e);-async function i_(e) {- await Promise.all([vf.fetchQuery({- queryKey: $g,- queryFn: () => n_(e)- }), vf.fetchQuery({- queryKey: e_,- queryFn: () => r_(e)+var w_ = "/api/scraping", T_ = "/api/scraping/settings", E_ = "/api/scraping/check", D_ = "/api/scraping/cover", O_ = ["scraping"], k_ = ["scraping", "cover"], A_ = 2e3, j_ = (e) => Q(w_, e), M_ = (e) => Q(D_, e);+async function N_(e) {+ await Promise.all([yf.fetchQuery({+ queryKey: O_,+ queryFn: () => j_(e)+ }), yf.fetchQuery({+ queryKey: k_,+ queryFn: () => M_(e)})]);}-function a_(e, t) {+function P_(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");}//#endregion//#region src/react/scraping/scraping-page.tsx-var o_ = [["peach", "Peach 代理"], ["direct", "直接连接"]], s_ = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];-function c_({ source: e }) {+var F_ = [["peach", "Peach 代理"], ["direct", "直接连接"]], I_ = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];+function L_({ source: e }) {return /* @__PURE__ */ (0, S.jsx)("img", {src: i({ source: e }),alt: "",@@ -22101,13 +22506,13 @@ function c_({ source: e }) {className: "size-4 shrink-0 rounded-sm object-contain"});}-function l_({ source: e, toast: t }) {- let [n, r] = (0, x.useState)(e.network), [i, a] = (0, x.useState)(""), [o, s] = (0, x.useState)(""), [c, l] = (0, x.useState)(s_[0][0]), [u, d] = (0, x.useState)(""), [f, p] = (0, x.useState)(""), m = (0, x.useRef)(null);+function R_({ source: e, toast: t }) {+ let [n, r] = (0, x.useState)(e.network), [i, a] = (0, x.useState)(""), [o, s] = (0, x.useState)(""), [c, l] = (0, x.useState)(I_[0][0]), [u, d] = (0, x.useState)(""), [f, p] = (0, x.useState)(""), m = (0, x.useRef)(null);function h() {a(""), s(""), d(""), p(""), m.current && (m.current.value = "");}- let g = ut({- mutationFn: (t) => ff(Xg, {+ let g = lt({+ mutationFn: (t) => pf(T_, {source: e.source,network: n,cookie: i,@@ -22115,12 +22520,12 @@ function l_({ source: e, toast: t }) {revoke: t}),onSuccess: (e, n) => {- vf.setQueryData($g, (t) => t && {+ yf.setQueryData(O_, (t) => t && {...t,sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");}- }), _ = ut({ mutationFn: () => ff(Zg, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {+ }), _ = lt({ mutationFn: () => pf(E_, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {e.preventDefault(), !v && (_.reset(), g.mutate(!1));}, b = () => {v || (_.reset(), g.mutate(!0));@@ -22144,41 +22549,41 @@ function l_({ source: e, toast: t }) {p("Cookie 文件未读取,请重新选择");}}- let T = f || (g.error ? uf(g.error) : "") || (_.error ? uf(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || !!T || E.length > 0;- return /* @__PURE__ */ (0, S.jsxs)(ng, {+ let T = f || (g.error ? ff(g.error) : "") || (_.error ? ff(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || !!T || E.length > 0;+ return /* @__PURE__ */ (0, S.jsxs)(Bg, {title: e.label,onSubmit: y,aside: /* @__PURE__ */ (0, S.jsxs)("span", {className: "flex min-w-0 items-center gap-1",- children: [/* @__PURE__ */ (0, S.jsx)(c_, { source: e.source }), /* @__PURE__ */ (0, S.jsx)(lg, {+ children: [/* @__PURE__ */ (0, S.jsx)(L_, { source: e.source }), /* @__PURE__ */ (0, S.jsx)(qg, {href: e.login,children: e.login})]}),children: [- /* @__PURE__ */ (0, S.jsx)(rg, { children: /* @__PURE__ */ (0, S.jsx)(tg, {+ /* @__PURE__ */ (0, S.jsx)(Vg, { children: /* @__PURE__ */ (0, S.jsx)(zg, {label: "连接方式",- children: /* @__PURE__ */ (0, S.jsx)(qg, {+ children: /* @__PURE__ */ (0, S.jsx)(S_, {"aria-label": "连接方式",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: o_.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(Jg, {+ children: F_.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(C_, {id: e,children: t}, e))})}) }),- D ? /* @__PURE__ */ (0, S.jsxs)(ig, {+ D ? /* @__PURE__ */ (0, S.jsxs)(Hg, {divided: !0,children: [n === "peach" ? /* @__PURE__ */ (0, S.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, S.jsx)(qh, {+ children: /* @__PURE__ */ (0, S.jsx)(jg, {href: "/configuration#peachProxy",size: "small",- trailingIcon: mu,+ trailingIcon: hu,children: "配置 Peach 代理"})}) : null,@@ -22187,20 +22592,20 @@ function l_({ source: e, toast: t }) {className: "text-body-2-regular text-text-secondary",children: e.cookie_saved ? "Cookie 已保存,登录是否有效请在抓取时确认。" : "需要登录时,任选一种方式提供 Cookie。"}),- /* @__PURE__ */ (0, S.jsx)(Sh, {+ /* @__PURE__ */ (0, S.jsx)(yh, {"aria-label": "提供 Cookie 的方式(二选一)",value: c,onChange: (e) => {l(e), h();},className: "flex flex-wrap gap-1",- children: s_.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(Ch, {+ children: I_.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(bh, {value: e,className: "flex h-8 cursor-pointer items-center rounded-lg px-3 text-body-2-medium text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary",children: t}, e))}),- c === "paste" ? /* @__PURE__ */ (0, S.jsx)(Hg, {+ c === "paste" ? /* @__PURE__ */ (0, S.jsx)(Zh, {type: "password",label: "Cookie",autoComplete: "off",@@ -22209,10 +22614,10 @@ function l_({ source: e, toast: t }) {}) : /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, S.jsx)(cg, { children: "Netscape Cookie 文件(.txt)" }),+ /* @__PURE__ */ (0, S.jsx)(Kg, { children: "Netscape Cookie 文件(.txt)" }),/* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-wrap items-center gap-3",- children: [/* @__PURE__ */ (0, S.jsx)(Gh, {+ children: [/* @__PURE__ */ (0, S.jsx)(Hh, {variant: "secondary",onClick: () => m.current?.click(),children: "选择文件"@@ -22235,44 +22640,44 @@ function l_({ source: e, toast: t }) {]})] }) : null,- T ? /* @__PURE__ */ (0, S.jsx)(sg, { children: T }) : null,- E.map((t) => /* @__PURE__ */ (0, S.jsx)(hf, {+ T ? /* @__PURE__ */ (0, S.jsx)(Gg, { children: T }) : null,+ E.map((t) => /* @__PURE__ */ (0, S.jsx)(gf, {tone: t.ok ? "success" : "error",- children: a_(t, e.label)+ children: P_(t, e.label)}, t.label))]}) : null,- /* @__PURE__ */ (0, S.jsxs)(ag, { children: [- e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, S.jsx)(Gh, {+ /* @__PURE__ */ (0, S.jsxs)(Ug, { children: [+ e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, S.jsx)(Hh, {variant: "secondary",onClick: b,- ...gg(v),+ ...$h(v),children: "撤销 Cookie"}) : null,- /* @__PURE__ */ (0, S.jsx)(Gh, {+ /* @__PURE__ */ (0, S.jsx)(Hh, {variant: "secondary",onClick: C,- ...gg(v),+ ...$h(v),children: "检查连接"}),- /* @__PURE__ */ (0, S.jsx)(Gh, {+ /* @__PURE__ */ (0, S.jsx)(Hh, {type: "submit",- ...gg(v),+ ...$h(v),children: "保存"})] })]});}-function u_({ toast: e }) {- let [t, n] = (0, x.useState)(""), [r, i] = (0, x.useState)(!1), [a, o] = (0, x.useState)(null), s = lt({- queryKey: e_,- queryFn: ({ signal: e }) => r_(e),- refetchInterval: (e) => e.state.data?.status === "running" && t_- }), c = ut({- mutationFn: () => ff(Qg, { code: t }),+function z_({ toast: e }) {+ let [t, n] = (0, x.useState)(""), [r, i] = (0, x.useState)(!1), [a, o] = (0, x.useState)(null), s = ct({+ queryKey: k_,+ queryFn: ({ signal: e }) => M_(e),+ refetchInterval: (e) => e.state.data?.status === "running" && A_+ }), c = lt({+ mutationFn: () => pf(D_, { code: t }),onSuccess: () => {- i(!0), o(null), vf.invalidateQueries({ queryKey: e_ });+ i(!0), o(null), yf.invalidateQueries({ queryKey: k_ });}}), l = (s.data?.status ?? "idle") === "running";(0, x.useEffect)(() => {@@ -22291,16 +22696,16 @@ function u_({ toast: e }) {]);let u = (e) => {e.preventDefault(), !(l || c.isPending || !t.trim()) && c.mutate();- }, d = c.error ? uf(c.error) : a?.status === "failed" ? a.error || "采集未取得" : "";- return /* @__PURE__ */ (0, S.jsx)(ng, {+ }, d = c.error ? ff(c.error) : a?.status === "failed" ? a.error || "采集未取得" : "";+ return /* @__PURE__ */ (0, S.jsx)(Bg, {title: "高清封面",onSubmit: u,- children: /* @__PURE__ */ (0, S.jsxs)(ig, { children: [+ children: /* @__PURE__ */ (0, S.jsxs)(Hg, { children: [/* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, S.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, S.jsx)(Hg, {+ children: /* @__PURE__ */ (0, S.jsx)(Zh, {"aria-label": "馆藏番号",isRequired: !0,isDisabled: l,@@ -22308,49 +22713,58 @@ function u_({ toast: e }) {onChange: n,placeholder: "输入馆藏番号,如 ABW-232"})- }), /* @__PURE__ */ (0, S.jsx)(Gh, {+ }), /* @__PURE__ */ (0, S.jsx)(Hh, {type: "submit",disabled: !t.trim(),- ...gg(l || c.isPending),+ ...$h(l || c.isPending),children: "抓取封面"})]}),- l ? /* @__PURE__ */ (0, S.jsx)(mf, { label: "正在抓取封面" }) : null,- d ? /* @__PURE__ */ (0, S.jsx)(hf, {+ l ? /* @__PURE__ */ (0, S.jsx)(hf, { label: "正在抓取封面" }) : null,+ d ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "error",children: d}) : null,- a?.status === "complete" ? /* @__PURE__ */ (0, S.jsx)(hf, {+ a?.status === "complete" ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "success",children: a.result || "封面采集完成"}) : null] })});}-function d_({ toast: e }) {- let t = lt({- queryKey: $g,- queryFn: ({ signal: e }) => n_(e)+function B_({ toast: e }) {+ let t = ct({+ queryKey: O_,+ queryFn: ({ signal: e }) => j_(e)}), n = t.data;- return n ? /* @__PURE__ */ (0, S.jsxs)(gf, { children: [+ return n ? /* @__PURE__ */ (0, S.jsxs)(_f, { children: [/* @__PURE__ */ (0, S.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "高清图片可能需要代理才能下载,请先检查连接。"}),- /* @__PURE__ */ (0, S.jsx)(u_, { toast: e }),- (n.sources || []).map((t) => /* @__PURE__ */ (0, S.jsx)(l_, {+ /* @__PURE__ */ (0, S.jsx)(z_, { toast: e }),+ (n.sources || []).map((t) => /* @__PURE__ */ (0, S.jsx)(R_, {source: t,toast: e}, t.source))- ] }) : /* @__PURE__ */ (0, S.jsx)(gf, { children: /* @__PURE__ */ (0, S.jsx)(hf, {+ ] }) : /* @__PURE__ */ (0, S.jsx)(_f, { children: /* @__PURE__ */ (0, S.jsx)(gf, {tone: "error",title: "读取失败",- children: t.error ? uf(t.error) : "读取采集来源失败"+ children: t.error ? ff(t.error) : "读取采集来源失败"}) });}//#endregion+//#region src/configuration-endpoints.ts+var V_ = "/api/configuration", H_ = "/api/pick-folder", U_ = ["configuration"], W_ = (e) => Q(V_, e);+async function G_(e) {+ await yf.fetchQuery({+ queryKey: U_,+ queryFn: () => W_(e)+ });+}+//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var f_ = af({+var K_ = sf({sm: {track: "h-4 w-7",trackRadius: {@@ -22412,23 +22826,23 @@ var f_ = af({}}});-function p_({ state: e, size: t = "md", shape: n = "pill" }) {- let r = f_[t];+function q_({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = K_[t];return /* @__PURE__ */ (0, S.jsx)("span", {"aria-hidden": !0,- className: rf("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? rf("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: of("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? of("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, S.jsx)("span", {- className: rf("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, S.jsx)("span", { className: rf("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ className: of("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),+ children: /* @__PURE__ */ (0, S.jsx)("span", { className: of("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })})});}-function m_({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, S.jsx)(Rh, {+function J_({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, S.jsx)(Fh, {ref: i,...a,- className: (t) => rf("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(p_, {+ className: (t) => of("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(q_, {state: e,size: n,shape: r@@ -22440,48 +22854,48 @@ function m_({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/settings/general-settings.tsx-function h_({ data: e, receipt: t }) {- return e.startup ? /* @__PURE__ */ (0, S.jsx)(g_, {+function Y_({ data: e, receipt: t }) {+ return e.startup ? /* @__PURE__ */ (0, S.jsx)(X_, {startup: e.startup,receipt: t}) : null;}-function g_({ startup: e, receipt: t }) {- let [n, r] = (0, x.useState)(e.enabled), [i, a] = (0, x.useState)(e.silent), [o, s] = (0, x.useState)(e.desktop), c = hg(), l = e.available && !e.desktop_message;- return /* @__PURE__ */ (0, S.jsxs)(ng, {+function X_({ startup: e, receipt: t }) {+ let [n, r] = (0, x.useState)(e.enabled), [i, a] = (0, x.useState)(e.silent), [o, s] = (0, x.useState)(e.desktop), c = Qh(), l = e.available && !e.desktop_message;+ return /* @__PURE__ */ (0, S.jsxs)(Bg, {title: "开机自启",onSubmit: (r) => {- r.preventDefault(), e.available && c.run("save", (e) => ff("/api/configuration/startup", {+ r.preventDefault(), e.available && c.run("save", (e) => pf("/api/configuration/startup", {enabled: n,silent: i,desktop: o}, "POST", e), () => t("已保存配置"));},children: [- /* @__PURE__ */ (0, S.jsxs)(rg, { children: [- /* @__PURE__ */ (0, S.jsx)(tg, {+ /* @__PURE__ */ (0, S.jsxs)(Vg, { children: [+ /* @__PURE__ */ (0, S.jsx)(zg, {label: "开机后启动 Peach",- children: /* @__PURE__ */ (0, S.jsx)(m_, {+ children: /* @__PURE__ */ (0, S.jsx)(J_, {"aria-label": "开机后启动 Peach",isSelected: n,isDisabled: !e.available,onChange: r})}),- /* @__PURE__ */ (0, S.jsx)(tg, {+ /* @__PURE__ */ (0, S.jsx)(zg, {label: "静默启动",description: "静默启动仅显示托盘,开机后启动 Peach 打开时生效。",- children: /* @__PURE__ */ (0, S.jsx)(m_, {+ children: /* @__PURE__ */ (0, S.jsx)(J_, {"aria-label": "静默启动",isSelected: i,isDisabled: !e.available || !n,onChange: a})}),- /* @__PURE__ */ (0, S.jsx)(tg, {+ /* @__PURE__ */ (0, S.jsx)(zg, {label: "在桌面创建快捷方式",description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",- children: /* @__PURE__ */ (0, S.jsx)(m_, {+ children: /* @__PURE__ */ (0, S.jsx)(J_, {"aria-label": "在桌面创建快捷方式",isSelected: o,isDisabled: !l,@@ -22489,14 +22903,14 @@ function g_({ startup: e, receipt: t }) {})})] }),- e.message || c.error ? /* @__PURE__ */ (0, S.jsxs)(ig, {+ e.message || c.error ? /* @__PURE__ */ (0, S.jsxs)(Hg, {divided: !0,- children: [e.message ? /* @__PURE__ */ (0, S.jsx)(og, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, S.jsx)(sg, { children: c.error }) : null]+ children: [e.message ? /* @__PURE__ */ (0, S.jsx)(Wg, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, S.jsx)(Gg, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, S.jsx)(ag, { children: /* @__PURE__ */ (0, S.jsx)(Gh, {+ /* @__PURE__ */ (0, S.jsx)(Ug, { children: /* @__PURE__ */ (0, S.jsx)(Hh, {type: "submit",disabled: !e.available,- ...gg(c.busy === "save"),+ ...$h(c.busy === "save"),children: "保存配置"}) })]@@ -22504,7 +22918,7 @@ function g_({ startup: e, receipt: t }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var __ = {+var Z_ = {md: {box: "size-4",glyph: "size-4",@@ -22518,11 +22932,11 @@ var __ = {gap: "gap-1.5"}};-function v_({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = __[t], c = n || r, l = o && !a;+function Q_({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Z_[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, S.jsx)("span", {"aria-hidden": !0,- className: rf("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? rf("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : rf("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"),+ className: of("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? of("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : of("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, S.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -22546,24 +22960,24 @@ function v_({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function y_({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = __[n];- return /* @__PURE__ */ (0, S.jsx)(Pp, {+function $_({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = Z_[n];+ return /* @__PURE__ */ (0, S.jsx)(xp, {ref: r,...i,- className: (t) => rf("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, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(v_, {+ className: (t) => of("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, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(Q_, {state: e,size: n}), t != null && /* @__PURE__ */ (0, S.jsx)("span", {- className: rf(a.label, "text-text-primary"),+ className: of(a.label, "text-text-primary"),children: t})] })});}//#endregion//#region src/react/settings/media-repair.tsx-var b_ = {+var ev = {status: "idle",stage: "",checked: 0,@@ -22573,20 +22987,20 @@ var b_ = {failed: 0,skipped: 0,message: ""-}, x_ = (e) => Number(e).toLocaleString();-function S_(e) {+}, tv = (e) => Number(e).toLocaleString();+function nv(e) {if (e.status === "running") {- let t = e.total ? `${x_(e.checked)} / ${x_(e.total)}` : "准备中";+ let t = e.total ? `${tv(e.checked)} / ${tv(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${x_(e.repaired)} 部,${x_(e.failed)} 部修不了` : `修好 ${x_(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${tv(e.repaired)} 部,${tv(e.failed)} 部修不了` : `修好 ${tv(e.repaired)} 部` : "";}-function C_({ initial: e }) {- let [t, n] = (0, x.useState)(e || b_), [r, i] = (0, x.useState)(!1), a = hg(), o = t.status === "running";+function rv({ initial: e }) {+ let [t, n] = (0, x.useState)(e || ev), [r, i] = (0, x.useState)(!1), a = Qh(), o = t.status === "running";(0, x.useEffect)(() => {let e = new AbortController(), t, r = async () => {try {- let i = await df("/api/media-repair", e.signal);+ let i = await Q("/api/media-repair", e.signal);if (e.signal.aborted) return;n(i), i.status === "running" && (t = setTimeout(r, 2e3));} catch {}@@ -22595,42 +23009,42 @@ function C_({ initial: e }) {e.abort(), clearTimeout(t);};}, [o]);- let s = () => void a.run("start", (e) => ff("/api/media-repair", {+ let s = () => void a.run("start", (e) => pf("/api/media-repair", {allow_metered: r,restart: !0- }, "POST", e), n), c = () => void a.run("stop", (e) => ff("/api/media-repair", { stop: !0 }, "POST", e), n), l = t.total ? Math.round(t.checked / t.total * 100) : 0;- return /* @__PURE__ */ (0, S.jsxs)(ng, {+ }, "POST", e), n), c = () => void a.run("stop", (e) => pf("/api/media-repair", { stop: !0 }, "POST", e), n), l = t.total ? Math.round(t.checked / t.total * 100) : 0;+ return /* @__PURE__ */ (0, S.jsxs)(Bg, {title: "播放兼容修复",- children: [/* @__PURE__ */ (0, S.jsxs)(ig, { children: [- /* @__PURE__ */ (0, S.jsx)(og, { children: "有些 MP4 少了一张时间戳表,浏览器按容器给的时刻排帧,会把其中一部分丢掉,看着就是卡顿。 修好之后这类片子起播直接用原片,不再实时转码。原始文件不改动,修好的头另存在缓存里。" }),- /* @__PURE__ */ (0, S.jsx)(y_, {+ children: [/* @__PURE__ */ (0, S.jsxs)(Hg, { children: [+ /* @__PURE__ */ (0, S.jsx)(Wg, { children: "有些 MP4 少了一张时间戳表,浏览器按容器给的时刻排帧,会把其中一部分丢掉,看着就是卡顿。 修好之后这类片子起播直接用原片,不再实时转码。原始文件不改动,修好的头另存在缓存里。" }),+ /* @__PURE__ */ (0, S.jsx)($_, {isSelected: r,isDisabled: o,onChange: i,children: "连 PikPak 上的一起修(要把片子完整拉一遍,走流量)"}),- o ? /* @__PURE__ */ (0, S.jsx)(_f, {+ o ? /* @__PURE__ */ (0, S.jsx)(vf, {label: "修复进度",value: l}) : null,- t.status === "complete" && !t.repaired && !t.failed ? /* @__PURE__ */ (0, S.jsx)(hf, {+ t.status === "complete" && !t.repaired && !t.failed ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "info",title: "没有要修的",children: "库里的片子都能直接播,没找到缺时间戳表的。"}) : null,- a.error || t.error ? /* @__PURE__ */ (0, S.jsx)(sg, { children: a.error || t.error }) : null- ] }), /* @__PURE__ */ (0, S.jsx)(ag, {- status: S_(t) ? /* @__PURE__ */ (0, S.jsx)("p", {+ a.error || t.error ? /* @__PURE__ */ (0, S.jsx)(Gg, { children: a.error || t.error }) : null+ ] }), /* @__PURE__ */ (0, S.jsx)(Ug, {+ status: nv(t) ? /* @__PURE__ */ (0, S.jsx)("p", {role: "status",- children: S_(t)+ children: nv(t)}) : null,- children: o ? /* @__PURE__ */ (0, S.jsx)(Gh, {+ children: o ? /* @__PURE__ */ (0, S.jsx)(Hh, {onClick: c,- ...gg(a.busy === "stop"),+ ...$h(a.busy === "stop"),children: "停止"- }) : /* @__PURE__ */ (0, S.jsx)(Gh, {+ }) : /* @__PURE__ */ (0, S.jsx)(Hh, {onClick: s,- ...gg(a.busy === "start"),+ ...$h(a.busy === "start"),children: "开始修复"})})]@@ -22638,28 +23052,28 @@ function C_({ initial: e }) {}//#endregion//#region src/react/settings/release-updates.tsx-var w_ = /* @__PURE__ */ new Set([+var iv = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), T_ = [+]), av = [65,67,90-], E_ = 120;-function D_({ initial: e, initialJob: t }) {+], ov = 120;+function sv({ initial: e, initialJob: t }) {let [n, r] = (0, x.useState)(e), [i, a] = (0, x.useState)(t || {state: "idle",progress: 0- }), [s, c] = (0, x.useState)(""), l = hg(), u = (0, x.useRef)(!1), d = (0, x.useRef)(!0), f = w_.has(i.state);+ }), [s, c] = (0, x.useState)(""), l = Qh(), u = (0, x.useRef)(!1), d = (0, x.useRef)(!0), f = iv.has(i.state);(0, x.useEffect)(() => (d.current = !0, () => {d.current = !1;}), []);let p = async () => {- let e = await ff("/api/configuration/update-restart", {});+ let e = await pf("/api/configuration/update-restart", {});d.current && a(e);}, m = () => void o({title: "更新已准备好",@@ -22671,9 +23085,9 @@ function D_({ initial: e, initialJob: t }) {(0, x.useEffect)(() => {i.state !== "ready" || u.current || (u.current = !0, m());}, [i.state]), (0, x.useEffect)(() => {- let e = new AbortController(), t = w_.has(i.state) ? 1e3 : 3e4, n, o = 0, s = async () => {+ let e = new AbortController(), t = iv.has(i.state) ? 1e3 : 3e4, n, o = 0, s = async () => {try {- let t = await df("/api/configuration/update-status", e.signal);+ let t = await Q("/api/configuration/update-status", e.signal);if (e.signal.aborted) return;a(t), o = 0, t.state === "complete" && r((e) => ({...e,@@ -22681,93 +23095,93 @@ function D_({ initial: e, initialJob: t }) {state: "current",message: "已是最新测试版。"}));- let n = await df("/api/configuration/automatic-updates", e.signal);+ let n = await Q("/api/configuration/automatic-updates", e.signal);!e.signal.aborted && n.result && r(n.result);} catch {- o += 1, o >= E_ && !e.signal.aborted && c("尚未连接到 Peach,请检查托盘后刷新页面。");+ o += 1, o >= ov && !e.signal.aborted && c("尚未连接到 Peach,请检查托盘后刷新页面。");}- !e.signal.aborted && o < E_ && (n = setTimeout(s, t));+ !e.signal.aborted && o < ov && (n = setTimeout(s, t));};return n = setTimeout(s, t), () => {e.abort(), clearTimeout(n);};}, [i.state]);let h = () => {- f || (u.current = !1, c(""), l.run("download", (e) => ff("/api/configuration/update", {}, "POST", e), a));- }, g = () => void l.run("check", (e) => df("/api/configuration/updates", e), r, (t) => {+ f || (u.current = !1, c(""), l.run("download", (e) => pf("/api/configuration/update", {}, "POST", e), a));+ }, g = () => void l.run("check", (e) => Q("/api/configuration/updates", e), r, (t) => {r({...e,state: "error"- }), l.setError(uf(t));+ }), l.setError(ff(t));}), _ = l.error || s, v = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;- return /* @__PURE__ */ (0, S.jsxs)(ng, {+ return /* @__PURE__ */ (0, S.jsxs)(Bg, {title: "检查更新",children: [- /* @__PURE__ */ (0, S.jsxs)(ug, { children: [- /* @__PURE__ */ (0, S.jsx)(dg, {+ /* @__PURE__ */ (0, S.jsxs)(Jg, { children: [+ /* @__PURE__ */ (0, S.jsx)(Yg, {term: "当前版本",children: n.current_version}),- /* @__PURE__ */ (0, S.jsx)(dg, {+ /* @__PURE__ */ (0, S.jsx)(Yg, {term: "安装方式",children: n.installation}),- /* @__PURE__ */ (0, S.jsx)(dg, {+ /* @__PURE__ */ (0, S.jsx)(Yg, {term: "更新通道",children: n.channel}),- /* @__PURE__ */ (0, S.jsx)(dg, {+ /* @__PURE__ */ (0, S.jsx)(Yg, {term: "最新版本",children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")})] }),- /* @__PURE__ */ (0, S.jsxs)(ig, {+ /* @__PURE__ */ (0, S.jsxs)(Hg, {divided: !0,children: [- n.checked_at ? /* @__PURE__ */ (0, S.jsxs)(og, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,- n.state === "available" && !_ ? /* @__PURE__ */ (0, S.jsx)(hf, {+ n.checked_at ? /* @__PURE__ */ (0, S.jsxs)(Wg, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,+ n.state === "available" && !_ ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "info",title: "有可用更新",children: n.message- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, S.jsx)(sg, { children: _ || n.message }) : /* @__PURE__ */ (0, S.jsx)(og, {+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, S.jsx)(Gg, { children: _ || n.message }) : /* @__PURE__ */ (0, S.jsx)(Wg, {role: "status",children: n.message}),- i.state === "error" ? /* @__PURE__ */ (0, S.jsx)(sg, { children: i.message }) : null,+ i.state === "error" ? /* @__PURE__ */ (0, S.jsx)(Gg, { children: i.message }) : null,i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, S.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, S.jsx)(_f, {+ /* @__PURE__ */ (0, S.jsx)(vf, {label: "更新准备进度:下载、校验、解压、准备安装",value: i.progress,- stops: T_+ stops: av}),- /* @__PURE__ */ (0, S.jsxs)(og, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),- /* @__PURE__ */ (0, S.jsx)(og, { children: v })+ /* @__PURE__ */ (0, S.jsxs)(Wg, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),+ /* @__PURE__ */ (0, S.jsx)(Wg, { children: v })]}) : null]}),- /* @__PURE__ */ (0, S.jsxs)(ag, {- status: /* @__PURE__ */ (0, S.jsx)(lg, {+ /* @__PURE__ */ (0, S.jsxs)(Ug, {+ status: /* @__PURE__ */ (0, S.jsx)(qg, {href: n.release_url,children: "查看发布页"}),children: [- i.state === "ready" ? /* @__PURE__ */ (0, S.jsx)(Gh, {+ i.state === "ready" ? /* @__PURE__ */ (0, S.jsx)(Hh, {onClick: m,children: "重启安装"}) : null,- n.state === "available" && n.installation === "独立测试包" && i.state !== "ready" ? /* @__PURE__ */ (0, S.jsx)(Gh, {+ n.state === "available" && n.installation === "独立测试包" && i.state !== "ready" ? /* @__PURE__ */ (0, S.jsx)(Hh, {onClick: h,- ...gg(f || l.busy === "download"),+ ...$h(f || l.busy === "download"),children: "下载并安装"}) : null,- /* @__PURE__ */ (0, S.jsx)(Gh, {+ /* @__PURE__ */ (0, S.jsx)(Hh, {disabled: f,onClick: g,- ...gg(l.busy === "check"),+ ...$h(l.busy === "check"),children: "检查更新"})]@@ -22777,139 +23191,139 @@ function D_({ initial: e, initialJob: t }) {}//#endregion//#region src/react/settings/maintenance-settings.tsx-var O_ = [+var cv = [["6", "每 6 小时"],["24", "每天"],["168", "每周"]];-function k_({ data: e, receipt: t }) {+function lv({ data: e, receipt: t }) {return /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col gap-6",children: [- e.automatic_updates ? /* @__PURE__ */ (0, S.jsx)(A_, {+ e.automatic_updates ? /* @__PURE__ */ (0, S.jsx)(uv, {initial: e.automatic_updates,receipt: t}) : null,- e.updates ? /* @__PURE__ */ (0, S.jsx)(D_, {+ e.updates ? /* @__PURE__ */ (0, S.jsx)(sv, {initial: e.updates,initialJob: e.update_job}) : null,- /* @__PURE__ */ (0, S.jsx)(C_, {}),- /* @__PURE__ */ (0, S.jsx)(j_, { facts: e.facts }),- e.uninstall ? /* @__PURE__ */ (0, S.jsx)(M_, { uninstall: e.uninstall }) : null+ /* @__PURE__ */ (0, S.jsx)(rv, {}),+ /* @__PURE__ */ (0, S.jsx)(dv, { facts: e.facts }),+ e.uninstall ? /* @__PURE__ */ (0, S.jsx)(fv, { uninstall: e.uninstall }) : null]});}-function A_({ initial: e, receipt: t }) {- let [n, r] = (0, x.useState)(e.mode), [i, a] = (0, x.useState)(e.interval_hours), o = hg(e.error), s = (r) => {- r.preventDefault(), e.available && o.run("save", (e) => ff("/api/configuration/automatic-updates", {+function uv({ initial: e, receipt: t }) {+ let [n, r] = (0, x.useState)(e.mode), [i, a] = (0, x.useState)(e.interval_hours), o = Qh(e.error), s = (r) => {+ r.preventDefault(), e.available && o.run("save", (e) => pf("/api/configuration/automatic-updates", {mode: n,interval_hours: i}, "POST", e), () => t("已保存配置"));}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行请前往发布页获取新版本。" : "自动更新需要由托盘管理的服务。";- return /* @__PURE__ */ (0, S.jsxs)(ng, {+ return /* @__PURE__ */ (0, S.jsxs)(Bg, {title: "自动更新",onSubmit: s,children: [- /* @__PURE__ */ (0, S.jsxs)(rg, { children: [- /* @__PURE__ */ (0, S.jsx)(tg, {+ /* @__PURE__ */ (0, S.jsxs)(Vg, { children: [+ /* @__PURE__ */ (0, S.jsx)(zg, {label: "自动检查新版本",- children: /* @__PURE__ */ (0, S.jsx)(m_, {+ children: /* @__PURE__ */ (0, S.jsx)(J_, {"aria-label": "自动检查新版本",isSelected: n !== "off",isDisabled: !e.available,onChange: (e) => r(e ? "check" : "off")})}),- /* @__PURE__ */ (0, S.jsx)(tg, {+ /* @__PURE__ */ (0, S.jsx)(zg, {label: "自动下载更新",- children: /* @__PURE__ */ (0, S.jsx)(m_, {+ children: /* @__PURE__ */ (0, S.jsx)(J_, {"aria-label": "自动下载更新",isSelected: n === "download",isDisabled: !e.available || !e.download_available || n === "off",onChange: (e) => r(e ? "download" : "check")})}),- /* @__PURE__ */ (0, S.jsx)(tg, {+ /* @__PURE__ */ (0, S.jsx)(zg, {label: "检查频率",description: c,- children: /* @__PURE__ */ (0, S.jsx)(qg, {+ children: /* @__PURE__ */ (0, S.jsx)(S_, {"aria-label": "检查频率",selectedKey: String(i),isDisabled: !e.available,onSelectionChange: (e) => {e !== null && a(Number(e));},- children: O_.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(Jg, {+ children: cv.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(C_, {id: e,children: t}, e))})})] }),- o.error ? /* @__PURE__ */ (0, S.jsx)(ig, {+ o.error ? /* @__PURE__ */ (0, S.jsx)(Hg, {divided: !0,- children: /* @__PURE__ */ (0, S.jsx)(sg, { children: o.error })+ children: /* @__PURE__ */ (0, S.jsx)(Gg, { children: o.error })}) : null,- /* @__PURE__ */ (0, S.jsx)(ag, { children: /* @__PURE__ */ (0, S.jsx)(Gh, {+ /* @__PURE__ */ (0, S.jsx)(Ug, { children: /* @__PURE__ */ (0, S.jsx)(Hh, {type: "submit",disabled: !e.available,- ...gg(o.busy === "save"),+ ...$h(o.busy === "save"),children: "保存配置"}) })]});}-function j_({ facts: e }) {- return /* @__PURE__ */ (0, S.jsx)(ng, {+function dv({ facts: e }) {+ return /* @__PURE__ */ (0, S.jsx)(Bg, {title: "运行信息",- children: /* @__PURE__ */ (0, S.jsx)(ug, { children: e.map((e) => /* @__PURE__ */ (0, S.jsxs)(dg, {+ children: /* @__PURE__ */ (0, S.jsx)(Jg, { children: e.map((e) => /* @__PURE__ */ (0, S.jsxs)(Yg, {term: e.term,- children: [e.value, e.download_url ? /* @__PURE__ */ (0, S.jsx)(lg, {+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, S.jsx)(qg, {href: e.download_url,children: e.download_label}) : null]}, e.term)) })});}-function M_({ uninstall: e }) {+function fv({ uninstall: e }) {let [t, n] = (0, x.useState)(!1), [r, i] = (0, x.useState)(""), a = () => void o({title: "卸载 Peach",danger: !0,body: t ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",confirmLabel: "卸载 Peach",onConfirm: async () => {- let e = await ff("/api/configuration/uninstall", {+ let e = await pf("/api/configuration/uninstall", {delete_data: t,confirmation: "卸载 Peach"});i(e.message);}}), s = r || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];- return /* @__PURE__ */ (0, S.jsxs)(ng, {+ return /* @__PURE__ */ (0, S.jsxs)(Bg, {id: "uninstallPeach",title: "卸载 Peach",- children: [/* @__PURE__ */ (0, S.jsxs)(ig, { children: [- e.available ? /* @__PURE__ */ (0, S.jsx)(og, { children: "卸载会退出 Peach、移除程序、开机自启和桌面图标。原始媒体文件保留。" }) : null,- /* @__PURE__ */ (0, S.jsx)(y_, {+ children: [/* @__PURE__ */ (0, S.jsxs)(Hg, { children: [+ e.available ? /* @__PURE__ */ (0, S.jsx)(Wg, { children: "卸载会退出 Peach、移除程序、开机自启和桌面图标。原始媒体文件保留。" }) : null,+ /* @__PURE__ */ (0, S.jsx)($_, {isSelected: t,isDisabled: !e.full_available || !!r,onChange: n,children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"}),- /* @__PURE__ */ (0, S.jsx)(fg, {+ /* @__PURE__ */ (0, S.jsx)(Xg, {summary: "数据目录",children: c.map((e) => /* @__PURE__ */ (0, S.jsx)("p", {className: "text-body-2-regular break-all text-text-secondary",children: e}, e))})- ] }), /* @__PURE__ */ (0, S.jsx)(ag, {+ ] }), /* @__PURE__ */ (0, S.jsx)(Ug, {status: s ? /* @__PURE__ */ (0, S.jsx)("p", {role: r ? "status" : void 0,children: s}) : null,- children: /* @__PURE__ */ (0, S.jsx)(Gh, {+ children: /* @__PURE__ */ (0, S.jsx)(Hh, {variant: "danger",disabled: !e.available || !!r,onClick: a,@@ -22919,43 +23333,8 @@ function M_({ uninstall: e }) {});}//#endregion-//#region src/react/boardui/components/base/buttons/icon-button.tsx-var N_ = af({- base: [- "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",- "bg-background-primary-default text-foreground-icon-primary",- "border border-border-button-default shadow-xs",- "select-none cursor-pointer",- "transition-[background-color,border-color,box-shadow,color] duration-150 ease",- "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",- "hover:bg-background-primary-hover hover:border-border-button-hover",- "active:bg-background-primary-active active:border-border-button-active",- "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none"- ].join(" "),- size: {- medium: "size-9",- small: "size-8"- },- icon: {- medium: "size-5 shrink-0",- small: "size-4 shrink-0"- }-});-function P_({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {- return /* @__PURE__ */ (0, S.jsx)("button", {- ref: i,- type: r,- className: rf(N_.base, N_.size[t], n),- ...a,- children: /* @__PURE__ */ (0, S.jsx)(e, {- className: N_.icon[t],- "aria-hidden": !0- })- });-}-//#endregion-//#region src/configuration-endpoints.ts-var F_ = "/api/configuration", I_ = "/api/pick-folder", L_ = [+//#region src/react/settings/clouddrive-guide.tsx+var pv = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -22974,32 +23353,32 @@ var F_ = "/api/configuration", I_ = "/api/pick-folder", L_ = [read: "256 / 128 KB",task: "2 个起步"}-], R_ = [+], mv = [["cache", "缓存上限"],["read", "读取长度(默认 / 最小)"],["task", "同时处理视频"]];-function z_() {+function hv() {return /* @__PURE__ */ (0, S.jsxs)("div", {className: "@container flex flex-col gap-3",- children: [/* @__PURE__ */ (0, S.jsxs)(og, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, S.jsx)(lg, {+ children: [/* @__PURE__ */ (0, S.jsxs)(Wg, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, S.jsx)(qg, {href: "https://www.clouddrive2.com/help.html",children: "挂载帮助"- })] }), /* @__PURE__ */ (0, S.jsxs)(fg, {+ })] }), /* @__PURE__ */ (0, S.jsxs)(Xg, {summary: "CloudDrive 缓存建议",children: [- /* @__PURE__ */ (0, S.jsx)(og, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,填得越大不一定越快。" }),+ /* @__PURE__ */ (0, S.jsx)(Wg, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,填得越大不一定越快。" }),/* @__PURE__ */ (0, S.jsx)("ul", {"aria-label": "按缓存所在硬盘分档",className: "flex flex-col gap-2",- children: L_.map((e) => /* @__PURE__ */ (0, S.jsxs)("li", {+ children: pv.map((e) => /* @__PURE__ */ (0, S.jsxs)("li", {className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, S.jsx)("p", {className: "text-body-medium text-text-primary",children: e.name}), /* @__PURE__ */ (0, S.jsx)("dl", {className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",- children: R_.map(([t, n]) => /* @__PURE__ */ (0, S.jsxs)("div", {+ children: mv.map(([t, n]) => /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col",children: [/* @__PURE__ */ (0, S.jsx)("dt", {className: "text-caption-1-regular text-text-secondary",@@ -23020,9 +23399,9 @@ function z_() {/* @__PURE__ */ (0, S.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })]}),- /* @__PURE__ */ (0, S.jsxs)(og, { children: [+ /* @__PURE__ */ (0, S.jsxs)(Wg, { children: ["三处缓存分别管什么、这几个值怎么往上调、码率和速度怎么换算、线程上限与直链代理怎么取舍,以及这些起步值的来源,都在",- /* @__PURE__ */ (0, S.jsx)(lg, {+ /* @__PURE__ */ (0, S.jsx)(qg, {href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",children: "CloudDrive 配置与调优"}),@@ -23034,7 +23413,7 @@ function z_() {}//#endregion//#region src/react/settings/library-icon-picker.tsx-var B_ = [+var gv = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -23078,14 +23457,14 @@ var B_ = [["star", "收藏"],["tags", "主题"]];-function V_(e) {+function _v(e) {let t = e === "local" ? "" : a[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-var H_ = "auto";-function U_({ value: e, label: t, kind: n = "local", onChange: r }) {- let i = (0, x.useRef)(null), [a, o] = (0, x.useState)(!1), [s, c] = (0, x.useState)(e), [l, u] = V_(n);- return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(Gh, {+var vv = "auto";+function yv({ value: e, label: t, kind: n = "local", onChange: r }) {+ let i = (0, x.useRef)(null), [a, o] = (0, x.useState)(!1), [s, c] = (0, x.useState)(e), [l, u] = _v(n);+ return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(Hh, {ref: i,variant: "secondary",className: "self-start",@@ -23098,43 +23477,43 @@ function U_({ value: e, label: t, kind: n = "local", onChange: r }) {children: /* @__PURE__ */ (0, S.jsxs)("span", {"data-icon-choice": !0,className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, S.jsx)(mg, { mark: e || l }), ((e) => e && B_.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, S.jsx)(Qg, { mark: e || l }), ((e) => e && gv.find(([t]) => t === e)?.[1] || u)(e)]})- }), /* @__PURE__ */ (0, S.jsx)(dh, {+ }), /* @__PURE__ */ (0, S.jsx)(Qm, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom start",offset: 4,- className: Jh,- children: /* @__PURE__ */ (0, S.jsxs)(hh, {+ className: Mg,+ children: /* @__PURE__ */ (0, S.jsxs)(nh, {"aria-label": `${t}候选`,className: "flex w-72 flex-col gap-3 outline-none",children: [- /* @__PURE__ */ (0, S.jsx)(Tp, {+ /* @__PURE__ */ (0, S.jsx)(fp, {slot: "title",className: "px-1 text-body-medium text-text-primary",children: "选择媒体库图标"}),- /* @__PURE__ */ (0, S.jsx)(Sh, {+ /* @__PURE__ */ (0, S.jsx)(yh, {"aria-label": "候选图标",- value: s || H_,- onChange: (e) => c(e === H_ ? "" : e),+ value: s || vv,+ onChange: (e) => c(e === vv ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: B_.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(Ch, {- value: e || H_,+ children: gv.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(bh, {+ value: e || vv,"aria-label": e ? t : u,className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",- children: /* @__PURE__ */ (0, S.jsx)(mg, { mark: e || l })- }, e || H_))+ children: /* @__PURE__ */ (0, S.jsx)(Qg, { mark: e || l })+ }, e || vv))}),/* @__PURE__ */ (0, S.jsxs)("div", {className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",- children: [/* @__PURE__ */ (0, S.jsx)(Gh, {+ children: [/* @__PURE__ */ (0, S.jsx)(Hh, {variant: "secondary",onClick: () => o(!1),children: "取消"- }), /* @__PURE__ */ (0, S.jsx)(Gh, {+ }), /* @__PURE__ */ (0, S.jsx)(Hh, {disabled: s === e,onClick: () => {r(s), o(!1);@@ -23148,8 +23527,8 @@ function U_({ value: e, label: t, kind: n = "local", onChange: r }) {}//#endregion//#region src/react/settings/media-settings.tsx-var W_ = 8e3;-function G_({ className: e }) {+var bv = 8e3;+function xv({ className: e }) {return /* @__PURE__ */ (0, S.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -23162,48 +23541,48 @@ function G_({ className: e }) {children: /* @__PURE__ */ (0, S.jsx)("use", { href: "#i-folder-search" })});}-var K_ = [+var Sv = [["local", "本地磁盘"],["115", "CloudDrive · 115"],["pikpak", "CloudDrive · PikPak"]-], q_ = (e) => K_.find(([t]) => t === e)?.[1] ?? e, J_ = (e) => a[e] || "database", Y_ = (e = "") => ({+], Cv = (e) => Sv.find(([t]) => t === e)?.[1] ?? e, wv = (e) => a[e] || "database", Tv = (e = "") => ({path: e,location: "local",root: "",library: "",library_icon: ""});-function X_(e) {- let t = e.media_sources?.filter((e) => K_.some(([t]) => t === e.location));+function Ev(e) {+ let t = e.media_sources?.filter((e) => Sv.some(([t]) => t === e.location));return t?.length ? t.map((e) => ({path: e.path,location: e.location,root: e.root,library: e.library || "",library_icon: e.library_icon || ""- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => Y_(e));+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => Tv(e));}-var Z_ = (e) => !(e instanceof cf) || e.status !== 400 ? null : e.body?.errors ?? null;-function Q_({ data: e, receipt: t }) {+var Dv = (e) => !(e instanceof uf) || e.status !== 400 ? null : e.body?.errors ?? null;+function Ov({ data: e, receipt: t }) {return /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col gap-6",- children: [e.editable ? /* @__PURE__ */ (0, S.jsx)($_, {+ children: [e.editable ? /* @__PURE__ */ (0, S.jsx)(kv, {data: e,receipt: t- }) : /* @__PURE__ */ (0, S.jsx)(hf, {+ }) : /* @__PURE__ */ (0, S.jsx)(gf, {tone: "neutral",title: "只读",children: e.notice- }), /* @__PURE__ */ (0, S.jsx)(tv, { data: e })]+ }), /* @__PURE__ */ (0, S.jsx)(jv, { data: e })]});}-function $_({ data: e, receipt: t }) {- let [n, r] = (0, x.useState)(() => X_(e)), [i, a] = (0, x.useState)(String(e.port)), [o, s] = (0, x.useState)(!1), [c, l] = (0, x.useState)([]), [u, d] = (0, x.useState)(""), [f, p] = (0, x.useState)(""), [m, h] = (0, x.useState)(null), [g, _] = (0, x.useState)(null), [v, y] = (0, x.useState)(null), b = (0, x.useRef)(!1), C = (0, x.useRef)(e.revision), w = (0, x.useRef)([]), T = hg();+function kv({ data: e, receipt: t }) {+ let [n, r] = (0, x.useState)(() => Ev(e)), [i, a] = (0, x.useState)(String(e.port)), [o, s] = (0, x.useState)(!1), [c, l] = (0, x.useState)([]), [u, d] = (0, x.useState)(""), [f, p] = (0, x.useState)(""), [m, h] = (0, x.useState)(null), [g, _] = (0, x.useState)(null), [v, y] = (0, x.useState)(null), b = (0, x.useRef)(!1), C = (0, x.useRef)(e.revision), w = (0, x.useRef)([]), T = Qh();(0, x.useLayoutEffect)(() => {g !== null && (w.current[g]?.focus(), _(null));}, [g]), (0, x.useEffect)(() => {if (!m) return;- let e = setTimeout(() => location.assign(m.url), W_);+ let e = setTimeout(() => location.assign(m.url), bv);return () => clearTimeout(e);}, [m]);let E = (e, t) => r((n) => n.map((n, r) => r === e ? {@@ -23214,23 +23593,23 @@ function $_({ data: e, receipt: t }) {for (; r.length <= e;) r.push("");return r[e] = t, r;}), O = () => {- _(n.length), r((e) => [...e, Y_()]);+ _(n.length), r((e) => [...e, Tv()]);}, k = (e) => {r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));}, A = async (e) => {if (!b.current) {b.current = !0, y(e);try {- let { path: t } = await ff(I_, { initial: n[e]?.path ?? "" });+ let { path: t } = await pf(H_, { initial: n[e]?.path ?? "" });t && (E(e, { path: t }), D(e, ""));} catch (t) {- D(e, uf(t));+ D(e, ff(t));} finally {b.current = !1, y(null);}}}, ee = (r) => {- r.preventDefault(), p(""), T.run("save", (t) => ff(F_, {+ r.preventDefault(), p(""), T.run("save", (t) => pf(V_, {revision: C.current,media_dirs: n.map((e) => e.path),...e.media_sources ? { media_sources: n } : {},@@ -23239,18 +23618,18 @@ function $_({ data: e, receipt: t }) {}, "POST", t), (e) => {C.current = e.revision, l([]), d(""), t("已保存配置"), h(e);}, (e) => {- let t = Z_(e);- l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(uf(e));+ let t = Dv(e);+ l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(ff(e));});};- if (m) return /* @__PURE__ */ (0, S.jsx)(ng, {+ if (m) return /* @__PURE__ */ (0, S.jsx)(Bg, {title: "这台电脑",- children: /* @__PURE__ */ (0, S.jsx)(ig, { children: /* @__PURE__ */ (0, S.jsxs)(hf, {+ children: /* @__PURE__ */ (0, S.jsx)(Hg, { children: /* @__PURE__ */ (0, S.jsxs)(gf, {tone: "success",title: "配置已保存",children: ["Peach 正在重新启动。稍后自动跳转,或点击",- /* @__PURE__ */ (0, S.jsx)(qh, {+ /* @__PURE__ */ (0, S.jsx)(jg, {href: m.url,size: "small",children: "进入馆藏"@@ -23260,14 +23639,14 @@ function $_({ data: e, receipt: t }) {}) })});let j = n.some((e) => e.location === "115" || e.location === "pikpak"), te = j ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];- return /* @__PURE__ */ (0, S.jsxs)(ng, {+ return /* @__PURE__ */ (0, S.jsxs)(Bg, {title: "这台电脑",onSubmit: ee,- children: [/* @__PURE__ */ (0, S.jsxs)(ig, { children: [+ children: [/* @__PURE__ */ (0, S.jsxs)(Hg, { children: [/* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, S.jsx)(cg, { children: "媒体文件夹" }),+ /* @__PURE__ */ (0, S.jsx)(Kg, { children: "媒体文件夹" }),/* @__PURE__ */ (0, S.jsx)("div", {role: "group","aria-label": "媒体文件夹",@@ -23278,7 +23657,7 @@ function $_({ data: e, receipt: t }) {children: [/* @__PURE__ */ (0, S.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, S.jsx)(Hg, {+ /* @__PURE__ */ (0, S.jsx)(Zh, {className: "min-w-0 flex-1","aria-label": `媒体文件夹 ${r + 1}`,placeholder: "本机文件夹路径",@@ -23291,14 +23670,14 @@ function $_({ data: e, receipt: t }) {isInvalid: !!c[r],hint: c[r] || void 0}),- /* @__PURE__ */ (0, S.jsx)(P_, {- icon: G_,+ /* @__PURE__ */ (0, S.jsx)(Wh, {+ icon: xv,"aria-label": "选择文件夹",onClick: () => void A(r),- ...gg(v === r)+ ...$h(v === r)}),- n.length > 1 ? /* @__PURE__ */ (0, S.jsx)(P_, {- icon: gu,+ n.length > 1 ? /* @__PURE__ */ (0, S.jsx)(Wh, {+ icon: _u,"aria-label": "移除这个文件夹",onClick: () => k(r)}) : null@@ -23306,7 +23685,7 @@ function $_({ data: e, receipt: t }) {}), /* @__PURE__ */ (0, S.jsxs)("div", {className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",children: [- /* @__PURE__ */ (0, S.jsx)(Hg, {+ /* @__PURE__ */ (0, S.jsx)(Zh, {label: "媒体库名称",maxLength: 80,placeholder: "同名文件夹归入同一个媒体库",@@ -23315,7 +23694,7 @@ function $_({ data: e, receipt: t }) {}),/* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, S.jsx)(cg, { children: "媒体库图标" }), /* @__PURE__ */ (0, S.jsx)(U_, {+ children: [/* @__PURE__ */ (0, S.jsx)(Kg, { children: "媒体库图标" }), /* @__PURE__ */ (0, S.jsx)(yv, {label: `媒体库图标 ${r + 1}`,value: t.library_icon,kind: t.location,@@ -23324,20 +23703,20 @@ function $_({ data: e, receipt: t }) {}),/* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, S.jsx)(cg, { children: "媒体来源" }), /* @__PURE__ */ (0, S.jsx)(qg, {+ children: [/* @__PURE__ */ (0, S.jsx)(Kg, { children: "媒体来源" }), /* @__PURE__ */ (0, S.jsx)(S_, {"aria-label": `媒体来源 ${r + 1}`,selectedKey: t.location,onSelectionChange: (e) => {e !== null && E(r, { location: String(e) });},- children: K_.map(([e, t]) => /* @__PURE__ */ (0, S.jsxs)(Jg, {+ children: Sv.map(([e, t]) => /* @__PURE__ */ (0, S.jsxs)(C_, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, S.jsx)(mg, { mark: J_(e) }), t]+ children: [/* @__PURE__ */ (0, S.jsx)(Qg, { mark: wv(e) }), t]}, e))})]}),- e.windows === !1 ? /* @__PURE__ */ (0, S.jsx)(Hg, {+ e.windows === !1 ? /* @__PURE__ */ (0, S.jsx)(Zh, {label: "Windows 中的对应路径",placeholder: "例如 B:\\",value: t.root,@@ -23347,25 +23726,25 @@ function $_({ data: e, receipt: t }) {})]}, r))}),- /* @__PURE__ */ (0, S.jsx)(Gh, {+ /* @__PURE__ */ (0, S.jsx)(Hh, {className: "self-start",onClick: O,children: "添加文件夹"})]}),- j ? /* @__PURE__ */ (0, S.jsx)(z_, {}) : null,- te.map((e) => /* @__PURE__ */ (0, S.jsxs)(og, { children: [+ j ? /* @__PURE__ */ (0, S.jsx)(hv, {}) : null,+ te.map((e) => /* @__PURE__ */ (0, S.jsxs)(Wg, { children: ["未检测到 ",e.name,"。",- /* @__PURE__ */ (0, S.jsxs)(lg, {+ /* @__PURE__ */ (0, S.jsxs)(qg, {href: e.download_url,children: ["下载 ", e.name]})] }, e.name)),- e.windows === !1 ? /* @__PURE__ */ (0, S.jsx)(og, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,- e.port_editable === !1 ? null : /* @__PURE__ */ (0, S.jsx)(Hg, {+ e.windows === !1 ? /* @__PURE__ */ (0, S.jsx)(Wg, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, S.jsx)(Zh, {id: "configPort",label: "本机访问端口",inputMode: "numeric",@@ -23375,27 +23754,27 @@ function $_({ data: e, receipt: t }) {isInvalid: !!u,hint: u || "浏览器地址里冒号后面的数字,一般不用改。"}),- /* @__PURE__ */ (0, S.jsx)(y_, {+ /* @__PURE__ */ (0, S.jsx)($_, {isSelected: o,onChange: s,children: "保存后扫描并补全资料"}),- f ? /* @__PURE__ */ (0, S.jsx)(hf, {+ f ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "error",title: "没有保存",children: f}) : null- ] }), /* @__PURE__ */ (0, S.jsx)(ag, {+ ] }), /* @__PURE__ */ (0, S.jsx)(Ug, {status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",- children: /* @__PURE__ */ (0, S.jsx)(Gh, {+ children: /* @__PURE__ */ (0, S.jsx)(Hh, {type: "submit",- ...gg(T.busy === "save"),+ ...$h(T.busy === "save"),children: "保存配置"})})]});}-function ev({ online: e }) {+function Av({ online: e }) {return e === !0 ? /* @__PURE__ */ (0, S.jsxs)("span", {"data-mount": "online",className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",@@ -23419,22 +23798,22 @@ function ev({ online: e }) {}), "未检测"]});}-function tv({ data: e }) {- let [t, n] = (0, x.useState)(e.media_sources), r = hg();- return t ? /* @__PURE__ */ (0, S.jsxs)(ng, {+function jv({ data: e }) {+ let t = e.media_sources, n = Qh();+ return t ? /* @__PURE__ */ (0, S.jsxs)(Bg, {title: "挂载状态",children: [- /* @__PURE__ */ (0, S.jsx)(ug, { children: t.map((e, t) => /* @__PURE__ */ (0, S.jsxs)(dg, {- term: /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(mg, { mark: J_(e.location) }), q_(e.location)] }),- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, S.jsx)(ev, { online: e.online })]+ /* @__PURE__ */ (0, S.jsx)(Jg, { children: t.map((e, t) => /* @__PURE__ */ (0, S.jsxs)(Yg, {+ term: /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(Qg, { mark: wv(e.location) }), Cv(e.location)] }),+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, S.jsx)(Av, { online: e.online })]}, t)) }),- r.error ? /* @__PURE__ */ (0, S.jsx)(ig, {+ n.error ? /* @__PURE__ */ (0, S.jsx)(Hg, {divided: !0,- children: /* @__PURE__ */ (0, S.jsx)(sg, { children: r.error })+ children: /* @__PURE__ */ (0, S.jsx)(Gg, { children: n.error })}) : null,- /* @__PURE__ */ (0, S.jsx)(ag, { children: /* @__PURE__ */ (0, S.jsx)(Gh, {- onClick: () => void r.run("refresh", (e) => df(F_, e), (e) => n(e.media_sources)),- ...gg(r.busy === "refresh"),+ /* @__PURE__ */ (0, S.jsx)(Ug, { children: /* @__PURE__ */ (0, S.jsx)(Hh, {+ onClick: () => void n.run("refresh", (e) => W_(e), (e) => yf.setQueryData(U_, e)),+ ...$h(n.busy === "refresh"),children: "刷新挂载状态"}) })]@@ -23442,20 +23821,20 @@ function tv({ data: e }) {}//#endregion//#region src/react/settings/access-settings.tsx-var nv = {+var Mv = {legacy: "当前使用系统生成的访问口令。你可以设置自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,保持登录时间在登录页选择。"};-function rv({ initial: e, receipt: t }) {- let [n, r] = (0, x.useState)(e), [i, a] = (0, x.useState)(""), [o, s] = (0, x.useState)(""), [c, l] = (0, x.useState)(""), [u, d] = (0, x.useState)(!1), [f, p] = (0, x.useState)({}), m = (0, x.useRef)(null), h = hg(), g = (e) => {+function Nv({ initial: e, receipt: t }) {+ let [n, r] = (0, x.useState)(e), [i, a] = (0, x.useState)(""), [o, s] = (0, x.useState)(""), [c, l] = (0, x.useState)(""), [u, d] = (0, x.useState)(!1), [f, p] = (0, x.useState)({}), m = (0, x.useRef)(null), h = Qh(), g = (e) => {e.preventDefault();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("input[aria-invalid=\"true\"]")?.focus());return;}- h.run("save", (e) => ff("/api/configuration/access", {+ h.run("save", (e) => pf("/api/configuration/access", {revision: n.revision,action: u ? "disable" : "set",confirm_disable: u,@@ -23465,28 +23844,28 @@ function rv({ initial: e, receipt: t }) {}, "POST", e), (e) => {r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");}, (e) => {- let t = e instanceof cf ? e.body : null, n = t?.errors || t?.detail?.errors;- n ? p(n) : h.setError(uf(e));+ let t = e instanceof uf ? e.body : null, n = t?.errors || t?.detail?.errors;+ n ? p(n) : h.setError(ff(e));});- }, _ = nv[n.mode], v = n.mode !== "locked";- return /* @__PURE__ */ (0, S.jsxs)(ng, {+ }, _ = Mv[n.mode], v = n.mode !== "locked";+ return /* @__PURE__ */ (0, S.jsxs)(Bg, {title: "访问密码",onSubmit: g,children: [/* @__PURE__ */ (0, S.jsx)("div", {ref: m,- children: /* @__PURE__ */ (0, S.jsxs)(ig, { children: [- _ ? /* @__PURE__ */ (0, S.jsx)(og, { children: _ }) : null,- n.mode === "open" ? /* @__PURE__ */ (0, S.jsx)(hf, {+ children: /* @__PURE__ */ (0, S.jsxs)(Hg, { children: [+ _ ? /* @__PURE__ */ (0, S.jsx)(Wg, { children: _ }) : null,+ n.mode === "open" ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "warning",title: "未设置访问密码",children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"}) : null,- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, S.jsx)(y_, {+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, S.jsx)($_, {isSelected: u,onChange: d,children: "关闭访问密码,允许能连接到 Peach 的设备直接访问"}) : null,- n.mode === "password" ? /* @__PURE__ */ (0, S.jsx)(Hg, {+ n.mode === "password" ? /* @__PURE__ */ (0, S.jsx)(Zh, {id: "access-current",type: "password",label: "当前访问密码",@@ -23499,7 +23878,7 @@ function rv({ initial: e, receipt: t }) {isInvalid: !!f.current_password,hint: f.current_password}) : null,- v ? /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(Hg, {+ v ? /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(Zh, {id: "access-password",type: "password",label: n.mode === "password" ? "新访问密码" : "设置访问密码",@@ -23512,7 +23891,7 @@ function rv({ initial: e, receipt: t }) {validationBehavior: "aria",isInvalid: !u && !!f.password,hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"- }), /* @__PURE__ */ (0, S.jsx)(Hg, {+ }), /* @__PURE__ */ (0, S.jsx)(Zh, {id: "access-confirm",type: "password",label: "确认访问密码",@@ -23526,18 +23905,18 @@ function rv({ initial: e, receipt: t }) {isInvalid: !u && !!f.confirmation,hint: u ? void 0 : f.confirmation})] }) : null,- u ? /* @__PURE__ */ (0, S.jsx)(hf, {+ u ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "warning",title: "访问范围",children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"}) : null,- h.error ? /* @__PURE__ */ (0, S.jsx)(sg, { children: h.error }) : null+ h.error ? /* @__PURE__ */ (0, S.jsx)(Gg, { children: h.error }) : null] })- }), v ? /* @__PURE__ */ (0, S.jsx)(ag, {+ }), v ? /* @__PURE__ */ (0, S.jsx)(Ug, {status: "保存后立即生效。",- children: /* @__PURE__ */ (0, S.jsx)(Gh, {+ children: /* @__PURE__ */ (0, S.jsx)(Hh, {type: "submit",- ...gg(h.busy === "save"),+ ...$h(h.busy === "save"),children: "保存配置"})}) : null]@@ -23545,30 +23924,30 @@ function rv({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/network-settings.tsx-var iv = [+var Pv = [["environment", "系统代理"],["direct", "直连"],["proxy", "自定义"]];-function av({ data: e, receipt: t }) {+function Fv({ data: e, receipt: t }) {return /* @__PURE__ */ (0, S.jsxs)("div", {className: "flex flex-col gap-6",- children: [e.peach_proxy ? /* @__PURE__ */ (0, S.jsx)(ov, {+ children: [e.peach_proxy ? /* @__PURE__ */ (0, S.jsx)(Iv, {initial: e.peach_proxy,receipt: t- }) : null, e.access ? /* @__PURE__ */ (0, S.jsx)(rv, {+ }) : null, e.access ? /* @__PURE__ */ (0, S.jsx)(Nv, {initial: e.access,receipt: t}) : null]});}-function ov({ initial: e, receipt: t }) {- let [n, r] = (0, x.useState)(e), [i, a] = (0, x.useState)(e.mode), [o, s] = (0, x.useState)(""), c = hg();- return /* @__PURE__ */ (0, S.jsxs)(ng, {+function Iv({ initial: e, receipt: t }) {+ let [n, r] = (0, x.useState)(e), [i, a] = (0, x.useState)(e.mode), [o, s] = (0, x.useState)(""), c = Qh();+ return /* @__PURE__ */ (0, S.jsxs)(Bg, {id: "peachProxy",title: "Peach 代理",onSubmit: (e) => {- e.preventDefault(), c.run("save", (e) => ff("/api/configuration/peach-proxy", {+ e.preventDefault(), c.run("save", (e) => pf("/api/configuration/peach-proxy", {mode: i,proxy: o}, "POST", e), (e) => {@@ -23576,25 +23955,25 @@ function ov({ initial: e, receipt: t }) {});},children: [- /* @__PURE__ */ (0, S.jsx)(rg, { children: /* @__PURE__ */ (0, S.jsx)(tg, {+ /* @__PURE__ */ (0, S.jsx)(Vg, { children: /* @__PURE__ */ (0, S.jsx)(zg, {label: "连接方式",description: "采集来源选择“Peach 代理”时共用此设置。",- children: /* @__PURE__ */ (0, S.jsx)(qg, {+ children: /* @__PURE__ */ (0, S.jsx)(S_, {"aria-label": "连接方式",selectedKey: i,onSelectionChange: (e) => {e !== null && a(String(e));},- children: iv.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(Jg, {+ children: Pv.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(C_, {id: e,children: t}, e))})}) }),- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, S.jsxs)(ig, {+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, S.jsxs)(Hg, {divided: !0,children: [- i === "proxy" ? /* @__PURE__ */ (0, S.jsx)(Hg, {+ i === "proxy" ? /* @__PURE__ */ (0, S.jsx)(Zh, {id: "peachProxyAddress",type: "password",label: "代理地址",@@ -23603,60 +23982,113 @@ function ov({ initial: e, receipt: t }) {onChange: s,placeholder: n.proxy_saved ? "已保存,留空保留" : "http://127.0.0.1:7890"}) : null,- n.needs_selection ? /* @__PURE__ */ (0, S.jsx)(hf, {+ n.needs_selection ? /* @__PURE__ */ (0, S.jsx)(gf, {tone: "warning",title: "需要选择连接方式",children: "已有来源的代理地址不同,请选择公共连接方式。"}) : null,- c.error ? /* @__PURE__ */ (0, S.jsx)(sg, { children: c.error }) : null+ c.error ? /* @__PURE__ */ (0, S.jsx)(Gg, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, S.jsx)(ag, { children: /* @__PURE__ */ (0, S.jsx)(Gh, {+ /* @__PURE__ */ (0, S.jsx)(Ug, { children: /* @__PURE__ */ (0, S.jsx)(Hh, {type: "submit",- ...gg(c.busy === "save"),+ ...$h(c.busy === "save"),children: "保存配置"}) })]});}//#endregion+//#region src/react/settings/configuration-page.tsx+function Lv({ receipt: e }) {+ let t = ct({+ queryKey: U_,+ queryFn: ({ signal: e }) => W_(e)+ }), n = t.data;+ if (!n) return /* @__PURE__ */ (0, S.jsx)("div", {+ className: "configpage",+ children: /* @__PURE__ */ (0, S.jsx)(gf, {+ tone: "error",+ title: "打不开配置",+ children: t.error ? ff(t.error) : "没有读到配置"+ })+ });+ let r = {+ data: n,+ receipt: e+ }, i = !!(n.peach_proxy || n.access);+ return /* @__PURE__ */ (0, S.jsxs)("div", {+ className: "configpage",+ children: [+ n.startup ? /* @__PURE__ */ (0, S.jsx)("h2", {+ className: "configgroup",+ children: "通用"+ }) : null,+ n.startup ? /* @__PURE__ */ (0, S.jsx)(Y_, { ...r }) : null,+ /* @__PURE__ */ (0, S.jsx)("h2", {+ className: "configgroup",+ children: "媒体"+ }),+ /* @__PURE__ */ (0, S.jsx)(Ov, { ...r }),+ i ? /* @__PURE__ */ (0, S.jsx)("h2", {+ className: "configgroup",+ children: "网络与访问"+ }) : null,+ i ? /* @__PURE__ */ (0, S.jsx)(Fv, { ...r }) : null,+ /* @__PURE__ */ (0, S.jsx)("h2", {+ className: "configgroup",+ children: "更新与维护"+ }),+ /* @__PURE__ */ (0, S.jsx)(lv, { ...r })+ ]+ });+}+//#endregion//#region src/react/entry.tsx-var sv = null;-function cv() {- return sv?.isConnected || (sv = document.createElement("div"), sv.className = "peach-react", sv.dataset.reactOverlays = "", document.body.append(sv)), sv;+var Rv = null;+function zv() {+ return Rv?.isConnected || (Rv = document.createElement("div"), Rv.className = "peach-react", Rv.dataset.reactOverlays = "", document.body.append(Rv)), Rv;}-function lv(e) {+function Bv(e) {return (t, n) => {let r = (0, fu.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, S.jsx)(T, {- client: vf,- children: /* @__PURE__ */ (0, S.jsx)(uc, {- getContainer: cv,+ client: yf,+ children: /* @__PURE__ */ (0, S.jsx)(lc, {+ getContainer: zv,children: /* @__PURE__ */ (0, S.jsx)(e, { ...t })})}));- return i(n), {+ return (0, Kr.flushSync)(() => i(n)), {update: i,unmount: () => r.unmount()};};}-var uv = {+var Vv = {activity: {- prefetch: (e, t) => Tf(t),- mount: lv(Bf)+ prefetch: (e, t) => Ef(t),+ mount: Bv($)+ },+ "avatar-picker": {+ prefetch: async () => {},+ mount: Bv(fg)+ },+ configuration: {+ prefetch: (e, t) => G_(t),+ mount: Bv(Lv)},"library-processing": {- prefetch: (e, t) => Uf(t),- mount: lv((e) => e.mode === "notice" ? /* @__PURE__ */ (0, S.jsx)(Og, { ...e }) : /* @__PURE__ */ (0, S.jsx)(Tg, { ...e }))+ prefetch: (e, t) => _g(t),+ mount: Bv((e) => e.mode === "notice" ? /* @__PURE__ */ (0, S.jsx)(u_, { ...e }) : /* @__PURE__ */ (0, S.jsx)(s_, { ...e }))},"quality-goals": {- prefetch: (e, t) => Mg(t),- mount: lv(Fg)+ prefetch: (e, t) => m_(t),+ mount: Bv(__)},scraping: {- prefetch: (e, t) => i_(t),- mount: lv(d_)+ prefetch: (e, t) => N_(t),+ mount: Bv(B_)}-}, dv = lv(h_), fv = lv(Q_), pv = lv(av), mv = lv(k_);+};//#endregion-export { dv as mountGeneralSettings, mv as mountMaintenanceSettings, fv as mountMediaSettings, pv as mountNetworkSettings, uv as pages };+export { Vv as pages };diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.jsindex a9a1f8973..8e537fc70 100644--- a/web/dist/peach-ui.js+++ b/web/dist/peach-ui.js@@ -1,262 +1,12 @@-import { MEDIA_SOURCE_ICONS as e, attachOverlayScrollbar as t, checkboxHtml as n, emptyStateHtml as r, loadingDotsHtml as i, moveGlidePane as a, noteHtml as o, selectFieldHtml as s, selectOptionIconHtml as c, setActionBusy as l, wireCollapse as u, wireSelectField as d } from "/js/ui-components.js";-import { esc as f, icon as p, requestErrorMessage as m } from "/js/core.js";-//#region node_modules/preact/dist/preact.module.js-var h, g, _, v, y, b, x, S, C, w, T, E, D, O, k = {}, A = [], j = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, M = Array.isArray;-function N(e, t) {- for (var n in t) e[n] = t[n];- return e;-}-function P(e) {- e && e.parentNode && e.parentNode.removeChild(e);-}-function F(e, t, n) {- var r, i, a, o = {};- for (a in t) a == "key" ? r = t[a] : a == "ref" ? i = t[a] : o[a] = t[a];- if (arguments.length > 2 && (o.children = arguments.length > 3 ? h.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (a in e.defaultProps) o[a] === void 0 && (o[a] = e.defaultProps[a]);- return I(e, o, r, i, null);-}-function I(e, t, n, r, i) {- var a = {- type: e,- props: t,- key: n,- ref: r,- __k: null,- __: null,- __b: 0,- __e: null,- __c: null,- constructor: void 0,- __v: i ?? ++_,- __i: -1,- __u: 0- };- return i == null && g.vnode != null && g.vnode(a), a;-}-function L(e) {- return e.children;-}-function R(e, t) {- this.props = e, this.context = t;-}-function z(e, t) {- if (t == null) return e.__ ? z(e.__, e.__i + 1) : null;- for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;- return typeof e.type == "function" ? z(e) : null;-}-function ee(e) {- if (e.__P && e.__d) {- var t = e.__v, n = t.__e, r = [], i = [], a = N({}, t);- a.__v = t.__v + 1, g.vnode && g.vnode(a), de(e.__P, a, t, e.__n, e.__P.namespaceURI, 32 & t.__u ? [n] : null, r, n ?? z(t), !!(32 & t.__u), i), a.__v = t.__v, a.__.__k[a.__i] = a, pe(r, a, i), t.__e = t.__ = null, a.__e != n && te(a);- }-}-function te(e) {- if ((e = e.__) != null && e.__c != null) return e.__e = e.__c.base = null, e.__k.some(function(t) {- if (t != null && t.__e != null) return e.__e = e.__c.base = t.__e;- }), te(e);-}-function ne(e) {- (!e.__d && (e.__d = !0) && v.push(e) && !re.__r++ || y != g.debounceRendering) && ((y = g.debounceRendering) || b)(re);-}-function re() {- try {- for (var e, t = 1; v.length;) v.length > t && v.sort(x), e = v.shift(), t = v.length, ee(e);- } finally {- v.length = re.__r = 0;- }-}-function ie(e, t, n, r, i, a, o, s, c, l, u) {- var d, f, p, m, h, g, _ = r && r.__k || A, v = t.length;- for (c = ae(n, t, _, c, v), d = 0; d < v; d++) (p = n.__k[d]) != null && (f = p.__i != -1 && _[p.__i] || k, p.__i = d, g = de(e, p, f, i, a, o, s, c, l, u), m = p.__e, p.ref && f.ref != p.ref && (f.ref && ge(f.ref, null, p), u.push(p.ref, p.__c || m, p)), h == null && m != null && (h = m), 4 & p.__u ? (c = oe(p, c, e), f.__e && (f.__e = null)) : typeof p.type == "function" && g !== void 0 ? c = g : m && (c = m.nextSibling), p.__u &= -7);- return n.__e = h, c;-}-function ae(e, t, n, r, i) {- var a, o, s, c, l, u = n.length, d = u, f = 0;- for (e.__k = Array(i), a = 0; a < i; a++) (o = t[a]) != null && typeof o != "boolean" && typeof o != "function" ? (typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? o = e.__k[a] = I(null, o, null, null, null) : M(o) ? o = e.__k[a] = I(L, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? o = e.__k[a] = I(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : e.__k[a] = o, c = a + f, o.__ = e, o.__b = e.__b + 1, s = null, (l = o.__i = se(o, n, c, d)) != -1 && (d--, (s = n[l]) && (s.__u |= 2)), s == null || s.__v == null ? (l == -1 && (i > u ? f-- : i < u && f++), typeof o.type != "function" && (o.__u |= 4)) : l != c && (l == c - 1 ? f-- : l == c + 1 ? f++ : (l > c ? f-- : f++, o.__u |= 4))) : e.__k[a] = null;- if (d) for (a = 0; a < u; a++) (s = n[a]) != null && !(2 & s.__u) && (s.__e == r && (r = z(s)), _e(s, s));- return r;-}-function oe(e, t, n) {- var r, i;- if (typeof e.type == "function") {- for (r = e.__k, i = 0; r && i < r.length; i++) r[i] && (r[i].__ = e, t = oe(r[i], t, n));- return t;- }- e.__e != t && (t && e.type && !t.parentNode && (t = z(e)), t = n.insertBefore(e.__e, t || null));- do- t &&= t.nextSibling;- while (t != null && t.nodeType == 8);- return t;-}-function se(e, t, n, r) {- var i, a, o, s = e.key, c = e.type, l = t[n], u = l != null && !(2 & l.__u);- if (l === null && s == null || u && s == l.key && c == l.type) return n;- if (r > +!!u) {- for (i = n - 1, a = n + 1; i >= 0 || a < t.length;) if ((l = t[o = i >= 0 ? i-- : a++]) != null && !(2 & l.__u) && s == l.key && c == l.type) return o;- }- return -1;-}-function ce(e, t, n) {- t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || j.test(t) ? n : n + "px";-}-function le(e, t, n, r, i) {- var a, o;- n: if (t == "style") {- if (typeof n == "string") e.style.cssText = n;- else {- if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || ce(e.style, t, "");- if (n) for (t in n) r && n[t] == r[t] || ce(e.style, t, n[t]);- }- } else if (t[0] == "o" && t[1] == "n") a = t != (t = t.replace(T, "$1")), o = t.toLowerCase(), t = o in e || t == "onFocusOut" || t == "onFocusIn" ? o.slice(2) : t.slice(2), e.l ||= {}, e.l[t + a] = n, n ? r ? n[w] = r[w] : (n[w] = E, e.addEventListener(t, a ? O : D, a)) : e.removeEventListener(t, a ? O : D, a);- else {- if (i == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");- else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {- e[t] = n ?? "";- break n;- } catch {}- typeof n == "function" || (n == null || !1 === n && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));- }-}-function ue(e) {- return function(t) {- if (this.l) {- var n = this.l[t.type + e];- if (t[C] == null) t[C] = E++;- else if (t[C] < n[w]) return;- return n(g.event ? g.event(t) : t);- }- };-}-function de(e, t, n, r, i, a, o, s, c, l) {- var u, d, f, p, m, h, _, v, y, b, x, S, C, w, T, E, D = t.type;- if (t.constructor !== void 0) return null;- 128 & n.__u && (c = !!(32 & n.__u), a = [s = t.__e = n.__e]), (u = g.__b) && u(t);- n: if (typeof D == "function") {- d = o.length;- try {- if (y = t.props, b = D.prototype && D.prototype.render, x = (u = D.contextType) && r[u.__c], S = u ? x ? x.props.value : u.__ : r, n.__c ? v = (f = t.__c = n.__c).__ = f.__E : (b ? t.__c = f = new D(y, S) : (t.__c = f = new R(y, S), f.constructor = D, f.render = ve), x && x.sub(f), f.state || (f.state = {}), f.__n = r, p = f.__d = !0, f.__h = [], f._sb = []), b && f.__s == null && (f.__s = f.state), b && D.getDerivedStateFromProps != null && (f.__s == f.state && (f.__s = N({}, f.__s)), N(f.__s, D.getDerivedStateFromProps(y, f.__s))), m = f.props, h = f.state, f.__v = t, p) b && D.getDerivedStateFromProps == null && f.componentWillMount != null && f.componentWillMount(), b && f.componentDidMount != null && f.__h.push(f.componentDidMount);- else {- if (b && D.getDerivedStateFromProps == null && y !== m && f.componentWillReceiveProps != null && f.componentWillReceiveProps(y, S), t.__v == n.__v || !f.__e && f.shouldComponentUpdate != null && !1 === f.shouldComponentUpdate(y, f.__s, S)) {- t.__v != n.__v && (f.props = y, f.state = f.__s, f.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(e) {- e && (e.__ = t);- }), A.push.apply(f.__h, f._sb), f._sb = [], f.__h.length && o.push(f), s = z(n);- break n;- }- f.componentWillUpdate != null && f.componentWillUpdate(y, f.__s, S), b && f.componentDidUpdate != null && f.__h.push(function() {- f.componentDidUpdate(m, h, _);- });- }- if (f.context = S, f.props = y, f.__P = e, f.__e = !1, C = g.__r, w = 0, b) f.state = f.__s, f.__d = !1, C && C(t), u = f.render(f.props, f.state, f.context), A.push.apply(f.__h, f._sb), f._sb = [];- else do- f.__d = !1, C && C(t), u = f.render(f.props, f.state, f.context), f.state = f.__s;- while (f.__d && ++w < 25);- f.state = f.__s, f.getChildContext != null && (r = N(N({}, r), f.getChildContext())), b && !p && f.getSnapshotBeforeUpdate != null && (_ = f.getSnapshotBeforeUpdate(m, h)), T = u != null && u.type === L && u.key == null ? me(u.props.children) : u, s = ie(e, M(T) ? T : [T], t, n, r, i, a, o, s, c, l), f.base = t.__e, t.__u &= -161, f.__h.length && o.push(f), v && (f.__E = f.__ = null);- } catch (e) {- if (o.length = d, t.__v = null, c || a != null) {- if (e.then) {- for (t.__u |= c ? 160 : 128; s && s.nodeType == 8 && s.nextSibling;) s = s.nextSibling;- a != null && (a[a.indexOf(s)] = null), t.__e = s;- } else if (a != null) for (E = a.length; E--;) P(a[E]);- } else t.__e = n.__e;- t.__k ??= n.__k || [], e.then || fe(t), g.__e(e, t, n);- }- } else a == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : s = t.__e = he(n.__e, t, n, r, i, a, o, c, l);- return (u = g.diffed) && u(t), 128 & t.__u ? void 0 : s;-}-function fe(e) {- e && (e.__c && (e.__c.__e = !0), e.__k && e.__k.some(fe));-}-function pe(e, t, n) {- for (var r = 0; r < n.length; r++) ge(n[r], n[++r], n[++r]);- g.__c && g.__c(t, e), e.some(function(t) {- try {- e = t.__h, t.__h = [], e.some(function(e) {- e.call(t);- });- } catch (e) {- g.__e(e, t.__v);- }- });-}-function me(e) {- return typeof e != "object" || !e || e.__b > 0 ? e : M(e) ? e.map(me) : e.constructor === void 0 ? N({}, e) : null;-}-function he(e, t, n, r, i, a, o, s, c) {- var l, u, d, f, p, m, _, v = n.props || k, y = t.props, b = t.type;- if (b == "svg" ? i = "http://www.w3.org/2000/svg" : b == "math" ? i = "http://www.w3.org/1998/Math/MathML" : i ||= "http://www.w3.org/1999/xhtml", a != null) {- for (l = 0; l < a.length; l++) if ((p = a[l]) && "setAttribute" in p == !!b && (b ? p.localName == b : p.nodeType == 3)) {- e = p, a[l] = null;- break;- }- }- if (e == null) {- if (b == null) return document.createTextNode(y);- e = document.createElementNS(i, b, y.is && y), s &&= (g.__m && g.__m(t, a), !1), a = null;- }- if (b == null) v === y || s && e.data == y || (e.data = y);- else {- if (a = b == "textarea" && y.defaultValue != null ? null : a && h.call(e.childNodes), !s && a != null) for (v = {}, l = 0; l < e.attributes.length; l++) v[(p = e.attributes[l]).name] = p.value;- for (l in v) p = v[l], l == "dangerouslySetInnerHTML" ? d = p : l == "children" || l in y || l == "value" && "defaultValue" in y || l == "checked" && "defaultChecked" in y || le(e, l, null, p, i);- for (l in y) p = y[l], l == "children" ? f = p : l == "dangerouslySetInnerHTML" ? u = p : l == "value" ? m = p : l == "checked" ? _ = p : s && typeof p != "function" || v[l] === p || le(e, l, p, v[l], i);- if (u) s || d && (u.__html == d.__html || u.__html == e.innerHTML) || (e.innerHTML = u.__html), t.__k = [];- else if (d && (e.innerHTML = ""), ie(t.type == "template" ? e.content : e, M(f) ? f : [f], t, n, r, b == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, a, o, a ? a[0] : n.__k && z(n, 0), s, c), a != null) for (l = a.length; l--;) P(a[l]);- s && b != "textarea" || (l = "value", b == "progress" && m == null ? e.removeAttribute("value") : m != null && (m !== e[l] || b == "progress" && !m || b == "option" && m != v[l]) && le(e, l, m, v[l], i), l = "checked", _ != null && _ != e[l] && le(e, l, _, v[l], i));- }- return e;-}-function ge(e, t, n) {- try {- if (typeof e == "function") {- var r = typeof e.__u == "function";- r && e.__u(), r && t == null || (e.__u = e(t));- } else e.current = t;- } catch (e) {- g.__e(e, n);- }-}-function _e(e, t, n) {- var r, i;- if (g.unmount && g.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || ge(r, null, t)), (r = e.__c) != null) {- if (r.componentWillUnmount) try {- r.componentWillUnmount();- } catch (e) {- g.__e(e, t);- }- r.base = r.__P = r.__n = null;- }- if (r = e.__k) for (i = 0; i < r.length; i++) r[i] && _e(r[i], t, n || typeof e.type != "function");- n || P(e.__e), e.__c = e.__ = e.__e = void 0;-}-function ve(e, t, n) {- return this.constructor(e, n);-}-function ye(e, t, n) {- var r, i, a, o;- t == document && (t = document.documentElement), g.__ && g.__(e, t), i = (r = typeof n == "function") ? null : n && n.__k || t.__k, a = [], o = [], de(t, e = (!r && n || t).__k = F(L, null, [e]), i || k, k, t.namespaceURI, !r && n ? [n] : i ? null : t.firstChild ? h.call(t.childNodes) : null, a, !r && n ? n : i ? i.__e : t.firstChild, r, o), pe(a, e, o), e.props.children = null;-}-h = A.slice, g = { __e: function(e, t, n, r) {- for (var i, a, o; t = t.__;) if ((i = t.__c) && !i.__) try {- if ((a = i.constructor) && a.getDerivedStateFromError != null && (i.setState(a.getDerivedStateFromError(e)), o = i.__d), i.componentDidCatch != null && (i.componentDidCatch(e, r || {}), o = i.__d), o) return i.__E = i;- } catch (t) {- e = t;- }- throw e;-} }, _ = 0, R.prototype.setState = function(e, t) {- var n = this.__s != null && this.__s != this.state ? this.__s : this.__s = N({}, this.state);- typeof e == "function" && (e = e(N({}, n), this.props)), e && N(n, e), e != null && this.__v && (t && this._sb.push(t), ne(this));-}, R.prototype.forceUpdate = function(e) {- this.__v && (this.__e = !0, e && this.__h.push(e), ne(this));-}, R.prototype.render = L, v = [], b = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, x = function(e, t) {- return e.__v.__b - t.__v.__b;-}, re.__r = 0, S = Math.random().toString(8), C = "__d" + S, w = "__a" + S, T = /(PointerCapture)$|Capture$/i, E = 0, D = ue(!1), O = ue(!0);-//#endregion+import { MEDIA_SOURCE_ICONS as e, checkboxHtml as t, emptyStateHtml as n, loadingDotsHtml as r, moveGlidePane as i, noteHtml as a, selectFieldHtml as o, selectOptionIconHtml as s, setActionBusy as c, wireCollapse as l, wireSelectField as u } from "/js/ui-components.js";+import { esc as d, icon as f, requestErrorMessage as p } from "/js/core.js";//#region src/sort-preferences.ts-function be(e, t, n) {+function m(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}//#endregion//#region src/number-setting.ts-var xe = {+var h = {loginDaysSetting: {min: 1,max: 365,@@ -304,82 +54,82 @@ var xe = {fallback: 60}};-function Se(e, t, n, r) {+function g(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}-function Ce(e, t, n) {+function _(e, t, n) {let r = e.querySelector("input[type=number]"), i = e.querySelector("[role=switch]"), a = e.querySelector(".board-number-fields");r && (r.disabled = n, t !== null && t > 0 && (r.value = String(t))), i && (i.disabled = n, t !== null && (i.checked = t > 0)), a && t !== null && (a.hidden = t === 0);}-function we(e, t, n, r, i) {- let a = xe[t];+function v(e, t, n, r, i) {+ let a = h[t];if (!a) return !1;- let { min: o, max: s, unit: c, optional: l, fallback: u } = a, d = `peach.number.${t}`, f = Se(Number(localStorage.getItem(d)), o, s, r > 0 ? r : u), p = document.createElement("div");+ let { min: o, max: s, unit: c, optional: l, fallback: u } = a, d = `peach.number.${t}`, f = g(Number(localStorage.getItem(d)), o, s, r > 0 ? r : u), p = document.createElement("div");p.className = "board-optional-number";let m = document.createElement("div");m.className = "board-number-fields", m.hidden = !!l && r === 0;- let h = document.createElement("div");- h.className = "board-number-control";- let g = document.createElement("input");- g.type = "number", g.className = "geist-input", g.min = String(o), g.max = String(s), g.step = "1", g.value = String(r > 0 ? r : f), g.setAttribute("aria-label", n);- let _ = document.createElement("span");- _.textContent = c, _.setAttribute("aria-hidden", "true");- let v = document.createElement("small");- v.id = `${t}-error`, v.className = "board-number-error", v.setAttribute("role", "status"), v.hidden = !0, g.setAttribute("aria-describedby", v.id), h.append(g, _), m.append(h, v), p.append(m), e.replaceChildren(p);- let y = () => {- g.removeAttribute("aria-invalid"), v.hidden = !0, v.textContent = "";- }, b = () => {- if (!g.value || !g.checkValidity()) {- g.setAttribute("aria-invalid", "true"), v.textContent = `请输入 ${o}–${s} 的整数(${c})`, v.hidden = !1;+ let _ = document.createElement("div");+ _.className = "board-number-control";+ let v = document.createElement("input");+ v.type = "number", v.className = "geist-input", v.min = String(o), v.max = String(s), v.step = "1", v.value = String(r > 0 ? r : f), v.setAttribute("aria-label", n);+ let y = document.createElement("span");+ y.textContent = c, y.setAttribute("aria-hidden", "true");+ let b = document.createElement("small");+ b.id = `${t}-error`, b.className = "board-number-error", b.setAttribute("role", "status"), b.hidden = !0, v.setAttribute("aria-describedby", b.id), _.append(v, y), m.append(_, b), p.append(m), e.replaceChildren(p);+ let x = () => {+ v.removeAttribute("aria-invalid"), b.hidden = !0, b.textContent = "";+ }, S = () => {+ if (!v.value || !v.checkValidity()) {+ v.setAttribute("aria-invalid", "true"), b.textContent = `请输入 ${o}–${s} 的整数(${c})`, b.hidden = !1;return;}- y(), f = Number(g.value), localStorage.setItem(d, String(f)), i(g.value);+ x(), f = Number(v.value), localStorage.setItem(d, String(f)), i(v.value);};- if (g.addEventListener("change", b), g.addEventListener("keydown", (e) => {- e.key === "Enter" && (e.preventDefault(), b());- }), g.addEventListener("input", () => {- g.value && g.checkValidity() && y();+ if (v.addEventListener("change", S), v.addEventListener("keydown", (e) => {+ e.key === "Enter" && (e.preventDefault(), S());+ }), v.addEventListener("input", () => {+ v.value && v.checkValidity() && x();}), l) {let e = document.createElement("input");e.type = "checkbox", e.className = "ptoggle", e.setAttribute("role", "switch"), e.setAttribute("aria-label", `启用${n}`), e.checked = r > 0, e.onchange = () => {- y(), m.hidden = !e.checked, e.checked ? (g.value = String(f), b()) : (g.value && g.checkValidity() && (f = Number(g.value)), localStorage.setItem(d, String(f)), i("0"));+ x(), m.hidden = !e.checked, e.checked ? (v.value = String(f), S()) : (v.value && v.checkValidity() && (f = Number(v.value)), localStorage.setItem(d, String(f)), i("0"));}, p.prepend(e);}return !0;}//#endregion//#region src/board-metrics.ts-var B = (e) => String(e ?? "").replace(/[&<>"']/g, (e) => ({+var y = (e) => String(e ?? "").replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function Te(e, t, n, r = "chart-no-axes-combined") {- return `<span class="board-stat-label"><span class="board-stat-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><use href="#i-${/^[a-z0-9-]+$/.test(r) ? r : "database"}"/></svg></span>${B(e)}</span><b class="board-stat-value">${B(t)}</b><small class="board-stat-footer">${B(n || "当前记录")}</small>`;+function b(e, t, n, r = "chart-no-axes-combined") {+ return `<span class="board-stat-label"><span class="board-stat-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><use href="#i-${/^[a-z0-9-]+$/.test(r) ? r : "database"}"/></svg></span>${y(e)}</span><b class="board-stat-value">${y(t)}</b><small class="board-stat-footer">${y(n || "当前记录")}</small>`;}-function Ee(e, t, n) {+function x(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;- return `<div class="board-job-progress" role="progressbar" aria-label="${B(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="board-job-track" cx="18" cy="18" r="15"/><circle class="board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${B(e)}<small>${Math.round(i)}%</small></span></div>`;+ return `<div class="board-job-progress" role="progressbar" aria-label="${y(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="board-job-track" cx="18" cy="18" r="15"/><circle class="board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${y(e)}<small>${Math.round(i)}%</small></span></div>`;}-function De(e, t) {+function S(e, t) {let n = e.filter((e) => Number.isFinite(e.score) && e.score > 0), r = n.reduce((e, t) => e + t.score, 0);if (!r) return "";let i = 0, a = n.map((e, t) => {- let n = e.score / r * 100, a = `<circle cx="100" cy="100" r="72" pathLength="100" fill="none" stroke="var(--chart-${t % 4})" stroke-width="22" stroke-dasharray="${n} ${100 - n}" stroke-dashoffset="${-i}"><title>${B(e.name)}:${e.score.toLocaleString()}</title></circle>`;+ let n = e.score / r * 100, a = `<circle cx="100" cy="100" r="72" pathLength="100" fill="none" stroke="var(--chart-${t % 4})" stroke-width="22" stroke-dasharray="${n} ${100 - n}" stroke-dashoffset="${-i}"><title>${y(e.name)}:${e.score.toLocaleString()}</title></circle>`;return i += n, a;}).join("");- return `<svg class="board-distribution" viewBox="0 0 200 200" role="img" aria-label="${B(t)}"><g transform="rotate(-90 100 100)">${a}</g><text x="100" y="100" text-anchor="middle" dominant-baseline="middle">${B(t)}</text></svg>`;+ return `<svg class="board-distribution" viewBox="0 0 200 200" role="img" aria-label="${y(t)}"><g transform="rotate(-90 100 100)">${a}</g><text x="100" y="100" text-anchor="middle" dominant-baseline="middle">${y(t)}</text></svg>`;}-function Oe(e, t) {+function C(e, t) {let n = e.filter((e) => Number.isFinite(e.score) && e.score > 0).slice().sort((e, t) => t.score - e.score).slice(0, 8);if (!n.length) return "";- let r = n[0].score, i = n.map((e) => `<li><span class="board-rank-fill" style="width:${(e.score / r * 100).toFixed(2)}%"></span><span>${B(e.name)}</span><b>${e.score.toLocaleString()}</b></li>`).join("");- return `<ol class="board-ranked-chart" aria-label="${B(t)}">${i}</ol>`;+ let r = n[0].score, i = n.map((e) => `<li><span class="board-rank-fill" style="width:${(e.score / r * 100).toFixed(2)}%"></span><span>${y(e.name)}</span><b>${e.score.toLocaleString()}</b></li>`).join("");+ return `<ol class="board-ranked-chart" aria-label="${y(t)}">${i}</ol>`;}-function ke(e, t) {+function w(e, t) {let n = e.filter((e) => Number.isFinite(e.score) && e.score > 0).slice().sort((e, t) => t.score - e.score).slice(0, 6);if (n.length < 3) return "";let r = Math.max(...n.map((e) => e.score)), i = n.length, a = (e, t) => {@@ -392,13 +142,13 @@ function ke(e, t) {100].map((e) => `<polygon points="${o(() => e)}" class="board-radar-grid"/>`).join(""), c = n.map((e, t) => {let [n, r] = a(t, 116);- return `<text x="${n}" y="${r}" text-anchor="${n < 145 ? "end" : n > 175 ? "start" : "middle"}">${B(e.name)}</text>`;+ return `<text x="${n}" y="${r}" text-anchor="${n < 145 ? "end" : n > 175 ? "start" : "middle"}">${y(e.name)}</text>`;}).join("");- return `<svg class="board-radar" viewBox="0 0 320 280" role="img" aria-label="${B(t)}"><title>${B(n.map((e) => `${e.name} ${e.score}`).join(","))}</title>${s}<polygon points="${o((e) => n[e].score / r * 100)}" class="board-radar-value"/>${c}</svg>`;+ return `<svg class="board-radar" viewBox="0 0 320 280" role="img" aria-label="${y(t)}"><title>${y(n.map((e) => `${e.name} ${e.score}`).join(","))}</title>${s}<polygon points="${o((e) => n[e].score / r * 100)}" class="board-radar-value"/>${c}</svg>`;}//#endregion//#region src/board-controls.ts-function Ae(e) {+function T(e) {let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;e.style.setProperty("--board-range-value", `${i}%`);let a = e.closest(".dual-range");@@ -408,17 +158,17 @@ function Ae(e) {let c = a.getBoundingClientRect(), l = s.getBoundingClientRect(), u = l.right > c.right ? c.right - l.right : l.left < c.left ? c.left - l.left : 0;u && s.style.setProperty("--range-tip-shift", `${Math.round(u)}px`), a.querySelectorAll(".board-range-tip").forEach((e) => e.toggleAttribute("data-range-active", e === s));}-function je() {+function E() {let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(Ae), Fe(e), Ne(e), Ie(e);+ e.querySelectorAll("input[type=range]").forEach(T), A(e), O(e), j(e);};e(document), new MutationObserver((t) => {- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && Ae(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && T(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && Ae(e.target);+ e.target instanceof HTMLInputElement && e.target.type === "range" && T(e.target);});let t = document.createElement("div");t.className = "board-tooltip", t.id = "board-control-tooltip", t.role = "tooltip", t.hidden = !0, document.body.append(t);@@ -439,8 +189,8 @@ function je() {e.key === "Escape" && o();}), document.addEventListener("scroll", o, !0), window.addEventListener("resize", o);}-var Me = /* @__PURE__ */ new Map();-function Ne(e) {+var D = /* @__PURE__ */ new Map();+function O(e) {let t = ".managebar-menu,.board-local-nav:not(.settingscard>.board-local-nav)", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-tabs")) return;@@ -454,8 +204,8 @@ function Ne(e) {left: r.offsetLeft,width: r.offsetWidth};- n(i), Me.set(t, i);- }, i = Me.get(t);+ n(i), D.set(t, i);+ }, i = D.get(t);i ? n(i) : r(), requestAnimationFrame(() => {e.classList.add("board-tabs-ready"), requestAnimationFrame(r);});@@ -475,27 +225,27 @@ function Ne(e) {o.observe(e);});}-var Pe = /* @__PURE__ */ new Map();-function Fe(e) {+var k = /* @__PURE__ */ new Map();+function A(e) {let t = ".iconswitch,.insightswitch,.insighttabs,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;e.dataset.boardSegments = "true";let t = document.createElement("span");t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = Pe.get(n) ?? null, i = () => {- let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");- if (!i || !i.offsetWidth) return;+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = k.get(n) ?? null, a = () => {+ let a = e.querySelector("label:has(input:checked),button[aria-selected=true]");+ if (!a || !a.offsetWidth) return;let o = {- x: i.offsetLeft,- y: i.offsetTop,- w: i.offsetWidth,- h: i.offsetHeight+ x: a.offsetLeft,+ y: a.offsetTop,+ w: a.offsetWidth,+ h: a.offsetHeight};- a(t, r, o, "x"), r = o, Pe.set(n, o);+ i(t, r, o, "x"), r = o, k.set(n, o);};- e.addEventListener("change", i);- let o = new MutationObserver(i);+ e.addEventListener("change", a);+ let o = new MutationObserver(a);o.observe(e, {subtree: !0,attributes: !0,@@ -506,12 +256,12 @@ function Fe(e) {s.disconnect(), o.disconnect();return;}- i();+ a();});- s.observe(e), i(), requestAnimationFrame(() => e.classList.add("board-segments-ready"));+ s.observe(e), a(), requestAnimationFrame(() => e.classList.add("board-segments-ready"));});}-function Ie(e) {+function j(e) {let t = ".board-ranked-chart,.board-radar,.tasteranks,.board-heat-card,.board-sankey-card", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-chart")) return;@@ -529,7 +279,7 @@ function Ie(e) {n.observe(e);});}-function Le(e) {+function M(e) {e.querySelectorAll(".tasteranks,.insightranking").forEach((e, t) => {if (e.children.length <= 5 || e.parentElement?.hasAttribute("data-expandable-ranks")) return;let n = document.createElement("div");@@ -561,7 +311,7 @@ function Le(e) {}//#endregion//#region node_modules/d3-array/src/max.js-function Re(e, t) {+function N(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);else {@@ -572,7 +322,7 @@ function Re(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function ze(e, t) {+function P(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);else {@@ -583,7 +333,7 @@ function ze(e, t) {}//#endregion//#region node_modules/d3-array/src/sum.js-function Be(e, t) {+function F(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -594,66 +344,66 @@ function Be(e, t) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function Ve(e, t) {+function I(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion//#region node_modules/d3-sankey/src/constant.js-function He(e) {+function L(e) {return function() {return e;};}//#endregion//#region node_modules/d3-sankey/src/sankey.js-function Ue(e, t) {- return Ge(e.source, t.source) || e.index - t.index;+function R(e, t) {+ return z(e.source, t.source) || e.index - t.index;}-function We(e, t) {- return Ge(e.target, t.target) || e.index - t.index;+function ee(e, t) {+ return z(e.target, t.target) || e.index - t.index;}-function Ge(e, t) {+function z(e, t) {return e.y0 - t.y0;}-function Ke(e) {+function B(e) {return e.value;}-function qe(e) {+function te(e) {return e.index;}-function Je(e) {+function ne(e) {return e.nodes;}-function Ye(e) {+function re(e) {return e.links;}-function Xe(e, t) {+function ie(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function Ze({ nodes: e }) {+function ae({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function Qe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = qe, c = Ve, l, u, d = Je, f = Ye, p = 6;+function oe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = te, c = I, l, u, d = ne, f = re, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), Ze(e), e;+ return h(e), g(e), _(e), v(e), x(e), ae(e), e;}m.update = function(e) {- return Ze(e), e;+ return ae(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : He(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : L(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : He(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : L(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -661,9 +411,9 @@ function Qe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : He(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : L(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : He(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : L(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -679,12 +429,12 @@ function Qe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = Xe(n, t)), typeof i != "object" && (i = r.target = Xe(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = ie(n, t)), typeof i != "object" && (i = r.target = ie(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(Be(t.sourceLinks, Ke), Be(t.targetLinks, Ke)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(F(t.sourceLinks, B), F(t.targetLinks, B)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -709,7 +459,7 @@ function Qe() {}}function y({ nodes: t }) {- let r = Re(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = N(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);for (let n of t) {let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];@@ -718,7 +468,7 @@ function Qe() {return o;}function b(e) {- let n = ze(e, (e) => (r - t - (e.length - 1) * o) / Be(e, Ke));+ let n = P(e, (e) => (r - t - (e.length - 1) * o) / F(e, B));for (let i of e) {let e = t;for (let t of i) {@@ -735,7 +485,7 @@ function Qe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (Re(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (N(n, (e) => e.length) - 1)), b(n);for (let e = 0; e < p; ++e) {let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);C(n, t, r), S(n, t, r);@@ -754,7 +504,7 @@ function Qe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(Ge), w(i, n);+ l === void 0 && i.sort(z), w(i, n);}}function C(e, t, n) {@@ -770,7 +520,7 @@ function Qe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(Ge), w(i, n);+ l === void 0 && i.sort(z), w(i, n);}}function w(e, n) {@@ -791,12 +541,12 @@ function Qe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(We);- for (let { target: { targetLinks: t } } of e) t.sort(Ue);+ for (let { source: { sourceLinks: e } } of t) e.sort(ee);+ for (let { target: { targetLinks: t } } of e) t.sort(R);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(We), n.sort(Ue);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(ee), n.sort(R);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -826,15 +576,15 @@ function Qe() {}//#endregion//#region node_modules/d3-path/src/path.js-var $e = Math.PI, et = 2 * $e, V = 1e-6, tt = et - V;-function nt() {+var se = Math.PI, ce = 2 * se, V = 1e-6, le = ce - V;+function ue() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function rt() {- return new nt();+function de() {+ return new ue();}-nt.prototype = rt.prototype = {- constructor: nt,+ue.prototype = de.prototype = {+ constructor: ue,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -858,7 +608,7 @@ nt.prototype = rt.prototype = {else if (d > V) {if (!(Math.abs(u * s - c * l) > V) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan(($e - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((se - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;Math.abs(y - 1) > V && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}@@ -867,7 +617,7 @@ nt.prototype = rt.prototype = {e = +e, t = +t, n = +n, a = !!a;var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;if (n < 0) throw Error("negative radius: " + n);- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > V || Math.abs(this._y1 - l) > V) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % et + et), d > tt ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > V && (this._ += "A" + n + "," + n + ",0," + +(d >= $e) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > V || Math.abs(this._y1 - l) > V) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % ce + ce), d > le ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > V && (this._ += "A" + n + "," + n + ",0," + +(d >= se) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));},rect: function(e, t, n, r) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";@@ -878,71 +628,71 @@ nt.prototype = rt.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function it(e) {+function fe(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function at(e) {+function pe(e) {return e[0];}-function ot(e) {+function me(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var st = Array.prototype.slice;+var he = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function ct(e) {+function ge(e) {return e.source;}-function lt(e) {+function _e(e) {return e.target;}-function ut(e) {- var t = ct, n = lt, r = at, i = ot, a = null;+function ve(e) {+ var t = ge, n = _e, r = pe, i = me, a = null;function o() {- var o, s = st.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = rt(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = he.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = de(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : it(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : fe(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : it(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : fe(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function dt(e, t, n, r, i) {+function ye(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function ft() {- return ut(dt);+function be() {+ return ve(ye);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function pt(e) {+function xe(e) {return [e.source.x1, e.y0];}-function mt(e) {+function Se(e) {return [e.target.x0, e.y1];}-function ht() {- return ft().source(pt).target(mt);+function Ce() {+ return be().source(xe).target(Se);}//#endregion//#region src/board-sankey.ts-function gt(e = []) {+function we(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return "";- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = Qe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = oe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({nodes: [...n.map((e) => ({id: `source:${e}`,name: e,@@ -957,13 +707,13 @@ function gt(e = []) {target: `target:${e.target}`,value: e.value}))- }), a = t.reduce((e, t) => e + t.value, 0), o = ht(), s = i.links.map((e) => {+ }), a = t.reduce((e, t) => e + t.value, 0), o = Ce(), s = i.links.map((e) => {let t = e.source, r = e.target;- return `<path d="${o(e)}" stroke-width="${Math.max(.5, e.width || 0)}" style="--flow-color:var(--board-chart-${n.indexOf(t.name) % 6})" data-flow-source="${t.index}" data-flow-target="${r.index}" data-flow-value="${e.value}" data-flow-label="${f(t.name)} → ${f(r.name)}" tabindex="0" role="img" aria-label="${f(t.name)} → ${f(r.name)}:${e.value} 条线索"/>`;- }).join(""), c = i.nodes.map((e) => `<g data-flow-node="${e.index}" data-flow-value="${e.value}" data-flow-label="${f(e.name)}" tabindex="0" role="img" aria-label="${f(e.name)}:${e.value} 条线索"><rect x="${e.x0}" y="${e.y0}" width="10" height="${Math.max(1, (e.y1 || 0) - (e.y0 || 0))}" rx="5" fill="${e.side === "source" ? `var(--board-chart-${n.indexOf(e.name) % 6})` : "var(--color-text-secondary)"}"/><text x="${e.side === "source" ? 145 : 545}" y="${((e.y0 || 0) + (e.y1 || 0)) / 2}" text-anchor="${e.side === "source" ? "end" : "start"}" dominant-baseline="middle">${f(e.name.length > 18 ? e.name.slice(0, 16) + "…" : e.name)}<tspan x="${e.side === "source" ? 145 : 545}" dy="15">${e.side === "source" ? e.value?.toLocaleString() : ((e.value || 0) / a * 100).toFixed(1) + "%"}</tspan></text></g>`).join("");+ return `<path d="${o(e)}" stroke-width="${Math.max(.5, e.width || 0)}" style="--flow-color:var(--board-chart-${n.indexOf(t.name) % 6})" data-flow-source="${t.index}" data-flow-target="${r.index}" data-flow-value="${e.value}" data-flow-label="${d(t.name)} → ${d(r.name)}" tabindex="0" role="img" aria-label="${d(t.name)} → ${d(r.name)}:${e.value} 条线索"/>`;+ }).join(""), c = i.nodes.map((e) => `<g data-flow-node="${e.index}" data-flow-value="${e.value}" data-flow-label="${d(e.name)}" tabindex="0" role="img" aria-label="${d(e.name)}:${e.value} 条线索"><rect x="${e.x0}" y="${e.y0}" width="10" height="${Math.max(1, (e.y1 || 0) - (e.y0 || 0))}" rx="5" fill="${e.side === "source" ? `var(--board-chart-${n.indexOf(e.name) % 6})` : "var(--color-text-secondary)"}"/><text x="${e.side === "source" ? 145 : 545}" y="${((e.y0 || 0) + (e.y1 || 0)) / 2}" text-anchor="${e.side === "source" ? "end" : "start"}" dominant-baseline="middle">${d(e.name.length > 18 ? e.name.slice(0, 16) + "…" : e.name)}<tspan x="${e.side === "source" ? 145 : 545}" dy="15">${e.side === "source" ? e.value?.toLocaleString() : ((e.value || 0) / a * 100).toFixed(1) + "%"}</tspan></text></g>`).join("");return `<section class="board-sankey-card" data-sankey-card><header><h3>创作者线索来源</h3><b data-sankey-number>${a.toLocaleString()}</b><span data-sankey-label>条线索</span></header><div class="board-sankey-scroll"><svg viewBox="0 0 720 435" aria-label="来源网站与创作者线索"><g class="board-sankey-links">${s}</g><g class="board-sankey-nodes">${c}</g></svg></div><footer><span>来源网站</span><span>创作者 · 线索占比</span></footer></section>`;}-function _t(e) {+function Te(e) {e.querySelectorAll("[data-sankey-card]").forEach((e) => {let t = [...e.querySelectorAll("[data-flow-source]")], n = [...e.querySelectorAll("[data-flow-node]")], r = e.querySelector("[data-sankey-number]"), i = e.querySelector("[data-sankey-label]"), a = r.textContent, o = () => {t.forEach((e) => e.style.opacity = ""), n.forEach((e) => e.style.opacity = ""), r.textContent = a, i.textContent = "条线索";@@ -979,17 +729,17 @@ function _t(e) {}//#endregion//#region src/board-analytics.ts-var vt = (e) => Number.isFinite(e) && e >= 0;-function yt(e, t, n = "个视频") {- let r = e.filter((e) => vt(e.value));+var H = (e) => Number.isFinite(e) && e >= 0;+function Ee(e, t, n = "个视频") {+ let r = e.filter((e) => H(e.value));if (!r.length) return "";let i = r.reduce((e, t) => e + t.value, 0), a = Math.max(1, ...r.map((e) => e.value)) * 1.1, o = Math.min(22, 110 / Math.max(1, r.length)), s = Math.min(15, o * .68), c = r.map((e, t) => {let r = 32 + t * o, i = e.value / a * 100;- return `<g style="--ring-color:var(--board-chart-${t % 6});--ring-delay:${t * 60}ms"><circle class="board-ring-track" cx="160" cy="160" r="${r}" stroke-width="${s}"/><circle class="board-ring-value" data-radial-ring="${t}" tabindex="0" role="button" aria-label="${f(e.name)}:${e.value.toLocaleString()} ${f(n)}" aria-pressed="false" cx="160" cy="160" r="${r}" stroke-width="${s}" pathLength="100" stroke-dasharray="${i} ${100 - i}" style="--ring-length:${i}" transform="rotate(-90 160 160)"/></g>`;+ return `<g style="--ring-color:var(--board-chart-${t % 6});--ring-delay:${t * 60}ms"><circle class="board-ring-track" cx="160" cy="160" r="${r}" stroke-width="${s}"/><circle class="board-ring-value" data-radial-ring="${t}" tabindex="0" role="button" aria-label="${d(e.name)}:${e.value.toLocaleString()} ${d(n)}" aria-pressed="false" cx="160" cy="160" r="${r}" stroke-width="${s}" pathLength="100" stroke-dasharray="${i} ${100 - i}" style="--ring-length:${i}" transform="rotate(-90 160 160)"/></g>`;}).join("");- return `<section class="board-radial-card" data-radial-card data-radial-total="${i}" data-radial-title="${f(t)}"><header><span data-radial-label>${f(t)}</span><b data-radial-number>${i.toLocaleString()}</b><small>${f(n)}</small></header><svg class="board-rings" viewBox="0 0 320 320" aria-label="${f(t)}">${c}</svg><div class="board-radial-tiles">${r.map((e, t) => `<button type="button" data-radial-tile="${t}" data-radial-value="${e.value}" data-radial-name="${f(e.name)}" aria-pressed="false" style="--ring-color:var(--board-chart-${t % 6})"><span><i aria-hidden="true"></i>${f(e.name)}</span><b>${e.value.toLocaleString()}</b>${e.detail ? `<small>${f(e.detail)}</small>` : ""}</button>`).join("")}</div></section>`;+ return `<section class="board-radial-card" data-radial-card data-radial-total="${i}" data-radial-title="${d(t)}"><header><span data-radial-label>${d(t)}</span><b data-radial-number>${i.toLocaleString()}</b><small>${d(n)}</small></header><svg class="board-rings" viewBox="0 0 320 320" aria-label="${d(t)}">${c}</svg><div class="board-radial-tiles">${r.map((e, t) => `<button type="button" data-radial-tile="${t}" data-radial-value="${e.value}" data-radial-name="${d(e.name)}" aria-pressed="false" style="--ring-color:var(--board-chart-${t % 6})"><span><i aria-hidden="true"></i>${d(e.name)}</span><b>${e.value.toLocaleString()}</b>${e.detail ? `<small>${d(e.detail)}</small>` : ""}</button>`).join("")}</div></section>`;}-function bt(e) {+function De(e) {e.querySelectorAll("[data-radial-card]").forEach((e) => {let t = [...e.querySelectorAll("[data-radial-tile]")], n = [...e.querySelectorAll("[data-radial-ring]")], r = e.querySelector("[data-radial-number]"), i = e.querySelector("[data-radial-label]"), a = -1, o = 0, s = 0, c = (c, l = 300) => {e.dataset.radialFocus = String(c), t.forEach((e, t) => {@@ -1026,7 +776,7 @@ function bt(e) {}});}-var xt = [+var U = ["周一","周二","周三",@@ -1035,11 +785,11 @@ var xt = ["周六","周日"];-function St(e) {+function Oe(e) {if (!e?.days?.length) return "<section class=\"board-activity-empty\"><h3>浏览活跃时间</h3><p>还没有可用于分析的口味网站访问记录。</p></section>";let t = Array.from({ length: 7 }, () => Array(24).fill(0));- for (let n of e.hours || []) Number.isInteger(n.weekday) && n.weekday >= 0 && n.weekday < 7 && Number.isInteger(n.hour) && n.hour >= 0 && n.hour < 24 && vt(n.count) && (t[n.weekday][n.hour] = (t[n.weekday][n.hour] || 0) + n.count);- let n = Math.max(1, ...t.flat()), r = t.flat().reduce((e, t) => e + t, 0), i = t.map((e, t) => `<span class="board-heat-axis">${xt[t]}</span>${e.map((e, r) => `<button type="button" data-heat-value="${e}" data-heat-label="${xt[t]} ${r}:00" aria-label="${xt[t]} ${r}:00,${e} 次访问" style="--heat:${e ? Math.max(12, e / n * 100) : 0}%"></button>`).join("")}`).join(""), a = e.days.filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && vt(e.count)).sort((e, t) => e.date.localeCompare(t.date));+ for (let n of e.hours || []) Number.isInteger(n.weekday) && n.weekday >= 0 && n.weekday < 7 && Number.isInteger(n.hour) && n.hour >= 0 && n.hour < 24 && H(n.count) && (t[n.weekday][n.hour] = (t[n.weekday][n.hour] || 0) + n.count);+ let n = Math.max(1, ...t.flat()), r = t.flat().reduce((e, t) => e + t, 0), i = t.map((e, t) => `<span class="board-heat-axis">${U[t]}</span>${e.map((e, r) => `<button type="button" data-heat-value="${e}" data-heat-label="${U[t]} ${r}:00" aria-label="${U[t]} ${r}:00,${e} 次访问" style="--heat:${e ? Math.max(12, e / n * 100) : 0}%"></button>`).join("")}`).join(""), a = e.days.filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && H(e.count)).sort((e, t) => e.date.localeCompare(t.date));if (!a.length) return "";let o = /* @__PURE__ */ new Date(`${a.at(-1).date}T00:00:00Z`), s = new Date(o);s.setUTCDate(s.getUTCDate() - 90);@@ -1049,9 +799,9 @@ function St(e) {let r = n.toISOString().slice(0, 10), i = c.get(r) || 0;return `<button type="button" data-heat-value="${i}" data-heat-label="${r}" aria-label="${r},${i} 次访问" style="--heat:${i ? Math.max(12, i / l * 100) : 0}%"></button>`;}).join("");- return `<div class="board-activity-charts"><section class="board-heat-card" data-heat-card><header><h3>浏览活跃时间</h3><b data-heat-number>${r.toLocaleString()}</b><span data-heat-title data-heat-default="口味网站访问">口味网站访问</span></header><div class="board-heat-scroll"><div class="board-hour-grid"><span></span>${Array.from({ length: 24 }, (e, t) => `<span class="board-heat-axis">${t % 2 ? "" : t}</span>`).join("")}${i}</div></div><footer>星期 × 小时<span>${f(e.timezone || "UTC+08:00")}</span></footer></section><section class="board-heat-card" data-heat-card><header><h3>每日活跃</h3><b data-heat-number>${a.filter((e) => e.date >= s.toISOString().slice(0, 10)).reduce((e, t) => e + t.count, 0).toLocaleString()}</b><span data-heat-title data-heat-default="口味网站访问">口味网站访问</span></header><div class="board-day-grid">${u}</div><footer>${s.toISOString().slice(0, 10)}<span>${a.at(-1).date}</span></footer></section></div>`;+ return `<div class="board-activity-charts"><section class="board-heat-card" data-heat-card><header><h3>浏览活跃时间</h3><b data-heat-number>${r.toLocaleString()}</b><span data-heat-title data-heat-default="口味网站访问">口味网站访问</span></header><div class="board-heat-scroll"><div class="board-hour-grid"><span></span>${Array.from({ length: 24 }, (e, t) => `<span class="board-heat-axis">${t % 2 ? "" : t}</span>`).join("")}${i}</div></div><footer>星期 × 小时<span>${d(e.timezone || "UTC+08:00")}</span></footer></section><section class="board-heat-card" data-heat-card><header><h3>每日活跃</h3><b data-heat-number>${a.filter((e) => e.date >= s.toISOString().slice(0, 10)).reduce((e, t) => e + t.count, 0).toLocaleString()}</b><span data-heat-title data-heat-default="口味网站访问">口味网站访问</span></header><div class="board-day-grid">${u}</div><footer>${s.toISOString().slice(0, 10)}<span>${a.at(-1).date}</span></footer></section></div>`;}-function Ct(e) {+function ke(e) {e.querySelectorAll("[data-heat-card]").forEach((e) => {let t = e.querySelector("[data-heat-number]"), n = e.querySelector("[data-heat-title]"), r = t.textContent;e.querySelectorAll("[data-heat-value]").forEach((e) => {@@ -1066,19 +816,19 @@ function Ct(e) {}//#endregion//#region src/sidebar-groups.ts-var wt = (e) => e.replace(/[&<>"']/g, (e) => ({+var W = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function Tt(e, t, n = "", r = "") {+function Ae(e, t, n = "", r = "") {if (!t) return "";let i = `sidebar-group-${encodeURIComponent(e)}`;- return `<details class="sec${r ? " cat-" + wt(r) : ""}" data-sidebar-group="${wt(e)}"><summary role="button" class="board-section-toggle"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-chevron-right"/></svg><span>${wt(e)}</span></summary><div class="board-sidebar-body" id="${i}">${t}${n}</div></details>`;+ return `<details class="sec${r ? " cat-" + W(r) : ""}" data-sidebar-group="${W(e)}"><summary role="button" class="board-section-toggle"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-chevron-right"/></svg><span>${W(e)}</span></summary><div class="board-sidebar-body" id="${i}">${t}${n}</div></details>`;}-function Et(e) {+function je(e) {e.querySelectorAll("[data-sidebar-group]").forEach((e) => {if (e.dataset.sidebarWired) return;e.dataset.sidebarWired = "true";@@ -1088,7 +838,7 @@ function Et(e) {} catch {}let i = !!t.querySelector("[aria-pressed=true]");e.open = r === null ? i : r === "open";- }), u(e, "details[data-sidebar-group]", "sidebar-collapse"), e.querySelectorAll(".board-section-toggle").forEach((e) => {+ }), l(e, "details[data-sidebar-group]", "sidebar-collapse"), e.querySelectorAll(".board-section-toggle").forEach((e) => {e.dataset.persistWired || (e.dataset.persistWired = "true", e.addEventListener("click", () => {let t = `peach.sidebar.group.${e.closest("[data-sidebar-group]").dataset.sidebarGroup}`;try {@@ -1097,15 +847,15 @@ function Et(e) {}));});}-var Dt = !1;-async function Ot(e, t) {- if (Dt) return;+var G = !1;+async function Me(e, t) {+ if (G) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();return;}let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, Dt = !0, document.head.append(o);+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, G = !0, document.head.append(o);let s = document.documentElement;s.dataset.themeSnapshot = "true";let c = !1, l = () => {@@ -1116,306 +866,15 @@ async function Ot(e, t) {} catch {l();} finally {- delete s.dataset.themeSnapshot, o.remove(), Dt = !1;- }-}-//#endregion-//#region src/api.ts-var kt = class extends Error {- status;- body;- constructor(e, t, n = null) {- super(m(e, t)), this.name = "ApiError", this.status = t, this.body = n;+ delete s.dataset.themeSnapshot, o.remove(), G = !1;}-}, At = (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 "";-}, jt = (e) => m(e);-async function Mt(e, t) {- let n = await fetch(e, {- headers: { Accept: "application/json" },- credentials: "same-origin",- ...t ? { signal: t } : {}- }), r = null;- try {- r = await n.json();- } catch {}- if (!n.ok) throw new kt(At(r) || `请求失败(${n.status})`, n.status);- return r;-}-async function Nt(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 kt(At(a) || `请求失败(${i.status})`, i.status, a);- return a;-}-//#endregion-//#region src/configuration-endpoints.ts-var Pt = "/api/configuration", H, U, Ft, It, Lt = 0, Rt = [], W = g, zt = W.__b, Bt = W.__r, Vt = W.diffed, Ht = W.__c, Ut = W.unmount, Wt = W.__;-function Gt(e, t) {- W.__h && W.__h(U, e, Lt || t), Lt = 0;- var n = U.__H || (U.__H = {- __: [],- __h: []- });- return e >= n.__.length && n.__.push({}), n.__[e];-}-function G(e) {- return Lt = 1, Kt(tn, e);-}-function Kt(e, t, n) {- var r = Gt(H++, 2);- if (r.t = e, !r.__c && (r.__ = [n ? n(t) : tn(void 0, t), function(e) {- var t = r.__N ? r.__N[0] : r.__[0], n = r.t(t, e);- t !== n && (r.__N = [n, r.__[1]], r.__c.setState({}));- }], r.__c = U, !U.__f)) {- var i = function(e, t, n) {- if (!r.__c.__H) return !0;- var i = !1, o = r.__c.props !== e;- if (r.__c.__H.__.some(function(e) {- if (e.__N) {- i = !0;- var t = e.__[0];- e.__ = e.__N, e.__N = void 0, t !== e.__[0] && (o = !0);- }- }), a) {- var s = a.call(this, e, t, n);- return i ? s || o : s;- }- return !i || o;- };- U.__f = !0;- var a = U.shouldComponentUpdate, o = U.componentWillUpdate;- U.componentWillUpdate = function(e, t, n) {- if (this.__e) {- var r = a;- a = void 0, i(e, t, n), a = r;- }- o && o.call(this, e, t, n);- }, U.shouldComponentUpdate = i;- }- return r.__N || r.__;-}-function qt(e, t) {- var n = Gt(H++, 3);- !W.__s && en(n.__H, t) && (n.__ = e, n.u = t, U.__H.__h.push(n));-}-function K(e) {- return Lt = 5, Jt(function() {- return { current: e };- }, []);-}-function Jt(e, t) {- var n = Gt(H++, 7);- return en(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;-}-function Yt() {- for (var e; e = Rt.shift();) {- var t = e.__H;- if (e.__P && t) try {- t.__h.some(Qt), t.__h.some($t), t.__h = [];- } catch (n) {- t.__h = [], W.__e(n, e.__v);- }- }-}-W.__b = function(e) {- U = null, zt && zt(e);-}, W.__ = function(e, t) {- e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Wt && Wt(e, t);-}, W.__r = function(e) {- Bt && Bt(e), H = 0;- var t = (U = e.__c).__H;- t && (Ft === U ? (t.__h = [], U.__h = [], t.__.some(function(e) {- e.__N && (e.__ = e.__N), e.u = e.__N = void 0;- })) : (t.__h.some(Qt), t.__h.some($t), t.__h = [], H = 0)), Ft = U;-}, W.diffed = function(e) {- Vt && Vt(e);- var t = e.__c;- t && t.__H && (t.__H.__h.length && (Rt.push(t) !== 1 && It === W.requestAnimationFrame || ((It = W.requestAnimationFrame) || Zt)(Yt)), t.__H.__.some(function(e) {- e.u &&= (e.__H = e.u, void 0);- })), Ft = U = null;-}, W.__c = function(e, t) {- t.some(function(e) {- try {- e.__h.some(Qt), e.__h = e.__h.filter(function(e) {- return !e.__ || $t(e);- });- } catch (n) {- t.some(function(e) {- e.__h &&= [];- }), t = [], W.__e(n, e.__v);- }- }), Ht && Ht(e, t);-}, W.unmount = function(e) {- Ut && Ut(e);- var t, n = e.__c;- n && n.__H && (n.__H.__.some(function(e) {- try {- Qt(e);- } catch (e) {- t = e;- }- }), n.__H = void 0, t && W.__e(t, n.__v));-};-var Xt = typeof requestAnimationFrame == "function";-function Zt(e) {- var t, n = function() {- clearTimeout(r), Xt && cancelAnimationFrame(t), setTimeout(e);- }, r = setTimeout(n, 35);- Xt && (t = requestAnimationFrame(n));-}-function Qt(e) {- var t = U, n = e.__c;- typeof n == "function" && (e.__c = void 0, n()), U = t;-}-function $t(e) {- var t = U;- e.__c = e.__(), U = t;-}-function en(e, t) {- return !e || e.length !== t.length || t.some(function(t, n) {- return t !== e[n];- });-}-function tn(e, t) {- return typeof t == "function" ? t(e) : t;-}-//#endregion-//#region node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js-var nn = 0;-Array.isArray;-function q(e, t, n, r, i, a) {- t ||= {};- var o, s, c = t;- if ("ref" in c) for (s in c = {}, t) s == "ref" ? o = t[s] : c[s] = t[s];- var l = {- type: e,- props: c,- key: n,- ref: o,- __k: null,- __: null,- __b: 0,- __e: null,- __c: null,- constructor: void 0,- __v: --nn,- __i: -1,- __u: 0,- __source: i,- __self: a- };- if (typeof e == "function" && (o = e.defaultProps)) for (s in o) c[s] === void 0 && (c[s] = o[s]);- return g.vnode && g.vnode(l), l;-}-//#endregion-//#region src/react-slot.tsx-function rn({ mount: e, props: t }) {- let n = K(null), r = K(null), i = K(t);- i.current = t;- let [a, o] = G("");- return qt(() => {- 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]), qt(() => {- 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/configuration.tsx-var an = (e, t) => Mt(Pt, t);-function on({ receipt: e, data: t, error: n }) {- if (n || !t) return /* @__PURE__ */ q("div", {- class: "configpage",- dangerouslySetInnerHTML: { __html: o(n || "没有读到配置", {- variant: "error",- label: "打不开配置"- }) }- });- let r = {- data: t,- receipt: e- };- return /* @__PURE__ */ q("div", {- class: "configpage",- children: [- t.startup ? /* @__PURE__ */ q("h2", {- class: "configgroup",- children: "通用"- }) : null,- t.startup ? /* @__PURE__ */ q(rn, {- mount: "mountGeneralSettings",- props: r- }) : null,- /* @__PURE__ */ q("h2", {- class: "configgroup",- children: "媒体"- }),- /* @__PURE__ */ q(rn, {- mount: "mountMediaSettings",- props: r- }),- t.peach_proxy || t.access ? /* @__PURE__ */ q("h2", {- class: "configgroup",- children: "网络与访问"- }) : null,- t.peach_proxy || t.access ? /* @__PURE__ */ q(rn, {- mount: "mountNetworkSettings",- props: r- }) : null,- /* @__PURE__ */ q("h2", {- class: "configgroup",- children: "更新与维护"- }),- /* @__PURE__ */ q(rn, {- mount: "mountMaintenanceSettings",- props: r- })- ]- });}//#endregion//#region src/jobs.ts-function sn(e, t = 0, n = 0) {- return n > 0 ? Ee(e, t, n) : i(e);+function Ne(e, t = 0, n = 0) {+ return n > 0 ? x(e, t, n) : r(e);}-async function cn(e) {+async function Pe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -1430,26 +889,26 @@ async function cn(e) {await t(2e3);}}-function ln(e) {- let t = e.note || ((e) => o(e, {+function Fe(e) {+ let t = e.note || ((e) => a(e, {label: "任务状态",variant: "error"- })), n = e.loading || i, r = e.progress || ((e, t, n) => sn(n || `已处理 ${e} / ${t}`, e, t)), a = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), s = document.createElement("div");+ })), n = e.loading || r, i = e.progress || ((e, t, n) => Ne(n || `已处理 ${e} / ${t}`, e, t)), o = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), s = document.createElement("div");e.host.hidden = !0, s.dataset.followJob = "", s.setAttribute("aria-live", "polite"), e.host.prepend(s);let c = e.storageKey || "peach-follow-job", l = sessionStorage.getItem(c) || void 0, u = !1;- cn({+ Pe({read: e.read,active: () => !u && e.active() && s.isConnected,keepWatching: e.watchIdle !== !1,- render: (i) => {- let o = i.status === "running";- if (e.host.hidden = !o, e.busy(o), o) {- l = i.job_id, l && sessionStorage.setItem(c, l);- let t = i.current, o = (t?.attempt || 1) > 1 ? ` · 第 ${t?.attempt}/${t?.max_attempts} 次尝试${t?.retry_in ? `,${t.retry_in} 秒后重试` : ""}` : "", u = (i.message || (e.title ? e.title + (i.total ? `:已完成 ${i.checked || 0}/${i.total}` : "") : "") || (i.total ? `${i.older ? "抓取历史" : "检查更新"}:已完成 ${i.checked || 0}/${i.total} 个来源` : "正在准备检查任务…")) + (t ? ` · ${t.label || t.provider || ""}${o}` : ""), d = (i.total || 0) > 0 ? r(i.checked || 0, i.total, u) : n(u);- s.innerHTML = a(d);- } else if (l && l === i.job_id) l = void 0, u = !0, e.host.hidden = i.status !== "failed", sessionStorage.removeItem(c), s.innerHTML = i.status === "failed" ? t(i.error || "检查失败") : "", e.complete(i);+ render: (r) => {+ let a = r.status === "running";+ if (e.host.hidden = !a, e.busy(a), a) {+ l = r.job_id, l && sessionStorage.setItem(c, l);+ let t = r.current, a = (t?.attempt || 1) > 1 ? ` · 第 ${t?.attempt}/${t?.max_attempts} 次尝试${t?.retry_in ? `,${t.retry_in} 秒后重试` : ""}` : "", u = (r.message || (e.title ? e.title + (r.total ? `:已完成 ${r.checked || 0}/${r.total}` : "") : "") || (r.total ? `${r.older ? "抓取历史" : "检查更新"}:已完成 ${r.checked || 0}/${r.total} 个来源` : "正在准备检查任务…")) + (t ? ` · ${t.label || t.provider || ""}${a}` : ""), d = (r.total || 0) > 0 ? i(r.checked || 0, r.total, u) : n(u);+ s.innerHTML = o(d);+ } else if (l && l === r.job_id) l = void 0, u = !0, e.host.hidden = r.status !== "failed", sessionStorage.removeItem(c), s.innerHTML = r.status === "failed" ? t(r.error || "检查失败") : "", e.complete(r);else {- if (l && i.status === "idle") {+ if (l && r.status === "idle") {e.host.hidden = !1, s.innerHTML = t("任务状态已失效,请重新发起任务"), sessionStorage.removeItem(c), u = !0;return;}@@ -1463,24 +922,24 @@ function ln(e) {}//#endregion//#region src/review-evidence.ts-var un = (e = "") => /^https?:\/\//i.test(e) ? e : "";-function dn(e = "") {- let t = un(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");- return `<div class="reviewimage" data-review-picture><span class="reviewimageempty"${t ? " hidden" : ""}>未取得来源图片</span>${t ? `<img src="${f(t)}" alt="来源候选图片" loading="lazy">` : ""}</div>`;-}-function fn(e) {- let t = un(e.profile_url), n = (e.preview_assets || []).slice(0, 6), r = Math.max(0, Number(e.video_count || e.videos || 0));- return `<section class="reviewidentityevidence"><h5>候选身份:${f(e.babepedia_name || "未标注")}</h5>- <div class="reviewevidenceactions">${t ? `<a class="geist-button externallink" href="${f(t)}" 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="${f(e.creator || "")}">查看全部 ${r.toLocaleString()} 部作品</button></div>- ${dn(e.preview_url)}+var Ie = (e = "") => /^https?:\/\//i.test(e) ? e : "";+function Le(e = "") {+ let t = Ie(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+ return `<div class="reviewimage" data-review-picture><span class="reviewimageempty"${t ? " hidden" : ""}>未取得来源图片</span>${t ? `<img src="${d(t)}" alt="来源候选图片" loading="lazy">` : ""}</div>`;+}+function Re(e) {+ let t = Ie(e.profile_url), n = (e.preview_assets || []).slice(0, 6), r = Math.max(0, Number(e.video_count || e.videos || 0));+ return `<section class="reviewidentityevidence"><h5>候选身份:${d(e.babepedia_name || "未标注")}</h5>+ <div class="reviewevidenceactions">${t ? `<a class="geist-button externallink" href="${d(t)}" 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="${d(e.creator || "")}">查看全部 ${r.toLocaleString()} 部作品</button></div>+ ${Le(e.preview_url)}<p>通过后记录身份判断。</p>${n.length ? `<h5>本地作品样本</h5><div class="reviewevidencesamples">${n.map((e) => `<div class="reviewevidencesample">- <button class="geist-button" type="button" data-review-open-item="${e.id}"><span data-middle-truncate title="${f(e.name)}">${f(e.name)}</span></button>- <button class="geist-button" type="button" data-review-reveal="${e.id}" aria-label="打开 ${f(e.name)} 的文件位置">文件位置</button>+ <button class="geist-button" type="button" data-review-open-item="${e.id}"><span data-middle-truncate title="${d(e.name)}">${d(e.name)}</span></button>+ <button class="geist-button" type="button" data-review-reveal="${e.id}" aria-label="打开 ${d(e.name)} 的文件位置">文件位置</button></div>`).join("")}</div>` : "<p>暂无本地作品样本,打开全部作品核对。</p>"}</section>`;}-function pn(e) {+function ze(e) {for (let t of e.querySelectorAll("[data-review-picture] img")) {let e = () => {t.hidden = !0;@@ -1491,12 +950,15 @@ function pn(e) {}}//#endregion+//#region src/api.ts+var Be = (e) => p(e);+//#endregion//#region src/selection.ts-function mn(e, t, n, r, i, a = i || !e.has(r)) {+function Ve(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 hn(e, t) {+function He(e, t) {let n = t.filter((t) => e.has(t)).length;return {count: n,@@ -1504,16 +966,16 @@ function hn(e, t) {mixed: n > 0 && n < t.length};}-function gn(e, t, n) {+function Ue(e, t, n) {t.forEach((t) => n ? e.add(t) : e.delete(t));}-function _n({ count: e, label: t, all: n, summary: r, actions: i, locked: a = !1 }) {+function We({ 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 vn = () => ({+var Ge = () => ({busy: !1,category: "",filter: "",@@ -1524,7 +986,7 @@ var vn = () => ({assets: /* @__PURE__ */ new Map(),errors: /* @__PURE__ */ new Map()});-function yn(e) {+function Ke(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`);@@ -1540,7 +1002,7 @@ function yn(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 bn(e, t) {+function qe(e, t) {let n = [["candidates",t ? "按候选数量" : "全部待复核",@@ -1556,7 +1018,7 @@ function bn(e, t) {"list-filter"]), n;}-function xn(e, t) {+function Je(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -1573,10 +1035,10 @@ function xn(e, t) {}return [...n.values()];}-function Sn(e, t, n, r, i) {- e.anchor = mn(e.selected, t, e.anchor, n, r, i);+function Ye(e, t, n, r, i) {+ e.anchor = Ve(e.selected, t, e.anchor, n, r, i);}-async function Cn(e, t, n, r) {+async function Xe(e, t, n, r) {let i = [], a = 0;for (let o of e) {if (!r()) break;@@ -1587,7 +1049,7 @@ async function Cn(e, t, n, r) {} catch (e) {i.push({key: o.key,- message: jt(e)+ message: Be(e)});}}@@ -1596,38 +1058,38 @@ async function Cn(e, t, n, r) {failures: i};}-function wn(e) {+function Ze(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 Tn(e, t) {+function Qe(e, n) {let r = e.querySelector(".reviewlist");- if (!r || !t.rows.length || t.locked) return;- let i = t.state, a = [...r.querySelectorAll("[data-review-key]")];- t.category !== void 0 && i.category !== t.category && (i.category = t.category, i.filter = "", i.groupBy = "candidates", i.anchor = null);- let o = t.catalog || t.rows, c = bn(o, t.metadata);- c.some((e) => e[0] === i.groupBy) || (i.groupBy = "candidates", i.filter = "");- let u = xn(o, i.groupBy);- u.some((e) => e.key === i.filter) || (i.filter = "");- let f = () => [...r.querySelectorAll("[data-review-key]")].filter((e) => !e.closest("[hidden]")), m = () => f().filter((e) => i.selected.has(e.dataset.reviewKey)), h = () => t.rows.filter((e) => m().some((t) => t.dataset.reviewKey === e.item_key)), g = (e) => !e.querySelector("[data-review-status=\"approved\"]")?.disabled, _ = (e, t = "") => {+ if (!r || !n.rows.length || n.locked) return;+ let i = n.state, a = [...r.querySelectorAll("[data-review-key]")];+ n.category !== void 0 && i.category !== n.category && (i.category = n.category, i.filter = "", i.groupBy = "candidates", i.anchor = null);+ let s = n.catalog || n.rows, l = qe(s, n.metadata);+ l.some((e) => e[0] === i.groupBy) || (i.groupBy = "candidates", i.filter = "");+ let d = Je(s, i.groupBy);+ d.some((e) => e.key === i.filter) || (i.filter = "");+ let p = () => [...r.querySelectorAll("[data-review-key]")].filter((e) => !e.closest("[hidden]")), m = () => p().filter((e) => i.selected.has(e.dataset.reviewKey)), h = () => n.rows.filter((e) => m().some((t) => t.dataset.reviewKey === e.item_key)), g = (e) => !e.querySelector("[data-review-status=\"approved\"]")?.disabled, _ = (e, t = "") => {let n = document.createElement("button");return n.type = "button", n.className = `geist-button ${t}`.trim(), n.textContent = e, n;}, v = document.createElement("div");v.className = "reviewbulkbar reviewbulktoolbar", v.setAttribute("role", "group"), v.setAttribute("aria-label", "复核批量操作");let y = document.createElement("div");- y.className = "reviewgroupby", y.innerHTML = s(c, i.groupBy, { label: "筛选分组方式" });- let b = d(y.firstElementChild);+ y.className = "reviewgroupby", y.innerHTML = o(l, i.groupBy, { label: "筛选分组方式" });+ let b = u(y.firstElementChild);y.querySelectorAll("[data-select-option] .gselectmark").forEach((e) => e.remove()), b.addEventListener("change", () => {- if (i.busy || !c.some((e) => e[0] === b.value)) return;+ if (i.busy || !l.some((e) => e[0] === b.value)) return;i.groupBy = b.value, i.filter = "", i.anchor = null;- let n = e.parentElement;- t.refresh(), n?.querySelector(".reviewgroupby button")?.focus({ preventScroll: !0 });+ let t = e.parentElement;+ n.refresh(), t?.querySelector(".reviewgroupby button")?.focus({ preventScroll: !0 });});let x = document.createElement("div");- x.className = "reviewcategoryfilter", x.hidden = u.length < 2, x.innerHTML = s([[+ x.className = "reviewcategoryfilter", x.hidden = d.length < 2, x.innerHTML = o([["","全部分类","list-filter"- ], ...u.map((e) => [+ ], ...d.map((e) => [e.key,`${e.title} · ${e.rows.length}`,"list-filter"@@ -1639,17 +1101,17 @@ function Tn(e, t) {let t = document.createElement("div");t.className = "reviewfilterheading", t.textContent = e.getAttribute("aria-label"), t.setAttribute("aria-hidden", "true"), e.append(t, ...Array.from(S.children).slice(1)), S.append(e);}- let C = d(x.firstElementChild);+ let C = u(x.firstElementChild);x.querySelectorAll("[data-select-option] .gselectmark").forEach((e) => e.remove()), C.addEventListener("change", () => {- if (i.busy || C.value && !u.some((e) => e.key === C.value)) return;+ if (i.busy || C.value && !d.some((e) => e.key === C.value)) return;i.filter = C.value, i.anchor = null;- let n = e.parentElement;- t.refresh(), n?.querySelector(".reviewcategoryfilter button")?.focus({ preventScroll: !0 });+ let t = e.parentElement;+ n.refresh(), t?.querySelector(".reviewcategoryfilter button")?.focus({ preventScroll: !0 });});let w = _("全选本页"), T = _("通过所选", "primary"), E = _("拒绝所选", "error"), D = document.createElement("span");D.className = "reviewselectedcount selectiondockcount", D.setAttribute("role", "status");let O = document.createElement("div");- O.className = "reviewbulksource", O.hidden = !t.metadata;+ O.className = "reviewbulksource", O.hidden = !n.metadata;let k = document.createElement("p");k.className = "reviewstate reviewbulkfeedback", k.setAttribute("role", "status");let A = document.createElement("div");@@ -1667,41 +1129,41 @@ function Tn(e, t) {i.busy || (P(), w.focus({ preventScroll: !0 }));}, w.onclick = () => {if (i.busy) return;- let e = f(), t = m().length === e.length;+ let e = p(), t = m().length === e.length;e.forEach((e) => t ? i.selected.delete(e.dataset.reviewKey) : i.selected.add(e.dataset.reviewKey)), L();}, T.onclick = () => R("approved", T), E.onclick = () => R("rejected", E);let F = [];- for (let e of u) {- let t = e.rows.map((e) => a.find((t) => t.dataset.reviewKey === e.item_key)).filter((e) => !!e);- if (!t.length) continue;+ for (let e of d) {+ let n = e.rows.map((e) => a.find((t) => t.dataset.reviewKey === e.item_key)).filter((e) => !!e);+ if (!n.length) continue;let o = document.createElement("section");o.className = "reviewgroup", o.hidden = !!i.filter && e.key !== i.filter;let s = document.createElement("div");s.className = "reviewbulkbar reviewgroupbar";let c = document.createElement("h3");- c.textContent = `${e.title} · ${t.length}`;+ c.textContent = `${e.title} · ${n.length}`;let l = _("全选本组"), u = document.createElement("div");u.className = "reviewlist", s.append(c, l), o.append(s, u), r.append(o), l.onclick = () => {if (i.busy) return;- let e = t.map((e) => e.dataset.reviewKey);- gn(i.selected, e, !e.every((e) => i.selected.has(e))), L();+ let e = n.map((e) => e.dataset.reviewKey);+ Ue(i.selected, e, !e.every((e) => i.selected.has(e))), L();}, F.push(() => {- let e = t.every((e) => i.selected.has(e.dataset.reviewKey));- l.innerHTML = p(e ? "check-check-outline" : "check-check") + (e ? "清空本组" : "全选本组"), l.setAttribute("aria-pressed", String(e));+ let e = n.every((e) => i.selected.has(e.dataset.reviewKey));+ l.innerHTML = f(e ? "check-check-outline" : "check-check") + (e ? "清空本组" : "全选本组"), l.setAttribute("aria-pressed", String(e));});- for (let e of t) {+ for (let e of n) {u.append(e);- let t = e.dataset.reviewKey;- i.errors.has(t) && (e.querySelector(".reviewstate").textContent = i.errors.get(t));+ let n = e.dataset.reviewKey;+ i.errors.has(n) && (e.querySelector(".reviewstate").textContent = i.errors.get(n));let r = e.querySelector("h4,.reviewentity b") || e, a = document.createElement("label");- a.className = "reviewpickitem", a.innerHTML = n();+ a.className = "reviewpickitem", a.innerHTML = t();let o = a.querySelector("input");- if (o.setAttribute("aria-label", `选择 ${e.querySelector("legend")?.textContent || r.textContent || t}`), r !== e) {+ if (o.setAttribute("aria-label", `选择 ${e.querySelector("legend")?.textContent || r.textContent || n}`), r !== e) {let e = document.createElement("span");e.className = "reviewpickname", e.append(...r.childNodes), r.classList.add("reviewpickheading"), r.append(a, e);} else e.prepend(a);- let s = (e, n) => {- Sn(i, f().map((e) => e.dataset.reviewKey), t, e, n), L();+ let s = (e, t) => {+ Ye(i, p().map((e) => e.dataset.reviewKey), n, e, t), L();};if (a.addEventListener("mousedown", (e) => {e.shiftKey && e.preventDefault();@@ -1709,59 +1171,59 @@ function Tn(e, t) {e.target !== o && (e.preventDefault(), i.busy || (o.focus(), s(e.shiftKey, !o.checked)));}), o.addEventListener("click", (e) => {i.busy || s(e.shiftKey, o.checked);- }), o.addEventListener("keydown", (n) => {- if (!(i.busy || !n.shiftKey)) {- if (n.key === " ") n.preventDefault(), s(!0, !0);- else if (n.key === "ArrowDown" || n.key === "ArrowUp") {- n.preventDefault();- let r = f(), a = r[r.indexOf(e) + (n.key === "ArrowDown" ? 1 : -1)];- a && (i.anchor === null && (i.anchor = t), Sn(i, r.map((e) => e.dataset.reviewKey), a.dataset.reviewKey, !0, !0), L(), a.querySelector(".reviewpickitem input")?.focus());+ }), o.addEventListener("keydown", (t) => {+ if (!(i.busy || !t.shiftKey)) {+ if (t.key === " ") t.preventDefault(), s(!0, !0);+ else if (t.key === "ArrowDown" || t.key === "ArrowUp") {+ t.preventDefault();+ let r = p(), a = r[r.indexOf(e) + (t.key === "ArrowDown" ? 1 : -1)];+ a && (i.anchor === null && (i.anchor = n), Ye(i, r.map((e) => e.dataset.reviewKey), a.dataset.reviewKey, !0, !0), L(), a.querySelector(".reviewpickitem input")?.focus());}}}), F.push(() => {- o.checked = i.selected.has(t);- }), i.assets.has(t)) {- let n = i.assets.get(t), r = [...e.querySelectorAll("[data-review-asset]")];+ o.checked = i.selected.has(n);+ }), i.assets.has(n)) {+ let t = i.assets.get(n), r = [...e.querySelectorAll("[data-review-asset]")];r.forEach((e) => {- let t = n.includes(Number(e.dataset.reviewAsset));- e.setAttribute("aria-pressed", String(t)), e.classList.toggle("picked", t);+ let n = t.includes(Number(e.dataset.reviewAsset));+ e.setAttribute("aria-pressed", String(n)), e.classList.toggle("picked", n);});let a = e.querySelector("[data-picked-count]");- a && (a.textContent = `已选 ${n.length} / ${r.length}`);+ a && (a.textContent = `已选 ${t.length} / ${r.length}`);}- e.addEventListener("click", (n) => {- n.target.closest("[data-review-asset],[data-pick-all],[data-pick-none]") && i.assets.set(t, [...e.querySelectorAll("[data-review-asset][aria-pressed=\"true\"]")].map((e) => Number(e.dataset.reviewAsset)));+ e.addEventListener("click", (t) => {+ t.target.closest("[data-review-asset],[data-pick-all],[data-pick-none]") && i.assets.set(n, [...e.querySelectorAll("[data-review-asset][aria-pressed=\"true\"]")].map((e) => Number(e.dataset.reviewAsset)));});- for (let n of e.querySelectorAll("input[type=\"radio\"]")) i.choices.has(t) && (n.checked = i.choices.get(t) === n.value), n.addEventListener("change", () => {- n.checked && i.choices.set(t, n.value), L();+ for (let t of e.querySelectorAll("input[type=\"radio\"]")) i.choices.has(n) && (t.checked = i.choices.get(n) === t.value), t.addEventListener("change", () => {+ t.checked && i.choices.set(n, t.value), L();});}}e.addEventListener("keydown", (t) => {- i.busy || !e.contains(r) || (t.key === "Escape" && i.selected.size && (t.preventDefault(), t.stopPropagation(), P()), (t.ctrlKey || t.metaKey) && t.key.toLowerCase() === "a" && !t.target.matches("textarea,input:not([type=\"checkbox\"]):not([type=\"radio\"])") && (t.preventDefault(), t.stopPropagation(), f().forEach((e) => i.selected.add(e.dataset.reviewKey)), L()));+ i.busy || !e.contains(r) || (t.key === "Escape" && i.selected.size && (t.preventDefault(), t.stopPropagation(), P()), (t.ctrlKey || t.metaKey) && t.key.toLowerCase() === "a" && !t.target.matches("textarea,input:not([type=\"checkbox\"]):not([type=\"radio\"])") && (t.preventDefault(), t.stopPropagation(), p().forEach((e) => i.selected.add(e.dataset.reviewKey)), L()));});let I = "";function L() {- let e = m(), n = e.length > 0 && e.length === f().length;- w.innerHTML = p(n ? "check-check-outline" : "check-check") + (n ? "清空当前选择" : i.filter ? "全选当前分类" : "全选本页"), w.setAttribute("aria-pressed", String(n)), j.hidden = !e.length, _n({+ let e = m(), t = e.length > 0 && e.length === p().length;+ w.innerHTML = f(t ? "check-check-outline" : "check-check") + (t ? "清空当前选择" : i.filter ? "全选当前分类" : "全选本页"), w.setAttribute("aria-pressed", String(t)), j.hidden = !e.length, We({count: D,label: `已选 ${e.length} 项`,- summary: hn(i.selected, f().map((e) => e.dataset.reviewKey)),+ summary: He(i.selected, p().map((e) => e.dataset.reviewKey)),actions: [T, E]}), T.disabled ||= e.some((e) => !g(e));- let r = wn(h());- O.hidden = !t.metadata || !h().some((e) => (e.candidates?.length || 0) > 1);- let a = e.length && !r.length ? "所选项目无共同来源" : "统一选择来源", o = JSON.stringify([a, r]);- if (o !== I) {- I = o, O.innerHTML = s([["", a], ...r.map((e) => [e, e])], "", { label: "统一选择来源" });- let e = d(O.firstElementChild);+ let r = Ze(h());+ O.hidden = !n.metadata || !h().some((e) => (e.candidates?.length || 0) > 1);+ let a = e.length && !r.length ? "所选项目无共同来源" : "统一选择来源", s = JSON.stringify([a, r]);+ if (s !== I) {+ I = s, O.innerHTML = o([["", a], ...r.map((e) => [e, e])], "", { label: "统一选择来源" });+ let e = u(O.firstElementChild);e.disabled = !r.length, e.addEventListener("change", () => {- if (!(i.busy || !wn(h()).includes(e.value))) {- for (let n of m()) {- let r = t.rows.find((e) => e.item_key === n.dataset.reviewKey).candidates.find((t) => t.source === e.value);- n.querySelectorAll("input[type=\"radio\"]").forEach((e) => {+ if (!(i.busy || !Ze(h()).includes(e.value))) {+ for (let t of m()) {+ let r = n.rows.find((e) => e.item_key === t.dataset.reviewKey).candidates.find((t) => t.source === e.value);+ t.querySelectorAll("input[type=\"radio\"]").forEach((e) => {e.checked = e.value === r.candidate_key;- }), i.choices.set(n.dataset.reviewKey, r.candidate_key);+ }), i.choices.set(t.dataset.reviewKey, r.candidate_key);}k.textContent = `已选择 ${e.value},点击通过所选采用。`;}@@ -1769,46 +1231,46 @@ function Tn(e, t) {}F.forEach((e) => e());}- async function R(n, r) {+ async function R(t, r) {if (i.busy || !m().length) return;let a = m().map((e) => ({key: e.dataset.reviewKey,payload: {- ...t.payload(e),- status: n+ ...n.payload(e),+ status: t}}));- if (n === "approved" && t.metadata && a.some((e) => !e.payload.candidate_key)) {+ if (t === "approved" && n.metadata && a.some((e) => !e.payload.candidate_key)) {k.textContent = "请先为所选的多来源候选选择来源。", m().find((e) => !e.querySelector("input[type=\"radio\"]:checked"))?.querySelector("input[type=\"radio\"]")?.focus();return;}- i.busy = !0, k.textContent = `正在处理 0 / ${a.length}`, l(r, !0);+ i.busy = !0, k.textContent = `正在处理 0 / ${a.length}`, c(r, !0);let o = [...e.querySelectorAll("button,input")], s = o.map((e) => e.getAttribute("aria-disabled"));o.forEach((e) => e.setAttribute("aria-disabled", "true"));- let c = (e) => {+ let l = (e) => {e instanceof KeyboardEvent && e.key === "Tab" || (e.preventDefault(), e.stopImmediatePropagation());};- e.addEventListener("click", c, !0), e.addEventListener("keydown", c, !0);- let u = 0, d = await Cn(a, async (e) => {+ e.addEventListener("click", l, !0), e.addEventListener("keydown", l, !0);+ let u = 0, d = await Xe(a, async (e) => {try {- return await t.submit(e);+ return await n.submit(e);} finally {- u++, t.active() && (k.textContent = `正在处理 ${u} / ${a.length}`);+ u++, n.active() && (k.textContent = `正在处理 ${u} / ${a.length}`);}}, (e) => {- i.selected.delete(e), i.errors.delete(e), t.applied(e);- }, t.active);- if (i.busy = !1, e.removeEventListener("click", c, !0), e.removeEventListener("keydown", c, !0), o.forEach((e, t) => {+ i.selected.delete(e), i.errors.delete(e), n.applied(e);+ }, n.active);+ if (i.busy = !1, e.removeEventListener("click", l, !0), e.removeEventListener("keydown", l, !0), o.forEach((e, t) => {let n = s[t];n === null ? e.removeAttribute("aria-disabled") : e.setAttribute("aria-disabled", n);- }), l(r, !1), !t.active()) return;- t.notify(`已${n === "approved" ? "通过" : "拒绝"} ${d.completed} 项${d.failures.length ? `,${d.failures.length} 项未完成` : ""}`), d.failures.forEach((e) => i.errors.set(e.key, e.message));+ }), c(r, !1), !n.active()) return;+ n.notify(`已${t === "approved" ? "通过" : "拒绝"} ${d.completed} 项${d.failures.length ? `,${d.failures.length} 项未完成` : ""}`), d.failures.forEach((e) => i.errors.set(e.key, e.message));let f = e.parentElement;- t.refresh(), f?.querySelector(".reviewbulktoolbar button")?.focus({ preventScroll: !0 });+ n.refresh(), f?.querySelector(".reviewbulktoolbar button")?.focus({ preventScroll: !0 });}- L(), yn(e);+ L(), Ke(e);}-function En(e, t, n = 1) {+function $e(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;@@ -1828,15 +1290,15 @@ function En(e, t, n = 1) {t];}-function Dn(e, t) {+function et(e, t) {return Math.max(1, Math.ceil(e / t));}-function On(e, t) {+function tt(e, t) {return Math.min(Math.max(1, Math.floor(e) || 1), t);}-function kn(e, t, n) {+function nt(e, t, n) {if (t <= 1) return "";- let r = En(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 = $e(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>@@ -1845,10 +1307,10 @@ function kn(e, t, n) {}//#endregion//#region src/native-image.ts-function An(e, t, n, r) {+function rt(e, t, n, r) {return e > 0 && t > 0 && e === n && t === r;}-function jn(e, t, n, r, i = 1) {+function it(e, t, n, r, i = 1) {let a = Number.isFinite(i) && i > 0 ? i : 1;e /= a, t /= a;let o = [@@ -1864,206 +1326,8 @@ function jn(e, t, n, r, i = 1) {};}//#endregion-//#region src/avatar-picker.tsx-var Mn = {- gfriends: "图库",- history: "用过的"-};-function Nn({ kind: e, id: n, name: r, onPicked: i }) {- let a = K(null), o = K(null), s = K(null), [c, l] = G(null), [u, d] = G(""), [f, p] = G(""), [m, h] = G(""), [g, _] = G(!1);- qt(() => {- if (!g || c) return;- let t = new AbortController();- return Mt(`/api/avatar-choices?kind=${e}&id=${n}`, t.signal).then(l).catch((e) => {- t.signal.aborted || d(jt(e));- }), () => t.abort();- }, [- g,- c,- e,- n- ]), qt(() => {- t(o.current);- }, [g, c]);- let v = () => {- _(!0), a.current?.showModal();- }, y = () => {- _(!1), a.current?.close();- }, b = async (e, t) => {- p(t), d("");- try {- await e(), y(), l(null), i();- } catch (e) {- d(jt(e));- } finally {- p("");- }- }, x = (t) => b(() => Nt("/api/avatar-pick", {- kind: e,- id: n,- ref: t.ref- }), t.ref), S = () => b(() => Nt("/api/avatar-pick", {- kind: e,- id: n,- url: m.trim()- }), "url"), C = async (t) => b(async () => {- let r = await fetch(`/api/avatar-pick?kind=${e}&id=${n}&name=${encodeURIComponent(t.name)}`, {- method: "POST",- credentials: "same-origin",- body: t- });- if (!r.ok) {- let e = await r.json().catch(() => null);- throw Error(e?.error || `请求失败(${r.status})`);- }- }, "file"), w = c?.choices || [], T = (c?.matched_names || []).filter((e) => e !== r), E = c ? T.length ? `${r}:图库里按「${T.join("」「")}」找到的。` : w.length ? `${r}:换上的那张留在本机,随时能换回来。` : `${r}:图库里没有这个名字,用下面两种方式换。` : "正在找可用的图…", D = !!c && c.index_stale && !w.some((e) => e.source === "gfriends");- return /* @__PURE__ */ q("div", {- class: "avatarpick",- children: [/* @__PURE__ */ q("button", {- type: "button",- class: "avatarpick-open",- onClick: v,- "aria-haspopup": "dialog",- "aria-label": `更换${r}的头像`,- title: "更换头像",- children: /* @__PURE__ */ q("svg", {- viewBox: "0 0 24 24",- "aria-hidden": "true",- children: /* @__PURE__ */ q("use", { href: "#i-plus" })- })- }), /* @__PURE__ */ q("dialog", {- ref: a,- class: "geist-modal avatarpick-popover",- "aria-label": "更换头像",- onCancel: y,- onClick: (e) => {- e.target === a.current && y();- },- children: [/* @__PURE__ */ q("div", {- class: "avatarpick-head",- children: [- /* @__PURE__ */ q("span", {- class: "avatarpick-mark",- "aria-hidden": "true",- children: /* @__PURE__ */ q("svg", {- viewBox: "0 0 24 24",- children: /* @__PURE__ */ q("use", { href: "#i-user-round" })- })- }),- /* @__PURE__ */ q("div", {- class: "avatarpick-headtext",- children: [- /* @__PURE__ */ q("div", {- class: "avatarpick-title",- children: [/* @__PURE__ */ q("h3", { children: "更换头像" }), !!w.length && /* @__PURE__ */ q("span", {- class: "geist-badge",- children: [w.length, " 张可选"]- })]- }),- /* @__PURE__ */ q("p", { children: E }),- D && /* @__PURE__ */ q("p", {- class: "avatarpick-note",- children: "图库索引还没取过,只能从用过的图里选。"- }),- u && /* @__PURE__ */ q("p", {- class: "avatarpick-error",- role: "alert",- children: u- })- ]- }),- /* @__PURE__ */ q("button", {- type: "button",- class: "avatarpick-close",- onClick: y,- "aria-label": "关闭",- children: /* @__PURE__ */ q("svg", {- viewBox: "0 0 24 24",- "aria-hidden": "true",- children: /* @__PURE__ */ q("use", { href: "#i-x" })- })- })- ]- }), /* @__PURE__ */ q("div", {- class: "avatarpick-panel",- children: [/* @__PURE__ */ q("div", {- class: "avatarpick-gridwrap",- children: /* @__PURE__ */ q("div", {- class: "avatarpick-grid",- role: "listbox",- "aria-label": "候选头像",- ref: o,- children: w.map((t) => /* @__PURE__ */ q("button", {- type: "button",- role: "option",- "aria-selected": t.current,- disabled: !!f,- class: `avatarpick-cell${t.current ? " current" : ""}`,- title: `${Mn[t.source] || t.source} · ${t.label}` + (t.width ? ` · ${t.width}×${t.height}` : "") + (t.found_by ? ` · 按「${t.found_by}」找到` : ""),- onClick: () => x(t),- children: [- /* @__PURE__ */ q("img", {- loading: "lazy",- alt: "",- src: `/avatar-choice?kind=${e}&id=${n}&ref=${encodeURIComponent(t.ref)}`- }),- /* @__PURE__ */ q("span", { children: t.label }),- t.current && /* @__PURE__ */ q("b", { children: "在用" })- ]- }, t.ref))- })- }), /* @__PURE__ */ q("div", {- class: "avatarpick-actions",- children: [- /* @__PURE__ */ q("button", {- type: "button",- class: "geist-button",- disabled: !!f,- onClick: () => s.current?.click(),- children: "从本机选图片"- }),- /* @__PURE__ */ q("input", {- ref: s,- type: "file",- accept: "image/png,image/jpeg",- hidden: !0,- onChange: (e) => {- let t = e.currentTarget.files?.[0];- e.currentTarget.value = "", t && C(t);- }- }),- /* @__PURE__ */ q("div", {- class: "avatarpick-url",- children: [/* @__PURE__ */ q("input", {- type: "url",- class: "geist-input",- value: m,- placeholder: "https://…",- "aria-label": "图片地址",- onInput: (e) => h(e.currentTarget.value)- }), /* @__PURE__ */ q("button", {- type: "button",- class: "geist-button",- disabled: !m.trim() || !!f,- onClick: S,- children: "用这个地址"- })]- })- ]- })]- })]- })]- });-}-function Pn(e, t) {- ye(/* @__PURE__ */ q(Nn, { ...t }), e);-}-function Fn(e) {- ye(null, e);-}-//#endregion//#region src/entity-skeleton.ts-function In(e, t, n) {+function at(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>@@ -2077,29 +1341,29 @@ function In(e, t, n) {}//#endregion//#region src/board-skeleton.ts-var J = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Y = () => `${J("80%")}${J("48%")}`, X = (e, t) => e.repeat(t), Ln = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${J("45%")}</b><small class="board-stat-footer">${J("60%")}</small></div>`).join("")}</div>`, Rn = (e, t = "skeleton-tabs") => `<div class="${t}">${e.map((e) => `<span>${e}</span>`).join("")}</div>`, zn = (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>`, Bn = (e) => `<section class="board-radial-card"><header><span>${e}</span><b>${J()}</b></header><div class="board-rings skeleton-rings"><span class="skeleton skeleton-ring"></span></div><div class="skeleton-lines">${Y()}</div></section>`, Z = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${X(Y(), 3)}</div></section>`, Vn = (e) => `<button class="fbtn" type="button" disabled>${e}</button>`, Hn = (e) => `<div class="fsechead" data-collapse-toolbar><h3>关注列表</h3><span class="fmeta">${J("100px")}</span><div class="followtoolbaractions"><button class="fbtn primary followcheckall" disabled>${p("refresh-cw")}<span data-collapse-label>检查全部</span></button><div class="iconswitch" data-board-segments="true"><label>${p("layout-grid")}</label><label>${p("table")}</label></div><span class="fmanagesort" data-collapse-field>${p("sort")}${s([["checked", "检查时间"]], "checked", {+var K = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, q = () => `${K("80%")}${K("48%")}`, J = (e, t) => e.repeat(t), ot = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${K("45%")}</b><small class="board-stat-footer">${K("60%")}</small></div>`).join("")}</div>`, st = (e, t = "skeleton-tabs") => `<div class="${t}">${e.map((e) => `<span>${e}</span>`).join("")}</div>`, ct = (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>`, lt = (e) => `<section class="board-radial-card"><header><span>${e}</span><b>${K()}</b></header><div class="board-rings skeleton-rings"><span class="skeleton skeleton-ring"></span></div><div class="skeleton-lines">${q()}</div></section>`, Y = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${J(q(), 3)}</div></section>`, ut = (e) => `<button class="fbtn" type="button" disabled>${e}</button>`, dt = (e) => `<div class="fsechead" data-collapse-toolbar><h3>关注列表</h3><span class="fmeta">${K("100px")}</span><div class="followtoolbaractions"><button class="fbtn primary followcheckall" disabled>${f("refresh-cw")}<span data-collapse-label>检查全部</span></button><div class="iconswitch" data-board-segments="true"><label>${f("layout-grid")}</label><label>${f("table")}</label></div><span class="fmanagesort" data-collapse-field>${f("sort")}${o([["checked", "检查时间"]], "checked", {label: "关注列表排序",attr: "disabled"-})}</span><button class="fbtn fmanagedir" disabled>${p("arrow-down")}</button>${e ? "" : Vn(p("chevron-up") + "<span data-collapse-label>全部收起</span>")}</div></div>`, Un = () => `<div class="fsource frow"><span class="fchannelcheck">${J("18px")}</span><b>${J("85%")}</b><span class="fprovider">${J("54px")}</span><span class="fmeta fchecked">${J("40px")}</span><span class="fsourceactions"><span class="skeleton skeleton-icon"></span><span class="skeleton skeleton-icon"></span></span></div>`, Wn = () => `<details class="fauthor" open><summary class="fauthorhead"><span class="favatar skeleton"></span><b>${J("90px")}</b><span class="skeleton skeleton-icon"></span><span class="fmeta">${J("40px")}</span><span class="board-author-actions"><button type="button" class="fbtn small" data-follow-author-select disabled>${p("check-check")}<span data-author-select-label>全选</span></button><span class="skeleton skeleton-icon"></span></span></summary><div class="fauthorsources">${X(Un(), 3)}</div></details>`;-function Gn() {- 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">${J("85%")}${J("65%")}${X(Y(), 4)}</div></aside></div></div>`;+})}</span><button class="fbtn fmanagedir" disabled>${f("arrow-down")}</button>${e ? "" : ut(f("chevron-up") + "<span data-collapse-label>全部收起</span>")}</div></div>`, ft = () => `<div class="fsource frow"><span class="fchannelcheck">${K("18px")}</span><b>${K("85%")}</b><span class="fprovider">${K("54px")}</span><span class="fmeta fchecked">${K("40px")}</span><span class="fsourceactions"><span class="skeleton skeleton-icon"></span><span class="skeleton skeleton-icon"></span></span></div>`, pt = () => `<details class="fauthor" open><summary class="fauthorhead"><span class="favatar skeleton"></span><b>${K("90px")}</b><span class="skeleton skeleton-icon"></span><span class="fmeta">${K("40px")}</span><span class="board-author-actions"><button type="button" class="fbtn small" data-follow-author-select disabled>${f("check-check")}<span data-author-select-label>全选</span></button><span class="skeleton skeleton-icon"></span></span></summary><div class="fauthorsources">${J(ft(), 3)}</div></details>`;+function mt() {+ 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">${K("85%")}${K("65%")}${J(q(), 4)}</div></aside></div></div>`;}-function Kn(e, t = {}) {+function ht(e, n = {}) {let r = "";- if (e === "/stats") r = `<div class="insightpage statsdashboard"><header class="insighttoolbar">${J("38%")}</header>${Ln([+ if (e === "/stats") r = `<div class="insightpage statsdashboard"><header class="insighttoolbar">${K("38%")}</header>${ot(["馆藏视频","看过","内容标签","使用空间"- ])}<section class="insightdetail"><div class="insightdetailbody"><div class="board-inventory-charts">${Bn("网盘与本地")}${Bn("媒体库")}</div></div></section>${Z("内容标签")}</div>`;- else if (e === "/taste") r = `<div class="tastepage"><header class="tastehead">${zn(["浏览器记录", "Peach 内部"], "insightswitch")}${J("24%")}</header><div class="tastestate"></div>${Ln([+ ])}<section class="insightdetail"><div class="insightdetailbody"><div class="board-inventory-charts">${lt("网盘与本地")}${lt("媒体库")}</div></div></section>${Y("内容标签")}</div>`;+ else if (e === "/taste") r = `<div class="tastepage"><header class="tastehead">${ct(["浏览器记录", "Peach 内部"], "insightswitch")}${K("24%")}</header><div class="tastestate"></div>${ot(["浏览记录","口味维度","浏览候选","私有导出"- ], "tastesummaries")}<section class="tastehero"><div class="insightcopy"><span>浏览器画像</span><div class="skeleton skeleton-radar"></div></div><div class="tastebars skeleton-lines">${X(Y(), 4)}</div></section>${Z("口味分析")}<div class="board-activity-charts">${Z("浏览活动")}${Z("时间分布")}</div>${Z("标签")}</div>`;+ ], "tastesummaries")}<section class="tastehero"><div class="insightcopy"><span>浏览器画像</span><div class="skeleton skeleton-radar"></div></div><div class="tastebars skeleton-lines">${J(q(), 4)}</div></section>${Y("口味分析")}<div class="board-activity-charts">${Y("浏览活动")}${Y("时间分布")}</div>${Y("标签")}</div>`;else if (e === "/follow-manage") {- let e = t.followLayout === "table", i = e ? `<div class="ftableframe"><div class="ftablewrap"><table class="ftable"><thead><tr>${[+ let e = n.followLayout === "table", i = e ? `<div class="ftableframe"><div class="ftablewrap"><table class="ftable"><thead><tr>${["选择","创作者","来源",@@ -2107,7 +1371,7 @@ function Kn(e, t = {}) {"状态","上次检查","操作"- ].map((e) => `<th>${e === "选择" ? "<label>" + n("disabled aria-label=\"全选本页来源\"") + "</label>" : e}</th>`).join("")}</tr></thead><tbody>${X(`<tr>${[+ ].map((e) => `<th>${e === "选择" ? "<label>" + t("disabled aria-label=\"全选本页来源\"") + "</label>" : e}</th>`).join("")}</tr></thead><tbody>${J(`<tr>${["20px","90px","120px",@@ -2115,37 +1379,37 @@ function Kn(e, t = {}) {"40px","100px","60px"- ].map((e) => `<td>${J(e)}</td>`).join("")}</tr>`, 6)}</tbody></table></div></div>` : `<div class="board-follow-list">${X(Wn(), 4)}</div>`;+ ].map((e) => `<td>${K(e)}</td>`).join("")}</tr>`, 6)}</tbody></table></div></div>` : `<div class="board-follow-list">${J(pt(), 4)}</div>`;r = `<div class="follow followmanage"><div class="fmanageoverview">${["关注创作者","启用来源","检查失败","未看更新"- ].map((e) => `<div><span>${e}</span><b>${J()}</b></div>`).join("")}</div>${zn([+ ].map((e) => `<div><span>${e}</span><b>${K()}</b></div>`).join("")}</div>${ct(["关注列表","添加关注","来源和凭证"- ], "follow-workspace-switch")}<div class="fmain"><section class="fsec" data-follow-workspace-panel="list">${Hn(e)}<div class="board-follow-selection"${e ? " hidden" : ""}><label>${n("disabled")}全选本页</label></div><div class="frows fsources" data-layout="${e ? "table" : "default"}">${i}<div class="followpagefooter"><div class="followpageinfo">${J("120px")}${J("100px")}</div></div></div></section></div></div>`;- } else if (e === "/configuration") r = `<div class="configpage">${Rn([+ ], "follow-workspace-switch")}<div class="fmain"><section class="fsec" data-follow-workspace-panel="list">${dt(e)}<div class="board-follow-selection"${e ? " hidden" : ""}><label>${t("disabled")}全选本页</label></div><div class="frows fsources" data-layout="${e ? "table" : "default"}">${i}<div class="followpagefooter"><div class="followpageinfo">${K("120px")}${K("100px")}</div></div></div></section></div></div>`;+ } else if (e === "/configuration") r = `<div class="configpage">${st(["通用","媒体","网络与访问","更新与维护"- ])}<section class="configfieldset"><div class="geist-fieldset-content"><h3 class="geist-fieldset-title">开机自启</h3><div class="skeleton-lines">${X(`<div class="skeleton-setting">${J("35%")}<span class="skeleton skeleton-toggle"></span></div>`, 3)}</div></div><footer class="geist-fieldset-footer">${J("100px")}</footer></section></div>`;+ ])}<section class="configfieldset"><div class="geist-fieldset-content"><h3 class="geist-fieldset-title">开机自启</h3><div class="skeleton-lines">${J(`<div class="skeleton-setting">${K("35%")}<span class="skeleton skeleton-toggle"></span></div>`, 3)}</div></div><footer class="geist-fieldset-footer">${K("100px")}</footer></section></div>`;else if (e === "/activity") r = `<div class="activitypage">${["正在进行","被挡下的","最近完成"- ].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">${J("35%")}${Y()}</div></article></div></section>`).join("")}</div>`;- else if (e === "/duplicates") r = `<div class="review"><div class="collection-summary">${J("38%")}</div><div class="fsechead dupactions"><h3>批量保留</h3>${J("40%")}</div>${X(`<section class="dupgroup"><div class="duphead">${J("45%")}</div><div class="duplist">${X(`<div class="duprow"><span class="dupcover skeleton"></span><span class="dupmarks">${J()}</span><span class="dupname">${J("90%")}</span>${J()}${J()}${J()}<span class="duppath">${J("70%")}</span></div>`, 2)}</div></section>`, 2)}</div>`;- else if (e === "/quality-goals") r = `<div class="quality-workspace"><div class="collection-summary"><strong>待升级</strong>${J("20%")}</div><div class="qualitylist">${X(`<article class="qualityitem"><span class="qualitycover skeleton"></span><div class="qualitybody skeleton-lines">${Y()}</div><footer class="qualityactions">${J("80%")}</footer></article>`, 6)}</div></div>`;- else if (e === "/playlists") r = `<section class="playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate skeleton-lines"><span>新播放列表</span>${J("200px")}</div></header><div class="playlistcards">${X(`<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">${Y()}</div></div></article>`, 6)}</div></section>`;+ ].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">${K("35%")}${q()}</div></article></div></section>`).join("")}</div>`;+ else if (e === "/duplicates") r = `<div class="review"><div class="collection-summary">${K("38%")}</div><div class="fsechead dupactions"><h3>批量保留</h3>${K("40%")}</div>${J(`<section class="dupgroup"><div class="duphead">${K("45%")}</div><div class="duplist">${J(`<div class="duprow"><span class="dupcover skeleton"></span><span class="dupmarks">${K()}</span><span class="dupname">${K("90%")}</span>${K()}${K()}${K()}<span class="duppath">${K("70%")}</span></div>`, 2)}</div></section>`, 2)}</div>`;+ else if (e === "/quality-goals") r = `<div class="quality-workspace"><div class="collection-summary"><strong>待升级</strong>${K("20%")}</div><div class="qualitylist">${J(`<article class="qualityitem"><span class="qualitycover skeleton"></span><div class="qualitybody skeleton-lines">${q()}</div><footer class="qualityactions">${K("80%")}</footer></article>`, 6)}</div></div>`;+ else if (e === "/playlists") r = `<section class="playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate skeleton-lines"><span>新播放列表</span>${K("200px")}</div></header><div class="playlistcards">${J(`<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">${q()}</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>${r}</div></div>`;}//#endregion//#region src/catalog-onboarding.ts-var qn = [+var gt = ["loc","creator","performer",@@ -2163,16 +1427,16 @@ var qn = ["jav","thumb"];-function Jn() {+function _t() {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 Yn(e, t) {+async function vt(e, t) {let n = new URLSearchParams();- for (let t of qn) e[t] && n.set(t, e[t]);+ for (let t of gt) 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 || [],@@ -2183,9 +1447,9 @@ async function Yn(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function Xn({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: i = !1, online: a = !1 } = {}) {+function yt({ kind: e = "catalog", filtered: t = !1, jav: r = !1, configurable: i = !1, online: a = !1 } = {}) {let o = i ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", s = "<a class=\"geist-button" + (!i || a ? " primary" : "") + "\" href=\"/follow-manage?tab=add\">添加关注</a>";- if (t || n) return r("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });+ if (t || r) return n("search", r ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", r ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });if (e !== "catalog") {let t = (a ? {tags: "标签",@@ -2198,13 +1462,13 @@ function Xn({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:agencies: "事务所",series: "系列"}[e] || "资料";- return r(e === "tags" ? "tags" : "user-round", "还没有" + t, a ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: a ? s : o + s });+ return n(e === "tags" ? "tags" : "user-round", "还没有" + t, a ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: a ? s : o + s });}- return r("play", "还没有视频", "添加媒体文件夹或关注来源,开始建立你的馆藏。", { actions: o + s });+ return n("play", "还没有视频", "添加媒体文件夹或关注来源,开始建立你的馆藏。", { actions: o + s });}//#endregion//#region src/sidebar.ts-function Zn(e) {+function bt(e) {return ["/","/unseen",@@ -2214,23 +1478,23 @@ function Zn(e) {"/junk-files"].includes(e) || /^\/(item|mix|parts|editions)\//.test(e) || /^\/playlists\/\d+\/\d+$/.test(e) || /^\/(performers|studios|creators|series|agencies)\/.+/.test(e);}-function Qn(e, t) {+function xt(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 $n(e) {+function St(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/management.ts-function er(e) {+function Ct(e) {return e.filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location);}-function tr(e, t) {+function wt(e, t) {return t.filter((t) => e.some((e) => e.location === t));}-function nr() {+function Tt() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],@@ -2275,7 +1539,7 @@ function nr() {<div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" type="button" disabled>检查文件</button></div></div></section></div>`;}-function rr(e, t = !1, n = !1) {+function Et(e, t = !1, n = !1) {if (t || n) return "";let r = "<svg class=\"externalmark\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-external-link\"></use></svg>";return `<details class="taste-history-guide"${e ? " open" : ""}>@@ -2289,57 +1553,57 @@ function rr(e, t = !1, n = !1) {<button type="button" class="geist-button taste-guide-skip">跳过</button></div></details>`;}-var ir = "peach-taste-guide-dismissed";-function ar(e, t) {- u(e, ".taste-history-guide", "taste-guide-collapse");+var Dt = "peach-taste-guide-dismissed";+function Ot(e, t) {+ l(e, ".taste-history-guide", "taste-guide-collapse");let n = e.querySelector(".taste-history-guide");n?.querySelector(".taste-guide-skip")?.addEventListener("click", () => {- t.setItem(ir, "1"), n.remove();+ t.setItem(Dt, "1"), n.remove();});}//#endregion//#region src/resource-sync.ts-var Q = (e = 0) => Number(e).toLocaleString(), or = {+var X = (e = 0) => Number(e).toLocaleString(), kt = {local: "本地磁盘",115: "115",pikpak: "PikPak"-}, sr = (t) => c(e[t] ?? "database"), cr = (e, t, n) => `<article class="board-plain-stat resourcestat">+}, At = (t) => s(e[t] ?? "database"), Z = (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 lr(e, t) {+function jt(e, t) {let n = e.cache || {files: 0,bytes: 0}, r = !!(e.missing || n.files);- return `<div class="cleanupstats resourcestats">${(e.sources || []).map((e) => cr(`<span class="board-stat-tile resourcestat-tile">${sr(e.location)}</span>${or[e.location] || "媒体来源"}<span class="resourcestat-state ${e.online ? "online" : "offline"}">${e.online ? "可访问" : "离线,已跳过"}</span>`, e.online ? `${Q(e.missing)} 项` : "—", [e.online ? `找不到文件 · 已检查 ${Q(e.checked)} 项` : `馆藏中有 ${Q(e.total)} 项`, e.unreadable ? `${Q(e.unreadable)} 项读取失败,已跳过` : ""].filter(Boolean).join(" · "))).join("")}- ${cr("待移入回收站", `${Q(e.missing)} 项`, "")}- ${cr("可清理的缓存", `${Q(n.files)} 个`, n.files ? t(n.bytes) : "")}</div>- ${r ? o(`将把找不到文件的 ${Q(e.missing)} 项馆藏记录移入回收站,并清理 ${Q(n.files)} 个闲置缓存。`, { label: "清理内容" }) : ""}+ return `<div class="cleanupstats resourcestats">${(e.sources || []).map((e) => Z(`<span class="board-stat-tile resourcestat-tile">${At(e.location)}</span>${kt[e.location] || "媒体来源"}<span class="resourcestat-state ${e.online ? "online" : "offline"}">${e.online ? "可访问" : "离线,已跳过"}</span>`, e.online ? `${X(e.missing)} 项` : "—", [e.online ? `找不到文件 · 已检查 ${X(e.checked)} 项` : `馆藏中有 ${X(e.total)} 项`, e.unreadable ? `${X(e.unreadable)} 项读取失败,已跳过` : ""].filter(Boolean).join(" · "))).join("")}+ ${Z("待移入回收站", `${X(e.missing)} 项`, "")}+ ${Z("可清理的缓存", `${X(n.files)} 个`, n.files ? t(n.bytes) : "")}</div>+ ${r ? a(`将把找不到文件的 ${X(e.missing)} 项馆藏记录移入回收站,并清理 ${X(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 ur(e) {+function Mt(e) {return ["small","sleeve","preview"].includes(String(e)) ? "small" : "big";}-function dr(e) {+function Nt(e) {return {- javLayout: ur(e.javLayout),- javImage: fr(e.javLayout === "preview" ? "thumbnail" : e.javImage)+ javLayout: Mt(e.javLayout),+ javImage: Q(e.javLayout === "preview" ? "thumbnail" : e.javImage)};}-function fr(e) {+function Q(e) {return e === "thumbnail" ? "thumbnail" : "cover";}-function pr(e, t) {- return e.is_jav && e.code && e.has_cover && (fr(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";+function Pt(e, t) {+ return e.is_jav && e.code && e.has_cover && (Q(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";}-function mr(e, t) {+function Ft(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;@@ -2350,78 +1614,52 @@ function mr(e, t) {left: l(c)};}-function hr(e, t) {+function It(e, t) {e.querySelectorAll("img[data-jav-image]").forEach((e) => {- let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !!(n && (fr(t) === "cover" || !r)), a = i ? n : r;+ let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !!(n && (Q(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 gr = {+var Lt = {+ "avatar-picker": { react: "avatar-picker" },"library-processing": { react: "library-processing" },scraping: { react: "scraping" },"quality-goals": { react: "quality-goals" },- configuration: {- load: an,- component: on- },+ configuration: { react: "configuration" },activity: { react: "activity" }-}, _r = () => Object.keys(gr), $ = /* @__PURE__ */ new Map();-async function vr(e, t, n, r = {}) {- let i = gr[e];+}, Rt = () => Object.keys(Lt), $ = /* @__PURE__ */ new Map();+async function zt(e, t, n, r = {}) {+ let i = Lt[e];if (!i) throw Error(`未注册的 island:${String(e)}`);- Sr(t);- let a = {- controller: new AbortController(),- painted: !1- };- if ($.set(t, a), "react" in i) return br(i, t, n, a, r);- let o;+ Ht(t);+ let a = { controller: new AbortController() };+ $.set(t, a);+ let o = (await import("/dist/peach-react.js")).pages[i.react];try {- o = {- data: await i.load(n, a.controller.signal),- error: ""- };- } catch (e) {+ await o.prefetch(n, a.controller.signal);+ } catch {if (a.controller.signal.aborted) return;- o = {- data: null,- error: jt(e)- };}- if (!yr(t, a, r)) return;- let s = {- ...n,- ...o+ if (!Bt(t, a, r)) return;+ let s = t.ownerDocument.createElement("div");+ s.className = "peach-react", t.append(s);+ let c = o.mount(s, n);+ a.dispose = () => {+ c.unmount(), s.remove();};- ye(F(i.component, s), t);-}-function yr(e, t, n) {- return $.get(e) === t ? n.isCurrent && !n.isCurrent() ? ($.delete(e), !1) : (e.textContent = "", t.painted = !0, !0) : !1;}-async function br(e, t, n, r, i) {- let a = (await import("/dist/peach-react.js")).pages[e.react];- try {- await a.prefetch(n, r.controller.signal);- } catch {- if (r.controller.signal.aborted) return;- }- if (!yr(t, r, i)) return;- let o = t.ownerDocument.createElement("div");- o.className = "peach-react", t.append(o);- let s = a.mount(o, n);- r.dispose = () => {- s.unmount(), o.remove();- };+function Bt(e, t, n) {+ return $.get(e) === t ? n.isCurrent && !n.isCurrent() ? ($.delete(e), !1) : (e.textContent = "", !0) : !1;}-var xr = (e) => !!e && $.has(e);-function Sr(e) {- for (let t of [...$.keys()]) (t === e || e.contains(t)) && Cr(t);+var Vt = (e) => !!e && $.has(e);+function Ht(e) {+ for (let t of [...$.keys()]) (t === e || e.contains(t)) && Ut(t);}-function Cr(e) {+function Ut(e) {let t = $.get(e);- t && (t.controller.abort(), $.delete(e), t.dispose ? t.dispose() : t.painted && ye(null, e));+ t && (t.controller.abort(), $.delete(e), t.dispose?.());}//#endregion-export { ir as TASTE_GUIDE_KEY, St as activityChartsHtml, Kn as boardPageSkeleton, Se as boundedPreference, Xn as catalogEmptyHtml, Yn as catalogSuggestions, On as clampPage, nr as cleanupSkeletonHtml, er as cloudLocations, tr as cloudPreferenceLocations, vn as createReviewSelection, gt as creatorSankeyHtml, Gn as detailSkeletonHtml, De as distributionChart, Jn as emptyCatalogLayout, In as entitySkeletonHtml, ln as followJobProgress, xn as groupReviewRows, fn as identityEvidenceHtml, je as initBoardControls, xr as islandMounted, _r as islandNames, pr as javImageKind, sn as jobActivityHtml, Ee as jobProgressHtml, An as matchesFaceSource, Pn as mountAvatarPicker, vr as mountIsland, we as mountNumberSetting, jn as nativeImageFit, fr as normalizeJavImage, ur as normalizeJavLayout, dr as normalizeJavPreferences, Dn as pageCount, kn as paginationHtml, mr as panelFrame, be as preferredDirection, ke as radarChart, yt as radialCardHtml, Oe as rankedChart, lr as resourceScanHtml, dn as reviewImageHtml, gn as selectGroup, mn as selectRange, hn as selectionSummary, Zn as sidebarHasCatalogContent, Tt as sidebarSectionHtml, $n as sidebarTagCounts, Te as statCardBody, Ae as syncBoardRange, hr as syncJavImages, Ce as syncNumberSetting, _n as syncSelectionToolbar, Qn as syncSidebarSurface, rr as tasteHistoryGuideHtml, Ot as transitionTheme, Fn as unmountAvatarPicker, Sr as unmountIsland, yn as updateReviewSticky, cn as watchJob, Ct as wireActivityCharts, _t as wireCreatorSankey, Le as wireExpandableRanks, Ie as wireGrowingCharts, bt as wireRadialCards, pn as wireReviewPictures, Tn as wireReviewSelection, Et as wireSidebarGroups, ar as wireTasteHistoryGuide };+export { Dt as TASTE_GUIDE_KEY, Oe as activityChartsHtml, ht as boardPageSkeleton, g as boundedPreference, yt as catalogEmptyHtml, vt as catalogSuggestions, tt as clampPage, Tt as cleanupSkeletonHtml, Ct as cloudLocations, wt as cloudPreferenceLocations, Ge as createReviewSelection, we as creatorSankeyHtml, mt as detailSkeletonHtml, S as distributionChart, _t as emptyCatalogLayout, at as entitySkeletonHtml, Fe as followJobProgress, Je as groupReviewRows, Re as identityEvidenceHtml, E as initBoardControls, Vt as islandMounted, Rt as islandNames, Pt as javImageKind, Ne as jobActivityHtml, x as jobProgressHtml, rt as matchesFaceSource, zt as mountIsland, v as mountNumberSetting, it as nativeImageFit, Q as normalizeJavImage, Mt as normalizeJavLayout, Nt as normalizeJavPreferences, et as pageCount, nt as paginationHtml, Ft as panelFrame, m as preferredDirection, w as radarChart, Ee as radialCardHtml, C as rankedChart, jt as resourceScanHtml, Le as reviewImageHtml, Ue as selectGroup, Ve as selectRange, He as selectionSummary, bt as sidebarHasCatalogContent, Ae as sidebarSectionHtml, St as sidebarTagCounts, b as statCardBody, T as syncBoardRange, It as syncJavImages, _ as syncNumberSetting, We as syncSelectionToolbar, xt as syncSidebarSurface, Et as tasteHistoryGuideHtml, Me as transitionTheme, Ht as unmountIsland, Ke as updateReviewSticky, Pe as watchJob, ke as wireActivityCharts, Te as wireCreatorSankey, M as wireExpandableRanks, j as wireGrowingCharts, De as wireRadialCards, ze as wireReviewPictures, Qe as wireReviewSelection, je as wireSidebarGroups, Ot as wireTasteHistoryGuide };