Peach: Local-first video metadata scraper and media manager.
refactor(web): 后台任务的启动与跟踪收进 useBackgroundJob
longmeidao8df715b868c5
diff --git a/docs/FRONTEND.md b/docs/FRONTEND.mdindex c2ba3ed2a..ec2b67f17 100644--- a/docs/FRONTEND.md+++ b/docs/FRONTEND.md@@ -248,12 +248,11 @@ BoardUI 的 `chart-*` 档。点一个内容标签是「回目录并按它筛选那一条换进列表,而不是把整页重取一遍——用户可能正在填同一屏的另一张卡;失败只在卡内留一句原因,缓存里的上一份不动,刚填的内容也不清。同一张卡上互斥的动作共用一个`isPending`,进另一个动作前 `reset()` 掉上一个的结果,屏幕上不会同时挂着两次的结论。- 跟后台任务时 `refetchInterval` 按状态开关(`running` 才问),并且**首屏读到的旧结果- 不冒充新结果**:任务关掉页面照样在跑,状态里常年躺着上一趟的回执,只有本次启动过、- 或者本次亲眼见过它在跑,终态才画成结果、发一次 toast。启动成功时先把启动请求回的- `running` 快照 `setQueryData` 换进任务键,再 `invalidateQueries`:只重读的话,重读回来- 之前缓存里的上一趟终态会被当成这一趟的回执,这一趟在重读前跑完时结果也会被它顶掉。- 用例要用手动放行的 `pending()`(`frontend/test/react/render.tsx`)拖住那次重读。+ 跟后台任务一律用 `frontend/src/react/background-job.ts` 的 `useBackgroundJob`,不在页面里+ 自己拼 `useQuery` + `useMutation` + effect:按 `running` 开关轮询、首屏读到的旧终态+ 不冒充新结果、启动时先换进这一趟的快照再重读,这三条时序在 hook 里定死,由+ `frontend/test/react/background-job.test.tsx` 拖住重读逐条验。页面只交任务键、读取与启动+ 函数和 `onFinish`;缓存的是整张卡时再交 `jobOf` / `withJob`。3. `frontend/src/react/entry.tsx`:在 `pages` 里登记 `{prefetch, mount: mounter(Page)}`,签名写进 `bundle.d.ts` 的 `ReactPages`;`frontend/src/islands.ts` 里 `IslandContracts`取 bundle 的 props 类型,`REGISTRY` 登记 `{react: '<page>'}`。diff --git a/docs/REUSE.md b/docs/REUSE.mdindex 8a9fa9269..7cfa0c626 100644--- a/docs/REUSE.md+++ b/docs/REUSE.md@@ -16,7 +16,7 @@- `frontend/src/number-setting.ts` 共用带单位输入、可选 Switch、整数边界和锚定错误提示。关闭保留上次合法值,异步读取后切换也恢复实际值;业务保存仍由调用方负责。- 筛选内层复用 `filterChipHtml`、`sortControlsHtml`、`collectionHeaderHtml`,首页、关注和资料页提供查询键及读数。横向行复用 `wireHorizontalScroller`,拖动、滚轮、渐隐与卸载清理归同一个生命周期。- 选择范围与工具条复用 `frontend/src/selection.ts`;馆藏、关注与复核保持各自身份、可见顺序、默认选择及写入权限。批量失败项的保留由业务负责。-- React 设置分区复用 `frontend/src/react/settings/section.tsx`:`Section` 提供标题、卡片与表单外壳,`Footer`、`Note`、`ErrorText`、`FactList`、`Progress`、`Disclosure` 补齐 BoardUI 注册表没有的底栏、行内提示、读数、进度与折叠。`use-action.ts` 的 `useAction` 负责提交互斥、卸载取消与原位错误,`busyProps` 写忙态。密码字段校验与服务端回执仍归各分区,不自动重试写入。+- React 设置分区复用 `frontend/src/react/settings/section.tsx`:`Section` 提供标题、卡片与表单外壳,`Footer`、`Note`、`ErrorText`、`FactList`、`Progress`、`Disclosure` 补齐 BoardUI 注册表没有的底栏、行内提示、读数、进度与折叠。`use-action.ts` 的 `useAction` 负责提交互斥、卸载取消与原位错误,`busyProps` 写忙态。密码字段校验与服务端回执仍归各分区,不自动重试写入。后台任务(口味读取、封面采集、amane 桥重建、关注检查与查找)共用 `frontend/src/react/background-job.ts` 的 `useBackgroundJob`。- 增量列表复用 `wireLoadMore` 的请求锁、原位重试与卸载清理;页面注入读取、追加、代际判定和可用条件。首页页码在读取成功后推进,照片沿用随机种子,关注合并分组。显式页码继续使用 `pagination.ts`。- 在图上框一块由 `frontend/src/crop-geometry.ts`(纯算术)加 `react/crop/crop-frame.tsx`(一张图、四块压暗、一个可拖可缩的框)承担,换头像与裁封面共用;坐标一律是源图像素、右下开区间,显示像素只在进出这一层时换算。不引 `react-image-crop` 那类库:要的就是一个能拖能缩的矩形,换到的只有把手样式,代价是一条新依赖和一套它自己的坐标约定。详情页仍是遗留壳,所以裁封面做成 island 从 `web/app.js` 挂(ADR-0031),交互不写两遍。- 后台任务复用 `watchJob`、`followJobProgress` 默认面板及 `jobActivityHtml` 的真实计数/未知总量显示;关注、来源扫描、链接检查和扫描采集共用渲染。业务保留启动、终态回执和结果面板,不新增轮询循环。diff --git a/docs/TESTING.md b/docs/TESTING.mdindex 941f95e94..a5d5ab63c 100644--- a/docs/TESTING.md+++ b/docs/TESTING.md@@ -58,7 +58,7 @@ Windows 的路径、挂载、托盘、证书、进程编码、更新、认证及- 用户定过的设计决定写 `frontend/e2e/design.test.ts`,读 `getComputedStyle`;布局与运行期不变量进 `smoke.test.ts`。- 源码文本断言只减不增,由 `tests/test_source_assertion_ratchet.py` 按文件计数拦截;触碰到旧断言时按上面两条换掉,并把基线改小。- 先列失败模式再写用例。上面后两处缺陷只在「请求还在路上」时出现,假 fetch 在同一个 `act` 里就回话会把它们盖住;异步流程至少放一条用手动放行的 Promise 卡住中间态的用例。-- 修缺陷先写一条会失败的用例,看它红了再修;没有行为缺口的改动(文案、纯样式)不补回归用例。+- 修缺陷先写一条会失败的用例,看它红了再修;修完按同一写法搜一遍别处(上面那处时序缺陷在另外三个页面还有同样的写法,就是这样搜出来的),有同类就收成共用实现。没有行为缺口的改动(文案、纯样式)不补回归用例。- 不写同义反复的用例:断言常量等于它自己、mock 掉被测对象再断言 mock 被调用,都证明不了什么。## 正式入口diff --git a/frontend/src/react/background-job.ts b/frontend/src/react/background-job.tsnew file mode 100644index 000000000..8b53730ab--- /dev/null+++ b/frontend/src/react/background-job.ts@@ -0,0 +1,87 @@+/* 后台任务:点一下起一趟,服务端在后台跑,页面按状态轮询,跟到终态报一次回执。+ *+ * 两条时序在这里定死,页面不各写一份:+ * - **首屏读到的旧终态不冒充新结果**。任务关掉页面照样在跑,状态里常年躺着上一趟的回执;+ * 只有本次启动过、或者本次见过它在跑,终态才交给 `onFinish`、落进 `outcome`。+ * - **启动成功时先把启动请求回的 `running` 快照换进缓存,再重读**。只重读的话,重读回来+ * 之前缓存里的上一趟终态会被当成这一趟的回执;这一趟在重读前就跑完时,结果也会被它顶掉。 */+import { useEffect, useRef, useState } from 'react';+import { useMutation, useQuery, type QueryKey } from '@tanstack/react-query';++import { queryClient } from './query';++export interface JobState { status?: string }++/** 在跑时两秒一次,和活动页同一个节律。 */+export const JOB_RUNNING_POLL_MS = 2000;++export interface BackgroundJobOptions<Job extends JobState, Args, Data> {+ queryKey: QueryKey;+ queryFn: (context: { signal: AbortSignal }) => Promise<Data>;+ start: (args: Args) => Promise<Job>;+ /** 缓存里存的是整张卡、任务只占一格时:任务在哪一格,新快照怎么换进去。 */+ jobOf?: (data: Data) => Job | undefined;+ withJob?: (data: Data | undefined, job: Job) => Data | undefined;+ /** 闲着时多久问一次。任务可能从别的页面或上一次会话里起来的页面才需要;默认不问。 */+ idlePollMs?: number;+ onStarted?: (started: Job) => void;+ onError?: (cause: unknown) => void;+ /** 本次跟完的那一趟到了终态,只调一次。 */+ onFinish?: (job: Job) => void;+}++const itself = <Job, Data>(data: Data) => data as unknown as Job;+const replaced = <Job, Data>(_data: Data | undefined, job: Job) => job as unknown as Data;++export function useBackgroundJob<Job extends JobState, Args = void, Data = Job>(+ options: BackgroundJobOptions<Job, Args, Data>,+) {+ const { queryKey, jobOf = itself<Job, Data>, withJob = replaced<Job, Data>, idlePollMs } = options;+ /** 本次是不是在跟一趟:启动过,或者本次见过它在跑。 */+ const [tracking, setTracking] = useState(false);+ /** 本次跟完的那一趟。首屏读到的旧终态不算,它不会走到这里。 */+ const [outcome, setOutcome] = useState<Job | null>(null);+ /* 回调由页面每次渲染新建,放进 ref 读最新的一份:进 effect 依赖的话,每画一遍都要重跑。 */+ const hooks = useRef(options);+ useEffect(() => { hooks.current = options });++ const query = useQuery({+ queryKey,+ queryFn: ({ signal }) => hooks.current.queryFn({ signal }),+ refetchInterval: (current) => {+ const data = current.state.data;+ return data !== undefined && jobOf(data)?.status === 'running' ? JOB_RUNNING_POLL_MS : (idlePollMs ?? false);+ },+ });+ const start = useMutation({+ mutationFn: (args: Args) => hooks.current.start(args),+ onSuccess: (started) => {+ setTracking(true);+ setOutcome(null);+ hooks.current.onStarted?.(started);+ queryClient.setQueryData<Data>(queryKey, (data) => withJob(data, started));+ /* `exact`:别的键可能以同一段开头,按前缀失效会把它们一起推倒重来。 */+ void queryClient.invalidateQueries({ queryKey, exact: true });+ },+ onError: (cause) => hooks.current.onError?.(cause),+ });++ const job = query.data === undefined ? undefined : jobOf(query.data);+ const running = job?.status === 'running';+ useEffect(() => {+ if (!job) return;+ if (job.status === 'running') {+ if (!tracking) setTracking(true);+ return;+ }+ if (!tracking) return;+ setTracking(false);+ setOutcome(job);+ hooks.current.onFinish?.(job);+ }, [job, tracking]);++ /** 收起本次的结果,比如用户关掉结果卡,或者结果已经登记完。 */+ const dismiss = () => setOutcome(null);++ return { query, job, running, outcome, start, dismiss };+}diff --git a/frontend/src/react/follow-manage/add-source.tsx b/frontend/src/react/follow-manage/add-source.tsxindex d393eafe9..8226148d5 100644--- a/frontend/src/react/follow-manage/add-source.tsx+++ b/frontend/src/react/follow-manage/add-source.tsx@@ -20,16 +20,16 @@ import { Input } from '@/components/base/input/input';import { cx } from '@/utils/cx';import { errorMessage } from '../../api';+import { useBackgroundJob } from '../background-job';import { cardClass } from '../components/card';import { LoadingDots } from '../components/loading-dots';import { Note } from '../components/note';import { Progress } from '../components/progress';-import { queryClient } from '../query';import { busyProps } from '../settings/use-action';import { ExternalLink, FieldLabel, Help } from '../settings/section';import {addSource, fetchResolveJob, fetchSuggestions, FOLLOW_RESOLVE_KEY, followSuggestKey,- jobPollInterval, reloadFollowManage, startCheck, startResolve, SUGGEST_DEBOUNCE_MS,+ reloadFollowManage, startCheck, startResolve, SUGGEST_DEBOUNCE_MS,type CredentialData, type FollowData, type ResolveCandidate, type ResolveJob, type ResolveRow,} from './follow-manage';import { SourceIcon } from './source-view';@@ -201,8 +201,6 @@ export function AddSource({ data, credentials, readOnly, toast, openCredentialsconst [hidden, setHidden] = useState<ReadonlySet<string>>(new Set<string>());const [unpicked, setUnpicked] = useState<ReadonlySet<string>>(new Set<string>());const [problem, setProblem] = useState('');- const [tracking, setTracking] = useState(false);- const [outcome, setOutcome] = useState<ResolveJob | null>(null);const [added, setAdded] = useState(0);/* 每一下输入都排一次建议,但只发一次请求:250ms 内继续敲就换掉上一次的排期。@@ -224,37 +222,17 @@ export function AddSource({ data, credentials, readOnly, toast, openCredentialsgroup.items.map((item) => ({ value: item.value, label: item.matched || item.value, group: group.label })))), [suggest.data]);- const job = useQuery({+ const { job, running, outcome, start: resolve, dismiss } = useBackgroundJob<ResolveJob, string>({queryKey: FOLLOW_RESOLVE_KEY,queryFn: ({ signal }) => fetchResolveJob(signal),- refetchInterval: (query) => jobPollInterval(query.state.data),- });- const running = job.data?.status === 'running';-- const resolve = useMutation({- mutationFn: (text: string) => startResolve([text]),- onSuccess: (started) => {- setTracking(true);- setOutcome(null);- setUnpicked(new Set());- /* 同检查那一趟:先把这一趟的快照换进缓存,上一趟的终态才不会在重读回来之前冒充结果,- 这一趟在重读之前就跑完时也不会被那份旧快照顶掉。 */- queryClient.setQueryData(FOLLOW_RESOLVE_KEY, started);- void queryClient.invalidateQueries({ queryKey: FOLLOW_RESOLVE_KEY, exact: true });- },+ start: (text) => startResolve([text]),+ onStarted: () => setUnpicked(new Set()),onError: (cause) => setProblem(errorMessage(cause)),+ onFinish: (state) => {+ if (state.status === 'failed') setProblem(state.error || '查找失败');+ },});- useEffect(() => {- const state = job.data;- if (!state) return;- if (state.status === 'running') { if (!tracking) setTracking(true); return }- if (!tracking) return;- setTracking(false);- setOutcome(state);- if (state.status === 'failed') setProblem(state.error || '查找失败');- }, [job.data, tracking]);-const search = (text: string) => {const query = text.trim();if (!query || running || resolve.isPending) return;@@ -318,7 +296,7 @@ export function AddSource({ data, credentials, readOnly, toast, openCredentialsvoid reloadFollowManage();if (result.failures.length) { setProblem(result.failures.join(';')); return }setProblem('');- setOutcome(null);+ dismiss();toast(`已添加 ${result.sources.length} 个关注来源`);},onError: (cause) => setProblem(errorMessage(cause)),@@ -355,9 +333,9 @@ export function AddSource({ data, credentials, readOnly, toast, openCredentials</div><div aria-live="polite" className="flex flex-col gap-3 empty:hidden">- {running || resolve.isPending ? (job.data?.total- ? <Progress label={job.data.message || `查找中:${job.data.checked || 0}/${job.data.total}`}- value={job.data.checked || 0} max={job.data.total} />+ {running || resolve.isPending ? (job?.total+ ? <Progress label={job.message || `查找中:${job.checked || 0}/${job.total}`}+ value={job.checked || 0} max={job.total} />: <LoadingDots label={byName ? BY_NAME_HINT : BY_LINK_HINT} />) : null}{problem ? <Note tone="error" title="这一次没有完成">{problem}</Note> : null}</div>@@ -378,7 +356,7 @@ export function AddSource({ data, credentials, readOnly, toast, openCredentials{...busyProps(register.isPending)}onClick={() => register.mutate(picked)}>{`添加选中(${picked.length})`}</Button><Button variant="secondary" size="small"- onClick={() => setOutcome(null)}>关闭</Button>+ onClick={() => dismiss()}>关闭</Button>{register.isPending ? (<span role="status" className="text-body-2-regular text-text-secondary">{`添加中… ${added}/${picked.length}`}diff --git a/frontend/src/react/follow-manage/follow-manage.ts b/frontend/src/react/follow-manage/follow-manage.tsindex 1fbd9a1e3..b79480f71 100644--- a/frontend/src/react/follow-manage/follow-manage.ts+++ b/frontend/src/react/follow-manage/follow-manage.ts@@ -493,11 +493,6 @@ export function dropSources(ids: number[]): void {export const reloadFollowManage = (): Promise<void> =>queryClient.invalidateQueries({ queryKey: FOLLOW_MANAGE_KEY, exact: true });-/** 后台任务在跑的时候两秒一次,和别的后台任务同一个节律;停了就不再问。 */-export const JOB_POLL_MS = 2000;-export const jobPollInterval = (job: { status?: string } | undefined): number | false =>- (job?.status === 'running' ? JOB_POLL_MS : false);-/** 敲字建议的防抖。这一路要打一次站点的公开补全,250ms 让连着敲的人停手之后才打一枪。 */export const SUGGEST_DEBOUNCE_MS = 250;diff --git a/frontend/src/react/follow-manage/source-list.tsx b/frontend/src/react/follow-manage/source-list.tsxindex fea222632..4c399b85e 100644--- a/frontend/src/react/follow-manage/source-list.tsx+++ b/frontend/src/react/follow-manage/source-list.tsx@@ -12,7 +12,7 @@ import {RiArrowDownLine, RiArrowDownSLine, RiArrowUpLine, RiArrowUpSLine, RiCheckDoubleLine,RiDeleteBinLine, RiLayoutGridLine, RiRefreshLine, RiRssLine, RiTableLine,} from '@remixicon/react';-import { useMutation, useQuery } from '@tanstack/react-query';+import { useMutation } from '@tanstack/react-query';import {createColumnHelper, flexRender, getCoreRowModel, getPaginationRowModel, useReactTable,type RowSelectionState, type SortingState,@@ -31,6 +31,7 @@ import { ChevronSortDown } from '@/components/foundations/icons/chevrons';import { errorMessage } from '../../api';import { DOTS, paginationRange } from '../../pagination';+import { useBackgroundJob } from '../background-job';import { cardClass } from '../components/card';import { DataTableFrame } from '../components/data-table-frame';import { EmptyState } from '../components/empty-state';@@ -38,12 +39,11 @@ import { LoadingDots } from '../components/loading-dots';import { Note } from '../components/note';import { Progress } from '../components/progress';import { SelectionDock } from '../components/selection-dock';-import { queryClient } from '../query';import { busyProps } from '../settings/use-action';import {authorGroups, authorName, checkedText, checkEvidenceGap, checkFailures, checkSummary,COLUMN_SORT, dropSources, fetchCheckJob, fetchPending, FOLLOW_CHECK_KEY, isBroken,- jobPollInterval, LAYOUTS, markItem, PAGE_SIZES, pageWindow, patchSource, removeSource,+ LAYOUTS, markItem, PAGE_SIZES, pageWindow, patchSource, removeSource,reloadFollowManage, selectionState, setSourceEnabled, SORT_DEFAULT_DIR, SORT_OPTIONS,sortLabel, startCheck, tableRows, toggleGroup,type CheckJob, type FollowData, type FollowSource, type Layout, type SortDir, type SortKey,@@ -242,49 +242,22 @@ export function SourceList(props: SourceListProps) {const counts = data.counts || {};const [collapsed, setCollapsed] = useState<ReadonlySet<string>>(new Set<string>());const [toolbar, compact] = useCompactToolbar();- /** 本次是不是在跟一趟检查:点过检查,或者本次见过它在跑。 */- const [tracking, setTracking] = useState(false);- /** 本次跟完的那一趟。首屏读到的旧终态不算,它不会走到这里。 */- const [outcome, setOutcome] = useState<CheckJob | null>(null);const [problem, setProblem] = useState('');const groups = useMemo(() => authorGroups(sources, sort, dir, aliases), [sources, sort, dir, aliases]);const rows = useMemo(() => tableRows(groups, sort, dir, aliases), [groups, sort, dir, aliases]);- const job = useQuery({+ const { job, running, outcome, start: check } = useBackgroundJob<CheckJob, number[]>({queryKey: FOLLOW_CHECK_KEY,queryFn: ({ signal }) => fetchCheckJob(signal),- refetchInterval: (query) => jobPollInterval(query.state.data),- });- const running = job.data?.status === 'running';-- const check = useMutation({- mutationFn: (ids: number[]) => startCheck(ids),- onSuccess: (started) => {- setTracking(true);- setOutcome(null);- /* 起的那一次回的就是这一趟的快照,先换进缓存再重读:缓存里还躺着上一趟的终态,重读- 回来之前它会先被当成这一趟的回执报出去。 */- queryClient.setQueryData(FOLLOW_CHECK_KEY, started);- void queryClient.invalidateQueries({ queryKey: FOLLOW_CHECK_KEY, exact: true });- },+ start: (ids) => startCheck(ids),onError: (cause) => setProblem(errorMessage(cause)),+ onFinish: (state) => {+ void reloadFollowManage();+ toast(state.status === 'failed' ? (state.error || '检查失败') : checkSummary(state));+ },});- useEffect(() => {- const state = job.data;- if (!state) return;- if (state.status === 'running') {- if (!tracking) setTracking(true);- return;- }- if (!tracking) return;- setTracking(false);- setOutcome(state);- void reloadFollowManage();- toast(state.status === 'failed' ? (state.error || '检查失败') : checkSummary(state));- }, [job.data, tracking, toast]);-const startChecking = (ids: number[]) => {if (running || check.isPending) return;setProblem('');@@ -559,11 +532,11 @@ export function SourceList(props: SourceListProps) {{/* 这一趟在后台跑,关掉页面还在继续,所以状态留在页面上而不是只让按钮转一下。 */}<div aria-live="polite" className="flex flex-col gap-3 empty:hidden">- {running ? (job.data?.total- ? <Progress label={job.data.message- || `${job.data.older ? '抓取历史' : '检查更新'}:已完成 ${job.data.checked || 0}/${job.data.total} 个来源`}- value={job.data.checked || 0} max={job.data.total} />- : <LoadingDots label={job.data?.message || '正在准备检查任务'} />) : null}+ {running ? (job?.total+ ? <Progress label={job.message+ || `${job.older ? '抓取历史' : '检查更新'}:已完成 ${job.checked || 0}/${job.total} 个来源`}+ value={job.checked || 0} max={job.total} />+ : <LoadingDots label={job?.message || '正在准备检查任务'} />) : null}{problem ? <Note tone="error" title="操作未完成">{problem}</Note> : null}{failures.length ? (<Note tone="error" title={`${failures.length} 个来源检查失败`}diff --git a/frontend/src/react/scraping/scraping-page.tsx b/frontend/src/react/scraping/scraping-page.tsxindex 9e5b3eaf1..1457ede28 100644--- a/frontend/src/react/scraping/scraping-page.tsx+++ b/frontend/src/react/scraping/scraping-page.tsx@@ -4,13 +4,9 @@* - **写操作是 `useMutation`**,不进 Query 的缓存节律。保存成功后用 `setQueryData` 把服务端* 回的那一条换进列表,而不是把整页重取一遍:用户可能正在填另一张卡,重取会把它一起重画。* 失败只在卡内留一句原因,缓存里的上一份数据不动。- * - **后台任务是按状态开关的 `refetchInterval`**:跑起来两秒一次,停了就不问。轮询跟着组件走,- * 遗留壳换页时卸根,它自己就停了。- *- * 还有一条只在有后台任务的页面才成立:**首屏读到的旧结果不冒充新结果**。抓封面关掉页面- * 照样在跑,所以任务状态里常年躺着上一趟的回执;它是那一刻的快照,铺开会被读成刚刚跑完。- * 只有本次启动过、或者本次亲眼见过它在跑,终态才画成结果并发回执。 */-import { useEffect, useRef, useState } from 'react';+ * - **后台任务走 `useBackgroundJob`**:跑起来两秒一次,停了就不问,首屏读到的旧终态不冒充+ * 新结果。轮询跟着组件走,遗留壳换页时卸根,它自己就停了。 */+import { useRef, useState } from 'react';import type { ChangeEvent, FormEvent } from 'react';import { RiArrowRightLine } from '@remixicon/react';import { useMutation, useQuery } from '@tanstack/react-query';@@ -24,6 +20,7 @@ import { Input } from '@/components/base/input/input';import { Select, SelectItem } from '@/components/base/select/select';import { apiSend, errorMessage } from '../../api';+import { useBackgroundJob } from '../background-job';import type { ScrapingProps } from '../bundle';import { LoadingDots } from '../components/loading-dots';import { Note } from '../components/note';@@ -36,7 +33,7 @@ import {import { busyProps } from '../settings/use-action';import {AMANE_BRIDGE_CHECK_URL, AMANE_BRIDGE_KEY, AMANE_BRIDGE_REBUILD_URL,- checkText, COOKIE_TEXT_LIMIT, COVER_JOB_KEY, COVER_POLL_MS, fetchAmaneBridge, fetchCoverJob,+ checkText, COOKIE_TEXT_LIMIT, COVER_JOB_KEY, fetchAmaneBridge, fetchCoverJob,fetchSources, SCRAPING_CHECK_URL, SCRAPING_COVER_URL, SCRAPING_KEY, SCRAPING_SETTINGS_URL,type AmaneBridge, type Check, type CoverJob, type ScrapingData, type Source,} from './scraping';@@ -225,43 +222,15 @@ function SourceCard({ source, toast }: { source: Source } & ScrapingProps) {/** 按番号补一张高清封面。这一趟在后台跑,页面上留状态。 */function CoverCard({ toast }: ScrapingProps) {const [code, setCode] = useState('');- /** 本次是不是在跟一趟:启动过,或者本次见过它在跑。 */- const [tracking, setTracking] = useState(false);- /** 本次跟完的那一趟。首屏读到的旧终态不算,它不会走到这里。 */- const [outcome, setOutcome] = useState<CoverJob | null>(null);-- const job = useQuery({+ const { running, outcome, start } = useBackgroundJob<CoverJob>({queryKey: COVER_JOB_KEY,queryFn: ({ signal }) => fetchCoverJob(signal),- refetchInterval: (query) => (query.state.data?.status === 'running' ? COVER_POLL_MS : false),- });- const start = useMutation({- mutationFn: () => apiSend<CoverJob>(SCRAPING_COVER_URL, { code }),- onSuccess: (started) => {- setTracking(true);- setOutcome(null);- /* 启动的那一次回的就是这一趟的快照,先换进缓存再重读:缓存里还躺着上一趟的终态,重读- 回来之前它会先被当成这一趟的回执报出去;这一趟在重读之前就跑完时,也会被它顶掉。 */- queryClient.setQueryData(COVER_JOB_KEY, started);- void queryClient.invalidateQueries({ queryKey: COVER_JOB_KEY });+ start: () => apiSend<CoverJob>(SCRAPING_COVER_URL, { code }),+ onFinish: (state) => {+ if (state.status === 'complete') toast(state.result || '封面采集完成');},});- const status = job.data?.status ?? 'idle';- const running = status === 'running';- useEffect(() => {- const state = job.data;- if (!state) return;- if (state.status === 'running') {- if (!tracking) setTracking(true);- return;- }- if (!tracking) return;- setTracking(false);- setOutcome(state);- if (state.status === 'complete') toast(state.result || '封面采集完成');- }, [job.data, tracking, toast]);-const submit = (event: FormEvent<HTMLFormElement>) => {event.preventDefault();if (running || start.isPending || !code.trim()) return;@@ -297,41 +266,22 @@ function CoverCard({ toast }: ScrapingProps) {/** amane 桥:钉在哪个 revision、venv 建没建、上游最新到哪。升级是人读 diff 之后改清单,* 这张卡只做两件事:问一下上游最新版,和按钉住的版本重建 venv。 */function AmaneBridgeCard({ toast }: ScrapingProps) {- const [tracking, setTracking] = useState(false);- const [outcome, setOutcome] = useState<CoverJob | null>(null);- const bridge = useQuery({+ const { query: bridge, running, outcome, start: rebuild } = useBackgroundJob<CoverJob, void, AmaneBridge>({queryKey: AMANE_BRIDGE_KEY,queryFn: ({ signal }) => fetchAmaneBridge(signal),- refetchInterval: (query) => (query.state.data?.job.status === 'running' ? COVER_POLL_MS : false),+ start: () => apiSend<CoverJob>(AMANE_BRIDGE_REBUILD_URL, {}),+ // 这个键缓存的是整张卡,这一趟的快照只换进 `job` 那一格。+ jobOf: (card) => card.job,+ withJob: (card, started) => card && { ...card, job: started },+ onFinish: (state) => {+ if (state.status === 'complete') toast(state.result || 'amane 桥已重建');+ },});const check = useMutation({mutationFn: () => apiSend<{ latest: string }>(AMANE_BRIDGE_CHECK_URL, {}),});- const rebuild = useMutation({- mutationFn: () => apiSend<CoverJob>(AMANE_BRIDGE_REBUILD_URL, {}),- onSuccess: (started) => {- setTracking(true);- setOutcome(null);- // 同封面那一趟;这个键缓存的是整张卡,这一趟的快照只换进 `job` 那一格。- queryClient.setQueryData<AmaneBridge>(AMANE_BRIDGE_KEY, (current) => current && { ...current, job: started });- void queryClient.invalidateQueries({ queryKey: AMANE_BRIDGE_KEY });- },- });const data = bridge.data;- const job = data?.job;- const running = job?.status === 'running';- useEffect(() => {- if (!job) return;- if (job.status === 'running') {- if (!tracking) setTracking(true);- return;- }- if (!tracking) return;- setTracking(false);- setOutcome(job);- if (job.status === 'complete') toast(job.result || 'amane 桥已重建');- }, [job, tracking, toast]);if (!data) {return bridge.errordiff --git a/frontend/src/react/scraping/scraping.ts b/frontend/src/react/scraping/scraping.tsindex 29ff26b76..9d5a310b4 100644--- a/frontend/src/react/scraping/scraping.ts+++ b/frontend/src/react/scraping/scraping.ts@@ -70,9 +70,6 @@ export interface AmaneBridge {job: CoverJob;}-/** 在跑的时候两秒问一次,和别的后台任务同一个节律;停了就不再问。 */-export const COVER_POLL_MS = 2000;-/** Netscape Cookie 文件的上限。再大的多半不是 Cookie 文件,先拦住再说。 */export const COOKIE_TEXT_LIMIT = 256 * 1024;diff --git a/frontend/src/react/taste/taste-page.tsx b/frontend/src/react/taste/taste-page.tsxindex 6d06d32d2..a77afa955 100644--- a/frontend/src/react/taste/taste-page.tsx+++ b/frontend/src/react/taste/taste-page.tsx@@ -12,7 +12,7 @@** 「读取浏览器历史」是后台任务,关掉页面照样在跑。首屏读到的旧终态不冒充新结果:只有本次* 点过读取、或者本次亲眼见过它在跑,终态才发回执并让 dashboard 重取(ADR-0031)。 */-import { useEffect, useRef, useState } from 'react';+import { useRef, useState } from 'react';import type { ChangeEvent } from 'react';import {RiArrowDownSLine, RiArrowRightSLine, RiCompassLine, RiDatabase2Line, RiDeleteBinLine,@@ -33,6 +33,7 @@ import { Select, SelectItem } from '@/components/base/select/select';import { cx } from '@/utils/cx';import { errorMessage } from '../../api';+import { useBackgroundJob } from '../background-job';import type { TasteProps } from '../bundle';import { cardClass } from '../components/card';import { EmptyState } from '../components/empty-state';@@ -48,7 +49,7 @@ import { Disclosure } from '../settings/section';import { busyProps } from '../settings/use-action';import { ActivityCharts, CreatorSankey, RankedBars, TasteRadar } from './charts';import {- DEFAULT_WINDOW, fetchTaste, fetchTasteJob, importTasteExport, jobPollInterval, rankDetail,+ DEFAULT_WINDOW, fetchTaste, fetchTasteJob, IDLE_POLL_MS, importTasteExport, rankDetail,rankShares, removeTasteSource, startTasteRefresh, tasteDate, tasteHours, tasteKey,TASTE_REFRESH_KEY, TASTE_WINDOWS, type RankRow, type TasteData, type TasteJob,} from './taste';@@ -385,10 +386,6 @@ export function TastePage(props: TasteProps) {const { onSignal, navigate, toast, avatarInner, onboarding } = props;const [range, setRange] = useState(DEFAULT_WINDOW);const [evidence, setEvidence] = useState('browser');- /** 本次是不是在跟一趟读取:点过读取,或者本次见过它在跑。 */- const [tracking, setTracking] = useState(false);- /** 本次跟完的那一趟。首屏读到的旧终态不算,它不会走到这里。 */- const [outcome, setOutcome] = useState<TasteJob | null>(null);const file = useRef<HTMLInputElement>(null);const taste = useQuery({@@ -398,20 +395,16 @@ export function TastePage(props: TasteProps) {收走再放回来,而服务端那一层缓存多半立刻就回来了。 */placeholderData: keepPreviousData,});- const job = useQuery({+ const { job, running, outcome, start: refresh } = useBackgroundJob<TasteJob>({queryKey: TASTE_REFRESH_KEY,queryFn: ({ signal }) => fetchTasteJob(signal),- refetchInterval: (query) => jobPollInterval(query.state.data),- });- const refresh = useMutation({- mutationFn: () => startTasteRefresh(range),- onSuccess: (started) => {- setTracking(true);- setOutcome(null);- /* 起的那一次回的就是这一趟的快照,先换进缓存再重读:缓存里还躺着上一趟的终态,重读- 回来之前它会先被当成这一趟的回执报出去;这一趟在重读之前就跑完时,也会被它顶掉。 */- queryClient.setQueryData(TASTE_REFRESH_KEY, started);- void queryClient.invalidateQueries({ queryKey: TASTE_REFRESH_KEY });+ start: () => startTasteRefresh(range),+ /* 读取可以从引导页或上一次会话里起来,闲着也隔一会儿问一次。 */+ idlePollMs: IDLE_POLL_MS,+ onFinish: (state) => {+ if (state.status === 'failed') return;+ void queryClient.invalidateQueries({ queryKey: ['taste'] });+ toast('已更新口味分析');},});const load = useMutation({@@ -427,23 +420,6 @@ export function TastePage(props: TasteProps) {},});- const running = job.data?.status === 'running';- useEffect(() => {- const state = job.data;- if (!state) return;- if (state.status === 'running') {- if (!tracking) setTracking(true);- return;- }- if (!tracking) return;- setTracking(false);- setOutcome(state);- if (state.status !== 'failed') {- void queryClient.invalidateQueries({ queryKey: ['taste'] });- toast('已更新口味分析');- }- }, [job.data, tracking, toast]);-const pickFile = (event: ChangeEvent<HTMLInputElement>) => {const chosen = event.currentTarget.files?.[0];event.currentTarget.value = '';@@ -506,15 +482,15 @@ export function TastePage(props: TasteProps) {done={!!(summary.history_sources || data.updated_at)} />{/* 这一趟在后台跑,关掉页面还在继续,所以状态留在页面上而不是只让按钮转一下。 */}<div aria-live="polite" className="flex flex-col gap-3 empty:hidden">- {running ? (job.data?.total+ {running ? (job?.total? <div className="flex flex-col gap-1.5">- <Progress label={job.data.message || '正在读取浏览记录'}- value={job.data.checked || 0} max={job.data.total} />+ <Progress label={job.message || '正在读取浏览记录'}+ value={job.checked || 0} max={job.total} /><p className="text-caption-1-regular text-text-secondary">- {`${job.data.message || '正在读取浏览记录'} · ${job.data.checked || 0} / ${job.data.total}`}+ {`${job.message || '正在读取浏览记录'} · ${job.checked || 0} / ${job.total}`}</p></div>- : <LoadingDots label={job.data?.message || '正在读取浏览记录并更新口味分析'} />) : null}+ : <LoadingDots label={job?.message || '正在读取浏览记录并更新口味分析'} />) : null}{load.isPending ? <LoadingDots label="正在导入历史文件" /> : null}{problem ? <Note tone="error">{problem}</Note> : null}</div>diff --git a/frontend/src/react/taste/taste.ts b/frontend/src/react/taste/taste.tsindex fdea34e04..53a0c8fdd 100644--- a/frontend/src/react/taste/taste.ts+++ b/frontend/src/react/taste/taste.ts@@ -168,11 +168,8 @@ export async function importTasteExport(file: File): Promise<{ dashboard: TasteDreturn payload as { dashboard: TasteData };}-/** 任务在跑时两秒一次,闲着十秒一次——这一趟可以从别的页面或上一次会话里起来。 */-export const RUNNING_POLL_MS = 2000;+/** 读取闲着时十秒问一次——这一趟可以从别的页面或上一次会话里起来。 */export const IDLE_POLL_MS = 10_000;-export const jobPollInterval = (job: TasteJob | undefined): number =>- (job?.status === 'running' ? RUNNING_POLL_MS : IDLE_POLL_MS);export const tasteDate = (value: string | null | undefined): string =>(value ? new Date(value).toLocaleDateString('zh-CN') : '—');diff --git a/frontend/test/react/background-job.test.tsx b/frontend/test/react/background-job.test.tsxnew file mode 100644index 000000000..4201dcbb0--- /dev/null+++ b/frontend/test/react/background-job.test.tsx@@ -0,0 +1,147 @@+/* 后台任务的时序:旧终态什么时候算、什么时候不算。+ *+ * 失败模式先列清楚,每条一个用例:+ * - 首屏读到上一趟的终态,把它当成这一趟的回执报出去;+ * - 点下启动、重读回来之前,缓存里上一趟的终态冒充这一趟;+ * - 这一趟在第一次重读之前就跑完,结果被丢掉;+ * - 同一个终态报两次;+ * - 缓存的是整张卡时,换进快照把卡上别的字段冲掉;+ * - 启动失败时,旧终态被当成这一趟的结果。+ *+ * 重读用手动放行的 `pending()` 拖住:假读取当场回话的话,中间那段空档不存在,前两条测不出来。 */+import { act, type ReactElement } from 'react';+import { notifyManager, QueryClientProvider } from '@tanstack/react-query';+import { afterEach, expect, it, vi } from 'vitest';++import { useBackgroundJob } from '../../src/react/background-job';+import { queryClient } from '../../src/react/query';+import { buttonNamed, click, mount, pending, settle } from './render';++afterEach(() => queryClient.clear());++/* Query 默认用 `setTimeout(0)` 派发更新,`settle()` 只等微任务,等不到它;改成当场派发。 */+notifyManager.setScheduler((notify) => notify());++interface Job { status: string; result?: string }+interface Card { name: string; job: Job }+type Answer<T> = T | Promise<T>;++const KEY = ['background-job-test'] as const;+const RUNNING: Job = { status: 'running' };+const STALE: Job = { status: 'complete', result: '上一趟' };++interface Hooks {+ start?: () => Promise<Job>;+ onFinish?: (job: Job) => void;+ onError?: (cause: unknown) => void;+}++const snapshot = (job: Job | undefined, outcome: Job | null, running: boolean) =>+ `job=${job ? `${job.status}:${job.result ?? ''}` : ''};`+ + `outcome=${outcome ? `${outcome.status}:${outcome.result ?? ''}` : ''};running=${running}`;++function Flat({ read, start = async () => RUNNING, onFinish, onError }: { read: () => Answer<Job> } & Hooks) {+ const task = useBackgroundJob<Job>({+ queryKey: KEY, queryFn: async () => read(), start, onFinish, onError,+ });+ return (+ <>+ <p>{snapshot(task.job, task.outcome, task.running)}</p>+ <button type="button" onClick={() => task.start.mutate()}>启动</button>+ </>+ );+}++function Nested({ read, onFinish }: { read: () => Answer<Card> } & Hooks) {+ const task = useBackgroundJob<Job, void, Card>({+ queryKey: KEY, queryFn: async () => read(), start: async () => RUNNING, onFinish,+ jobOf: (card) => card.job,+ withJob: (card, job) => card && { ...card, job },+ });+ return (+ <>+ <p>{`name=${task.query.data?.name ?? ''};${snapshot(task.job, task.outcome, task.running)}`}</p>+ <button type="button" onClick={() => task.start.mutate()}>启动</button>+ </>+ );+}++const open = async (element: ReactElement) => {+ const host = await mount(<QueryClientProvider client={queryClient}>{element}</QueryClientProvider>);+ await settle();+ return host;+};++const reread = () => act(async () => { await queryClient.refetchQueries({ queryKey: KEY }) });++it('首屏读到的上一趟终态不报回执,也不落成这一趟的结果', async () => {+ const onFinish = vi.fn();+ const host = await open(<Flat read={() => STALE} onFinish={onFinish} />);+ expect(host.textContent).toContain('job=complete:上一趟;outcome=;running=false');+ await reread();+ expect(onFinish).not.toHaveBeenCalled();+});++it('首屏就在跑的那一趟算本次在跟:跑完报一次回执', async () => {+ let answer: Job = RUNNING;+ const onFinish = vi.fn();+ const host = await open(<Flat read={() => answer} onFinish={onFinish} />);+ expect(host.textContent).toContain('running=true');++ answer = { status: 'complete', result: '别处起的' };+ await reread();+ await reread();+ expect(onFinish.mock.calls).toEqual([[{ status: 'complete', result: '别处起的' }]]);+ expect(host.textContent).toContain('outcome=complete:别处起的');+});++it('点下启动到重读回来之间,上一趟的终态不冒充这一趟;这一趟在重读前跑完也接得住', async () => {+ let answer: Answer<Job> = STALE;+ const onFinish = vi.fn();+ const host = await open(<Flat read={() => answer} onFinish={onFinish} />);+ const slow = pending<Job>();+ answer = slow.answer;+ await click(buttonNamed('启动', host));+ await settle();+ expect(onFinish).not.toHaveBeenCalled();+ expect(host.textContent).toContain('job=running:;outcome=;running=true');++ // 重读回来时它已经跑完了:缓存里从头到尾没出现过第二个 running。+ await slow.release({ status: 'complete', result: '这一趟' });+ await settle();+ expect(onFinish.mock.calls).toEqual([[{ status: 'complete', result: '这一趟' }]]);+ expect(host.textContent).toContain('outcome=complete:这一趟;running=false');++ answer = { status: 'complete', result: '这一趟' };+ await reread();+ expect(onFinish, '同一个终态只报一次').toHaveBeenCalledTimes(1);+});++it('缓存整张卡时只换任务那一格,卡上别的字段在重读回来前还在', async () => {+ let answer: Answer<Card> = { name: '钉住的版本', job: STALE };+ const onFinish = vi.fn();+ const host = await open(<Nested read={() => answer} onFinish={onFinish} />);+ const slow = pending<Card>();+ answer = slow.answer;+ await click(buttonNamed('启动', host));+ await settle();+ expect(host.textContent).toContain('name=钉住的版本;job=running:;outcome=;running=true');+ expect(onFinish).not.toHaveBeenCalled();++ await slow.release({ name: '钉住的版本', job: { status: 'failed', result: '这一趟' } });+ await settle();+ expect(onFinish.mock.calls).toEqual([[{ status: 'failed', result: '这一趟' }]]);+});++it('启动被拒时交给 onError,旧终态不当成这一趟的结果', async () => {+ const onFinish = vi.fn();+ const onError = vi.fn();+ const refused = new Error('已有一趟在跑');+ const host = await open(<Flat read={() => STALE} onFinish={onFinish} onError={onError}+ start={async () => { throw refused }} />);+ await click(buttonNamed('启动', host));+ await settle();+ expect(onError.mock.calls).toEqual([[refused]]);+ expect(onFinish).not.toHaveBeenCalled();+ expect(host.textContent).toContain('outcome=;running=false');+});diff --git a/frontend/test/react/follow-manage.test.tsx b/frontend/test/react/follow-manage.test.tsxindex 7dc7c3176..250317ad1 100644--- a/frontend/test/react/follow-manage.test.tsx+++ b/frontend/test/react/follow-manage.test.tsx@@ -7,18 +7,19 @@ import { act } from 'react';import { notifyManager, QueryClientProvider } from '@tanstack/react-query';import { afterEach, expect, it, vi } from 'vitest';+import { JOB_RUNNING_POLL_MS } from '../../src/react/background-job';import { queryClient } from '../../src/react/query';import {authorAvatar, authorGroups, authorInitial, authorName, checkSummary, FOLLOW_CHECK_URL,FOLLOW_CREDENTIAL_URL, FOLLOW_CREDENTIALS_URL, FOLLOW_RESOLVE_URL, FOLLOW_SOURCE_URL,- FOLLOW_SUGGEST_URL, FOLLOW_URL, JOB_POLL_MS, pageWindow, prefetchFollowManage,+ FOLLOW_SUGGEST_URL, FOLLOW_URL, pageWindow, prefetchFollowManage,sortLabel, SUGGEST_DEBOUNCE_MS, tableRows,type CheckJob, type CredentialData, type CredentialRow, type FollowData, type FollowSource,type ResolveJob, type SuggestData,} from '../../src/react/follow-manage/follow-manage';import { FollowManagePage } from '../../src/react/follow-manage/follow-manage-page';-import { buttonNamed, choose, click, mountRoot, pending, settle, type } from './render';+import { buttonNamed, choose, click, mountRoot, settle, type } from './render';// 客户端是模块级的单例(所有 React 根共用一个),用例之间不清就互相喂数据。afterEach(() => queryClient.clear());@@ -347,7 +348,7 @@ it('起了检查就两秒一问,停了就不再问', async () => {await settle();const started = polls();- await tick(JOB_POLL_MS);+ await tick(JOB_RUNNING_POLL_MS);await settle();expect(polls()).toBeGreaterThan(started);// 进度条是 SVG,进度写在 `aria-label` 上而不是文字节点里。@@ -355,13 +356,13 @@ it('起了检查就两秒一问,停了就不再问', async () => {.toBe('检查更新:已完成 1/4 个来源');state = done;- await tick(JOB_POLL_MS);+ await tick(JOB_RUNNING_POLL_MS);await settle();expect(props.toast).toHaveBeenCalledWith(expect.stringContaining('新增 3 条'));// 终态之后不再问:轮询关掉了。const settledAt = polls();- await tick(JOB_POLL_MS * 3);+ await tick(JOB_RUNNING_POLL_MS * 3);expect(polls()).toBe(settledAt);});@@ -376,25 +377,6 @@ it('首屏读到的旧终态不冒充这一次的结果', async () => {expect(host.textContent).not.toContain('上一趟的失败');});-it('点下检查到重读回来之间,缓存里上一趟的终态不冒充这一趟的回执', async () => {- const stale = { status: 'done', results: [{ ok: false, error: '上一趟的失败' }] } as CheckJob;- let state: CheckJob | Promise<CheckJob> = stale;- const { host, props } = await open({ check: () => state });- const reread = pending<CheckJob>();- state = reread.answer;- await click(buttonLabelled(host, '检查全部'));- await settle();- // 重读还没回来,但这一趟已经起了:既不该报回执,也不该把上一趟的失败铺成这一趟的。- expect(props.toast).not.toHaveBeenCalled();- expect(host.textContent).not.toContain('上一趟的失败');- expect(host.querySelector('[role="progressbar"]')).not.toBeNull();-- await reread.release({ status: 'done', results: [{ ok: true, added: 2 }] } as CheckJob);- await settle();- expect(props.toast).toHaveBeenCalledTimes(1);- expect(props.toast).toHaveBeenCalledWith(expect.stringContaining('新增 2 条'));-});-it('检查失败逐条说出是哪个站上的谁,缺哪样就往下一样取', async () => {let state: CheckJob = IDLE;const { host, fetcher } = await open({ check: () => state });@@ -647,22 +629,6 @@ it('说得出进度的查找画进度条', async () => {expect(host.querySelector('[role="progressbar"]')?.getAttribute('aria-label')).toBe('查找中:2/5');});-it('点下查找到重读回来之间,上一次的结果不冒充这一次的', async () => {- const job = lookupJob();- job.finish([CANDIDATES]);- const { host } = await open({ resolve: job.resolve }, { tab: 'add' });- const reread = pending<ResolveJob>();- job.set(reread.answer);- await lookUp(host, 'someone else');- expect(host.textContent).not.toContain('kou · Kemono');- expect(host.querySelector('[aria-live] [role="status"]')).not.toBeNull();-- await reread.release({ status: 'complete', results: [{ line: 'someone else', candidates: [] }] } as ResolveJob);- await settle();- expect(host.textContent).toContain('站内没有查到来源');- expect(host.textContent).not.toContain('kou · Kemono');-});-it('查完先列候选、默认勾上,已经关注的列出来但勾不动,点了「添加选中」才登记', async () => {const job = lookupJob();const { host, fetcher } = await open({ resolve: job.resolve }, { tab: 'add' });diff --git a/frontend/test/react/scraping.test.tsx b/frontend/test/react/scraping.test.tsxindex bfb87c8d7..53d8718cb 100644--- a/frontend/test/react/scraping.test.tsx+++ b/frontend/test/react/scraping.test.tsx@@ -12,7 +12,7 @@ import { prefetchScraping } from '../../src/react/scraping/scraping';import type { AmaneBridge, Check, CoverJob, Source } from '../../src/react/scraping/scraping';import {- buttonNamed, click, mount, mountRoot, pending, section, settle, submit, type,+ buttonNamed, click, mount, mountRoot, section, settle, submit, type,} from './render';// 客户端是模块级的单例(所有 React 根共用一个),用例之间不清就互相喂数据。@@ -259,30 +259,6 @@ it('抓封面跟到终态:跑的时候两秒一次,跑完发一次回执就expect(toast).toHaveBeenCalledTimes(1);});-it('点下抓取到重读回来之间,缓存里上一趟的终态不冒充这一趟的回执', async () => {- let state: Reply | Promise<Reply> = { body: { status: 'complete', result: '上一趟的封面' } };- const { host, toast } = await open({- ...quiet(),- 'GET /api/scraping/cover': () => state,- 'POST /api/scraping/cover': () => ({ body: { status: 'running' } }),- });- const reread = pending<Reply>();- state = reread.answer;- await type(host.querySelector<HTMLInputElement>('input[aria-label=馆藏番号]'), 'ABW-232');- await click(buttonNamed('抓取封面', host));- await settle();- // 重读还没回来,但这一趟已经起了:既不该报回执,也不该把上一趟的封面铺成这一趟的。- expect(toast).not.toHaveBeenCalled();- expect(host.textContent).not.toContain('上一趟的封面');- expect(host.textContent).toContain('正在抓取封面');-- // 这一趟在第一次重读之前就跑完了:它的结果照样要接住。- await reread.release({ body: { status: 'complete', result: '已取得 1600 × 1077 封面' } });- await settle();- expect(toast.mock.calls).toEqual([['已取得 1600 × 1077 封面']]);- expect(host.textContent).toContain('已取得 1600 × 1077 封面');-});-it('卸载之后不再敲后台:轮询跟着这棵根一起走', async () => {vi.useFakeTimers();const { calls } = serve({@@ -331,30 +307,3 @@ it('amane 桥:检查上游只填「上游最新版本」那一行,重建跟expect(toast).toHaveBeenCalledTimes(1);expect(toast).toHaveBeenCalledWith('amane 桥已按 79ecfa763cc7 重建');});--it('amane 桥:点下重建到重读回来之间,上一趟的失败不冒充这一趟的结果', async () => {- let state: Reply | Promise<Reply> = {- body: { ...BRIDGE, job: { status: 'failed', error: '上一趟的失败' } },- };- const { host, toast } = await open({- ...quiet(),- 'GET /api/scraping/amane-bridge': () => state,- 'POST /api/scraping/amane-bridge/rebuild': () => ({ body: { status: 'running' } }),- });- const bridge = section(host, 'amane 桥')!;- const reread = pending<Reply>();- state = reread.answer;- await click(buttonNamed('重新安装', bridge));- await settle();- expect(toast).not.toHaveBeenCalled();- expect(bridge.textContent).not.toContain('上一趟的失败');- expect(bridge.textContent).toContain('正在重建运行环境');- expect(bridge.textContent, '换进去的只是任务那一格,卡上的事实还在').toContain('0.16.1 · 79ecfa763cc7');-- await reread.release({- body: { ...BRIDGE, job: { status: 'complete', result: 'amane 桥已按 79ecfa763cc7 重建' } },- });- await settle();- expect(toast.mock.calls).toEqual([['amane 桥已按 79ecfa763cc7 重建']]);- expect(bridge.textContent).toContain('amane 桥已按 79ecfa763cc7 重建');-});diff --git a/frontend/test/react/taste.test.tsx b/frontend/test/react/taste.test.tsxindex 7838c082c..1e3e75157 100644--- a/frontend/test/react/taste.test.tsx+++ b/frontend/test/react/taste.test.tsx@@ -9,14 +9,15 @@ import { afterEach, expect, it, vi } from 'vitest';import * as legacyUi from '@peach/legacy/ui';+import { JOB_RUNNING_POLL_MS } from '../../src/react/background-job';import { queryClient } from '../../src/react/query';import {- DEFAULT_WINDOW, prefetchTaste, RUNNING_POLL_MS, TASTE_IMPORT_URL, TASTE_REFRESH_URL,+ DEFAULT_WINDOW, prefetchTaste, TASTE_IMPORT_URL, TASTE_REFRESH_URL,TASTE_SOURCE_URL, TASTE_URL, type TasteData, type TasteJob,} from '../../src/react/taste/taste';import { TastePage } from '../../src/react/taste/taste-page';-import { buttonNamed, choose, click, mountRoot, pending, settle } from './render';+import { buttonNamed, choose, click, mountRoot, settle } from './render';// 客户端是模块级的单例(所有 React 根共用一个),用例之间不清就互相喂数据。afterEach(() => queryClient.clear());@@ -180,30 +181,12 @@ it('本次亲眼见过它在跑,跑完才发回执并重取 dashboard', asyncjob: [{ status: 'running', message: '正在读取浏览记录' }, { status: 'complete' }],});expect(host.textContent).toContain('正在读取浏览记录');- await tick(RUNNING_POLL_MS);+ await tick(JOB_RUNNING_POLL_MS);await settle();expect(props.toast.mock.calls).toEqual([['已更新口味分析']]);expect(tasteGets(fetcher).length).toBeGreaterThan(1);});-it('点下读取到重读回来之间,缓存里上一趟的终态不冒充这一趟的回执', async () => {- const reread = pending<TasteJob>();- const { props, host } = await open({- job: [{ status: 'failed', error: '上一趟的失败' }, reread.answer],- });- await click(buttonNamed('读取浏览器历史', host));- await settle();- // 重读还没回来,但这一趟已经起了:既不该报回执,也不该把上一趟的失败铺成这一趟的。- expect(props.toast).not.toHaveBeenCalled();- expect(host.textContent).not.toContain('上一趟的失败');- expect(host.textContent).toContain('正在读取浏览记录并更新口味分析');-- // 这一趟在第一次重读之前就跑完了:它的结果照样要接住。- await reread.release({ status: 'complete' });- await settle();- expect(props.toast.mock.calls).toEqual([['已更新口味分析']]);-});-it('导入按 octet-stream 发原文件,文件名走请求头,回来的那一份直接换进「全部时间」', async () => {const { fetcher, props, host } = await open({imported: { dashboard: payload({ summary: { history_visits: 4321, history_sources: 3 } }) },diff --git a/tests/test_frontend_build.py b/tests/test_frontend_build.pyindex d294c8bc4..ad798ac31 100644--- a/tests/test_frontend_build.py+++ b/tests/test_frontend_build.py@@ -507,11 +507,6 @@ class TasteEndpointTests(unittest.TestCase):self.assertIn("tasteKey = (window: string) => ['taste', window]", self.source)self.assertIn("placeholderData: keepPreviousData", self.source)- def test_the_background_run_only_counts_when_this_session_saw_it(self):- """首屏读到的旧终态不发回执:只有本次点过或见过它在跑才算数。"""- self.assertIn("refetchInterval", self.source)- self.assertIn("已更新口味分析", self.source)-def test_the_import_keeps_the_filename_header(self):"""文件原样当请求体发,文件名走请求头,服务端不必多接一个 multipart 解析器。"""self.assertIn("'Content-Type': 'application/octet-stream'", self.source)@@ -598,17 +593,6 @@ class FollowManageEndpointTests(unittest.TestCase):self.assertIn("export function patchSource(", self.data)self.assertIn("export function dropSources(", self.data)- def test_the_poll_only_runs_while_the_job_runs(self):- """跑起来两秒一问,停了就不问:节律取自任务状态本身。"""- self.assertIn("export const JOB_POLL_MS = 2000", self.data)- self.assertIn("job?.status === 'running' ? JOB_POLL_MS : false", self.data)- self.assertIn("refetchInterval: (query) => jobPollInterval(query.state.data)", self.source)-- def test_a_stale_terminal_snapshot_is_not_this_run(self):- """首屏读到的旧终态不发回执:只有这一次点过或见过它在跑才算数。"""- self.assertIn("setTracking(true)", self.source)- self.assertIn("if (!tracking) return;", self.source)-def test_row_identity_is_the_source_id(self):"""行的身份是来源 ID:换页、换排序、换视图之后勾选的还是同一批来源。"""self.assertIn("from '@tanstack/react-table'", self.source)diff --git a/tests/test_source_assertion_ratchet.py b/tests/test_source_assertion_ratchet.pyindex 2fe03de5d..0e176fadc 100644--- a/tests/test_source_assertion_ratchet.py+++ b/tests/test_source_assertion_ratchet.py@@ -40,7 +40,7 @@ BASELINE: dict[str, int] = {"test_fastapi_api.py": 4,"test_follow_assets.py": 2,"test_follow_web.py": 354,- "test_frontend_build.py": 86,+ "test_frontend_build.py": 81,"test_job_status.py": 3,"test_metadata_library.py": 7,"test_repo_hygiene.py": 2,diff --git a/web/dist/peach-react.js b/web/dist/peach-react.jsindex 95a0c5717..d26a32cc7 100644--- a/web/dist/peach-react.js+++ b/web/dist/peach-react.js@@ -76,7 +76,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrfunction M(e, t) {return typeof e == "object" && e && e.key != null ? A("" + e.key) : t.toString(36);}- function N(e) {+ function ee(e) {switch (e.status) {case "fulfilled": return e.value;case "rejected": throw e.reason;@@ -91,7 +91,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr}throw e;}- function ee(e, r, i, a, o) {+ function te(e, r, i, a, o) {var s = typeof e;(s === "undefined" || s === "boolean") && (e = null);var c = !1;@@ -107,30 +107,30 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrcase n:c = !0;break;- case d: return c = e._init, ee(c(e._payload), r, i, a, o);+ case d: return c = e._init, te(c(e._payload), r, i, a, o);}}- if (c) return o = o(e), c = a === "" ? "." + M(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(j, "$&/") + "/"), ee(o, r, i, "", function(e) {+ if (c) return o = o(e), c = a === "" ? "." + M(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(j, "$&/") + "/"), te(o, r, i, "", function(e) {return e;})) : o != null && (k(o) && (o = O(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(j, "$&/") + "/") + c)), r.push(o)), 1;c = 0;var l = a === "" ? "." : a + ":";- if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + M(a, u), c += ee(a, r, i, s, o);- else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + M(a, u++), c += ee(a, r, i, s, o);+ if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + M(a, u), c += te(a, r, i, s, o);+ else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + M(a, u++), c += te(a, r, i, s, o);else if (s === "object") {- if (typeof e.then == "function") return ee(N(e), r, i, a, o);+ if (typeof e.then == "function") return te(ee(e), r, i, a, o);throw r = String(e), Error("Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead.");}return c;}- function te(e, t, n) {+ function ne(e, t, n) {if (e == null) return e;var r = [], i = 0;- return ee(e, r, "", "", function(e) {+ return te(e, r, "", "", function(e) {return t.call(n, e, i++);}), r;}- function P(e) {+ function N(e) {if (e._status === -1) {var t = e._result, n = t();n.then(function(t) {@@ -142,7 +142,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrif (e._status === 1) return e._result.default;throw e._result;}- var ne = typeof reportError == "function" ? reportError : function(e) {+ var re = typeof reportError == "function" ? reportError : function(e) {if (typeof window == "object" && typeof window.ErrorEvent == "function") {var t = new window.ErrorEvent("error", {bubbles: !0,@@ -157,40 +157,40 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr}console.error(e);};- function re(e) {+ function ie(e) {var t = T.T, n = {};n.types = t === null ? null : t.types, T.T = n;try {var r = e(), i = T.S;- i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, ne);+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, re);} catch (e) {- ne(e);+ re(e);} finally {t !== null && n.types !== null && (t.types = n.types), T.T = t;}}- function ie(e) {+ function ae(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 re(ie.bind(null, e));+ } else ie(ae.bind(null, e));}- var ae = {- map: te,+ var oe = {+ map: ne,forEach: function(e, t, n) {- te(e, function() {+ ne(e, function() {t.apply(this, arguments);}, n);},count: function(e) {var t = 0;- return te(e, function() {+ return ne(e, function() {t++;}), t;},toArray: function(e) {- return te(e, function(e) {+ return ne(e, function(e) {return e;}) || [];},@@ -199,12 +199,12 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrreturn e;}};- 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 = {+ 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 = {__proto__: null,c: function(e) {return T.H.useMemoCache(e);}- }, e.addTransitionType = ie, e.cache = function(e) {+ }, e.addTransitionType = ae, e.cache = function(e) {return function() {return e.apply(null, arguments);};@@ -258,7 +258,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr_status: -1,_result: e},- _init: P+ _init: N};}, e.memo = function(e, t) {return {@@ -266,7 +266,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescrtype: e,compare: t === void 0 ? null : t};- }, e.startTransition = re, e.unstable_useCacheRefresh = function() {+ }, e.startTransition = ie, e.unstable_useCacheRefresh = function() {return T.H.useCacheRefresh();}, e.use = function(e) {return T.H.use(e);@@ -364,24 +364,24 @@ function A(e) {//#region node_modules/@tanstack/query-core/build/modern/utils.jsvar j = typeof window > "u" || "Deno" in globalThis;function M() {}-function N(e, t) {+function ee(e, t) {return typeof e == "function" ? e(t) : e;}-function ee(e) {+function te(e) {return typeof e == "number" && e >= 0 && e !== Infinity;}-function te(e, t) {+function ne(e, t) {return Math.max(e + (t || 0) - Date.now(), 0);}-function P(e, t) {+function N(e, t) {return typeof e == "function" ? e(t) : e;}-function ne(e, t) {+function re(e, t) {let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;if (o) {if (r) {- if (t.queryHash !== ie(o, t.options)) return !1;- } else if (!oe(t.queryKey, o)) return !1;+ if (t.queryHash !== ae(o, t.options)) return !1;+ } else if (!se(t.queryKey, o)) return !1;}if (n !== "all") {let e = t.isActive();@@ -389,105 +389,105 @@ function ne(e, t) {}return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));}-function re(e, t) {+function ie(e, t) {let { exact: n, status: r, predicate: i, mutationKey: a } = e;if (a) {if (!t.options.mutationKey) return !1;if (n) {- if (ae(t.options.mutationKey) !== ae(a)) return !1;- } else if (!oe(t.options.mutationKey, a)) return !1;+ if (oe(t.options.mutationKey) !== oe(a)) return !1;+ } else if (!se(t.options.mutationKey, a)) return !1;}return !(r && t.state.status !== r || i && !i(t));}-function ie(e, t) {- return (t?.queryKeyHashFn || ae)(e);+function ae(e, t) {+ return (t?.queryKeyHashFn || oe)(e);}-function ae(e) {- return JSON.stringify(e, (e, t) => de(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);+function oe(e) {+ return JSON.stringify(e, (e, t) => fe(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);}-function oe(e, t) {+function se(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)) {if (t.length > e.length) return !1;- for (let n = 0; n < t.length; n++) if (!oe(e[n], t[n])) return !1;+ for (let n = 0; n < t.length; n++) if (!se(e[n], t[n])) return !1;return !0;}let n = Object.keys(t);- for (let r of n) if (!oe(e[r], t[r])) return !1;+ for (let r of n) if (!se(e[r], t[r])) return !1;return !0;}return !1;}-var se = Object.prototype.hasOwnProperty;-function ce(e, t, n = 0) {+var ce = Object.prototype.hasOwnProperty;+function le(e, t, n = 0) {if (e === t) return e;if (n > 500) return t;- let r = ue(e) && ue(t);- if (!r && !(de(e) && de(t))) return t;+ let r = de(e) && de(t);+ if (!r && !(fe(e) && fe(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 : se.call(e, o)) && c++;+ s[o] = u, (r ? l < i : ce.call(e, o)) && c++;continue;}if (u === null || d === null || typeof u != "object" || typeof d != "object") {s[o] = d;continue;}- let f = ce(u, d, n + 1);+ let f = le(u, d, n + 1);s[o] = f, f === u && c++;}return i === o && c === i ? e : s;}-function le(e, t) {+function ue(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 ue(e) {+function de(e) {return Array.isArray(e) && e.length === Object.keys(e).length;}-function de(e) {- if (!fe(e)) return !1;+function fe(e) {+ if (!pe(e)) return !1;let t = Object.getPrototypeOf(e), n = t?.constructor;if (n === void 0) return !0;if (typeof n != "function") return !1;let r = n.prototype;- return !(!fe(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);+ return !(!pe(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);}-function fe(e) {+function pe(e) {return Object.prototype.toString.call(e) === "[object Object]";}-function pe(e) {+function me(e) {return new Promise((t) => {k.setTimeout(t, e);});}-function F(e, t, n) {- return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : ce(e, t);+function P(e, t, n) {+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : le(e, t);}-function I(e) {+function he(e) {return e;}-function me(e, t, n = 0) {+function ge(e, t, n = 0) {let r = [...e, t];return n && r.length > n ? r.slice(1) : r;}-function he(e, t, n = 0) {+function _e(e, t, n = 0) {let r = [t, ...e];return n && r.length > n ? r.slice(0, -1) : r;}-var ge = Symbol();-function _e(e, t) {- return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === ge ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;+var ve = Symbol();+function ye(e, t) {+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === ve ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;}-function ve(e, t) {+function be(e, t) {return typeof e == "function" ? e(...t) : !!e;}-function ye(e, t, n) {+function xe(e, t, n) {let r = !1, i;return Object.defineProperty(e, "signal", {enumerable: !0,@@ -496,7 +496,7 @@ function ye(e, t, n) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js-var be = () => j, xe = () => be(), Se = class {+var Se = () => j, Ce = () => Se(), we = class {constructor() {this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);}@@ -510,7 +510,7 @@ var be = () => j, xe = () => be(), Se = class {}onSubscribe() {}onUnsubscribe() {}-}, Ce = new class extends Se {+}, Te = new class extends we {#e;#t;#n;@@ -547,13 +547,13 @@ var be = () => j, xe = () => be(), Se = class {isFocused() {return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";}-}(), we = A;-function Te() {+}(), Ee = A;+function De() {let e = [], t = 0, n = (e) => {e();}, r = (e) => {e();- }, i = we, a = (r) => {+ }, i = Ee, a = (r) => {t ? e.push(r) : i(() => {n(r);});@@ -595,7 +595,7 @@ function Te() {}};}-var Ee = Te(), De = new class extends Se {+var Oe = De(), ke = new class extends we {#e = !0;#t;#n;@@ -629,32 +629,32 @@ var Ee = Te(), De = new class extends Se {}();//#endregion//#region node_modules/@tanstack/query-core/build/modern/retryer.js-function Oe(e) {+function Ae(e) {return Math.min(1e3 * 2 ** e, 3e4);}-function ke(e) {- return (e ?? "online") !== "online" || De.isOnline();+function je(e) {+ return (e ?? "online") !== "online" || ke.isOnline();}-var Ae = class extends Error {+var Me = class extends Error {constructor(e) {super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;}};-function je(e) {+function Ne(e) {let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {a = e, o = t;});s.catch(M);let c = () => i !== "pending", l = (t) => {if (!c()) {- let n = new Ae(t);+ let n = new Me(t);h(n), e.onCancel?.(n);}}, u = () => {t = !0;}, d = () => {t = !1;- }, f = () => Ce.isFocused() && (e.networkMode === "always" || De.isOnline()) && e.canRun(), p = () => ke(e.networkMode) && e.canRun(), m = (e) => {+ }, f = () => Te.isFocused() && (e.networkMode === "always" || ke.isOnline()) && e.canRun(), p = () => je(e.networkMode) && e.canRun(), m = (e) => {c() || (r?.(), i = "resolved", a(e));}, h = (e) => {c() || (r?.(), i = "rejected", o(e));@@ -674,12 +674,12 @@ function je(e) {}Promise.resolve(r).then(m).catch((r) => {if (c()) return;- let i = e.retry ?? (xe() ? 0 : 3), a = e.retryDelay ?? Oe, 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 ?? (Ce() ? 0 : 3), a = e.retryDelay ?? Ae, 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), pe(o).then(() => f() ? void 0 : g()).then(() => {+ n++, e.onFail?.(n, r), me(o).then(() => f() ? void 0 : g()).then(() => {t ? h(r) : _();});});@@ -697,18 +697,18 @@ function je(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/removable.js-var Me = class {+var Pe = class {#e;destroy() {this.clearGcTimeout();}scheduleGc() {- this.clearGcTimeout(), ee(this.gcTime) && (this.#e = k.setTimeout(() => {+ this.clearGcTimeout(), te(this.gcTime) && (this.#e = k.setTimeout(() => {this.optionalRemove();}, this.gcTime));}updateGcTime(e) {- this.gcTime = Math.max(this.gcTime || 0, e ?? (xe() ? Infinity : 3e5));+ this.gcTime = Math.max(this.gcTime || 0, e ?? (Ce() ? Infinity : 3e5));}clearGcTimeout() {this.#e !== void 0 && (k.clearTimeout(this.#e), this.#e = void 0);@@ -716,15 +716,15 @@ var Me = class {};//#endregion//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js-function Ne(e) {+function Fe(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) => {- ye(e, () => t.signal, () => n = !0);- }, u = _e(t.options, t.fetchOptions), d = async (e, r, i) => {+ xe(e, () => t.signal, () => n = !0);+ }, u = ye(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 = (() => {@@ -736,14 +736,14 @@ function Ne(e) {meta: t.options.meta};return l(e), e;- })(), o = await u(a), { maxPages: s } = t.options, c = i ? he : me;+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? _e : ge;return {pages: c(e.pages, o, s),pageParams: c(e.pageParams, r, s)};};if (i && a.length) {- let e = i === "backward", t = e ? Fe : Pe, n = {+ let e = i === "backward", t = e ? Le : Ie, n = {pages: a,pageParams: o};@@ -751,7 +751,7 @@ function Ne(e) {} else {let t = e ?? a.length;do {- let e = c === 0 ? o[0] ?? r.initialPageParam : Pe(r, s);+ let e = c === 0 ? o[0] ?? r.initialPageParam : Ie(r, s);if (c > 0 && e == null) break;s = await d(s, e), c++;} while (c < t);@@ -766,16 +766,16 @@ function Ne(e) {}, n) : l;} };}-function Pe(e, { pages: t, pageParams: n }) {+function Ie(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 Fe(e, { pages: t, pageParams: n }) {+function Le(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 Ie = class extends Me {+var Re = class extends Pe {#e;#t;#n;@@ -785,7 +785,7 @@ var Ie = class extends Me {#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 = ze(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 = Ve(this.options), this.state = e.state ?? this.#t, this.scheduleGc();}get meta() {return this.options.meta;@@ -801,15 +801,15 @@ var Ie = class extends Me {...this.#o,...e}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {- let e = ze(this.options);- e.data !== void 0 && (this.setState(Re(e.data, e.dataUpdatedAt)), this.#t = e);+ let e = Ve(this.options);+ e.data !== void 0 && (this.setState(Be(e.data, e.dataUpdatedAt)), this.#t = e);}}optionalRemove() {!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);}setData(e, t) {- let n = F(this.state.data, e, this.options);+ let n = P(this.state.data, e, this.options);return this.#c({data: n,type: "success",@@ -837,22 +837,22 @@ var Ie = class extends Me {this.destroy(), this.setState(this.resetState);}isActive() {- return this.observers.some((e) => P(e.options.enabled, this) !== !1);+ return this.observers.some((e) => N(e.options.enabled, this) !== !1);}isDisabled() {- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === ge || !this.isFetched();+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === ve || !this.isFetched();}isFetched() {return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;}isStatic() {- return this.getObserversCount() > 0 && this.observers.some((e) => P(e.options.staleTime, this) === "static");+ return this.getObserversCount() > 0 && this.observers.some((e) => N(e.options.staleTime, this) === "static");}isStale() {return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;}isStaleByTime(e = 0) {- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !te(this.state.dataUpdatedAt, e);+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !ne(this.state.dataUpdatedAt, e);}onFocus() {this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();@@ -896,7 +896,7 @@ var Ie = class extends Me {get: () => (this.#s = !0, n.signal)});}, i = () => {- let e = _e(this.options, t), n = (() => {+ let e = ye(this.options, t), n = (() => {let e = {client: this.#i,queryKey: this.queryKey,@@ -916,15 +916,15 @@ var Ie = class extends Me {};return r(e), e;})();- (this.#e === "infinite" ? Ne(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" ? Fe(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 = je({+ let o = this.#a = Ne({initialPromise: t?.initialPromise,fn: a.fetchFn,onCancel: (e) => {- e instanceof Ae && e.revert && this.setState({+ e instanceof Me && e.revert && this.setState({...this.#n,fetchStatus: "idle"}), n.abort();@@ -952,7 +952,7 @@ var Ie = class extends Me {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 Ae) {+ if (e instanceof Me) {if (e.silent) return this.#a.promise;if (e.revert) {if (this.state.data === void 0) throw e;@@ -985,13 +985,13 @@ var Ie = class extends Me {};case "fetch": return {...t,- ...Le(t.data, this.options),+ ...ze(t.data, this.options),fetchMeta: e.meta ?? null};case "success":let n = {...t,- ...Re(e.data, e.dataUpdatedAt),+ ...Be(e.data, e.dataUpdatedAt),dataUpdateCount: t.dataUpdateCount + 1,...!e.manual && {fetchStatus: "idle",@@ -1023,7 +1023,7 @@ var Ie = class extends Me {};}};- this.state = t(this.state), Ee.batch(() => {+ this.state = t(this.state), Oe.batch(() => {this.observers.slice().forEach((e) => {e.onQueryUpdate();}), this.#r.notify({@@ -1034,18 +1034,18 @@ var Ie = class extends Me {});}};-function Le(e, t) {+function ze(e, t) {return {fetchFailureCount: 0,fetchFailureReason: null,- fetchStatus: ke(t.networkMode) ? "fetching" : "paused",+ fetchStatus: je(t.networkMode) ? "fetching" : "paused",...e === void 0 && {error: null,status: "pending"}};}-function Re(e, t) {+function Be(e, t) {return {data: e,dataUpdatedAt: t ?? Date.now(),@@ -1054,7 +1054,7 @@ function Re(e, t) {status: "success"};}-function ze(e) {+function Ve(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,@@ -1073,7 +1073,7 @@ function ze(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js-var Be = class extends Se {+var He = class extends we {#e;#t = void 0;#n = void 0;@@ -1095,36 +1095,36 @@ var Be = class extends Se {this.refetch = this.refetch.bind(this);}onSubscribe() {- this.listeners.size === 1 && (this.#t.addObserver(this), He(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());+ this.listeners.size === 1 && (this.#t.addObserver(this), We(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());}onUnsubscribe() {this.hasListeners() || this.destroy();}shouldFetchOnReconnect() {- return Ue(this.#t, this.options, this.options.refetchOnReconnect);+ return Ge(this.#t, this.options, this.options.refetchOnReconnect);}shouldFetchOnWindowFocus() {- return Ue(this.#t, this.options, this.options.refetchOnWindowFocus);+ return Ge(this.#t, this.options, this.options.refetchOnWindowFocus);}destroy() {this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);}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 P(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 && !le(this.options, t) && this.#e.getQueryCache().notify({+ if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof N(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 && !ue(this.options, t) && this.#e.getQueryCache().notify({type: "observerOptionsUpdated",query: this.#t,observer: this});let r = this.hasListeners();- r && We(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || P(this.options.enabled, this.#t) !== P(t.enabled, this.#t) || P(this.options.staleTime, this.#t) !== P(t.staleTime, this.#t)) && this.#g();+ r && Ke(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || N(this.options.enabled, this.#t) !== N(t.enabled, this.#t) || N(this.options.staleTime, this.#t) !== N(t.staleTime, this.#t)) && this.#g();let i = this.#_();- r && (this.#t !== n || P(this.options.enabled, this.#t) !== P(t.enabled, this.#t) || i !== this.#f) && this.#v(i);+ r && (this.#t !== n || N(this.options.enabled, this.#t) !== N(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 le(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;+ return ue(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;}getCurrentResult() {return this.#r;@@ -1166,23 +1166,23 @@ var Be = class extends Se {return e?.throwOnError || (t = t.catch(M)), t;}#h(e) {- return !xe() && P(this.options.enabled, this.#t) !== !1 && ee(e);+ return !Ce() && N(this.options.enabled, this.#t) !== !1 && te(e);}#g() {this.#b();- let e = P(this.options.staleTime, this.#t);+ let e = N(this.options.staleTime, this.#t);if (this.#r.isStale || !this.#h(e)) return;- let t = te(this.#r.dataUpdatedAt, e) + 1;+ let t = ne(this.#r.dataUpdatedAt, e) + 1;this.#u = k.setTimeout(() => {this.#r.isStale || this.updateResult();}, t);}#_() {- return P(this.options.refetchInterval, this.#t) ?? !1;+ return N(this.options.refetchInterval, this.#t) ?? !1;}#v(e) {this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = k.setInterval(() => {- (this.options.refetchIntervalInBackground || Ce.isFocused()) && this.#m();+ (this.options.refetchIntervalInBackground || Te.isFocused()) && this.#m();}, this.#f));}#y() {@@ -1197,10 +1197,10 @@ var Be = class extends Se {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 && He(e, t), o = i && We(e, n, t, r);+ let i = this.hasListeners(), a = !i && We(e, t), o = i && Ke(e, n, t, r);(a || o) && (l = {...l,- ...Le(c.data, e.options)+ ...ze(c.data, e.options)}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");}let { error: f, errorUpdatedAt: p, status: m } = l;@@ -1208,12 +1208,12 @@ var Be = class extends Se {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 = F(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 = P(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 = F(i?.data, d, t), this.#c = d, this.#o = null;+ this.#s = t.select, d = t.select(d), d = P(i?.data, d, t), this.#c = d, this.#o = null;} catch (e) {this.#o = e;}@@ -1243,14 +1243,14 @@ var Be = class extends Se {isPaused: l.fetchStatus === "paused",isPlaceholderData: u,isRefetchError: v && b,- isStale: Ge(e, t),+ isStale: qe(e, t),refetch: this.refetch,- isEnabled: P(t.enabled, e) !== !1+ isEnabled: N(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), le(t, e)) return;+ if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), ue(t, e)) return;this.#r = t;let n = (() => {if (!e) return !0;@@ -1262,7 +1262,7 @@ var Be = class extends Se {return this.#r[n] !== e[n] && r.has(n);});})();- Ee.batch(() => {+ Oe.batch(() => {n && this.listeners.forEach((e) => {e(this.#r);}), this.#e.getQueryCache().notify({@@ -1281,34 +1281,34 @@ var Be = class extends Se {this.updateResult(), this.hasListeners() && this.#y();}};-function Ve(e, t) {- return P(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || P(t.retryOnMount, e) !== !1);+function Ue(e, t) {+ return N(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || N(t.retryOnMount, e) !== !1);}-function He(e, t) {- return Ve(e, t) || e.state.data !== void 0 && Ue(e, t, t.refetchOnMount);+function We(e, t) {+ return Ue(e, t) || e.state.data !== void 0 && Ge(e, t, t.refetchOnMount);}-function Ue(e, t, n) {- if (P(t.enabled, e) !== !1 && P(t.staleTime, e) !== "static") {- let r = P(n, e);- return r === "always" || r !== !1 && Ge(e, t);+function Ge(e, t, n) {+ if (N(t.enabled, e) !== !1 && N(t.staleTime, e) !== "static") {+ let r = N(n, e);+ return r === "always" || r !== !1 && qe(e, t);}return !1;}-function We(e, t, n, r) {- return (e !== t || P(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Ge(e, n);+function Ke(e, t, n, r) {+ return (e !== t || N(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && qe(e, n);}-function Ge(e, t) {- return P(t.enabled, e) !== !1 && e.isStaleByTime(P(t.staleTime, e));+function qe(e, t) {+ return N(t.enabled, e) !== !1 && e.isStaleByTime(N(t.staleTime, e));}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutation.js-var Ke = class extends Me {+var Je = class extends Pe {#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 || qe(), 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 || Ye(), this.setOptions(e.options), this.scheduleGc();}setOptions(e) {this.options = e, this.updateGcTime(this.options.gcTime);@@ -1343,7 +1343,7 @@ var Ke = class extends Me {client: this.#e,meta: this.options.meta,mutationKey: this.options.mutationKey- }, r = this.#r = je({+ }, r = this.#r = Ne({fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),onFail: (e, t) => {this.#i({@@ -1459,7 +1459,7 @@ var Ke = class extends Me {};}};- this.state = t(this.state), Ee.batch(() => {+ this.state = t(this.state), Oe.batch(() => {this.#t.forEach((t) => {t.onMutationUpdate(e);}), this.#n.notify({@@ -1470,7 +1470,7 @@ var Ke = class extends Me {});}};-function qe() {+function Ye() {return {context: void 0,data: void 0,@@ -1485,7 +1485,7 @@ function qe() {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js-var Je = class extends Se {+var Xe = class extends we {#e;#t;#n;@@ -1493,7 +1493,7 @@ var Je = class extends Se {super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;}build(e, t, n) {- let r = new Ke({+ let r = new Je({client: e,mutationCache: this,mutationId: ++this.#n,@@ -1504,7 +1504,7 @@ var Je = class extends Se {}add(e) {this.#e.add(e);- let t = Ye(e);+ let t = Ze(e);if (typeof t == "string") {let n = this.#t.get(t);n ? n.push(e) : this.#t.set(t, [e]);@@ -1516,7 +1516,7 @@ var Je = class extends Se {}remove(e) {if (this.#e.delete(e)) {- let t = Ye(e);+ let t = Ze(e);if (typeof t == "string") {let n = this.#t.get(t);if (n) {@@ -1533,7 +1533,7 @@ var Je = class extends Se {});}canRun(e) {- let t = Ye(e);+ let t = Ze(e);if (typeof t == "string") {let n = this.#t.get(t)?.find((e) => e.state.status === "pending");return !n || n === e;@@ -1541,11 +1541,11 @@ var Je = class extends Se {return !0;}runNext(e) {- let t = Ye(e);+ let t = Ze(e);return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();}clear() {- Ee.batch(() => {+ Oe.batch(() => {this.#e.forEach((e) => {this.notify({type: "removed",@@ -1562,13 +1562,13 @@ var Je = class extends Se {exact: !0,...e};- return this.getAll().find((e) => re(t, e));+ return this.getAll().find((e) => ie(t, e));}findAll(e = {}) {- return this.getAll().filter((t) => re(e, t));+ return this.getAll().filter((t) => ie(e, t));}notify(e) {- Ee.batch(() => {+ Oe.batch(() => {this.listeners.forEach((t) => {t(e);});@@ -1576,15 +1576,15 @@ var Je = class extends Se {}resumePausedMutations() {let e = this.getAll().filter((e) => e.state.isPaused);- return Ee.batch(() => Promise.all(e.map((e) => e.continue().catch(M))));+ return Oe.batch(() => Promise.all(e.map((e) => e.continue().catch(M))));}};-function Ye(e) {+function Ze(e) {return e.options.scope?.id;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js-var Xe = class extends Se {+var Qe = class extends we {#e;#t = void 0;#n;@@ -1597,11 +1597,11 @@ var Xe = class extends Se {}setOptions(e) {let t = this.options;- this.options = this.#e.defaultMutationOptions(e), le(this.options, t) || this.#e.getMutationCache().notify({+ this.options = this.#e.defaultMutationOptions(e), ue(this.options, t) || this.#e.getMutationCache().notify({type: "observerOptionsUpdated",mutation: this.#n,observer: this- }), t?.mutationKey && this.options.mutationKey && ae(t.mutationKey) !== ae(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);+ }), t?.mutationKey && this.options.mutationKey && oe(t.mutationKey) !== oe(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());@@ -1622,7 +1622,7 @@ var Xe = class extends Se {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 ?? qe();+ let e = this.#n?.state ?? Ye();this.#t = {...e,isPending: e.status === "pending",@@ -1634,7 +1634,7 @@ var Xe = class extends Se {};}#a(e) {- Ee.batch(() => {+ Oe.batch(() => {if (this.#r && this.hasListeners()) {let t = this.#t.variables, n = this.#t.context, r = {client: this.#e,@@ -1670,14 +1670,14 @@ var Xe = class extends Se {});});}-}, Ze = class extends Se {+}, $e = class extends we {#e;constructor(e = {}) {super(), this.config = e, this.#e = /* @__PURE__ */ new Map();}build(e, t, n) {- let r = t.queryKey, i = t.queryHash ?? ie(r, t), a = this.get(i);- return a || (a = new Ie({+ let r = t.queryKey, i = t.queryHash ?? ae(r, t), a = this.get(i);+ return a || (a = new Re({client: e,queryKey: r,queryHash: i,@@ -1700,7 +1700,7 @@ var Xe = class extends Se {}));}clear() {- Ee.batch(() => {+ Oe.batch(() => {this.getAll().forEach((e) => {this.remove(e);});@@ -1717,34 +1717,34 @@ var Xe = class extends Se {exact: !0,...e};- return this.getAll().find((e) => ne(t, e));+ return this.getAll().find((e) => re(t, e));}findAll(e = {}) {let t = this.getAll();- return Object.keys(e).length > 0 ? t.filter((t) => ne(e, t)) : t;+ return Object.keys(e).length > 0 ? t.filter((t) => re(e, t)) : t;}notify(e) {- Ee.batch(() => {+ Oe.batch(() => {this.listeners.forEach((t) => {t(e);});});}onFocus() {- Ee.batch(() => {+ Oe.batch(() => {this.getAll().forEach((e) => {e.onFocus();});});}onOnline() {- Ee.batch(() => {+ Oe.batch(() => {this.getAll().forEach((e) => {e.onOnline();});});}-}, Qe = class {+}, et = class {#e;#t;#n;@@ -1754,12 +1754,12 @@ var Xe = class extends Se {#o;#s;constructor(e = {}) {- this.#e = e.queryCache || new Ze(), this.#t = e.mutationCache || new Je(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;+ this.#e = e.queryCache || new $e(), this.#t = e.mutationCache || new Xe(), 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 = Ce.subscribe(async (e) => {+ this.#a++, this.#a === 1 && (this.#o = Te.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onFocus());- }), this.#s = De.subscribe(async (e) => {+ }), this.#s = ke.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onOnline());}));}@@ -1784,20 +1784,20 @@ var Xe = class extends Se {}ensureQueryData(e) {let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;- return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(P(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(N(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));}getQueriesData(e) {return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);}setQueryData(e, t, n) {- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = N(t, i);+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = ee(t, i);if (a !== void 0) return this.#e.build(this, r).setData(a, {...n,manual: !0});}setQueriesData(e, t, n) {- return Ee.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));+ return Oe.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));}getQueryState(e) {let t = this.defaultQueryOptions({ queryKey: e });@@ -1805,7 +1805,7 @@ var Xe = class extends Se {}removeQueries(e) {let t = this.#e;- Ee.batch(() => {+ Oe.batch(() => {t.findAll(e).forEach((e) => {t.remove(e);});@@ -1813,7 +1813,7 @@ var Xe = class extends Se {}resetQueries(e, t) {let n = this.#e;- return Ee.batch(() => {+ return Oe.batch(() => {let r = n.findAll(e), i = new Set(r);return r.forEach((e) => {e.reset();@@ -1827,11 +1827,11 @@ var Xe = class extends Se {let n = {revert: !0,...t- }, r = Ee.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));+ }, r = Oe.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));return Promise.all(r).then(M).catch(M);}invalidateQueries(e, t = {}) {- return Ee.batch(() => (this.#e.findAll(e).forEach((e) => {+ return Oe.batch(() => (this.#e.findAll(e).forEach((e) => {e.invalidate();}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({...e,@@ -1842,7 +1842,7 @@ var Xe = class extends Se {let n = {...t,cancelRefetch: t.cancelRefetch ?? !0- }, r = Ee.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {+ }, r = Oe.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(M)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;}));@@ -1851,14 +1851,14 @@ var Xe = class extends Se {async query(e) {let t = this.defaultQueryOptions(e);t.retry === void 0 && (t.retry = !1);- let n = this.#e.build(this, t), r = n.isStaleByTime(P(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;+ let n = this.#e.build(this, t), r = n.isStaleByTime(N(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;return i ? i(r) : r;}fetchQuery(e) {let t = this.defaultQueryOptions(e);t.retry === void 0 && (t.retry = !1);let n = this.#e.build(this, t);- return n.isStaleByTime(P(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);+ return n.isStaleByTime(N(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);}prefetchQuery(e) {return this.fetchQuery(e).then(M).catch(M);@@ -1876,7 +1876,7 @@ var Xe = class extends Se {return e._type = "infinite", this.ensureQueryData(e);}resumePausedMutations() {- return De.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();+ return ke.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();}getQueryCache() {return this.#e;@@ -1891,7 +1891,7 @@ var Xe = class extends Se {this.#n = e;}setQueryDefaults(e, t) {- this.#r.set(ae(e), {+ this.#r.set(oe(e), {queryKey: e,defaultOptions: t});@@ -1899,11 +1899,11 @@ var Xe = class extends Se {getQueryDefaults(e) {let t = [...this.#r.values()], n = {};return t.forEach((t) => {- oe(e, t.queryKey) && Object.assign(n, t.defaultOptions);+ se(e, t.queryKey) && Object.assign(n, t.defaultOptions);}), n;}setMutationDefaults(e, t) {- this.#i.set(ae(e), {+ this.#i.set(oe(e), {mutationKey: e,defaultOptions: t});@@ -1911,7 +1911,7 @@ var Xe = class extends Se {getMutationDefaults(e) {let t = [...this.#i.values()], n = {};return t.forEach((t) => {- oe(e, t.mutationKey) && Object.assign(n, t.defaultOptions);+ se(e, t.mutationKey) && Object.assign(n, t.defaultOptions);}), n;}defaultQueryOptions(e) {@@ -1922,7 +1922,7 @@ var Xe = class extends Se {...e,_defaulted: !0};- return t.queryHash ||= ie(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 === ge && (t.enabled = !1), t;+ return t.queryHash ||= ae(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 === ve && (t.enabled = !1), t;}defaultMutationOptions(e) {return e?._defaulted ? e : {@@ -1935,11 +1935,11 @@ var Xe = class extends Se {clear() {this.#e.clear(), this.#t.clear();}-}, $e = C.createContext(!1), et = () => C.useContext($e);-$e.Provider;+}, tt = C.createContext(!1), nt = () => C.useContext(tt);+tt.Provider;//#endregion//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js-function tt() {+function rt() {let e = !1;return {clearReset: () => {@@ -1951,34 +1951,34 @@ function tt() {isReset: () => e};}-var nt = C.createContext(tt()), rt = () => C.useContext(nt), it = (e, t, n) => {- let r = n?.state.error && typeof e.throwOnError == "function" ? ve(e.throwOnError, [n.state.error, n]) : e.throwOnError;+var it = C.createContext(rt()), at = () => C.useContext(it), ot = (e, t, n) => {+ let r = n?.state.error && typeof e.throwOnError == "function" ? be(e.throwOnError, [n.state.error, n]) : e.throwOnError;(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));-}, at = (e) => {+}, st = (e) => {C.useEffect(() => {e.clearReset();}, [e]);-}, ot = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ve(n, [e.error, r])), st = (e) => {+}, ct = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || be(n, [e.error, r])), lt = (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));}-}, ct = (e, t) => e?.suspense && t.isPending, lt = (e, t, n) => t.fetchOptimistic(e).catch(() => {+}, ut = (e, t) => e?.suspense && t.isPending, dt = (e, t, n) => t.fetchOptimistic(e).catch(() => {n.clearReset();});//#endregion//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js-function ut(e, t, n) {- let r = et(), i = rt(), a = E(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, st(o), it(o, i, s), at(i);+function ft(e, t, n) {+ let r = nt(), i = at(), a = E(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, lt(o), ot(o, i, s), st(i);let [l] = C.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;if (C.useSyncExternalStore(C.useCallback((e) => {- let t = d ? l.subscribe(Ee.batchCalls(e)) : M;+ let t = d ? l.subscribe(Oe.batchCalls(e)) : M;return l.updateResult(), t;}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), C.useEffect(() => {l.setOptions(o);- }, [o, l]), ct(o, u)) throw lt(o, l, i);- if (ot({+ }, [o, l]), ut(o, u)) throw dt(o, l, i);+ if (ct({result: u,errorResetBoundary: i,throwOnError: o.throwOnError,@@ -1989,20 +1989,20 @@ function ut(e, t, n) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useQuery.js-function dt(e, t) {- return ut(e, Be, t);+function pt(e, t) {+ return ft(e, He, t);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useMutation.js-function ft(e, t) {- let n = E(t), [r] = C.useState(() => new Xe(n, e));+function mt(e, t) {+ let n = E(t), [r] = C.useState(() => new Qe(n, e));C.useEffect(() => {r.setOptions(e);}, [r, e]);- let i = C.useSyncExternalStore(C.useCallback((e) => r.subscribe(Ee.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = C.useCallback((...e) => {+ let i = C.useSyncExternalStore(C.useCallback((e) => r.subscribe(Oe.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = C.useCallback((...e) => {r.mutate(e[0], e[1]).catch(M);}, [r]);- if (i.error && ve(r.options.throwOnError, [i.error])) throw i.error;+ if (i.error && be(r.options.throwOnError, [i.error])) throw i.error;return {...i,mutate: a,@@ -2011,7 +2011,7 @@ function ft(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/collections/BaseCollection.mjs-var pt = class {+var ht = 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;}@@ -2026,22 +2026,22 @@ var pt = class {let r = this.clone();return t.addDescendants(r, e), r;}-}, mt = class extends pt {+}, gt = class extends ht {filter(e, t, n) {- let [r, i] = vt(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = bt(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends pt {+(class extends ht {static {this.type = "header";}});-var ht = class extends pt {+var _t = class extends ht {static {this.type = "loader";}-}, gt = class extends mt {+}, vt = class extends gt {static {this.type = "item";}@@ -2053,7 +2053,7 @@ var ht = class extends pt {return null;}};-(class extends mt {+(class extends gt {static {this.type = "section";}@@ -2066,7 +2066,7 @@ var ht = class extends pt {return null;}});-var _t = class {+var yt = class {get size() {return this.itemCount;}@@ -2141,14 +2141,14 @@ var _t = class {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = vt(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = bt(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 vt(e, t, n, r) {+function bt(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -2163,7 +2163,7 @@ function vt(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/collections/Document.mjs-var yt = class {+var xt = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -2244,7 +2244,7 @@ var yt = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, bt = class e extends yt {+}, St = class e extends xt {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -2295,7 +2295,7 @@ var yt = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, xt = class extends yt {+}, Ct = class extends xt {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;}@@ -2303,7 +2303,7 @@ var yt = class {return !0;}createElement(e) {- return new bt(e, this);+ return new St(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -2325,8 +2325,8 @@ var yt = class {return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);}updateCollection() {- for (let e of this.dirtyNodes) e instanceof bt && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof bt ? (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 St && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof St ? (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() {@@ -2345,13 +2345,13 @@ var yt = class {};//#endregion//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function St(e) {+function wt(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, C.useMemo)(() => void 0, [t]), s = (0, C.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, C.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = Ct(a) ? a : null, o = n ? s.get(n) : null;+ let n = Tt(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -2376,7 +2376,7 @@ function St(e) {i]);}-function Ct(e) {+function Tt(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -2386,26 +2386,26 @@ function Ct(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function wt(e) {- if (Et()) e.focus({ preventScroll: !0 });+function Et(e) {+ if (Ot()) e.focus({ preventScroll: !0 });else {- let t = Dt(e);- e.focus(), Ot(t);+ let t = kt(e);+ e.focus(), At(t);}}-var Tt = null;-function Et() {- if (Tt == null) {- Tt = !1;+var Dt = null;+function Ot() {+ if (Dt == null) {+ Dt = !1;try {document.createElement("div").focus({ get preventScroll() {- return Tt = !0, !0;+ return Dt = !0, !0;} });} catch {}}- return Tt;+ return Dt;}-function Dt(e) {+function kt(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,@@ -2418,25 +2418,25 @@ function Dt(e) {scrollLeft: r.scrollLeft}), n;}-function Ot(e) {+function At(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 L = (e) => jt(e) ? e.document : Mt(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), kt = (e) => L(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function At(e) {+var F = (e) => Nt(e) ? e.document : Pt(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), jt = (e) => F(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function Mt(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function jt(e) {+function Nt(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function Mt(e) {- return At(e) && e.nodeType === 9;+function Pt(e) {+ return Mt(e) && e.nodeType === 9;}-function Nt(e) {- return At(e) && e.nodeType === 11 && "host" in e;+function Ft(e) {+ return Mt(e) && e.nodeType === 11 && "host" in e;}-function Pt(e, t, n, r) {+function It(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);@@ -2444,7 +2444,7 @@ function Pt(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function Ft(e, t, n, r) {+function Lt(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -2459,73 +2459,73 @@ function Ft(e, t, n, r) {}//#endregion//#region node_modules/react-stately/dist/private/flags/flags.mjs-var It = !1;-function Lt() {- return It;+var Rt = !1;+function zt() {+ return Rt;}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function R(e, t) {- if (!Lt()) return t && e ? e.contains(t) : !1;+function I(e, t) {+ if (!zt()) 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 : Nt(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Ft(n) ? n.host : n.parentNode;}return !1;}-var Rt = (e = document) => {- if (!Lt()) return e.activeElement;+var Bt = (e = document) => {+ if (!zt()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};-function z(e) {- if (Lt() && e.target instanceof Element && e.target.shadowRoot) {+function L(e) {+ if (zt() && 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 zt(e, t) {+function Vt(e, t) {if (t === null) return [];- t ??= kt(e);+ t ??= jt(e);let n = [t];- if (!Lt() || !e || e === t) return n;+ if (!zt() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; Nt(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; Ft(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function Bt(e) {+function Ht(e) {if (!e) return !1;- let t = e.getRootNode(), n = kt(e);+ let t = e.getRootNode(), n = jt(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 Vt = typeof Element < "u" && "checkVisibility" in Element.prototype;-function Ht(e) {- let t = kt(e);+var Ut = typeof Element < "u" && "checkVisibility" in Element.prototype;+function Wt(e) {+ let t = jt(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 } = kt(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = jt(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function Ut(e, t) {+function Gt(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 Wt(e, t) {- return Vt ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Ht(e) && Ut(e, t) && (!e.parentElement || Wt(e.parentElement, e));+function Kt(e, t) {+ return Ut ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Wt(e) && Gt(e, t) && (!e.parentElement || Kt(e.parentElement, e));}//#endregion//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs-var Gt = [+var qt = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -2540,60 +2540,60 @@ var Gt = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], Kt = Gt.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-Gt.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var qt = Gt.join(":not([hidden]):not([tabindex=\"-1\"]),");-function Jt(e, t) {- return e.matches(Kt) && !Xt(e) && (t?.skipVisibilityCheck || Wt(e));+], Jt = qt.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+qt.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var Yt = qt.join(":not([hidden]):not([tabindex=\"-1\"]),");+function Xt(e, t) {+ return e.matches(Jt) && !Qt(e) && (t?.skipVisibilityCheck || Kt(e));}-function Yt(e) {- return e.matches(qt) && Wt(e) && !Xt(e);+function Zt(e) {+ return e.matches(Yt) && Kt(e) && !Qt(e);}-function Xt(e) {+function Qt(e) {let t = e;for (; t != null;) {- if (t instanceof kt(t).HTMLElement && t.inert) return !0;+ if (t instanceof jt(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}//#endregion//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var Zt = typeof document < "u" ? C.useLayoutEffect : () => {};+var $t = typeof document < "u" ? C.useLayoutEffect : () => {};//#endregion//#region node_modules/react-aria/dist/private/interactions/utils.mjs-function Qt(e) {+function en(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function $t(e, t) {+function tn(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function en(e) {+function nn(e) {let t = (0, C.useRef)({isFocused: !1,observer: null});- return Zt(() => {+ return $t(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);};}, []), (0, C.useCallback)((n) => {- let r = z(n);+ let r = L(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 = Qt(r);+ let t = en(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 === Rt() ? null : Rt();+ let e = n === Bt() ? null : Bt();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -2606,83 +2606,83 @@ function en(e) {}}, [e]);}-var tn = !1;-function nn(e) {- for (; e && !Jt(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = Rt(kt(e).document);+var rn = !1;+function an(e) {+ for (; e && !Xt(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = Bt(jt(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && Nt(n) ? n : kt(e), i = (t) => t === e || t != null && R(e, t), a = (e) => e === t || t != null && e != null && R(t, e);- tn = !0;+ let n = e?.getRootNode(), r = n != null && Ft(n) ? n : jt(e), i = (t) => t === e || t != null && I(e, t), a = (e) => e === t || t != null && e != null && I(t, e);+ rn = !0;let o = !1, s = (e) => {- (a(z(e)) || o) && e.stopImmediatePropagation();+ (a(L(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(z(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, wt(t), d()));+ (a(L(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Et(t), d()));}, l = (e) => {- (i(z(e)) || o) && e.stopImmediatePropagation();+ (i(L(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(z(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, wt(t), d()));+ (i(L(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Et(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), tn = !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), rn = !1, o = !1;}, f = requestAnimationFrame(d);return d;}//#endregion//#region node_modules/react-aria/dist/private/utils/platform.mjs-function rn(e) {+function on(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 an(e) {+function sn(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function on(e) {+function cn(e) {let t = null;return () => (t ??= e(), t);}-var sn = on(function() {- return an(/^Mac/i);-}), cn = on(function() {- return an(/^iPhone/i);-}), ln = on(function() {- return an(/^iPad/i) || sn() && navigator.maxTouchPoints > 1;-}), un = on(function() {- return cn() || ln();-}), dn = on(function() {- return sn() || un();-}), fn = on(function() {- return rn(/AppleWebKit/i) && (un() || !pn());-}), pn = on(function() {- return rn(/Chrome|CriOS|CrMo/i);-}), mn = on(function() {- return rn(/Android/i);-}), hn = on(function() {- return rn(/(Firefox|FxiOS)/i);+var ln = cn(function() {+ return sn(/^Mac/i);+}), un = cn(function() {+ return sn(/^iPhone/i);+}), dn = cn(function() {+ return sn(/^iPad/i) || ln() && navigator.maxTouchPoints > 1;+}), fn = cn(function() {+ return un() || dn();+}), pn = cn(function() {+ return ln() || fn();+}), mn = cn(function() {+ return on(/AppleWebKit/i) && (fn() || !hn());+}), hn = cn(function() {+ return on(/Chrome|CriOS|CrMo/i);+}), gn = cn(function() {+ return on(/Android/i);+}), _n = cn(function() {+ return on(/(Firefox|FxiOS)/i);});//#endregion//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function gn(e) {- return e.pointerType === "" && e.isTrusted ? !0 : mn() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function vn(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : gn() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function _n(e) {- return !mn() && e.width === 0 && e.height === 0 || mn() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function yn(e) {+ return !gn() && e.width === 0 && e.height === 0 || gn() && 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 vn = /*#__PURE__*/ (0, C.createContext)({+var bn = /*#__PURE__*/ (0, C.createContext)({isNative: !0,- open: Sn,+ open: wn,useHref: (e) => e});-function yn() {- return (0, C.useContext)(vn);+function xn() {+ return (0, C.useContext)(bn);}-function bn(e, t, n = !0) {+function Sn(e, t, n = !0) {let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;- !fn() && hn() && window.event?.type?.startsWith("key") && e.target === "_blank" && (sn() ? r = !0 : i = !0);- let s = fn() && sn() && !ln() ? new KeyboardEvent("keydown", {+ !mn() && _n() && window.event?.type?.startsWith("key") && e.target === "_blank" && (ln() ? r = !0 : i = !0);+ let s = mn() && ln() && !dn() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -2697,21 +2697,21 @@ function bn(e, t, n = !0) {bubbles: !0,cancelable: !0});- bn.isOpening = n, wt(e), e.dispatchEvent(s), bn.isOpening = !1;+ Sn.isOpening = n, Et(e), e.dispatchEvent(s), Sn.isOpening = !1;}-bn.isOpening = !1;-function xn(e, t) {+Sn.isOpening = !1;+function Cn(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 Sn(e, t) {- xn(e, (e) => bn(e, t));+function wn(e, t) {+ Cn(e, (e) => Sn(e, t));}-function Cn(e) {- let t = yn().useHref(e.href ?? "");+function Tn(e) {+ let t = xn().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -2721,8 +2721,8 @@ function Cn(e) {"data-referrer-policy": e.referrerPolicy};}-function wn(e) {- let t = yn().useHref(e?.href ?? ""), n = {};+function En(e) {+ let t = xn().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -2735,133 +2735,133 @@ function wn(e) {}//#endregion//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var Tn = {+var Dn = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, En = /*#__PURE__*/ C.createContext(Tn), Dn = /*#__PURE__*/ C.createContext(!1);+}, On = /*#__PURE__*/ C.createContext(Dn), kn = /*#__PURE__*/ C.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var On = /* @__PURE__ */ new WeakMap();-function kn(e = !1) {- let t = (0, C.useContext)(En), n = (0, C.useRef)(null);+var An = /* @__PURE__ */ new WeakMap();+function jn(e = !1) {+ let t = (0, C.useContext)(On), n = (0, C.useRef)(null);if (n.current === null && !e) {let e = C.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = On.get(e);- n == null ? On.set(e, {+ let n = An.get(e);+ n == null ? An.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, On.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, An.delete(e));}n.current = ++t.current;}return n.current;}-function An(e) {- let t = (0, C.useContext)(En), n = kn(!!e), r = `react-aria${t.prefix}`;+function Mn(e) {+ let t = (0, C.useContext)(On), n = jn(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function jn(e) {- let t = C.useId(), [n] = (0, C.useState)(In()), r = n ? "react-aria" : `react-aria${Tn.prefix}`;+function Nn(e) {+ let t = C.useId(), [n] = (0, C.useState)(Rn()), r = n ? "react-aria" : `react-aria${Dn.prefix}`;return e || `${r}-${t}`;}-var Mn = typeof C.useId == "function" ? jn : An;-function Nn() {+var Pn = typeof C.useId == "function" ? Nn : Mn;+function Fn() {return !1;}-function Pn() {+function In() {return !0;}-function Fn(e) {+function Ln(e) {return () => {};}-function In() {- return typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore(Fn, Nn, Pn) : (0, C.useContext)(Dn);+function Rn() {+ return typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore(Ln, Fn, In) : (0, C.useContext)(kn);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var Ln = null, Rn = /* @__PURE__ */ new Set(), zn = /* @__PURE__ */ new Map(), Bn = !1, Vn = !1, Hn = {+var zn = null, Bn = /* @__PURE__ */ new Set(), Vn = /* @__PURE__ */ new Map(), Hn = !1, Un = !1, Wn = {Tab: !0,Escape: !0};-function Un(e, t) {- for (let n of Rn) n(e, t);-}-function Wn(e) {- return !(e.metaKey || !sn() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");-}-function Gn(e) {- Bn = !0, !bn.isOpening && Wn(e) && (Ln = "keyboard", Un("keyboard", e));+function Gn(e, t) {+ for (let n of Bn) n(e, t);}function Kn(e) {- Ln = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Bn = !0, Un("pointer", e));+ return !(e.metaKey || !ln() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}function qn(e) {- !bn.isOpening && gn(e) && (Bn = !0, Ln = "virtual");+ Hn = !0, !Sn.isOpening && Kn(e) && (zn = "keyboard", Gn("keyboard", e));}function Jn(e) {- if (tn) return;- let t = z(e), n = kt(t), r = L(t);+ zn = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Hn = !0, Gn("pointer", e));+}+function Yn(e) {+ !Sn.isOpening && vn(e) && (Hn = !0, zn = "virtual");+}+function Xn(e) {+ if (rn) return;+ let t = L(e), n = jt(t), r = F(t);if (t === n) {- Vn = !0;+ Un = !0;return;}- t === r || !e.isTrusted || (!Bn && !Vn && (Ln = "virtual", Un("virtual", e)), Bn = !1, Vn = !1);+ t === r || !e.isTrusted || (!Hn && !Un && (zn = "virtual", Gn("virtual", e)), Hn = !1, Un = !1);}-function Yn() {- tn || (Bn = !1, Vn = !0);+function Zn() {+ rn || (Hn = !1, Un = !0);}-function Xn(e) {+function Qn(e) {if (typeof window > "u" || typeof document > "u") return;- let t = kt(e), n = L(e);- if (zn.get(t)) return;+ let t = jt(e), n = F(e);+ if (Vn.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- Bn = !0, r.apply(this, arguments);+ Hn = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", Gn, !0), n.addEventListener("keyup", Gn, !0), n.addEventListener("click", qn, !0), t.addEventListener("focus", Jn, !0), t.addEventListener("blur", Yn, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Kn, !0), n.addEventListener("pointermove", Kn, !0), n.addEventListener("pointerup", Kn, !0)), t.addEventListener("beforeunload", () => {- Zn(e);- }, { once: !0 }), zn.set(t, { focus: r });+ }), n.addEventListener("keydown", qn, !0), n.addEventListener("keyup", qn, !0), n.addEventListener("click", Yn, !0), t.addEventListener("focus", Xn, !0), t.addEventListener("blur", Zn, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Jn, !0), n.addEventListener("pointermove", Jn, !0), n.addEventListener("pointerup", Jn, !0)), t.addEventListener("beforeunload", () => {+ $n(e);+ }, { once: !0 }), Vn.set(t, { focus: r });}-var Zn = (e, t) => {- let n = kt(e), r = L(e);- t && r.removeEventListener("DOMContentLoaded", t), zn.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var $n = (e, t) => {+ let n = jt(e), r = F(e);+ t && r.removeEventListener("DOMContentLoaded", t), Vn.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: zn.get(n).focus- }), r.removeEventListener("keydown", Gn, !0), r.removeEventListener("keyup", Gn, !0), r.removeEventListener("click", qn, !0), n.removeEventListener("focus", Jn, !0), n.removeEventListener("blur", Yn, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Kn, !0), r.removeEventListener("pointermove", Kn, !0), r.removeEventListener("pointerup", Kn, !0)), zn.delete(n));+ value: Vn.get(n).focus+ }), r.removeEventListener("keydown", qn, !0), r.removeEventListener("keyup", qn, !0), r.removeEventListener("click", Yn, !0), n.removeEventListener("focus", Xn, !0), n.removeEventListener("blur", Zn, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Jn, !0), r.removeEventListener("pointermove", Jn, !0), r.removeEventListener("pointerup", Jn, !0)), Vn.delete(n));};-function Qn(e) {- let t = L(e), n;+function er(e) {+ let t = F(e), n;return t.readyState === "loading" ? (n = () => {- Xn(e);- }, t.addEventListener("DOMContentLoaded", n)) : Xn(e), () => Zn(e, n);+ Qn(e);+ }, t.addEventListener("DOMContentLoaded", n)) : Qn(e), () => $n(e, n);}-typeof document < "u" && Qn();-function $n() {- return Ln !== "pointer";+typeof document < "u" && er();+function tr() {+ return zn !== "pointer";}-function er() {- return Ln;+function nr() {+ return zn;}-function tr(e) {- Ln = e, Un(e, null);+function rr(e) {+ zn = e, Gn(e, null);}-function nr() {- Xn();- let [e, t] = (0, C.useState)(Ln);+function ir() {+ Qn();+ let [e, t] = (0, C.useState)(zn);return (0, C.useEffect)(() => {let e = () => {- t(Ln);+ t(zn);};- return Rn.add(e), () => {- Rn.delete(e);+ return Bn.add(e), () => {+ Bn.delete(e);};- }, []), In() ? null : e;+ }, []), Rn() ? null : e;}-var rr = /* @__PURE__ */ new Set([+var ar = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -2872,77 +2872,77 @@ var rr = /* @__PURE__ */ new Set(["submit","reset"]);-function ir(e, t, n) {- let r = n ? z(n) : void 0, i = L(r), a = kt(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 = Rt(i);- return e = e || u instanceof o && !rr.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Hn[n.key]);+function or(e, t, n) {+ let r = n ? L(n) : void 0, i = F(r), a = jt(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 = Bt(i);+ return e = e || u instanceof o && !ar.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Wn[n.key]);}-function ar(e, t, n) {- Xn(), (0, C.useEffect)(() => {+function sr(e, t, n) {+ Qn(), (0, C.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- ir(!!n?.isTextInput, t, r) && e($n());+ or(!!n?.isTextInput, t, r) && e(tr());};- return Rn.add(t), () => {- Rn.delete(t);+ return Bn.add(t), () => {+ Bn.delete(t);};}, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var or = /* @__PURE__ */ new Map(), sr = /* @__PURE__ */ new Set();-function cr() {+var cr = /* @__PURE__ */ new Map(), lr = /* @__PURE__ */ new Set();+function ur() {if (typeof window > "u") return;function e(e) {return "propertyName" in e;}let t = (t) => {- let r = z(t);+ let r = L(t);if (!e(t) || !r) return;- let i = or.get(r);- i || (i = /* @__PURE__ */ new Set(), or.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);+ let i = cr.get(r);+ i || (i = /* @__PURE__ */ new Set(), cr.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);}, n = (t) => {- let r = z(t);+ let r = L(t);if (!e(t) || !r) return;- let i = or.get(r);- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), or.delete(r)), or.size === 0)) {- for (let e of sr) e();- sr.clear();+ let i = cr.get(r);+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), cr.delete(r)), cr.size === 0)) {+ for (let e of lr) e();+ lr.clear();}};document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);}-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", cr) : cr());-function lr() {- for (let [e] of or) "isConnected" in e && !e.isConnected && or.delete(e);+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", ur) : ur());+function dr() {+ for (let [e] of cr) "isConnected" in e && !e.isConnected && cr.delete(e);}-function ur(e) {+function fr(e) {requestAnimationFrame(() => {- lr(), or.size === 0 ? e() : sr.add(e);+ dr(), cr.size === 0 ? e() : lr.add(e);});}//#endregion//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function dr(e) {+function pr(e) {if (!e.isConnected) return;- let t = L(e);- if (er() === "virtual") {- let n = Rt(t);- ur(() => {- let r = Rt(t);- (r === n || r === t.body) && e.isConnected && wt(e);+ let t = F(e);+ if (nr() === "virtual") {+ let n = Bt(t);+ fr(() => {+ let r = Bt(t);+ (r === n || r === t.body) && e.isConnected && Et(e);});- } else wt(e);+ } else Et(e);}//#endregion//#region node_modules/react-aria/dist/private/utils/chain.mjs-function fr(...e) {+function mr(...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 pr(e) {+function hr(e) {let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(t), i = (0, C.useRef)(null), a = (0, C.useRef)(() => {if (!i.current) return;let e = i.current.next();@@ -2952,7 +2952,7 @@ function pr(e) {}r.current === e.value ? a.current() : n(e.value);});- return Zt(() => {+ return $t(() => {r.current = t, i.current && a.current();}), [t, (0, C.useCallback)((e) => {i.current = e(r.current), a.current();@@ -2960,21 +2960,21 @@ function pr(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useId.mjs-var mr = !!(typeof window < "u" && window.document && window.document.createElement), hr = /* @__PURE__ */ new Map(), gr;-typeof FinalizationRegistry < "u" && (gr = new FinalizationRegistry((e) => {- hr.delete(e);+var gr = !!(typeof window < "u" && window.document && window.document.createElement), _r = /* @__PURE__ */ new Map(), vr;+typeof FinalizationRegistry < "u" && (vr = new FinalizationRegistry((e) => {+ _r.delete(e);}));-var _r = /* @__PURE__ */ new WeakMap();-function vr(e) {- let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(null), i = Mn(t), a = (0, C.useRef)(null), o = _r.get(a);- if (gr && o !== i && (o != null && gr.unregister(a), gr.register(a, i, a), _r.set(a, i)), mr) {- let e = hr.get(i);- e && !e.includes(r) ? e.push(r) : hr.set(i, [r]);- }- return Zt(() => {+var yr = /* @__PURE__ */ new WeakMap();+function br(e) {+ let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(null), i = Pn(t), a = (0, C.useRef)(null), o = yr.get(a);+ if (vr && o !== i && (o != null && vr.unregister(a), vr.register(a, i, a), yr.set(a, i)), gr) {+ let e = _r.get(i);+ e && !e.includes(r) ? e.push(r) : _r.set(i, [r]);+ }+ return $t(() => {let e = i;return () => {- gr && (gr.unregister(a), _r.delete(a)), hr.delete(e);+ vr && (vr.unregister(a), yr.delete(a)), _r.delete(e);};}, [i]), (0, C.useEffect)(() => {let e = r.current;@@ -2983,20 +2983,20 @@ function vr(e) {};}), i;}-function yr(e, t) {+function xr(e, t) {if (e === t) return e;- let n = hr.get(e);+ let n = _r.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = hr.get(t);+ let r = _r.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function br(e = []) {- let t = vr(), [n, r] = pr(t), i = (0, C.useCallback)(() => {+function Sr(e = []) {+ let t = br(), [n, r] = hr(t), i = (0, C.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return Zt(i, [+ return $t(i, [t,i,...e@@ -3004,60 +3004,60 @@ function br(e = []) {}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function xr(...e) {+function Cr(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = Sr(e, t);+ let r = wr(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : Sr(e[n], null);+ typeof t == "function" ? t() : wr(e[n], null);});};};}-function Sr(e, t) {+function wr(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}//#endregion//#region node_modules/clsx/dist/clsx.mjs-function Cr(e) {+function Tr(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 = Cr(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = Tr(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function wr() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Cr(e)) && (r && (r += " "), r += t);+function Er() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Tr(e)) && (r && (r += " "), r += t);return r;}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs-function B(...e) {+function R(...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] = fr(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = wr(n, i) : e === "id" && n && i ? t.id = yr(n, i) : e === "ref" && n && i ? t.ref = xr(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] = mr(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Er(n, i) : e === "id" && n && i ? t.id = xr(n, i) : e === "ref" && n && i ? t.ref = Cr(n, i) : t[e] = i === void 0 ? n : i;}}return t;}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs-function Tr(e) {+function Dr(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, C.useCallback)((e) => {- if (z(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = en(a), s = (0, C.useCallback)((e) => {- let t = z(e), r = L(t), a = r ? Rt(r) : Rt();+ if (L(e) === e.currentTarget) return r && r(e), i && i(!1), !0;+ }, [r, i]), o = nn(a), s = (0, C.useCallback)((e) => {+ let t = L(e), r = F(t), a = r ? Bt(r) : Bt();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -3071,7 +3071,7 @@ function Tr(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function Er(e) {+function Or(e) {if (e) return (t) => {let n = !0;e({@@ -3096,33 +3096,33 @@ function Er(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Dr = /* @__PURE__ */ new Set([+var kr = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Or = [+]), Ar = ["Alt","Control","Meta","Shift"];-function kr(e) {+function jr(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(sn() ? "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(ln() ? "Meta" : "Control"), t;}-function Ar(e) {+function Mr(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 jr(e) {- return Or.filter((t) => e.has(t));+function Nr(e) {+ return Ar.filter((t) => e.has(t));}-function Mr(e) {+function Pr(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return Dr.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 kr.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,@@ -3134,10 +3134,10 @@ function Mr(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 Nr(e) {+function Fr(e) {return e.toLowerCase();}-var Pr = {+var Ir = {space: " ",esc: "escape",del: "delete",@@ -3149,26 +3149,26 @@ var Pr = {pageup: "pageup",pagedown: "pagedown"};-function Fr(e) {- let t = Nr(e);- return Pr[t] ?? t;+function Lr(e) {+ let t = Fr(e);+ return Ir[t] ?? t;}-function Ir(e) {- let t = jr(kr(e)), n = Fr(e.key);+function Rr(e) {+ let t = Nr(jr(e)), n = Lr(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function Lr(e) {- let t = jr(Ar(e)), n = Nr(e.key);+function zr(e) {+ let t = Nr(Mr(e)), n = Fr(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function Rr(e) {+function Br(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = Mr(n);- t.set(Ir(e), r);+ let e = Pr(n);+ t.set(Rr(e), r);}return (e) => {- let n = Lr(e), r = t.get(n), i = r?.(e);+ let n = zr(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -3180,11 +3180,11 @@ function Rr(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function zr(e) {+function Vr(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Rr(t), s = Er((e) => {- if (!R(e.currentTarget, z(e))) {+ let o = Br(t), s = Or((e) => {+ if (!I(e.currentTarget, L(e))) {e.continuePropagation();return;}@@ -3193,8 +3193,8 @@ function zr(e) {return;}o(e);- }), c = Er((e) => {- if (!R(e.currentTarget, z(e))) {+ }), c = Or((e) => {+ if (!I(e.currentTarget, L(e))) {e.continuePropagation();return;}@@ -3204,8 +3204,8 @@ function zr(e) {}e.continuePropagation();});- i = e.onKeyDown ? fr(e.onKeyDown, s) : s, a = e.onKeyUp ? fr(e.onKeyUp, c) : c;- } else i = Er(e.onKeyDown), a = Er(e.onKeyUp);+ i = e.onKeyDown ? mr(e.onKeyDown, s) : s, a = e.onKeyUp ? mr(e.onKeyUp, c) : c;+ } else i = Or(e.onKeyDown), a = Or(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a@@ -3213,7 +3213,7 @@ function zr(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function Br(e) {+function Hr(e) {let t = (0, C.useRef)(null), n = (0, C.useRef)(void 0), r = (0, C.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -3236,8 +3236,8 @@ function Br(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function Vr(e, t) {- Zt(() => {+function Ur(e, t) {+ $t(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};@@ -3245,20 +3245,20 @@ function Vr(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var Hr = /*#__PURE__*/ C.createContext(null);-function Ur(e) {- let t = (0, C.useContext)(Hr) || {};- Vr(t, e);+var Wr = /*#__PURE__*/ C.createContext(null);+function Gr(e) {+ let t = (0, C.useContext)(Wr) || {};+ Ur(t, e);let { ref: n, ...r } = t;return r;}-function Wr(e, t) {- let { focusProps: n } = Tr(e), { keyboardProps: r } = zr(e), i = B(n, r), a = Ur(t), o = e.isDisabled ? {} : a, s = (0, C.useRef)(e.autoFocus);+function Kr(e, t) {+ let { focusProps: n } = Dr(e), { keyboardProps: r } = Vr(e), i = R(n, r), a = Gr(t), o = e.isDisabled ? {} : a, s = (0, C.useRef)(e.autoFocus);(0, C.useEffect)(() => {- s.current && t.current && dr(t.current), s.current = !1;+ s.current && t.current && pr(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;- return e.isDisabled && (c = void 0), { focusableProps: B({+ return e.isDisabled && (c = void 0), { focusableProps: R({...i,tabIndex: c}, o) };@@ -3290,22 +3290,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var Gr = /*#__PURE__*/ (0, C.createContext)(!1);-function Kr(e) {- if ((0, C.useContext)(Gr)) return /*#__PURE__*/ C.createElement(C.Fragment, null, e.children);- let t = /*#__PURE__*/ C.createElement(Gr.Provider, { value: !0 }, e.children);+var qr = /*#__PURE__*/ (0, C.createContext)(!1);+function Jr(e) {+ if ((0, C.useContext)(qr)) return /*#__PURE__*/ C.createElement(C.Fragment, null, e.children);+ let t = /*#__PURE__*/ C.createElement(qr.Provider, { value: !0 }, e.children);return /*#__PURE__*/ C.createElement("template", null, t);}-function qr(e) {- let t = (t, n) => (0, C.useContext)(Gr) ? null : e(t, n);+function Yr(e) {+ let t = (t, n) => (0, C.useContext)(qr) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, C.forwardRef)(t);}-function Jr() {- return (0, C.useContext)(Gr);+function Xr() {+ return (0, C.useContext)(qr);}//#endregion//#region node_modules/react-dom/cjs/react-dom.production.js-var Yr = /* @__PURE__ */ g(((e) => {+var Zr = /* @__PURE__ */ g(((e) => {var t = b();function n(e) {var t = "https://react.dev/errors/" + e;@@ -3433,7 +3433,7 @@ var Yr = /* @__PURE__ */ g(((e) => {}, e.useFormStatus = function() {return l.H.useHostTransitionStatus();}, e.version = "19.3.0";-})), Xr = /* @__PURE__ */ g(((e, t) => {+})), Qr = /* @__PURE__ */ g(((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);@@ -3441,8 +3441,8 @@ var Yr = /* @__PURE__ */ g(((e) => {console.error(e);}}- n(), t.exports = Yr();-})), Zr = /* @__PURE__ */ g(((e) => {+ n(), t.exports = Zr();+})), $r = /* @__PURE__ */ g(((e) => {var t = b();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -3480,47 +3480,47 @@ var Yr = /* @__PURE__ */ g(((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;-})), Qr = /* @__PURE__ */ g(((e, t) => {- t.exports = Zr();-})), $r = /* @__PURE__ */ v(Xr(), 1), ei = Qr(), ti = /*#__PURE__*/ (0, C.createContext)(!1), ni = /*#__PURE__*/ (0, C.createContext)(null);-function ri(e) {- if ((0, C.useContext)(ni)) return e.content;- let { collection: t, document: n } = si(e.createCollection);- return /*#__PURE__*/ C.createElement(C.Fragment, null, /*#__PURE__*/ C.createElement(Kr, null, /*#__PURE__*/ C.createElement(ni.Provider, { value: n }, e.content)), /*#__PURE__*/ C.createElement(ii, {+})), ei = /* @__PURE__ */ g(((e, t) => {+ t.exports = $r();+})), ti = /* @__PURE__ */ v(Qr(), 1), ni = ei(), ri = /*#__PURE__*/ (0, C.createContext)(!1), ii = /*#__PURE__*/ (0, C.createContext)(null);+function ai(e) {+ if ((0, C.useContext)(ii)) return e.content;+ let { collection: t, document: n } = li(e.createCollection);+ return /*#__PURE__*/ C.createElement(C.Fragment, null, /*#__PURE__*/ C.createElement(Jr, null, /*#__PURE__*/ C.createElement(ii.Provider, { value: n }, e.content)), /*#__PURE__*/ C.createElement(oi, {render: e.children,collection: t}));}-function ii({ collection: e, render: t }) {+function oi({ collection: e, render: t }) {return t(e);}-function ai(e, t, n) {- let r = In(), i = (0, C.useRef)(r);+function si(e, t, n) {+ let r = Rn(), i = (0, C.useRef)(r);i.current = r;let a = (0, C.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, ei.useSyncExternalStore)(e, a);+ return (0, ni.useSyncExternalStore)(e, a);}-var oi = typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore : ai;-function si(e) {- let [t] = (0, C.useState)(() => new xt(e?.() || new _t()));+var ci = typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore : si;+function li(e) {+ let [t] = (0, C.useState)(() => new Ct(e?.() || new yt()));return {- collection: oi((0, C.useCallback)((e) => t.subscribe(e), [t]), (0, C.useCallback)(() => {+ collection: ci((0, C.useCallback)((e) => t.subscribe(e), [t]), (0, C.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, C.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var ci = /*#__PURE__*/ (0, C.createContext)(null);-function li(e) {- return class extends pt {+var ui = /*#__PURE__*/ (0, C.createContext)(null);+function di(e) {+ return class extends ht {static {this.type = e;}};}-function ui(e, t, n, r, i, a) {- typeof e == "string" && (e = li(e));+function fi(e, t, n, r, i, a) {+ typeof e == "string" && (e = di(e));let o = (0, C.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -3529,81 +3529,81 @@ function ui(e, t, n, r, i, a) {r,a,e- ]), s = (0, C.useContext)(ci);+ ]), s = (0, C.useContext)(ui);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__*/ C.createElement(ci.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__*/ C.createElement(ui.Provider, { value: o }, i) : null;}return /*#__PURE__*/ C.createElement(e.type, { ref: o }, i);}-function di(e, t) {+function pi(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, C.forwardRef)((r, i) => {- let a = (0, C.useContext)(Hr);- if (!(0, C.useContext)(ti)) {+ let a = (0, C.useContext)(Wr);+ if (!(0, C.useContext)(ri)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return ui(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ C.createElement(Hr.Provider, { value: a }, /*#__PURE__*/ C.createElement(n, { node: e })));+ return fi(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ C.createElement(Wr.Provider, { value: a }, /*#__PURE__*/ C.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function fi(e, t, n = pi) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, C.forwardRef)((t, i) => ui(e, t, i, null, n(t), (e) => /*#__PURE__*/ C.createElement(r, { node: e })) ?? /*#__PURE__*/ C.createElement(C.Fragment, null));+function mi(e, t, n = hi) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, C.forwardRef)((t, i) => fi(e, t, i, null, n(t), (e) => /*#__PURE__*/ C.createElement(r, { node: e })) ?? /*#__PURE__*/ C.createElement(C.Fragment, null));return i.displayName = t.name, i;}-function pi(e) {- return St({+function hi(e) {+ return wt({...e,addIdAndValue: !0});}-var mi = /*#__PURE__*/ (0, C.createContext)(null);-function hi(e) {- let t = (0, C.useContext)(mi), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = pi({+var gi = /*#__PURE__*/ (0, C.createContext)(null);+function _i(e) {+ let t = (0, C.useContext)(gi), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = hi({...e,idScope: r,dependencies: n});- return (0, C.useContext)(ni) && (i = /*#__PURE__*/ C.createElement(gi, null, i)), t = (0, C.useMemo)(() => ({+ return (0, C.useContext)(ii) && (i = /*#__PURE__*/ C.createElement(vi, null, i)), t = (0, C.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ C.createElement(mi.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ C.createElement(gi.Provider, { value: t }, i);}-function gi({ children: e }) {- let t = (0, C.useContext)(ni), n = (0, C.useMemo)(() => /*#__PURE__*/ C.createElement(ni.Provider, { value: null }, /*#__PURE__*/ C.createElement(ti.Provider, { value: !0 }, e)), [e]);- return In() ? /*#__PURE__*/ C.createElement(ci.Provider, { value: t }, n) : /*#__PURE__*/ (0, $r.createPortal)(n, t);+function vi({ children: e }) {+ let t = (0, C.useContext)(ii), n = (0, C.useMemo)(() => /*#__PURE__*/ C.createElement(ii.Provider, { value: null }, /*#__PURE__*/ C.createElement(ri.Provider, { value: !0 }, e)), [e]);+ return Rn() ? /*#__PURE__*/ C.createElement(ui.Provider, { value: t }, n) : /*#__PURE__*/ (0, ti.createPortal)(n, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/constants.mjs-var _i = "react-aria-clear-focus", vi = "react-aria-focus";+var yi = "react-aria-clear-focus", bi = "react-aria-focus";//#endregion//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function yi(e) {- let t = Si(L(e));- t !== e && (t && bi(t, e), e && xi(e, t));+function xi(e) {+ let t = wi(F(e));+ t !== e && (t && Si(t, e), e && Ci(e, t));}-function bi(e, t) {+function Si(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function xi(e, t) {+function Ci(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function Si(e) {- let t = Rt(e), n = t?.getAttribute("aria-activedescendant");+function wi(e) {+ let t = Bt(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}//#endregion//#region node_modules/react-aria/dist/private/utils/keyboard.mjs-function Ci(e) {- return sn() ? e.metaKey : e.ctrlKey;+function Ti(e) {+ return ln() ? e.metaKey : e.ctrlKey;}-var wi = /* @__PURE__ */ new Set([+var Ei = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -3614,15 +3614,15 @@ var wi = /* @__PURE__ */ new Set(["submit","reset"]);-function Ti(e) {- return e instanceof HTMLInputElement && !wi.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;+function Di(e) {+ return e instanceof HTMLInputElement && !Ei.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;}//#endregion//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var Ei = C.useInsertionEffect ?? Zt;-function Di(e) {+var Oi = C.useInsertionEffect ?? $t;+function ki(e) {let t = (0, C.useRef)(null);- return Ei(() => {+ return Oi(() => {t.current = e;}, [e]), (0, C.useCallback)((...e) => {let n = t.current;@@ -3631,10 +3631,10 @@ function Di(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useEvent.mjs-function Oi(e, t, n, r) {- let i = Di(n), a = n == null;+function Ai(e, t, n, r) {+ let i = ki(n), a = n == null;(0, C.useEffect)(() => {- if (!(a || e.current == null)) return Pt(e.current, t, i, r);+ if (!(a || e.current == null)) return It(e.current, t, i, r);}, [e,t,@@ -3644,9 +3644,9 @@ function Oi(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLabels.mjs-function ki(e, t) {+function ji(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = vr(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 = br(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@@ -3654,7 +3654,7 @@ function ki(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/utils.mjs-var Ai = /* @__PURE__ */ new Set([+var Mi = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -3665,7 +3665,7 @@ var Ai = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), ji = /* @__PURE__ */ new Set([+]), Ni = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -3686,20 +3686,20 @@ var Ai = /* @__PURE__ */ new Set(["ur","yi"]);-function Mi(e) {+function Pi(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 Ai.has(t.script);+ if (t.script) return Mi.has(t.script);}let t = e.split("-")[0];- return ji.has(t);+ return Ni.has(t);}//#endregion//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var Ni = Symbol.for("react-aria.i18n.locale");-function Pi() {- let e = typeof window < "u" && window[Ni] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var Fi = Symbol.for("react-aria.i18n.locale");+function Ii() {+ let e = typeof window < "u" && window[Fi] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -3707,33 +3707,33 @@ function Pi() {}return {locale: e,- direction: Mi(e) ? "rtl" : "ltr"+ direction: Pi(e) ? "rtl" : "ltr"};}-var Fi = Pi(), Ii = /* @__PURE__ */ new Set();-function Li() {- Fi = Pi();- for (let e of Ii) e(Fi);+var Li = Ii(), Ri = /* @__PURE__ */ new Set();+function zi() {+ Li = Ii();+ for (let e of Ri) e(Li);}-function Ri() {- let e = In(), [t, n] = (0, C.useState)(Fi);- return (0, C.useEffect)(() => (Ii.size === 0 && window.addEventListener("languagechange", Li), Ii.add(n), () => {- Ii.delete(n), Ii.size === 0 && window.removeEventListener("languagechange", Li);+function Bi() {+ let e = Rn(), [t, n] = (0, C.useState)(Li);+ return (0, C.useEffect)(() => (Ri.size === 0 && window.addEventListener("languagechange", zi), Ri.add(n), () => {+ Ri.delete(n), Ri.size === 0 && window.removeEventListener("languagechange", zi);}), []), e ? {- locale: typeof window < "u" && window[Ni] || "en-US",+ locale: typeof window < "u" && window[Fi] || "en-US",direction: "ltr"} : t;}//#endregion//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var zi = /*#__PURE__*/ C.createContext(null);-function Bi() {- let e = Ri();- return (0, C.useContext)(zi) || e;+var Vi = /*#__PURE__*/ C.createContext(null);+function Hi() {+ let e = Bi();+ return (0, C.useContext)(Vi) || e;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var Vi = Symbol.for("react-aria.i18n.locale"), Hi = Symbol.for("react-aria.i18n.strings"), Ui = void 0, Wi = class e {+var Ui = Symbol.for("react-aria.i18n.locale"), Wi = Symbol.for("react-aria.i18n.strings"), Gi = void 0, Ki = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -3744,39 +3744,39 @@ var Vi = Symbol.for("react-aria.i18n.locale"), Hi = Symbol.for("react-aria.i18n.}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = Gi(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = qi(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[Vi];- if (Ui === void 0) {- let t = window[Hi];+ let n = window[Ui];+ if (Gi === void 0) {+ let t = window[Wi];if (!t) return null;- Ui = {};- for (let r in t) Ui[r] = new e({ [n]: t[r] }, n);+ Gi = {};+ for (let r in t) Gi[r] = new e({ [n]: t[r] }, n);}- let r = Ui?.[t];+ let r = Gi?.[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 Gi(e, t, n = "en-US") {+function qi(e, t, n = "en-US") {if (t[e]) return t[e];- let r = Ki(e), i = qi(e);+ let r = Ji(e), i = Yi(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 Ki(e) {+function Ji(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function qi(e) {+function Yi(e) {if (Intl.Locale) return new Intl.Locale(e).script;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var Ji = /* @__PURE__ */ new Map(), Yi = /* @__PURE__ */ new Map(), Xi = class {+var Xi = /* @__PURE__ */ new Map(), Zi = /* @__PURE__ */ new Map(), Qi = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -3787,37 +3787,37 @@ var Ji = /* @__PURE__ */ new Map(), Yi = /* @__PURE__ */ new Map(), Xi = class {plural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = Ji.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Ji.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = Xi.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Xi.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = Yi.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), Yi.set(this.locale, t)), t.format(e);+ let t = Zi.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), Zi.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, Zi = /* @__PURE__ */ new WeakMap();-function Qi(e) {- let t = Zi.get(e);- return t || (t = new Wi(e), Zi.set(e, t)), t;+}, $i = /* @__PURE__ */ new WeakMap();+function ea(e) {+ let t = $i.get(e);+ return t || (t = new Ki(e), $i.set(e, t)), t;}-function $i(e, t) {- return t && Wi.getGlobalDictionaryForPackage(t) || Qi(e);+function ta(e, t) {+ return t && Ki.getGlobalDictionaryForPackage(t) || ea(e);}-function ea(e, t) {- let { locale: n } = Bi(), r = $i(e, t);- return (0, C.useMemo)(() => new Xi(n, r), [n, r]);+function na(e, t) {+ let { locale: n } = Hi(), r = ta(e, t);+ return (0, C.useMemo)(() => new Qi(n, r), [n, r]);}//#endregion//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var ta = /* @__PURE__ */ new Set(["id"]), na = /* @__PURE__ */ new Set([+var ra = /* @__PURE__ */ new Set(["id"]), ia = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), ra = /* @__PURE__ */ new Set([+]), z = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -3825,71 +3825,71 @@ var ta = /* @__PURE__ */ new Set(["id"]), na = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), ia = /* @__PURE__ */ new Set([+]), aa = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate"-]), aa = /* @__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(".")), oa = /^(data-.*)$/;-function V(e, t = {}) {+]), oa = /* @__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(".")), sa = /^(data-.*)$/;+function B(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) && (ta.has(t) || n && na.has(t) || r && ra.has(t) || i && ia.has(t) || a && (aa.has(t) || t.endsWith("Capture") && aa.has(t.slice(0, -7))) || o?.has(t) || oa.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (ra.has(t) || n && ia.has(t) || r && z.has(t) || i && aa.has(t) || a && (oa.has(t) || t.endsWith("Capture") && oa.has(t.slice(0, -7))) || o?.has(t) || sa.test(t)) && (s[t] = e[t]);return s;}//#endregion//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs-var sa = "default", ca = "", la = /* @__PURE__ */ new WeakMap();-function ua(e) {- if (un() && fn()) {- if (sa === "default") {- let t = L(e);- ca = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- sa = "disabled";+var ca = "default", la = "", ua = /* @__PURE__ */ new WeakMap();+function da(e) {+ if (fn() && mn()) {+ if (ca === "default") {+ let t = F(e);+ la = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ ca = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- la.set(e, e.style[t]), e.style[t] = "none";+ ua.set(e, e.style[t]), e.style[t] = "none";}}-function da(e) {- if (un() && fn()) {- if (sa !== "disabled") return;- sa = "restoring", setTimeout(() => {- ur(() => {- if (sa === "restoring") {- let t = L(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = ca || ""), ca = "", sa = "default";+function fa(e) {+ if (fn() && mn()) {+ if (ca !== "disabled") return;+ ca = "restoring", setTimeout(() => {+ fr(() => {+ if (ca === "restoring") {+ let t = F(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = la || ""), la = "", ca = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && la.has(e)) {- let t = la.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), la.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && ua.has(e)) {+ let t = ua.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), ua.delete(e);}}//#endregion//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function fa(e, t) {- let n = kt(t), r = L(t);+function pa(e, t) {+ let n = jt(t), r = F(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 pa = /* @__PURE__ */ new WeakMap();-function ma(e) {- let t = L(e), n = pa.get(t);- return n ??= fa("csp-nonce", t), n !== void 0 && pa.set(t, n), n;+var ma = /* @__PURE__ */ new WeakMap();+function ha(e) {+ let t = F(e), n = ma.get(t);+ return n ??= pa("csp-nonce", t), n !== void 0 && ma.set(t, n), n;}//#endregion//#region node_modules/react-aria/dist/private/interactions/context.mjs-var ha = C.createContext({ register: () => {} });-ha.displayName = "PressResponderContext";+var ga = C.createContext({ register: () => {} });+ga.displayName = "PressResponderContext";//#endregion//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function ga() {+function _a() {let e = (0, C.useRef)(/* @__PURE__ */ new Map()), t = (0, C.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -3916,15 +3916,15 @@ function ga() {}//#endregion//#region node_modules/react-aria/dist/private/interactions/usePress.mjs-function _a(e) {- let t = (0, C.useContext)(ha);+function va(e) {+ let t = (0, C.useContext)(ga);if (t) {let { register: n, ref: r, ...i } = t;- e = B(i, e), n();+ e = R(i, e), n();}- return Vr(t, e.ref), e;+ return Ur(t, e.ref), e;}-var va = class {+var ya = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -3937,9 +3937,9 @@ var va = class {get shouldStopPropagation() {return this.#e;}-}, ya = Symbol("linkClicked"), ba = "react-aria-pressable-style", xa = "data-react-aria-pressable";-function Sa(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 } = _a(e), [m, h] = (0, C.useState)(!1), g = (0, C.useRef)({+}, ba = Symbol("linkClicked"), xa = "react-aria-pressable-style", Sa = "data-react-aria-pressable";+function Ca(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 } = va(e), [m, h] = (0, C.useState)(!1), g = (0, C.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -3949,12 +3949,12 @@ function Sa(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = ga(), y = (0, C.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = _a(), y = (0, C.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new va("pressstart", t, e);+ let n = new ya("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -3968,11 +3968,11 @@ function Sa(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new va("pressend", r, e);+ let t = new ya("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new va("press", r, e);+ let n = new ya("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -3981,19 +3981,19 @@ function Sa(e) {i,n,t- ]), x = Di(b), S = Di((0, C.useCallback)((e, t) => {+ ]), x = ki(b), S = ki((0, C.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new va("pressup", t, e);+ let r = new ya("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), w = (0, C.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(Ta(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || da(t.target);+ t.didFirePressStart && t.pointerType != null && b(Ea(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || fa(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -4001,7 +4001,7 @@ function Sa(e) {d,v,b- ]), T = Di(w);+ ]), T = ki(w);(0, C.useEffect)(() => {s && g.current.isPressed && T({currentTarget: g.current.target,@@ -4018,39 +4018,39 @@ function Sa(e) {}, [s, o]), O = (0, C.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- $t(n, t), o(Qt(n));+ tn(n, t), o(en(n));}}, [s, o]), k = (0, C.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (wa(t.nativeEvent, t.currentTarget) && R(t.currentTarget, z(t))) {- Da(z(t), t.key) && t.preventDefault();+ if (Ta(t.nativeEvent, t.currentTarget) && I(t.currentTarget, L(t))) {+ Oa(L(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;- _(L(t.currentTarget), "keyup", fr((t) => {- wa(t, i) && !t.repeat && R(i, z(t)) && e.target && S(Ta(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && sn() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(F(t.currentTarget), "keyup", mr((t) => {+ Ta(t, i) && !t.repeat && I(i, L(t)) && e.target && S(Ea(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && ln() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if (!(t && !R(t.currentTarget, z(t))) && t && t.button === 0 && !e.isTriggeringEvent && !bn.isOpening) {+ if (!(t && !I(t.currentTarget, L(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Sn.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || gn(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || vn(t.nativeEvent))) {let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");D(t), n = e && r && i;} else if (e.isPressed && e.pointerType !== "keyboard") {- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Ta(t.currentTarget, t), r), a = x(Ta(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Ea(t.currentTarget, t), r), a = x(Ea(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 && wa(t, e.target)) {- Da(z(t), t.key) && t.preventDefault();- let n = z(t), r = R(e.target, n);- x(Ta(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && Ca(e.target) && R(e.target, n) && !t[ya] && (t[ya] = !0, bn(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && Ta(t, e.target)) {+ Oa(L(t), t.key) && t.preventDefault();+ let n = L(t), r = I(e.target, n);+ x(Ea(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && wa(e.target) && I(e.target, n) && !t[ba] && (t[ba] = !0, Sn(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;@@ -4059,39 +4059,39 @@ function Sa(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !R(t.currentTarget, z(t))) return;- if (_n(t.nativeEvent)) {+ if (t.button !== 0 || !I(t.currentTarget, L(t))) return;+ if (yn(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 || ua(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);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || da(e.target), i = y(t, e.pointerType);+ let a = L(t);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(F(t.currentTarget), "pointerup", n, !1), _(F(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (R(t.currentTarget, z(t)) && t.button === 0) {+ if (I(t.currentTarget, L(t)) && t.button === 0) {if (l) {- let n = nn(t.target);+ let n = an(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- !R(t.currentTarget, z(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ !I(t.currentTarget, L(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);}, t.onPointerEnter = (t) => {- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Ta(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Ea(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Ta(e.target, t), e.pointerType, !1), E(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Ea(e.target, t), e.pointerType, !1), E(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (R(e.target, z(t)) && e.pointerType != null) {+ if (I(e.target, L(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (wt(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (Et(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else T(t);@@ -4101,7 +4101,7 @@ function Sa(e) {T(e);};t.onDragStart = (e) => {- R(e.currentTarget, z(e)) && T(e);+ I(e.currentTarget, L(e)) && T(e);};}return t;@@ -4118,14 +4118,14 @@ function Sa(e) {]);return (0, C.useEffect)(() => {if (!f) return;- let e = L(f.current);- if (!e || !e.head || e.getElementById(ba)) return;+ let e = F(f.current);+ if (!e || !e.head || e.getElementById(xa)) return;let t = e.createElement("style");- t.id = ba;- let n = ma(e);+ t.id = xa;+ let n = ha(e);n && (t.nonce = n), t.textContent = `@layer {- [${xa}] {+ [${Sa}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -4133,23 +4133,23 @@ function Sa(e) {}, [f]), (0, C.useEffect)(() => {let e = g.current;return () => {- d || da(e.target ?? void 0);+ d || fa(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: B(p, k, { [xa]: !0 })+ pressProps: R(p, k, { [Sa]: !0 })};}-function Ca(e) {+function wa(e) {return e.tagName === "A" && e.hasAttribute("href");}-function wa(e, t) {+function Ta(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof kt(i).HTMLInputElement && !ka(i, n) || i instanceof kt(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Ca(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof jt(i).HTMLInputElement && !Aa(i, n) || i instanceof jt(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && wa(i)) && n !== "Enter");}-function Ta(e, t) {+function Ea(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -4162,13 +4162,13 @@ function Ta(e, t) {key: t.key};}-function Ea(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Ca(e);+function Da(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !wa(e);}-function Da(e, t) {- return sn() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !ka(e, t) : Ea(e);+function Oa(e, t) {+ return ln() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Aa(e, t) : Da(e);}-var Oa = /* @__PURE__ */ new Set([+var ka = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -4179,12 +4179,12 @@ var Oa = /* @__PURE__ */ new Set(["submit","reset"]);-function ka(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : Oa.has(e.type);+function Aa(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : ka.has(e.type);}//#endregion//#region node_modules/react-aria/dist/private/button/useButton.mjs-function Aa(e, t) {+function ja(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,@@ -4206,7 +4206,7 @@ function Aa(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = Sa({+ let { pressProps: _, isPressed: v } = Ca({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -4216,12 +4216,12 @@ function Aa(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = Wr(e, t);+ }), { focusableProps: y } = Kr(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = B(y, _, V(e, { labelable: !0 }));+ let b = R(y, _, B(e, { labelable: !0 }));return {isPressed: v,- buttonProps: B(g, b, {+ buttonProps: R(g, b, {"aria-haspopup": e["aria-haspopup"],"aria-expanded": e["aria-expanded"],"aria-controls": e["aria-controls"],@@ -4233,7 +4233,7 @@ function Aa(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var ja = class {+var Ma = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -4258,7 +4258,7 @@ var ja = class {return this._currentNode;}set currentNode(e) {- if (!R(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!I(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 });@@ -4272,7 +4272,7 @@ var ja = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return R(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return I(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -4336,45 +4336,45 @@ var ja = class {return null;}};-function Ma(e, t, n, r) {- return Lt() ? new ja(e, t, n, r) : e.createTreeWalker(t, n, r);+function Na(e, t, n, r) {+ return zt() ? new Ma(e, t, n, r) : e.createTreeWalker(t, n, r);}//#endregion//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs-var Na = /*#__PURE__*/ C.createContext(null), Pa = "react-aria-focus-scope-restore", Fa = null;-function Ia(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, C.useRef)(null), o = (0, C.useRef)(null), s = (0, C.useRef)([]), { parentNode: c } = (0, C.useContext)(Na) || {}, l = (0, C.useMemo)(() => new io({ scopeRef: s }), [s]);- Zt(() => {- let e = c || ao.root;- if (ao.getTreeNode(e.scopeRef) && Fa && !qa(Fa, e.scopeRef)) {- let t = ao.getTreeNode(Fa);+var Pa = /*#__PURE__*/ C.createContext(null), Fa = "react-aria-focus-scope-restore", Ia = null;+function La(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, C.useRef)(null), o = (0, C.useRef)(null), s = (0, C.useRef)([]), { parentNode: c } = (0, C.useContext)(Pa) || {}, l = (0, C.useMemo)(() => new ao({ scopeRef: s }), [s]);+ $t(() => {+ let e = c || oo.root;+ if (oo.getTreeNode(e.scopeRef) && Ia && !Ja(Ia, e.scopeRef)) {+ let t = oo.getTreeNode(Ia);t && (e = t);}- e.addChild(l), ao.addNode(l);- }, [l, c]), Zt(() => {- let e = ao.getTreeNode(s);+ e.addChild(l), oo.addNode(l);+ }, [l, c]), $t(() => {+ let e = oo.getTreeNode(s);e && (e.contain = !!n);- }, [n]), Zt(() => {+ }, [n]), $t(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(Pa, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(Fa, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(Pa, n);+ for (let e of t) e.removeEventListener(Fa, n);};- }, [t]), Qa(s, r, n), Ha(s, n), eo(s, r, n), Za(s, i), (0, C.useEffect)(() => {- let e = Rt(L(s.current ? s.current[0] : void 0)), t = null;- if (Wa(e, s.current)) {- for (let n of ao.traverse()) n.scopeRef && Wa(e, n.scopeRef.current) && (t = n);- t === ao.getTreeNode(s) && (Fa = t.scopeRef);- }- }, [s]), Zt(() => () => {- let e = ao.getTreeNode(s)?.parent?.scopeRef ?? null;- (s === Fa || qa(s, Fa)) && (!e || ao.getTreeNode(e)) && (Fa = e), ao.removeTreeNode(s);+ }, [t]), $a(s, r, n), Ua(s, n), to(s, r, n), Qa(s, i), (0, C.useEffect)(() => {+ let e = Bt(F(s.current ? s.current[0] : void 0)), t = null;+ if (Ga(e, s.current)) {+ for (let n of oo.traverse()) n.scopeRef && Ga(e, n.scopeRef.current) && (t = n);+ t === oo.getTreeNode(s) && (Ia = t.scopeRef);+ }+ }, [s]), $t(() => () => {+ let e = oo.getTreeNode(s)?.parent?.scopeRef ?? null;+ (s === Ia || Ja(s, Ia)) && (!e || oo.getTreeNode(e)) && (Ia = e), oo.removeTreeNode(s);}, [s]);- let u = (0, C.useMemo)(() => La(s), []), d = (0, C.useMemo)(() => ({+ let u = (0, C.useMemo)(() => Ra(s), []), d = (0, C.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ C.createElement(Na.Provider, { value: d }, /*#__PURE__*/ C.createElement("span", {+ return /*#__PURE__*/ C.createElement(Pa.Provider, { value: d }, /*#__PURE__*/ C.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -4384,154 +4384,154 @@ function Ia(e) {ref: o}));}-function La(e) {+function Ra(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Rt(L(n[0] ?? void 0)), c = n[0].previousElementSibling, l = no(Ra(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Bt(F(n[0] ?? void 0)), c = n[0].previousElementSibling, l = ro(za(n), {tabbable: i,accept: o}, n);- l.currentNode = Wa(s, n) ? s : c;+ l.currentNode = Ga(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && Ja(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Ya(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Rt(L(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = no(Ra(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Bt(F(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = ro(za(n), {tabbable: i,accept: o}, n);- l.currentNode = Wa(s, n) ? s : c;+ l.currentNode = Ga(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && Ja(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Ya(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = no(Ra(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = ro(za(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && Ja(o, !0), o;+ return o && Ya(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = no(Ra(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = ro(za(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && Ja(o, !0), o;+ return o && Ya(o, !0), o;}};}-function Ra(e) {+function za(e) {return e[0].parentElement;}-function za(e) {- let t = ao.getTreeNode(Fa);+function Ba(e) {+ let t = oo.getTreeNode(Ia);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function Ba(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 = kt(e);+function Va(e) {+ if (!e.form) return Array.from(F(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = jt(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function Va(e) {+function Ha(e) {if (e.checked) return !0;- let t = Ba(e);+ let t = Va(e);return t.length > 0 && !t.some((e) => e.checked);}-function Ha(e, t) {+function Ua(e, t) {let n = (0, C.useRef)(void 0), r = (0, C.useRef)(void 0);- Zt(() => {+ $t(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = L(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !za(e) || t.isComposing) return;- let n = Rt(a), r = e.current;- if (!r || !Wa(n, r)) return;- let i = no(Ra(r), { tabbable: !0 }, r);+ let a = F(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ba(e) || t.isComposing) return;+ let n = Bt(a), r = e.current;+ if (!r || !Ga(n, r)) return;+ let i = ro(za(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 && (Ja(o, !0), o instanceof kt(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 && (Ya(o, !0), o instanceof jt(o).HTMLInputElement && o.select());}, s = (t) => {- (!Fa || qa(Fa, e)) && Wa(z(t), e.current) ? (Fa = e, n.current = z(t)) : za(e) && !Ga(z(t), e) ? n.current ? Ja(n.current) : Fa && Fa.current && Xa(Fa.current) : za(e) && (n.current = z(t));+ (!Ia || Ja(Ia, e)) && Ga(L(t), e.current) ? (Ia = e, n.current = L(t)) : Ba(e) && !Ka(L(t), e) ? n.current ? Ya(n.current) : Ia && Ia.current && Za(Ia.current) : Ba(e) && (n.current = L(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = er(), i = (r === "virtual" || r === null) && mn() && pn(), o = Rt(a);- if (!i && o && za(e) && !Ga(o, e)) {- Fa = e;- let r = z(t);- r && r.isConnected ? (n.current = r, Ja(n.current)) : Fa.current && Xa(Fa.current);+ let r = nr(), i = (r === "virtual" || r === null) && gn() && hn(), o = Bt(a);+ if (!i && o && Ba(e) && !Ka(o, e)) {+ Ia = e;+ let r = L(t);+ r && r.isConnected ? (n.current = r, Ya(n.current)) : Ia.current && Za(Ia.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]), Zt(() => () => {+ }, [e, t]), $t(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function Ua(e) {- return Ga(e);+function Wa(e) {+ return Ka(e);}-function Wa(e, t) {- return !e || !t ? !1 : t.some((t) => R(t, e));+function Ga(e, t) {+ return !e || !t ? !1 : t.some((t) => I(t, e));}-function Ga(e, t = null) {+function Ka(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of ao.traverse(ao.getTreeNode(t))) if (n && Wa(e, n.current)) return !0;+ for (let { scopeRef: n } of oo.traverse(oo.getTreeNode(t))) if (n && Ga(e, n.current)) return !0;return !1;}-function Ka(e) {- return Ga(e, Fa);+function qa(e) {+ return Ka(e, Ia);}-function qa(e, t) {- let n = ao.getTreeNode(t)?.parent;+function Ja(e, t) {+ let n = oo.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function Ja(e, t = !1) {+function Ya(e, t = !1) {if (e != null && !t) try {- dr(e);+ pr(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function Ya(e, t = !0) {- let n = e[0].previousElementSibling, r = Ra(e), i = no(r, { tabbable: t }, e);+function Xa(e, t = !0) {+ let n = e[0].previousElementSibling, r = za(e), i = ro(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = Ra(e), i = no(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = za(e), i = ro(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function Xa(e, t = !0) {- Ja(Ya(e, t));+function Za(e, t = !0) {+ Ya(Xa(e, t));}-function Za(e, t) {+function Qa(e, t) {let n = C.useRef(t);(0, C.useEffect)(() => {- n.current && (Fa = e, !Wa(Rt(L(e.current ? e.current[0] : void 0)), Fa.current) && e.current && Xa(e.current)), n.current = !1;+ n.current && (Ia = e, !Ga(Bt(F(e.current ? e.current[0] : void 0)), Ia.current) && e.current && Za(e.current)), n.current = !1;}, [e]);}-function Qa(e, t, n) {- Zt(() => {+function $a(e, t, n) {+ $t(() => {if (t || n) return;- let r = e.current, i = L(r ? r[0] : void 0), a = (t) => {- let n = z(t);- Wa(n, e.current) ? Fa = e : Ua(n) || (Fa = null);+ let r = e.current, i = F(r ? r[0] : void 0), a = (t) => {+ let n = L(t);+ Ga(n, e.current) ? Ia = e : Wa(n) || (Ia = 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));@@ -4542,43 +4542,43 @@ function Qa(e, t, n) {n]);}-function $a(e) {- let t = ao.getTreeNode(Fa);+function eo(e) {+ let t = oo.getTreeNode(Ia);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function eo(e, t, n) {- let r = (0, C.useRef)(typeof document < "u" ? Rt(L(e.current ? e.current[0] : void 0)) : null);- Zt(() => {- let r = e.current, i = L(r ? r[0] : void 0);+function to(e, t, n) {+ let r = (0, C.useRef)(typeof document < "u" ? Bt(F(e.current ? e.current[0] : void 0)) : null);+ $t(() => {+ let r = e.current, i = F(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!Fa || qa(Fa, e)) && Wa(Rt(i), e.current) && (Fa = e);+ (!Ia || Ja(Ia, e)) && Ga(Bt(i), e.current) && (Ia = 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]), Zt(() => {- let r = L(e.current ? e.current[0] : void 0);+ }, [e, n]), $t(() => {+ let r = F(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !za(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ba(e) || t.isComposing) return;let n = r.activeElement;- if (!Ga(n, e) || !$a(e)) return;- let i = ao.getTreeNode(e);+ if (!Ka(n, e) || !eo(e)) return;+ let i = oo.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = no(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = ro(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 || !Ga(s, e)) && a) {+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Ka(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (Ga(s, e));- t.preventDefault(), t.stopPropagation(), s ? Ja(s, !0) : Ua(a) ? Ja(a, !0) : n.blur();+ while (Ka(s, e));+ t.preventDefault(), t.stopPropagation(), s ? Ya(s, !0) : Wa(a) ? Ya(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -4588,31 +4588,31 @@ function eo(e, t, n) {e,t,n- ]), Zt(() => {- let n = L(e.current ? e.current[0] : void 0);+ ]), $t(() => {+ let n = F(e.current ? e.current[0] : void 0);if (!t) return;- let i = ao.getTreeNode(e);+ let i = oo.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = ao.getTreeNode(e);+ let r = oo.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = Rt(n);- if (t && i && (a && Ga(a, e) || a === n.body && $a(e))) {- let t = ao.clone();+ let i = r.nodeToRestore, a = Bt(n);+ if (t && i && (a && Ka(a, e) || a === n.body && eo(e))) {+ let t = oo.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- to(n.nodeToRestore);+ no(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && ao.getTreeNode(n.scopeRef)) {- let e = Ya(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && oo.getTreeNode(n.scopeRef)) {+ let e = Xa(n.scopeRef.current, !0);if (e) {- to(e);+ no(e);return;}}@@ -4624,21 +4624,21 @@ function eo(e, t, n) {};}, [e, t]);}-function to(e) {- e.dispatchEvent(new CustomEvent(Pa, {+function no(e) {+ e.dispatchEvent(new CustomEvent(Fa, {bubbles: !0,cancelable: !0- })) && Ja(e);+ })) && Ya(e);}-function no(e, t, n) {- let r = t?.tabbable ? Yt : Jt, i = L(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Ma(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return R(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Va(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Wa(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function ro(e, t, n) {+ let r = t?.tabbable ? Zt : Xt, i = F(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Na(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return I(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Ha(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Ga(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var ro = class e {+var io = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new io({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new ao({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -4649,7 +4649,7 @@ var ro = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new io({ scopeRef: e });+ let i = new ao({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -4660,7 +4660,7 @@ var ro = 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 && Wa(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 && Ga(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);}@@ -4672,7 +4672,7 @@ var ro = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, io = class {+}, ao = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -4682,13 +4682,13 @@ var ro = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, ao = new ro(), oo = 7e3, so = null;-function co(e, t = "assertive", n = oo) {- so ? so.announce(e, t, n) : (so = new lo(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? so.announce(e, t, n) : setTimeout(() => {- so?.isAttached() && so?.announce(e, t, n);+}, oo = new io(), so = 7e3, co = null;+function lo(e, t = "assertive", n = so) {+ co ? co.announce(e, t, n) : (co = new uo(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? co.announce(e, t, n) : setTimeout(() => {+ co?.isAttached() && co?.announce(e, t, n);}, 100));}-var lo = class {+var uo = 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,@@ -4713,7 +4713,7 @@ var lo = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = oo) {+ announce(e, t = "assertive", n = so) {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(() => {@@ -4726,8 +4726,8 @@ var lo = class {};//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function uo(e, t) {- let n = (0, C.useRef)(!0), r = (0, C.useRef)(null), i = Di(e);+function fo(e, t) {+ let n = (0, C.useRef)(!0), r = (0, C.useRef)(null), i = ki(e);(0, C.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, C.useEffect)(() => {@@ -4737,46 +4737,46 @@ function uo(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs-function fo(e, t) {+function po(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 po(e, t) {+function mo(e, t) {let n = e;- for (fo(n, t) && (n = n.parentElement); n && !fo(n, t);) n = n.parentElement;+ for (po(n, t) && (n = n.parentElement); n && !po(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function mo(e, t) {+function ho(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (fo(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (po(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}//#endregion//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function ho(e, t, n = {}) {- e !== t && go(e, t, t.getBoundingClientRect(), n);-}-function go(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, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, ie = h + (f ? 0 : D) + C, ae = g - (f ? 0 : O) - w;- un() && fn() || u.direction === "ltr" ? ae -= te : u.direction === "rtl" && (ie += te);- let oe = k < ne || A > re, se = j < ie || M > ae;- if (oe && i === "start") o += k - ne;- else if (oe && i === "center") o += (k + A) / 2 - (ne + re) / 2;- else if (oe && i === "end") o += A - re;- else if (oe && i === "nearest") {- let e = k - ne, t = A - re;+function go(e, t, n = {}) {+ e !== t && _o(e, t, t.getBoundingClientRect(), n);+}+function _o(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, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, te = e === d ? 0 : T + E, ne = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, N = e === d ? 0 : e.offsetHeight - e.clientHeight - te, 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;+ fn() && mn() || u.direction === "ltr" ? oe -= ne : u.direction === "rtl" && (ae += ne);+ let se = k < re || A > ie, ce = j < ae || M > 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;o += Math.abs(e) <= Math.abs(t) ? e : t;}- if (se && a === "start") s += j - ie;- else if (se && a === "center") s += (j + M) / 2 - (ie + ae) / 2;- else if (se && a === "end") s += M - ae;- else if (se && a === "nearest") {- let e = j - ie, t = M - ae;+ if (ce && a === "start") s += j - ae;+ else if (ce && a === "center") s += (j + M) / 2 - (ae + oe) / 2;+ else if (ce && a === "end") s += M - oe;+ else if (ce && a === "nearest") {+ let e = j - ae, t = M - oe;s += Math.abs(e) <= Math.abs(t) ? e : t;}e.scrollTo({@@ -4784,7 +4784,7 @@ function go(e, t, n, r = {}) {top: o});}-function _o(e, t = {}) {+function vo(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -4797,47 +4797,47 @@ function _o(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = mo(e, !0);- for (let t of i) ho(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = ho(e, !0);+ for (let t of i) go(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? mo(n, !0) : [];- for (let e of i) ho(e, n, {+ i = n ? ho(n, !0) : [];+ for (let e of i) go(e, n, {block: "center",inline: "center"});- for (let t of mo(e, !0)) ho(t, e);+ for (let t of ho(e, !0)) go(t, e);}}}}//#endregion//#region node_modules/react-aria/dist/private/utils/useDescription.mjs-var vo = 0, yo = /* @__PURE__ */ new Map();-function bo(e) {+var yo = 0, bo = /* @__PURE__ */ new Map();+function xo(e) {let [t, n] = (0, C.useState)();- return Zt(() => {+ return $t(() => {if (!e) return;- let t = yo.get(e);+ let t = bo.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${vo++}`;+ let r = `react-aria-description-${yo++}`;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- }, yo.set(e, t);+ }, bo.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), yo.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), bo.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}//#endregion//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs-function xo(e, t, n) {- let r = Di((e) => {+function So(e, t, n) {+ let r = ki((e) => {n && !e.defaultPrevented && n(t);});(0, C.useEffect)(() => {@@ -4849,21 +4849,21 @@ function xo(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs-function So(e, t, n) {+function Co(e, t, n) {let { validationBehavior: r, focus: i } = e;- Zt(() => {+ $t(() => {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(wo(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(To(n.current));}});- let a = (0, C.useRef)(!1), o = Di(() => {+ let a = (0, C.useRef)(!1), o = ki(() => {a.current || t.resetValidation();- }), s = Di((e) => {+ }), s = ki((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && To(r) === n.current && (i ? i() : n.current?.focus(), tr("keyboard")), e.preventDefault();- }), c = Di(() => {+ !e.defaultPrevented && n && r && Eo(r) === n.current && (i ? i() : n.current?.focus(), rr("keyboard")), e.preventDefault();+ }), c = ki(() => {t.commitValidation();});(0, C.useEffect)(() => {@@ -4871,13 +4871,13 @@ function So(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" && z(window.event) instanceof MessagePort, r?.call(t), a.current = !1;+ a.current = !window.event || window.event.type === "message" && L(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 Co(e) {+function wo(e) {let t = e.validity;return {badInput: t.badInput,@@ -4893,14 +4893,14 @@ function Co(e) {valid: t.valid};}-function wo(e) {+function To(e) {return {isInvalid: !e.validity.valid,- validationDetails: Co(e),+ validationDetails: wo(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function To(e) {+function Eo(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -4909,16 +4909,16 @@ function To(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSlot.mjs-function Eo(e = !0) {+function Do(e = !0) {let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(!1), i = (0, C.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return Zt(() => {+ return $t(() => {r.current || n(!1);}, []), [i, t];}-function Do(e = !0) {- let t = vr(), [n, r] = Eo(e);+function Oo(e = !0) {+ let t = br(), [n, r] = Do(e);return {id: r ? t : void 0,ref: n@@ -4926,7 +4926,7 @@ function Do(e = !0) {}//#endregion//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var Oo = {+var ko = {badInput: !1,customError: !1,patternMismatch: !1,@@ -4938,18 +4938,18 @@ var Oo = {typeMismatch: !1,valueMissing: !1,valid: !0-}, ko = {- ...Oo,+}, Ao = {+ ...ko,customError: !0,valid: !1-}, Ao = {+}, jo = {isInvalid: !1,- validationDetails: Oo,+ validationDetails: ko,validationErrors: []-}, jo = (0, C.createContext)({}), Mo = "__reactAriaFormValidationState";-function No(e) {+}, Mo = (0, C.createContext)({}), No = "__reactAriaFormValidationState";+function Po(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[Mo];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[No];return {realtimeValidation: t,displayValidation: n,@@ -4958,71 +4958,71 @@ function No(e) {commitValidation: a};}- return Po(e);+ return Fo(e);}-function Po(e) {+function Fo(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: ko- }, l = (0, C.useMemo)(() => !o || i == null ? null : Lo(Io(o, i)), [o, i]);+ validationDetails: Ao+ }, l = (0, C.useMemo)(() => !o || i == null ? null : Ro(Lo(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, C.useContext)(jo), d = (0, C.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Fo(u[e])) : Fo(u[r]) : [], [u, r]), [f, p] = (0, C.useState)(u), [m, h] = (0, C.useState)(!1);+ let u = (0, C.useContext)(Mo), d = (0, C.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Io(u[e])) : Io(u[r]) : [], [u, r]), [f, p] = (0, C.useState)(u), [m, h] = (0, C.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, C.useMemo)(() => Lo(m ? [] : d), [m, d]), _ = (0, C.useRef)(Ao), [v, y] = (0, C.useState)(Ao), b = (0, C.useRef)(Ao), x = () => {+ let g = (0, C.useMemo)(() => Ro(m ? [] : d), [m, d]), _ = (0, C.useRef)(jo), [v, y] = (0, C.useState)(jo), b = (0, C.useRef)(jo), x = () => {if (!S) return;w(!1);let e = l || a || _.current;- Ro(e, b.current) || (b.current = e, y(e));+ zo(e, b.current) || (b.current = e, y(e));}, [S, w] = (0, C.useState)(!1);return (0, C.useEffect)(x), {- realtimeValidation: c || g || l || a || Ao,+ realtimeValidation: c || g || l || a || jo,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !Ro(v, e) ? y(e) : _.current = e;+ s === "aria" && !zo(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = Ao;- Ro(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);+ let e = jo;+ zo(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);},commitValidation() {s === "native" && w(!0), h(!0);}};}-function Fo(e) {+function Io(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function Io(e, t) {+function Lo(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return Fo(n);+ if (n && typeof n != "boolean") return Io(n);}return [];}-function Lo(e) {+function Ro(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: ko+ validationDetails: Ao} : null;}-function Ro(e, t) {+function zo(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 zo(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 = No({+function Bo(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 = Po({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: w } = b.displayValidation;- So(e, b, n);+ Co(e, b, n);let T = (e) => {- e.stopPropagation(), t.setSelected(z(e).checked);- }, { pressProps: E, isPressed: D } = Sa({+ e.stopPropagation(), t.setSelected(L(e).checked);+ }, { pressProps: E, isPressed: D } = Ca({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -5030,7 +5030,7 @@ function zo(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [O, k] = (0, C.useState)(!1), { pressProps: A } = Sa({+ }), [O, k] = (0, C.useState)(!1), { pressProps: A } = Ca({onPressStart(e) {if (e.pointerType === "keyboard" || e.pointerType === "virtual") {e.continuePropagation();@@ -5059,16 +5059,16 @@ function zo(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [Mo]: i } = e, { commitValidation: a } = i || b;+ let { [No]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: j } = Wr(e, n), M = B(E, j), N = V(e, { labelable: !0 });- xo(n, t.defaultSelected, t.setSelected);- let ee = Do(), te = Do();+ }), { focusableProps: j } = Kr(e, n), M = R(E, j), ee = B(e, { labelable: !0 });+ So(n, t.defaultSelected, t.setSelected);+ let te = Oo(), ne = Oo();return {- labelProps: B(A, { onClick: (e) => e.preventDefault() }),- inputProps: B(N, {+ labelProps: R(A, { onClick: (e) => e.preventDefault() }),+ inputProps: R(ee, {checked: t.isSelected,"aria-required": l && u === "aria" || void 0,required: l && u === "native",@@ -5077,8 +5077,8 @@ function zo(e, t, n) {"aria-controls": e["aria-controls"],"aria-readonly": i || void 0,"aria-describedby": [- ee.id,te.id,+ ne.id,p].filter(Boolean).join(" ") || void 0,onChange: T,@@ -5089,8 +5089,8 @@ function zo(e, t, n) {type: "checkbox",...M}),- descriptionProps: ee,- errorMessageProps: te,+ descriptionProps: te,+ errorMessageProps: ne,isSelected: t.isSelected,isPressed: D || O,isDisabled: r,@@ -5102,12 +5102,12 @@ function zo(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function Bo(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 } = zo(e, t, n), { isIndeterminate: m } = e;+function Vo(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 } = Bo(e, t, n), { isIndeterminate: m } = e;return (0, C.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {- labelProps: B(r, (0, C.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),+ labelProps: R(r, (0, C.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),inputProps: i,descriptionProps: a,errorMessageProps: o,@@ -5122,18 +5122,18 @@ function Bo(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/utils.mjs-var Vo = /* @__PURE__ */ new WeakMap();+var V = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/label/useLabel.mjsfunction Ho(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = vr(t);- let o = vr(), s = {};+ t = br(t);+ let o = br(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = ki({+ let c = ji({id: t,"aria-label": i,"aria-labelledby": r@@ -5146,18 +5146,18 @@ function Ho(e) {//#endregion//#region node_modules/react-aria/dist/private/label/useField.mjsfunction Uo(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Ho(e), s = br([+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Ho(e), s = Sr([!!t,!!n,r,i- ]), c = br([+ ]), c = Sr([!!t,!!n,r,i]);- return o = B(o, { "aria-describedby": [+ return o = R(o, { "aria-describedby": [s,c,e["aria-describedby"]@@ -5171,25 +5171,25 @@ function Uo(e) {//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjsfunction Wo(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, C.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = ga(), c = (0, C.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));+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, C.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = _a(), c = (0, C.useCallback)((e) => {+ I(e.currentTarget, L(e)) && a.current.isFocusWithin && !I(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = en(c), u = (0, C.useCallback)((e) => {- if (!R(e.currentTarget, z(e))) return;- let t = z(e), n = L(t), s = Rt(n);+ ]), l = nn(c), u = (0, C.useCallback)((e) => {+ if (!I(e.currentTarget, L(e))) return;+ let t = L(e), n = F(t), s = Bt(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 = z(e);- if (a.current.isFocusWithin && !R(t, r)) {+ let r = L(e);+ if (a.current.isFocusWithin && !I(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- $t(e, t);- let i = Qt(e);+ tn(e, t);+ let i = en(e);c(i);}}, { capture: !0 });@@ -5254,18 +5254,18 @@ function Jo(e, t, n) {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 } = Vo.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = V.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = No({+ let { realtimeValidation: l } = Po({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, C.useRef)(Ao), d = () => {+ }), u = (0, C.useRef)(jo), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, C.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = Bo({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = Vo({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -5273,7 +5273,7 @@ function Jo(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [Mo]: {+ [No]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -5329,25 +5329,25 @@ function Zo(e = {}) {}function Qo(e) {let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Zo(e);- return /*#__PURE__*/ C.createElement(n, B(a, o), t);+ return /*#__PURE__*/ C.createElement(n, R(a, o), t);}//#endregion//#region node_modules/react-aria/dist/private/textfield/useTextField.mjsfunction $o(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Ko(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Wr(e, t), d = No({+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Ko(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Kr(e, t), d = Po({...e,value: c}), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = Uo({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = V(e, { labelable: !0 }), b = {+ }), y = B(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, C.useState)(c);- return xo(t, e.defaultValue ?? x, l), So(e, d, t), {+ return So(t, e.defaultValue ?? x, l), Co(e, d, t), {labelProps: h,- inputProps: B(y, n === "input" ? b : void 0, {+ inputProps: R(y, n === "input" ? b : void 0, {disabled: r,readOnly: a,required: i && s === "native",@@ -5359,7 +5359,7 @@ function $o(e, t) {"aria-haspopup": e["aria-haspopup"],"aria-controls": e["aria-controls"],value: c,- onChange: (e) => l(z(e).value),+ onChange: (e) => l(L(e).value),autoComplete: e.autoComplete,autoCapitalize: e.autoCapitalize,maxLength: e.maxLength,@@ -5398,23 +5398,23 @@ function ts(e) {}var ns = /* @__PURE__ */ new WeakMap(), rs = [];function is(e, t) {- let n = kt(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && es, 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) => {+ let n = jt(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && es, 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 (Lt()) {+ if (zt()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; Nt(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; Ft(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 (R(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (I(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = Ma(L(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = Na(F(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();@@ -5426,8 +5426,8 @@ function is(e, t) {rs.length && rs[rs.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) => R(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ts(e) ? o.add(e) : e instanceof Element && d(e);- if (Lt()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => I(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ts(e) ? o.add(e) : e instanceof Element && d(e);+ if (zt()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -5440,11 +5440,11 @@ function is(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (Lt()) for (let e of u) {+ if (zt()) 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) => R(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ts(e) ? o.add(e) : e instanceof Element && d(e);- if (Lt()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => I(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ts(e) ? o.add(e) : e instanceof Element && d(e);+ if (zt()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -5471,7 +5471,7 @@ function is(e, t) {}};return rs.push(h), () => {- if (p.disconnect(), Lt()) for (let e of m) e.disconnect();+ if (p.disconnect(), zt()) for (let e of m) e.disconnect();for (let e of s) {let t = ns.get(e);t != null && (t === 1 ? (l(e, !1), ns.delete(e)) : ns.set(e, t - 1));@@ -5499,7 +5499,7 @@ function cs(e, t) {//#endregion//#region node_modules/react-aria/dist/private/selection/utils.mjsfunction ls(e) {- return dn() ? e.altKey : e.ctrlKey;+ return pn() ? e.altKey : e.ctrlKey;}function us(e, t) {let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;@@ -5507,7 +5507,7 @@ function us(e, t) {}var ds = /* @__PURE__ */ new WeakMap();function fs(e) {- let t = vr();+ let t = br();return ds.set(e, t), t;}function ps(e) {@@ -5634,7 +5634,7 @@ var ms = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !fo(t)) return this.getFirstKey();+ if (t && !po(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -5649,7 +5649,7 @@ var ms = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !fo(t)) return this.getLastKey();+ if (t && !po(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);@@ -5849,7 +5849,7 @@ Xs = {//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjsvar Zs = 500;function Qs(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Zs, accessibilityDescription: s } = e, c = (0, C.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = ga(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Sa({+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Zs, accessibilityDescription: s } = e, c = (0, C.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = _a(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Ca({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -5857,12 +5857,12 @@ function Qs(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), L(e.target).activeElement !== e.target && wt(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), F(e.target).activeElement !== e.target && Et(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 = kt(e.target);+ let t = jt(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -5877,7 +5877,7 @@ function Qs(e) {});}});- return { longPressProps: B(f, bo(a && !t ? s : void 0)) };+ return { longPressProps: R(f, xo(a && !t ? s : void 0)) };}//#endregion//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs@@ -5894,7 +5894,7 @@ function $s(e) {});}});- return t ? { contextMenuProps: B(un() ? r : {}, {+ return t ? { contextMenuProps: R(fn() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -5905,7 +5905,7 @@ function $s(e) {});},onKeyDown(e) {- if (sn() && e.ctrlKey && e.key === "Enter") {+ if (ln() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -5928,9 +5928,9 @@ function $s(e) {var ec = /* @__PURE__ */ new WeakMap();function tc(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, C.useEffect)(() => !n || r === null ? void 0 : Pt(zt(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;+ (0, C.useEffect)(() => !n || r === null ? void 0 : It(Vt(t.current), "scroll", (e) => {+ let n = L(e);+ if (!t.current || n instanceof Node && !I(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;let i = r || ec.get(t.current);i && i();}, !0), [@@ -5948,7 +5948,7 @@ function nc(e, t, n) {});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = vr();+ let o = br();return {triggerProps: {"aria-haspopup": a,@@ -5965,10 +5965,10 @@ function rc(e) {return e && e.__esModule ? e.default : e;}function ic(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = vr(), { triggerProps: s, overlayProps: c } = nc({ type: r }, t, n), l = (e, n, r = "first") => {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = br(), { triggerProps: s, overlayProps: c } = nc({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = zr({+ }, { keyboardProps: u } = Vr({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -5980,7 +5980,7 @@ function ic(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = ea(rc(Xs), "@react-aria/menu"), { longPressProps: f } = Qs({+ }), d = na(rc(Xs), "@react-aria/menu"), { longPressProps: f } = Qs({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -5992,10 +5992,10 @@ function ic(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (wt(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Et(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (wt(e.target), t.toggle());+ e.pointerType === "touch" && !i && (Et(e.target), t.toggle());}};delete s.onPress;@@ -6009,7 +6009,7 @@ function ic(e, t, n) {(0, C.useEffect)(() => {if (t.isOpen && a === "contextMenu") {let e = (e) => {- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && z(e) === document.body && t.close();+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && L(e) === document.body && t.close();};return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);}@@ -6069,7 +6069,7 @@ function oc(e) {} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {let a = sc(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !R(e.currentTarget, z(e)) || i.current.search.length === 0 && a === " ")) {+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !I(e.currentTarget, L(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();@@ -6092,19 +6092,19 @@ function sc(e) {//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjsfunction cc(e, t) {let n = (0, C.useRef)(!0), r = (0, C.useRef)(null);- Zt(() => (n.current = !0, () => {+ $t(() => (n.current = !0, () => {n.current = !1;- }), []), Zt(() => {+ }), []), $t(() => {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.mjsfunction lc(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 } = Bi(), _ = yn(), v = (e, n, i) => {+ 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 } = Hi(), _ = xn(), v = (e, n, i) => {if (n != null) {if (t.isLink(n) && m === "selection" && l && !ls(e)) {- (0, $r.flushSync)(() => {+ (0, ti.flushSync)(() => {t.setFocusedKey(n, i);});let a = us(r, n), o = t.getItemProps(n);@@ -6146,9 +6146,9 @@ function lc(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, Ci(e));+ let r = n.getFirstKey(t.focusedKey, Ti(e));if (t.setFocusedKey(r), r != null) {- if (Ci(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Ti(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -6180,9 +6180,9 @@ function lc(e) {}, T = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, Ci(e));+ let r = n.getLastKey(t.focusedKey, Ti(e));if (t.setFocusedKey(r), r != null) {- if (Ci(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (Ti(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -6219,12 +6219,12 @@ function lc(e) {return !1;}, A = () => {if (!f && r.current) {- let e = no(r.current, { tabbable: !0 }), t, n;+ let e = ro(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = Rt();- t && (!Bt(t) || i && !Yt(i)) && wt(t);+ let i = Bt();+ t && (!Ht(t) || i && !Zt(i)) && Et(t);}return {shouldContinuePropagation: !0,@@ -6234,11 +6234,11 @@ function lc(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), M = (e, t) => ({- [sn() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [ln() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [sn() ? e + "+Alt" : e + "+Control"]: t,+ [ln() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: N } = zr({+ }), { keyboardProps: ee } = Vr({shortcuts: {...M("ArrowDown", y),...M("ArrowUp", b),@@ -6248,30 +6248,30 @@ function lc(e) {...M("PageUp", D)},allowRepeats: !0- }), { keyboardProps: ee } = zr({ shortcuts: {+ }), { keyboardProps: te } = Vr({ shortcuts: {...M("Home", x),...M("End", T),"Mod+A": O,Escape: k,Tab: A,"Tab+Shift": j- } }), te = (0, C.useRef)({+ } }), ne = (0, C.useRef)({top: 0,left: 0});- Oi(p, "scroll", () => {- te.current = {+ Ai(p, "scroll", () => {+ ne.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0};});- let P = (e) => {+ let N = (e) => {if (t.isFocused) {- R(e.currentTarget, z(e)) || t.setFocused(!1);+ I(e.currentTarget, L(e)) || t.setFocused(!1);return;}- if (!R(e.currentTarget, z(e))) return;- let i = er();+ if (!I(e.currentTarget, L(e))) return;+ let i = nr();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -6280,34 +6280,34 @@ function lc(e) {else if (t.focusedKey == null) {let r = e.relatedTarget;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 = te.current.top, p.current.scrollLeft = te.current.left);+ } else p.current && (p.current.scrollTop = ne.current.top, p.current.scrollLeft = ne.current.left);if (t.focusedKey != null && p.current) {let e = us(r, t.focusedKey);- e instanceof HTMLElement && (!Bt(e) && !d && wt(e), (i === "keyboard" || h && i === "virtual") && _o(e, { containingElement: r.current }));+ e instanceof HTMLElement && (!Ht(e) && !d && Et(e), (i === "keyboard" || h && i === "virtual") && vo(e, { containingElement: r.current }));}- }, ne = (e) => {- R(e.currentTarget, e.relatedTarget) || t.setFocused(!1);- }, re = (0, C.useRef)(!1);- Oi(r, vi, d ? (e) => {+ }, re = (e) => {+ I(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ }, ie = (0, C.useRef)(!1);+ Ai(r, bi, d ? (e) => {let { detail: n } = e;- e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (re.current = !0);+ e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ie.current = !0);} : void 0);- let ie = n.getFirstKey?.() ?? null;+ let ae = n.getFirstKey?.() ?? null;cc(() => {- if (re.current) {- if (ie == null) {- let e = Rt();- yi(r.current), xi(e, null), t.collection.size > 0 && (re.current = !1);- } else t.setFocusedKey(ie), re.current = !1;- }- }, [ie, t.collection.size]), cc(() => {- t.collection.size > 0 && (re.current = !1);- }, [t.focusedKey]), Oi(r, _i, d ? (e) => {+ if (ie.current) {+ if (ae == null) {+ let e = Bt();+ xi(r.current), Ci(e, null), t.collection.size > 0 && (ie.current = !1);+ } else t.setFocusedKey(ae), ie.current = !1;+ }+ }, [ae, t.collection.size]), cc(() => {+ t.collection.size > 0 && (ie.current = !1);+ }, [t.focusedKey]), Ai(r, yi, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);- let ae = (0, C.useRef)(i), oe = (0, C.useRef)(!1);+ let oe = (0, C.useRef)(i), se = (0, C.useRef)(!1);(0, C.useEffect)(() => {- if (ae.current) {+ if (oe.current) {let e = null;i === "first" && (e = n.getFirstKey?.() ?? null), i === "last" && (e = n.getLastKey?.() ?? null);let a = t.selectedKeys;@@ -6317,42 +6317,42 @@ function lc(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && dr(r.current), t.collection.size > 0 && (ae.current = !1, oe.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && pr(r.current), t.collection.size > 0 && (oe.current = !1, se.current = !0);}});- let se = (0, C.useRef)(t.focusedKey), ce = (0, C.useRef)(null);+ let ce = (0, C.useRef)(t.focusedKey), le = (0, C.useRef)(null);(0, C.useEffect)(() => {- if (t.isFocused && t.focusedKey != null && (t.focusedKey !== se.current || oe.current) && p.current && r.current) {- let e = er(), n = us(r, t.focusedKey);+ if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ce.current || se.current) && p.current && r.current) {+ let e = nr(), n = us(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;- (e === "keyboard" || oe.current) && (ce.current && cancelAnimationFrame(ce.current), ce.current = requestAnimationFrame(() => {- p.current && (ho(p.current, n), e !== "virtual" && _o(n, { containingElement: r.current }));+ (e === "keyboard" || se.current) && (le.current && cancelAnimationFrame(le.current), le.current = requestAnimationFrame(() => {+ p.current && (go(p.current, n), e !== "virtual" && vo(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && se.current != null && r.current && dr(r.current), se.current = t.focusedKey, oe.current = !1;+ !d && t.isFocused && t.focusedKey == null && ce.current != null && r.current && pr(r.current), ce.current = t.focusedKey, se.current = !1;}), (0, C.useEffect)(() => () => {- ce.current && cancelAnimationFrame(ce.current);- }, []), Oi(r, "react-aria-focus-scope-restore", (e) => {+ le.current && cancelAnimationFrame(le.current);+ }, []), Ai(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});- let le = {- ...B(ee, N),- onFocus: P,- onBlur: ne,+ let ue = {+ ...R(te, ee),+ onFocus: N,+ onBlur: re,onMouseDown(e) {- p.current === z(e) && e.preventDefault();+ p.current === L(e) && e.preventDefault();}- }, { typeSelectProps: ue } = oc({+ }, { typeSelectProps: de } = oc({keyboardDelegate: n,selectionManager: t});- u || (le = B(ue, le));- let de;- d || (de = t.focusedKey == null ? 0 : -1);- let fe = fs(t.collection);- return { collectionProps: B(le, {- tabIndex: de,- "data-collection": fe+ u || (ue = R(de, ue));+ let fe;+ d || (fe = t.focusedKey == null ? 0 : -1);+ let pe = fs(t.collection);+ return { collectionProps: R(ue, {+ tabIndex: fe,+ "data-collection": pe}) };}//#endregion@@ -6401,7 +6401,7 @@ function _c(e) {//#region node_modules/react-aria/dist/private/i18n/useCollator.mjsvar vc = /* @__PURE__ */ new Map();function yc(e) {- let { locale: t } = Bi(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ let { locale: t } = Hi(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");if (vc.has(n)) return vc.get(n);let r = new Intl.Collator(t, e);return vc.set(n, r), r;@@ -6410,7 +6410,7 @@ function yc(e) {//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjsfunction bc({ children: e }) {let t = (0, C.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ C.createElement(ha.Provider, { value: t }, e);+ return /*#__PURE__*/ C.createElement(ga.Provider, { value: t }, e);}//#endregion//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs@@ -6426,36 +6426,36 @@ function Cc() {//#region node_modules/react-aria/dist/private/overlays/Overlay.mjsvar wc = /*#__PURE__*/ C.createContext(null);function Tc(e) {- let t = In(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, C.useState)(!1), o = (0, C.useMemo)(() => ({+ let t = Rn(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, C.useState)(!1), o = (0, C.useMemo)(() => ({contain: i,setContain: a}), [i, a]), { getContainer: s } = Cc();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ C.createElement(Ia, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ C.createElement(La, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ C.createElement(wc.Provider, { value: o }, /*#__PURE__*/ C.createElement(bc, null, /*#__PURE__*/ C.createElement(Hr.Provider, { value: null }, c))), /*#__PURE__*/ $r.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ C.createElement(wc.Provider, { value: o }, /*#__PURE__*/ C.createElement(bc, null, /*#__PURE__*/ C.createElement(Wr.Provider, { value: null }, c))), /*#__PURE__*/ ti.createPortal(c, n);}function Ec() {let e = (0, C.useContext)(wc)?.setContain;- Zt(() => {+ $t(() => {e?.(!0);}, [e]);}//#endregion//#region node_modules/react-aria/dist/private/dialog/useDialog.mjsfunction Dc(e, t) {- let { role: n = "dialog" } = e, r = br();+ let { role: n = "dialog" } = e, r = Sr();r = e["aria-label"] ? void 0 : r;- let i = br();+ let i = Sr();i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;let a = (0, C.useRef)(!1);(0, C.useEffect)(() => {- if (t.current && !Bt(t.current)) {- dr(t.current);+ if (t.current && !Ht(t.current)) {+ pr(t.current);let e = setTimeout(() => {- (Rt() === t.current || Rt() === document.body) && (a.current = !0, t.current && (t.current.blur(), dr(t.current)), a.current = !1);+ (Bt() === t.current || Bt() === document.body) && (a.current = !0, t.current && (t.current.blur(), pr(t.current)), a.current = !1);}, 500);return () => {clearTimeout(e);@@ -6465,7 +6465,7 @@ function Dc(e, t) {let o = e["aria-describedby"] ?? i;return {dialogProps: {- ...V(e, { labelable: !0 }),+ ...B(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? r,@@ -6483,17 +6483,17 @@ function Dc(e, t) {function Oc(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, C.useRef)({isFocused: !1,- isFocusVisible: t || $n()+ isFocusVisible: t || tr()}), [a, o] = (0, C.useState)(!1), [s, c] = (0, C.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, C.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, C.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = $n(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = tr(), o(e), l();}, [l]);- ar((e) => {+ sr((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = Tr({+ let { focusProps: d } = Dr({isDisabled: r,onFocusChange: u}), { focusWithinProps: f } = Wo({@@ -6509,7 +6509,7 @@ function Oc(e = {}) {//#endregion//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjsfunction kc(e = {}) {- let { locale: t } = Bi();+ let { locale: t } = Hi();return (0, C.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}//#endregion@@ -6524,7 +6524,7 @@ function Nc(e) {e.pointerType === "touch" && Mc();}function Pc() {- let e = L(null);+ let e = F(null);if (e !== void 0) return jc === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", Nc), jc++, () => {jc--, !(jc > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", Nc);};@@ -6537,13 +6537,13 @@ function Fc(e) {target: null}).current;(0, C.useEffect)(Pc, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = ga(), { hoverProps: u, triggerHoverEnd: d } = (0, C.useMemo)(() => {+ let { addGlobalListener: c, removeAllGlobalListeners: l } = _a(), { hoverProps: u, triggerHoverEnd: d } = (0, C.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !R(e.currentTarget, z(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !I(e.currentTarget, L(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(L(z(e)), "pointerover", (e) => {- s.isHovered && s.target && !R(s.target, z(e)) && a(e, e.pointerType);+ s.target = l, c(F(L(e)), "pointerover", (e) => {+ s.isHovered && s.target && !I(s.target, L(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -6560,7 +6560,7 @@ function Fc(e) {return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {Ac && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && R(e.currentTarget, z(e)) && a(e, e.pointerType);+ !i && I(e.currentTarget, L(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -6587,15 +6587,15 @@ function Ic(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, C.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = Di((e) => {+ }), o = ki((e) => {n && Lc(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = Di((e) => {+ }), s = ki((e) => {n && n(e);});(0, C.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = L(n);+ let n = t.current, i = F(n);if (typeof PointerEvent < "u") {let n = (n) => {e.isPointerDown && Lc(n, t) && s(n), e.isPointerDown = !1;@@ -6608,10 +6608,10 @@ function Ic(e) {}function Lc(e, t) {if (e.button > 0) return !1;- let n = z(e);+ let n = L(e);if (n) {let e = n.ownerDocument;- if (!e || !R(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !I(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}@@ -7170,7 +7170,7 @@ function yl(e) {return e && e.__esModule ? e.default : e;}function bl(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = ea(yl(vl), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, C.useRef)(i), o = (0, C.useCallback)(() => {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = na(yl(vl), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, C.useRef)(i), o = (0, C.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;@@ -7195,7 +7195,7 @@ function bl(e, t) {t && c.push(r.format("deselectedItem", { item: t }));}}- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && co(c.join(" ")), a.current = i;+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && lo(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -7206,7 +7206,7 @@ function bl(e, t) {n,r]);- uo(() => {+ fo(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -7224,11 +7224,11 @@ function xl(e, t) {//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjsfunction Sl(e, t) {let n = t?.isDisabled, [r, i] = (0, C.useState)(!1);- return Zt(() => {+ return $t(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = no(e.current, { tabbable: !0 });+ let t = ro(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -7251,8 +7251,8 @@ function Cl(e) {return e && e.__esModule ? e.default : e;}function wl(e) {- let t = ea(Cl(vl), "@react-aria/grid"), n = nr(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return bo((0, C.useMemo)(() => {+ let t = na(Cl(vl), "@react-aria/grid"), n = ir(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return xo((0, C.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;}, [@@ -7297,8 +7297,8 @@ function Tl(e) {//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjsfunction El(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 = yn();- t = vr(t);+ 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 = xn();+ t = br(t);let p = (e) => {if (e.pointerType === "keyboard" && ls(e)) n.toggleSelection(r);else {@@ -7311,11 +7311,11 @@ function El(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 && (Ci(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 && (Ti(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, C.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? yi(i.current) : s ? s() : Rt() !== i.current && i.current && dr(i.current));+ r === n.focusedKey && n.isFocused && (o ? xi(i.current) : s ? s() : Bt() !== i.current && i.current && pr(i.current));}, [i,r,@@ -7328,7 +7328,7 @@ function El(e) {!o && !c ? m = {tabIndex: r === n.focusedKey ? 0 : -1,onFocus(e) {- z(e) === i.current && n.setFocusedKey(r);+ L(e) === i.current && n.setFocusedKey(r);}} : c && (m.onMouseDown = (e) => {e.preventDefault();@@ -7359,7 +7359,7 @@ function El(e) {(e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && Dl(e.key) || e.pointerType === "mouse" && D.current) && (S ? k(e) : v && p(e));});let j = ps(n.collection);- if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = B(A, {+ if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = R(A, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));},@@ -7373,51 +7373,51 @@ function El(e) {"onPress","onPressUp","onClick"- ]) O[e] && (A[e] = fr(A[e], O[e]));- let { pressProps: M, isPressed: N } = Sa(A), ee = x ? (e) => {+ ]) O[e] && (A[e] = mr(A[e], O[e]));+ let { pressProps: M, isPressed: ee } = Ca(A), te = x ? (e) => {w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));- } : void 0, { longPressProps: te } = Qs({+ } : void 0, { longPressProps: ne } = Qs({isDisabled: !T,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));}- }), P = (e) => {+ }), N = (e) => {w.current === "touch" && E.current && e.preventDefault();- }, ne = d !== "none" && n.isLink(r) ? (e) => {- bn.isOpening || e.preventDefault();- } : void 0, re = B(m, v || b || o && !c ? M : {}, T ? te : {}, {- onDoubleClick: ee,- onDragStartCapture: P,- onClick: ne,+ }, re = d !== "none" && n.isLink(r) ? (e) => {+ Sn.isOpening || e.preventDefault();+ } : void 0, ie = R(m, v || b || o && !c ? M : {}, T ? ne : {}, {+ onDoubleClick: te,+ onDragStartCapture: N,+ onClick: re,id: t- }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ie = (e) => {+ }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ae = (e) => {let t = e;for (; t && t !== i.current;) {let e = t.getAttribute("data-collection");if (e != null) return e !== j;t = t.parentElement;}- return Yt(e);- }, ae = re.onPointerDown;- re.onPointerDown = (e) => {- let t = z(e);- if (t && t !== i.current && ie(t)) {+ return Zt(e);+ }, oe = ie.onPointerDown;+ ie.onPointerDown = (e) => {+ let t = L(e);+ if (t && t !== i.current && ae(t)) {e.stopPropagation();return;}- ae?.(e);+ oe?.(e);};- let oe = re.onMouseDown;- return re.onMouseDown = (e) => {- let t = z(e);- if (t && t !== i.current && ie(t)) {+ let se = ie.onMouseDown;+ return ie.onMouseDown = (e) => {+ let t = L(e);+ if (t && t !== i.current && ae(t)) {e.stopPropagation();return;}- oe?.(e);+ se?.(e);}, {- itemProps: re,- isPressed: N,+ itemProps: ie,+ isPressed: ee,isSelected: n.isSelected(r),isFocused: n.isFocused && n.focusedKey === r,isDisabled: c,@@ -7437,10 +7437,10 @@ function kl(e) {return e && e.__esModule ? e.default : e;}function Al(e, t) {- let { key: n } = e, r = t.selectionManager, i = vr(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+ let { key: n } = e, r = t.selectionManager, i = br(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": ea(kl(vl), "@react-aria/grid").format("select"),+ "aria-label": na(kl(vl), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)@@ -7449,7 +7449,7 @@ function Al(e, t) {//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBox.mjsfunction jl(e, t, n) {- let r = V(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+ let r = B(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 } = Tl({...e,@@ -7462,7 +7462,7 @@ function jl(e, t, n) {onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = vr(e.id);+ }), l = br(e.id);os.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,@@ -7480,17 +7480,17 @@ function jl(e, t, n) {});return {labelProps: u,- listBoxProps: B(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {+ listBoxProps: R(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {role: "listbox","aria-orientation": a,- ...B(d, s)+ ...R(d, s)})};}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjsfunction Ml(e) {- let { heading: t, "aria-label": n } = e, r = vr();+ let { heading: t, "aria-label": n } = e, r = br();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -7510,7 +7510,7 @@ function Ml(e) {//#endregion//#region node_modules/react-aria/dist/private/listbox/useOption.mjsfunction Nl(e, t, n) {- let { key: r } = e, i = os.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 = br(), f = br(), p = {+ let { key: r } = e, i = os.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 = Sr(), f = Sr(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -7531,28 +7531,28 @@ function Nl(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? fr(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? mr(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g}), { hoverProps: S } = Fc({isDisabled: a || !c,onHoverStart() {- $n() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ tr() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = V(m?.props);+ }), C = B(m?.props);delete C.id;- let w = wn(m?.props);+ let w = En(m?.props);return {optionProps: {...p,- ...B(C, _, S, w),+ ...R(C, _, S, w),id: g},labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && $n(),+ isFocusVisible: y && t.selectionManager.isFocused && tr(),isSelected: o,isDisabled: a,isPressed: v,@@ -7566,7 +7566,7 @@ function Pl() {return window.ResizeObserver !== void 0;}function Fl(e) {- let { ref: t, box: n, onResize: r } = e, i = Di(r);+ let { ref: t, box: n, onResize: r } = e, i = ki(r);(0, C.useEffect)(() => {let e = t?.current;if (e) {@@ -7765,7 +7765,7 @@ function _u(e) {return e && e.__esModule ? e.default : e;}function vu(e) {- let { onDismiss: t, ...n } = e, r = ki(n, ea(_u(gu), "@react-aria/overlays").format("dismiss")), i = () => {+ let { onDismiss: t, ...n } = e, r = ji(n, na(_u(gu), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};return /*#__PURE__*/ C.createElement(Qo, null, /*#__PURE__*/ C.createElement("button", {@@ -7793,10 +7793,10 @@ function bu(e, t) {yu[yu.length - 1] === t && n && n();}, u = (e) => {let n = yu[yu.length - 1];- c.current = n, (!s || s(z(e))) && n === t && e.stopPropagation();+ c.current = n, (!s || s(L(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(z(e))) && (yu[yu.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = zr({ shortcuts: { Escape: () => {+ (!s || s(L(e))) && (yu[yu.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = Vr({ shortcuts: { Escape: () => {if (!o) {l();return;@@ -7811,7 +7811,7 @@ function bu(e, t) {let { focusWithinProps: p } = Wo({isDisabled: !r,onBlurWithin: (e) => {- !e.relatedTarget || Ka(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();+ !e.relatedTarget || qa(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();}});return {@@ -7827,23 +7827,23 @@ function bu(e, t) {var xu = typeof document < "u" && window.visualViewport, Su = 0, Cu;function wu(e = {}) {let { isDisabled: t } = e;- Zt(() => {- if (!t) return Su++, Su === 1 && (Cu = un() && fn() ? Eu() : Tu()), () => {+ $t(() => {+ if (!t) return Su++, Su === 1 && (Cu = fn() && mn() ? Eu() : Tu()), () => {Su--, Su === 0 && Cu();};}, [t]);}function Tu() {let e = window.innerWidth - document.documentElement.clientWidth;- return fr(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Ft(document.documentElement, "scrollbar-gutter", "stable") : Ft(document.documentElement, "padding-right", `${e}px`)), Ft(document.documentElement, "overflow", "hidden"));+ return mr(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Lt(document.documentElement, "scrollbar-gutter", "stable") : Lt(document.documentElement, "padding-right", `${e}px`)), Lt(document.documentElement, "overflow", "hidden"));}function Eu() {- let e = Ft(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {- let r = z(e);- t = fo(r) ? r : po(r, !0), n = !1;+ let e = Lt(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+ let r = L(e);+ t = po(r) ? r : mo(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 = ma();+ }, i = document.createElement("style"), a = ha();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)) {@@ -7854,27 +7854,27 @@ function Eu() {t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && e.preventDefault();}}, s = (e) => {- let t = z(e), n = e.relatedTarget;- n && Ti(n) ? (n.focus({ preventScroll: !0 }), Du(n, Ti(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ let t = L(e), n = e.relatedTarget;+ n && Di(n) ? (n.focus({ preventScroll: !0 }), Du(n, Di(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 = Rt(), n = t != null && Ti(t);+ let t = Bt(), n = t != null && Di(t);c.call(this, {...e,preventScroll: !0}), (!e || !e.preventScroll) && Du(this, n);}});- let l = fr(Pt(document, "touchstart", r, {+ let l = mr(It(document, "touchstart", r, {passive: !1,capture: !0- }), Pt(document, "touchmove", o, {+ }), It(document, "touchmove", o, {passive: !1,capture: !0- }), Pt(document, "blur", s, !0));+ }), It(document, "blur", s, !0));return () => {e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -7889,7 +7889,7 @@ function Du(e, t) {function Ou(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t;) {- let e = po(n);+ let e = mo(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) {@@ -7916,7 +7916,7 @@ function ku(e, t, n) {return wu({ isDisabled: !t.isOpen }), Ec(), (0, C.useEffect)(() => {if (t.isOpen && n.current) return is([n.current], { shouldUseInert: !0 });}, [t.isOpen, n]), {- modalProps: B(r),+ modalProps: R(r),underlayProps: i};}@@ -7948,7 +7948,7 @@ function Lu(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} = Ju(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return fn() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {+ return mn() && (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,@@ -8026,11 +8026,11 @@ function Gu(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {w[b] += O;let k = Uu(w, s, l, f, i, a, n.height, D, c, g, _);p && p < k && (k = p), n.height = Math.min(n.height, k), w = Hu(t, s, n, v, T, d, l, f, m, h, c), O = zu(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[Au[b]], M = j + .5 * t[x], N = m / 2 + h, ee = Au[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;- A[b] = Yo(Yo(M, t[b] + m / 2 - (w[b] + i[Au[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Au[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);- let P = S === "left" || S === "top" ? n[y] : 0, ne = {- x: S === "top" || S === "bottom" ? j : P,- y: S === "left" || S === "right" ? j : P+ let A = {}, j = t[b] - w[b] - i[Au[b]], M = j + .5 * t[x], ee = m / 2 + h, te = Au[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;+ A[b] = Yo(Yo(M, t[b] + m / 2 - (w[b] + i[Au[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Au[b]])), ee, ne), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let N = S === "left" || S === "top" ? n[y] : 0, re = {+ x: S === "top" || S === "bottom" ? j : N,+ y: S === "left" || S === "right" ? j : N};return {position: w,@@ -8038,7 +8038,7 @@ function Gu(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {arrowOffsetLeft: A.left,arrowOffsetTop: A.top,placement: S,- triggerAnchorPoint: ne+ triggerAnchorPoint: re};}function Ku(e) {@@ -8064,7 +8064,7 @@ function Ku(e) {width: 0,height: 0} : Yu(s, h, !1);- let E = R(s, h);+ let E = I(s, h);return Gu(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}function qu(e, t) {@@ -8108,7 +8108,7 @@ function Zu(e) {//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjsvar Qu = typeof document < "u" ? window.visualViewport : null;function $u(e) {- let { direction: t } = Bi(), { 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, C.useState)(null), x = [+ let { direction: t } = Hi(), { 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, C.useState)(null), x = [p,s,i.current,@@ -8132,8 +8132,8 @@ function $u(e) {let w = (0, C.useCallback)(() => {if (p === !1 || !m || !i.current || !r.current || !u || Qu?.scale !== S.current) return;let e = null;- if (o.current && Bt(o.current)) {- let t = Rt()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && Ht(o.current)) {+ let t = Bt()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -8158,14 +8158,14 @@ function $u(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 = Rt();+ let x = Bt();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);}, x);- Zt(w, x), ed(w), Fl({+ $t(w, x), ed(w), Fl({ref: i,onResize: w}), Fl({@@ -8173,7 +8173,7 @@ function $u(e) {onResize: w});let T = (0, C.useRef)(!1);- Zt(() => {+ $t(() => {let e, t = () => {T.current = !0, clearTimeout(e), e = setTimeout(() => {T.current = !1;@@ -8182,7 +8182,7 @@ function $u(e) {T.current && t();};Qu?.addEventListener("resize", t), Qu?.addEventListener("scroll", n);- let r = Pt(zt(window), "scroll", n);+ let r = It(Vt(window), "scroll", n);return () => {Qu?.removeEventListener("resize", t), Qu?.removeEventListener("scroll", n), r();};@@ -8217,7 +8217,7 @@ function $u(e) {};}function ed(e) {- Zt(() => (window.addEventListener("resize", e, !1), () => {+ $t(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}@@ -8252,7 +8252,7 @@ function nd(e, t) {]);let { focusWithinProps: g } = Wo(e);return {- popoverProps: B(u, f, g),+ popoverProps: R(u, f, g),arrowProps: p,underlayProps: d,placement: m,@@ -8267,7 +8267,7 @@ var rd = /* @__PURE__ */ new WeakMap();function id(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: _ } = Sa({+ }, { pressProps: g, isPressed: _ } = Ca({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -8275,7 +8275,7 @@ function id(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = Sa({+ }), { pressProps: v, isPressed: y } = Ca({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -8285,17 +8285,17 @@ function id(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = Wr(B(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = B(g, b), S = V(e, { labelable: !0 }), w = -1;+ }), { focusableProps: b } = Kr(R(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = R(g, b), S = B(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 } = rd.get(t);- xo(n, t.defaultSelectedValue, t.setSelectedValue), So({ validationBehavior: k }, t, n);- let A = Do();+ So(n, t.defaultSelectedValue, t.setSelectedValue), Co({ validationBehavior: k }, t, n);+ let A = Oo();return {- labelProps: B(v, (0, C.useMemo)(() => ({+ labelProps: R(v, (0, C.useMemo)(() => ({onClick: (e) => e.preventDefault(),onMouseDown: (e) => e.preventDefault()}), [])),- inputProps: B(S, {+ inputProps: R(S, {...x,type: "radio",name: T,@@ -8322,12 +8322,12 @@ function id(e, t, n) {//#endregion//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjsfunction ad(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Bi(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Uo({+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Hi(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Uo({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = V(e, { labelable: !0 }), { focusWithinProps: v } = Wo({+ }), _ = B(e, { labelable: !0 }), { focusWithinProps: v } = Wo({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -8335,13 +8335,13 @@ function ad(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = no(n.currentTarget, {- from: z(n),- accept: (e) => e instanceof kt(e).HTMLInputElement && e.type === "radio"+ let r = ro(n.currentTarget, {+ from: L(n),+ accept: (e) => e instanceof jt(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 } = zr({+ let { keyboardProps: b } = Vr({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -8349,7 +8349,7 @@ function ad(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = vr(n);+ }), x = br(n);return rd.set(t, {name: x,form: r,@@ -8357,7 +8357,7 @@ function ad(e, t) {errorMessageId: g.id,validationBehavior: c}), {- radioGroupProps: B(_, {+ radioGroupProps: R(_, {role: "radiogroup",...b,"aria-invalid": t.isInvalid || void 0,@@ -8393,7 +8393,7 @@ function sd(e, t, n) {]), { menuTriggerProps: d, menuProps: f } = ic({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = zr({+ }, t, n), { keyboardProps: p } = Vr({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -8422,7 +8422,7 @@ function sd(e, t, n) {errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = V(e, { labelable: !0 }), w = B(m, d, y), T = vr();+ let S = B(e, { labelable: !0 }), w = R(m, d, y), T = br();return od.set(t, {isDisabled: i,isRequired: a,@@ -8433,13 +8433,13 @@ function sd(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), tr("keyboard"));+ e.isDisabled || (n.current?.focus(), rr("keyboard"));}},- triggerProps: B(S, {+ triggerProps: R(S, {...w,isDisabled: i,- onKeyDown: fr(w.onKeyDown, p.onKeyDown),+ onKeyDown: mr(w.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [T,@@ -8463,7 +8463,7 @@ function sd(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- R(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ I(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(" ")},@@ -8490,12 +8490,12 @@ function cd(e, t, n) {top: 0,left: 0} });- xo(e.selectRef, t.defaultValue, t.setValue), So({+ So(e.selectRef, t.defaultValue, t.setValue), Co({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);let d = t.setValue, f = (0, C.useCallback)((e) => {- let t = z(e);+ let t = L(e);t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);}, [d]);return {@@ -8577,7 +8577,7 @@ function ld(e) {//#endregion//#region node_modules/react-aria/dist/private/switch/useSwitch.mjsfunction ud(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = zo(e, t, n);+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = Bo(e, t, n);return {labelProps: r,inputProps: {@@ -8782,7 +8782,7 @@ function md(e, t, n) {let h = yc({usage: "search",sensitivity: "base"- }), { direction: g } = Bi(), _ = t.selectionManager.disabledBehavior, v = (0, C.useMemo)(() => a || new dd({+ }), { direction: g } = Hi(), _ = t.selectionManager.disabledBehavior, v = (0, C.useMemo)(() => a || new dd({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -8807,7 +8807,7 @@ function md(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = vr(e.id);+ }), b = br(e.id);pd.set(t, {keyboardDelegate: v,actions: {@@ -8820,16 +8820,16 @@ function md(e, t, n) {let x = wl({selectionManager: m,hasItemActions: !!(l || u)- }), S = V(e, { labelable: !0 }), w = (0, C.useCallback)((e) => {+ }), S = B(e, { labelable: !0 }), w = (0, C.useCallback)((e) => {if (m.isFocused) {- R(e.currentTarget, z(e)) || m.setFocused(!1);+ I(e.currentTarget, L(e)) || m.setFocused(!1);return;}- R(e.currentTarget, z(e)) && m.setFocused(!0);+ I(e.currentTarget, L(e)) && m.setFocused(!0);}, [m]), T = (0, C.useMemo)(() => ({onBlur: y.onBlur,onFocus: w- }), [w, y.onBlur]), E = Sl(n, { isDisabled: t.collection.size !== 0 }), D = B(S, {+ }), [w, y.onBlur]), E = Sl(n, { isDisabled: t.collection.size !== 0 }), D = R(S, {role: "grid",id: b,"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0@@ -9525,7 +9525,7 @@ function rf(e, t, n) {let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = yc({usage: "search",sensitivity: "base"- }), { direction: c } = Bi(), l = t.selectionManager.disabledBehavior, u = (0, C.useMemo)(() => r || new tf({+ }), { direction: c } = Hi(), l = t.selectionManager.disabledBehavior, u = (0, C.useMemo)(() => r || new tf({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -9544,7 +9544,7 @@ function rf(e, t, n) {s,a,o- ]), d = vr(e.id);+ ]), d = br(e.id);hd.set(t, d);let { gridProps: f } = md({...e,@@ -9552,33 +9552,33 @@ function rf(e, t, n) {keyboardDelegate: u}, t, n);i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");- let { column: p, direction: m } = t.sortDescriptor || {}, h = ea(nf(ef), "@react-aria/table"), g = (0, C.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = na(nf(ef), "@react-aria/table"), g = (0, C.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [m,p,t.collection.columns- ]), _ = bo(g);- return uo(() => {- g && co(g, "assertive", 500);- }, [g]), { gridProps: B(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };+ ]), _ = xo(g);+ return fo(() => {+ g && lo(g, "assertive", 500);+ }, [g]), { gridProps: R(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridCell.mjsfunction af(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Bi(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = pd.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, C.useRef)(null), h = () => {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Hi(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = pd.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, C.useRef)(null), h = () => {if (n.current) {- let e = no(n.current);+ let e = ro(n.current);if (p === "child") {- if (Bt(n.current) && n.current !== Rt(L(n.current))) return;+ if (Ht(n.current) && n.current !== Bt(F(n.current))) return;let r = t.selectionManager.childFocusStrategy === "last" ? of(e) : e.firstChild();if (r) {- dr(r);+ pr(r);return;}}- (m.current != null && r.key !== m.current || !Bt(n.current)) && dr(n.current);+ (m.current != null && r.key !== m.current || !Ht(n.current)) && pr(n.current);}}, { itemProps: g, isPressed: _ } = El({selectionManager: t.selectionManager,@@ -9589,50 +9589,50 @@ function af(e, t, n) {shouldSelectOnPressUp: s,onAction: d ? () => d(r.key) : c,isDisabled: t.collection.size === 0- }), v = B(g, {+ }), v = R(g, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = Rt(L(n.current));- if (!R(e.currentTarget, z(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = no(n.current);+ let i = Bt(F(n.current));+ if (!I(e.currentTarget, L(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = ro(n.current);switch (a.currentNode = i, e.key) {case "ArrowLeft": {let t = l === "rtl" ? a.nextNode() : a.previousNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) dr(t), _o(t, { containingElement: po(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) pr(t), vo(t, { containingElement: mo(n.current) });else {if (u.getKeyLeftOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (dr(n.current), _o(n.current, { containingElement: po(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : of(a), t && (dr(t), _o(t, { containingElement: po(n.current) })));+ p === "cell" && l === "rtl" ? (pr(n.current), vo(n.current, { containingElement: mo(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : of(a), t && (pr(t), vo(t, { containingElement: mo(n.current) })));}break;}case "ArrowRight": {let t = l === "rtl" ? a.previousNode() : a.nextNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) dr(t), _o(t, { containingElement: po(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) pr(t), vo(t, { containingElement: mo(n.current) });else {if (u.getKeyRightOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (dr(n.current), _o(n.current, { containingElement: po(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? of(a) : a.firstChild(), t && (dr(t), _o(t, { containingElement: po(n.current) })));+ p === "cell" && l === "ltr" ? (pr(n.current), vo(n.current, { containingElement: mo(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? of(a) : a.firstChild(), t && (pr(t), vo(t, { containingElement: mo(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && R(n.current, z(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && I(n.current, L(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}} : void 0,onKeyDown: f === "tab" ? (e) => {- let r = Rt(L(n.current));- if (!(!R(e.currentTarget, z(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {- if (f === "tab" && z(e) !== n.current && e.key !== "Tab") {+ let r = Bt(F(n.current));+ if (!(!I(e.currentTarget, L(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {+ if (f === "tab" && L(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}if (e.key === "Tab" && f === "tab") {- let t = no(n.current, { tabbable: !0 });+ let t = ro(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -9641,12 +9641,12 @@ function af(e, t, n) {"aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,colSpan: i ? void 0 : r.colSpan,onFocus: (e) => {- if (m.current = r.key, z(e) !== n.current) {- $n() || t.selectionManager.setFocusedKey(r.key);+ if (m.current = r.key, L(e) !== n.current) {+ tr() || t.selectionManager.setFocusedKey(r.key);return;}- p === "child" && e.relatedTarget && R(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && Rt(L(n.current)) === n.current && h();+ p === "child" && e.relatedTarget && I(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && Bt(F(n.current)) === n.current && h();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -9686,17 +9686,17 @@ function lf(e, t, n) {let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = af({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Sa({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Ca({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = Wr({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !mn() && (u = d ? f : "none");- let p = ea(cf(ef), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && mn() && (m = `${m}, ${p.format(f)}`));- let h = bo(m), g = t.collection.size === 0;+ }), { focusableProps: l } = Kr({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !gn() && (u = d ? f : "none");+ let p = na(cf(ef), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && gn() && (m = `${m}, ${p.format(f)}`));+ let h = xo(m), g = t.collection.size === 0;return (0, C.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -9705,7 +9705,7 @@ function lf(e, t, n) {r.key]), {columnHeaderProps: {- ...B(l, a, s, h, g ? { tabIndex: -1 } : null),+ ...R(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",id: _d(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,@@ -9729,7 +9729,7 @@ function df(e, t, n) {ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? fr(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? mr(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -9758,9 +9758,9 @@ var pf = {}};function mf(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = df(e, t, n), { direction: s } = Bi();+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = df(e, t, n), { direction: s } = Hi();i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = ea(ff(ef), "@react-aria/table"), u = ki({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = na(ff(ef), "@react-aria/table"), u = ji({"aria-label": c ? l.format("collapse") : l.format("expand"),"aria-labelledby": yd(t, r.key)}), d = {}, f = {};@@ -9789,10 +9789,10 @@ function mf(e, t, n) {};}}- let p = Cn(r.props), m = o.hasAction ? p : {};+ let p = Tn(r.props), m = o.hasAction ? p : {};return {rowProps: {- ...B(a, d, m),+ ...R(a, d, m),"aria-labelledby": yd(t, r.key)},expandButtonProps: f,@@ -9827,7 +9827,7 @@ function yf(e, t) {function bf(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": ea(vf(ef), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": na(vf(ef), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),isSelected: n,isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",isIndeterminate: !t && !n,@@ -9850,14 +9850,14 @@ function Cf(e, t, n) {isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = Sf(t, r, "tab"), m = Sf(t, r, "tabpanel"), { tabIndex: h } = d, g = V(u?.props, { labelable: !0 });+ }), p = Sf(t, r, "tab"), m = Sf(t, r, "tabpanel"), { tabIndex: h } = d, g = B(u?.props, { labelable: !0 });delete g.id;- let _ = wn(u?.props), { focusableProps: v } = Wr({+ let _ = En(u?.props), { focusableProps: v } = Kr({...u?.props,isDisabled: l}, n);return {- tabProps: B(g, v, _, d, {+ tabProps: R(g, v, _, d, {id: p,"aria-selected": c,"aria-disabled": l || void 0,@@ -9917,7 +9917,7 @@ var wf = class {//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabList.mjsfunction Tf(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Bi(), { collectionProps: l } = lc({+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Hi(), { collectionProps: l } = lc({ref: n,selectionManager: o,keyboardDelegate: (0, C.useMemo)(() => new wf(a, c, r, s), [@@ -9930,9 +9930,9 @@ function Tf(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = vr();+ }), u = br();return xf.set(t, u), { tabListProps: {- ...B(l, ki({+ ...R(l, ji({...e,id: u})),@@ -9945,7 +9945,7 @@ function Tf(e, t, n) {//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjsfunction Ef(e, t, n) {let r = Sl(n) ? void 0 : 0, i = Sf(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: B(ki({+ return { tabPanelProps: R(ji({...e,id: i,"aria-labelledby": Sf(t, t?.selectedKey, "tab")@@ -10160,7 +10160,7 @@ var Df = /* @__PURE__ */ g(((e) => {})), Of = /* @__PURE__ */ g(((e, t) => {t.exports = Df();})), kf = /* @__PURE__ */ g(((e) => {- var t = Of(), n = b(), r = Xr();+ var t = Of(), n = b(), r = Qr();function i(e) {var t = "https://react.dev/errors/" + e;if (1 < arguments.length) {@@ -10330,58 +10330,58 @@ var Df = /* @__PURE__ */ g(((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"), j = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), N = Symbol.for("react.context"), ee = Symbol.for("react.forward_ref"), te = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), re = 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 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"), j = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), ee = Symbol.for("react.context"), te = 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 de = Symbol.for("react.client.reference");- function fe(e) {+ var fe = Symbol.for("react.client.reference");+ function pe(e) {if (e == null) return null;- if (typeof e == "function") return e.$$typeof === de ? null : e.displayName || e.name || null;+ if (typeof e == "function") return e.$$typeof === fe ? null : e.displayName || e.name || null;if (typeof e == "string") return e;switch (e) {case k: return "Fragment";case j: return "Profiler";case A: return "StrictMode";- case te: return "Suspense";- case P: return "SuspenseList";- case ie: return "Activity";- case se: return "ViewTransition";+ case ne: return "Suspense";+ case N: return "SuspenseList";+ case ae: return "Activity";+ case ce: return "ViewTransition";}if (typeof e == "object") switch (e.$$typeof) {case O: return "Portal";- case N: return e.displayName || "Context";+ case ee: return e.displayName || "Context";case M: return (e._context.displayName || "Context") + ".Consumer";- case ee:+ case te:var t = e.render;return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;- case ne: return t = e.displayName || null, t === null ? fe(e.type) || "Memo" : t;- case re:+ case re: return t = e.displayName || null, t === null ? pe(e.type) || "Memo" : t;+ case ie:t = e._payload, e = e._init;try {- return fe(e(t));+ return pe(e(t));} catch {}}return null;}- 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 = {+ var me = Array.isArray, P = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, he = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ge = {pending: !1,data: null,method: null,action: null- }, he = [], ge = -1;- function _e(e) {+ }, _e = [], ve = -1;+ function ye(e) {return { current: e };}- function ve(e) {- 0 > ge || (e.current = he[ge], he[ge] = null, ge--);+ function be(e) {+ 0 > ve || (e.current = _e[ve], _e[ve] = null, ve--);}- function ye(e, t) {- ge++, he[ge] = e.current, e.current = t;+ function xe(e, t) {+ ve++, _e[ve] = e.current, e.current = t;}- 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) {+ var Se = ye(null), Ce = ye(null), we = ye(null), Te = ye(null);+ function Ee(e, t) {+ switch (xe(we, t), xe(Ce, e), xe(Se, null), t.nodeType) {case 9:case 11:e = (e = t.documentElement) && (e = e.namespaceURI) ? Sp(e) : 0;@@ -10397,34 +10397,34 @@ var Df = /* @__PURE__ */ g(((e) => {default: e = 0;}}- ve(be), ye(be, e);+ be(Se), xe(Se, e);}- function Te() {- ve(be), ve(xe), ve(Se);+ function De() {+ be(Se), be(Ce), be(we);}- function Ee(e) {+ function Oe(e) {var t = e.memoizedState;- t !== null && (J._currentValue = t.memoizedState, ye(Ce, e)), t = be.current;+ t !== null && (fh._currentValue = t.memoizedState, xe(Te, e)), t = Se.current;var n = Cp(t, e.type);- t !== n && (ye(xe, e), ye(be, n));+ t !== n && (xe(Ce, e), xe(Se, n));}- function De(e) {- xe.current === e && (ve(be), ve(xe)), Ce.current === e && (ve(Ce), J._currentValue = me);+ function ke(e) {+ Ce.current === e && (be(Se), be(Ce)), Te.current === e && (be(Te), fh._currentValue = ge);}- var Oe, ke;- function Ae(e) {- if (Oe === void 0) try {+ var Ae, je;+ function Me(e) {+ if (Ae === void 0) try {throw Error();} catch (e) {var t = e.stack.trim().match(/\n( *(at )?)/);- Oe = t && t[1] || "", ke = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";+ Ae = t && t[1] || "", je = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";}- return "\n" + Oe + e + ke;+ return "\n" + Ae + e + je;}- var je = !1;- function Me(e, t) {- if (!e || je) return "";- je = !0;+ var Ne = !1;+ function Pe(e, t) {+ if (!e || Ne) return "";+ Ne = !0;var n = Error.prepareStackTrace;Error.prepareStackTrace = void 0;try {@@ -10495,50 +10495,50 @@ var Df = /* @__PURE__ */ g(((e) => {}}} finally {- je = !1, Error.prepareStackTrace = n;+ Ne = !1, Error.prepareStackTrace = n;}- return (n = e ? e.displayName || e.name : "") ? Ae(n) : "";+ return (n = e ? e.displayName || e.name : "") ? Me(n) : "";}- function Ne(e, t) {+ function Fe(e, t) {switch (e.tag) {case 26:case 27:- 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 5: return Me(e.type);+ case 16: return Me("Lazy");+ case 13: return e.child !== t && t !== null ? Me("Suspense Fallback") : Me("Suspense");+ case 19: return Me("SuspenseList");case 0:- 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");+ case 15: return Pe(e.type, !1);+ case 11: return Pe(e.type.render, !1);+ case 1: return Pe(e.type, !0);+ case 31: return Me("Activity");+ case 30: return Me("ViewTransition");default: return "";}}- function Pe(e) {+ function Ie(e) {try {var t = "", n = null;do- t += Ne(e, n), n = e, e = e.return;+ t += Fe(e, n), n = e, e = e.return;while (e);return t;} catch (e) {return "\nError generating stack: " + e.message + "\n" + e.stack;}}- 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);+ var Le = Object.prototype.hasOwnProperty, Re = t.unstable_scheduleCallback, ze = t.unstable_cancelCallback, Be = t.unstable_shouldYield, Ve = t.unstable_requestPaint, He = t.unstable_now, Ue = t.unstable_getCurrentPriorityLevel, We = t.unstable_ImmediatePriority, Ge = t.unstable_UserBlockingPriority, Ke = t.unstable_NormalPriority, qe = t.unstable_LowPriority, Je = t.unstable_IdlePriority, Ye = t.log, Xe = t.unstable_setDisableYieldValue, Ze = null, Qe = null;+ function $e(e) {+ if (typeof Ye == "function" && Xe(e), Qe && typeof Qe.setStrictMode == "function") try {+ Qe.setStrictMode(Ze, e);} catch {}}- 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 et = Math.clz32 ? Math.clz32 : rt, tt = Math.log, nt = Math.LN2;+ function rt(e) {+ return e >>>= 0, e === 0 ? 32 : 31 - (tt(e) / nt | 0) | 0;}- var nt = 256, rt = 262144, it = 4194304;- function at(e) {+ var it = 256, at = 262144, ot = 4194304;+ function st(e) {var t = e & 42;if (t !== 0) return t;switch (e & -e) {@@ -10576,27 +10576,27 @@ var Df = /* @__PURE__ */ g(((e) => {default: return e;}}- function ot(e, t, n) {+ function ct(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 = 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;+ return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = st(n))) : i = st(o) : i = st(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = st(n))) : i = st(o)) : i = st(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 st(e, t) {+ function lt(e, t) {return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;}- function ct(e, t) {+ function ut(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 - Qe(n), i = 1 << r;+ var r = 31 - et(n), i = 1 << r;t |= e[r], n &= ~i;}return t;}- function lt(e, t) {+ function dt(e, t) {switch (e) {case 1:case 2:@@ -10632,23 +10632,23 @@ var Df = /* @__PURE__ */ g(((e) => {default: return -1;}}- function ut() {- var e = it;- return it <<= 1, !(it & 62914560) && (it = 4194304), e;+ function ft() {+ var e = ot;+ return ot <<= 1, !(ot & 62914560) && (ot = 4194304), e;}- function dt(e) {+ function pt(e) {for (var t = [], n = 0; 31 > n; n++) t.push(e);return t;}- function ft(e, t) {+ function mt(e, t) {e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);}- function pt(e, t, n, r, i, a) {+ function ht(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 - Qe(n), d = 1 << u;+ var u = 31 - et(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++) {@@ -10657,25 +10657,25 @@ var Df = /* @__PURE__ */ g(((e) => {}n &= ~d;}- r !== 0 && mt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));+ r !== 0 && gt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));}- function mt(e, t, n) {+ function gt(e, t, n) {e.pendingLanes |= t, e.suspendedLanes &= ~t;- var r = 31 - Qe(t);+ var r = 31 - et(t);e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;}- function ht(e, t) {+ function _t(e, t) {var n = e.entangledLanes |= t;for (e = e.entanglements; n;) {- var r = 31 - Qe(n), i = 1 << r;+ var r = 31 - et(n), i = 1 << r;i & t | e[r] & t && (e[r] |= t), n &= ~i;}}- function gt(e, t) {+ function vt(e, t) {var n = t & -t;- return n = n & 42 ? 1 : _t(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;+ return n = n & 42 ? 1 : yt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;}- function _t(e) {+ function yt(e) {switch (e) {case 2:e = 1;@@ -10713,33 +10713,33 @@ var Df = /* @__PURE__ */ g(((e) => {}return e;}- function vt(e) {+ function bt(e) {return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;}- function yt() {- var e = I.p;+ function xt() {+ var e = he.p;return e === 0 ? (e = window.event, e === void 0 ? 32 : Oh(e.type)) : e;}- function bt(e, t) {- var n = I.p;+ function St(e, t) {+ var n = he.p;try {- return I.p = e, t();+ return he.p = e, t();} finally {- I.p = n;+ he.p = n;}}- var xt = Math.random().toString(36).slice(2), St = "__reactFiber$" + xt, Ct = "__reactProps$" + xt, wt = "__reactContainer$" + xt, Tt = "__reactEvents$" + xt, Et = "__reactListeners$" + xt, Dt = "__reactHandles$" + xt, Ot = "__reactResources$" + xt, L = "__reactMarker$" + xt, kt = "__reactLoad$" + xt;- function At(e) {- delete e[St], delete e[Ct], delete e[Et], delete e[Dt];+ var Ct = Math.random().toString(36).slice(2), wt = "__reactFiber$" + Ct, Tt = "__reactProps$" + Ct, Et = "__reactContainer$" + Ct, Dt = "__reactEvents$" + Ct, Ot = "__reactListeners$" + Ct, kt = "__reactHandles$" + Ct, At = "__reactResources$" + Ct, F = "__reactMarker$" + Ct, jt = "__reactLoad$" + Ct;+ function Mt(e) {+ delete e[wt], delete e[Tt], delete e[Ot], delete e[kt];}- function jt(e) {+ function Nt(e) {var t;- if (t = e[St]) return t;+ if (t = e[wt]) return t;for (var n = e.parentNode; n;) {- if (t = n[wt] || n[St]) {- if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = Sm(e); e !== null;) {- if (n = e[St]) return n;- e = Sm(e);+ if (t = n[Et] || n[wt]) {+ if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = xm(e); e !== null;) {+ if (n = e[wt]) return n;+ e = xm(e);}return t;}@@ -10747,49 +10747,49 @@ var Df = /* @__PURE__ */ g(((e) => {}return null;}- function Mt(e) {- if (e = e[St] || e[wt]) {+ function Pt(e) {+ if (e = e[wt] || e[Et]) {var t = e.tag;if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;}return null;}- function Nt(e) {+ function Ft(e) {var t = e.tag;if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;throw Error(i(33));}- function Pt(e) {- var t = e[Ot];- return t ||= e[Ot] = {+ function It(e) {+ var t = e[At];+ return t ||= e[At] = {hoistableStyles: /* @__PURE__ */ new Map(),hoistableScripts: /* @__PURE__ */ new Map()}, t;}- function Ft(e) {- e[L] = !0;+ function Lt(e) {+ e[F] = !0;}- function It(e) {- e[kt] = void 0;+ function Rt(e) {+ e[jt] = void 0;}- var Lt = /* @__PURE__ */ new Set(), R = {};- function Rt(e, t) {- z(e, t), z(e + "Capture", t);+ var zt = /* @__PURE__ */ new Set(), I = {};+ function Bt(e, t) {+ L(e, t), L(e + "Capture", t);}- function z(e, t) {- for (R[e] = t, e = 0; e < t.length; e++) Lt.add(t[e]);+ function L(e, t) {+ for (I[e] = t, e = 0; e < t.length; e++) zt.add(t[e]);}- 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 Vt = 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]*$"), Ht = {}, Ut = {};+ function Wt(e) {+ return Le.call(Ut, e) ? !0 : Le.call(Ht, e) ? !1 : Vt.test(e) ? Ut[e] = !0 : (Ht[e] = !0, !1);}- var Ut = !1;- function Wt() {- var e = Ut;- return Ut = !1, e;+ var Gt = !1;+ function Kt() {+ var e = Gt;+ return Gt = !1, e;}- function Gt(e, t, n) {- if (Ht(t)) {+ function qt(e, t, n) {+ if (Wt(t)) {if (n === null) e.removeAttribute(t);else {switch (typeof n) {@@ -10809,7 +10809,7 @@ var Df = /* @__PURE__ */ g(((e) => {}}}- function Kt(e, t, n) {+ function Jt(e, t, n) {if (n === null) e.removeAttribute(t);else {switch (typeof n) {@@ -10823,7 +10823,7 @@ var Df = /* @__PURE__ */ g(((e) => {e.setAttribute(t, n);}}- function qt(e, t, n, r) {+ function Yt(e, t, n, r) {if (r === null) e.removeAttribute(n);else {switch (typeof r) {@@ -10837,7 +10837,7 @@ var Df = /* @__PURE__ */ g(((e) => {e.setAttributeNS(t, n, r);}}- function Jt(e) {+ function Xt(e) {switch (typeof e) {case "bigint":case "boolean":@@ -10848,11 +10848,11 @@ var Df = /* @__PURE__ */ g(((e) => {default: return "";}}- function Yt(e) {+ function Zt(e) {var t = e.type;return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");}- function Xt(e, t, n) {+ function Qt(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;@@ -10877,48 +10877,48 @@ var Df = /* @__PURE__ */ g(((e) => {};}}- function Zt(e) {+ function $t(e) {if (!e._valueTracker) {- var t = Yt(e) ? "checked" : "value";- e._valueTracker = Xt(e, t, "" + e[t]);+ var t = Zt(e) ? "checked" : "value";+ e._valueTracker = Qt(e, t, "" + e[t]);}}- function Qt(e) {+ function en(e) {if (!e) return !1;var t = e._valueTracker;if (!t) return !0;var n = t.getValue(), r = "";- return e && (r = Yt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);+ return e && (r = Zt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);}- var $t = /[\n"\\]/g;- function en(e) {- return e.replace($t, function(e) {+ var tn = /[\n"\\]/g;+ function nn(e) {+ return e.replace(tn, function(e) {return "\\" + e.charCodeAt(0).toString(16) + " ";});}- function tn(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 = "" + Jt(t)) : e.value !== "" + Jt(t) && (e.value = "" + Jt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : rn(e, Jt(n)) : o === "number" && e.value == t ? rn(e, Jt(e.value)) : rn(e, Jt(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 = "" + Jt(s) : e.removeAttribute("name");+ function rn(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 = "" + Xt(t)) : e.value !== "" + Xt(t) && (e.value = "" + Xt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : on(e, Xt(n)) : o === "number" && e.value == t ? on(e, Xt(e.value)) : on(e, Xt(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 = "" + Xt(s) : e.removeAttribute("name");}- function nn(e, t, n, r, i, a, o, s) {+ function an(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)) {- Zt(e);+ $t(e);return;}- n = n == null ? "" : "" + Jt(n), t = t == null ? n : "" + Jt(t), s || t === e.value || (e.value = t), e.defaultValue = t;+ n = n == null ? "" : "" + Xt(n), t = t == null ? n : "" + Xt(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), Zt(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), $t(e);}- function rn(e, t) {+ function on(e, t) {e.defaultValue !== "" + t && (e.defaultValue = "" + t);}- function an(e, t, n, r) {+ function sn(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 = "" + Jt(n), t = null, i = 0; i < e.length; i++) {+ for (n = "" + Xt(n), t = null, i = 0; i < e.length; i++) {if (e[i].value === n) {e[i].selected = !0, r && (e[i].defaultSelected = !0);return;@@ -10928,18 +10928,18 @@ var Df = /* @__PURE__ */ g(((e) => {t !== null && (t.selected = !0);}}- function on(e, t, n) {- if (t != null && (t = "" + Jt(t), t !== e.value && (e.value = t), n == null)) {+ function cn(e, t, n) {+ if (t != null && (t = "" + Xt(t), t !== e.value && (e.value = t), n == null)) {e.defaultValue !== t && (e.defaultValue = t);return;}- e.defaultValue = n == null ? "" : "" + Jt(n);+ e.defaultValue = n == null ? "" : "" + Xt(n);}- function sn(e, t, n, r) {+ function ln(e, t, n, r) {if (t == null) {if (r != null) {if (n != null) throw Error(i(92));- if (pe(r)) {+ if (me(r)) {if (1 < r.length) throw Error(i(93));r = r[0];}@@ -10947,9 +10947,9 @@ var Df = /* @__PURE__ */ g(((e) => {}n ??= "", t = n;}- n = Jt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Zt(e);+ n = Xt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), $t(e);}- function cn(e, t) {+ function un(e, t) {if (t) {var n = e.firstChild;if (n && n === e.lastChild && n.nodeType === 3) {@@ -10959,19 +10959,19 @@ var Df = /* @__PURE__ */ g(((e) => {}e.textContent = t;}- var ln = 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 un(e, t, n) {+ var dn = 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 fn(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 || ln.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 || dn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";}- function dn(e, t, n) {+ function pn(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] = "", Ut = !0);- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (un(e, a, r), Ut = !0);- } else for (var o in t) t.hasOwnProperty(o) && un(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] = "", Gt = !0);+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (fn(e, a, r), Gt = !0);+ } else for (var o in t) t.hasOwnProperty(o) && fn(e, o, t[o]);}- function fn(e) {+ function mn(e) {if (e.indexOf("-") === -1) return !1;switch (e) {case "annotation-xml":@@ -10985,7 +10985,7 @@ var Df = /* @__PURE__ */ g(((e) => {default: return !0;}}- var pn = /* @__PURE__ */ new Map([+ var hn = /* @__PURE__ */ new Map([["acceptCharset", "accept-charset"],["htmlFor", "for"],["httpEquiv", "http-equiv"],@@ -11065,56 +11065,56 @@ var Df = /* @__PURE__ */ g(((e) => {["writingMode", "writing-mode"],["xmlnsXlink", "xmlns:xlink"],["xHeight", "x-height"]- ]), mn = /^[\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 hn(e) {- return mn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;+ ]), gn = /^[\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 _n(e) {+ return gn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;}- function gn() {}- var _n = null;- function vn(e) {+ function vn() {}+ var yn = null;+ function bn(e) {return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;}- var yn = null, bn = null;- function xn(e) {- var t = Mt(e);+ var xn = null, Sn = null;+ function Cn(e) {+ var t = Pt(e);if (t && (e = t.stateNode)) {- var n = e[Ct] || null;+ var n = e[Tt] || null;a: switch (e = t.stateNode, t.type) {case "input":- if (tn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {+ if (rn(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=\"" + en("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {+ for (n = n.querySelectorAll("input[name=\"" + nn("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {var r = n[t];if (r !== e && r.form === e.form) {- var a = r[Ct] || null;+ var a = r[Tt] || null;if (!a) throw Error(i(90));- tn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);+ rn(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 && Qt(r);+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && en(r);}break a;case "textarea":- on(e, n.value, n.defaultValue);+ cn(e, n.value, n.defaultValue);break a;- case "select": t = n.value, t != null && an(e, !!n.multiple, t, !1);+ case "select": t = n.value, t != null && sn(e, !!n.multiple, t, !1);}}}- var Sn = !1;- function Cn(e, t, n) {- if (Sn) return e(t, n);- Sn = !0;+ var wn = !1;+ function Tn(e, t, n) {+ if (wn) return e(t, n);+ wn = !0;try {return e(t);} finally {- if (Sn = !1, (yn !== null || bn !== null) && (qd(), yn && (t = yn, e = bn, bn = yn = null, xn(t), e))) for (t = 0; t < e.length; t++) xn(e[t]);+ if (wn = !1, (xn !== null || Sn !== null) && (qd(), xn && (t = xn, e = Sn, Sn = xn = null, Cn(t), e))) for (t = 0; t < e.length; t++) Cn(e[t]);}}- function wn(e, t) {+ function En(e, t) {var n = e.stateNode;if (n === null) return null;- var r = n[Ct] || null;+ var r = n[Tt] || null;if (r === null) return null;n = r[t];a: switch (t) {@@ -11137,54 +11137,54 @@ var Df = /* @__PURE__ */ g(((e) => {if (n && typeof n != "function") throw Error(i(231, t, typeof n));return n;}- var Tn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), En = !1;- if (Tn) try {- var Dn = {};- Object.defineProperty(Dn, "passive", { get: function() {- En = !0;- } }), window.addEventListener("test", Dn, Dn), window.removeEventListener("test", Dn, Dn);+ var Dn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), On = !1;+ if (Dn) try {+ var kn = {};+ Object.defineProperty(kn, "passive", { get: function() {+ On = !0;+ } }), window.addEventListener("test", kn, kn), window.removeEventListener("test", kn, kn);} catch {- En = !1;+ On = !1;}- var On = null, kn = null, An = null;- function jn() {- if (An) return An;- var e, t = kn, n = t.length, r, i = "value" in On ? On.value : On.textContent, a = i.length;+ var An = null, jn = null, Mn = null;+ function Nn() {+ if (Mn) return Mn;+ var e, t = jn, n = t.length, r, i = "value" in An ? An.value : An.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 An = i.slice(e, 1 < r ? 1 - r : void 0);+ return Mn = i.slice(e, 1 < r ? 1 - r : void 0);}- function Mn(e) {+ function Pn(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 Nn() {+ function Fn() {return !0;}- function Pn() {+ function In() {return !1;}- function Fn(e) {+ function Ln(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) ? Nn : Pn, this.isPropagationStopped = Pn, this;+ return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Fn : In, this.isPropagationStopped = In, 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 = Nn);+ e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Fn);},stopPropagation: function() {var e = this.nativeEvent;- e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Nn);+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Fn);},persist: function() {},- isPersistent: Nn+ isPersistent: Fn}), t;}- var In = {+ var Rn = {eventPhase: 0,bubbles: 0,cancelable: 0,@@ -11193,10 +11193,10 @@ var Df = /* @__PURE__ */ g(((e) => {},defaultPrevented: 0,isTrusted: 0- }, Ln = Fn(In), Rn = T({}, In, {+ }, zn = Ln(Rn), Bn = T({}, Rn, {view: 0,detail: 0- }), zn = Fn(Rn), Bn, Vn, Hn, Un = T({}, Rn, {+ }), Vn = Ln(Bn), Hn, Un, Wn, Gn = T({}, Bn, {screenX: 0,screenY: 0,clientX: 0,@@ -11207,25 +11207,25 @@ var Df = /* @__PURE__ */ g(((e) => {shiftKey: 0,altKey: 0,metaKey: 0,- getModifierState: er,+ getModifierState: nr,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 !== Hn && (Hn && e.type === "mousemove" ? (Bn = e.screenX - Hn.screenX, Vn = e.screenY - Hn.screenY) : Vn = Bn = 0, Hn = e), Bn);+ return "movementX" in e ? e.movementX : (e !== Wn && (Wn && e.type === "mousemove" ? (Hn = e.screenX - Wn.screenX, Un = e.screenY - Wn.screenY) : Un = Hn = 0, Wn = e), Hn);},movementY: function(e) {- return "movementY" in e ? e.movementY : Vn;+ return "movementY" in e ? e.movementY : Un;}- }), Wn = Fn(Un), Gn = Fn(T({}, Un, { dataTransfer: 0 })), Kn = Fn(T({}, Rn, { relatedTarget: 0 })), qn = Fn(T({}, In, {+ }), Kn = Ln(Gn), qn = Ln(T({}, Gn, { dataTransfer: 0 })), Jn = Ln(T({}, Bn, { relatedTarget: 0 })), Yn = Ln(T({}, Rn, {animationName: 0,elapsedTime: 0,pseudoElement: 0- })), Jn = Fn(T({}, In, { clipboardData: function(e) {+ })), Xn = Ln(T({}, Rn, { clipboardData: function(e) {return "clipboardData" in e ? e.clipboardData : window.clipboardData;- } })), Yn = Fn(T({}, In, { data: 0 })), Xn = {+ } })), Zn = Ln(T({}, Rn, { data: 0 })), Qn = {Esc: "Escape",Spacebar: " ",Left: "ArrowLeft",@@ -11238,7 +11238,7 @@ var Df = /* @__PURE__ */ g(((e) => {Apps: "ContextMenu",Scroll: "ScrollLock",MozPrintableKey: "Unidentified"- }, Zn = {+ }, $n = {8: "Backspace",9: "Tab",12: "Clear",@@ -11275,26 +11275,26 @@ var Df = /* @__PURE__ */ g(((e) => {144: "NumLock",145: "ScrollLock",224: "Meta"- }, Qn = {+ }, er = {Alt: "altKey",Control: "ctrlKey",Meta: "metaKey",Shift: "shiftKey"};- function $n(e) {+ function tr(e) {var t = this.nativeEvent;- return t.getModifierState ? t.getModifierState(e) : (e = Qn[e]) ? !!t[e] : !1;+ return t.getModifierState ? t.getModifierState(e) : (e = er[e]) ? !!t[e] : !1;}- function er() {- return $n;+ function nr() {+ return tr;}- var tr = Fn(T({}, Rn, {+ var rr = Ln(T({}, Bn, {key: function(e) {if (e.key) {- var t = Xn[e.key] || e.key;+ var t = Qn[e.key] || e.key;if (t !== "Unidentified") return t;}- return e.type === "keypress" ? (e = Mn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Zn[e.keyCode] || "Unidentified" : "";+ return e.type === "keypress" ? (e = Pn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? $n[e.keyCode] || "Unidentified" : "";},code: 0,location: 0,@@ -11304,17 +11304,17 @@ var Df = /* @__PURE__ */ g(((e) => {metaKey: 0,repeat: 0,locale: 0,- getModifierState: er,+ getModifierState: nr,charCode: function(e) {- return e.type === "keypress" ? Mn(e) : 0;+ return e.type === "keypress" ? Pn(e) : 0;},keyCode: function(e) {return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;},which: function(e) {- return e.type === "keypress" ? Mn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;+ return e.type === "keypress" ? Pn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;}- })), nr = Fn(T({}, Un, {+ })), ir = Ln(T({}, Gn, {pointerId: 0,width: 0,height: 0,@@ -11325,7 +11325,7 @@ var Df = /* @__PURE__ */ g(((e) => {twist: 0,pointerType: 0,isPrimary: 0- })), rr = Fn(T({}, In, { submitter: 0 })), ir = Fn(T({}, Rn, {+ })), ar = Ln(T({}, Rn, { submitter: 0 })), or = Ln(T({}, Bn, {touches: 0,targetTouches: 0,changedTouches: 0,@@ -11333,12 +11333,12 @@ var Df = /* @__PURE__ */ g(((e) => {metaKey: 0,ctrlKey: 0,shiftKey: 0,- getModifierState: er- })), ar = Fn(T({}, In, {+ getModifierState: nr+ })), sr = Ln(T({}, Rn, {propertyName: 0,elapsedTime: 0,pseudoElement: 0- })), or = Fn(T({}, Un, {+ })), cr = Ln(T({}, Gn, {deltaX: function(e) {return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;},@@ -11347,21 +11347,21 @@ var Df = /* @__PURE__ */ g(((e) => {},deltaZ: 0,deltaMode: 0- })), sr = Fn(T({}, In, {+ })), lr = Ln(T({}, Rn, {newState: 0,oldState: 0,source: 0- })), cr = [+ })), ur = [9,13,27,32- ], lr = Tn && "CompositionEvent" in window, ur = null;- Tn && "documentMode" in document && (ur = document.documentMode);- var dr = Tn && "TextEvent" in window && !ur, fr = Tn && (!lr || ur && 8 < ur && 11 >= ur), pr = " ", mr = !1;- function hr(e, t) {+ ], dr = Dn && "CompositionEvent" in window, fr = null;+ Dn && "documentMode" in document && (fr = document.documentMode);+ var pr = Dn && "TextEvent" in window && !fr, mr = Dn && (!dr || fr && 8 < fr && 11 >= fr), hr = " ", gr = !1;+ function _r(e, t) {switch (e) {- case "keyup": return cr.indexOf(t.keyCode) !== -1;+ case "keyup": return ur.indexOf(t.keyCode) !== -1;case "keydown": return t.keyCode !== 229;case "keypress":case "mousedown":@@ -11369,20 +11369,20 @@ var Df = /* @__PURE__ */ g(((e) => {default: return !1;}}- function gr(e) {+ function vr(e) {return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;}- var _r = !1;- function vr(e, t) {+ var yr = !1;+ function br(e, t) {switch (e) {- case "compositionend": return gr(t);- case "keypress": return t.which === 32 ? (mr = !0, pr) : null;- case "textInput": return e = t.data, e === pr && mr ? null : e;+ case "compositionend": return vr(t);+ case "keypress": return t.which === 32 ? (gr = !0, hr) : null;+ case "textInput": return e = t.data, e === hr && gr ? null : e;default: return null;}}- function yr(e, t) {- if (_r) return e === "compositionend" || !lr && hr(e, t) ? (e = jn(), An = kn = On = null, _r = !1, e) : null;+ function xr(e, t) {+ if (yr) return e === "compositionend" || !dr && _r(e, t) ? (e = Nn(), Mn = jn = An = null, yr = !1, e) : null;switch (e) {case "paste": return null;case "keypress":@@ -11391,11 +11391,11 @@ var Df = /* @__PURE__ */ g(((e) => {if (t.which) return String.fromCharCode(t.which);}return null;- case "compositionend": return fr && t.locale !== "ko" ? null : t.data;+ case "compositionend": return mr && t.locale !== "ko" ? null : t.data;default: return null;}}- var br = {+ var Sr = {color: !0,date: !0,datetime: !0,@@ -11412,76 +11412,76 @@ var Df = /* @__PURE__ */ g(((e) => {url: !0,week: !0};- function xr(e) {+ function Cr(e) {var t = e && e.nodeName && e.nodeName.toLowerCase();- return t === "input" ? !!br[e.type] : t === "textarea";+ return t === "input" ? !!Sr[e.type] : t === "textarea";}- function Sr(e, t, n, r) {- yn ? bn ? bn.push(r) : bn = [r] : yn = r, t = ap(t, "onChange"), 0 < t.length && (n = new Ln("onChange", "change", null, n, r), e.push({+ function wr(e, t, n, r) {+ xn ? Sn ? Sn.push(r) : Sn = [r] : xn = r, t = ap(t, "onChange"), 0 < t.length && (n = new zn("onChange", "change", null, n, r), e.push({event: n,listeners: t}));}- var Cr = null, wr = null;- function B(e) {+ var Tr = null, Er = null;+ function R(e) {Zf(e, 0);}- function Tr(e) {- if (Qt(Nt(e))) return e;+ function Dr(e) {+ if (en(Ft(e))) return e;}- function Er(e, t) {+ function Or(e, t) {if (e === "change") return t;}- var Dr = !1;- if (Tn) {- var Or;- if (Tn) {- var kr = "oninput" in document;- if (!kr) {- var Ar = document.createElement("div");- Ar.setAttribute("oninput", "return;"), kr = typeof Ar.oninput == "function";+ var kr = !1;+ if (Dn) {+ var Ar;+ if (Dn) {+ var jr = "oninput" in document;+ if (!jr) {+ var Mr = document.createElement("div");+ Mr.setAttribute("oninput", "return;"), jr = typeof Mr.oninput == "function";}- Or = kr;- } else Or = !1;- Dr = Or && (!document.documentMode || 9 < document.documentMode);+ Ar = jr;+ } else Ar = !1;+ kr = Ar && (!document.documentMode || 9 < document.documentMode);}- function jr() {- Cr && (Cr.detachEvent("onpropertychange", Mr), wr = Cr = null);+ function Nr() {+ Tr && (Tr.detachEvent("onpropertychange", Pr), Er = Tr = null);}- function Mr(e) {- if (e.propertyName === "value" && Tr(wr)) {+ function Pr(e) {+ if (e.propertyName === "value" && Dr(Er)) {var t = [];- Sr(t, wr, e, vn(e)), Cn(B, t);+ wr(t, Er, e, bn(e)), Tn(R, t);}}- function Nr(e, t, n) {- e === "focusin" ? (jr(), Cr = t, wr = n, Cr.attachEvent("onpropertychange", Mr)) : e === "focusout" && jr();+ function Fr(e, t, n) {+ e === "focusin" ? (Nr(), Tr = t, Er = n, Tr.attachEvent("onpropertychange", Pr)) : e === "focusout" && Nr();}- function Pr(e) {- if (e === "selectionchange" || e === "keyup" || e === "keydown") return Tr(wr);+ function Ir(e) {+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return Dr(Er);}- function Fr(e, t) {- if (e === "click") return Tr(t);+ function Lr(e, t) {+ if (e === "click") return Dr(t);}- function Ir(e, t) {- if (e === "input" || e === "change") return Tr(t);+ function Rr(e, t) {+ if (e === "input" || e === "change") return Dr(t);}- function Lr(e, t) {+ function zr(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}- var Rr = typeof Object.is == "function" ? Object.is : Lr;- function zr(e, t) {- if (Rr(e, t)) return !0;+ var Br = typeof Object.is == "function" ? Object.is : zr;+ function Vr(e, t) {+ if (Br(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 (!Fe.call(t, i) || !Rr(e[i], t[i])) return !1;+ if (!Le.call(t, i) || !Br(e[i], t[i])) return !1;}return !0;}- function Br(e) {+ function Hr(e) {if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;try {return e.activeElement || e.body;@@ -11489,12 +11489,12 @@ var Df = /* @__PURE__ */ g(((e) => {return e.body;}}- function Vr(e) {+ function Ur(e) {for (; e && e.firstChild;) e = e.firstChild;return e;}- function Hr(e, t) {- var n = Vr(e);+ function Wr(e, t) {+ var n = Ur(e);e = 0;for (var r; n;) {if (n.nodeType === 3) {@@ -11514,15 +11514,15 @@ var Df = /* @__PURE__ */ g(((e) => {}n = void 0;}- n = Vr(n);+ n = Ur(n);}}- function Ur(e, t) {- return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Ur(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;+ function Gr(e, t) {+ return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Gr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;}- function Wr(e) {+ function Kr(e) {e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;- for (var t = Br(e.document); t instanceof e.HTMLIFrameElement;) {+ for (var t = Hr(e.document); t instanceof e.HTMLIFrameElement;) {try {var n = typeof t.contentWindow.location.href == "string";} catch {@@ -11530,18 +11530,18 @@ var Df = /* @__PURE__ */ g(((e) => {}if (n) e = t.contentWindow;else break;- t = Br(e.document);+ t = Hr(e.document);}return t;}- function Gr(e) {+ function qr(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 = Tn && "documentMode" in document && 11 >= document.documentMode, qr = null, Jr = null, Yr = null, Zr = !1;- function Qr(e, t, n) {+ var Jr = Dn && "documentMode" in document && 11 >= document.documentMode, Yr = null, Xr = null, Zr = null, $r = !1;+ function ei(e, t, n) {var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;- Zr || qr == null || qr !== Br(r) || (r = qr, "selectionStart" in r && Gr(r) ? r = {+ $r || Yr == null || Yr !== Hr(r) || (r = Yr, "selectionStart" in r && qr(r) ? r = {start: r.selectionStart,end: r.selectionEnd} : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {@@ -11549,46 +11549,46 @@ var Df = /* @__PURE__ */ g(((e) => {anchorOffset: r.anchorOffset,focusNode: r.focusNode,focusOffset: r.focusOffset- }), Yr && zr(Yr, r) || (Yr = r, r = ap(Jr, "onSelect"), 0 < r.length && (t = new Ln("onSelect", "select", null, t, n), e.push({+ }), Zr && Vr(Zr, r) || (Zr = r, r = ap(Xr, "onSelect"), 0 < r.length && (t = new zn("onSelect", "select", null, t, n), e.push({event: t,listeners: r- }), t.target = qr)));+ }), t.target = Yr)));}- function $r(e, t) {+ function ti(e, t) {var n = {};return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;}- var ei = {- animationend: $r("Animation", "AnimationEnd"),- animationiteration: $r("Animation", "AnimationIteration"),- animationstart: $r("Animation", "AnimationStart"),- transitionrun: $r("Transition", "TransitionRun"),- transitionstart: $r("Transition", "TransitionStart"),- transitioncancel: $r("Transition", "TransitionCancel"),- transitionend: $r("Transition", "TransitionEnd")- }, ti = {}, ni = {};- Tn && (ni = document.createElement("div").style, "AnimationEvent" in window || (delete ei.animationend.animation, delete ei.animationiteration.animation, delete ei.animationstart.animation), "TransitionEvent" in window || delete ei.transitionend.transition);- function ri(e) {- if (ti[e]) return ti[e];- if (!ei[e]) return e;- var t = ei[e], n;- for (n in t) if (t.hasOwnProperty(n) && n in ni) return ti[e] = t[n];+ var ni = {+ animationend: ti("Animation", "AnimationEnd"),+ animationiteration: ti("Animation", "AnimationIteration"),+ animationstart: ti("Animation", "AnimationStart"),+ transitionrun: ti("Transition", "TransitionRun"),+ transitionstart: ti("Transition", "TransitionStart"),+ transitioncancel: ti("Transition", "TransitionCancel"),+ transitionend: ti("Transition", "TransitionEnd")+ }, ri = {}, ii = {};+ Dn && (ii = document.createElement("div").style, "AnimationEvent" in window || (delete ni.animationend.animation, delete ni.animationiteration.animation, delete ni.animationstart.animation), "TransitionEvent" in window || delete ni.transitionend.transition);+ function ai(e) {+ if (ri[e]) return ri[e];+ if (!ni[e]) return e;+ var t = ni[e], n;+ for (n in t) if (t.hasOwnProperty(n) && n in ii) return ri[e] = t[n];return e;}- var ii = ri("animationend"), ai = ri("animationiteration"), oi = ri("animationstart"), si = ri("transitionrun"), ci = ri("transitionstart"), li = ri("transitioncancel"), ui = ri("transitionend"), di = /* @__PURE__ */ new Map(), fi = "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(" ");- fi.push("scrollEnd");- function pi(e, t) {- di.set(e, t), Rt(t, [e]);- }- var mi = 0;+ var oi = ai("animationend"), si = ai("animationiteration"), ci = ai("animationstart"), li = ai("transitionrun"), ui = ai("transitionstart"), di = ai("transitioncancel"), fi = ai("transitionend"), pi = /* @__PURE__ */ new Map(), mi = "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(" ");+ mi.push("scrollEnd");function hi(e, t) {+ pi.set(e, t), Bt(t, [e]);+ }+ var gi = 0;+ function _i(e, t) {if (e.name != null && e.name !== "auto") return e.name;if (t.autoName !== null) return t.autoName;e = Od.identifierPrefix;- var n = mi++;+ var n = gi++;return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;}- function gi(e) {+ function vi(e) {if (e == null || typeof e == "string") return e;var t = null, n = Id;if (n !== null) for (var r = 0; r < n.length; r++) {@@ -11600,10 +11600,10 @@ var Df = /* @__PURE__ */ g(((e) => {}return t ?? e.default;}- function _i(e, t) {- return e = gi(e), t = gi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;+ function yi(e, t) {+ return e = vi(e), t = vi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;}- var vi = typeof reportError == "function" ? reportError : function(e) {+ var bi = typeof reportError == "function" ? reportError : function(e) {if (typeof window == "object" && typeof window.ErrorEvent == "function") {var t = new window.ErrorEvent("error", {bubbles: !0,@@ -11617,62 +11617,62 @@ var Df = /* @__PURE__ */ g(((e) => {return;}console.error(e);- }, yi = [], bi = 0, xi = 0;- function Si() {- for (var e = bi, t = xi = bi = 0; t < e;) {- var n = yi[t];- yi[t++] = null;- var r = yi[t];- yi[t++] = null;- var i = yi[t];- yi[t++] = null;- var a = yi[t];- if (yi[t++] = null, r !== null && i !== null) {+ }, xi = [], Si = 0, Ci = 0;+ function wi() {+ for (var e = Si, t = Ci = Si = 0; t < e;) {+ var n = xi[t];+ xi[t++] = null;+ var r = xi[t];+ xi[t++] = null;+ var i = xi[t];+ xi[t++] = null;+ var a = xi[t];+ if (xi[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 && Ei(n, i, a);+ a !== 0 && Oi(n, i, a);}}- function Ci(e, t, n, r) {- yi[bi++] = e, yi[bi++] = t, yi[bi++] = n, yi[bi++] = r, xi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);+ function Ti(e, t, n, r) {+ xi[Si++] = e, xi[Si++] = t, xi[Si++] = n, xi[Si++] = r, Ci |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);}- function wi(e, t, n, r) {- return Ci(e, t, n, r), Di(e);+ function Ei(e, t, n, r) {+ return Ti(e, t, n, r), ki(e);}- function Ti(e, t) {- return Ci(e, null, null, t), Di(e);+ function Di(e, t) {+ return Ti(e, null, null, t), ki(e);}- function Ei(e, t, n) {+ function Oi(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 - Qe(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 - et(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;}- function Di(e) {+ function ki(e) {if (50 < Ld) throw Ld = 0, Rd = null, Error(i(185));for (var t = e.return; t !== null;) e = t, t = e.return;return e.tag === 3 ? e.stateNode : null;}- var Oi = {};- function ki(e, t, n, r) {+ var Ai = {};+ function ji(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 Ai(e, t, n, r) {- return new ki(e, t, n, r);+ function Mi(e, t, n, r) {+ return new ji(e, t, n, r);}- function ji(e) {+ function Ni(e) {return e = e.prototype, !(!e || !e.isReactComponent);}- function Mi(e, t) {+ function Pi(e, t) {var n = e.alternate;- return n === null ? (n = Ai(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 = Mi(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 Ni(e, t) {+ function Fi(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 : {@@ -11680,21 +11680,21 @@ var Df = /* @__PURE__ */ g(((e) => {firstContext: t.firstContext}), e;}- function Pi(e, t, n, r, a, o) {+ function Ii(e, t, n, r, a, o) {var s = 0;- if (r = e, typeof r == "function") ji(r) && (s = 1);- else if (typeof r == "string") s = eh(e, n, be.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;+ if (r = e, typeof r == "function") Ni(r) && (s = 1);+ else if (typeof r == "string") s = $m(e, n, Se.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;else a: switch (r) {- case ie: return e = Ai(31, n, t, a), e.elementType = ie, e.lanes = o, e;- case k: return Fi(n.children, a, o, t);+ case ae: return e = Mi(31, n, t, a), e.elementType = ae, e.lanes = o, e;+ case k: return Li(n.children, a, o, t);case A:s = 8, a |= 24;break;- case j: return e = Ai(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;- case te: return e = Ai(13, n, t, a), e.elementType = te, e.lanes = o, e;- case P: return e = Ai(19, n, t, a), e.elementType = P, e.lanes = o, e;- case ae:- case se: return e = a | 32, e = Ai(30, n, t, e), e.elementType = se, e.lanes = o, e.stateNode = {+ case j: return e = Mi(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;+ case ne: return e = Mi(13, n, t, a), e.elementType = ne, e.lanes = o, e;+ case N: return e = Mi(19, n, t, a), e.elementType = N, e.lanes = o, e;+ case oe:+ case ce: return e = a | 32, e = Mi(30, n, t, e), e.elementType = ce, e.lanes = o, e.stateNode = {autoName: null,paired: null,clones: null,@@ -11702,92 +11702,92 @@ var Df = /* @__PURE__ */ g(((e) => {}, e;default:if (typeof r == "object" && r) switch (r.$$typeof) {- case N:+ case ee:s = 10;break a;case M:s = 9;break a;- case ee:+ case te:s = 11;break a;- case ne:+ case re:s = 14;break a;- case re:+ case ie:s = 16, r = null;break a;}s = 29, n = Error(i(130, e === null ? "null" : typeof e, "")), r = null;}- return t = Ai(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;+ return t = Mi(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;}- function Fi(e, t, n, r) {- return e = Ai(7, e, r, t), e.lanes = n, e;+ function Li(e, t, n, r) {+ return e = Mi(7, e, r, t), e.lanes = n, e;}- function Ii(e, t, n) {- return e = Ai(6, e, null, t), e.lanes = n, e;+ function Ri(e, t, n) {+ return e = Mi(6, e, null, t), e.lanes = n, e;}- function Li(e) {- var t = Ai(18, null, null, 0);+ function zi(e) {+ var t = Mi(18, null, null, 0);return t.stateNode = e, t;}- function Ri(e, t, n) {- return t = Ai(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {+ function Bi(e, t, n) {+ return t = Mi(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {containerInfo: e.containerInfo,pendingChildren: null,implementation: e.implementation}, t;}- var zi = /* @__PURE__ */ new WeakMap();- function Bi(e, t) {+ var Vi = /* @__PURE__ */ new WeakMap();+ function Hi(e, t) {if (typeof e == "object" && e) {- var n = zi.get(e);+ var n = Vi.get(e);return n === void 0 ? (t = {value: e,source: t,- stack: Pe(t)- }, zi.set(e, t), t) : n;+ stack: Ie(t)+ }, Vi.set(e, t), t) : n;}return {value: e,source: t,- stack: Pe(t)+ stack: Ie(t)};}- var Vi = [], Hi = 0, Ui = null, Wi = 0, Gi = [], Ki = 0, qi = null, Ji = 1, Yi = "";- function Xi(e, t) {- Vi[Hi++] = Wi, Vi[Hi++] = Ui, Ui = e, Wi = t;+ var Ui = [], Wi = 0, Gi = null, Ki = 0, qi = [], Ji = 0, Yi = null, Xi = 1, Zi = "";+ function Qi(e, t) {+ Ui[Wi++] = Ki, Ui[Wi++] = Gi, Gi = e, Ki = t;}- function Zi(e, t, n) {- Gi[Ki++] = Ji, Gi[Ki++] = Yi, Gi[Ki++] = qi, qi = e;- var r = Ji;- e = Yi;- var i = 32 - Qe(r) - 1;+ function $i(e, t, n) {+ qi[Ji++] = Xi, qi[Ji++] = Zi, qi[Ji++] = Yi, Yi = e;+ var r = Xi;+ e = Zi;+ var i = 32 - et(r) - 1;r &= ~(1 << i), n += 1;- var a = 32 - Qe(t) + i;+ var a = 32 - et(t) + i;if (30 < a) {var o = i - i % 5;- a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ji = 1 << 32 - Qe(t) + i | n << i | r, Yi = a + e;- } else Ji = 1 << a | n << i | r, Yi = e;+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Xi = 1 << 32 - et(t) + i | n << i | r, Zi = a + e;+ } else Xi = 1 << a | n << i | r, Zi = e;}- function Qi(e) {- e.return !== null && (Xi(e, 1), Zi(e, 1, 0));+ function ea(e) {+ e.return !== null && (Qi(e, 1), $i(e, 1, 0));}- function $i(e) {- for (; e === Ui;) Ui = Vi[--Hi], Vi[Hi] = null, Wi = Vi[--Hi], Vi[Hi] = null;- for (; e === qi;) qi = Gi[--Ki], Gi[Ki] = null, Yi = Gi[--Ki], Gi[Ki] = null, Ji = Gi[--Ki], Gi[Ki] = null;+ function ta(e) {+ for (; e === Gi;) Gi = Ui[--Wi], Ui[Wi] = null, Ki = Ui[--Wi], Ui[Wi] = null;+ for (; e === Yi;) Yi = qi[--Ji], qi[Ji] = null, Zi = qi[--Ji], qi[Ji] = null, Xi = qi[--Ji], qi[Ji] = null;}- function ea(e, t) {- Gi[Ki++] = Ji, Gi[Ki++] = Yi, Gi[Ki++] = qi, Ji = t.id, Yi = t.overflow, qi = e;+ function na(e, t) {+ qi[Ji++] = Xi, qi[Ji++] = Zi, qi[Ji++] = Yi, Xi = t.id, Zi = t.overflow, Yi = e;}- var ta = null, na = null, ra = !1, ia = null, aa = !1, oa = Error(i(519));- function V(e) {- throw fa(Bi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), oa;+ var ra = null, ia = null, z = !1, aa = null, oa = !1, sa = Error(i(519));+ function B(e) {+ throw pa(Hi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), sa;}- function sa(e) {+ function ca(e) {var t = e.stateNode, n = e.type, r = e.memoizedProps;- switch (t[St] = e, t[Ct] = r, n) {+ switch (t[wt] = e, t[Tt] = r, n) {case "dialog":Qf("cancel", t), Qf("close", t);break;@@ -11812,67 +11812,67 @@ var Df = /* @__PURE__ */ g(((e) => {Qf("toggle", t);break;case "input":- Qf("invalid", t), nn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);+ Qf("invalid", t), an(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);break;case "select":Qf("invalid", t);break;- case "textarea": Qf("invalid", t), sn(t, r.value, r.defaultValue, r.children);+ case "textarea": Qf("invalid", t), ln(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 || dp(t.textContent, n) ? (r.popover != null && (Qf("beforetoggle", t), Qf("toggle", t)), r.onScroll != null && Qf("scroll", t), r.onScrollEnd != null && Qf("scrollend", t), r.onClick != null && (t.onclick = gn), t = !0) : t = !1, t || V(e, !0);+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || dp(t.textContent, n) ? (r.popover != null && (Qf("beforetoggle", t), Qf("toggle", t)), r.onScroll != null && Qf("scroll", t), r.onScrollEnd != null && Qf("scrollend", t), r.onClick != null && (t.onclick = vn), t = !0) : t = !1, t || B(e, !0);}- function ca(e) {- for (ta = e.return; ta;) switch (ta.tag) {+ function la(e) {+ for (ra = e.return; ra;) switch (ra.tag) {case 5:case 31:case 13:- aa = !1;+ oa = !1;return;case 27:case 3:- aa = !0;+ oa = !0;return;- default: ta = ta.return;+ default: ra = ra.return;}}- function la(e) {- if (e !== ta) return !1;- if (!ra) return ca(e), ra = !0, !1;+ function ua(e) {+ if (e !== ra) return !1;+ if (!z) return la(e), z = !0, !1;var t = e.tag, n;- if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Tp(e.type, e.memoizedProps)), n = !n), n && na && V(e), ca(e), t === 13) {+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Tp(e.type, e.memoizedProps)), n = !n), n && ia && B(e), la(e), t === 13) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- na = U(e);+ ia = W(e);} else if (t === 31) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- na = U(e);- } else t === 27 ? (t = na, Pp(e.type) ? (e = xm, xm = null, na = e) : na = t) : na = ta ? bm(e.stateNode.nextSibling) : null;+ ia = W(e);+ } else t === 27 ? (t = ia, Pp(e.type) ? (e = bm, bm = null, ia = e) : ia = t) : ia = ra ? ym(e.stateNode.nextSibling) : null;return !0;}- function ua() {- na = ta = null, ra = !1;- }function da() {- var e = ia;- return e !== null && (bd === null ? bd = e : bd.push.apply(bd, e), ia = null), e;+ ia = ra = null, z = !1;}- function fa(e) {- ia === null ? ia = [e] : ia.push(e);+ function fa() {+ var e = aa;+ return e !== null && (bd === null ? bd = e : bd.push.apply(bd, e), aa = null), e;}- var pa = _e(null), ma = null, ha = null;- function ga(e, t, n) {- ye(pa, t._currentValue), t._currentValue = n;+ function pa(e) {+ aa === null ? aa = [e] : aa.push(e);}- function _a(e) {- e._currentValue = pa.current, ve(pa);+ var ma = ye(null), ha = null, ga = null;+ function _a(e, t, n) {+ xe(ma, t._currentValue), t._currentValue = n;}- function va(e, t, n) {+ function va(e) {+ e._currentValue = ma.current, be(ma);+ }+ function ya(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 ya(e, t, n, r) {+ function ba(e, t, n, r) {var a = e.child;for (a !== null && (a.return = e); a !== null;) {var o = a.dependencies;@@ -11883,15 +11883,15 @@ var Df = /* @__PURE__ */ g(((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), va(o.return, n, e), r || (s = null);+ o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), ya(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), va(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), va(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), ya(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), ya(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) {@@ -11907,7 +11907,7 @@ var Df = /* @__PURE__ */ g(((e) => {a = s;}}- function ba(e, t, n, r) {+ function xa(e, t, n, r) {e = null;for (var a = t, o = !1; a !== null;) {if (!o) {@@ -11919,48 +11919,48 @@ var Df = /* @__PURE__ */ g(((e) => {if (s === null) throw Error(i(387));if (s = s.memoizedProps, s !== null) {var c = a.type;- Rr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));+ Br(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));}- } else if (a === Ce.current) {+ } else if (a === Te.current) {if (s = a.alternate, s === null) throw Error(i(387));- s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [J] : e.push(J));+ s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [fh] : e.push(fh));}a = a.return;}- return e !== null && ya(t, e, n, r), t.flags |= 262144, e !== null;+ return e !== null && ba(t, e, n, r), t.flags |= 262144, e !== null;}- function xa(e) {+ function Sa(e) {for (e = e.firstContext; e !== null;) {- if (!Rr(e.context._currentValue, e.memoizedValue)) return !0;+ if (!Br(e.context._currentValue, e.memoizedValue)) return !0;e = e.next;}return !1;}- function Sa(e) {- ma = e, ha = null, e = e.dependencies, e !== null && (e.firstContext = null);- }function Ca(e) {- return Ta(ma, e);+ ha = e, ga = null, e = e.dependencies, e !== null && (e.firstContext = null);}- function wa(e, t) {- return ma === null && Sa(e), Ta(e, t);+ function wa(e) {+ return Ea(ha, e);}function Ta(e, t) {+ return ha === null && Ca(e), Ea(e, t);+ }+ function Ea(e, t) {var n = t._currentValue;if (t = {context: t,memoizedValue: n,next: null- }, ha === null) {+ }, ga === null) {if (e === null) throw Error(i(308));- ha = t, e.dependencies = {+ ga = t, e.dependencies = {lanes: 0,firstContext: t}, e.flags |= 524288;- } else ha = ha.next = t;+ } else ga = ga.next = t;return n;}- var Ea = typeof AbortController < "u" ? AbortController : function() {+ var Da = typeof AbortController < "u" ? AbortController : function() {var e = [], t = this.signal = {aborted: !1,addEventListener: function(t, n) {@@ -11972,27 +11972,27 @@ var Df = /* @__PURE__ */ g(((e) => {return e();});};- }, Da = t.unstable_scheduleCallback, Oa = t.unstable_NormalPriority, ka = {- $$typeof: N,+ }, Oa = t.unstable_scheduleCallback, ka = t.unstable_NormalPriority, Aa = {+ $$typeof: ee,Consumer: null,Provider: null,_currentValue: null,_currentValue2: null,_threadCount: 0};- function Aa() {+ function ja() {return {- controller: new Ea(),+ controller: new Da(),data: /* @__PURE__ */ new Map(),refCount: 0};}- function ja(e) {- e.refCount--, e.refCount === 0 && Da(Oa, function() {+ function Ma(e) {+ e.refCount--, e.refCount === 0 && Oa(ka, function() {e.controller.abort();});}- function Ma(e, t) {+ function Na(e, t) {if (e.pendingLanes & 4194048) {var n = e.transitionTypes;for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {@@ -12001,16 +12001,16 @@ var Df = /* @__PURE__ */ g(((e) => {}}}- var Na = null;- function Pa(e) {+ var Pa = null;+ function Fa(e) {var t = e.transitionTypes;return e.transitionTypes = null, t;}- var Fa = null, Ia = 0, La = 0, Ra = null;- function za(e, t) {- if (Fa === null) {- var n = Fa = [];- Ia = 0, La = Wf(), Ra = {+ var Ia = null, La = 0, Ra = 0, za = null;+ function Ba(e, t) {+ if (Ia === null) {+ var n = Ia = [];+ La = 0, Ra = Wf(), za = {status: "pending",value: void 0,then: function(e) {@@ -12018,17 +12018,17 @@ var Df = /* @__PURE__ */ g(((e) => {}};}- return Ia++, t.then(Ba, Ba), t;+ return La++, t.then(Va, Va), t;}- function Ba() {- if (--Ia === 0 && (Na = null, Fa !== null)) {- Ra !== null && (Ra.status = "fulfilled");- var e = Fa;- Fa = null, La = 0, Ra = null;+ function Va() {+ if (--La === 0 && (Pa = null, Ia !== null)) {+ za !== null && (za.status = "fulfilled");+ var e = Ia;+ Ia = null, Ra = 0, za = null;for (var t = 0; t < e.length; t++) (0, e[t])();}}- function Va(e, t) {+ function Ha(e, t) {var n = [], r = {status: "pending",value: null,@@ -12044,46 +12044,46 @@ var Df = /* @__PURE__ */ g(((e) => {for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);}), r;}- var Ha = F.S;- F.S = function(e, t) {- if (Cd = Be(), typeof t == "object" && t && typeof t.then == "function" && za(e, t), Na !== null) for (var n = Af; n !== null;) Ma(n, Na), n = n.next;+ var Ua = P.S;+ P.S = function(e, t) {+ if (Cd = He(), typeof t == "object" && t && typeof t.then == "function" && Ba(e, t), Pa !== null) for (var n = Af; n !== null;) Na(n, Pa), n = n.next;if (n = e.types, n !== null) {- for (var r = Af; r !== null;) Ma(r, n), r = r.next;- if (La !== 0) {- r = Na, r === null && (r = Na = []);+ for (var r = Af; r !== null;) Na(r, n), r = r.next;+ if (Ra !== 0) {+ r = Pa, r === null && (r = Pa = []);for (var i = 0; i < n.length; i++) {var a = n[i];r.indexOf(a) === -1 && r.push(a);}}}- Ha !== null && Ha(e, t);+ Ua !== null && Ua(e, t);};- var Ua = _e(null);- function Wa() {- var e = Ua.current;+ var Wa = ye(null);+ function Ga() {+ var e = Wa.current;return e === null ? id.pooledCache : e;}- function Ga(e, t) {- t === null ? ye(Ua, Ua.current) : ye(Ua, t.pool);+ function Ka(e, t) {+ t === null ? xe(Wa, Wa.current) : xe(Wa, t.pool);}- function Ka() {- var e = Wa();+ function qa() {+ var e = Ga();return e === null ? null : {- parent: ka._currentValue,+ parent: Aa._currentValue,pool: e};}- var qa = Error(i(460)), Ja = Error(i(474)), Ya = Error(i(542)), Xa = { then: function() {} };- function Za(e) {+ var Ja = Error(i(460)), Ya = Error(i(474)), Xa = Error(i(542)), Za = { then: function() {} };+ function Qa(e) {return e = e.status, e === "fulfilled" || e === "rejected";}- function Qa(e, t, n) {- switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(gn, gn), t = n), t.status) {+ function $a(e, t, n) {+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(vn, vn), t = n), t.status) {case "fulfilled": return t.value;- case "rejected": throw e = t.reason, no(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;+ case "rejected": throw e = t.reason, ro(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;default:- if (typeof t.status == "string") t.then(gn, gn);+ if (typeof t.status == "string") t.then(vn, vn);else {if (e = id, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));e = t, e.status = "pending", e.then(function(e) {@@ -12100,40 +12100,40 @@ var Df = /* @__PURE__ */ g(((e) => {}switch (t.status) {case "fulfilled": return t.value;- case "rejected": throw e = t.reason, no(e), e;+ case "rejected": throw e = t.reason, ro(e), e;}- throw eo = t, qa;+ throw to = t, Ja;}}- function $a(e) {+ function eo(e) {try {var t = e._init;return t(e._payload);} catch (e) {- throw typeof e == "object" && e && typeof e.then == "function" ? (eo = e, qa) : e;+ throw typeof e == "object" && e && typeof e.then == "function" ? (to = e, Ja) : e;}}- var eo = null;- function to() {- if (eo === null) throw Error(i(459));- var e = eo;- return eo = null, e;+ var to = null;+ function no() {+ if (to === null) throw Error(i(459));+ var e = to;+ return to = null, e;}- function no(e) {- if (e === qa || e === Ya) throw Error(i(483));+ function ro(e) {+ if (e === Ja || e === Xa) throw Error(i(483));}- var ro = null, io = 0;- function ao(e) {- var t = io;- return io += 1, ro === null && (ro = []), Qa(ro, e, t);+ var io = null, ao = 0;+ function oo(e) {+ var t = ao;+ return ao += 1, io === null && (io = []), $a(io, e, t);}- function oo(e, t) {+ function so(e, t) {t = t.props.ref, e.ref = t === void 0 ? null : t;}- function so(e, t) {+ function co(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 co(e) {+ function lo(e) {function t(t, n) {if (e) {var r = t.deletions;@@ -12150,7 +12150,7 @@ var Df = /* @__PURE__ */ g(((e) => {return t;}function a(e, t) {- return e = Mi(e, t), e.index = 0, e.sibling = null, e;+ return e = Pi(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);@@ -12159,30 +12159,30 @@ var Df = /* @__PURE__ */ g(((e) => {return e && t.alternate === null && (t.flags |= 134217730), t;}function c(e, t, n, r) {- return t === null || t.tag !== 6 ? (t = Ii(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);+ return t === null || t.tag !== 6 ? (t = Ri(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), oo(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === re && $a(i) === t.type) ? (t = a(t, n.props), oo(t, n), t.return = e, t) : (t = Pi(n.type, n.key, n.props, null, e.mode, r), oo(t, n), t.return = e, t);+ return i === k ? (e = d(e, t, n.props.children, r, n.key), so(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === ie && eo(i) === t.type) ? (t = a(t, n.props), so(t, n), t.return = e, t) : (t = Ii(n.type, n.key, n.props, null, e.mode, r), so(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 = Ri(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 = Bi(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 = Fi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);+ return t === null || t.tag !== 7 ? (t = Li(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 = Ii("" + t, e.mode, n), t.return = e, t;+ if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Ri("" + t, e.mode, n), t.return = e, t;if (typeof t == "object" && t) {switch (t.$$typeof) {- case D: return n = Pi(t.type, t.key, t.props, null, e.mode, n), oo(n, t), n.return = e, n;- case O: return t = Ri(t, e.mode, n), t.return = e, t;- case re: return t = $a(t), f(e, t, n);+ case D: return n = Ii(t.type, t.key, t.props, null, e.mode, n), so(n, t), n.return = e, n;+ case O: return t = Bi(t, e.mode, n), t.return = e, t;+ case ie: return t = eo(t), f(e, t, n);}- if (pe(t) || ue(t)) return t = Fi(t, e.mode, n, null), t.return = e, t;- if (typeof t.then == "function") return f(e, ao(t), n);- if (t.$$typeof === N) return f(e, wa(e, t), n);- so(e, t);+ if (me(t) || de(t)) return t = Li(t, e.mode, n, null), t.return = e, t;+ if (typeof t.then == "function") return f(e, oo(t), n);+ if (t.$$typeof === ee) return f(e, Ta(e, t), n);+ co(e, t);}return null;}@@ -12193,12 +12193,12 @@ var Df = /* @__PURE__ */ g(((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 re: return n = $a(n), p(e, t, n, r);+ case ie: return n = eo(n), p(e, t, n, r);}- if (pe(n) || ue(n)) return i === null ? d(e, t, n, r, null) : null;- if (typeof n.then == "function") return p(e, t, ao(n), r);- if (n.$$typeof === N) return p(e, t, wa(e, n), r);- so(e, n);+ if (me(n) || de(n)) return i === null ? d(e, t, n, r, null) : null;+ if (typeof n.then == "function") return p(e, t, oo(n), r);+ if (n.$$typeof === ee) return p(e, t, Ta(e, n), r);+ co(e, n);}return null;}@@ -12208,12 +12208,12 @@ var Df = /* @__PURE__ */ g(((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 re: return r = $a(r), m(e, t, n, r, i);+ case ie: return r = eo(r), m(e, t, n, r, i);}- 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, ao(r), i);- if (r.$$typeof === N) return m(e, t, n, wa(t, r), i);- so(t, r);+ 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, oo(r), i);+ if (r.$$typeof === ee) return m(e, t, n, Ta(t, r), i);+ co(t, r);}return null;}@@ -12227,15 +12227,15 @@ var Df = /* @__PURE__ */ g(((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), ra && Xi(i, h), l;+ if (h === s.length) return n(i, d), z && Qi(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 ra && Xi(i, h), l;+ return z && Qi(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);- }), ra && Xi(i, h), l;+ }), z && Qi(i, h), l;}function g(a, s, c, l) {if (c == null) throw Error(i(151));@@ -12248,15 +12248,15 @@ var Df = /* @__PURE__ */ g(((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), ra && Xi(a, g), u;+ if (v.done) return n(a, h), z && Qi(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 ra && Xi(a, g), u;+ return z && Qi(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);- }), ra && Xi(a, g), u;+ }), z && Qi(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) {@@ -12267,11 +12267,11 @@ var Df = /* @__PURE__ */ g(((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), oo(c, o), c.return = e, e = c;+ n(e, r.sibling), c = a(r, o.props.children), so(c, o), c.return = e, e = c;break a;}- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === re && $a(l) === r.type) {- n(e, r.sibling), c = a(r, o.props), oo(c, o), c.return = e, e = c;+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === ie && eo(l) === r.type) {+ n(e, r.sibling), c = a(r, o.props), so(c, o), c.return = e, e = c;break a;}n(e, r);@@ -12279,7 +12279,7 @@ var Df = /* @__PURE__ */ g(((e) => {}t(e, r), r = r.sibling;}- o.type === k ? (c = Fi(o.props.children, e.mode, c, o.key), oo(c, o), c.return = e, e = c) : (c = Pi(o.type, o.key, o.props, null, e.mode, c), oo(c, o), c.return = e, e = c);+ o.type === k ? (c = Li(o.props.children, e.mode, c, o.key), so(c, o), c.return = e, e = c) : (c = Ii(o.type, o.key, o.props, null, e.mode, c), so(c, o), c.return = e, e = c);}return s(e);case O:@@ -12295,36 +12295,36 @@ var Df = /* @__PURE__ */ g(((e) => {}t(e, r), r = r.sibling;}- c = Ri(o, e.mode, c), c.return = e, e = c;+ c = Bi(o, e.mode, c), c.return = e, e = c;}return s(e);- case re: return o = $a(o), _(e, r, o, c);+ case ie: return o = eo(o), _(e, r, o, c);}- if (pe(o)) return h(e, r, o, c);- if (ue(o)) {- if (l = ue(o), typeof l != "function") throw Error(i(150));+ if (me(o)) return h(e, r, o, c);+ if (de(o)) {+ if (l = de(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, ao(o), c);- if (o.$$typeof === N) return _(e, r, wa(e, o), c);- so(e, o);+ if (typeof o.then == "function") return _(e, r, oo(o), c);+ if (o.$$typeof === ee) return _(e, r, Ta(e, o), c);+ co(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 = Ii(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 = Ri(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);}return function(e, t, n, r) {try {- io = 0;+ ao = 0;var i = _(e, t, n, r);- return ro = null, i;+ return io = null, i;} catch (t) {- if (t === qa || t === Ya) throw t;- var a = Ai(29, t, null, e.mode);+ if (t === Ja || t === Xa) throw t;+ var a = Mi(29, t, null, e.mode);return a.lanes = r, a.return = e, a;}};}- var lo = co(!0), uo = co(!1), fo = !1;- function po(e) {+ var uo = lo(!0), fo = lo(!1), po = !1;+ function mo(e) {e.updateQueue = {baseState: e.memoizedState,firstBaseUpdate: null,@@ -12337,7 +12337,7 @@ var Df = /* @__PURE__ */ g(((e) => {callbacks: null};}- function mo(e, t) {+ function ho(e, t) {e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {baseState: e.baseState,firstBaseUpdate: e.firstBaseUpdate,@@ -12346,7 +12346,7 @@ var Df = /* @__PURE__ */ g(((e) => {callbacks: null});}- function ho(e) {+ function go(e) {return {lane: e,tag: 0,@@ -12355,22 +12355,22 @@ var Df = /* @__PURE__ */ g(((e) => {next: null};}- function go(e, t, n) {+ function _o(e, t, n) {var r = e.updateQueue;if (r === null) return null;if (r = r.shared, rd & 2) {var i = r.pending;- return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Di(e), Ei(e, null, n), t;+ return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = ki(e), Oi(e, null, n), t;}- return Ci(e, r, t, n), Di(e);+ return Ti(e, r, t, n), ki(e);}- function _o(e, t, n) {+ function vo(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, ht(e, n);+ r &= e.pendingLanes, n |= r, t.lanes = n, _t(e, n);}}- function vo(e, t) {+ function yo(e, t) {var n = e.updateQueue, r = e.alternate;if (r !== null && (r = r.updateQueue, n === r)) {var i = null, a = null;@@ -12398,17 +12398,17 @@ var Df = /* @__PURE__ */ g(((e) => {}e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;}- var yo = !1;- function bo() {- if (yo) {- var e = Ra;+ var bo = !1;+ function xo() {+ if (bo) {+ var e = za;if (e !== null) throw e;}}- function xo(e, t, n, r) {- yo = !1;+ function So(e, t, n, r) {+ bo = !1;var i = e.updateQueue;- fo = !1;+ po = !1;var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;if (s !== null) {i.shared.pending = null;@@ -12423,7 +12423,7 @@ var Df = /* @__PURE__ */ g(((e) => {do {var f = s.lane & -536870913, p = f !== s.lane;if (p ? (od & f) === f : (r & f) === f) {- f !== 0 && f === La && (yo = !0), u !== null && (u = u.next = {+ f !== 0 && f === Ra && (bo = !0), u !== null && (u = u.next = {lane: 0,tag: s.tag,payload: s.payload,@@ -12447,7 +12447,7 @@ var Df = /* @__PURE__ */ g(((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: fo = !0;+ case 2: po = !0;}}f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));@@ -12466,53 +12466,53 @@ var Df = /* @__PURE__ */ g(((e) => {u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), md |= o, e.lanes = o, e.memoizedState = d;}}- function So(e, t) {+ function Co(e, t) {if (typeof e != "function") throw Error(i(191, e));e.call(t);}- function Co(e, t) {+ function wo(e, t) {var n = e.callbacks;- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) So(n[e], t);+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) Co(n[e], t);}- var wo = _e(null), To = _e(0);- function Eo(e, t) {- e = fd, ye(To, e), ye(wo, t), fd = e | t.baseLanes;- }- function Do() {- ye(To, fd), ye(wo, wo.current);+ var To = ye(null), Eo = ye(0);+ function Do(e, t) {+ e = fd, xe(Eo, e), xe(To, t), fd = e | t.baseLanes;}function Oo() {- fd = To.current, ve(wo), ve(To);+ xe(Eo, fd), xe(To, To.current);}- var ko = _e(null), Ao = null;- function jo(e) {- var t = e.alternate;- ye(Io, Io.current & 1), ye(ko, e), Ao === null && (t === null || wo.current !== null || t.memoizedState !== null) && (Ao = e);+ function ko() {+ fd = Eo.current, be(To), be(Eo);}+ var Ao = ye(null), jo = null;function Mo(e) {- ye(Io, Io.current), ye(ko, e), Ao === null && (Ao = e);+ var t = e.alternate;+ xe(Lo, Lo.current & 1), xe(Ao, e), jo === null && (t === null || To.current !== null || t.memoizedState !== null) && (jo = e);}function No(e) {- e.tag === 22 ? (ye(Io, Io.current), ye(ko, e), Ao === null && (Ao = e)) : Po();+ xe(Lo, Lo.current), xe(Ao, e), jo === null && (jo = e);}- function Po() {- ye(Io, Io.current), ye(ko, ko.current);+ function Po(e) {+ e.tag === 22 ? (xe(Lo, Lo.current), xe(Ao, e), jo === null && (jo = e)) : Fo();}- function Fo(e) {- ve(ko), Ao === e && (Ao = null), ve(Io);+ function Fo() {+ xe(Lo, Lo.current), xe(Ao, Ao.current);}- var Io = _e(0);- function Lo(e, t) {- ye(ko, ko.current), ye(Io, t);+ function Io(e) {+ be(Ao), jo === e && (jo = null), be(Lo);}- function Ro(e) {- ve(Io), ve(ko), Ao === e && (Ao = null);+ var Lo = ye(0);+ function Ro(e, t) {+ xe(Ao, Ao.current), xe(Lo, t);}function zo(e) {+ be(Lo), be(Ao), jo === e && (jo = null);+ }+ function Bo(e) {for (var t = e; t !== null;) {if (t.tag === 13) {var n = t.memoizedState;- if (n !== null && (n = n.dehydrated, n === null || _m(n) || vm(n))) return t;+ if (n !== null && (n = n.dehydrated, n === null || gm(n) || _m(n))) return t;} else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") {if (t.flags & 128) return t;} else if (t.child !== null) {@@ -12528,26 +12528,26 @@ var Df = /* @__PURE__ */ g(((e) => {}return null;}- var Bo = 0, Vo = null, Ho = null, Uo = null, Wo = !1, Go = !1, Ko = !1, qo = 0, Jo = 0, Yo = null, Xo = 0;+ var Vo = 0, V = null, Ho = null, Uo = null, Wo = !1, Go = !1, Ko = !1, qo = 0, Jo = 0, Yo = null, Xo = 0;function Zo() {throw Error(i(321));}function Qo(e, t) {if (t === null) return !1;- for (var n = 0; n < t.length && n < e.length; n++) if (!Rr(e[n], t[n])) return !1;+ for (var n = 0; n < t.length && n < e.length; n++) if (!Br(e[n], t[n])) return !1;return !0;}function $o(e, t, n, r, i, a) {- return Bo = a, Vo = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, F.H = e === null || e.memoizedState === null ? gc : _c, Ko = !1, a = n(r, i), Ko = !1, Go && (a = ts(t, n, r, i)), es(e), a;+ return Vo = a, V = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, P.H = e === null || e.memoizedState === null ? gc : _c, Ko = !1, a = n(r, i), Ko = !1, Go && (a = ts(t, n, r, i)), es(e), a;}function es(e) {- F.H = hc;+ P.H = hc;var t = Ho !== null && Ho.next !== null;- if (Bo = 0, Uo = Ho = Vo = null, Wo = !1, Jo = 0, Yo = null, t) throw Error(i(300));- e === null || Pc || (e = e.dependencies, e !== null && xa(e) && (Pc = !0));+ if (Vo = 0, Uo = Ho = V = null, Wo = !1, Jo = 0, Yo = null, t) throw Error(i(300));+ e === null || Pc || (e = e.dependencies, e !== null && Sa(e) && (Pc = !0));}function ts(e, t, n, r) {- Vo = e;+ V = e;var a = 0;do {if (Go && (Yo = null), Jo = 0, Go = !1, 25 <= a) throw Error(i(301));@@ -12555,13 +12555,13 @@ var Df = /* @__PURE__ */ g(((e) => {var o = e.updateQueue;o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);}- F.H = vc, o = t(n, r);+ P.H = vc, o = t(n, r);} while (Go);return o;}function ns() {- var e = F.H, t = e.useState()[0];- return t = typeof t.then == "function" ? ls(t) : t, e = e.useState()[0], (Ho === null ? null : Ho.memoizedState) !== e && (Vo.flags |= 1024), t;+ var e = P.H, t = e.useState()[0];+ return t = typeof t.then == "function" ? ls(t) : t, e = e.useState()[0], (Ho === null ? null : Ho.memoizedState) !== e && (V.flags |= 1024), t;}function rs() {var e = qo !== 0;@@ -12578,7 +12578,7 @@ var Df = /* @__PURE__ */ g(((e) => {}Wo = !1;}- Bo = 0, Uo = Ho = Vo = null, Go = !1, Jo = qo = 0, Yo = null;+ Vo = 0, Uo = Ho = V = null, Go = !1, Jo = qo = 0, Yo = null;}function os() {var e = {@@ -12588,24 +12588,24 @@ var Df = /* @__PURE__ */ g(((e) => {queue: null,next: null};- return Uo === null ? Vo.memoizedState = Uo = e : Uo = Uo.next = e, Uo;+ return Uo === null ? V.memoizedState = Uo = e : Uo = Uo.next = e, Uo;}function ss() {if (Ho === null) {- var e = Vo.alternate;+ var e = V.alternate;e = e === null ? null : e.memoizedState;} else e = Ho.next;- var t = Uo === null ? Vo.memoizedState : Uo.next;+ var t = Uo === null ? V.memoizedState : Uo.next;if (t !== null) Uo = t, Ho = e;else {- if (e === null) throw Vo.alternate === null ? Error(i(467)) : Error(i(310));+ if (e === null) throw V.alternate === null ? Error(i(467)) : Error(i(310));Ho = e, e = {memoizedState: Ho.memoizedState,baseState: Ho.baseState,baseQueue: Ho.baseQueue,queue: Ho.queue,next: null- }, Uo === null ? Vo.memoizedState = Uo = e : Uo = Uo.next = e;+ }, Uo === null ? V.memoizedState = Uo = e : Uo = Uo.next = e;}return Uo;}@@ -12619,20 +12619,20 @@ var Df = /* @__PURE__ */ g(((e) => {}function ls(e) {var t = Jo;- return Jo += 1, Yo === null && (Yo = []), e = Qa(Yo, e, t), t = Vo, (Uo === null ? t.memoizedState : Uo.next) === null && (t = t.alternate, F.H = t === null || t.memoizedState === null ? gc : _c), e;+ return Jo += 1, Yo === null && (Yo = []), e = $a(Yo, e, t), t = V, (Uo === null ? t.memoizedState : Uo.next) === null && (t = t.alternate, P.H = t === null || t.memoizedState === null ? gc : _c), e;}function us(e) {if (typeof e == "object" && e) {if (typeof e.then == "function") return ls(e);- if (e.$$typeof === ce) return;- if (e.$$typeof === N) return Ca(e);+ if (e.$$typeof === le) return;+ if (e.$$typeof === ee) return wa(e);}throw Error(i(438, String(e)));}function ds(e) {- var t = null, n = Vo.updateQueue;+ var t = null, n = V.updateQueue;if (n !== null && (t = n.memoCache), t == null) {- var r = Vo.alternate;+ var r = V.alternate;r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {data: r.data.map(function(e) {return e.slice();@@ -12643,7 +12643,7 @@ var Df = /* @__PURE__ */ g(((e) => {if (t ??= {data: [],index: 0- }, n === null && (n = cs(), Vo.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;+ }, n === null && (n = cs(), V.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = se;return t.index++, n;}function fs(e, t) {@@ -12670,7 +12670,7 @@ var Df = /* @__PURE__ */ g(((e) => {var c = s = null, l = null, u = t, d = !1;do {var f = u.lane & -536870913;- if (f === u.lane ? (Bo & f) === f : (od & f) === f) {+ if (f === u.lane ? (Vo & f) === f : (od & f) === f) {var p = u.revertLane;if (p === 0) l !== null && (l = l.next = {lane: 0,@@ -12680,9 +12680,9 @@ var Df = /* @__PURE__ */ g(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }), f === La && (d = !0);- else if ((Bo & p) === p) {- u = u.next, p === La && (d = !0);+ }), f === Ra && (d = !0);+ else if ((Vo & p) === p) {+ u = u.next, p === Ra && (d = !0);continue;} else f = {lane: 0,@@ -12692,7 +12692,7 @@ var Df = /* @__PURE__ */ g(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }, l === null ? (c = l = f, s = o) : l = l.next = f, Vo.lanes |= p, md |= p;+ }, l === null ? (c = l = f, s = o) : l = l.next = f, V.lanes |= p, md |= p;f = u.action, Ko && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);} else p = {lane: f,@@ -12702,10 +12702,10 @@ var Df = /* @__PURE__ */ g(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }, l === null ? (c = l = p, s = o) : l = l.next = p, Vo.lanes |= f, md |= f;+ }, l === null ? (c = l = p, s = o) : l = l.next = p, V.lanes |= f, md |= f;u = u.next;} while (u !== null && u !== t);- if (l === null ? s = o : l.next = c, !Rr(o, e.memoizedState) && (Pc = !0, d && (n = Ra, n !== null))) throw n;+ if (l === null ? s = o : l.next = c, !Br(o, e.memoizedState) && (Pc = !0, d && (n = za, 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];@@ -12721,20 +12721,20 @@ var Df = /* @__PURE__ */ g(((e) => {doo = e(o, s.action), s = s.next;while (s !== a);- Rr(o, t.memoizedState) || (Pc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;+ Br(o, t.memoizedState) || (Pc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;}return [o, r];}function gs(e, t, n) {- var r = Vo, a = ss(), o = ra;+ var r = V, a = ss(), o = z;if (o) {if (n === void 0) throw Error(i(407));n = n();} else n = t();- var s = !Rr((Ho || a).memoizedState, n);+ var s = !Br((Ho || a).memoizedState, n);if (s && (a.memoizedState = n, Pc = !0), a = a.queue, Vs(ys.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Uo !== null && !!(Uo.memoizedState.tag & 1), Is(e ? 9 : 8, { destroy: void 0 }, vs.bind(null, r, a, n, t), null), e) {if (r.flags |= 2048, id === null) throw Error(i(349));- o || Bo & 127 || _s(r, t, n);+ o || Vo & 127 || _s(r, t, n);}return n;}@@ -12742,7 +12742,7 @@ var Df = /* @__PURE__ */ g(((e) => {e.flags |= 16384, e = {getSnapshot: t,value: n- }, t = Vo.updateQueue, t === null ? (t = cs(), Vo.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));+ }, t = V.updateQueue, t === null ? (t = cs(), V.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));}function vs(e, t, n, r) {t.value = n, t.getSnapshot = r, bs(t) && xs(e);@@ -12757,13 +12757,13 @@ var Df = /* @__PURE__ */ g(((e) => {e = e.value;try {var n = t();- return !Rr(e, n);+ return !Br(e, n);} catch {return !0;}}function xs(e) {- var t = Ti(e, 2);+ var t = Di(e, 2);t !== null && Hd(t, e, 2);}function Ss(e) {@@ -12771,11 +12771,11 @@ var Df = /* @__PURE__ */ g(((e) => {if (typeof e == "function") {var n = e;if (e = n(), Ko) {- Ze(!0);+ $e(!0);try {n();} finally {- Ze(!1);+ $e(!1);}}}@@ -12806,21 +12806,21 @@ var Df = /* @__PURE__ */ g(((e) => {o.listeners.push(e);}};- F.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Ts(t, o)) : (o.next = n.next, t.pending = n.next = o);+ P.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Ts(t, o)) : (o.next = n.next, t.pending = n.next = o);}}function Ts(e, t) {var n = t.action, r = t.payload, i = e.state;if (t.isTransition) {- var a = F.T, o = {};- o.types = a === null ? null : a.types, F.T = o;+ var a = P.T, o = {};+ o.types = a === null ? null : a.types, P.T = o;try {- var s = n(i, r), c = F.S;+ var s = n(i, r), c = P.S;c !== null && c(o, s), Es(e, t, s);} catch (n) {Os(e, t, n);} finally {- a !== null && o.types !== null && (a.types = o.types), F.T = a;+ a !== null && o.types !== null && (a.types = o.types), P.T = a;}} else try {a = n(i, r), Es(e, t, a);@@ -12856,20 +12856,20 @@ var Df = /* @__PURE__ */ g(((e) => {return t;}function js(e, t) {- if (ra) {+ if (z) {var n = id.formState;if (n !== null) {a: {- var r = Vo;- if (ra) {- if (na) {+ var r = V;+ if (z) {+ if (ia) {b: {- for (var i = na, a = aa; i.nodeType !== 8;) {+ for (var i = ia, a = oa; i.nodeType !== 8;) {if (!a) {i = null;break b;}- if (i = bm(i.nextSibling), i === null) {+ if (i = ym(i.nextSibling), i === null) {i = null;break b;}@@ -12877,11 +12877,11 @@ var Df = /* @__PURE__ */ g(((e) => {a = i.data, i = a === "F!" || a === "F" ? i : null;}if (i) {- na = bm(i.nextSibling), r = i.data === "F!";+ ia = ym(i.nextSibling), r = i.data === "F!";break a;}}- V(r);+ B(r);}r = !1;}@@ -12894,12 +12894,12 @@ var Df = /* @__PURE__ */ g(((e) => {dispatch: null,lastRenderedReducer: As,lastRenderedState: t- }, n.queue = r, n = lc.bind(null, Vo, r), r.dispatch = n, r = Ss(!1), a = dc.bind(null, Vo, !1, r.queue), r = os(), i = {+ }, n.queue = r, n = lc.bind(null, V, r), r.dispatch = n, r = Ss(!1), a = dc.bind(null, V, !1, r.queue), r = os(), i = {state: t,dispatch: null,action: e,pending: null- }, r.queue = i, n = ws.bind(null, Vo, i, a, n), i.dispatch = n, r.memoizedState = e, [+ }, r.queue = i, n = ws.bind(null, V, i, a, n), i.dispatch = n, r.memoizedState = e, [t,n,!1@@ -12912,12 +12912,12 @@ var Df = /* @__PURE__ */ g(((e) => {if (t = ms(e, t, As)[0], e = ps(fs)[0], typeof t == "object" && t && typeof t.then == "function") try {var r = ls(t);} catch (e) {- throw e === qa ? Ya : e;+ throw e === Ja ? Xa : e;}else r = t;t = ss();var i = t.queue, a = i.dispatch;- return n !== t.memoizedState && (Vo.flags |= 2048, Is(9, { destroy: void 0 }, Ps.bind(null, i, n), null)), [+ return n !== t.memoizedState && (V.flags |= 2048, Is(9, { destroy: void 0 }, Ps.bind(null, i, n), null)), [r,a,e@@ -12944,20 +12944,20 @@ var Df = /* @__PURE__ */ g(((e) => {deps: r,inst: t,next: null- }, t = Vo.updateQueue, t === null && (t = cs(), Vo.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 = V.updateQueue, t === null && (t = cs(), V.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;}function Ls() {return ss().memoizedState;}function Rs(e, t, n, r) {var i = os();- Vo.flags |= e, i.memoizedState = Is(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);+ V.flags |= e, i.memoizedState = Is(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);}function zs(e, t, n, r) {var i = ss();r = r === void 0 ? null : r;var a = i.memoizedState.inst;- Ho !== null && r !== null && Qo(r, Ho.memoizedState.deps) ? i.memoizedState = Is(t, a, n, r) : (Vo.flags |= e, i.memoizedState = Is(1 | t, a, n, r));+ Ho !== null && r !== null && Qo(r, Ho.memoizedState.deps) ? i.memoizedState = Is(t, a, n, r) : (V.flags |= e, i.memoizedState = Is(1 | t, a, n, r));}function Bs(e, t) {Rs(8390656, 8, e, t);@@ -12966,9 +12966,9 @@ var Df = /* @__PURE__ */ g(((e) => {zs(2048, 8, e, t);}function Hs(e) {- Vo.flags |= 4;- var t = Vo.updateQueue;- if (t === null) t = cs(), Vo.updateQueue = t, t.events = [e];+ V.flags |= 4;+ var t = V.updateQueue;+ if (t === null) t = cs(), V.updateQueue = t, t.events = [e];else {var n = t.events;n === null ? t.events = [e] : n.push(e);@@ -13018,29 +13018,29 @@ var Df = /* @__PURE__ */ g(((e) => {var r = n.memoizedState;if (t !== null && Qo(t, r[1])) return r[0];if (r = e(), Ko) {- Ze(!0);+ $e(!0);try {e();} finally {- Ze(!1);+ $e(!1);}}return n.memoizedState = [r, t], r;}function Zs(e, t, n) {- return n === void 0 || Bo & 1073741824 && !(od & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Bd(), Vo.lanes |= e, md |= e, n);+ return n === void 0 || Vo & 1073741824 && !(od & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Bd(), V.lanes |= e, md |= e, n);}function Qs(e, t, n, r) {- return Rr(n, t) ? n : wo.current === null ? !(Bo & 106) || Bo & 1073741824 && !(od & 261930) ? (Pc = !0, e.memoizedState = n) : (e = Bd(), Vo.lanes |= e, md |= e, t) : (e = Zs(e, n, r), Rr(e, t) || (Pc = !0), e);+ return Br(n, t) ? n : To.current === null ? !(Vo & 106) || Vo & 1073741824 && !(od & 261930) ? (Pc = !0, e.memoizedState = n) : (e = Bd(), V.lanes |= e, md |= e, t) : (e = Zs(e, n, r), Br(e, t) || (Pc = !0), e);}function $s(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, dc(e, !1, t, n);+ var a = he.p;+ he.p = a !== 0 && 8 > a ? a : 8;+ var o = P.T, s = {};+ s.types = o === null ? null : o.types, P.T = s, dc(e, !1, t, n);try {- var c = i(), l = F.S;- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? uc(e, t, Va(c, r), zd(e)) : uc(e, t, r, zd(e));+ var c = i(), l = P.S;+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? uc(e, t, Ha(c, r), zd(e)) : uc(e, t, r, zd(e));} catch (n) {uc(e, t, {then: function() {},@@ -13048,14 +13048,14 @@ var Df = /* @__PURE__ */ g(((e) => {reason: n}, zd());} finally {- I.p = a, o !== null && s.types !== null && (o.types = s.types), F.T = o;+ he.p = a, o !== null && s.types !== null && (o.types = s.types), P.T = o;}}function ec() {}function tc(e, t, n, r) {if (e.tag !== 5) throw Error(i(476));var a = nc(e).queue;- $s(e, a, t, me, n === null ? ec : function() {+ $s(e, a, t, ge, n === null ? ec : function() {return rc(e), n(r);});}@@ -13063,15 +13063,15 @@ var Df = /* @__PURE__ */ g(((e) => {var t = e.memoizedState;if (t !== null) return t;t = {- memoizedState: me,- baseState: me,+ memoizedState: ge,+ baseState: ge,baseQueue: null,queue: {pending: null,lanes: 0,dispatch: null,lastRenderedReducer: fs,- lastRenderedState: me+ lastRenderedState: ge},next: null};@@ -13095,7 +13095,7 @@ var Df = /* @__PURE__ */ g(((e) => {t.next === null && (t = e.alternate.memoizedState), uc(e, t.next.queue, {}, zd());}function ic() {- return Ca(J);+ return wa(fh);}function ac() {return ss().memoizedState;@@ -13109,9 +13109,9 @@ var Df = /* @__PURE__ */ g(((e) => {case 24:case 3:var n = zd();- e = ho(n);- var r = go(t, e, n);- r !== null && (Hd(r, t, n), _o(r, t, n)), t = { cache: Aa() }, e.payload = t;+ e = go(n);+ var r = _o(t, e, n);+ r !== null && (Hd(r, t, n), vo(r, t, n)), t = { cache: ja() }, e.payload = t;return;}t = t.return;@@ -13127,7 +13127,7 @@ var Df = /* @__PURE__ */ g(((e) => {hasEagerState: !1,eagerState: null,next: null- }, fc(e) ? pc(t, n) : (n = wi(e, t, n, r), n !== null && (Hd(n, e, r), mc(n, t, r)));+ }, fc(e) ? pc(t, n) : (n = Ei(e, t, n, r), n !== null && (Hd(n, e, r), mc(n, t, r)));}function lc(e, t, n) {uc(e, t, n, zd());@@ -13147,9 +13147,9 @@ var Df = /* @__PURE__ */ g(((e) => {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, Rr(s, o)) return Ci(e, t, i, 0), id === null && Si(), !1;+ if (i.hasEagerState = !0, i.eagerState = s, Br(s, o)) return Ti(e, t, i, 0), id === null && wi(), !1;} catch {}- if (n = wi(e, t, i, r), n !== null) return Hd(n, e, r), mc(n, t, r), !0;+ if (n = Ei(e, t, i, r), n !== null) return Hd(n, e, r), mc(n, t, r), !0;}return !1;}@@ -13164,11 +13164,11 @@ var Df = /* @__PURE__ */ g(((e) => {next: null}, fc(e)) {if (t) throw Error(i(479));- } else t = wi(e, n, r, 2), t !== null && Hd(t, e, 2);+ } else t = Ei(e, n, r, 2), t !== null && Hd(t, e, 2);}function fc(e) {var t = e.alternate;- return e === Vo || t !== null && t === Vo;+ return e === V || t !== null && t === V;}function pc(e, t) {Go = Wo = !0;@@ -13178,11 +13178,11 @@ var Df = /* @__PURE__ */ g(((e) => {function mc(e, t, n) {if (n & 4194048) {var r = t.lanes;- r &= e.pendingLanes, n |= r, t.lanes = n, ht(e, n);+ r &= e.pendingLanes, n |= r, t.lanes = n, _t(e, n);}}var hc = {- readContext: Ca,+ readContext: wa,use: us,useCallback: Zo,useContext: Zo,@@ -13207,12 +13207,12 @@ var Df = /* @__PURE__ */ g(((e) => {useCacheRefresh: Zo,useEffectEvent: Zo}, gc = {- readContext: Ca,+ readContext: wa,use: us,useCallback: function(e, t) {return os().memoizedState = [e, t === void 0 ? null : t], e;},- useContext: Ca,+ useContext: wa,useEffect: Bs,useImperativeHandle: function(e, t, n) {n = n == null ? null : n.concat([e]), Rs(4194308, 4, Ks.bind(null, t, e), n);@@ -13228,11 +13228,11 @@ var Df = /* @__PURE__ */ g(((e) => {t = t === void 0 ? null : t;var r = e();if (Ko) {- Ze(!0);+ $e(!0);try {e();} finally {- Ze(!1);+ $e(!1);}}return n.memoizedState = [r, t], r;@@ -13242,11 +13242,11 @@ var Df = /* @__PURE__ */ g(((e) => {if (n !== void 0) {var i = n(t);if (Ko) {- Ze(!0);+ $e(!0);try {n(t);} finally {- Ze(!1);+ $e(!1);}}} else i = t;@@ -13256,7 +13256,7 @@ var Df = /* @__PURE__ */ g(((e) => {dispatch: null,lastRenderedReducer: e,lastRenderedState: i- }, r.queue = e, e = e.dispatch = cc.bind(null, Vo, e), [r.memoizedState, e];+ }, r.queue = e, e = e.dispatch = cc.bind(null, V, e), [r.memoizedState, e];},useRef: function(e) {var t = os();@@ -13264,7 +13264,7 @@ var Df = /* @__PURE__ */ g(((e) => {},useState: function(e) {e = Ss(e);- var t = e.queue, n = lc.bind(null, Vo, t);+ var t = e.queue, n = lc.bind(null, V, t);return t.dispatch = n, [e.memoizedState, n];},useDebugValue: Js,@@ -13273,11 +13273,11 @@ var Df = /* @__PURE__ */ g(((e) => {},useTransition: function() {var e = Ss(!1);- return e = $s.bind(null, Vo, e.queue, !0, !1), os().memoizedState = e, [!1, e];+ return e = $s.bind(null, V, e.queue, !0, !1), os().memoizedState = e, [!1, e];},useSyncExternalStore: function(e, t, n) {- var r = Vo, a = os();- if (ra) {+ var r = V, a = os();+ if (z) {if (n === void 0) throw Error(i(407));n = n();} else {@@ -13293,9 +13293,9 @@ var Df = /* @__PURE__ */ g(((e) => {},useId: function() {var e = os(), t = id.identifierPrefix;- if (ra) {- var n = Yi, r = Ji;- n = (r & ~(1 << 32 - Qe(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = qo++, 0 < n && (t += "H" + n.toString(32)), t += "_";+ if (z) {+ var n = Zi, r = Xi;+ n = (r & ~(1 << 32 - et(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = qo++, 0 < n && (t += "H" + n.toString(32)), t += "_";} else n = Xo++, t = "_" + t + "r_" + n.toString(32) + "_";return e.memoizedState = t;},@@ -13312,11 +13312,11 @@ var Df = /* @__PURE__ */ g(((e) => {lastRenderedReducer: null,lastRenderedState: null};- return t.queue = n, t = dc.bind(null, Vo, !0, n), n.dispatch = t, [e, t];+ return t.queue = n, t = dc.bind(null, V, !0, n), n.dispatch = t, [e, t];},useMemoCache: ds,useCacheRefresh: function() {- return os().memoizedState = sc.bind(null, Vo);+ return os().memoizedState = sc.bind(null, V);},useEffectEvent: function(e) {var t = os(), n = { impl: e };@@ -13326,10 +13326,10 @@ var Df = /* @__PURE__ */ g(((e) => {};}}, _c = {- readContext: Ca,+ readContext: wa,use: us,useCallback: Ys,- useContext: Ca,+ useContext: wa,useEffect: Vs,useImperativeHandle: qs,useInsertionEffect: Ws,@@ -13360,10 +13360,10 @@ var Df = /* @__PURE__ */ g(((e) => {useCacheRefresh: oc,useEffectEvent: Us}, vc = {- readContext: Ca,+ readContext: wa,use: us,useCallback: Ys,- useContext: Ca,+ useContext: wa,useEffect: Vs,useImperativeHandle: qs,useInsertionEffect: Ws,@@ -13402,22 +13402,22 @@ var Df = /* @__PURE__ */ g(((e) => {var bc = {enqueueSetState: function(e, t, n) {e = e._reactInternals;- var r = zd(), i = ho(r);- i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Hd(t, e, r), _o(t, e, r));+ var r = zd(), i = go(r);+ i.payload = t, n != null && (i.callback = n), t = _o(e, i, r), t !== null && (Hd(t, e, r), vo(t, e, r));},enqueueReplaceState: function(e, t, n) {e = e._reactInternals;- var r = zd(), i = ho(r);- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Hd(t, e, r), _o(t, e, r));+ var r = zd(), i = go(r);+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = _o(e, i, r), t !== null && (Hd(t, e, r), vo(t, e, r));},enqueueForceUpdate: function(e, t) {e = e._reactInternals;- var n = zd(), r = ho(n);- r.tag = 2, t != null && (r.callback = t), t = go(e, r, n), t !== null && (Hd(t, e, n), _o(t, e, n));+ var n = zd(), r = go(n);+ r.tag = 2, t != null && (r.callback = t), t = _o(e, r, n), t !== null && (Hd(t, e, n), vo(t, e, n));}};function xc(e, t, n, r, i, a, o) {- return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !zr(n, r) || !zr(i, a) : !0;+ return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !Vr(n, r) || !Vr(i, a) : !0;}function Sc(e, t, n, r) {e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && bc.enqueueReplaceState(t, t.state, null);@@ -13429,13 +13429,13 @@ var Df = /* @__PURE__ */ g(((e) => {return n;}function wc(e) {- vi(e);+ bi(e);}function Tc(e) {console.error(e);}function Ec(e) {- vi(e);+ bi(e);}function Dc(e, t) {try {@@ -13461,12 +13461,12 @@ var Df = /* @__PURE__ */ g(((e) => {}}function kc(e, t, n) {- return n = ho(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {+ return n = go(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {Dc(e, t);}, n;}function Ac(e) {- return e = ho(e), e.tag = 3, e;+ return e = go(e), e.tag = 3, e;}function jc(e, t, n, r) {var i = n.type.getDerivedStateFromError;@@ -13487,12 +13487,12 @@ var Df = /* @__PURE__ */ g(((e) => {}function Mc(e, t, n, r, a) {if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {- if (t = n.alternate, t !== null && ba(t, n, a, !0), n = ko.current, n !== null) {+ if (t = n.alternate, t !== null && xa(t, n, a, !0), n = Ao.current, n !== null) {switch (n.tag) {case 31:case 13:- case 19: return Ao === null ? ef() : n.alternate === null && pd === 0 && (pd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), Cf(e, r, a)), !1;- case 22: return n.flags |= 65536, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {+ case 19: return jo === null ? ef() : n.alternate === null && pd === 0 && (pd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Za ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), Cf(e, r, a)), !1;+ case 22: return n.flags |= 65536, r === Za ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {transitions: null,markerInstances: null,retryQueue: /* @__PURE__ */ new Set([r])@@ -13502,15 +13502,15 @@ var Df = /* @__PURE__ */ g(((e) => {}return Cf(e, r, a), ef(), !1;}- if (ra) return t = ko.current, t === null ? (r !== oa && (t = Error(i(423), { cause: r }), fa(Bi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Bi(r, n), a = kc(e.stateNode, r, a), vo(e, a), pd !== 4 && (pd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== oa && (e = Error(i(422), { cause: r }), fa(Bi(e, n)))), !1;+ if (z) return t = Ao.current, t === null ? (r !== sa && (t = Error(i(423), { cause: r }), pa(Hi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Hi(r, n), a = kc(e.stateNode, r, a), yo(e, a), pd !== 4 && (pd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== sa && (e = Error(i(422), { cause: r }), pa(Hi(e, n)))), !1;var o = Error(i(520), { cause: r });- if (o = Bi(o, n), yd === null ? yd = [o] : yd.push(o), pd !== 4 && (pd = 2), t === null) return !0;- r = Bi(r, n), n = t;+ if (o = Hi(o, n), yd === null ? yd = [o] : yd.push(o), pd !== 4 && (pd = 2), t === null) return !0;+ r = Hi(r, n), n = t;do {switch (n.tag) {- case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = kc(n.stateNode, r, e), vo(n, e), !1;+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = kc(n.stateNode, r, e), yo(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" && (Ed === null || !Ed.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Ac(a), jc(a, e, n, r), vo(n, a), !1;+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (Ed === null || !Ed.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Ac(a), jc(a, e, n, r), yo(n, a), !1;break;case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;}@@ -13520,7 +13520,7 @@ var Df = /* @__PURE__ */ g(((e) => {}var Nc = Error(i(461)), Pc = !1;function Fc(e, t, n, r) {- t.child = e === null ? uo(t, null, n, r) : lo(t, e.child, n, r);+ t.child = e === null ? fo(t, null, n, r) : uo(t, e.child, n, r);}function Ic(e, t, n, r, i) {n = n.render;@@ -13529,23 +13529,23 @@ var Df = /* @__PURE__ */ g(((e) => {var o = {};for (var s in r) s !== "ref" && (o[s] = r[s]);} else o = r;- return Sa(t), r = $o(e, t, n, o, a, i), s = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (ra && s && Qi(t), t.flags |= 1, Fc(e, t, r, i), t.child);+ return Ca(t), r = $o(e, t, n, o, a, i), s = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (z && s && ea(t), t.flags |= 1, Fc(e, t, r, i), t.child);}function Lc(e, t, n, r, i) {if (e === null) {var a = n.type;- return typeof a == "function" && !ji(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Rc(e, t, a, r, i)) : (e = Pi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);+ return typeof a == "function" && !Ni(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Rc(e, t, a, r, i)) : (e = Ii(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);}if (a = e.child, !dl(e, i)) {var o = a.memoizedProps;- if (n = n.compare, n = n === null ? zr : n, n(o, r) && e.ref === t.ref) return ul(e, t, i);+ if (n = n.compare, n = n === null ? Vr : n, n(o, r) && e.ref === t.ref) return ul(e, t, i);}- return t.flags |= 1, e = Mi(a, r), e.ref = t.ref, e.return = t, t.child = e;+ return t.flags |= 1, e = Pi(a, r), e.ref = t.ref, e.return = t, t.child = e;}function Rc(e, t, n, r, i) {if (e !== null) {var a = e.memoizedProps;- if (zr(a, r) && e.ref === t.ref) {+ if (Vr(a, r) && e.ref === t.ref) {if (Pc = !1, t.pendingProps = r = a, dl(e, i)) e.flags & 131072 && (Pc = !0);else return t.lanes = e.lanes, ul(e, t, i);}@@ -13570,9 +13570,9 @@ var Df = /* @__PURE__ */ g(((e) => {if (n & 536870912) t.memoizedState = {baseLanes: 0,cachePool: null- }, e !== null && Ga(t, a === null ? null : a.cachePool), a === null ? Do() : Eo(t, a), No(t);+ }, e !== null && Ka(t, a === null ? null : a.cachePool), a === null ? Oo() : Do(t, a), Po(t);else return r = t.lanes = 536870912, Vc(e, t, a === null ? n : a.baseLanes | n, n, r);- } else a === null ? (e !== null && Ga(t, null), Do(), Po()) : (Ga(t, a.cachePool), Eo(t, a), Po(), t.memoizedState = null);+ } else a === null ? (e !== null && Ka(t, null), Oo(), Fo()) : (Ka(t, a.cachePool), Do(t, a), Fo(), t.memoizedState = null);return Fc(e, t, i, n), t.child;}function Bc(e, t) {@@ -13584,14 +13584,14 @@ var Df = /* @__PURE__ */ g(((e) => {}), t.sibling;}function Vc(e, t, n, r, i) {- var a = Wa();+ var a = Ga();return a = a === null ? null : {- parent: ka._currentValue,+ parent: Aa._currentValue,pool: a}, t.memoizedState = {baseLanes: n,cachePool: a- }, e !== null && Ga(t, null), Do(), No(t), e !== null && ba(e, t, r, !0), t.childLanes = i, null;+ }, e !== null && Ka(t, null), Oo(), Po(t), e !== null && xa(e, t, r, !0), t.childLanes = i, null;}function Hc(e, t) {return t = tl({@@ -13600,25 +13600,25 @@ var Df = /* @__PURE__ */ g(((e) => {}, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;}function Uc(e, t, n) {- return lo(t, e.child, null, n), e = Hc(t, t.pendingProps), e.flags |= 2, Fo(t), t.memoizedState = null, e;+ return uo(t, e.child, null, n), e = Hc(t, t.pendingProps), e.flags |= 2, Io(t), t.memoizedState = null, e;}function Wc(e, t, n) {var r = t.pendingProps, a = !!(t.flags & 128);if (t.flags &= -129, e === null) {- if (ra) {+ if (z) {if (r.mode === "hidden") return e = Hc(t, r), t.lanes = 536870912, e.memoizedState = {baseLanes: 0,cachePool: null}, Bc(null, e);- if (Mo(t), (e = na) ? (e = gm(e, aa), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {+ if (No(t), (e = ia) ? (e = hm(e, oa), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,- treeContext: qi === null ? null : {- id: Ji,- overflow: Yi+ treeContext: Yi === null ? null : {+ id: Xi,+ overflow: Zi},retryLane: 536870912,hydrationErrors: null- }, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw V(t);+ }, n = zi(e), n.return = t, t.child = n, ra = t, ia = null)) : e = null, e === null) throw B(t);return t.lanes = 536870912, null;}return Hc(t, r);@@ -13626,20 +13626,20 @@ var Df = /* @__PURE__ */ g(((e) => {var o = e.memoizedState;if (o !== null) {var s = o.dehydrated;- if (Mo(t), a) {+ if (No(t), a) {if (t.flags & 256) t.flags &= -257, t = Uc(e, t, n);else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;else throw Error(i(558));- } else if (Pc || ba(e, t, n, !1), a = (n & e.childLanes) !== 0, Pc || a) {- if (wo.current === null) {- if (r = id, r !== null && (s = gt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ti(e, s), Hd(r, e, s), Nc;+ } else if (Pc || xa(e, t, n, !1), a = (n & e.childLanes) !== 0, Pc || a) {+ if (To.current === null) {+ if (r = id, r !== null && (s = vt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Di(e, s), Hd(r, e, s), Nc;ef();}t = Uc(e, t, n);- } else e = o.treeContext, na = bm(s.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = Hc(t, r), t.flags |= 134221824;+ } else e = o.treeContext, ia = ym(s.nextSibling), ra = t, z = !0, aa = null, oa = !1, e !== null && na(t, e), t = Hc(t, r), t.flags |= 134221824;return t;}- return e = Mi(e.child, {+ return e = Pi(e.child, {mode: r.mode,children: r.children}), e.ref = t.ref, t.child = e, e.return = t, e;@@ -13653,34 +13653,34 @@ var Df = /* @__PURE__ */ g(((e) => {}}function Kc(e, t, n, r, i) {- return Sa(t), n = $o(e, t, n, r, void 0, i), r = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (ra && r && Qi(t), t.flags |= 1, Fc(e, t, n, i), t.child);+ return Ca(t), n = $o(e, t, n, r, void 0, i), r = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (z && r && ea(t), t.flags |= 1, Fc(e, t, n, i), t.child);}function qc(e, t, n, r, i, a) {- return Sa(t), t.updateQueue = null, n = ts(t, r, n, i), es(e), r = rs(), e !== null && !Pc ? (is(e, t, a), ul(e, t, a)) : (ra && r && Qi(t), t.flags |= 1, Fc(e, t, n, a), t.child);+ return Ca(t), t.updateQueue = null, n = ts(t, r, n, i), es(e), r = rs(), e !== null && !Pc ? (is(e, t, a), ul(e, t, a)) : (z && r && ea(t), t.flags |= 1, Fc(e, t, n, a), t.child);}function Jc(e, t, n, r, i) {- if (Sa(t), t.stateNode === null) {- var a = Oi, o = n.contextType;- typeof o == "object" && o && (a = Ca(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = bc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, po(t), o = n.contextType, a.context = typeof o == "object" && o ? Ca(o) : Oi, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (yc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && bc.enqueueReplaceState(a, a.state, null), xo(t, r, a, i), bo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;+ if (Ca(t), t.stateNode === null) {+ var a = Ai, o = n.contextType;+ typeof o == "object" && o && (a = wa(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = bc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, mo(t), o = n.contextType, a.context = typeof o == "object" && o ? wa(o) : Ai, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (yc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && bc.enqueueReplaceState(a, a.state, null), So(t, r, a, i), xo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;} else if (e === null) {a = t.stateNode;var s = t.memoizedProps, c = Cc(n, s);a.props = c;var l = a.context, u = n.contextType;- o = Oi, typeof u == "object" && u && (o = Ca(u));+ o = Ai, typeof u == "object" && u && (o = wa(u));var d = n.getDerivedStateFromProps;- u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && Sc(t, a, r, o), fo = !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) && Sc(t, a, r, o), po = !1;var f = t.memoizedState;- a.state = f, xo(t, r, a, i), bo(), l = t.memoizedState, s || f !== l || fo ? (typeof d == "function" && (yc(t, n, d, r), l = t.memoizedState), (c = fo || xc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);+ a.state = f, So(t, r, a, i), xo(), l = t.memoizedState, s || f !== l || po ? (typeof d == "function" && (yc(t, n, d, r), l = t.memoizedState), (c = po || xc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);} else {- a = t.stateNode, mo(e, t), o = t.memoizedProps, u = Cc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Oi, typeof l == "object" && l && (c = Ca(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && Sc(t, a, r, c), fo = !1, f = t.memoizedState, a.state = f, xo(t, r, a, i), bo();+ a = t.stateNode, ho(e, t), o = t.memoizedProps, u = Cc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Ai, typeof l == "object" && l && (c = wa(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && Sc(t, a, r, c), po = !1, f = t.memoizedState, a.state = f, So(t, r, a, i), xo();var p = t.memoizedState;- o !== d || f !== p || fo || e !== null && e.dependencies !== null && xa(e.dependencies) ? (typeof s == "function" && (yc(t, n, s, r), p = t.memoizedState), (u = fo || xc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && xa(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 || po || e !== null && e.dependencies !== null && Sa(e.dependencies) ? (typeof s == "function" && (yc(t, n, s, r), p = t.memoizedState), (u = po || xc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && Sa(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);}- return a = r, Gc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = lo(t, e.child, null, i), t.child = lo(t, null, n, i)) : Fc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ul(e, t, i), e;+ return a = r, Gc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = uo(t, e.child, null, i), t.child = uo(t, null, n, i)) : Fc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ul(e, t, i), e;}function Yc(e, t, n, r) {- return ua(), t.flags |= 256, Fc(e, t, n, r), t.child;+ return da(), t.flags |= 256, Fc(e, t, n, r), t.child;}var Xc = {dehydrated: null,@@ -13691,7 +13691,7 @@ var Df = /* @__PURE__ */ g(((e) => {function Zc(e) {return {baseLanes: e,- cachePool: Ka()+ cachePool: qa()};}function Qc(e, t, n) {@@ -13699,39 +13699,39 @@ var Df = /* @__PURE__ */ g(((e) => {}function $c(e, t, n) {var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;- if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Io.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {- if (ra) {- if (i ? jo(t) : Po(), (e = na) ? (e = gm(e, aa), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {+ if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Lo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {+ if (z) {+ if (i ? Mo(t) : Fo(), (e = ia) ? (e = hm(e, oa), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,- treeContext: qi === null ? null : {- id: Ji,- overflow: Yi+ treeContext: Yi === null ? null : {+ id: Xi,+ overflow: Zi},retryLane: 536870912,hydrationErrors: null- }, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw V(t);- return t.lanes = vm(e) ? 32 : 536870912, null;+ }, n = zi(e), n.return = t, t.child = n, ra = t, ia = null)) : e = null, e === null) throw B(t);+ return t.lanes = _m(e) ? 32 : 536870912, null;}- return a = r.children, r = r.fallback, i ? (Po(), i = t.mode, a = tl({+ return a = r.children, r = r.fallback, i ? (Fo(), i = t.mode, a = tl({mode: "hidden",children: a- }, i), r = Fi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Zc(n), r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(null, r)) : (jo(t), el(t, a));+ }, i), r = Li(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Zc(n), r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(null, r)) : (Mo(t), el(t, a));}var s = e.memoizedState;if (s !== null) {var c = s.dehydrated;if (c !== null) return rl(e, t, a, o, r, c, s, n);}- return i ? (Po(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Mi(s, {+ return i ? (Fo(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Pi(s, {mode: "hidden",children: r.children- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Fi(i, a, n, null), i.flags |= 2) : i = Mi(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Bc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Zc(n) : (a = i.cachePool, a === null ? a = Ka() : (s = ka._currentValue, a = a.parent === s ? a : {+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Li(i, a, n, null), i.flags |= 2) : i = Pi(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Bc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Zc(n) : (a = i.cachePool, a === null ? a = qa() : (s = Aa._currentValue, a = a.parent === s ? a : {parent: s,pool: s}), i = {baseLanes: i.baseLanes | n,cachePool: a- }), r.memoizedState = i, r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(e.child, r)) : (jo(t), n = e.child, e = n.sibling, n = Mi(n, {+ }), r.memoizedState = i, r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(e.child, r)) : (Mo(t), n = e.child, e = n.sibling, n = Pi(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);@@ -13743,40 +13743,40 @@ var Df = /* @__PURE__ */ g(((e) => {}, e.mode), t.return = e, e.child = t;}function tl(e, t) {- return e = Ai(22, e, null, t), e.lanes = 0, e;+ return e = Mi(22, e, null, t), e.lanes = 0, e;}function nl(e, t, n) {- return lo(t, e.child, null, n), e = el(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;+ return uo(t, e.child, null, n), e = el(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;}function rl(e, t, n, r, a, o, s, c) {- if (n) return t.flags & 256 ? (jo(t), t.flags &= -257, nl(e, t, c)) : t.memoizedState === null ? (Po(), o = a.fallback, s = t.mode, a = tl({+ if (n) return t.flags & 256 ? (Mo(t), t.flags &= -257, nl(e, t, c)) : t.memoizedState === null ? (Fo(), o = a.fallback, s = t.mode, a = tl({mode: "visible",children: a.children- }, s), o = Fi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, lo(t, e.child, null, c), a = t.child, a.memoizedState = Zc(c), a.childLanes = Qc(e, r, c), t.memoizedState = Xc, Bc(null, a)) : (Po(), t.child = e.child, t.flags |= 128, null);- if (jo(t), vm(o)) {+ }, s), o = Li(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, uo(t, e.child, null, c), a = t.child, a.memoizedState = Zc(c), a.childLanes = Qc(e, r, c), t.memoizedState = Xc, Bc(null, a)) : (Fo(), t.child = e.child, t.flags |= 128, null);+ if (Mo(t), _m(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, fa({+ return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, pa({value: a,source: null,stack: null})), nl(e, t, c);}- if (Pc || ba(e, t, c, !1), r = (c & e.childLanes) !== 0, Pc || r) {- if (wo.current !== null) return nl(e, t, c);- if (r = id, r !== null && (a = gt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ti(e, a), Hd(r, e, a), Nc;- return _m(o) || ef(), nl(e, t, c);+ if (Pc || xa(e, t, c, !1), r = (c & e.childLanes) !== 0, Pc || r) {+ if (To.current !== null) return nl(e, t, c);+ if (r = id, r !== null && (a = vt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Di(e, a), Hd(r, e, a), Nc;+ return gm(o) || ef(), nl(e, t, c);}- return _m(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, na = bm(o.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = el(t, a.children), t.flags |= 134221824, t);+ return gm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ia = ym(o.nextSibling), ra = t, z = !0, aa = null, oa = !1, e !== null && na(t, e), t = el(t, a.children), t.flags |= 134221824, t);}function il(e, t, n) {e.lanes |= t;var r = e.alternate;- r !== null && (r.lanes |= t), va(e.return, t, n);+ r !== null && (r.lanes |= t), ya(e.return, t, n);}function al(e) {for (var t = null; e !== null;) {var n = e.alternate;- n !== null && zo(n) === null && (t = e), e = e.sibling;+ n !== null && Bo(n) === null && (t = e), e = e.sibling;}return t;}@@ -13802,10 +13802,10 @@ var Df = /* @__PURE__ */ g(((e) => {function cl(e, t, n) {var r = t.pendingProps, i = r.revealOrder, a = r.tail;r = r.children;- var o = Io.current;- if (t.flags & 128) return Lo(t, o), null;+ var o = Lo.current;+ if (t.flags & 128) return Ro(t, o), null;var s = !!(o & 2);- if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Lo(t, o), i === "backwards" && e !== null ? (sl(e), Fc(e, t, r, n), sl(e)) : Fc(e, t, r, n), r = ra ? Wi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Ro(t, o), i === "backwards" && e !== null ? (sl(e), Fc(e, t, r, n), sl(e)) : Fc(e, t, r, n), r = z ? Ki : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {if (e.tag === 13) e.memoizedState !== null && il(e, n, t);else if (e.tag === 19) il(e, n, t);else if (e.child !== null) {@@ -13825,7 +13825,7 @@ var Df = /* @__PURE__ */ g(((e) => {break;case "unstable_legacy-backwards":for (n = null, i = t.child, t.child = null; i !== null;) {- if (e = i.alternate, e !== null && zo(e) === null) {+ if (e = i.alternate, e !== null && Bo(e) === null) {t.child = i;break;}@@ -13845,62 +13845,62 @@ var Df = /* @__PURE__ */ g(((e) => {}function ll(e, t, n) {var r = t.pendingProps;- return ga(t, t.type, r.value), Fc(e, t, r.children, n), t.child;+ return _a(t, t.type, r.value), Fc(e, t, r.children, n), t.child;}function ul(e, t, n) {if (e !== null && (t.dependencies = e.dependencies), md |= t.lanes, (n & t.childLanes) === 0) {if (e !== null) {- if (ba(e, t, n, !1), (n & t.childLanes) === 0) return null;+ if (xa(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 = Mi(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = Mi(e, e.pendingProps), n.return = t;+ for (e = t.child, n = Pi(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = Pi(e, e.pendingProps), n.return = t;n.sibling = null;}return t.child;}function dl(e, t) {- return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && xa(e)));+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && Sa(e)));}function fl(e, t, n) {switch (t.tag) {case 3:- we(t, t.stateNode.containerInfo), ga(t, ka, e.memoizedState.cache), ua();+ Ee(t, t.stateNode.containerInfo), _a(t, Aa, e.memoizedState.cache), da();break;case 27:case 5:- Ee(t);+ Oe(t);break;case 4:- we(t, t.stateNode.containerInfo);+ Ee(t, t.stateNode.containerInfo);break;case 10:- ga(t, t.type, t.memoizedProps.value);+ _a(t, t.type, t.memoizedProps.value);break;case 31:- if (t.memoizedState !== null) return t.flags |= 128, Mo(t), null;+ if (t.memoizedState !== null) return t.flags |= 128, No(t), null;break;case 13:var r = t.memoizedState;if (r !== null) {- if (r.dehydrated !== null) return jo(t), t.flags |= 128, null;- r = ba(e, t, n, !1);+ if (r.dehydrated !== null) return Mo(t), t.flags |= 128, null;+ r = xa(e, t, n, !1);var i = t.child.childLanes;- return r || (n & i) !== 0 ? $c(e, t, n) : (jo(t), e = ul(e, t, n), e === null ? null : e.sibling);+ return r || (n & i) !== 0 ? $c(e, t, n) : (Mo(t), e = ul(e, t, n), e === null ? null : e.sibling);}- jo(t);+ Mo(t);break;case 19:if (t.flags & 128) return cl(e, t, n);- if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (ba(e, t, n, !1), (n & t.childLanes) !== 0), i) {+ if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (xa(e, t, n, !1), (n & t.childLanes) !== 0), i) {if (r) return cl(e, t, n);t.flags |= 128;}- if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Lo(t, Io.current), r) break;+ if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Ro(t, Lo.current), r) break;return null;case 22: return t.lanes = 0, zc(e, t, n, t.pendingProps);- case 24: ga(t, ka, e.memoizedState.cache);+ case 24: _a(t, Aa, e.memoizedState.cache);}return ul(e, t, n);}@@ -13911,29 +13911,29 @@ var Df = /* @__PURE__ */ g(((e) => {if (!dl(e, n) && !(t.flags & 128)) return Pc = !1, fl(e, t, n);Pc = !!(e.flags & 131072);}- } else Pc = !1, ra && t.flags & 1048576 && Zi(t, Wi, t.index);+ } else Pc = !1, z && t.flags & 1048576 && $i(t, Ki, t.index);switch (t.lanes = 0, t.tag) {case 16:a: {var r = t.pendingProps;- if (e = $a(t.elementType), t.type = e, typeof e == "function") ji(e) ? (r = Cc(e, r), t.tag = 1, t = Jc(null, t, e, r, n)) : (t.tag = 0, t = Kc(null, t, e, r, n));+ if (e = eo(t.elementType), t.type = e, typeof e == "function") Ni(e) ? (r = Cc(e, r), t.tag = 1, t = Jc(null, t, e, r, n)) : (t.tag = 0, t = Kc(null, t, e, r, n));else {if (e != null) {var a = e.$$typeof;- if (a === ee) {+ if (a === te) {t.tag = 11, t = Ic(null, t, e, r, n);break a;}- if (a === ne) {+ if (a === re) {t.tag = 14, t = Lc(null, t, e, r, n);break a;}- if (a === N) {+ if (a === ee) {t.tag = 10, t.type = e, t = ll(null, t, n);break a;}}- throw t = fe(e) || e, Error(i(306, t, ""));+ throw t = pe(e) || e, Error(i(306, t, ""));}}return t;@@ -13941,12 +13941,12 @@ var Df = /* @__PURE__ */ g(((e) => {case 1: return r = t.type, a = Cc(r, t.pendingProps), Jc(e, t, r, a, n);case 3:a: {- if (we(t, t.stateNode.containerInfo), e === null) throw Error(i(387));+ if (Ee(t, t.stateNode.containerInfo), e === null) throw Error(i(387));r = t.pendingProps;var o = t.memoizedState;- a = o.element, mo(e, t), xo(t, r, null, n);+ a = o.element, ho(e, t), So(t, r, null, n);var s = t.memoizedState;- if (r = s.cache, ga(t, ka, r), r !== o.cache && ya(t, [ka], n, !0), bo(), r = s.element, o.isDehydrated) {+ if (r = s.cache, _a(t, Aa, r), r !== o.cache && ba(t, [Aa], n, !0), xo(), r = s.element, o.isDehydrated) {if (o = {element: r,isDehydrated: !1,@@ -13956,7 +13956,7 @@ var Df = /* @__PURE__ */ g(((e) => {break a;}if (r !== a) {- a = Bi(Error(i(424)), t), fa(a), t = Yc(e, t, r, n);+ a = Hi(Error(i(424)), t), pa(a), t = Yc(e, t, r, n);break a;}switch (e = t.stateNode.containerInfo, e.nodeType) {@@ -13965,9 +13965,9 @@ var Df = /* @__PURE__ */ g(((e) => {break;default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;}- for (na = bm(e.firstChild), ta = t, ra = !0, ia = null, aa = !0, n = uo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;+ for (ia = ym(e.firstChild), ra = t, z = !0, aa = null, oa = !0, n = fo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;} else {- if (ua(), r === a) {+ if (da(), r === a) {t = ul(e, t, n);break a;}@@ -13976,36 +13976,36 @@ var Df = /* @__PURE__ */ g(((e) => {t = t.child;}return t;- case 26: return Gc(e, t), e === null ? (n = Um(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ra || (t.stateNode = wp(t.type, t.pendingProps, Se.current, t)) : t.memoizedState = Um(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;- case 27: return Ee(t), e === null && ra && (r = t.stateNode = Tm(t.type, t.pendingProps, Se.current), ta = t, aa = !0, a = na, Pp(t.type) ? (xm = a, na = bm(r.firstChild)) : na = a), Fc(e, t, t.pendingProps.children, n), Gc(e, t), e === null && (t.flags |= 4194304), t.child;- case 5: return e === null && ra && ((a = r = na) && (r = H(r, t.type, t.pendingProps, aa), r === null ? a = !1 : (t.stateNode = r, ta = t, na = bm(r.firstChild), aa = !1, a = !0)), a || V(t)), Ee(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Tp(a, o) ? r = null : s !== null && Tp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = $o(e, t, ns, null, null, n), J._currentValue = a), Gc(e, t), Fc(e, t, r, n), t.child;- case 6: return e === null && ra && ((e = n = na) && (n = hm(n, t.pendingProps, aa), n === null ? e = !1 : (t.stateNode = n, ta = t, na = null, e = !0)), e || V(t)), null;+ case 26: return Gc(e, t), e === null ? (n = Hm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : z || (t.stateNode = wp(t.type, t.pendingProps, we.current, t)) : t.memoizedState = Hm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;+ case 27: return Oe(t), e === null && z && (r = t.stateNode = wm(t.type, t.pendingProps, we.current), ra = t, oa = !0, a = ia, Pp(t.type) ? (bm = a, ia = ym(r.firstChild)) : ia = a), Fc(e, t, t.pendingProps.children, n), Gc(e, t), e === null && (t.flags |= 4194304), t.child;+ case 5: return e === null && z && ((a = r = ia) && (r = U(r, t.type, t.pendingProps, oa), r === null ? a = !1 : (t.stateNode = r, ra = t, ia = ym(r.firstChild), oa = !1, a = !0)), a || B(t)), Oe(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Tp(a, o) ? r = null : s !== null && Tp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = $o(e, t, ns, null, null, n), fh._currentValue = a), Gc(e, t), Fc(e, t, r, n), t.child;+ case 6: return e === null && z && ((e = n = ia) && (n = mm(n, t.pendingProps, oa), n === null ? e = !1 : (t.stateNode = n, ra = t, ia = null, e = !0)), e || B(t)), null;case 13: return $c(e, t, n);- case 4: return we(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = lo(t, null, r, n) : Fc(e, t, r, n), t.child;+ case 4: return Ee(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = uo(t, null, r, n) : Fc(e, t, r, n), t.child;case 11: return Ic(e, t, t.type, t.pendingProps, n);case 7: return r = t.pendingProps, Gc(e, t), Fc(e, t, r, n), t.child;case 8: return Fc(e, t, t.pendingProps.children, n), t.child;case 12: return Fc(e, t, t.pendingProps.children, n), t.child;case 10: return ll(e, t, n);- case 9: return a = t.type._context, r = t.pendingProps.children, Sa(t), a = Ca(a), r = r(a), t.flags |= 1, Fc(e, t, r, n), t.child;+ case 9: return a = t.type._context, r = t.pendingProps.children, Ca(t), a = wa(a), r = r(a), t.flags |= 1, Fc(e, t, r, n), t.child;case 14: return Lc(e, t, t.type, t.pendingProps, n);case 15: return Rc(e, t, t.type, t.pendingProps, n);case 19: return cl(e, t, n);case 31: return Wc(e, t, n);case 22: return zc(e, t, n, t.pendingProps);- case 24: return Sa(t), r = Ca(ka), e === null ? (a = Wa(), a === null && (a = id, o = Aa(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {+ case 24: return Ca(t), r = wa(Aa), e === null ? (a = Ga(), a === null && (a = id, o = ja(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {parent: r,cache: a- }, po(t), ga(t, ka, a)) : ((e.lanes & n) !== 0 && (mo(e, t), xo(t, null, null, n), bo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ga(t, ka, r), r !== a.cache && ya(t, [ka], n, !0)) : (a = {+ }, mo(t), _a(t, Aa, a)) : ((e.lanes & n) !== 0 && (ho(e, t), So(t, null, null, n), xo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, _a(t, Aa, r), r !== a.cache && ba(t, [Aa], n, !0)) : (a = {parent: r,cache: r- }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ga(t, ka, r))), Fc(e, t, t.pendingProps.children, n), t.child;+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), _a(t, Aa, r))), Fc(e, t, t.pendingProps.children, n), t.child;case 30: return t.stateNode === null && (t.stateNode = {autoName: null,paired: null,clones: null,ref: null- }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : ra && Qi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Gc(e, t), Fc(e, t, r.children, n), t.child;+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : z && ea(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Gc(e, t), Fc(e, t, r.children, n), t.child;case 29: throw t.pendingProps;}throw Error(i(156, t.tag));@@ -14015,26 +14015,26 @@ var Df = /* @__PURE__ */ g(((e) => {}function hl(e, t, n, r, i) {var a;- if ((a = !!(e.mode & 32)) && (a = n === null ? th(t, r) : th(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {+ if ((a = !!(e.mode & 32)) && (a = n === null ? eh(t, r) : eh(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 (Zd()) e.flags |= 8192;- else throw eo = Xa, Ja;+ else throw to = Za, Ya;}} else e.flags &= -16777217;}function gl(e, t) {if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;- else if (e.flags |= 16777216, !nh(t)) {+ else if (e.flags |= 16777216, !th(t)) {if (Zd()) e.flags |= 8192;- else throw eo = Xa, Ja;+ else throw to = Za, Ya;}}function _l(e, t) {- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ut(), e.lanes |= t, vd |= t);+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ft(), e.lanes |= t, vd |= t);}function vl(e, t) {- if (!ra) switch (e.tailMode) {+ if (!z) 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;@@ -14053,7 +14053,7 @@ var Df = /* @__PURE__ */ g(((e) => {}function bl(e, t, n) {var r = t.pendingProps;- switch ($i(t), t.tag) {+ switch (ta(t), t.tag) {case 16:case 15:case 0:@@ -14064,30 +14064,30 @@ var Df = /* @__PURE__ */ g(((e) => {case 9:case 14: return yl(t), null;case 1: return yl(t), null;- case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), _a(ka), Te(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (la(t) ? ml(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, da())), yl(t), null;+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), va(Aa), De(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (ua(t) ? ml(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, fa())), yl(t), null;case 26:var a = t.type, o = t.memoizedState;return e === null ? (ml(t), o === null ? (yl(t), hl(t, a, null, r, n)) : (yl(t), gl(t, o))) : o ? o === e.memoizedState ? (yl(t), t.flags &= -16777217) : (ml(t), yl(t), gl(t, o)) : (e = e.memoizedProps, e !== r && ml(t), yl(t), hl(t, a, e, r, n)), null;case 27:- if (De(t), n = Se.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);+ if (ke(t), n = we.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));return yl(t), t.subtreeFlags &= -33554433, null;}- e = be.current, la(t) ? sa(t, e) : (e = Tm(a, r, n), t.stateNode = e, ml(t));+ e = Se.current, ua(t) ? ca(t, e) : (e = wm(a, r, n), t.stateNode = e, ml(t));}return yl(t), t.subtreeFlags &= -33554433, null;case 5:- if (De(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);+ if (ke(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));return yl(t), t.subtreeFlags &= -33554433, null;}- if (o = be.current, la(t)) sa(t, o);+ if (o = Se.current, ua(t)) ca(t, o);else {- var s = xp(Se.current);+ var s = xp(we.current);switch (o) {case 1:o = s.createElementNS("http://www.w3.org/2000/svg", a);@@ -14111,7 +14111,7 @@ var Df = /* @__PURE__ */ g(((e) => {default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);}}- o[St] = t, o[Ct] = r;+ o[wt] = t, o[Tt] = 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) {@@ -14146,63 +14146,63 @@ var Df = /* @__PURE__ */ g(((e) => {if (e && t.stateNode != null) e.memoizedProps !== r && ml(t);else {if (typeof r != "string" && t.stateNode === null) throw Error(i(166));- if (e = Se.current, la(t)) {- if (e = t.stateNode, n = t.memoizedProps, r = null, a = ta, a !== null) switch (a.tag) {+ if (e = we.current, ua(t)) {+ if (e = t.stateNode, n = t.memoizedProps, r = null, a = ra, a !== null) switch (a.tag) {case 27:case 5: r = a.memoizedProps;}- e[St] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || dp(e.nodeValue, n)), e || V(t, !0);- } else e = xp(e).createTextNode(r), e[St] = t, t.stateNode = e;+ e[wt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || dp(e.nodeValue, n)), e || B(t, !0);+ } else e = xp(e).createTextNode(r), e[wt] = t, t.stateNode = e;}return yl(t), null;case 31:if (n = t.memoizedState, e === null || e.memoizedState !== null) {- if (r = la(t), n !== null) {+ if (r = ua(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[St] = t;- } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ e[wt] = t;+ } else da(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;yl(t), e = !1;- } else n = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;- if (!e) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);+ } else n = fa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;+ if (!e) return t.flags & 256 ? (Io(t), t) : (Io(t), null);if (t.flags & 128) throw Error(i(558));}return yl(t), null;case 13:if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {- if (a = la(t), r !== null && r.dehydrated !== null) {+ if (a = ua(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[St] = t;- } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ a[wt] = t;+ } else da(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;yl(t), a = !1;- } else a = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;- if (!a) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);+ } else a = fa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;+ if (!a) return t.flags & 256 ? (Io(t), t) : (Io(t), null);}- return Fo(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), _l(t, t.updateQueue), yl(t), null);- case 4: return Te(), e === null && tp(t.stateNode.containerInfo), t.flags |= 67108864, yl(t), null;- case 10: return _a(t.type), yl(t), null;+ return Io(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), _l(t, t.updateQueue), yl(t), null);+ case 4: return De(), e === null && tp(t.stateNode.containerInfo), t.flags |= 67108864, yl(t), null;+ case 10: return va(t.type), yl(t), null;case 19:- if (Ro(t), r = t.memoizedState, r === null) return yl(t), null;+ if (zo(t), r = t.memoizedState, r === null) return yl(t), null;if (a = !!(t.flags & 128), o = r.rendering, o === null) {if (a) vl(r, !1);else {if (pd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {- if (o = zo(e), o !== null) {- for (t.flags |= 128, vl(r, !1), e = o.updateQueue, t.updateQueue = e, _l(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Ni(n, e), n = n.sibling;- return Lo(t, Io.current & 1 | 2), ra && Xi(t, r.treeForkCount), t.child;+ if (o = Bo(e), o !== null) {+ for (t.flags |= 128, vl(r, !1), e = o.updateQueue, t.updateQueue = e, _l(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Fi(n, e), n = n.sibling;+ return Ro(t, Lo.current & 1 | 2), z && Qi(t, r.treeForkCount), t.child;}e = e.sibling;}- r.tail !== null && Be() > wd && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);+ r.tail !== null && He() > wd && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);}} else {if (!a) {- if (e = zo(o), e !== null) {- if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, _l(t, e), vl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ra) return yl(t), null;- } else 2 * Be() - r.renderingStartTime > wd && n !== 536870912 && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);+ if (e = Bo(o), e !== null) {+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, _l(t, e), vl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !z) return yl(t), null;+ } else 2 * He() - r.renderingStartTime > wd && n !== 536870912 && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);}r.isBackwards ? (o.sibling = t.child, t.child = o) : (e = r.last, e === null ? t.child = o : e.sibling = o, r.last = o);}@@ -14218,76 +14218,76 @@ var Df = /* @__PURE__ */ g(((e) => {}n = !0;}- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Be(), e.sibling = null, o = Io.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || ra ? Lo(t, o) : (n = o, ye(ko, t), ye(Io, n), Ao === null && (Ao = t)), ra && Xi(t, r.treeForkCount), e;+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = He(), e.sibling = null, o = Lo.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || z ? Ro(t, o) : (n = o, xe(Ao, t), xe(Lo, n), jo === null && (jo = t)), z && Qi(t, r.treeForkCount), e;}return yl(t), null;case 22:- case 23: return Fo(t), Oo(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (yl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : yl(t), n = t.updateQueue, n !== null && _l(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && ve(Ua), null;- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), _a(ka), yl(t), null;+ case 23: return Io(t), ko(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (yl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : yl(t), n = t.updateQueue, n !== null && _l(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && be(Wa), null;+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), va(Aa), yl(t), null;case 25: return null;case 30: return t.flags |= 33554432, yl(t), null;}throw Error(i(156, t.tag));}function xl(e, t) {- switch ($i(t), t.tag) {+ switch (ta(t), t.tag) {case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 3: return _a(ka), Te(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;+ case 3: return va(Aa), De(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;case 26:case 27:- case 5: return De(t), null;+ case 5: return ke(t), null;case 31:if (t.memoizedState !== null) {- if (Fo(t), t.alternate === null) throw Error(i(340));- ua();+ if (Io(t), t.alternate === null) throw Error(i(340));+ da();}return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;case 13:- if (Fo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {+ if (Io(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {if (t.alternate === null) throw Error(i(340));- ua();+ da();}return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 19: return Ro(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 _a(t.type), null;+ case 19: return zo(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 De(), null;+ case 10: return va(t.type), null;case 22:- case 23: return Fo(t), Oo(), e !== null && ve(Ua), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 24: return _a(ka), null;+ case 23: return Io(t), ko(), e !== null && be(Wa), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 24: return va(Aa), null;case 25: return null;default: return null;}}function Sl(e, t) {- switch ($i(t), t.tag) {+ switch (ta(t), t.tag) {case 3:- _a(ka), Te();+ va(Aa), De();break;case 26:case 27:case 5:- De(t);+ ke(t);break;case 4:- Te();+ De();break;case 31:- t.memoizedState !== null && Fo(t);+ t.memoizedState !== null && Io(t);break;case 13:- Fo(t);+ Io(t);break;case 19:- Ro(t);+ zo(t);break;case 10:- _a(t.type);+ va(t.type);break;case 22:case 23:- Fo(t), Oo(), e !== null && ve(Ua);+ Io(t), ko(), e !== null && be(Wa);break;- case 24: _a(ka);+ case 24: va(Aa);}}function Cl(e, t) {@@ -14340,7 +14340,7 @@ var Df = /* @__PURE__ */ g(((e) => {if (t !== null) {var n = e.stateNode;try {- Co(t, n);+ wo(t, n);} catch (t) {Sf(e, e.return, t);}@@ -14365,13 +14365,13 @@ var Df = /* @__PURE__ */ g(((e) => {var r = e.stateNode;break;case 30:- var i = e.stateNode, a = hi(e.memoizedProps, i);+ var i = e.stateNode, a = _i(e.memoizedProps, i);(i.ref === null || i.ref.name !== a) && (i.ref = Kp(a)), r = i.ref;break;case 7:if (e.stateNode === null) {var o = new qp(e);- f(e.child, !1, um, o, void 0, void 0), e.stateNode = o;+ f(e.child, !1, lm, o, void 0, void 0), e.stateNode = o;}r = e.stateNode;break;@@ -14402,13 +14402,13 @@ var Df = /* @__PURE__ */ g(((e) => {}}function kl(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++) fm(e.stateNode, t[n]);+ if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) dm(e.stateNode, t[n]);}function Al(e) {- for (var t = e.return; t !== null && (Nl(t) && fm(e.stateNode, t.stateNode), !Ml(t));) t = t.return;+ for (var t = e.return; t !== null && (Nl(t) && dm(e.stateNode, t.stateNode), !Ml(t));) t = t.return;}function jl(e) {- for (var t = e.return; t !== null && (Nl(t) && pm(e.stateNode, t.stateNode), !Ml(t));) t = t.return;+ for (var t = e.return; t !== null && (Nl(t) && fm(e.stateNode, t.stateNode), !Ml(t));) t = t.return;}function Ml(e) {return e.tag === 5 || e.tag === 3 || e.tag === 27;@@ -14435,7 +14435,7 @@ var Df = /* @__PURE__ */ g(((e) => {function Fl(e, t, n) {try {var r = e.stateNode;- gp(r, e.type, n, t), r[Ct] = t;+ gp(r, e.type, n, t), r[Tt] = t;} catch (t) {Sf(e, e.return, t);}@@ -14458,19 +14458,19 @@ var Df = /* @__PURE__ */ g(((e) => {}function Rl(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 = gn)), kl(e, r), Ut = !0;+ 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 = vn)), kl(e, r), Gt = !0;else if (i !== 4 && (i === 27 && (kl(e, r), r = null, Pp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;}function zl(e, t, n, r) {var i = e.tag;- if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), kl(e, r), Ut = !0;+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), kl(e, r), Gt = !0;else if (i !== 4 && (i === 27 && (kl(e, r), r = null, Pp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (zl(e, t, n, r), e = e.sibling; e !== null;) zl(e, t, n, r), e = e.sibling;}function Bl(e) {var t = e.stateNode, n = e.memoizedProps;try {for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);- mp(t, r, n), t[St] = e, t[Ct] = n;+ mp(t, r, n), t[wt] = e, t[Tt] = n;} catch (t) {Sf(e, e.return, t);}@@ -14511,14 +14511,14 @@ var Df = /* @__PURE__ */ g(((e) => {var t = e.memoizedProps;if (t.name == null || t.name === "auto") throw Error(i(544));var n = t.name;- t = _i(t.default, t.share), t !== "none" && (ql(e, n, t, null, !1) || Yl(e.child, !1));+ t = yi(t.default, t.share), t !== "none" && (ql(e, n, t, null, !1) || Yl(e.child, !1));}e = e.sibling;}}function Zl(e, t) {if (e.tag === 30) {- var n = e.stateNode, r = e.memoizedProps, i = hi(r, n), a = _i(r.default, n.paired ? r.share : r.enter);+ var n = e.stateNode, r = e.memoizedProps, i = _i(r, n), a = yi(r.default, n.paired ? r.share : r.enter);a === "none" ? Xl(e) : ql(e, i, a, null, !1) ? (Xl(e), n.paired || t || Vd(e, r.onEnter)) : Yl(e.child, !1);} else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Zl(e, t), e = e.sibling;else Xl(e);@@ -14533,7 +14533,7 @@ var Df = /* @__PURE__ */ g(((e) => {if (r != null && r !== "auto") {var i = t.get(r);if (i !== void 0) {- var a = _i(n.default, n.share);+ var a = yi(n.default, n.share);if (a !== "none" && (ql(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Vd(e, n.onShare)) : Yl(e.child, !1)), t.delete(r), t.size === 0) break;}}@@ -14546,7 +14546,7 @@ var Df = /* @__PURE__ */ g(((e) => {}function $l(e) {if (e.tag === 30) {- var t = e.memoizedProps, n = hi(t, e.stateNode), r = Hl === null ? void 0 : Hl.get(n), i = _i(t.default, r === void 0 ? t.exit : t.share);+ var t = e.memoizedProps, n = _i(t, e.stateNode), r = Hl === null ? void 0 : Hl.get(n), i = yi(t.default, r === void 0 ? t.exit : t.share);i !== "none" && (ql(e, n, i, null, !1) ? r === void 0 ? Vd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Hl.delete(n), Vd(e, t.onShare)) : Yl(e.child, !1)), Hl !== null && Ql(e);} else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) $l(e), e = e.sibling;else Hl !== null && Ql(e);@@ -14554,8 +14554,8 @@ var Df = /* @__PURE__ */ g(((e) => {function eu(e) {for (e = e.child; e !== null;) {if (e.tag === 30) {- var t = e.memoizedProps, n = hi(t, e.stateNode);- t = _i(t.default, t.update), e.flags &= -5, t !== "none" && ql(e, n, t, e.memoizedState = [], !1);+ var t = e.memoizedProps, n = _i(t, e.stateNode);+ t = yi(t.default, t.update), e.flags &= -5, t !== "none" && ql(e, n, t, e.memoizedState = [], !1);} else e.subtreeFlags & 33554432 && eu(e);e = e.sibling;}@@ -14607,7 +14607,7 @@ var Df = /* @__PURE__ */ g(((e) => {function au(e, t) {for (e = e.child; e !== null;) {if (e.tag === 30) {- var n = e.memoizedProps, r = e.stateNode, i = hi(n, r), a = _i(n.default, n.update);+ var n = e.memoizedProps, r = e.stateNode, i = _i(n, r), a = yi(n.default, n.update);if (t) {r = r.clones;var o = r === null ? null : r.map(Vp);@@ -14621,7 +14621,7 @@ var Df = /* @__PURE__ */ g(((e) => {}var ou = !1, su = !1, cu = !1, lu = !1, uu = typeof WeakSet == "function" ? WeakSet : Set, du = null, fu = !1, pu = !1, mu = !1, hu = !1;function gu(e, t, n) {- if (e = e.containerInfo, yp = xh, e = Wr(e), Gr(e)) {+ if (e = e.containerInfo, yp = xh, e = Kr(e), qr(e)) {if ("selectionStart" in e) var r = {start: e.selectionStart,end: e.selectionEnd@@ -14703,12 +14703,12 @@ var Df = /* @__PURE__ */ g(((e) => {break;case 3:if (a & 1024) {- if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) mm(r);+ if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) pm(r);else if (n === 1) switch (r.nodeName) {case "HEAD":case "HTML":case "BODY":- mm(r);+ pm(r);break;default: r.textContent = "";}@@ -14721,7 +14721,7 @@ var Df = /* @__PURE__ */ g(((e) => {case 4:case 17: break;case 30:- n && r !== null && (n = hi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = _i(a.default, a.update), a !== "none" && ql(r, n, a, r.memoizedState = [], !0));+ n && r !== null && (n = _i(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = yi(a.default, a.update), a !== "none" && ql(r, n, a, r.memoizedState = [], !0));break;default: if (a & 1024) throw Error(i(163));}@@ -14769,7 +14769,7 @@ var Df = /* @__PURE__ */ g(((e) => {case 1: t = n.child.stateNode;}try {- Co(e, t);+ wo(e, t);} catch (e) {Sf(n, n.return, e);}@@ -14787,7 +14787,7 @@ var Df = /* @__PURE__ */ g(((e) => {Ru(e, n), r & 4 && Du(e, n);break;case 13:- Ru(e, n), r & 4 && Ou(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Ef.bind(null, n), ym(e, n))));+ Ru(e, n), r & 4 && Ou(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Ef.bind(null, n), vm(e, n))));break;case 22:if (r = n.memoizedState !== null || ou, !r) {@@ -14825,7 +14825,7 @@ var Df = /* @__PURE__ */ g(((e) => {break;case 6:try {- e.stateNode.nodeValue = t ? "" : e.memoizedProps, Ut = !0;+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, Gt = !0;} catch (t) {Sf(e, e.return, t);}@@ -14864,15 +14864,15 @@ var Df = /* @__PURE__ */ g(((e) => {}function Su(e) {var t = e.alternate;- t !== null && (e.alternate = null, Su(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;+ t !== null && (e.alternate = null, Su(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Mt(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 Cu = null, wu = !1;function Tu(e, t, n) {for (n = n.child; n !== null;) Eu(e, t, n), n = n.sibling;}function Eu(e, t, n) {- if (Xe && typeof Xe.onCommitFiberUnmount == "function") try {- Xe.onCommitFiberUnmount(Ye, n);+ if (Qe && typeof Qe.onCommitFiberUnmount == "function") try {+ Qe.onCommitFiberUnmount(Ze, n);} catch {}switch (n.tag) {case 26:@@ -14881,18 +14881,18 @@ var Df = /* @__PURE__ */ g(((e) => {case 27:su || Ol(n, t), jl(n);var r = Cu, i = wu;- Pp(n.type) && (Cu = n.stateNode, wu = !1), Tu(e, t, n), Em(n.stateNode, n.type, n.memoizedProps), Cu = r, wu = i;+ Pp(n.type) && (Cu = n.stateNode, wu = !1), Tu(e, t, n), Tm(n.stateNode, n.type, n.memoizedProps), Cu = r, wu = i;break;case 5: su || Ol(n, t), jl(n);case 6:if (n.tag === 6 && jl(n), r = Cu, i = wu, Cu = null, Tu(e, t, n), Cu = r, wu = i, Cu !== null) {if (wu) try {- (Cu.nodeType === 9 ? Cu.body : Cu.nodeName === "HTML" ? Cu.ownerDocument.body : Cu).removeChild(n.stateNode), Ut = !0;+ (Cu.nodeType === 9 ? Cu.body : Cu.nodeName === "HTML" ? Cu.ownerDocument.body : Cu).removeChild(n.stateNode), Gt = !0;} catch (e) {Sf(n, t, e);}else try {- Cu.removeChild(n.stateNode), Ut = !0;+ Cu.removeChild(n.stateNode), Gt = !0;} catch (e) {Sf(n, t, e);}@@ -15021,10 +15021,10 @@ var Df = /* @__PURE__ */ g(((e) => {t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;b: switch (t) {case "title":- r = a.getElementsByTagName("title")[0], (!r || r[L] || 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"))), mp(r, t, n), r[St] = e, Ft(r), t = r;+ r = a.getElementsByTagName("title")[0], (!r || r[F] || r[wt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), mp(r, t, n), r[wt] = e, Lt(r), t = r;break a;case "link":- if (o = $m("link", "href", a).get(t + (n.href || ""))) {+ if (o = Qm("link", "href", a).get(t + (n.href || ""))) {for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("href") === (n.href == null || n.href === "" ? null : n.href) && r.getAttribute("rel") === (n.rel == null ? null : n.rel) && r.getAttribute("title") === (n.title == null ? null : n.title) && r.getAttribute("crossorigin") === (n.crossOrigin == null ? null : n.crossOrigin)) {o.splice(s, 1);break b;@@ -15033,7 +15033,7 @@ var Df = /* @__PURE__ */ g(((e) => {r = a.createElement(t), mp(r, t, n), a.head.appendChild(r);break;case "meta":- if (o = $m("meta", "content", a).get(t + (n.content || ""))) {+ if (o = Qm("meta", "content", a).get(t + (n.content || ""))) {for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("content") === (n.content == null ? null : "" + n.content) && r.getAttribute("name") === (n.name == null ? null : n.name) && r.getAttribute("property") === (n.property == null ? null : n.property) && r.getAttribute("http-equiv") === (n.httpEquiv == null ? null : n.httpEquiv) && r.getAttribute("charset") === (n.charSet == null ? null : n.charSet)) {o.splice(s, 1);break b;@@ -15043,13 +15043,13 @@ var Df = /* @__PURE__ */ g(((e) => {break;default: throw Error(i(468, t));}- r[St] = e, Ft(r), t = r;+ r[wt] = e, Lt(r), t = r;}e.stateNode = t;}- } else ou || K(o, e.type, e.stateNode);- } else e.stateNode = Ym(o, n, e.memoizedProps);- } else a === n ? n === null && e.stateNode !== null && Fl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || su || t.parentNode.removeChild(t)) : a.count--, n === null ? ou || K(o, e.type, e.stateNode) : Ym(o, n, e.memoizedProps));+ } else ou || q(o, e.type, e.stateNode);+ } else e.stateNode = Jm(o, n, e.memoizedProps);+ } else a === n ? n === null && e.stateNode !== null && Fl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || su || t.parentNode.removeChild(t)) : a.count--, n === null ? ou || q(o, e.type, e.stateNode) : Jm(o, n, e.memoizedProps));}break;case 27:@@ -15059,7 +15059,7 @@ var Df = /* @__PURE__ */ g(((e) => {if (o = cu, cu = !1, ju(t, e, n), cu = o, Pu(e), a & 512 && (su || r === null || Ol(r, r.return)), e.flags & 32) {t = e.stateNode;try {- cn(t, ""), Ut = !0;+ un(t, ""), Gt = !0;} catch (t) {Sf(e, e.return, t);}@@ -15071,22 +15071,22 @@ var Df = /* @__PURE__ */ g(((e) => {if (e.stateNode === null) throw Error(i(162));t = e.memoizedProps, n = e.stateNode;try {- n.nodeValue = t, Ut = !0;+ n.nodeValue = t, Gt = !0;} catch (t) {Sf(e, e.return, t);}}break;case 3:- if (Ut = !1, G = null, o = Mu, Mu = Am(t.containerInfo), ju(t, e, n), Mu = o, Pu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {+ if (Gt = !1, K = null, o = Mu, Mu = km(t.containerInfo), ju(t, e, n), Mu = o, Pu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {Kh(t.containerInfo);} catch (t) {Sf(e, e.return, t);}- lu && (lu = !1, Fu(e)), Ut = !1;+ lu && (lu = !1, Fu(e)), Gt = !1;break;case 4:- a = cu, cu = ou, r = Wt(), o = Mu, Mu = Am(e.stateNode.containerInfo), ju(t, e, n), Pu(e), Mu = o, Ut && pu && (mu = !0), Ut = r, cu = a;+ a = cu, cu = ou, r = Kt(), o = Mu, Mu = km(e.stateNode.containerInfo), ju(t, e, n), Pu(e), Mu = o, Gt && pu && (mu = !0), Gt = r, cu = a;break;case 12:ju(t, e, n), Pu(e);@@ -15095,7 +15095,7 @@ var Df = /* @__PURE__ */ g(((e) => {ju(t, e, n), Pu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Au(e, t)));break;case 13:- ju(t, e, n), Pu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (Sd = Be()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Au(e, t)));+ ju(t, e, n), Pu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (Sd = He()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Au(e, t)));break;case 22:o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;@@ -15106,7 +15106,7 @@ var Df = /* @__PURE__ */ g(((e) => {ju(t, e, n), Pu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Au(e, t)));break;case 30:- a & 512 && (su || r === null || Ol(r, r.return)), a = Wt(), o = pu, s = (n & 335544064) === n, c = e.memoizedProps, pu = s && _i(c.default, c.update) !== "none", ju(t, e, n), Pu(e), s && r !== null && Ut && (e.flags |= 4), pu = o, Ut = a;+ a & 512 && (su || r === null || Ol(r, r.return)), a = Kt(), o = pu, s = (n & 335544064) === n, c = e.memoizedProps, pu = s && yi(c.default, c.update) !== "none", ju(t, e, n), Pu(e), s && r !== null && Gt && (e.flags |= 4), pu = o, Gt = a;break;case 21: break;case 7: a & 512 && (su || r === null || Ol(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);@@ -15142,7 +15142,7 @@ var Df = /* @__PURE__ */ g(((e) => {break;case 5:var l = n.stateNode;- n.flags & 32 && (cn(l, ""), n.flags &= -33), zl(e, Ll(e), l, s);+ n.flags & 32 && (un(l, ""), n.flags &= -33), zl(e, Ll(e), l, s);break;case 3:case 4:@@ -15216,8 +15216,8 @@ var Df = /* @__PURE__ */ g(((e) => {case 30:r = fu, i = Gl(), fu = !1, Iu(t, e), fu && (e.flags |= 4);var a = e.memoizedProps, o = e.stateNode;- t = hi(a, o), o = hi(n.memoizedProps, o);- var s = _i(a.default, a.update);+ t = _i(a, o), o = _i(n.memoizedProps, o);+ var s = yi(a.default, a.update);s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Kl = 0, t = iu(e, n, t, o, s, a, !0), Kl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Vd(e, e.memoizedProps.onUpdate), Wl = i) : i !== null && (i.push.apply(i, Wl), Wl = i), fu = e.flags & 32 ? !0 : r;break;default: Iu(t, e);@@ -15241,7 +15241,7 @@ var Df = /* @__PURE__ */ g(((e) => {var i = n.stateNode;typeof i.componentWillUnmount == "function" && El(n, n.return, i), zu(n, r);break;- case 27: r & 2 && Em(n.stateNode, n.type, n.memoizedProps);+ case 27: r & 2 && Tm(n.stateNode, n.type, n.memoizedProps);case 5:Ol(n, n.return), n.tag !== 5 && n.tag !== 27 || jl(n), zu(n, r);break;@@ -15282,7 +15282,7 @@ var Df = /* @__PURE__ */ g(((e) => {var c = r.stateNode;try {var l = i.shared.hiddenCallbacks;- if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) So(l[i], c);+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) Co(l[i], c);} catch (e) {Sf(r, r.return, e);}@@ -15297,7 +15297,7 @@ var Df = /* @__PURE__ */ g(((e) => {Al(a);break;case 26:- c = a.stateNode, a.memoizedState !== null || c === null || ou || K(Am(c.ownerDocument), a.type, c), Bu(i, a, n), s && r === null && o & 4 && Pl(a), Dl(a, a.return);+ c = a.stateNode, a.memoizedState !== null || c === null || ou || q(km(c.ownerDocument), a.type, c), Bu(i, a, n), s && r === null && o & 4 && Pl(a), Dl(a, a.return);break;case 12:Bu(i, a, n);@@ -15322,10 +15322,10 @@ var Df = /* @__PURE__ */ g(((e) => {}function Vu(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 && ja(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 && Ma(n));}function Hu(e, t) {- e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && ja(e));+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Ma(e));}function Uu(e, t, n, r) {var i = (n & 335544064) === n;@@ -15346,7 +15346,7 @@ var Df = /* @__PURE__ */ g(((e) => {Uu(e, t, n, r);break;case 3:- Uu(e, t, n, r), i && hu && (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 && ja(a)));+ Uu(e, t, n, r), i && hu && (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 && Ma(a)));break;case 12:if (a & 2048) {@@ -15422,15 +15422,15 @@ var Df = /* @__PURE__ */ g(((e) => {function Yu(e, t, n) {switch (e.tag) {case 26:- Ju(e, t, n), e.flags & qu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && ih(n, e)) : ah(n, Mu, e.memoizedState, e.memoizedProps));+ Ju(e, t, n), e.flags & qu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && rh(n, e)) : ih(n, Mu, e.memoizedState, e.memoizedProps));break;case 5:- Ju(e, t, n), e.flags & qu && (e = e.stateNode, (t & 335544128) === t && ih(n, e));+ Ju(e, t, n), e.flags & qu && (e = e.stateNode, (t & 335544128) === t && rh(n, e));break;case 3:case 4:var r = Mu;- Mu = Am(e.stateNode.containerInfo), Ju(e, t, n), Mu = r;+ Mu = km(e.stateNode.containerInfo), Ju(e, t, n), Mu = r;break;case 22:e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = qu, qu = 16777216, Ju(e, t, n), qu = r) : Ju(e, t, n));@@ -15525,7 +15525,7 @@ var Df = /* @__PURE__ */ g(((e) => {r != null && r.refCount++;}break;- case 24: ja(n.memoizedState.cache);+ case 24: Ma(n.memoizedState.cache);}if (r = n.child, r !== null) r.return = n, du = r;else a: for (n = e; du !== null;) {@@ -15545,37 +15545,37 @@ var Df = /* @__PURE__ */ g(((e) => {}var td = {getCacheForType: function(e) {- var t = Ca(ka), n = t.data.get(e);+ var t = wa(Aa), n = t.data.get(e);return n === void 0 && (n = e(), t.data.set(e, n)), n;},cacheSignal: function() {- return Ca(ka).controller.signal;+ return wa(Aa).controller.signal;}}, nd = typeof WeakMap == "function" ? WeakMap : Map, rd = 0, id = null, ad = null, od = 0, sd = 0, cd = null, ld = !1, ud = !1, dd = !1, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = 0, yd = null, bd = null, xd = !1, Sd = 0, Cd = 0, wd = Infinity, Td = null, Ed = null, Dd = 0, Od = null, kd = null, Ad = 0, jd = 0, Md = null, Nd = null, Pd = null, Fd = null, Id = null, Ld = 0, Rd = null;function zd() {- return rd & 2 && od !== 0 ? od & -od : F.T === null ? yt() : Wf();+ return rd & 2 && od !== 0 ? od & -od : P.T === null ? xt() : Wf();}function Bd() {if (_d === 0) {- if (!(od & 536870912) || ra) {- var e = rt;- rt <<= 1, !(rt & 3932160) && (rt = 262144), _d = e;+ if (!(od & 536870912) || z) {+ var e = at;+ at <<= 1, !(at & 3932160) && (at = 262144), _d = e;} else _d = 536870912;}- return e = ko.current, e !== null && (e.flags |= 32), _d;+ return e = Ao.current, e !== null && (e.flags |= 32), _d;}function Vd(e, t) {if (t != null) {var n = e.stateNode, r = n.ref;- r === null && (r = n.ref = Kp(hi(e.memoizedProps, n))), Fd === null && (Fd = []), Fd.push(t.bind(null, r));+ r === null && (r = n.ref = Kp(_i(e.memoizedProps, n))), Fd === null && (Fd = []), Fd.push(t.bind(null, r));}}function Hd(e, t, n) {- (e === id && (sd === 2 || sd === 9) || e.cancelPendingCommit !== null) && (Yd(e, 0), Kd(e, od, _d, !1)), ft(e, n), (!(rd & 2) || e !== id) && (e === id && (!(rd & 2) && (hd |= n), pd === 4 && Kd(e, od, _d, !1)), If(e));+ (e === id && (sd === 2 || sd === 9) || e.cancelPendingCommit !== null) && (Yd(e, 0), Kd(e, od, _d, !1)), mt(e, n), (!(rd & 2) || e !== id) && (e === id && (!(rd & 2) && (hd |= n), pd === 4 && Kd(e, od, _d, !1)), If(e));}function Ud(e, t, n) {if (rd & 6) throw Error(i(327));- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || st(e, t), a = r ? rf(e, t) : tf(e, t, !0), o = r;+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || lt(e, t), a = r ? rf(e, t) : tf(e, t, !0), o = r;do {if (a === 0) {ud && !r && Kd(e, t, 0, !1);@@ -15625,8 +15625,8 @@ var Df = /* @__PURE__ */ g(((e) => {case 5: break;default: throw Error(i(329));}- if ((t & 62914560) === t && (a = Sd + 300 - Be(), 10 < a)) {- if (Kd(r, t, _d, !ld), ot(r, 0, !0) !== 0) break a;+ if ((t & 62914560) === t && (a = Sd + 300 - He(), 10 < a)) {+ if (Kd(r, t, _d, !ld), ct(r, 0, !0) !== 0) break a;Ad = t, r.timeoutHandle = Op(Wd.bind(null, r, n, bd, Td, xd, t, _d, hd, vd, ld, o, "Throttled", -0, 0), a);break a;}@@ -15647,8 +15647,8 @@ var Df = /* @__PURE__ */ g(((e) => {suspenseyImages: [],waitingForImages: !0,waitingForViewTransition: !1,- unsuspend: gn- }, Hl = null, Yu(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 = lh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? Sd - Be() : (a & 4194048) === a ? Cd - Be() : 0, m = sh(d, m), m !== null)) {+ unsuspend: vn+ }, Hl = null, Yu(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 = ch.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? Sd - He() : (a & 4194048) === a ? Cd - He() : 0, m = oh(d, m), m !== null)) {Ad = a, e.cancelPendingCommit = m(df.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Kd(e, a, o, !l);return;}@@ -15661,7 +15661,7 @@ var Df = /* @__PURE__ */ g(((e) => {var i = n[r], a = i.getSnapshot;i = i.value;try {- if (!Rr(a(), i)) return !1;+ if (!Br(a(), i)) return !1;} catch {return !1;}@@ -15679,12 +15679,12 @@ var Df = /* @__PURE__ */ g(((e) => {return !0;}function Kd(e, t, n, r) {- t = ct(e, t), t &= ~gd, t &= ~hd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;+ t = ut(e, t), t &= ~gd, t &= ~hd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;for (var i = t; 0 < i;) {- var a = 31 - Qe(i), o = 1 << a;+ var a = 31 - et(i), o = 1 << a;r[a] = -1, i &= ~o;}- n !== 0 && mt(e, n, t);+ n !== 0 && gt(e, n, t);}function qd() {return rd & 6 ? !0 : (Lf(0, !1), !1);@@ -15692,32 +15692,32 @@ var Df = /* @__PURE__ */ g(((e) => {function Jd() {if (ad !== null) {if (sd === 0) var e = ad.return;- else e = ad, ha = ma = null, as(e), ro = null, io = 0, e = ad;+ else e = ad, ga = ha = null, as(e), io = null, ao = 0, e = ad;for (; e !== null;) Sl(e.alternate, e), e = e.return;ad = null;}}function Yd(e, t) {var n = e.timeoutHandle;- return n !== -1 && (e.timeoutHandle = -1, kp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Ad = 0, Jd(), id = e, ad = n = Mi(e.current, null), od = t, sd = 0, cd = null, ld = !1, ud = st(e, t), dd = !1, vd = _d = gd = hd = md = pd = 0, bd = yd = null, xd = !1, fd = ct(e, t), Si(), n;+ return n !== -1 && (e.timeoutHandle = -1, kp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Ad = 0, Jd(), id = e, ad = n = Pi(e.current, null), od = t, sd = 0, cd = null, ld = !1, ud = lt(e, t), dd = !1, vd = _d = gd = hd = md = pd = 0, bd = yd = null, xd = !1, fd = ut(e, t), wi(), n;}function Xd(e, t) {- Vo = null, F.H = hc, t === qa || t === Ya ? (t = to(), sd = 3) : t === Ja ? (t = to(), sd = 4) : sd = t === Nc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, cd = t, ad === null && (pd = 1, Dc(e, Bi(t, e.current)));+ V = null, P.H = hc, t === Ja || t === Xa ? (t = no(), sd = 3) : t === Ya ? (t = no(), sd = 4) : sd = t === Nc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, cd = t, ad === null && (pd = 1, Dc(e, Hi(t, e.current)));}function Zd() {- var e = ko.current;- return e === null ? !0 : (od & 4194048) === od ? Ao === null : (od & 62914560) === od || od & 536870912 ? e === Ao : !1;+ var e = Ao.current;+ return e === null ? !0 : (od & 4194048) === od ? jo === null : (od & 62914560) === od || od & 536870912 ? e === jo : !1;}function Qd() {- var e = F.H;- return F.H = hc, e === null ? hc : e;+ var e = P.H;+ return P.H = hc, e === null ? hc : e;}function $d() {- var e = F.A;- return F.A = td, e;+ var e = P.A;+ return P.A = td, e;}function ef() {- pd = 4, ld || (od & 4194048) !== od && ko.current !== null || (ud = !0), !(md & 134217727) && !(hd & 134217727) || id === null || Kd(id, od, _d, !1);+ pd = 4, ld || (od & 4194048) !== od && Ao.current !== null || (ud = !0), !(md & 134217727) && !(hd & 134217727) || id === null || Kd(id, od, _d, !1);}function tf(e, t, n) {var r = rd;@@ -15737,7 +15737,7 @@ var Df = /* @__PURE__ */ g(((e) => {case 2:case 9:case 6:- ko.current === null && (t = !0);+ Ao.current === null && (t = !0);var l = sd;if (sd = 0, cd = null, cf(e, s, c, l), n && ud) {o = 0;@@ -15753,7 +15753,7 @@ var Df = /* @__PURE__ */ g(((e) => {Xd(e, t);}while (1);- return t && e.shellSuspendCounter++, ha = ma = null, rd = r, F.H = i, F.A = a, ad === null && (id = null, od = 0, Si()), o;+ return t && e.shellSuspendCounter++, ga = ha = null, rd = r, P.H = i, P.A = a, ad === null && (id = null, od = 0, wi()), o;}function nf() {for (; ad !== null;) of(ad);@@ -15762,7 +15762,7 @@ var Df = /* @__PURE__ */ g(((e) => {var n = rd;rd |= 2;var r = Qd(), a = $d();- id !== e || od !== t ? (Td = null, wd = Be() + 500, Yd(e, t)) : ud = st(e, t);+ id !== e || od !== t ? (Td = null, wd = He() + 500, Yd(e, t)) : ud = lt(e, t);a: dotry {if (sd !== 0 && ad !== null) {@@ -15774,7 +15774,7 @@ var Df = /* @__PURE__ */ g(((e) => {break;case 2:case 9:- if (Za(o)) {+ if (Qa(o)) {sd = 0, cd = null, sf(t);break;}@@ -15789,7 +15789,7 @@ var Df = /* @__PURE__ */ g(((e) => {sd = 5;break a;case 7:- Za(o) ? (sd = 0, cd = null, sf(t)) : (sd = 0, cd = null, cf(e, t, o, 7));+ Qa(o) ? (sd = 0, cd = null, sf(t)) : (sd = 0, cd = null, cf(e, t, o, 7));break;case 5:var s = null;@@ -15798,7 +15798,7 @@ var Df = /* @__PURE__ */ g(((e) => {case 5:case 27:var c = ad;- if (s ? nh(s) : c.stateNode.complete) {+ if (s ? th(s) : c.stateNode.complete) {sd = 0, cd = null;var l = c.sibling;if (l !== null) ad = l;@@ -15826,10 +15826,10 @@ var Df = /* @__PURE__ */ g(((e) => {Xd(e, t);}while (1);- return ha = ma = null, F.H = r, F.A = a, rd = n, ad === null ? (id = null, od = 0, Si(), pd) : 0;+ return ga = ha = null, P.H = r, P.A = a, rd = n, ad === null ? (id = null, od = 0, wi(), pd) : 0;}function af() {- for (; ad !== null && !Re();) of(ad);+ for (; ad !== null && !Be();) of(ad);}function of(e) {var t = pl(e.alternate, e, fd);@@ -15848,25 +15848,25 @@ var Df = /* @__PURE__ */ g(((e) => {case 5:as(t);var r = t;- r === ta && (ra ? (ca(r), r.tag === 5 && r.stateNode != null && (na = r.stateNode)) : (ca(r), ra = !0));- default: Sl(n, t), t = ad = Ni(t, fd), t = pl(n, t, fd);+ r === ra && (z ? (la(r), r.tag === 5 && r.stateNode != null && (ia = r.stateNode)) : (la(r), z = !0));+ default: Sl(n, t), t = ad = Fi(t, fd), t = pl(n, t, fd);}e.memoizedProps = e.pendingProps, t === null ? lf(e) : ad = t;}function cf(e, t, n, r) {- ha = ma = null, as(t), ro = null, io = 0;+ ga = ha = null, as(t), io = null, ao = 0;var i = t.return;try {if (Mc(e, i, t, n, od)) {- pd = 1, Dc(e, Bi(n, e.current)), ad = null;+ pd = 1, Dc(e, Hi(n, e.current)), ad = null;return;}} catch (t) {if (i !== null) throw ad = i, t;- pd = 1, Dc(e, Bi(n, e.current)), ad = null;+ pd = 1, Dc(e, Hi(n, e.current)), ad = null;return;}- t.flags & 32768 ? (ra || r === 1 ? e = !0 : ud || od & 536870912 ? e = !1 : (ld = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = ko.current, r !== null && r.tag === 13 && (r.flags |= 16384))), uf(t, e)) : lf(t);+ t.flags & 32768 ? (z || r === 1 ? e = !0 : ud || od & 536870912 ? e = !1 : (ld = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Ao.current, r !== null && r.tag === 13 && (r.flags |= 16384))), uf(t, e)) : lf(t);}function lf(e) {var t = e;@@ -15917,14 +15917,14 @@ var Df = /* @__PURE__ */ g(((e) => {}function ff(e, t, n, r, i, a, o) {var s = t.lanes | t.childLanes;- if (jd = s, s |= xi, pt(e, n, s, r, i, a), Fd = null, (n & 335544064) === n ? (Id = Pa(e), r = 10262) : (Id = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, kf(We, function() {+ if (jd = s, s |= Ci, ht(e, n, s, r, i, a), Fd = null, (n & 335544064) === n ? (Id = Fa(e), r = 10262) : (Id = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, kf(Ke, function() {return bf(), null;})) : (e.callbackNode = null, e.callbackPriority = 0), Vl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {- r = F.T, F.T = null, i = I.p, I.p = 2, a = rd, rd |= 4;+ r = P.T, P.T = null, i = he.p, he.p = 2, a = rd, rd |= 4;try {gu(e, t, n);} finally {- rd = a, I.p = i, F.T = r;+ rd = a, he.p = i, P.T = r;}}Dd = 1, Vl ? Pd = Wp(o, e.containerInfo, Id, hf, gf, mf, _f, bf, pf, null, null) : (hf(), gf(), _f());@@ -15943,16 +15943,16 @@ var Df = /* @__PURE__ */ g(((e) => {Dd = 0;var e = Od, t = kd, n = Ad, r = !!(t.flags & 13878);if (t.subtreeFlags & 13878 || r) {- r = F.T, F.T = null;- var i = I.p;- I.p = 2;+ r = P.T, P.T = null;+ var i = he.p;+ he.p = 2;var a = rd;rd |= 4;try {pu = mu = !1, Nu(t, e, n), n = bp;- var o = Wr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;- if (o !== s && s && s.ownerDocument && Ur(s.ownerDocument.documentElement, s)) {- if (c !== null && Gr(s)) {+ var o = Kr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;+ if (o !== s && s && s.ownerDocument && Gr(s.ownerDocument.documentElement, s)) {+ if (c !== null && qr(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 {@@ -15960,7 +15960,7 @@ var Df = /* @__PURE__ */ g(((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 _ = Hr(s, h), v = Hr(s, g);+ var _ = Wr(s, h), v = Wr(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));@@ -15980,7 +15980,7 @@ var Df = /* @__PURE__ */ g(((e) => {}xh = !!yp, bp = yp = null;} finally {- rd = a, I.p = i, F.T = r;+ rd = a, he.p = i, P.T = r;}}e.current = t, Dd = 2;@@ -15991,15 +15991,15 @@ var Df = /* @__PURE__ */ g(((e) => {Dd = 0;var e = Od, t = kd, n = !!(t.flags & 8772);if (t.subtreeFlags & 8772 || n) {- n = F.T, F.T = null;- var r = I.p;- I.p = 2;+ n = P.T, P.T = null;+ var r = he.p;+ he.p = 2;var i = rd;rd |= 4;try {vu(e, t.alternate, t);} finally {- rd = i, I.p = r, F.T = n;+ rd = i, he.p = r, P.T = n;}}Dd = 3;@@ -16009,20 +16009,20 @@ var Df = /* @__PURE__ */ g(((e) => {if (Dd === 4 || Dd === 3) {Dd = 0;var e = Pd;- Pd = null, ze();+ Pd = null, Ve();var t = Od, n = kd, r = Ad, i = Nd, a = (r & 335544064) === r ? 10262 : 10256;- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Dd = 5 : (Dd = 0, kd = Od = null, vf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Ed = null), vt(r), n = n.stateNode, Xe && typeof Xe.onCommitFiberRoot == "function") try {- Xe.onCommitFiberRoot(Ye, n, void 0, (n.current.flags & 128) == 128);+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Dd = 5 : (Dd = 0, kd = Od = null, vf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Ed = null), bt(r), n = n.stateNode, Qe && typeof Qe.onCommitFiberRoot == "function") try {+ Qe.onCommitFiberRoot(Ze, n, void 0, (n.current.flags & 128) == 128);} catch {}if (i !== null) {- n = F.T, a = I.p, I.p = 2, F.T = null;+ n = P.T, a = he.p, he.p = 2, P.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 {- F.T = n, I.p = a;+ P.T = n, he.p = a;}}if (i = Fd, o = Id, Id = null, i !== null && (Fd = 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);@@ -16030,7 +16030,7 @@ var Df = /* @__PURE__ */ g(((e) => {}}function vf(e, t) {- (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, ja(t)));+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Ma(t)));}function yf() {return Pd !== null && (Pd.skipTransition(), Pd = null), hf(), gf(), _f(), bf();@@ -16039,22 +16039,22 @@ var Df = /* @__PURE__ */ g(((e) => {if (Dd !== 5) return !1;var e = Od, t = jd;jd = 0;- var n = vt(Ad), r = F.T, a = I.p;+ var n = bt(Ad), r = P.T, a = he.p;try {- I.p = 32 > n ? 32 : n, F.T = null, n = Md, Md = null;+ he.p = 32 > n ? 32 : n, P.T = null, n = Md, Md = null;var o = Od, s = Ad;if (Dd = 0, kd = Od = null, Ad = 0, rd & 6) throw Error(i(331));var c = rd;- if (rd |= 4, Qu(o.current), Wu(o, o.current, s, n), rd = c, Lf(0, !1), Xe && typeof Xe.onPostCommitFiberRoot == "function") try {- Xe.onPostCommitFiberRoot(Ye, o);+ if (rd |= 4, Qu(o.current), Wu(o, o.current, s, n), rd = c, Lf(0, !1), Qe && typeof Qe.onPostCommitFiberRoot == "function") try {+ Qe.onPostCommitFiberRoot(Ze, o);} catch {}return !0;} finally {- I.p = a, F.T = r, vf(e, t);+ he.p = a, P.T = r, vf(e, t);}}function xf(e, t, n) {- t = Bi(n, t), t = kc(e.stateNode, t, 2), e = go(e, t, 2), e !== null && (ft(e, 2), If(e));+ t = Hi(n, t), t = kc(e.stateNode, t, 2), e = _o(e, t, 2), e !== null && (mt(e, 2), If(e));}function Sf(e, t, n) {if (e.tag === 3) xf(e, e, n);@@ -16066,7 +16066,7 @@ var Df = /* @__PURE__ */ g(((e) => {if (t.tag === 1) {var r = t.stateNode;if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Ed === null || !Ed.has(r))) {- e = Bi(n, e), n = Ac(2), r = go(t, n, 2), r !== null && (jc(n, r, t, e), ft(r, 2), If(r));+ e = Hi(n, e), n = Ac(2), r = _o(t, n, 2), r !== null && (jc(n, r, t, e), mt(r, 2), If(r));break;}}@@ -16084,10 +16084,10 @@ var Df = /* @__PURE__ */ g(((e) => {}function wf(e, t, n) {var r = e.pingCache;- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, id === e && (od & n) === n && (pd === 4 || pd === 3 && (od & 62914560) === od && 300 > Be() - Sd ? rd & 2 ? gd |= n : Yd(e, 0) : gd |= n, vd === od && (vd = 0)), If(e);+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, id === e && (od & n) === n && (pd === 4 || pd === 3 && (od & 62914560) === od && 300 > He() - Sd ? rd & 2 ? gd |= n : Yd(e, 0) : gd |= n, vd === od && (vd = 0)), If(e);}function Tf(e, t) {- t === 0 && (t = ut()), e = Ti(e, t), e !== null && (ft(e, t), If(e));+ t === 0 && (t = ft()), e = Di(e, t), e !== null && (mt(e, t), If(e));}function Ef(e) {var t = e.memoizedState, n = 0;@@ -16112,7 +16112,7 @@ var Df = /* @__PURE__ */ g(((e) => {r !== null && r.delete(t), Tf(e, n);}function kf(e, t) {- return Ie(e, t);+ return Re(e, t);}var Af = null, jf = null, Mf = !1, Nf = !1, Pf = !1, Ff = 0;function If(e) {@@ -16129,10 +16129,10 @@ var Df = /* @__PURE__ */ g(((e) => {if (i === 0) var a = 0;else {var o = r.suspendedLanes, s = r.pingedLanes;- a = (1 << 31 - Qe(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;+ a = (1 << 31 - et(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;}a !== 0 && (n = !0, Hf(r, a));- } else a = od, a = ot(r, r === id ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || st(r, a) || (n = !0, Hf(r, a));+ } else a = od, a = ct(r, r === id ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || lt(r, a) || (n = !0, Hf(r, a));}r = r.next;}@@ -16147,7 +16147,7 @@ var Df = /* @__PURE__ */ g(((e) => {Nf = Mf = !1;var e = 0;Ff !== 0 && Dp() && (e = Ff);- for (var t = Be(), n = null, r = Af; r !== null;) {+ for (var t = He(), n = null, r = Af; r !== null;) {var i = r.next, a = Bf(r, t);a === 0 ? (r.next = null, n === null ? Af = i : n.next = i, i === null && (jf = n)) : (n = r, (e !== 0 || a & 3) && (Nf = !0)), r = i;}@@ -16155,35 +16155,35 @@ var Df = /* @__PURE__ */ g(((e) => {}function Bf(e, t) {for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {- 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;+ var o = 31 - et(a), s = 1 << o, c = i[o];+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = dt(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;}- if (t = id, n = od, n = ot(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (sd === 2 || sd === 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 = id, n = od, n = ct(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (sd === 2 || sd === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && ze(r), e.callbackNode = null, e.callbackPriority = 0;+ if (!(n & 3) || lt(e, n)) {if (t = n & -n, t === e.callbackPriority) return t;- switch (r !== null && Le(r), vt(n)) {+ switch (r !== null && ze(r), bt(n)) {case 2:case 8:- n = Ue;+ n = Ge;break;case 32:- n = We;+ n = Ke;break;case 268435456:- n = Ke;+ n = Je;break;- default: n = We;+ default: n = Ke;}- return r = Vf.bind(null, e), n = Ie(n, r), e.callbackPriority = t, e.callbackNode = n, t;+ return r = Vf.bind(null, e), n = Re(n, r), e.callbackPriority = t, e.callbackNode = n, t;}- return r !== null && r !== null && Le(r), e.callbackPriority = 2, e.callbackNode = null, 2;+ return r !== null && r !== null && ze(r), e.callbackPriority = 2, e.callbackNode = null, 2;}function Vf(e, t) {if (Dd !== 0 && Dd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;var n = e.callbackNode;if (yf() && e.callbackNode !== n) return null;var r = od;- return r = ot(e, e === id ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Ud(e, r, t), Bf(e, Be()), e.callbackNode != null && e.callbackNode === n ? Vf.bind(null, e) : null);+ return r = ct(e, e === id ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Ud(e, r, t), Bf(e, He()), e.callbackNode != null && e.callbackNode === n ? Vf.bind(null, e) : null);}function Hf(e, t) {if (yf()) return null;@@ -16191,24 +16191,24 @@ var Df = /* @__PURE__ */ g(((e) => {}function Uf() {Mp(function() {- rd & 6 ? Ie(He, Rf) : zf();+ rd & 6 ? Re(We, Rf) : zf();});}function Wf() {if (Ff === 0) {- var e = La;- e === 0 && (e = nt, nt <<= 1, !(nt & 261888) && (nt = 256)), Ff = e;+ var e = Ra;+ e === 0 && (e = it, it <<= 1, !(it & 261888) && (it = 256)), Ff = e;}return Ff;}function Gf(e) {- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : hn(e);+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : _n(e);}function Kf(e, t, n, r, i) {if (t === "submit" && n && n.stateNode === i) {- var a = Gf((i[Ct] || null).action), o = r.submitter;- o && (t = (t = o[Ct] || null) ? Gf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));- var s = new Ln("action", "action", null, r, i);+ var a = Gf((i[Tt] || null).action), o = r.submitter;+ o && (t = (t = o[Tt] || null) ? Gf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));+ var s = new zn("action", "action", null, r, i);e.push({event: s,listeners: [{@@ -16236,16 +16236,16 @@ var Df = /* @__PURE__ */ g(((e) => {});}}- for (var qf = 0; qf < fi.length; qf++) {- var Jf = fi[qf];- pi(Jf.toLowerCase(), "on" + (Jf[0].toUpperCase() + Jf.slice(1)));+ for (var qf = 0; qf < mi.length; qf++) {+ var Jf = mi[qf];+ hi(Jf.toLowerCase(), "on" + (Jf[0].toUpperCase() + Jf.slice(1)));}- pi(ii, "onAnimationEnd"), pi(ai, "onAnimationIteration"), pi(oi, "onAnimationStart"), pi("dblclick", "onDoubleClick"), pi("focusin", "onFocus"), pi("focusout", "onBlur"), pi(si, "onTransitionRun"), pi(ci, "onTransitionStart"), pi(li, "onTransitionCancel"), pi(ui, "onTransitionEnd"), z("onMouseEnter", ["mouseout", "mouseover"]), z("onMouseLeave", ["mouseout", "mouseover"]), z("onPointerEnter", ["pointerout", "pointerover"]), z("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", [+ hi(oi, "onAnimationEnd"), hi(si, "onAnimationIteration"), hi(ci, "onAnimationStart"), hi("dblclick", "onDoubleClick"), hi("focusin", "onFocus"), hi("focusout", "onBlur"), hi(li, "onTransitionRun"), hi(ui, "onTransitionStart"), hi(di, "onTransitionCancel"), hi(fi, "onTransitionEnd"), L("onMouseEnter", ["mouseout", "mouseover"]), L("onMouseLeave", ["mouseout", "mouseover"]), L("onPointerEnter", ["pointerout", "pointerover"]), L("onPointerLeave", ["pointerout", "pointerover"]), Bt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Bt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Bt("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(" "));+ ]), Bt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Bt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Bt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yf = "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(" "), Xf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yf));function Zf(e, t) {t = !!(t & 4);@@ -16261,7 +16261,7 @@ var Df = /* @__PURE__ */ g(((e) => {try {a(i);} catch (e) {- vi(e);+ bi(e);}i.currentTarget = null, a = c;}@@ -16271,7 +16271,7 @@ var Df = /* @__PURE__ */ g(((e) => {try {a(i);} catch (e) {- vi(e);+ bi(e);}i.currentTarget = null, a = c;}@@ -16279,8 +16279,8 @@ var Df = /* @__PURE__ */ g(((e) => {}}function Qf(e, t) {- var n = t[Tt];- n === void 0 && (n = t[Tt] = /* @__PURE__ */ new Set());+ var n = t[Dt];+ n === void 0 && (n = t[Dt] = /* @__PURE__ */ new Set());var r = e + "__bubble";n.has(r) || (np(t, e, 2, !1), n.add(r));}@@ -16291,7 +16291,7 @@ var Df = /* @__PURE__ */ g(((e) => {var ep = "_reactListening" + Math.random().toString(36).slice(2);function tp(e) {if (!e[ep]) {- e[ep] = !0, Lt.forEach(function(t) {+ e[ep] = !0, zt.forEach(function(t) {t !== "selectionchange" && (Xf.has(t) || $f(t, !1, e), $f(t, !0, e));});var t = e.nodeType === 9 ? e : e.ownerDocument;@@ -16308,7 +16308,7 @@ var Df = /* @__PURE__ */ g(((e) => {break;default: i = wh;}- n = i.bind(null, t, n, e), i = void 0, !En || 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, !On || 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 });@@ -16327,7 +16327,7 @@ var Df = /* @__PURE__ */ g(((e) => {s = s.return;}for (; c !== null;) {- if (s = jt(c), s === null) return;+ if (s = Nt(c), s === null) return;if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {r = a = s;continue a;@@ -16337,27 +16337,27 @@ var Df = /* @__PURE__ */ g(((e) => {}r = r.return;}- Cn(function() {- var r = a, i = vn(n), s = [];+ Tn(function() {+ var r = a, i = bn(n), s = [];a: {- var c = di.get(e);+ var c = pi.get(e);if (c !== void 0) {- var l = Ln, u = e;+ var l = zn, u = e;switch (e) {- case "keypress": if (Mn(n) === 0) break a;+ case "keypress": if (Pn(n) === 0) break a;case "keydown":case "keyup":- l = tr;+ l = rr;break;case "focusin":- u = "focus", l = Kn;+ u = "focus", l = Jn;break;case "focusout":- u = "blur", l = Kn;+ u = "blur", l = Jn;break;case "beforeblur":case "afterblur":- l = Kn;+ l = Jn;break;case "click": if (n.button === 2) break a;case "auxclick":@@ -16368,7 +16368,7 @@ var Df = /* @__PURE__ */ g(((e) => {case "mouseout":case "mouseover":case "contextmenu":- l = Wn;+ l = Kn;break;case "drag":case "dragend":@@ -16378,33 +16378,33 @@ var Df = /* @__PURE__ */ g(((e) => {case "dragover":case "dragstart":case "drop":- l = Gn;+ l = qn;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":- l = ir;+ l = or;break;- case ii:- case ai:case oi:- l = qn;+ case si:+ case ci:+ l = Yn;break;- case ui:- l = ar;+ case fi:+ l = sr;break;case "scroll":case "scrollend":- l = zn;+ l = Vn;break;case "wheel":- l = or;+ l = cr;break;case "copy":case "cut":case "paste":- l = Jn;+ l = Xn;break;case "gotpointercapture":case "lostpointercapture":@@ -16414,19 +16414,19 @@ var Df = /* @__PURE__ */ g(((e) => {case "pointerout":case "pointerover":case "pointerup":- l = nr;+ l = ir;break;case "submit":- l = rr;+ l = ar;break;case "toggle":- case "beforetoggle": l = sr;+ case "beforetoggle": l = lr;}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 = wn(m, p), g != null && d.push(ip(m, g, h))), f) break;+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = En(m, p), g != null && d.push(ip(m, g, h))), f) break;m = m.return;}0 < d.length && (c = new l(c, u, null, n, i), s.push({@@ -16437,45 +16437,45 @@ var Df = /* @__PURE__ */ g(((e) => {}if (!(t & 7)) {a: {- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== _n && (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 = Wn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = nr, 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, op) : null, c !== null && sp(s, u, c, d, !1), l !== null && f !== null && sp(s, f, l, d, !0)));+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== yn && (u = n.relatedTarget || n.fromElement) && (Nt(u) || u[Et])) 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 ? Nt(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 = Kn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = ir, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Ft(c), h = l == null ? u : Ft(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Nt(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, op) : null, c !== null && sp(s, u, c, d, !1), l !== null && f !== null && sp(s, f, l, d, !0)));}a: {- if (c = r ? Nt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Er;- else if (xr(c)) {- if (Dr) _ = Ir;+ if (c = r ? Ft(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Or;+ else if (Cr(c)) {+ if (kr) _ = Rr;else {- _ = Pr;- var v = Nr;+ _ = Ir;+ var v = Fr;}- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && fn(r.elementType) && (_ = Er) : _ = Fr;+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && mn(r.elementType) && (_ = Or) : _ = Lr;if (_ &&= _(e, r)) {- Sr(s, _, n, i);+ wr(s, _, n, i);break a;}v && v(e, c, r);}- switch (v = r ? Nt(r) : window, e) {+ switch (v = r ? Ft(r) : window, e) {case "focusin":- (xr(v) || v.contentEditable === "true") && (qr = v, Jr = r, Yr = null);+ (Cr(v) || v.contentEditable === "true") && (Yr = v, Xr = r, Zr = null);break;case "focusout":- Yr = Jr = qr = null;+ Zr = Xr = Yr = null;break;case "mousedown":- Zr = !0;+ $r = !0;break;case "contextmenu":case "mouseup":case "dragend":- Zr = !1, Qr(s, n, i);+ $r = !1, ei(s, n, i);break;- case "selectionchange": if (Kr) break;+ case "selectionchange": if (Jr) break;case "keydown":- case "keyup": Qr(s, n, i);+ case "keyup": ei(s, n, i);}var y;- if (lr) b: {+ if (dr) b: {switch (e) {case "compositionstart":var b = "onCompositionStart";@@ -16489,11 +16489,11 @@ var Df = /* @__PURE__ */ g(((e) => {}b = void 0;}- else _r ? hr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");- b && (fr && n.locale !== "ko" && (_r || b !== "onCompositionStart" ? b === "onCompositionEnd" && _r && (y = jn()) : (On = i, kn = "value" in On ? On.value : On.textContent, _r = !0)), v = ap(r, b), 0 < v.length && (b = new Yn(b, e, null, n, i), s.push({+ else yr ? _r(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");+ b && (mr && n.locale !== "ko" && (yr || b !== "onCompositionStart" ? b === "onCompositionEnd" && yr && (y = Nn()) : (An = i, jn = "value" in An ? An.value : An.textContent, yr = !0)), v = ap(r, b), 0 < v.length && (b = new Zn(b, e, null, n, i), s.push({event: b,listeners: v- }), y ? b.data = y : (y = gr(n), y !== null && (b.data = y)))), (y = dr ? vr(e, n) : yr(e, n)) && (b = ap(r, "onBeforeInput"), 0 < b.length && (v = new Yn("onBeforeInput", "beforeinput", null, n, i), s.push({+ }), y ? b.data = y : (y = vr(n), y !== null && (b.data = y)))), (y = pr ? br(e, n) : xr(e, n)) && (b = ap(r, "onBeforeInput"), 0 < b.length && (v = new Zn("onBeforeInput", "beforeinput", null, n, i), s.push({event: v,listeners: b}), v.data = y)), Kf(s, e, r, n, i);@@ -16511,7 +16511,7 @@ var Df = /* @__PURE__ */ g(((e) => {function ap(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 = wn(e, n), i != null && r.unshift(ip(e, i, a)), i = wn(e, t), i != null && r.push(ip(e, i, a))), e.tag === 3) return r;+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = En(e, n), i != null && r.unshift(ip(e, i, a)), i = En(e, t), i != null && r.push(ip(e, i, a))), e.tag === 3) return r;e = e.return;}return [];@@ -16527,7 +16527,7 @@ var Df = /* @__PURE__ */ g(((e) => {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 = wn(n, a), l != null && o.unshift(ip(n, l, c))) : i || (l = wn(n, a), l != null && o.push(ip(n, l, c)))), n = n.return;+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = En(n, a), l != null && o.unshift(ip(n, l, c))) : i || (l = En(n, a), l != null && o.push(ip(n, l, c)))), n = n.return;}o.length !== 0 && e.push({event: t,@@ -16544,28 +16544,28 @@ var Df = /* @__PURE__ */ g(((e) => {function fp(e, t, n, r, a, o) {switch (n) {case "children":- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || cn(e, r);- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && cn(e, "" + r);+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || un(e, r);+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && un(e, "" + r);else return;break;case "className":- Kt(e, "class", r);+ Jt(e, "class", r);break;case "tabIndex":- Kt(e, "tabindex", r);+ Jt(e, "tabindex", r);break;case "dir":case "role":case "viewBox":case "width":case "height":- Kt(e, n, r);+ Jt(e, n, r);break;case "style":- dn(e, r, o);+ pn(e, r, o);return;case "data": if (t !== "object") {- Kt(e, "data", r);+ Jt(e, "data", r);break;}case "src":@@ -16578,7 +16578,7 @@ var Df = /* @__PURE__ */ g(((e) => {e.removeAttribute(n);break;}- r = hn(r), e.setAttribute(n, r);+ r = _n(r), e.setAttribute(n, r);break;case "action":case "formAction":@@ -16590,10 +16590,10 @@ var Df = /* @__PURE__ */ g(((e) => {e.removeAttribute(n);break;}- r = hn(r), e.setAttribute(n, r);+ r = _n(r), e.setAttribute(n, r);break;case "onClick":- r != null && (e.onclick = gn);+ r != null && (e.onclick = vn);return;case "onScroll":r != null && Qf("scroll", e);@@ -16628,7 +16628,7 @@ var Df = /* @__PURE__ */ g(((e) => {e.removeAttribute("xlink:href");break;}- n = hn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);+ n = _n(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);break;case "contentEditable":case "spellCheck":@@ -16681,49 +16681,49 @@ var Df = /* @__PURE__ */ g(((e) => {r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);break;case "popover":- Qf("beforetoggle", e), Qf("toggle", e), Gt(e, "popover", r);+ Qf("beforetoggle", e), Qf("toggle", e), qt(e, "popover", r);break;case "xlinkActuate":- qt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);break;case "xlinkArcrole":- qt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);break;case "xlinkRole":- qt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);break;case "xlinkShow":- qt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);break;case "xlinkTitle":- qt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);break;case "xlinkType":- qt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);+ Yt(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);+ Yt(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);+ Yt(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);+ Yt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);break;case "is":- Gt(e, "is", r);+ qt(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 = pn.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 = hn.get(n) || n, qt(e, n, r);else return;}- Ut = !0;+ Gt = !0;}function pp(e, t, n, r, a, o) {switch (n) {case "style":- dn(e, r, o);+ pn(e, r, o);return;case "dangerouslySetInnerHTML":if (r != null) {@@ -16735,8 +16735,8 @@ var Df = /* @__PURE__ */ g(((e) => {}break;case "children":- if (typeof r == "string") cn(e, r);- else if (typeof r == "number" || typeof r == "bigint") cn(e, "" + r);+ if (typeof r == "string") un(e, r);+ else if (typeof r == "number" || typeof r == "bigint") un(e, "" + r);else return;break;case "onScroll":@@ -16746,7 +16746,7 @@ var Df = /* @__PURE__ */ g(((e) => {r != null && Qf("scrollend", e);return;case "onClick":- r != null && (e.onclick = gn);+ r != null && (e.onclick = vn);return;case "suppressContentEditableWarning":case "suppressHydrationWarning":@@ -16755,16 +16755,16 @@ var Df = /* @__PURE__ */ g(((e) => {case "innerText":case "textContent": return;default:- if (!R.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")) {+ if (!I.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[Tt] || 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;}- Ut = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Gt(e, n, r);+ Gt = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : qt(e, n, r);}return;}- Ut = !0;+ Gt = !0;}function mp(e, t, n) {switch (t) {@@ -16826,7 +16826,7 @@ var Df = /* @__PURE__ */ g(((e) => {default: fp(e, t, r, d, n, null);}}- nn(e, o, c, l, u, s, a, !1);+ an(e, o, c, l, u, s, a, !1);return;case "select":for (a in Qf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {@@ -16839,7 +16839,7 @@ var Df = /* @__PURE__ */ g(((e) => {case "multiple": r = c;default: fp(e, t, a, c, n, null);}- t = o, n = s, e.multiple = !!r, t == null ? n != null && an(e, !!r, n, !0) : an(e, !!r, t, !1);+ t = o, n = s, e.multiple = !!r, t == null ? n != null && sn(e, !!r, n, !0) : sn(e, !!r, t, !1);return;case "textarea":for (s in Qf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {@@ -16857,7 +16857,7 @@ var Df = /* @__PURE__ */ g(((e) => {break;default: fp(e, t, s, c, n, null);}- sn(e, r, a, o);+ ln(e, r, a, o);return;case "option":for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {@@ -16904,7 +16904,7 @@ var Df = /* @__PURE__ */ g(((e) => {default: fp(e, t, u, r, n, null);}return;- default: if (fn(t)) {+ default: if (mn(t)) {for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && pp(e, t, d, r, n, void 0));return;}@@ -16937,22 +16937,22 @@ var Df = /* @__PURE__ */ g(((e) => {var m = r[p];if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {case "type":- m !== f && (Ut = !0), o = m;+ m !== f && (Gt = !0), o = m;break;case "name":- m !== f && (Ut = !0), a = m;+ m !== f && (Gt = !0), a = m;break;case "checked":- m !== f && (Ut = !0), u = m;+ m !== f && (Gt = !0), u = m;break;case "defaultChecked":- m !== f && (Ut = !0), d = m;+ m !== f && (Gt = !0), d = m;break;case "value":- m !== f && (Ut = !0), s = m;+ m !== f && (Gt = !0), s = m;break;case "defaultValue":- m !== f && (Ut = !0), c = m;+ m !== f && (Gt = !0), c = m;break;case "children":case "dangerouslySetInnerHTML":@@ -16961,7 +16961,7 @@ var Df = /* @__PURE__ */ g(((e) => {default: m !== f && fp(e, t, p, m, r, f);}}- tn(e, s, c, l, u, d, o, a);+ rn(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) {@@ -16971,15 +16971,15 @@ var Df = /* @__PURE__ */ g(((e) => {}for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {case "value":- o !== l && (Ut = !0), p = o;+ o !== l && (Gt = !0), p = o;break;case "defaultValue":- o !== l && (Ut = !0), c = o;+ o !== l && (Gt = !0), c = o;break;- case "multiple": o !== l && (Ut = !0), s = o;+ case "multiple": o !== l && (Gt = !0), s = o;default: o !== l && fp(e, t, a, o, r, l);}- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? an(e, !!n, n ? [] : "", !1) : an(e, !!n, t, !0)) : an(e, !!n, p, !1);+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? sn(e, !!n, n ? [] : "", !1) : sn(e, !!n, t, !0)) : sn(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) {@@ -16989,10 +16989,10 @@ var Df = /* @__PURE__ */ g(((e) => {}for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {case "value":- a !== o && (Ut = !0), p = a;+ a !== o && (Gt = !0), p = a;break;case "defaultValue":- a !== o && (Ut = !0), m = a;+ a !== o && (Gt = !0), m = a;break;case "children": break;case "dangerouslySetInnerHTML":@@ -17000,7 +17000,7 @@ var Df = /* @__PURE__ */ g(((e) => {break;default: a !== o && fp(e, t, s, a, r, o);}- on(e, p, m);+ cn(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) {@@ -17011,7 +17011,7 @@ var Df = /* @__PURE__ */ g(((e) => {}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 && (Ut = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";+ p !== m && (Gt = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";break;default: fp(e, t, l, p, r, m);}@@ -17040,7 +17040,7 @@ var Df = /* @__PURE__ */ g(((e) => {default: fp(e, t, u, p, r, m);}return;- default: if (fn(t)) {+ default: if (mn(t)) {for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && pp(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 || pp(e, t, d, p, r, m);return;@@ -17099,7 +17099,7 @@ var Df = /* @__PURE__ */ g(((e) => {return e === 1 && t === "foreignObject" ? 0 : e;}function wp(e, t, n, r) {- return n = xp(n).createElement(e), n[St] = r, n[Ct] = t, mp(n, e, t), Ft(n), n;+ return n = xp(n).createElement(e), n[wt] = r, n[Tt] = t, mp(n, e, t), Lt(n), n;}function Tp(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;@@ -17132,14 +17132,14 @@ var Df = /* @__PURE__ */ g(((e) => {}r--;} else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;- else if (n === "html") Dm(e.ownerDocument.documentElement);+ else if (n === "html") Em(e.ownerDocument.documentElement);else if (n === "head") {- n = e.ownerDocument.head, Dm(n);+ n = e.ownerDocument.head, Em(n);for (var a = n.firstChild; a;) {var o = a.nextSibling, s = a.nodeName;- a[L] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;+ a[F] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;}- } else n === "body" && Dm(e.ownerDocument.body);+ } else n === "body" && Em(e.ownerDocument.body);}n = i;} while (n);@@ -17210,7 +17210,7 @@ var Df = /* @__PURE__ */ g(((e) => {if (!f.complete) {var p = f.getBoundingClientRect();if (0 < p.bottom && 0 < p.right && p.top < t.innerHeight && p.left < t.innerWidth) {- if (u += rh(f), u > oh) {+ if (u += nh(f), u > ah) {s.length = o;break;}@@ -17367,7 +17367,7 @@ var Df = /* @__PURE__ */ g(((e) => {f(this._fragmentFiber.child, !0, $p, e, void 0, void 0);};function $p(e, t) {- return e.tag !== 6 && (e = _(e), Cm(e, t));+ return e.tag !== 6 && (e = _(e), Sm(e, t));}qp.prototype.focusLast = function(e) {var t = [];@@ -17393,27 +17393,27 @@ var Df = /* @__PURE__ */ g(((e) => {qp.prototype.unobserveUsing = function(e) {var t = this._observers;if (t !== null && t.has(e)) {- t.delete(e), f(this._fragmentFiber.child, !1, rm, e, void 0, void 0);- for (var n = t = 0; n < im.length; n++) {- var r = im[n];- r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : im[t++] = r;+ t.delete(e), f(this._fragmentFiber.child, !1, H, e, void 0, void 0);+ for (var n = t = 0; n < rm.length; n++) {+ var r = rm[n];+ r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : rm[t++] = r;}- im.length = t;+ rm.length = t;}};- function rm(e, t) {+ function H(e, t) {return e.tag !== 6 && (e = _(e), t.unobserve(e), !1);}- var im = [], am = !1;- function om(e, t, n) {- im.push({+ var rm = [], im = !1;+ function am(e, t, n) {+ rm.push({fragmentInstance: e,observer: t,instance: n- }), am || (am = !0, wm(function() {- am = !1;- var e = im;- im = [];+ }), im || (im = !0, Cm(function() {+ im = !1;+ var e = rm;+ rm = [];for (var t = 0; t < e.length; t++) {var n = e[t];n.observer.unobserve(n.instance);@@ -17422,9 +17422,9 @@ var Df = /* @__PURE__ */ g(((e) => {}qp.prototype.getClientRects = function() {var e = [];- return f(this._fragmentFiber.child, !1, sm, e, void 0, void 0), e;+ return f(this._fragmentFiber.child, !1, om, e, void 0, void 0), e;};- function sm(e, t) {+ function om(e, t) {if (e.tag === 6) {e = e.stateNode;var n = e.ownerDocument.createRange();@@ -17465,10 +17465,10 @@ var Df = /* @__PURE__ */ g(((e) => {if (a == null) return Node.DOCUMENT_POSITION_DISCONNECTED;r = a.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_CONTAINED_BY, a = a.compareDocumentPosition(i) & Node.DOCUMENT_POSITION_CONTAINED_BY;var o = t.compareDocumentPosition(e), s = i.compareDocumentPosition(e), c = o & Node.DOCUMENT_POSITION_CONTAINED_BY || s & Node.DOCUMENT_POSITION_CONTAINED_BY;- return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || cm(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;+ 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 || sm(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;};- function cm(e, t, n, r, i) {- var a = jt(i);+ function sm(e, t, n, r, i) {+ var a = Nt(i);if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {if (n = !!a) a: {for (; a !== null;) {@@ -17498,7 +17498,7 @@ var Df = /* @__PURE__ */ g(((e) => {}return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = w(n, a, C), t === null ? t = !1 : (f(t, !0, x, a, n), a = v, v = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = w(r, a, C), t === null ? t = !1 : (f(t, !0, S, a, r), a = v, y = v = null, t = a !== null)), t) : !1;}- function lm(e, t) {+ function cm(e, t) {var n = e.ownerDocument.createRange();n.selectNodeContents(e), e = n.getBoundingClientRect(), window.scrollTo(window.scrollX + e.left, t ? window.scrollY + e.top : window.scrollY + e.bottom - window.innerHeight);}@@ -17511,7 +17511,7 @@ var Df = /* @__PURE__ */ g(((e) => {var r = h(this._fragmentFiber);if (r = n ? r[1] || r[0] || p(this._fragmentFiber) : r[0] || r[1], r === null) return;if (r.tag === 6) {- e = _(r), lm(e, n);+ e = _(r), cm(e, n);return;}if (r = _(r), r.nodeType !== 9) {@@ -17524,40 +17524,40 @@ var Df = /* @__PURE__ */ g(((e) => {}for (r = n ? t.length - 1 : 0; r !== (n ? -1 : t.length);) {var a = t[r];- a.tag === 6 ? (a = _(a), lm(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;+ a.tag === 6 ? (a = _(a), cm(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;}};- function um(e, t) {- return e = _(e), dm(e, t), !1;+ function lm(e, t) {+ return e = _(e), um(e, t), !1;}- function dm(e, t) {+ function um(e, t) {e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);}- function fm(e, t) {+ function dm(e, t) {var n = t._eventListeners;if (n !== null) for (var r = 0; r < n.length; r++) {var i = n[r];e.addEventListener(i.type, i.attachedListener, Xp(i.optionsOrUseCapture));}e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {- for (var r = 0, i = 0; i < im.length; i++) {- var a = im[i];- (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (im[r++] = a);+ for (var r = 0, i = 0; i < rm.length; i++) {+ var a = rm[i];+ (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (rm[r++] = a);}- im.length = r, n.observe(e);- }), dm(e, t));+ rm.length = r, n.observe(e);+ }), um(e, t));}- function pm(e, t) {+ function fm(e, t) {var n = t._eventListeners;if (n !== null) for (var r = 0; r < n.length; r++) {var i = n[r];e.removeEventListener(i.type, i.attachedListener, Xp(i.optionsOrUseCapture));}e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {- typeof n.rootMargin == "string" ? om(t, n, e) : n.unobserve(e);+ typeof n.rootMargin == "string" ? am(t, n, e) : n.unobserve(e);}), e.reactFragments != null && e.reactFragments.delete(t));}- function mm(e) {+ function pm(e) {var t = e.firstChild;for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {var n = t;@@ -17565,7 +17565,7 @@ var Df = /* @__PURE__ */ g(((e) => {case "HTML":case "HEAD":case "BODY":- mm(n), At(n);+ pm(n), Mt(n);continue;case "SCRIPT":case "STYLE": continue;@@ -17574,7 +17574,7 @@ var Df = /* @__PURE__ */ g(((e) => {e.removeChild(n);}}- function H(e, t, n, r) {+ function U(e, t, n, r) {for (; e.nodeType === 1;) {var i = n;if (e.nodeName.toLowerCase() !== t.toLowerCase()) {@@ -17584,7 +17584,7 @@ var Df = /* @__PURE__ */ g(((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[L]) switch (t) {+ } else if (!e[F]) switch (t) {case "meta":if (!e.hasAttribute("itemprop")) break;return e;@@ -17599,26 +17599,26 @@ var Df = /* @__PURE__ */ g(((e) => {return e;default: return e;}- if (e = bm(e.nextSibling), e === null) break;+ if (e = ym(e.nextSibling), e === null) break;}return null;}- function hm(e, t, n) {+ function mm(e, t, n) {if (t === "") return null;- for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = bm(e.nextSibling), e === null)) return null;+ for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = ym(e.nextSibling), e === null)) return null;return e;}- function gm(e, t) {- for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = bm(e.nextSibling), e === null)) return null;+ function hm(e, t) {+ for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = ym(e.nextSibling), e === null)) return null;return e;}- function _m(e) {+ function gm(e) {return e.data === "$?" || e.data === "$~";}- function vm(e) {+ function _m(e) {return e.data === "$!" || e.data === "$?" && e.ownerDocument.readyState !== "loading";}- function ym(e, t) {+ function vm(e, t) {var n = e.ownerDocument;if (e.data === "$~") e._reactRetry = t;else if (e.data !== "$?" || n.readyState !== "loading") t();@@ -17629,7 +17629,7 @@ var Df = /* @__PURE__ */ g(((e) => {n.addEventListener("DOMContentLoaded", r), e._reactRetry = r;}}- function bm(e) {+ function ym(e) {for (; e != null; e = e.nextSibling) {var t = e.nodeType;if (t === 1 || t === 3) break;@@ -17640,14 +17640,14 @@ var Df = /* @__PURE__ */ g(((e) => {}return e;}- var xm = null;- function U(e) {+ var bm = null;+ function W(e) {e = e.nextSibling;for (var t = 0; e;) {if (e.nodeType === 8) {var n = e.data;if (n === "/$" || n === "/&") {- if (t === 0) return bm(e.nextSibling);+ if (t === 0) return ym(e.nextSibling);t--;} else n !== "$" && n !== "$!" && n !== "$?" && n !== "$~" && n !== "&" || t++;}@@ -17655,7 +17655,7 @@ var Df = /* @__PURE__ */ g(((e) => {}return null;}- function Sm(e) {+ function xm(e) {e = e.previousSibling;for (var t = 0; e;) {if (e.nodeType === 8) {@@ -17669,7 +17669,7 @@ var Df = /* @__PURE__ */ g(((e) => {}return null;}- function Cm(e, t) {+ function Sm(e, t) {function n() {r = !0;}@@ -17682,14 +17682,14 @@ var Df = /* @__PURE__ */ g(((e) => {}return r;}- function wm(e) {+ function Cm(e) {jp(function() {jp(function(t) {return e(t);});});}- function Tm(e, t, n) {+ function wm(e, t, n) {switch (t = xp(n), e) {case "html":if (e = t.documentElement, !e) throw Error(i(452));@@ -17703,122 +17703,122 @@ var Df = /* @__PURE__ */ g(((e) => {default: throw Error(i(451));}}- function Em(e, t, n) {+ function Tm(e, t, n) {for (var r in n) {var i = n[r];n.hasOwnProperty(r) && i != null && fp(e, t, r, null, hp, i);}- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === gn && (e.onclick = null), At(e);+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === vn && (e.onclick = null), Mt(e);}- function Dm(e) {+ function Em(e) {for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);- At(e);+ Mt(e);}- var Om = /* @__PURE__ */ new Map(), km = /* @__PURE__ */ new Set();- function Am(e) {+ var Dm = /* @__PURE__ */ new Map(), Om = /* @__PURE__ */ new Set();+ function km(e) {if (typeof e.getRootNode == "function") {var t = e.getRootNode();if (t.nodeType === 9 || t.nodeType === 11) return t;}return e.nodeType === 9 ? e : e.ownerDocument;}- var jm = I.d;- I.d = {- f: Mm,- r: Nm,- D: Im,- C: Lm,- L: Rm,- m: zm,- X: Vm,- S: Bm,- M: Hm+ var Am = he.d;+ he.d = {+ f: jm,+ r: Mm,+ D: Fm,+ C: Im,+ L: Lm,+ m: Rm,+ X: Bm,+ S: zm,+ M: Vm};- function Mm() {- var e = jm.f(), t = qd();+ function jm() {+ var e = Am.f(), t = qd();return e || t;}- function Nm(e) {- var t = Mt(e);- t !== null && t.tag === 5 && t.type === "form" ? rc(t) : jm.r(e);+ function Mm(e) {+ var t = Pt(e);+ t !== null && t.tag === 5 && t.type === "form" ? rc(t) : Am.r(e);}- var Pm = typeof document > "u" ? null : document;- function Fm(e, t, n) {- var r = Pm;+ var Nm = typeof document > "u" ? null : document;+ function Pm(e, t, n) {+ var r = Nm;if (r && typeof t == "string" && t) {- var i = en(t);- i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), km.has(i) || (km.add(i), e = {+ var i = nn(t);+ i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Om.has(i) || (Om.add(i), e = {rel: e,crossOrigin: n,href: t- }, r.querySelector(i) === null && (t = r.createElement("link"), mp(t, "link", e), Ft(t), r.head.appendChild(t)));+ }, r.querySelector(i) === null && (t = r.createElement("link"), mp(t, "link", e), Lt(t), r.head.appendChild(t)));}}- function Im(e) {- jm.D(e), Fm("dns-prefetch", e, null);+ function Fm(e) {+ Am.D(e), Pm("dns-prefetch", e, null);}- function Lm(e, t) {- jm.C(e, t), Fm("preconnect", e, t);+ function Im(e, t) {+ Am.C(e, t), Pm("preconnect", e, t);}- function Rm(e, t, n) {- jm.L(e, t, n);- var r = Pm;+ function Lm(e, t, n) {+ Am.L(e, t, n);+ var r = Nm;if (r && e && t) {- var i = "link[rel=\"preload\"][as=\"" + en(t) + "\"]";- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + en(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + en(n.imageSizes) + "\"]")) : i += "[href=\"" + en(e) + "\"]";+ var i = "link[rel=\"preload\"][as=\"" + nn(t) + "\"]";+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + nn(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + nn(n.imageSizes) + "\"]")) : i += "[href=\"" + nn(e) + "\"]";var a = i;switch (t) {case "style":- a = Wm(e);+ a = Um(e);break;- case "script": a = W(e);+ case "script": a = G(e);}- if (!(Om.has(a) || (e = T({+ if (!(Dm.has(a) || (e = T({rel: "preload",href: t === "image" && n && n.imageSrcSet ? void 0 : e,as: t- }, n), Om.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Gm(a)) || t === "script" && r.querySelector(Jm(a))))) {+ }, n), Dm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Wm(a)) || t === "script" && r.querySelector(qm(a))))) {var o = r.createElement("link");- mp(o, "link", e), t === "style" && (o[kt] = !0, o.onload = o.onerror = function() {- It(o);- }), Ft(o), r.head.appendChild(o);+ mp(o, "link", e), t === "style" && (o[jt] = !0, o.onload = o.onerror = function() {+ Rt(o);+ }), Lt(o), r.head.appendChild(o);}}}- function zm(e, t) {- jm.m(e, t);- var n = Pm;+ function Rm(e, t) {+ Am.m(e, t);+ var n = Nm;if (n && e) {- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + en(r) + "\"][href=\"" + en(e) + "\"]", a = i;+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + nn(r) + "\"][href=\"" + nn(e) + "\"]", a = i;switch (r) {case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":- case "script": a = W(e);+ case "script": a = G(e);}- if (!Om.has(a) && (e = T({+ if (!Dm.has(a) && (e = T({rel: "modulepreload",href: e- }, t), Om.set(a, e), n.querySelector(i) === null)) {+ }, t), Dm.set(a, e), n.querySelector(i) === null)) {switch (r) {case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":- case "script": if (n.querySelector(Jm(a))) return;+ case "script": if (n.querySelector(qm(a))) return;}- r = n.createElement("link"), mp(r, "link", e), Ft(r), n.head.appendChild(r);+ r = n.createElement("link"), mp(r, "link", e), Lt(r), n.head.appendChild(r);}}}- function Bm(e, t, n) {- jm.S(e, t, n);- var r = Pm;+ function zm(e, t, n) {+ Am.S(e, t, n);+ var r = Nm;if (r && e) {- var i = Pt(r).hoistableStyles, a = Wm(e);+ var i = It(r).hoistableStyles, a = Um(e);t ||= "default";var o = i.get(a);if (!o) {@@ -17826,21 +17826,21 @@ var Df = /* @__PURE__ */ g(((e) => {loading: 0,preload: null};- if (o = r.querySelector(Gm(a))) s.loading = 5;+ if (o = r.querySelector(Wm(a))) s.loading = 5;else {e = T({rel: "stylesheet",href: e,"data-precedence": t- }, n), (n = Om.get(a)) && Zm(e, n);+ }, n), (n = Dm.get(a)) && Xm(e, n);var c = o = r.createElement("link");- Ft(c), mp(c, "link", e), c._p = new Promise(function(e, t) {+ Lt(c), mp(c, "link", e), c._p = new Promise(function(e, t) {c.onload = e, c.onerror = t;}), c.addEventListener("load", function() {s.loading |= 1;}), c.addEventListener("error", function() {s.loading |= 2;- }), s.loading |= 4, Xm(o, t, r);+ }), s.loading |= 4, Ym(o, t, r);}o = {type: "stylesheet",@@ -17851,15 +17851,15 @@ var Df = /* @__PURE__ */ g(((e) => {}}}- function Vm(e, t) {- jm.X(e, t);- var n = Pm;+ function Bm(e, t) {+ Am.X(e, t);+ var n = Nm;if (n && e) {- var r = Pt(n).hoistableScripts, i = W(e), a = r.get(i);- a || (a = n.querySelector(Jm(i)), a || (e = T({+ var r = It(n).hoistableScripts, i = G(e), a = r.get(i);+ a || (a = n.querySelector(qm(i)), a || (e = T({src: e,async: !0- }, t), (t = Om.get(i)) && Qm(e, t), a = n.createElement("script"), Ft(a), mp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Dm.get(i)) && Zm(e, t), a = n.createElement("script"), Lt(a), mp(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -17867,16 +17867,16 @@ var Df = /* @__PURE__ */ g(((e) => {}, r.set(i, a));}}- function Hm(e, t) {- jm.M(e, t);- var n = Pm;+ function Vm(e, t) {+ Am.M(e, t);+ var n = Nm;if (n && e) {- var r = Pt(n).hoistableScripts, i = W(e), a = r.get(i);- a || (a = n.querySelector(Jm(i)), a || (e = T({+ var r = It(n).hoistableScripts, i = G(e), a = r.get(i);+ a || (a = n.querySelector(qm(i)), a || (e = T({src: e,async: !0,type: "module"- }, t), (t = Om.get(i)) && Qm(e, t), a = n.createElement("script"), Ft(a), mp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Dm.get(i)) && Zm(e, t), a = n.createElement("script"), Lt(a), mp(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -17884,13 +17884,13 @@ var Df = /* @__PURE__ */ g(((e) => {}, r.set(i, a));}}- function Um(e, t, n, r) {- var a = (a = Se.current) ? Am(a) : null;+ function Hm(e, t, n, r) {+ var a = (a = we.current) ? km(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 = Wm(n.href), t = Pt(a).hoistableStyles, r = t.get(n), r || (r = {+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Um(n.href), t = It(a).hoistableStyles, r = t.get(n), r || (r = {type: "style",instance: null,count: 0,@@ -17903,8 +17903,8 @@ var Df = /* @__PURE__ */ g(((e) => {};case "link":if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {- e = Wm(n.href);- var o = Pt(a).hoistableStyles, s = o.get(e);+ e = Um(n.href);+ var o = It(a).hoistableStyles, s = o.get(e);if (s || (a = a.ownerDocument || a, s = {type: "stylesheet",instance: null,@@ -17913,7 +17913,7 @@ var Df = /* @__PURE__ */ g(((e) => {loading: 0,preload: null}- }, o.set(e, s), (o = a.querySelector(Gm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Om.get(e), o || (o = {+ }, o.set(e, s), (o = a.querySelector(Wm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Dm.get(e), o || (o = {rel: "preload",as: "style",href: n.href,@@ -17922,12 +17922,12 @@ var Df = /* @__PURE__ */ g(((e) => {media: n.media,hrefLang: n.hrefLang,referrerPolicy: n.referrerPolicy- }, Om.set(e, o)), qm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));+ }, Dm.set(e, o)), Km(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));return s;}if (t && r !== null) throw Error(i(529, ""));return null;- case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = W(n), t = Pt(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 = G(n), t = It(a).hoistableScripts, r = t.get(n), r || (r = {type: "script",instance: null,count: 0,@@ -17941,66 +17941,66 @@ var Df = /* @__PURE__ */ g(((e) => {default: throw Error(i(444, e));}}- function Wm(e) {- return "href=\"" + en(e) + "\"";+ function Um(e) {+ return "href=\"" + nn(e) + "\"";}- function Gm(e) {+ function Wm(e) {return "link[rel=\"stylesheet\"][" + e + "]";}- function Km(e) {+ function Gm(e) {return T({}, e, {"data-precedence": e.precedence,precedence: null});}- function qm(e, t, n, r) {+ function Km(e, t, n, r) {if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {- if (!0 !== t[kt]) {+ if (!0 !== t[jt]) {r.loading = 1;return;}- } else t = e.createElement("link"), t[kt] = !0, t.onload = t.onerror = It.bind(null, t), mp(t, "link", n), Ft(t), e.head.appendChild(t);+ } else t = e.createElement("link"), t[jt] = !0, t.onload = t.onerror = Rt.bind(null, t), mp(t, "link", n), Lt(t), e.head.appendChild(t);r.preload = t, t.addEventListener("load", function() {return r.loading |= 1;}), t.addEventListener("error", function() {return r.loading |= 2;});}- function W(e) {- return "[src=\"" + en(e) + "\"]";+ function G(e) {+ return "[src=\"" + nn(e) + "\"]";}- function Jm(e) {+ function qm(e) {return "script[async]" + e;}- function Ym(e, t, n) {+ function Jm(e, t, n) {if (t.count++, t.instance === null) switch (t.type) {case "style":- var r = e.querySelector("style[data-href~=\"" + en(n.href) + "\"]");- if (r) return t.instance = r, Ft(r), r;+ var r = e.querySelector("style[data-href~=\"" + nn(n.href) + "\"]");+ if (r) return t.instance = r, Lt(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"), Ft(r), mp(r, "style", a), Xm(r, n.precedence, e), t.instance = r;+ return r = (e.ownerDocument || e).createElement("style"), Lt(r), mp(r, "style", a), Ym(r, n.precedence, e), t.instance = r;case "stylesheet":- a = Wm(n.href);- var o = e.querySelector(Gm(a));- if (o) return t.state.loading |= 4, t.instance = o, Ft(o), o;- r = Km(n), (a = Om.get(a)) && Zm(r, a), o = (e.ownerDocument || e).createElement("link"), Ft(o);+ a = Um(n.href);+ var o = e.querySelector(Wm(a));+ if (o) return t.state.loading |= 4, t.instance = o, Lt(o), o;+ r = Gm(n), (a = Dm.get(a)) && Xm(r, a), o = (e.ownerDocument || e).createElement("link"), Lt(o);var s = o;return s._p = new Promise(function(e, t) {s.onload = e, s.onerror = t;- }), mp(o, "link", r), t.state.loading |= 4, Xm(o, n.precedence, e), t.instance = o;- case "script": return o = W(n.src), (a = e.querySelector(Jm(o))) ? (t.instance = a, Ft(a), a) : (r = n, (a = Om.get(o)) && (r = T({}, n), Qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Ft(a), mp(a, "link", r), e.head.appendChild(a), t.instance = a);+ }), mp(o, "link", r), t.state.loading |= 4, Ym(o, n.precedence, e), t.instance = o;+ case "script": return o = G(n.src), (a = e.querySelector(qm(o))) ? (t.instance = a, Lt(a), a) : (r = n, (a = Dm.get(o)) && (r = T({}, n), Zm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Lt(a), mp(a, "link", r), e.head.appendChild(a), t.instance = a);case "void": return null;default: throw Error(i(443, t.type));}- else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Xm(r, n.precedence, e));+ else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Ym(r, n.precedence, e));return t.instance;}- function Xm(e, t, n) {+ function Ym(e, t, n) {for (var r = n.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), i = r.length ? r[r.length - 1] : null, a = i, o = 0; o < r.length; o++) {var s = r[o];if (s.dataset.precedence === t) a = s;@@ -18008,22 +18008,22 @@ var Df = /* @__PURE__ */ g(((e) => {}a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));}- function Zm(e, t) {+ function Xm(e, t) {e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;}- function Qm(e, t) {+ function Zm(e, t) {e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;}- var G = null;- function $m(e, t, n) {- if (G === null) {- var r = /* @__PURE__ */ new Map(), i = G = /* @__PURE__ */ new Map();+ var K = null;+ function Qm(e, t, n) {+ if (K === null) {+ var r = /* @__PURE__ */ new Map(), i = K = /* @__PURE__ */ new Map();i.set(n, r);- } else i = G, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));+ } else i = K, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));if (r.has(e)) return r;for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {var a = n[i];- if (!(a[L] || a[St] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {+ if (!(a[F] || a[wt] || 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);@@ -18032,10 +18032,10 @@ var Df = /* @__PURE__ */ g(((e) => {}return r;}- function K(e, t, n) {+ function q(e, t, n) {e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);}- function eh(e, t, n) {+ function $m(e, t, n) {if (n === 1 || t.itemProp != null) return !1;switch (e) {case "meta":@@ -18053,113 +18053,113 @@ var Df = /* @__PURE__ */ g(((e) => {}return !1;}- function th(e, t) {+ function eh(e, t) {return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";}- function nh(e) {+ function th(e) {return !(e.type === "stylesheet" && !(e.state.loading & 3));}- function rh(e) {+ function nh(e) {return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;}- function ih(e, t) {- typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += rh(t), e.suspenseyImages.push(t)), e = uh.bind(e), t.decode().then(e, e));+ function rh(e, t) {+ typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += nh(t), e.suspenseyImages.push(t)), e = lh.bind(e), t.decode().then(e, e));}- function ah(e, t, n, r) {+ function ih(e, t, n, r) {if (n.type === "stylesheet" && (typeof r.media != "string" || !1 !== matchMedia(r.media).matches) && !(n.state.loading & 4)) {if (n.instance === null) {- var i = Wm(r.href), a = t.querySelector(Gm(i));+ var i = Um(r.href), a = t.querySelector(Wm(i));if (a) {- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = lh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Ft(a);+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = ch.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Lt(a);return;}- a = t.ownerDocument || t, r = Km(r), (i = Om.get(i)) && Zm(r, i), a = a.createElement("link"), Ft(a);+ a = t.ownerDocument || t, r = Gm(r), (i = Dm.get(i)) && Xm(r, i), a = a.createElement("link"), Lt(a);var o = a;o._p = new Promise(function(e, t) {o.onload = e, o.onerror = t;}), mp(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 = lh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));+ e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = ch.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));}}- var oh = 0;- function sh(e, t) {- return e.stylesheets && e.count === 0 && dh(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {+ var ah = 0;+ function oh(e, t) {+ return e.stylesheets && e.count === 0 && uh(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {var r = setTimeout(function() {- if (e.stylesheets && dh(e, e.stylesheets), e.unsuspend) {+ if (e.stylesheets && uh(e, e.stylesheets), e.unsuspend) {var t = e.unsuspend;e.unsuspend = null, t();}}, 6e4 + t);- 0 < e.imgBytes && oh === 0 && (oh = 62500 * vp());+ 0 < e.imgBytes && ah === 0 && (ah = 62500 * vp());var i = setTimeout(function() {- if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && dh(e, e.stylesheets), e.unsuspend)) {+ if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && uh(e, e.stylesheets), e.unsuspend)) {var t = e.unsuspend;e.unsuspend = null, t();}- }, (e.imgBytes > oh ? 50 : 800) + t);+ }, (e.imgBytes > ah ? 50 : 800) + t);return e.unsuspend = n, function() {e.unsuspend = null, clearTimeout(r), clearTimeout(i);};} : null;}- function ch(e) {+ function sh(e) {if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {- if (e.stylesheets) dh(e, e.stylesheets);+ if (e.stylesheets) uh(e, e.stylesheets);else if (e.unsuspend) {var t = e.unsuspend;e.unsuspend = null, t();}}}+ function ch() {+ this.count--, sh(this);+ }function lh() {- this.count--, ch(this);+ this.imgCount--, sh(this);}- function uh() {- this.imgCount--, ch(this);+ var J = null;+ function uh(e, t) {+ e.stylesheets = null, e.unsuspend !== null && (e.count++, J = /* @__PURE__ */ new Map(), t.forEach(dh, e), J = null, ch.call(e));}- var q = null;function dh(e, t) {- e.stylesheets = null, e.unsuspend !== null && (e.count++, q = /* @__PURE__ */ new Map(), t.forEach(fh, e), q = null, lh.call(e));- }- function fh(e, t) {if (!(t.state.loading & 4)) {- var n = q.get(e);+ var n = J.get(e);if (n) var r = n.get(null);else {- n = /* @__PURE__ */ new Map(), q.set(e, n);+ n = /* @__PURE__ */ new Map(), J.set(e, n);for (var i = e.querySelectorAll("link[data-precedence],style[data-precedence]"), a = 0; a < i.length; a++) {var o = i[a];(o.nodeName === "LINK" || o.getAttribute("media") !== "not all") && (n.set(o.dataset.precedence, o), r = o);}r && n.set(null, r);}- i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = lh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;+ i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = ch.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;}}- var J = {- $$typeof: N,+ var fh = {+ $$typeof: ee,Provider: null,Consumer: null,- _currentValue: me,- _currentValue2: me,+ _currentValue: ge,+ _currentValue2: ge,_threadCount: 0};function ph(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 = 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();+ 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 = pt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = pt(0), this.hiddenUpdates = pt(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 mh(e, t, n, r, i, a, o, s, c, l, u, d) {- return e = new ph(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Ai(3, null, null, t), e.current = a, a.stateNode = e, t = Aa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {+ return e = new ph(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Mi(3, null, null, t), e.current = a, a.stateNode = e, t = ja(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {element: r,isDehydrated: n,cache: t- }, po(a), e;+ }, mo(a), e;}function hh(e) {- return e ? (e = Oi, e) : Oi;+ return e ? (e = Ai, e) : Ai;}function gh(e, t, n, r, i, a) {- i = hh(i), r.context === null ? r.context = i : r.pendingContext = i, r = ho(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = go(e, r, t), n !== null && (Hd(n, e, t), _o(n, e, t));+ i = hh(i), r.context === null ? r.context = i : r.pendingContext = i, r = go(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = _o(e, r, t), n !== null && (Hd(n, e, t), vo(n, e, t));}function _h(e, t) {if (e = e.memoizedState, e !== null && e.dehydrated !== null) {@@ -18172,37 +18172,37 @@ var Df = /* @__PURE__ */ g(((e) => {}function yh(e) {if (e.tag === 13 || e.tag === 31) {- var t = Ti(e, 67108864);+ var t = Di(e, 67108864);t !== null && Hd(t, e, 67108864), vh(e, 67108864);}}function bh(e) {if (e.tag === 13 || e.tag === 31) {var t = zd();- t = _t(t);- var n = Ti(e, t);+ t = yt(t);+ var n = Di(e, t);n !== null && Hd(n, e, t), vh(e, t);}}var xh = !0;function Sh(e, t, n, r) {- var i = F.T;- F.T = null;- var a = I.p;+ var i = P.T;+ P.T = null;+ var a = he.p;try {- I.p = 2, wh(e, t, n, r);+ he.p = 2, wh(e, t, n, r);} finally {- I.p = a, F.T = i;+ he.p = a, P.T = i;}}function Ch(e, t, n, r) {- var i = F.T;- F.T = null;- var a = I.p;+ var i = P.T;+ P.T = null;+ var a = he.p;try {- I.p = 8, wh(e, t, n, r);+ he.p = 8, wh(e, t, n, r);} finally {- I.p = a, F.T = i;+ he.p = a, P.T = i;}}function wh(e, t, n, r) {@@ -18212,23 +18212,23 @@ var Df = /* @__PURE__ */ g(((e) => {else if (zh(i, e, t, n, r)) r.stopPropagation();else if (Lh(e, r), t & 4 && -1 < Ih.indexOf(e)) {for (; i !== null;) {- var a = Mt(i);+ var a = Pt(i);if (a !== null) switch (a.tag) {case 3:if (a = a.stateNode, a.current.memoizedState.isDehydrated) {- var o = at(a.pendingLanes);+ var o = st(a.pendingLanes);if (o !== 0) {var s = a;for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {- var c = 1 << 31 - Qe(o);+ var c = 1 << 31 - et(o);s.entanglements[1] |= c, o &= ~c;}- If(a), !(rd & 6) && (wd = Be() + 500, Lf(0, !1));+ If(a), !(rd & 6) && (wd = He() + 500, Lf(0, !1));}}break;case 31:- case 13: s = Ti(a, 2), s !== null && Hd(s, a, 2), qd(), vh(a, 2);+ case 13: s = Di(a, 2), s !== null && Hd(s, a, 2), qd(), vh(a, 2);}if (a = Th(r), a === null && rp(e, t, r, Eh, n), a === i) break;i = a;@@ -18238,11 +18238,11 @@ var Df = /* @__PURE__ */ g(((e) => {}}function Th(e) {- return e = vn(e), Dh(e);+ return e = bn(e), Dh(e);}var Eh = null;function Dh(e) {- if (Eh = null, e = jt(e), e !== null) {+ if (Eh = null, e = Nt(e), e !== null) {var t = o(e);if (t === null) e = null;else {@@ -18335,12 +18335,12 @@ var Df = /* @__PURE__ */ g(((e) => {case "mouseleave":case "pointerenter":case "pointerleave": return 8;- case "message": switch (Ve()) {- case He: return 2;- case Ue: return 8;- case We:- case Ge: return 32;- case Ke: return 268435456;+ case "message": switch (Ue()) {+ case We: return 2;+ case Ge: return 8;+ case Ke:+ case qe: return 32;+ case Je: return 268435456;default: return 32;}default: return 32;@@ -18376,7 +18376,7 @@ var Df = /* @__PURE__ */ g(((e) => {eventSystemFlags: r,nativeEvent: a,targetContainers: [i]- }, t !== null && (t = Mt(t), t !== null && yh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);+ }, t !== null && (t = Pt(t), t !== null && yh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);}function zh(e, t, n, r, i) {switch (t) {@@ -18391,20 +18391,20 @@ var Df = /* @__PURE__ */ g(((e) => {return !1;}function Bh(e) {- var t = jt(e.target);+ var t = Nt(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, bt(e.priority, function() {+ e.blockedOn = t, St(e.priority, function() {bh(n);});return;}} else if (t === 31) {if (t = c(n), t !== null) {- e.blockedOn = t, bt(e.priority, function() {+ e.blockedOn = t, St(e.priority, function() {bh(n);});return;@@ -18424,8 +18424,8 @@ var Df = /* @__PURE__ */ g(((e) => {if (n === null) {n = e.nativeEvent;var r = new n.constructor(n.type, n);- _n = r, n.target.dispatchEvent(r), _n = null;- } else return t = Mt(n), t !== null && yh(t), e.blockedOn = n, !1;+ yn = r, n.target.dispatchEvent(r), yn = null;+ } else return t = Pt(n), t !== null && yh(t), e.blockedOn = n, !1;t.shift();}return !0;@@ -18449,7 +18449,7 @@ var Df = /* @__PURE__ */ g(((e) => {if (Dh(r || n) === null) continue;break;}- var a = Mt(n);+ var a = Pt(n);a !== null && (e.splice(t, 3), t -= 3, tc(a, {pending: !0,data: i,@@ -18470,12 +18470,12 @@ var Df = /* @__PURE__ */ g(((e) => {}for (; 0 < Fh.length && (n = Fh[0], n.blockedOn === null);) Bh(n), n.blockedOn === null && Fh.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[Ct] || null;+ var i = n[r], a = n[r + 1], o = i[Tt] || null;if (typeof a == "function") o || Y(n);else if (o) {var s = null;if (a && a.hasAttribute("formAction")) {- if (i = a, o = a[Ct] || null) s = o.formAction;+ if (i = a, o = a[Tt] || null) s = o.formAction;else if (Dh(i) !== null) continue;} else s = o.action;typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Y(n);@@ -18527,7 +18527,7 @@ var Df = /* @__PURE__ */ g(((e) => {if (e !== null) {this._internalRoot = null;var t = e.containerInfo;- gh(e.current, 2, null, e, null, null), qd(), t[wt] = null;+ gh(e.current, 2, null, e, null, null), qd(), t[Et] = null;}};function Yh(e) {@@ -18535,7 +18535,7 @@ var Df = /* @__PURE__ */ g(((e) => {}Yh.prototype.unstable_scheduleHydration = function(e) {if (e) {- var t = yt();+ var t = xt();e = {blockedOn: null,target: e,@@ -18547,7 +18547,7 @@ var Df = /* @__PURE__ */ g(((e) => {};var Xh = n.version;if (Xh !== "19.3.0") throw Error(i(527, Xh, "19.3.0"));- I.findDOMNode = function(e) {+ he.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;@@ -18556,19 +18556,19 @@ var Df = /* @__PURE__ */ g(((e) => {bundleType: 0,version: "19.3.0",rendererPackageName: "react-dom",- currentDispatcherRef: F,+ currentDispatcherRef: P,reconcilerVersion: "19.3.0"};if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {var Qh = __REACT_DEVTOOLS_GLOBAL_HOOK__;if (!Qh.isDisabled && Qh.supportsFiber) try {- Ye = Qh.inject(Zh), Xe = Qh;+ Ze = Qh.inject(Zh), Qe = Qh;} catch {}}e.createRoot = function(e, t) {if (!a(e)) throw Error(i(299));var n = !1, r = "", o = wc, s = Tc, c = Ec;- return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = mh(e, 1, !1, null, null, n, r, null, o, s, c, qh), e[wt] = t.current, tp(e), new Jh(t);+ 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 = mh(e, 1, !1, null, null, n, r, null, o, s, c, qh), e[Et] = t.current, tp(e), new Jh(t);};})), Af = (/* @__PURE__ */ g(((e, t) => {function n() {@@ -19104,13 +19104,13 @@ var Df = /* @__PURE__ */ g(((e) => {}, Kp = [], qp = (e) => {let t = (t) => t[e] || Kp;return t.isThemeGetter = !0, t.themeKey = e, t;-}, Jp = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Yp = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Xp = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Zp = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Qp = /\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$/, $p = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, em = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tm = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, nm = (e) => Xp.test(e), rm = (e) => !!e && !Number.isNaN(Number(e)), im = (e) => !!e && Number.isInteger(Number(e)), am = (e) => e.endsWith("%") && rm(e.slice(0, -1)), om = (e) => Zp.test(e), sm = () => !0, cm = (e) => Qp.test(e) && !$p.test(e), lm = () => !1, um = (e) => em.test(e), dm = (e) => tm.test(e), fm = (e) => !H(e) && !U(e), pm = (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)), mm = (e) => km(e, Nm, lm), H = (e) => Jp.test(e), hm = (e) => km(e, Pm, cm), gm = (e) => km(e, Fm, rm), _m = (e) => km(e, Lm, sm), vm = (e) => km(e, Im, lm), ym = (e) => km(e, jm, lm), bm = (e) => km(e, Mm, dm), xm = (e) => km(e, Rm, um), U = (e) => Yp.test(e), Sm = (e) => Am(e, Pm), Cm = (e) => Am(e, Im), wm = (e) => Am(e, jm), Tm = (e) => Am(e, Nm), Em = (e) => Am(e, Mm), Dm = (e) => Am(e, Rm, !0), Om = (e) => Am(e, Lm, !0), km = (e, t, n) => {+}, Jp = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Yp = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Xp = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Zp = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Qp = /\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$/, $p = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, em = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tm = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, nm = (e) => Xp.test(e), H = (e) => !!e && !Number.isNaN(Number(e)), rm = (e) => !!e && Number.isInteger(Number(e)), im = (e) => e.endsWith("%") && H(e.slice(0, -1)), am = (e) => Zp.test(e), om = () => !0, sm = (e) => Qp.test(e) && !$p.test(e), cm = () => !1, lm = (e) => em.test(e), um = (e) => tm.test(e), dm = (e) => !U(e) && !W(e), fm = (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)), pm = (e) => Om(e, Mm, cm), U = (e) => Jp.test(e), mm = (e) => Om(e, Nm, sm), hm = (e) => Om(e, Pm, H), gm = (e) => Om(e, Im, om), _m = (e) => Om(e, Fm, cm), vm = (e) => Om(e, Am, cm), ym = (e) => Om(e, jm, um), bm = (e) => Om(e, Lm, lm), W = (e) => Yp.test(e), xm = (e) => km(e, Nm), Sm = (e) => km(e, Fm), Cm = (e) => km(e, Am), wm = (e) => km(e, Mm), Tm = (e) => km(e, jm), Em = (e) => km(e, Lm, !0), Dm = (e) => km(e, Im, !0), Om = (e, t, n) => {let r = Jp.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, Am = (e, t, n = !1) => {+}, km = (e, t, n = !1) => {let r = Yp.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, jm = (e) => e === "position" || e === "percentage", Mm = (e) => e === "image" || e === "url", Nm = (e) => e === "length" || e === "size" || e === "bg-size", Pm = (e) => e === "length", Fm = (e) => e === "number", Im = (e) => e === "family-name", Lm = (e) => e === "number" || e === "weight", Rm = (e) => e === "shadow", zm = () => {+}, Am = (e) => e === "position" || e === "percentage", jm = (e) => e === "image" || e === "url", Mm = (e) => e === "length" || e === "size" || e === "bg-size", Nm = (e) => e === "length", Pm = (e) => e === "number", Fm = (e) => e === "family-name", Im = (e) => e === "number" || e === "weight", Lm = (e) => e === "shadow", Rm = () => {let e = qp("color"), t = qp("font"), n = qp("text"), r = qp("font-weight"), i = qp("tracking"), a = qp("leading"), o = qp("breakpoint"), s = qp("container"), c = qp("spacing"), l = qp("radius"), u = qp("shadow"), d = qp("inset-shadow"), f = qp("text-shadow"), p = qp("drop-shadow"), m = qp("blur"), h = qp("perspective"), g = qp("aspect"), _ = qp("ease"), v = qp("animate"), y = () => ["auto","avoid",@@ -19136,8 +19136,8 @@ var Df = /* @__PURE__ */ g(((e) => {"left-bottom"], x = () => [...b(),- U,- H+ W,+ U], S = () => ["auto","hidden",@@ -19149,8 +19149,8 @@ var Df = /* @__PURE__ */ g(((e) => {"contain","none"], w = () => [+ W,U,- H,c], T = () => [nm,@@ -19158,34 +19158,34 @@ var Df = /* @__PURE__ */ g(((e) => {"auto",...w()], E = () => [- im,+ rm,"none","subgrid",- U,- H+ W,+ U], D = () => ["auto",{ span: ["full",- im,- U,- H+ rm,+ W,+ U] },- im,- U,- H+ rm,+ W,+ U], O = () => [- im,+ rm,"auto",- U,- H+ W,+ U], k = () => ["auto","min","max","fr",- U,- H+ W,+ U], A = () => ["start","end",@@ -19204,7 +19204,7 @@ var Df = /* @__PURE__ */ g(((e) => {"stretch","center-safe","end-safe"- ], M = () => ["auto", ...w()], N = () => [+ ], M = () => ["auto", ...w()], ee = () => [nm,"auto","full",@@ -19218,7 +19218,7 @@ var Df = /* @__PURE__ */ g(((e) => {"max","fit",...w()- ], ee = () => [+ ], te = () => [s,nm,"screen",@@ -19230,7 +19230,7 @@ var Df = /* @__PURE__ */ g(((e) => {"max","fit",...w()- ], te = () => [+ ], ne = () => [nm,"screen","full",@@ -19242,50 +19242,50 @@ var Df = /* @__PURE__ */ g(((e) => {"max","fit",...w()- ], P = () => [+ ], N = () => [e,- U,- H- ], ne = () => [+ W,+ U+ ], re = () => [...b(),- wm,- ym,- { position: [U, H] }- ], re = () => ["no-repeat", { repeat: [+ Cm,+ vm,+ { position: [W, U] }+ ], ie = () => ["no-repeat", { repeat: ["","x","y","space","round"- ] }], ie = () => [+ ] }], ae = () => ["auto","cover","contain",- Tm,- mm,- { size: [U, H] }- ], ae = () => [- am,- Sm,- hm+ wm,+ pm,+ { size: [W, U] }], oe = () => [+ im,+ xm,+ mm+ ], se = () => ["","none","full",l,- U,- H- ], se = () => [- "",- rm,- Sm,- hm+ W,+ U], ce = () => [+ "",+ H,+ xm,+ mm+ ], le = () => ["solid","dashed","dotted","double"- ], le = () => [+ ], ue = () => ["normal","multiply","screen",@@ -19302,32 +19302,32 @@ var Df = /* @__PURE__ */ g(((e) => {"saturation","color","luminosity"- ], ue = () => [- rm,- am,- wm,- ym], de = () => [+ H,+ im,+ Cm,+ vm+ ], fe = () => ["","none",m,- U,- H- ], fe = () => [- "none",- rm,- U,- H+ W,+ U], pe = () => ["none",- rm,- U,- H- ], F = () => [- rm,- U,- H- ], I = () => [+ H,+ W,+ U+ ], me = () => [+ "none",+ H,+ W,+ U+ ], P = () => [+ H,+ W,+ U+ ], he = () => [nm,"full",...w()@@ -19342,17 +19342,17 @@ var Df = /* @__PURE__ */ g(((e) => {"bounce"],aspect: ["video"],- blur: [om],- breakpoint: [om],- color: [sm],- container: [om],- "drop-shadow": [om],+ blur: [am],+ breakpoint: [am],+ color: [om],+ container: [am],+ "drop-shadow": [am],ease: ["in","out","in-out"],- font: [fm],+ font: [dm],"font-weight": ["thin","extralight",@@ -19364,7 +19364,7 @@ var Df = /* @__PURE__ */ g(((e) => {"extrabold","black"],- "inset-shadow": [om],+ "inset-shadow": [am],leading: ["none","tight",@@ -19381,11 +19381,11 @@ var Df = /* @__PURE__ */ g(((e) => {"distant","none"],- radius: [om],- shadow: [om],- spacing: ["px", rm],- text: [om],- "text-shadow": [om],+ radius: [am],+ shadow: [am],+ spacing: ["px", H],+ text: [am],+ "text-shadow": [am],tracking: ["tighter","tight",@@ -19400,8 +19400,8 @@ var Df = /* @__PURE__ */ g(((e) => {"auto","square",nm,- H,U,+ W,g] }],container: ["container"],@@ -19409,15 +19409,15 @@ var Df = /* @__PURE__ */ g(((e) => {"","normal","size",- U,- H+ W,+ U] }],- "container-named": [pm],+ "container-named": [fm],columns: [{ columns: [- rm,- "auto",H,+ "auto",U,+ W,s] }],"break-after": [{ "break-after": y() }],@@ -19514,10 +19514,10 @@ var Df = /* @__PURE__ */ g(((e) => {"collapse"],z: [{ z: [- im,+ rm,"auto",- U,- H+ W,+ U] }],basis: [{ basis: [nm,@@ -19538,32 +19538,32 @@ var Df = /* @__PURE__ */ g(((e) => {"wrap-reverse"] }],flex: [{ flex: [- rm,+ H,nm,"auto","initial","none",- H+ U] }],grow: [{ grow: ["",- rm,- U,- H+ H,+ W,+ U] }],shrink: [{ shrink: ["",- rm,- U,- H+ H,+ W,+ U] }],order: [{ order: [- im,+ rm,"first","last","none",- U,- H+ W,+ U] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -19624,23 +19624,23 @@ var Df = /* @__PURE__ */ g(((e) => {"space-x-reverse": ["space-x-reverse"],"space-y": [{ "space-y": w() }],"space-y-reverse": ["space-y-reverse"],- size: [{ size: N() }],- "inline-size": [{ inline: ["auto", ...ee()] }],- "min-inline-size": [{ "min-inline": ["auto", ...ee()] }],- "max-inline-size": [{ "max-inline": ["none", ...ee()] }],- "block-size": [{ block: ["auto", ...te()] }],- "min-block-size": [{ "min-block": ["auto", ...te()] }],- "max-block-size": [{ "max-block": ["none", ...te()] }],+ size: [{ size: ee() }],+ "inline-size": [{ inline: ["auto", ...te()] }],+ "min-inline-size": [{ "min-inline": ["auto", ...te()] }],+ "max-inline-size": [{ "max-inline": ["none", ...te()] }],+ "block-size": [{ block: ["auto", ...ne()] }],+ "min-block-size": [{ "min-block": ["auto", ...ne()] }],+ "max-block-size": [{ "max-block": ["none", ...ne()] }],w: [{ w: [s,"screen",- ...N()+ ...ee()] }],"min-w": [{ "min-w": [s,"screen","none",- ...N()+ ...ee()] }],"max-w": [{ "max-w": [s,@@ -19648,37 +19648,37 @@ var Df = /* @__PURE__ */ g(((e) => {"none","prose",{ screen: [o] },- ...N()+ ...ee()] }],h: [{ h: ["screen","lh",- ...N()+ ...ee()] }],"min-h": [{ "min-h": ["screen","lh","none",- ...N()+ ...ee()] }],"max-h": [{ "max-h": ["screen","lh","none",- ...N()+ ...ee()] }],"font-size": [{ text: ["base",n,- Sm,- hm+ xm,+ mm] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- Om,- _m+ Dm,+ gm] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -19690,15 +19690,15 @@ var Df = /* @__PURE__ */ g(((e) => {"expanded","extra-expanded","ultra-expanded",- am,- H+ im,+ U] }],"font-family": [{ font: [- Cm,- vm,+ Sm,+ _m,t] }],- "font-features": [{ "font-features": [H] }],+ "font-features": [{ "font-features": [U] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -19707,14 +19707,14 @@ var Df = /* @__PURE__ */ g(((e) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- U,- H+ W,+ U] }],"line-clamp": [{ "line-clamp": [- rm,+ H,"none",- U,- gm+ W,+ hm] }],leading: [{ leading: ["none",@@ -19723,16 +19723,16 @@ var Df = /* @__PURE__ */ g(((e) => {] }],"list-image": [{ "list-image": ["none",- U,- H+ W,+ U] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- U,- H+ W,+ U] }],"text-alignment": [{ text: ["left",@@ -19742,28 +19742,28 @@ var Df = /* @__PURE__ */ g(((e) => {"start","end"] }],- "placeholder-color": [{ placeholder: P() }],- "text-color": [{ text: P() }],+ "placeholder-color": [{ placeholder: N() }],+ "text-color": [{ text: N() }],"text-decoration": ["underline","overline","line-through","no-underline"],- "text-decoration-style": [{ decoration: [...ce(), "wavy"] }],+ "text-decoration-style": [{ decoration: [...le(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- rm,+ H,"from-font","auto",- U,- hm+ W,+ mm] }],- "text-decoration-color": [{ decoration: P() }],+ "text-decoration-color": [{ decoration: N() }],"underline-offset": [{ "underline-offset": [- rm,+ H,"auto",- U,- H+ W,+ U] }],"text-transform": ["uppercase",@@ -19784,9 +19784,9 @@ var Df = /* @__PURE__ */ g(((e) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- im,- U,- H+ rm,+ W,+ U] }],"vertical-align": [{ align: ["baseline",@@ -19797,8 +19797,8 @@ var Df = /* @__PURE__ */ g(((e) => {"text-bottom","sub","super",- U,- H+ W,+ U] }],whitespace: [{ whitespace: ["normal",@@ -19826,8 +19826,8 @@ var Df = /* @__PURE__ */ g(((e) => {] }],content: [{ content: ["none",- U,- H+ W,+ U] }],"bg-attachment": [{ bg: ["fixed",@@ -19845,9 +19845,9 @@ var Df = /* @__PURE__ */ g(((e) => {"padding","content"] }],- "bg-position": [{ bg: ne() }],- "bg-repeat": [{ bg: re() }],- "bg-size": [{ bg: ie() }],+ "bg-position": [{ bg: re() }],+ "bg-repeat": [{ bg: ie() }],+ "bg-size": [{ bg: ae() }],"bg-image": [{ bg: ["none",{@@ -19862,142 +19862,142 @@ var Df = /* @__PURE__ */ g(((e) => {"l","tl"] },- im,- U,- H+ rm,+ W,+ U],radial: ["",- U,- H+ W,+ U],conic: ["",- im,- U,- H+ rm,+ W,+ U]},- Em,- bm+ Tm,+ ym] }],- "bg-color": [{ bg: P() }],- "gradient-from-pos": [{ from: ae() }],- "gradient-via-pos": [{ via: ae() }],- "gradient-to-pos": [{ to: ae() }],- "gradient-from": [{ from: P() }],- "gradient-via": [{ via: P() }],- "gradient-to": [{ to: P() }],- 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() }],+ "bg-color": [{ bg: N() }],+ "gradient-from-pos": [{ from: oe() }],+ "gradient-via-pos": [{ via: oe() }],+ "gradient-to-pos": [{ to: oe() }],+ "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() }],"divide-x-reverse": ["divide-x-reverse"],- "divide-y": [{ "divide-y": se() }],+ "divide-y": [{ "divide-y": ce() }],"divide-y-reverse": ["divide-y-reverse"],"border-style": [{ border: [- ...ce(),+ ...le(),"hidden","none"] }],"divide-style": [{ divide: [- ...ce(),+ ...le(),"hidden","none"] }],- "border-color": [{ border: P() }],- "border-color-x": [{ "border-x": P() }],- "border-color-y": [{ "border-y": P() }],- "border-color-s": [{ "border-s": P() }],- "border-color-e": [{ "border-e": P() }],- "border-color-bs": [{ "border-bs": P() }],- "border-color-be": [{ "border-be": P() }],- "border-color-t": [{ "border-t": P() }],- "border-color-r": [{ "border-r": P() }],- "border-color-b": [{ "border-b": P() }],- "border-color-l": [{ "border-l": P() }],- "divide-color": [{ divide: P() }],+ "border-color": [{ border: N() }],+ "border-color-x": [{ "border-x": N() }],+ "border-color-y": [{ "border-y": N() }],+ "border-color-s": [{ "border-s": N() }],+ "border-color-e": [{ "border-e": N() }],+ "border-color-bs": [{ "border-bs": N() }],+ "border-color-be": [{ "border-be": N() }],+ "border-color-t": [{ "border-t": N() }],+ "border-color-r": [{ "border-r": N() }],+ "border-color-b": [{ "border-b": N() }],+ "border-color-l": [{ "border-l": N() }],+ "divide-color": [{ divide: N() }],"outline-style": [{ outline: [- ...ce(),+ ...le(),"none","hidden"] }],"outline-offset": [{ "outline-offset": [- rm,- U,- H+ H,+ W,+ U] }],"outline-w": [{ outline: ["",- rm,- Sm,- hm+ H,+ xm,+ mm] }],- "outline-color": [{ outline: P() }],+ "outline-color": [{ outline: N() }],shadow: [{ shadow: ["","inner","none",u,- Dm,- xm+ Em,+ bm] }],- "shadow-color": [{ shadow: P() }],+ "shadow-color": [{ shadow: N() }],"inset-shadow": [{ "inset-shadow": ["none",d,- Dm,- xm+ Em,+ bm] }],- "inset-shadow-color": [{ "inset-shadow": P() }],- "ring-w": [{ ring: se() }],+ "inset-shadow-color": [{ "inset-shadow": N() }],+ "ring-w": [{ ring: ce() }],"ring-w-inset": ["ring-inset"],- "ring-color": [{ ring: P() }],- "ring-offset-w": [{ "ring-offset": [rm, hm] }],- "ring-offset-color": [{ "ring-offset": P() }],- "inset-ring-w": [{ "inset-ring": se() }],- "inset-ring-color": [{ "inset-ring": P() }],+ "ring-color": [{ ring: N() }],+ "ring-offset-w": [{ "ring-offset": [H, mm] }],+ "ring-offset-color": [{ "ring-offset": N() }],+ "inset-ring-w": [{ "inset-ring": ce() }],+ "inset-ring-color": [{ "inset-ring": N() }],"text-shadow": [{ "text-shadow": ["none",f,- Dm,- xm+ Em,+ bm] }],- "text-shadow-color": [{ "text-shadow": P() }],+ "text-shadow-color": [{ "text-shadow": N() }],opacity: [{ opacity: [- rm,- U,- H+ H,+ W,+ U] }],"mix-blend": [{ "mix-blend": [- ...le(),+ ...ue(),"plus-darker","plus-lighter"] }],- "bg-blend": [{ "bg-blend": le() }],+ "bg-blend": [{ "bg-blend": ue() }],"mask-clip": [{ "mask-clip": ["border","padding",@@ -20012,51 +20012,51 @@ var Df = /* @__PURE__ */ g(((e) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [rm] }],- "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": P() }],- "mask-image-linear-to-color": [{ "mask-linear-to": P() }],- "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": P() }],- "mask-image-t-to-color": [{ "mask-t-to": P() }],- "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": P() }],- "mask-image-r-to-color": [{ "mask-r-to": P() }],- "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": P() }],- "mask-image-b-to-color": [{ "mask-b-to": P() }],- "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": P() }],- "mask-image-l-to-color": [{ "mask-l-to": P() }],- "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": P() }],- "mask-image-x-to-color": [{ "mask-x-to": P() }],- "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": P() }],- "mask-image-y-to-color": [{ "mask-y-to": P() }],- "mask-image-radial": [{ "mask-radial": [U, H] }],- "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": P() }],- "mask-image-radial-to-color": [{ "mask-radial-to": P() }],+ "mask-image-linear-pos": [{ "mask-linear": [H] }],+ "mask-image-linear-from-pos": [{ "mask-linear-from": de() }],+ "mask-image-linear-to-pos": [{ "mask-linear-to": de() }],+ "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-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-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-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-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-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-color": [{ "mask-y-from": N() }],+ "mask-image-y-to-color": [{ "mask-y-to": N() }],+ "mask-image-radial": [{ "mask-radial": [W, U] }],+ "mask-image-radial-from-pos": [{ "mask-radial-from": de() }],+ "mask-image-radial-to-pos": [{ "mask-radial-to": de() }],+ "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"] }],"mask-image-radial-size": [{ "mask-radial": [{closest: ["side", "corner"],farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [rm] }],- "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": P() }],- "mask-image-conic-to-color": [{ "mask-conic-to": P() }],+ "mask-image-conic-pos": [{ "mask-conic": [H] }],+ "mask-image-conic-from-pos": [{ "mask-conic-from": de() }],+ "mask-image-conic-to-pos": [{ "mask-conic-to": de() }],+ "mask-image-conic-from-color": [{ "mask-conic-from": N() }],+ "mask-image-conic-to-color": [{ "mask-conic-to": N() }],"mask-mode": [{ mask: ["alpha","luminance",@@ -20070,117 +20070,117 @@ var Df = /* @__PURE__ */ g(((e) => {"stroke","view"] }],- "mask-position": [{ mask: ne() }],- "mask-repeat": [{ mask: re() }],- "mask-size": [{ mask: ie() }],+ "mask-position": [{ mask: re() }],+ "mask-repeat": [{ mask: ie() }],+ "mask-size": [{ mask: ae() }],"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- U,- H+ W,+ U] }],filter: [{ filter: ["","none",- U,- H+ W,+ U] }],- blur: [{ blur: de() }],+ blur: [{ blur: fe() }],brightness: [{ brightness: [- rm,- U,- H+ H,+ W,+ U] }],contrast: [{ contrast: [- rm,- U,- H+ H,+ W,+ U] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- Dm,- xm+ Em,+ bm] }],- "drop-shadow-color": [{ "drop-shadow": P() }],+ "drop-shadow-color": [{ "drop-shadow": N() }],grayscale: [{ grayscale: ["",- rm,- U,- H+ H,+ W,+ U] }],"hue-rotate": [{ "hue-rotate": [- rm,- U,- H+ H,+ W,+ U] }],invert: [{ invert: ["",- rm,- U,- H+ H,+ W,+ U] }],saturate: [{ saturate: [- rm,- U,- H+ H,+ W,+ U] }],sepia: [{ sepia: ["",- rm,- U,- H+ H,+ W,+ U] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- U,- H+ W,+ U] }],- "backdrop-blur": [{ "backdrop-blur": de() }],+ "backdrop-blur": [{ "backdrop-blur": fe() }],"backdrop-brightness": [{ "backdrop-brightness": [- rm,- U,- H+ H,+ W,+ U] }],"backdrop-contrast": [{ "backdrop-contrast": [- rm,- U,- H+ H,+ W,+ U] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- rm,- U,- H+ H,+ W,+ U] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- rm,- U,- H+ H,+ W,+ U] }],"backdrop-invert": [{ "backdrop-invert": ["",- rm,- U,- H+ H,+ W,+ U] }],"backdrop-opacity": [{ "backdrop-opacity": [- rm,- U,- H+ H,+ W,+ U] }],"backdrop-saturate": [{ "backdrop-saturate": [- rm,- U,- H+ H,+ W,+ U] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- rm,- U,- H+ H,+ W,+ U] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -20196,56 +20196,56 @@ var Df = /* @__PURE__ */ g(((e) => {"shadow","transform","none",- U,- H+ W,+ U] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- rm,+ H,"initial",- U,- H+ W,+ U] }],ease: [{ ease: ["linear","initial",_,- U,- H+ W,+ U] }],delay: [{ delay: [- rm,- U,- H+ H,+ W,+ U] }],animate: [{ animate: ["none",v,- U,- H+ W,+ U] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- U,- H+ W,+ U] }],"perspective-origin": [{ "perspective-origin": x() }],- 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() }],+ 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() }],"scale-3d": ["scale-3d"],- skew: [{ skew: F() }],- "skew-x": [{ "skew-x": F() }],- "skew-y": [{ "skew-y": F() }],+ skew: [{ skew: P() }],+ "skew-x": [{ "skew-x": P() }],+ "skew-y": [{ "skew-y": P() }],transform: [{ transform: [+ W,U,- H,"","none","gpu",@@ -20253,19 +20253,19 @@ var Df = /* @__PURE__ */ g(((e) => {] }],"transform-origin": [{ origin: x() }],"transform-style": [{ transform: ["3d", "flat"] }],- translate: [{ translate: I() }],- "translate-x": [{ "translate-x": I() }],- "translate-y": [{ "translate-y": I() }],- "translate-z": [{ "translate-z": I() }],+ translate: [{ translate: he() }],+ "translate-x": [{ "translate-x": he() }],+ "translate-y": [{ "translate-y": he() }],+ "translate-z": [{ "translate-z": he() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- im,- U,- H+ rm,+ W,+ U] }],- accent: [{ accent: P() }],+ accent: [{ accent: N() }],appearance: [{ appearance: ["none", "auto"] }],- "caret-color": [{ caret: P() }],+ "caret-color": [{ caret: N() }],"color-scheme": [{ scheme: ["normal","dark",@@ -20311,8 +20311,8 @@ var Df = /* @__PURE__ */ g(((e) => {"nwse-resize","zoom-in","zoom-out",- U,- H+ W,+ U] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -20323,8 +20323,8 @@ var Df = /* @__PURE__ */ g(((e) => {"x"] }],"scroll-behavior": [{ scroll: ["auto", "smooth"] }],- "scrollbar-thumb-color": [{ "scrollbar-thumb": P() }],- "scrollbar-track-color": [{ "scrollbar-track": P() }],+ "scrollbar-thumb-color": [{ "scrollbar-thumb": N() }],+ "scrollbar-track-color": [{ "scrollbar-track": N() }],"scrollbar-gutter": [{ "scrollbar-gutter": ["auto","stable",@@ -20398,17 +20398,17 @@ var Df = /* @__PURE__ */ g(((e) => {"scroll","contents","transform",- U,- H+ W,+ U] }],- fill: [{ fill: ["none", ...P()] }],+ fill: [{ fill: ["none", ...N()] }],"stroke-w": [{ stroke: [- rm,- Sm,- hm,- gm+ H,+ xm,+ mm,+ hm] }],- stroke: [{ stroke: ["none", ...P()] }],+ stroke: [{ stroke: ["none", ...N()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]},conflictingClassGroups: {@@ -20664,16 +20664,16 @@ var Df = /* @__PURE__ */ g(((e) => {"selection"]};-}, Bm = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Vm(e, "cacheSize", t), Vm(e, "prefix", n), Vm(e, "experimentalParseClassName", r), Hm(e.theme, a.theme), Hm(e.classGroups, a.classGroups), Hm(e.conflictingClassGroups, a.conflictingClassGroups), Hm(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Vm(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Vm(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Um(e.theme, i.theme), Um(e.classGroups, i.classGroups), Um(e.conflictingClassGroups, i.conflictingClassGroups), Um(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Wm(e, i, "postfixLookupClassGroups"), Wm(e, i, "orderSensitiveModifiers"), e), Vm = (e, t, n) => {+}, zm = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Bm(e, "cacheSize", t), Bm(e, "prefix", n), Bm(e, "experimentalParseClassName", r), Vm(e.theme, a.theme), Vm(e.classGroups, a.classGroups), Vm(e.conflictingClassGroups, a.conflictingClassGroups), Vm(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Bm(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Bm(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Hm(e.theme, i.theme), Hm(e.classGroups, i.classGroups), Hm(e.conflictingClassGroups, i.conflictingClassGroups), Hm(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Um(e, i, "postfixLookupClassGroups"), Um(e, i, "orderSensitiveModifiers"), e), Bm = (e, t, n) => {n !== void 0 && (e[t] = n);+}, Vm = (e, t) => {+ if (t) for (let n in t) Bm(e, n, t[n]);}, Hm = (e, t) => {- if (t) for (let n in t) Vm(e, n, t[n]);-}, Um = (e, t) => {- if (t) for (let n in t) Wm(e, t, n);-}, Wm = (e, t, n) => {+ if (t) for (let n in t) Um(e, t, n);+}, Um = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, Gm = (e, ...t) => typeof e == "function" ? Gp(zm, e, ...t) : Gp(() => Bm(zm(), e), ...t), Km = [+}, Wm = (e, ...t) => typeof e == "function" ? Gp(Rm, e, ...t) : Gp(() => zm(Rm(), e), ...t), Gm = ["large-title","display-1","display-2",@@ -20687,18 +20687,18 @@ var Df = /* @__PURE__ */ g(((e) => {"body-2","caption-1","caption-2"-], qm = [+], Km = ["regular","medium","semibold","bold"-], W = Gm({ extend: { classGroups: { "font-size": [{ text: Km.flatMap((e) => qm.map((t) => `${e}-${t}`)) }] } } });-function Jm(e) {+], G = Wm({ extend: { classGroups: { "font-size": [{ text: Gm.flatMap((e) => Km.map((t) => `${e}-${t}`)) }] } } });+function qm(e) {return e;}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var Ym = Jm({+var Jm = qm({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",@@ -20717,22 +20717,22 @@ var Ym = Jm({soft: "bg-background-secondary-default text-text-secondary"}});-function Xm({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function Ym({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, w.jsx)("span", {ref: r,- className: W(Ym.base, Ym.variant[e], Ym.color[t], n),+ className: G(Jm.base, Jm.variant[e], Jm.color[t], n),...i});}//#endregion//#region src/api.ts-var Zm = class extends Error {+var Xm = class extends Error {status;body;constructor(e, t, n = null) {super(i(e, t)), this.name = "ApiError", this.status = t, this.body = n;}-}, Qm = (e) => {+}, Zm = (e) => {if (!e || typeof e != "object") return "";let t = e;for (let e of [@@ -20744,8 +20744,8 @@ var Zm = class extends Error {if (typeof n == "string" && n) return n;}return "";-}, G = (e) => i(e);-async function $m(e, t) {+}, K = (e) => i(e);+async function Qm(e, t) {let n = await fetch(e, {headers: { Accept: "application/json" },credentials: "same-origin",@@ -20754,10 +20754,10 @@ async function $m(e, t) {try {r = await n.json();} catch {}- if (!n.ok) throw new Zm(Qm(r) || `请求失败(${n.status})`, n.status);+ if (!n.ok) throw new Xm(Zm(r) || `请求失败(${n.status})`, n.status);return r;}-async function K(e, t, n = "POST", r) {+async function q(e, t, n = "POST", r) {let i = await fetch(e, {method: n,...r ? { signal: r } : {},@@ -20771,49 +20771,49 @@ async function K(e, t, n = "POST", r) {try {a = await i.json();} catch {}- if (!i.ok) throw new Zm(Qm(a) || `请求失败(${i.status})`, i.status, a);+ if (!i.ok) throw new Xm(Zm(a) || `请求失败(${i.status})`, i.status, a);return a;}//#endregion//#region src/react/components/card.tsx-var eh = "min-w-0", th = {+var $m = "min-w-0", eh = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, nh = {+}, th = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface"-}, rh = {+}, nh = {line: "border border-border-button-default",soft: "border border-separator-border"-}, ih = {+}, rh = {none: "",default: "p-5"-}, ah = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", oh = "data-selected:bg-background-primary-default data-selected:ring-2 data-selected:ring-inset data-selected:ring-border-focus-ring";-function sh(e = {}) {+}, ih = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", ah = "data-selected:bg-background-primary-default data-selected:ring-2 data-selected:ring-inset data-selected:ring-border-focus-ring";+function oh(e = {}) {let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");return [- eh,- th[t],- nh[s],- ih[n],- a ? rh[a] : "",- r ? ah : "",- i ? oh : "",+ $m,+ eh[t],+ th[s],+ rh[n],+ a ? nh[a] : "",+ r ? ih : "",+ i ? ah : "",o ?? ""].filter(Boolean).join(" ");}//#endregion//#region src/react/components/empty-state.tsx-var ch = {+var sh = {page: "rounded-2xl border border-separator-border px-6 py-12",plain: "px-6 py-12",inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"};-function lh({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {+function ch({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {return /* @__PURE__ */ (0, w.jsxs)("div", {- className: `flex flex-col items-center gap-2 text-center ${ch[i]}`,+ className: `flex flex-col items-center gap-2 text-center ${sh[i]}`,children: [/* @__PURE__ */ (0, w.jsx)(e, {"aria-hidden": !0,@@ -20836,7 +20836,7 @@ function lh({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {}//#endregion//#region src/react/components/loading-dots.tsx-function uh({ label: e }) {+function lh({ label: e }) {return /* @__PURE__ */ (0, w.jsxs)("p", {role: "status",className: "flex items-center gap-2 text-caption-1-regular text-text-secondary",@@ -20853,7 +20853,7 @@ function uh({ label: e }) {}//#endregion//#region src/react/components/note.tsx-function q({ tone: e, title: t, action: n, extra: r, children: i }) {+function J({ tone: e, title: t, action: n, extra: r, children: i }) {let a = /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-3",children: [/* @__PURE__ */ (0, w.jsxs)("div", {@@ -20897,7 +20897,7 @@ function q({ tone: e, title: t, action: n, extra: r, children: i }) {}//#endregion//#region src/react/components/page.tsx-function dh({ children: e }) {+function uh({ children: e }) {return /* @__PURE__ */ (0, w.jsx)("div", {className: "mx-auto flex w-full max-w-board flex-col gap-8",children: e@@ -20905,7 +20905,7 @@ function dh({ children: e }) {}//#endregion//#region src/react/components/progress.tsx-function fh({ label: e, value: t, max: n = 100, stops: r = [] }) {+function dh({ label: e, value: t, max: n = 100, stops: r = [] }) {let i = Math.min(Math.max(t, 0), n);return /* @__PURE__ */ (0, w.jsxs)("svg", {role: "progressbar",@@ -20938,15 +20938,15 @@ function fh({ label: e, value: t, max: n = 100, stops: r = [] }) {}//#endregion//#region src/react/query.ts-var J = new Qe({ defaultOptions: { queries: {+var fh = new et({ defaultOptions: { queries: {networkMode: "always",retry: 0,refetchOnWindowFocus: !1,refetchOnMount: !1,retryOnMount: !1-} } }), ph = "/api/tasks", mh = ["tasks"], hh = 2e3, gh = 1e4, _h = (e) => e?.running.length ? hh : gh, vh = (e) => $m(ph, e);+} } }), ph = "/api/tasks", mh = ["tasks"], hh = 2e3, gh = 1e4, _h = (e) => e?.running.length ? hh : gh, vh = (e) => Qm(ph, e);async function yh(e) {- await J.fetchQuery({+ await fh.fetchQuery({queryKey: mh,queryFn: () => vh(e)});@@ -21030,7 +21030,7 @@ var Oh = {interrupted: "yellow"};function kh({ status: e }) {- return /* @__PURE__ */ (0, w.jsx)(Xm, {+ return /* @__PURE__ */ (0, w.jsx)(Ym, {color: Oh[e] ?? "neutral",children: Sh(e)});@@ -21063,7 +21063,7 @@ function jh({ run: e, meta: t, children: n, footer: r, followups: i }) {return /* @__PURE__ */ (0, w.jsxs)("li", {"data-status": e.status,"data-task-key": e.task_key,- className: sh({+ className: oh({padding: "none",bordered: "line",className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -21105,7 +21105,7 @@ function Mh({ run: e, followups: t }) {followups: t,children: n > 0 ? /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, w.jsx)(fh, {+ children: [/* @__PURE__ */ (0, w.jsx)(dh, {label: i,value: r,max: n@@ -21120,7 +21120,7 @@ function Mh({ run: e, followups: t }) {" 项"]})]- }) : /* @__PURE__ */ (0, w.jsx)(uh, { label: i })+ }) : /* @__PURE__ */ (0, w.jsx)(lh, { label: i })});}function Nh({ run: e, followups: t }) {@@ -21160,12 +21160,12 @@ function Fh({ live: e = !1, children: t }) {});}function Ih(e) {- let t = dt({+ let t = pt({queryKey: mh,queryFn: ({ signal: e }) => vh(e),refetchInterval: (e) => _h(e.state.data)- }), n = t.data, r = t.error ? G(t.error) : "";- if (!n) return /* @__PURE__ */ (0, w.jsx)(dh, { children: /* @__PURE__ */ (0, w.jsx)(q, {+ }), n = t.data, r = t.error ? K(t.error) : "";+ if (!n) return /* @__PURE__ */ (0, w.jsx)(uh, { children: /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",children: r || "读取任务中心失败"}) });@@ -21174,16 +21174,16 @@ function Ih(e) {...n.skipped || [],...n.finished || []], a = wh(i), o = new Set(i.map((e) => e.id)), s = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && o.has(e.parent_run_id))), c = s(n.running || []), l = s(n.skipped || []), u = s(n.finished || []).filter((e) => !l.some((t) => t.id === e.id)), d = !c.length && !l.length && !u.length;- return /* @__PURE__ */ (0, w.jsxs)(dh, { children: [- r ? /* @__PURE__ */ (0, w.jsx)(q, {+ return /* @__PURE__ */ (0, w.jsxs)(uh, { children: [+ r ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",children: r}) : null,- n.available === !1 ? /* @__PURE__ */ (0, w.jsx)(q, {+ n.available === !1 ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "warning",children: n.message || "账本上还没有任务中心的表"}) : null,- d ? /* @__PURE__ */ (0, w.jsx)(lh, {+ d ? /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: Xf,title: "还没有任务记录",@@ -21197,7 +21197,7 @@ function Ih(e) {run: e,followups: a.get(e.id)}, e.id))- }) : /* @__PURE__ */ (0, w.jsx)(q, {+ }) : /* @__PURE__ */ (0, w.jsx)(J, {tone: "neutral",children: "没有任务在跑。"})@@ -21274,7 +21274,7 @@ function Bh(e, t) {return n;}function Vh(e, t, n) {- let { ref: r, ...i } = Bh(n, e.slot) || {}, a = Br((0, C.useMemo)(() => xr(t, r), [t, r])), o = B(i, e);+ let { ref: r, ...i } = Bh(n, e.slot) || {}, a = Hr((0, C.useMemo)(() => Cr(t, r), [t, r])), o = R(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,@@ -21296,7 +21296,7 @@ function Hh(e = !0) {let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(!1), i = (0, C.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return Zt(() => {+ return $t(() => {r.current || n(!1);}, []), [i, t];}@@ -21306,8 +21306,8 @@ function Uh(e) {return n;}function Wh(e, t, n) {- let { render: r, ...i } = t, a = (0, C.useRef)(null), o = (0, C.useMemo)(() => xr(n, a), [n, a]);- Zt(() => {}, [e, r]);+ let { render: r, ...i } = t, a = (0, C.useRef)(null), o = (0, C.useMemo)(() => Cr(n, a), [n, a]);+ $t(() => {}, [e, r]);let s = {...i,ref: o@@ -21327,7 +21327,7 @@ var Gh = {}, Y = new Proxy({}, { get(e, t) {}};function Xh(e, t, n) {- return St({+ return wt({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -21366,7 +21366,7 @@ function $h(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var eg = /*#__PURE__*/ (0, C.createContext)({}), tg = /*#__PURE__*/ qr(function(e, t) {+var eg = /*#__PURE__*/ (0, C.createContext)({}), tg = /*#__PURE__*/ Yr(function(e, t) {[e, t] = Vh(e, t, eg);let { elementType: n = "label", ...r } = e, i = Y[n];return /*#__PURE__*/ C.createElement(i, {@@ -21374,9 +21374,9 @@ var eg = /*#__PURE__*/ (0, C.createContext)({}), tg = /*#__PURE__*/ qr(function(...r,ref: t});-}), ng = /*#__PURE__*/ (0, C.createContext)(null), rg = /*#__PURE__*/ (0, C.createContext)({}), ig = /*#__PURE__*/ qr(function(e, t) {+}), ng = /*#__PURE__*/ (0, C.createContext)(null), rg = /*#__PURE__*/ (0, C.createContext)({}), ig = /*#__PURE__*/ Yr(function(e, t) {[e, t] = Vh(e, t, rg);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Aa(e, t);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = ja(e, t);i = og(i, r);let { focusProps: o, isFocused: s, isFocusVisible: c } = Oc(e), { hoverProps: l, isHovered: u } = Fc({...e,@@ -21392,21 +21392,21 @@ var eg = /*#__PURE__*/ (0, C.createContext)({}), tg = /*#__PURE__*/ qr(function(...e,values: d,defaultClassName: "react-aria-Button"- }), p = vr(i.id), m = vr(), h = i["aria-labelledby"];+ }), p = br(i.id), m = br(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, C.useRef)(r);(0, C.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && co(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && lo(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = V(e, { global: !0 });+ let _ = B(e, { global: !0 });return delete _.onClick, /*#__PURE__*/ C.createElement(Y.button, {- ...B(_, f, i, o, l),+ ...R(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,ref: t,@@ -21438,7 +21438,7 @@ var sg = /*#__PURE__*/ (0, C.createContext)({}), cg = /*#__PURE__*/ (0, C.forwarref: t,className: i ?? "react-aria-Heading"}, n);-}), lg = /*#__PURE__*/ (0, C.createContext)({}), ug = /*#__PURE__*/ qr(function(e, t) {+}), lg = /*#__PURE__*/ (0, C.createContext)({}), ug = /*#__PURE__*/ Yr(function(e, t) {[e, t] = Vh(e, t, lg);let { elementType: n = "span", ...r } = e, i = Y[n];return /*#__PURE__*/ C.createElement(i, {@@ -21448,13 +21448,13 @@ var sg = /*#__PURE__*/ (0, C.createContext)({}), cg = /*#__PURE__*/ (0, C.forwar});}), dg = /*#__PURE__*/ (0, C.createContext)(null), fg = /*#__PURE__*/ (0, C.createContext)(null), pg = /*#__PURE__*/ (0, C.createContext)(null), mg = /*#__PURE__*/ (0, C.createContext)(null), hg = /*#__PURE__*/ (0, C.createContext)(null), gg = /*#__PURE__*/ (0, C.createContext)(null);function _g(e, t) {- let { validationBehavior: n } = Bh(fg) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, C.useContext)(hg), a = Br((0, C.useMemo)(() => xr(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ let { validationBehavior: n } = Bh(fg) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, C.useContext)(hg), a = Hr((0, C.useMemo)(() => Cr(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {...Uh(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? Jo(o, i, a) : Bo(o, qo(e), a), a];+ return [i ? Jo(o, i, a) : Vo(o, qo(e), a), a];}var vg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;@@ -21489,9 +21489,9 @@ var vg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = V(e, { global: !0 });+ }), b = B(e, { global: !0 });return delete b.id, delete b.onClick, /*#__PURE__*/ C.createElement(Y.label, {- ...B(b, n, _, y),+ ...R(b, n, _, y),ref: t,slot: e.slot || void 0,"data-selected": i || void 0,@@ -21505,7 +21505,7 @@ var vg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {"data-invalid": c || void 0,"data-required": f || void 0}, /*#__PURE__*/ C.createElement(Qo, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {- ...B(r, h),+ ...R(r, h),ref: l})), y.children);}), bg = /*#__PURE__*/ (0, C.createContext)({}), xg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {@@ -21529,7 +21529,7 @@ var vg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {defaultClassName: "react-aria-Group"});return /*#__PURE__*/ C.createElement(Y.div, {- ...B(c, p, l),+ ...R(c, p, l),...m,ref: t,role: e.role ?? "group",@@ -21544,7 +21544,7 @@ var vg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {}), Sg = /*#__PURE__*/ (0, C.createContext)({}), Cg = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, wg = /*#__PURE__*/ qr(function(e, t) {+}, wg = /*#__PURE__*/ Yr(function(e, t) {[e, t] = Vh(e, t, Sg);let { hoverProps: n, isHovered: r } = Fc({...e,@@ -21564,7 +21564,7 @@ var vg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {defaultClassName: "react-aria-Input"});return /*#__PURE__*/ C.createElement(Y.input, {- ...B(Cg(e), o, n),+ ...R(Cg(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -21963,7 +21963,7 @@ function p_(e) {//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjsvar m_ = /*#__PURE__*/ (0, C.createContext)({ isSelected: !1 }), h_ = /*#__PURE__*/ (0, C.createContext)({});-(class extends pt {+(class extends ht {static {this.type = "separator";}@@ -22486,14 +22486,14 @@ function A_(e, t) {//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjsfunction j_(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, C.useRef)(null), s = Di((e) => {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, C.useRef)(null), s = ki((e) => {for (let t of e) t.isIntersecting && r && r();});- Zt(() => {+ $t(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: po(t?.current),+ root: mo(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -22516,7 +22516,7 @@ var M_ = /*#__PURE__*/ (0, C.createContext)(null), N_ = /*#__PURE__*/ (0, C.creastate: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ C.createElement(ri, { content: /*#__PURE__*/ C.createElement(hi, e) }, (n) => /*#__PURE__*/ C.createElement(F_, {+ }) : /*#__PURE__*/ C.createElement(ai, { content: /*#__PURE__*/ C.createElement(_i, e) }, (n) => /*#__PURE__*/ C.createElement(F_, {props: e,listBoxRef: t,collection: n@@ -22541,7 +22541,7 @@ function F_({ props: e, listBoxRef: t, collection: n }) {}function I_({ state: e, props: t, listBoxRef: n }) {[t, n] = Vh(t, n, Kh);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = k_(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Bi(), { disabledBehavior: p, disabledKeys: m } = l, h = yc({+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = k_(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Hi(), { disabledBehavior: p, disabledKeys: m } = l, h = yc({usage: "search",sensitivity: "base"}), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, C.useContext)(Qh), b = (0, C.useMemo)(() => t.keyboardDelegate || new hs({@@ -22597,7 +22597,7 @@ function I_({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, w, n), E = w.isDropTarget({ type: "root" });}- let { focusProps: k, isFocused: A, isFocusVisible: j } = Oc(), M = s.collection.size === 0, N = {+ let { focusProps: k, isFocused: A, isFocusVisible: j } = Oc(), M = s.collection.size === 0, ee = {isDropTarget: E,isEmpty: M,isFocused: A,@@ -22605,19 +22605,19 @@ function I_({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, ee = zh({+ }, te = zh({...t,children: void 0,defaultClassName: "react-aria-ListBox",- values: N- }), te = null;- M && t.renderEmptyState && (te = /*#__PURE__*/ C.createElement("div", {+ values: ee+ }), ne = null;+ M && t.renderEmptyState && (ne = /*#__PURE__*/ C.createElement("div", {role: "option",style: { display: "contents" }- }, t.renderEmptyState(N)));- let P = V(t, { global: !0 });- return /*#__PURE__*/ C.createElement(Ia, null, /*#__PURE__*/ C.createElement(Y.div, {- ...B(P, ee, x, k, T?.collectionProps),+ }, t.renderEmptyState(ee)));+ let N = B(t, { global: !0 });+ return /*#__PURE__*/ C.createElement(La, null, /*#__PURE__*/ C.createElement(Y.div, {+ ...R(N, te, x, k, T?.collectionProps),ref: n,slot: t.slot || void 0,onScroll: t.onScroll,@@ -22646,7 +22646,7 @@ function I_({ state: e, props: t, listBoxRef: n }) {scrollRef: n,persistedKeys: u_(l, r, w),renderDropIndicator: l_(r, w)- }))), te, D));+ }))), ne, D));}function L_(e, t, n, r = "react-aria-ListBoxSection") {let i = (0, C.useContext)(N_), { dragAndDropHooks: a, dropState: o } = (0, C.useContext)(o_), { CollectionBranch: s } = (0, C.useContext)(Qh), [c, l] = Hh(), { headingProps: u, groupProps: d } = Ml({@@ -22658,9 +22658,9 @@ function L_(e, t, n, r = "react-aria-ListBoxSection") {children: void 0,defaultClassName: r,values: void 0- }), p = V(e, { global: !0 });+ }), p = B(e, { global: !0 });return delete p.id, /*#__PURE__*/ C.createElement(Y.section, {- ...B(p, f, d),+ ...R(p, f, d),ref: t}, /*#__PURE__*/ C.createElement(d_.Provider, { value: {...u,@@ -22671,8 +22671,8 @@ function L_(e, t, n, r = "react-aria-ListBoxSection") {renderDropIndicator: l_(a, o)})));}-var R_ = /*#__PURE__*/ di(gt, function(e, t, n) {- let r = Br(t), i = (0, C.useContext)(N_), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, C.useContext)(o_), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Nl({+var R_ = /*#__PURE__*/ pi(vt, function(e, t, n) {+ let r = Hr(t), i = (0, C.useContext)(N_), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, C.useContext)(o_), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Nl({key: n.key,"aria-label": e?.["aria-label"]}, i, r), { hoverProps: p, isHovered: m } = Fc({@@ -22680,7 +22680,7 @@ var R_ = /*#__PURE__*/ di(gt, function(e, t, n) {onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = zr(e), { focusProps: g } = Tr(e), _ = null;+ }), { keyboardProps: h } = Vr(e), { focusProps: g } = Dr(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -22709,9 +22709,9 @@ var R_ = /*#__PURE__*/ di(gt, function(e, t, n) {(0, C.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? Y.a : Y.div, S = V(e, { global: !0 });+ let x = e.href ? Y.a : Y.div, S = B(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ C.createElement(x, {- ...B(S, b, l, p, h, g, _?.dragProps, v?.dropProps),+ ...R(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,"data-allows-dragging": !!o || void 0,"data-selected": f.isSelected || void 0,@@ -22730,7 +22730,7 @@ var R_ = /*#__PURE__*/ di(gt, function(e, t, n) {} }], [m_, { isSelected: f.isSelected }]] }, b.children));});function z_(e, t) {- t = Br(t);+ t = Hr(t);let { dragAndDropHooks: n, dropState: r } = (0, C.useContext)(o_), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);return a ? null : /*#__PURE__*/ C.createElement(V_, {...e,@@ -22754,7 +22754,7 @@ function B_(e, t) {}));}var V_ = /*#__PURE__*/ (0, C.forwardRef)(B_);-di(ht, function(e, t, n) {+pi(_t, function(e, t, n) {let r = (0, C.useContext)(N_), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, C.useRef)(null);j_((0, C.useMemo)(() => ({onLoadMore: a,@@ -22789,7 +22789,7 @@ di(ht, function(e, t, n) {width: 1}})), i && l.children && /*#__PURE__*/ C.createElement(C.Fragment, null, /*#__PURE__*/ C.createElement(Y.div, {- ...B(V(e, { global: !0 }), { tabIndex: -1 }),+ ...R(B(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t@@ -22822,7 +22822,7 @@ function U_(e) {//#region node_modules/react-aria/dist/private/utils/animation.mjsfunction W_(e, t = !0) {let [n, r] = (0, C.useState)(!0), i = n && t;- return Zt(() => {+ return $t(() => {if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();}, [e, i]), K_(e, i, (0, C.useCallback)(() => r(!1), [])), i;}@@ -22841,7 +22841,7 @@ function G_(e, t) {}, [])), i;}function K_(e, t, n) {- Zt(() => {+ $t(() => {if (t && e.current) {if (!("getAnimations" in e.current)) {n();@@ -22854,7 +22854,7 @@ function K_(e, t, n) {}let r = !1;return Promise.allSettled(t.map((e) => e.finished)).then(() => {- r || (0, $r.flushSync)(() => {+ r || (0, ti.flushSync)(() => {n();});}), () => {@@ -22871,7 +22871,7 @@ function K_(e, t, n) {//#region node_modules/react-aria-components/dist/private/Popover.mjsvar q_ = /*#__PURE__*/ (0, C.createContext)(null), J_ = /*#__PURE__*/ (0, C.createContext)(null), Y_ = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {[e, t] = Vh(e, t, q_);- let n = (0, C.useContext)(Q_), r = U_(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = G_(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Jr(), { direction: c } = Bi();+ let n = (0, C.useContext)(Q_), r = U_(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = G_(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Xr(), { direction: c } = Hi();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -22907,10 +22907,10 @@ function X_({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextsisExiting: t}}), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, C.useState)(i.trigger === "PreviewTrigger");- Zt(() => {+ $t(() => {m.current && b(v && !m.current.querySelector("[role=dialog]"));}, [m, v]), (0, C.useEffect)(() => {- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || er() !== "pointer") && m.current && !Bt(m.current) && dr(m.current);+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || nr() !== "pointer") && m.current && !Ht(m.current) && pr(m.current);}, [y,m,@@ -22923,7 +22923,7 @@ function X_({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts}, [_.children, r]), [S, w] = (0, C.useState)(null), T = (0, C.useCallback)(() => {i.triggerRef.current && w(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- Zt(T, [T]), Fl({+ $t(T, [T]), Fl({ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: T});@@ -22933,7 +22933,7 @@ function X_({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts..._.style,"--trigger-width": _.style?.["--trigger-width"] || S}, D = /*#__PURE__*/ C.createElement(Y.div, {- ...B(V(i, { global: !0 }), l),+ ...R(B(i, { global: !0 }), l),..._,id: y ? i.id : void 0,role: y ? "dialog" : void 0,@@ -22991,9 +22991,9 @@ var Z_ = /*#__PURE__*/ (0, C.createContext)(null), Q_ = /*#__PURE__*/ (0, C.creastyle: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = V(e, { global: !0 });+ }), c = B(e, { global: !0 });return /*#__PURE__*/ C.createElement(Y.section, {- ...B(c, s, r),+ ...R(c, s, r),render: e.render,ref: t,slot: e.slot || void 0@@ -23016,7 +23016,7 @@ var Z_ = /*#__PURE__*/ (0, C.createContext)(null), Q_ = /*#__PURE__*/ (0, C.crea] }, s.children));}), ev = typeof document < "u" && window.visualViewport;function tv() {- let e = In(), [t, n] = (0, C.useState)(() => e ? {+ let e = Rn(), [t, n] = (0, C.useState)(() => e ? {width: 0,height: 0} : nv());@@ -23026,16 +23026,16 @@ function tv() {}, t = () => {ev && ev.scale > 1 || e(nv());}, r, i = (t) => {- ev && ev.scale > 1 || Ti(z(t)) && (r = requestAnimationFrame(() => {- let t = Rt();- (!t || !Ti(t)) && e({+ ev && ev.scale > 1 || Di(L(t)) && (r = requestAnimationFrame(() => {+ let t = Bt();+ (!t || !Di(t)) && e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(nv()), un() && fn() && window.addEventListener("blur", i, !0), ev ? ev.addEventListener("resize", t) : window.addEventListener("resize", t), () => {- cancelAnimationFrame(r), un() && fn() && window.removeEventListener("blur", i, !0), ev ? ev.removeEventListener("resize", t) : window.removeEventListener("resize", t);+ return e(nv()), fn() && mn() && window.addEventListener("blur", i, !0), ev ? ev.addEventListener("resize", t) : window.addEventListener("resize", t), () => {+ cancelAnimationFrame(r), fn() && mn() && window.removeEventListener("blur", i, !0), ev ? ev.removeEventListener("resize", t) : window.removeEventListener("resize", t);};}, []), t;}@@ -23070,7 +23070,7 @@ var rv = /*#__PURE__*/ (0, C.createContext)(null), iv = /*#__PURE__*/ (0, C.crea});function ov(e, t) {[e, t] = Vh(e, t, rv);- let n = (0, C.useContext)(Q_), r = U_(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Br(t), o = (0, C.useRef)(null), s = G_(a, i.isOpen), c = G_(o, i.isOpen), l = s || c || e.isExiting || !1, u = In();+ let n = (0, C.useContext)(Q_), r = U_(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Hr(t), o = (0, C.useRef)(null), s = G_(a, i.isOpen), c = G_(o, i.isOpen), l = s || c || e.isExiting || !1, u = Rn();return !i.isOpen && !l || u ? null : /*#__PURE__*/ C.createElement(cv, {...e,state: i,@@ -23091,7 +23091,7 @@ function cv({ UNSTABLE_portalContainer: e, ...t }) {}}), c = tv(), l, u;if (typeof document < "u") {- let e = fo(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = po(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 = {@@ -23105,7 +23105,7 @@ function cv({ UNSTABLE_portalContainer: e, ...t }) {isExiting: t.isExiting,portalContainer: e}, /*#__PURE__*/ C.createElement(Y.div, {- ...B(V(t, { global: !0 }), a),+ ...R(B(t, { global: !0 }), a),...s,style: d,ref: t.overlayRef,@@ -23119,7 +23119,7 @@ function cv({ UNSTABLE_portalContainer: e, ...t }) {}], [Q_, r]] }, s.children)));}function lv(e) {- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, C.useContext)(iv), a = (0, C.useContext)(Q_), o = Br((0, C.useMemo)(() => xr(e.modalRef, n), [e.modalRef, n])), s = W_(o), c = zh({+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, C.useContext)(iv), a = (0, C.useContext)(Q_), o = Hr((0, C.useMemo)(() => Cr(e.modalRef, n), [e.modalRef, n])), s = W_(o), c = zh({...e,defaultClassName: "react-aria-Modal",values: {@@ -23129,7 +23129,7 @@ function lv(e) {}});return /*#__PURE__*/ C.createElement(Y.div, {- ...B(V(e, { global: !0 }), t),+ ...R(B(e, { global: !0 }), t),...c,ref: o,"data-entering": s || void 0,@@ -23140,7 +23140,7 @@ function lv(e) {//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjsvar uv = Math.round(Math.random() * 1e10), dv = 0;function fv(e) {- let t = (0, C.useMemo)(() => e.name || `radio-group-${uv}-${++dv}`, [e.name]), [n, r] = Ko(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, C.useState)(n), [a, o] = (0, C.useState)(null), s = No({+ let t = (0, C.useMemo)(() => e.name || `radio-group-${uv}-${++dv}`, [e.name]), [n, r] = Ko(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, C.useState)(n), [a, o] = (0, C.useState)(null), s = Po({...e,value: n}), c = (t) => {@@ -23183,9 +23183,9 @@ var pv = /*#__PURE__*/ (0, C.createContext)(null), mv = /*#__PURE__*/ (0, C.creastate: i},defaultClassName: "react-aria-RadioGroup"- }), p = V(e, { global: !0 });+ }), p = B(e, { global: !0 });return /*#__PURE__*/ C.createElement(Y.div, {- ...B(p, f, s),+ ...R(p, f, s),ref: t,slot: e.slot || void 0,"data-orientation": e.orientation || "vertical",@@ -23209,7 +23209,7 @@ var pv = /*#__PURE__*/ (0, C.createContext)(null), mv = /*#__PURE__*/ (0, C.crea}), _v = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;[e, t] = Vh(r, t, mv);- let i = C.useContext(hv), a = Br((0, C.useMemo)(() => xr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = id({+ let i = C.useContext(hv), a = Hr((0, C.useMemo)(() => Cr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = id({...Uh(e),children: typeof e.children == "function" || e.children}, i, a);@@ -23239,9 +23239,9 @@ var pv = /*#__PURE__*/ (0, C.createContext)(null), mv = /*#__PURE__*/ (0, C.creaisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = V(e, { global: !0 });+ }), _ = B(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ C.createElement(Y.label, {- ...B(_, n, m, g),+ ...R(_, n, m, g),ref: t,"data-selected": i || void 0,"data-pressed": o || void 0,@@ -23253,7 +23253,7 @@ var pv = /*#__PURE__*/ (0, C.createContext)(null), mv = /*#__PURE__*/ (0, C.crea"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0}, /*#__PURE__*/ C.createElement(Qo, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {- ...B(r, f),+ ...R(r, f),ref: c})), g.children);});@@ -23291,7 +23291,7 @@ function bv(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, C.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = No({+ }), f = d.selectionManager.firstSelectedKey, p = (0, C.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = Po({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, C.useState)(!1), [_] = (0, C.useState)(l);@@ -23326,7 +23326,7 @@ function xv(e) {function Sv(e) {return e && e.__esModule ? e.default : e;}-var Cv = /*#__PURE__*/ (0, C.createContext)(null), wv = /*#__PURE__*/ (0, C.createContext)(null), Tv = /*#__PURE__*/ qr(function(e, t) {+var Cv = /*#__PURE__*/ (0, C.createContext)(null), wv = /*#__PURE__*/ (0, C.createContext)(null), Tv = /*#__PURE__*/ Yr(function(e, t) {[e, t] = Vh(e, t, Cv);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, C.useMemo)(() => typeof n == "function" ? n({isOpen: !1,@@ -23342,7 +23342,7 @@ var Cv = /*#__PURE__*/ (0, C.createContext)(null), wv = /*#__PURE__*/ (0, C.creai,a]);- return /*#__PURE__*/ C.createElement(ri, { content: o }, (n) => /*#__PURE__*/ C.createElement(Dv, {+ return /*#__PURE__*/ C.createElement(ai, { content: o }, (n) => /*#__PURE__*/ C.createElement(Dv, {props: e,collection: n,selectRef: t@@ -23380,7 +23380,7 @@ function Dv({ props: e, selectRef: t, collection: n }) {...e,values: y,defaultClassName: "react-aria-Select"- }), x = V(e, { global: !0 });+ }), x = B(e, { global: !0 });delete x.id;let S = (0, C.useRef)(null);return /*#__PURE__*/ C.createElement(Rh, { values: [@@ -23418,7 +23418,7 @@ function Dv({ props: e, selectRef: t, collection: n }) {} }],[dg, v]] }, /*#__PURE__*/ C.createElement(Y.div, {- ...B(x, b, s),+ ...R(x, b, s),ref: t,slot: e.slot || void 0,"data-focused": a.isFocused || void 0,@@ -23432,7 +23432,7 @@ function Dv({ props: e, selectRef: t, collection: n }) {autoComplete: e.autoComplete})));}-for (var Ov = /*#__PURE__*/ (0, C.createContext)(null), kv = /*#__PURE__*/ qr(function(e, t) {+for (var Ov = /*#__PURE__*/ (0, C.createContext)(null), kv = /*#__PURE__*/ Yr(function(e, t) {[e, t] = Vh(e, t, Ov);let n = (0, C.useContext)(wv), { placeholder: r } = Bh(Cv), i = n.selectedItems.map((e) => {let t = e.props?.children;@@ -23461,7 +23461,7 @@ for (var Ov = /*#__PURE__*/ (0, C.createContext)(null), kv = /*#__PURE__*/ qr(fua,o,i- ]), u = ea(Sv(a_), "react-aria-components"), d = zh({+ ]), u = na(Sv(a_), "react-aria-components"), d = zh({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -23472,7 +23472,7 @@ for (var Ov = /*#__PURE__*/ (0, C.createContext)(null), kv = /*#__PURE__*/ qr(fuisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = V(e, { global: !0 });+ }), f = B(e, { global: !0 });return /*#__PURE__*/ C.createElement(Y.span, {ref: t,...f,@@ -23482,7 +23482,7 @@ for (var Ov = /*#__PURE__*/ (0, C.createContext)(null), kv = /*#__PURE__*/ qr(fu}), Av = /*#__PURE__*/ (0, C.createContext)(null), jv = /*#__PURE__*/ (0, C.createContext)(null), Mv = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;[e, t] = Vh(r, t, Av);- let i = Br((0, C.useMemo)(() => xr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = qo(e), o = ud({+ let i = Hr((0, C.useMemo)(() => Cr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = qo(e), o = ud({...Uh(e),children: typeof e.children == "function" || e.children}, a, i);@@ -23513,9 +23513,9 @@ for (var Ov = /*#__PURE__*/ (0, C.createContext)(null), kv = /*#__PURE__*/ qr(fuisRequired: d || !1,state: g}- }), b = V(e, { global: !0 });+ }), b = B(e, { global: !0 });return delete b.id, delete b.onClick, /*#__PURE__*/ C.createElement(Y.label, {- ...B(b, n, _, y),+ ...R(b, n, _, y),ref: t,slot: e.slot || void 0,"data-selected": i || void 0,@@ -23528,7 +23528,7 @@ for (var Ov = /*#__PURE__*/ (0, C.createContext)(null), kv = /*#__PURE__*/ qr(fu"data-invalid": c || void 0,"data-required": d || void 0}, /*#__PURE__*/ C.createElement(Qo, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {- ...B(r, m),+ ...R(r, m),ref: l})), y.children);}), Fv = 10, Iv = 5, Lv = class {@@ -24008,7 +24008,7 @@ function Kv(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Table.mjs-var qv = class extends _t {+var qv = class extends yt {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -24144,8 +24144,8 @@ var qv = class extends _t {i,a,o- ]), c = /*#__PURE__*/ C.createElement(ny.Provider, { value: s }, /*#__PURE__*/ C.createElement(hi, e));- return /*#__PURE__*/ C.createElement(ri, {+ ]), c = /*#__PURE__*/ C.createElement(ny.Provider, { value: s }, /*#__PURE__*/ C.createElement(_i, e));+ return /*#__PURE__*/ C.createElement(ai, {content: c,createCollection: () => new qv()}, (r) => /*#__PURE__*/ C.createElement(ty, {@@ -24176,7 +24176,7 @@ var qv = class extends _t {function ty({ props: e, forwardedRef: t, selectionState: n, collection: r }) {[e, t] = Vh(e, t, Kh);let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, C.useContext)(Jv);- t = Br((0, C.useMemo)(() => xr(t, c?.tableRef), [t, c?.tableRef]));+ t = Hr((0, C.useMemo)(() => Cr(t, c?.tableRef), [t, c?.tableRef]));let [l, u] = Ko(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, C.useMemo)(() => r.withExpandedKeys(l), [r, l]);let d = Gv({@@ -24192,7 +24192,7 @@ function ty({ props: e, forwardedRef: t, selectionState: n, collection: r }) {isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, C.useRef)(b), (0, C.useRef)(x), (0, C.useEffect)(() => {}, [b, x]);- let S, w, T, E = !1, D = null, O = (0, C.useRef)(null), { direction: k } = Bi(), [A] = (0, C.useState)(() => new Lv());+ let S, w, T, E = !1, D = null, O = (0, C.useRef)(null), { direction: k } = Hi(), [A] = (0, C.useState)(() => new Lv());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -24232,26 +24232,26 @@ function ty({ props: e, forwardedRef: t, selectionState: n, collection: r }) {}}, w, t), E = w.isDropTarget({ type: "root" });}- let { focusProps: j, isFocused: M, isFocusVisible: N } = Oc(), ee = zh({+ let { focusProps: j, isFocused: M, isFocusVisible: ee } = Oc(), te = zh({...e,children: void 0,defaultClassName: "react-aria-Table",values: {isDropTarget: E,isFocused: M,- isFocusVisible: N,+ isFocusVisible: ee,state: f}- }), te = !!(b && !S?.isDisabled), P = ee.style, ne = null;- c && (ne = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (P = {- ...P,+ }), ne = !!(b && !S?.isDisabled), N = te.style, re = null;+ c && (re = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (N = {+ ...N,tableLayout: "fixed",width: "min-content"}));- let re = V(e, { global: !0 });+ let ie = B(e, { global: !0 });return /*#__PURE__*/ C.createElement(Rh, { values: [[Xv, f],- [Zv, ne],+ [Zv, re],[o_, {dragAndDropHooks: _,dragState: S,@@ -24260,23 +24260,23 @@ function ty({ props: e, forwardedRef: t, selectionState: n, collection: r }) {[s_, { render: Sy }],[Kh, null],[qh, null]- ] }, /*#__PURE__*/ C.createElement(Ia, null, /*#__PURE__*/ C.createElement($v, {- ...B(re, ee, v, j, T?.collectionProps),- style: P,+ ] }, /*#__PURE__*/ C.createElement(La, null, /*#__PURE__*/ C.createElement($v, {+ ...R(ie, te, v, j, T?.collectionProps),+ style: N,ref: t,slot: e.slot || void 0,onScroll: e.onScroll,- "data-allows-dragging": te || void 0,+ "data-allows-dragging": ne || void 0,"data-drop-target": E || void 0,"data-focused": M || void 0,- "data-focus-visible": N || void 0+ "data-focus-visible": ee || void 0}, /*#__PURE__*/ C.createElement(p_, null, /*#__PURE__*/ C.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,persistedKeys: u_(y, _, w)})))), D);}-var ny = /*#__PURE__*/ (0, C.createContext)(null), ry = class extends pt {+var ny = /*#__PURE__*/ (0, C.createContext)(null), ry = class extends ht {static {this.type = "tableheader";}@@ -24289,8 +24289,8 @@ var ny = /*#__PURE__*/ (0, C.createContext)(null), ry = class extends pt {...e,ref: t});-}), ay = /*#__PURE__*/ fi(ry, (e, t) => {- let n = (0, C.useContext)(Xv).collection, r = St({+}), ay = /*#__PURE__*/ mi(ry, (e, t) => {+ let n = (0, C.useContext)(Xv).collection, r = wt({items: n.headerRows,children: (0, C.useCallback)((e) => {switch (e.type) {@@ -24309,12 +24309,12 @@ var ny = /*#__PURE__*/ (0, C.createContext)(null), ry = class extends pt {values: { isHovered: o }});return /*#__PURE__*/ C.createElement(iy, {- ...B(V(e, { global: !0 }), i, a),+ ...R(B(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ C.createElement(hi, {+}, (e) => /*#__PURE__*/ C.createElement(_i, {dependencies: e.dependencies,items: e.columns}, e.children)), oy = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {@@ -24340,7 +24340,7 @@ function sy({ item: e }) {parent: e})));}-var cy = class extends pt {+var cy = class extends ht {static {this.type = "column";}@@ -24353,8 +24353,8 @@ var cy = class extends pt {...e,ref: t});-}), uy = /*#__PURE__*/ di(cy, (e, t, n) => {- let r = Br(t), i = (0, C.useContext)(Xv), { isVirtualized: a } = (0, C.useContext)(Qh), { columnHeaderProps: o, isPressed: s } = lf({+}), uy = /*#__PURE__*/ pi(cy, (e, t, n) => {+ let r = Hr(t), i = (0, C.useContext)(Xv), { isVirtualized: a } = (0, C.useContext)(Qh), { columnHeaderProps: o, isPressed: s } = lf({node: n,isVirtualized: a,focusMode: e.focusMode,@@ -24387,9 +24387,9 @@ var cy = class extends pt {...g,width: d.getColumnWidth(n.key)});- let _ = V(e, { global: !0 });+ let _ = B(e, { global: !0 });return delete _.id, /*#__PURE__*/ C.createElement(ly, {- ...B(_, o, u, p),+ ...R(_, o, u, p),...h,style: g,ref: r,@@ -24404,7 +24404,7 @@ var cy = class extends pt {column: n,triggerRef: r}], [Qh, Yh]] }, h.children));-}), dy = /*#__PURE__*/ (0, C.createContext)(null), fy = class extends mt {+}), dy = /*#__PURE__*/ (0, C.createContext)(null), fy = class extends gt {static {this.type = "tablebody";}@@ -24417,7 +24417,7 @@ var cy = class extends pt {...e,ref: t});-}), my = /*#__PURE__*/ fi(fy, (e, t, n) => {+}), my = /*#__PURE__*/ mi(fy, (e, t, n) => {let r = (0, C.useContext)(Xv), { isVirtualized: i } = (0, C.useContext)(Qh), a = r.collection, { CollectionBranch: o } = (0, C.useContext)(Qh), { dragAndDropHooks: s, dropState: c } = (0, C.useContext)(o_), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d@@ -24440,9 +24440,9 @@ var cy = class extends pt {style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = _f(), _ = V(e, { global: !0 });+ let { rowGroupProps: g } = _f(), _ = B(e, { global: !0 });return /*#__PURE__*/ C.createElement(py, {- ...B(_, p, g),+ ...R(_, p, g),ref: t,"data-empty": d || void 0}, l && /*#__PURE__*/ C.createElement(Dy, null), /*#__PURE__*/ C.createElement(o, {@@ -24451,12 +24451,12 @@ var cy = class extends pt {renderDropIndicator: l_(s, c)}), m);});-(class extends mt {+(class extends gt {static {this.type = "tablefooter";}});-var hy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), gy = class extends pt {+var hy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), gy = class extends ht {static {this.type = "item";}@@ -24477,8 +24477,8 @@ var hy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), gy...e,ref: t});-}), vy = /*#__PURE__*/ fi(gy, (e, t, n) => {- let r = Br(t), i = (0, C.useContext)(Xv), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, C.useContext)(o_), { isVirtualized: c, CollectionBranch: l } = (0, C.useContext)(Qh), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = mf({+}), vy = /*#__PURE__*/ mi(gy, (e, t, n) => {+ let r = Hr(t), i = (0, C.useContext)(Xv), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, C.useContext)(o_), { isVirtualized: c, CollectionBranch: l } = (0, C.useContext)(Qh), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = mf({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c@@ -24502,7 +24502,7 @@ var hy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), gy(0, C.useEffect)(() => {o && D.current;}, []);- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = zh({+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), ee = zh({...A,id: void 0,defaultClassName: "react-aria-Row",@@ -24523,8 +24523,8 @@ var hy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), gyisExpanded: M,level: n.level + 1}- }), ee = V(e, { global: !0 });- return delete ee.id, delete ee.onClick, /*#__PURE__*/ C.createElement(C.Fragment, null, w && !w.isHidden && /*#__PURE__*/ C.createElement(_y, {+ }), te = B(e, { global: !0 });+ return delete te.id, delete te.onClick, /*#__PURE__*/ C.createElement(C.Fragment, null, w && !w.isHidden && /*#__PURE__*/ C.createElement(_y, {role: "row",style: { height: 0 }}, /*#__PURE__*/ C.createElement(by, {@@ -24537,7 +24537,7 @@ var hy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), gy...w.dropIndicatorProps,ref: T}))), /*#__PURE__*/ C.createElement(_y, {- ...B(ee, N, d, g, y, S?.dragProps, v),+ ...R(te, ee, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,"data-selected": p.isSelected || void 0,@@ -24579,12 +24579,12 @@ var hy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), gy}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ C.createElement(hi, {+ return /*#__PURE__*/ C.createElement(_i, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), yy = class extends pt {+}), yy = class extends ht {static {this.type = "cell";}@@ -24597,8 +24597,8 @@ var hy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), gy...e,ref: t});-}), xy = /*#__PURE__*/ di(yy, (e, t, n) => {- let r = Br(t), i = (0, C.useContext)(Xv), { dragState: a } = (0, C.useContext)(o_), { isVirtualized: o } = (0, C.useContext)(Qh);+}), xy = /*#__PURE__*/ pi(yy, (e, t, n) => {+ let r = Hr(t), i = (0, C.useContext)(Xv), { dragState: a } = (0, C.useContext)(o_), { isVirtualized: o } = (0, C.useContext)(Qh);n.column = i.collection.columns[n.index];let { gridCellProps: s, isPressed: c } = sf({node: n,@@ -24625,9 +24625,9 @@ var hy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), gylevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = V(e, { global: !0 });+ }), S = B(e, { global: !0 });return delete S.id, /*#__PURE__*/ C.createElement(by, {- ...B(S, x, s, d, f),+ ...R(S, x, s, d, f),ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,@@ -24643,7 +24643,7 @@ var hy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), gy}, /*#__PURE__*/ C.createElement(Qh.Provider, { value: Yh }, x.children));});function Sy(e, t) {- t = Br(t);+ t = Hr(t);let { dragAndDropHooks: n, dropState: r } = (0, C.useContext)(o_), i = (0, C.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;@@ -24683,7 +24683,7 @@ function Ty(e, t) {values: { isDropTarget: r }});return /*#__PURE__*/ C.createElement(Cy, {- ...V(e, { global: !0 }),+ ...B(e, { global: !0 }),...l,role: "row",ref: t,@@ -24718,7 +24718,7 @@ function Dy() {ref: r})));}-di(ht, function(e, t, n) {+pi(_t, function(e, t, n) {let r = (0, C.useContext)(Xv), { isVirtualized: i } = (0, C.useContext)(Qh), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, C.useRef)(null);j_((0, C.useMemo)(() => ({onLoadMore: o,@@ -24753,7 +24753,7 @@ di(ht, function(e, t, n) {width: 1}}))), a && d.children && /*#__PURE__*/ C.createElement(_y, {- ...B(V(e, { global: !0 }), f),+ ...R(B(e, { global: !0 }), f),...d,role: "row",ref: t,@@ -24824,7 +24824,7 @@ var jy = /*#__PURE__*/ (0, C.createContext)(null), My = /*#__PURE__*/ (0, C.creareturn n = (0, C.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ C.createElement(ri, { content: n }, (n) => /*#__PURE__*/ C.createElement(Py, {+ }) : n, [n, r]), /*#__PURE__*/ C.createElement(ai, { content: n }, (n) => /*#__PURE__*/ C.createElement(Py, {props: e,collection: n,tabsRef: t@@ -24847,9 +24847,9 @@ function Py({ props: e, tabsRef: t, collection: n }) {...e,defaultClassName: "react-aria-Tabs",values: c- }), u = V(e, { global: !0 });+ }), u = B(e, { global: !0 });return /*#__PURE__*/ C.createElement(Y.div, {- ...B(u, l, a),+ ...R(u, l, a),ref: t,slot: e.slot || void 0,"data-focused": o || void 0,@@ -24862,10 +24862,10 @@ var Fy = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {return (0, C.useContext)(My) ? /*#__PURE__*/ C.createElement(Iy, {props: e,forwardedRef: t- }) : /*#__PURE__*/ C.createElement(hi, e);+ }) : /*#__PURE__*/ C.createElement(_i, e);});function Iy({ props: e, forwardedRef: t }) {- let n = (0, C.useContext)(My), { CollectionRoot: r } = (0, C.useContext)(Qh), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Bh(jy), o = Br(t), { tabListProps: s } = Tf({+ let n = (0, C.useContext)(My), { CollectionRoot: r } = (0, C.useContext)(Qh), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Bh(jy), o = Hr(t), { tabListProps: s } = Tf({...e,orientation: i,keyboardActivation: a@@ -24877,9 +24877,9 @@ function Iy({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = V(e, { global: !0 });+ }), l = B(e, { global: !0 });return delete l.id, /*#__PURE__*/ C.createElement(Y.div, {- ...B(l, c, s),+ ...R(l, c, s),ref: o,"data-orientation": i || void 0}, /*#__PURE__*/ C.createElement(p_, null, /*#__PURE__*/ C.createElement(r, {@@ -24887,12 +24887,12 @@ function Iy({ props: e, forwardedRef: t }) {persistedKeys: $h(n.selectionManager.focusedKey)})));}-var Ly = /*#__PURE__*/ di(class extends pt {+var Ly = /*#__PURE__*/ pi(class extends ht {static {this.type = "item";}}, (e, t, n) => {- let r = (0, C.useContext)(My), i = Br(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Cf({+ let r = (0, C.useContext)(My), i = Hr(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Cf({key: n.key,...e}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Oc(), { hoverProps: f, isHovered: p } = Fc({@@ -24913,9 +24913,9 @@ var Ly = /*#__PURE__*/ di(class extends pt {isPressed: c,isHovered: p}- }), h = n.props.href ? Y.a : Y.div, g = V(e, { global: !0 });+ }), h = n.props.href ? Y.a : Y.div, g = B(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ C.createElement(h, {- ...B(g, m, a, l, f),+ ...R(g, m, a, l, f),ref: i,"data-selected": o || void 0,"data-disabled": s || void 0,@@ -24924,8 +24924,8 @@ var Ly = /*#__PURE__*/ di(class extends pt {"data-pressed": c || void 0,"data-hovered": p || void 0}, /*#__PURE__*/ C.createElement(m_.Provider, { value: { isSelected: o } }, m.children));-}), Ry = /*#__PURE__*/ qr(function(e, t) {- let n = (0, C.useContext)(My), r = Br(t), i = n.selectedKey === e.id, [a, o] = (0, C.useState)(n.selectedKey == null ? null : i);+}), Ry = /*#__PURE__*/ Yr(function(e, t) {+ let n = (0, C.useContext)(My), r = Hr(t), i = n.selectedKey === e.id, [a, o] = (0, C.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);let s = G_(r, i);return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ C.createElement(zy, {@@ -24947,9 +24947,9 @@ function zy(e) {isExiting: a,state: t}- }), m = V(o, { global: !0 });+ }), m = B(o, { global: !0 });delete m.id;- let h = d ? B(m, s, c, p) : B(m, p);+ let h = d ? R(m, s, c, p) : R(m, p);return /*#__PURE__*/ C.createElement(Y.div, {...h,ref: r,@@ -24963,7 +24963,7 @@ function zy(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var By = /*#__PURE__*/ (0, C.createContext)({}), Vy = /*#__PURE__*/ (0, C.createContext)(null), Hy = /*#__PURE__*/ qr(function(e, t) {+var By = /*#__PURE__*/ (0, C.createContext)({}), Vy = /*#__PURE__*/ (0, C.createContext)(null), Hy = /*#__PURE__*/ Yr(function(e, t) {[e, t] = Vh(e, t, Vy);let { validationBehavior: n } = Bh(fg) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, C.useRef)(null);[e, i] = Vh(e, i, qh);@@ -24983,7 +24983,7 @@ var By = /*#__PURE__*/ (0, C.createContext)({}), Vy = /*#__PURE__*/ (0, C.createisRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = V(e, { global: !0 });+ }), g = B(e, { global: !0 });return delete g.id, /*#__PURE__*/ C.createElement(Y.div, {...g,...h,@@ -25017,7 +25017,7 @@ var By = /*#__PURE__*/ (0, C.createContext)({}), Vy = /*#__PURE__*/ (0, C.create} }],[dg, p]] }, h.children));-}), Uy = Jm({+}), Uy = qm({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -25076,7 +25076,7 @@ function X({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, w.jsxs)("button", {ref: c,type: s,- className: W(Uy.base, Uy.size[t], Uy.variant[e], n && Uy.iconOnlySize[t], o),+ className: G(Uy.base, Uy.size[t], Uy.variant[e], n && Uy.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, w.jsx)(r, {@@ -25097,7 +25097,7 @@ function X({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadifunction Wy({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, w.jsxs)("a", {ref: s,- className: W(Uy.base, Uy.size[t], Uy.variant[e], n && Uy.iconOnlySize[t], o),+ className: G(Uy.base, Uy.size[t], Uy.variant[e], n && Uy.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, w.jsx)(r, {@@ -25117,7 +25117,7 @@ function Wy({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead}//#endregion//#region src/react/boardui/components/base/buttons/icon-button.tsx-var Gy = Jm({+var Gy = qm({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -25142,7 +25142,7 @@ function Ky({ icon: e, size: t = "medium", className: n, type: r = "button", refreturn /* @__PURE__ */ (0, w.jsx)("button", {ref: i,type: r,- className: W(Gy.base, Gy.size[t], n),+ className: G(Gy.base, Gy.size[t], n),...a,children: /* @__PURE__ */ (0, w.jsx)(e, {className: Gy.icon[t],@@ -25156,7 +25156,7 @@ function qy({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrreturn /* @__PURE__ */ (0, w.jsxs)(tg, {"data-label": "true",...a,- className: W("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: G("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, w.jsx)("span", {@@ -25177,7 +25177,7 @@ function Jy({ isInvalid: e = !1, className: t, ...n }) {return /* @__PURE__ */ (0, w.jsx)(ug, {slot: e ? "errorMessage" : "description",...n,- className: W("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: G("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}//#endregion@@ -25193,13 +25193,13 @@ function Xy({ size: e = "medium", fieldClassName: t, inputClassName: n, classNamchildren: /* @__PURE__ */ (0, w.jsx)(Hy, {...a,"data-input-size": e,- className: W("group flex h-max w-full flex-col items-start gap-1", r),+ className: G("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}Xy.displayName = "TextField";-var Zy = Jm({+var Zy = qm({field: ["relative flex w-full items-center","rounded-2lg",@@ -25232,7 +25232,7 @@ function Qy({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCllet l = (0, C.useContext)(Yy), u = e ?? l.size ?? "medium", d = r != null;return /* @__PURE__ */ (0, w.jsx)(xg, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => W(Zy.field, d ? Zy.fieldWithAddonSize[u] : Zy.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),+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => G(Zy.field, d ? Zy.fieldWithAddonSize[u] : Zy.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, w.jsxs)("div", {className: Zy.content,children: [/* @__PURE__ */ (0, w.jsxs)("div", {@@ -25243,7 +25243,7 @@ function Qy({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl}) : null, /* @__PURE__ */ (0, w.jsx)(wg, {ref: o,...c,- className: W(Zy.input, l.inputClassName, a)+ className: G(Zy.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, w.jsx)(n, {className: Zy.icon,@@ -25556,7 +25556,7 @@ function gb(e = "") {s.signal.aborted || i(e);} catch (e) {if (s.signal.aborted) return;- o ? o(e) : a(G(e));+ o ? o(e) : a(K(e));} finally {t.current === s && (t.current = null), s.signal.aborted || r("");}@@ -25580,10 +25580,10 @@ var _b = "/api/avatar-choices", vb = "/api/avatar-pick", yb = "/avatar-choice","avatar-choices",e,t-], xb = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, Sb = (e, t, n) => `${yb}${xb(e, t)}&ref=${encodeURIComponent(n)}`, Cb = (e, t, n) => $m(_b + xb(e, t), n);+], xb = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, Sb = (e, t, n) => `${yb}${xb(e, t)}&ref=${encodeURIComponent(n)}`, Cb = (e, t, n) => Qm(_b + xb(e, t), n);async function wb(e, t, n) {if (!("file" in n)) {- await K(vb, {+ await q(vb, {kind: e,id: t,...n@@ -25597,7 +25597,7 @@ async function wb(e, t, n) {});if (i.ok) return;let a = await i.json().catch(() => null);- throw new Zm(a?.error || `请求失败(${i.status})`, i.status, a);+ throw new Xm(a?.error || `请求失败(${i.status})`, i.status, a);}function Tb(e, t) {if (!t) return "正在找可用的图…";@@ -25655,15 +25655,15 @@ function Ab({ kind: e, entityId: t, name: n, onPicked: r }) {})] });}function jb({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, C.useRef)(null), o = fb(), [s, c] = (0, C.useState)(""), [l, u] = (0, C.useState)(""), [d, f] = (0, C.useState)(null), p = bb(e, t), m = (0, C.useRef)(!1), h = dt({+ let a = (0, C.useRef)(null), o = fb(), [s, c] = (0, C.useState)(""), [l, u] = (0, C.useState)(""), [d, f] = (0, C.useState)(null), p = bb(e, t), m = (0, C.useRef)(!1), h = pt({queryKey: p,queryFn: ({ signal: n }) => Cb(e, t, n),retryOnMount: !0});(0, C.useEffect)(() => () => {- m.current && J.removeQueries({ queryKey: bb(e, t) });+ m.current && fh.removeQueries({ queryKey: bb(e, t) });}, [e, t]);- let g = ft({+ let g = mt({mutationFn: (n) => wb(e, t, n),onSuccess: () => {m.current = !0, i(), r();@@ -25673,7 +25673,7 @@ function jb({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {let t = e.currentTarget, n = t.files?.[0];t.value = "", u(""), n && g.mutate({ file: n });}- let v = h.data, y = v?.choices ?? [], b = l || (g.error ? G(g.error) : "") || (h.error ? G(h.error) : "");+ let v = h.data, y = v?.choices ?? [], b = l || (g.error ? K(g.error) : "") || (h.error ? K(h.error) : "");return /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [@@ -25691,7 +25691,7 @@ function jb({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && y.length ? /* @__PURE__ */ (0, w.jsxs)(Xm, {+ }), !d && y.length ? /* @__PURE__ */ (0, w.jsxs)(Ym, {color: "soft",children: [y.length, " 张可选"]}) : null]@@ -25700,11 +25700,11 @@ function jb({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: d ? `${d.label}:拖动方框选一块,滚轮或角上那枚方块改大小。` : Tb(n, v)}),- !d && Eb(v) ? /* @__PURE__ */ (0, w.jsx)(q, {+ !d && Eb(v) ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "neutral",children: "图库索引还没取过,只能从用过的图里选。"}) : null,- b ? /* @__PURE__ */ (0, w.jsx)(q, {+ b ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",children: b}) : null@@ -25762,7 +25762,7 @@ function jb({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, w.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, w.jsx)(Xm, {+ children: /* @__PURE__ */ (0, w.jsx)(Ym, {variant: "caption",color: "gray",children: "在用"@@ -25877,7 +25877,7 @@ function Mb({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var Nb = Jm({+var Nb = qm({sm: {track: "h-4 w-7",trackRadius: {@@ -25943,10 +25943,10 @@ function Pb({ state: e, size: t = "md", shape: n = "pill" }) {let r = Nb[t];return /* @__PURE__ */ (0, w.jsx)("span", {"aria-hidden": !0,- className: W("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? W("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: G("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? G("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, w.jsx)("span", {- className: W("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, w.jsx)("span", { className: W("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: G("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, w.jsx)("span", { className: G("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") })})});}@@ -25954,7 +25954,7 @@ function Fb({ className: e, children: t, size: n = "md", shape: r = "pill", ref:return /* @__PURE__ */ (0, w.jsx)(Mv, {ref: i,...a,- className: (t) => W("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ className: (t) => G("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, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(Pb, {state: e,size: n,@@ -25979,7 +25979,7 @@ function Lb(e) {}//#endregion//#region src/react/cover-crop/cover-crop.ts-var Rb = "/api/cover-crop", zb = (e, t) => K(Rb, {+var Rb = "/api/cover-crop", zb = (e, t) => q(Rb, {code: e,box: t}), Bb = .704;@@ -26033,7 +26033,7 @@ function Hb({ code: e, coverUrl: t, box: n, onSaved: r }) {})] });}function Ub({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, C.useState)(null), [s, c] = (0, C.useState)(null), [l, u] = (0, C.useState)(!0), d = fb(), f = ft({+ let [a, o] = (0, C.useState)(null), [s, c] = (0, C.useState)(null), [l, u] = (0, C.useState)(!0), d = fb(), f = mt({mutationFn: (t) => zb(e, t),onSuccess: () => {i(), r();@@ -26071,9 +26071,9 @@ function Ub({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, w.jsx)(q, {+ f.error ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",- children: G(f.error)+ children: K(f.error)}) : null]}),@@ -26303,51 +26303,51 @@ function Ix(e, t, n) {for (let e of t) n ? r.add(e) : r.delete(e);return r;}-var Lx = (e) => $m(`${Jb}?limit=1`, e), Rx = (e) => $m(Yb, e), zx = (e) => $m(Xb, e), Bx = (e) => $m(Qb, e), Vx = (e, t) => $m(`${$b}?q=${encodeURIComponent(e)}`, t), Hx = (e) => K(Xb, {+var Lx = (e) => Qm(`${Jb}?limit=1`, e), Rx = (e) => Qm(Yb, e), zx = (e) => Qm(Xb, e), Bx = (e) => Qm(Qb, e), Vx = (e, t) => Qm(`${$b}?q=${encodeURIComponent(e)}`, t), Hx = (e) => q(Xb, {...e?.length ? { sources: e } : {},background: !0-}), Ux = (e) => K(Qb, {+}), Ux = (e) => q(Qb, {lines: e,background: !0-}), Wx = (e, t) => K(Zb, {+}), Wx = (e, t) => q(Zb, {action: "enabled",id: e,enabled: t-}), Gx = (e) => K(Zb, {+}), Gx = (e) => q(Zb, {action: "remove",id: e-}), Kx = (e) => K(Zb, {+}), Kx = (e) => q(Zb, {action: "add",url: e.url,label: e.label,author: e.author || "",aliases: e.aliases || [],defer_check: !0-}), qx = (e, t) => K(ex, {+}), qx = (e, t) => q(ex, {action: "add",canonical: e,alias: t-}), Jx = (e) => K(ex, {+}), Jx = (e) => q(ex, {action: "remove",alias: e-}), Yx = (e, t) => K(tx, {+}), Yx = (e, t) => q(tx, {provider: e,values: t-}), Xx = (e, t) => K(nx, {+}), Xx = (e, t) => q(nx, {item: e,to: t-}), Zx = () => $m(`${Jb}?status=new&limit=1000`);+}), Zx = () => Qm(`${Jb}?status=new&limit=1000`);async function Qx(e) {- await Promise.all([J.fetchQuery({+ await Promise.all([fh.fetchQuery({queryKey: rx,queryFn: () => Lx(e)- }), J.fetchQuery({+ }), fh.fetchQuery({queryKey: ix,queryFn: () => Rx(e)})]);}function $x(e, t) {- J.setQueryData(rx, (n) => n && {+ fh.setQueryData(rx, (n) => n && {...n,sources: n.sources.map((n) => n.id === e ? {...n,@@ -26357,22 +26357,22 @@ function $x(e, t) {}function eS(e) {let t = new Set(e);- J.setQueryData(rx, (e) => e && {+ fh.setQueryData(rx, (e) => e && {...e,sources: e.sources.filter((e) => !t.has(e.id))});}-var tS = () => J.invalidateQueries({+var tS = () => fh.invalidateQueries({queryKey: rx,exact: !0-}), nS = 2e3, rS = (e) => e?.status === "running" && nS;-function iS(e) {+});+function nS(e) {let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");let f = t.filter((e) => e.exhausted).length;return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;}-var aS = (e) => (e?.results || []).filter((e) => !e.ok), oS = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", sS = (e) => e.last_checked_at ? qb(e.last_checked_at) : "未检查", cS = /* @__PURE__ */ new Set([+var rS = (e) => (e?.results || []).filter((e) => !e.ok), iS = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", aS = (e) => e.last_checked_at ? qb(e.last_checked_at) : "未检查", oS = /* @__PURE__ */ new Set(["fanbox","patreon","subscribestar",@@ -26385,36 +26385,36 @@ var aS = (e) => (e?.results || []).filter((e) => !e.ok), oS = (e) => (e?.results"gofile","f95zone","simpcity"-]), lS = (e) => cS.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", uS = {+]), sS = (e) => oS.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", cS = {required: "需要",optional: "可选",none: "不需要",blocked: "接不进来"-}, dS = (e) => !!e.present && !e.missing.length, fS = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", pS = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", mS = [+}, lS = (e) => !!e.present && !e.missing.length, uS = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", dS = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", fS = ["text-chart-6","text-chart-5","text-chart-7","text-chart-8"-], hS = [+], pS = ["bg-chart-6/10","bg-chart-5/10","bg-chart-7/10","bg-chart-8/10"];-function gS(e = {}) {- return `${sh({+function mS(e = {}) {+ return `${oh({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}-var _S = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";-function vS({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+var hS = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";+function gS({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {return /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",children: [t ? /* @__PURE__ */ (0, w.jsx)("i", {"aria-hidden": !0,- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${mS[n % 4]} ${hS[n % 4]}`,+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${fS[n % 4]} ${pS[n % 4]}`,children: /* @__PURE__ */ (0, w.jsx)(t, {"aria-hidden": !0,className: "size-4"@@ -26436,7 +26436,7 @@ function vS({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var yS = {+var _S = {md: {box: "size-4",glyph: "size-4",@@ -26450,11 +26450,11 @@ var yS = {gap: "gap-1.5"}};-function bS({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = yS[t], c = n || r, l = o && !a;+function vS({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = _S[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, w.jsx)("span", {"aria-hidden": !0,- className: W("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? W("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : W("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: G("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? G("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : G("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, w.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -26478,24 +26478,24 @@ function bS({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function xS({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = yS[n];+function yS({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = _S[n];return /* @__PURE__ */ (0, w.jsx)(vg, {ref: r,...i,- className: (t) => W("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, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(bS, {+ className: (t) => G("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, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(vS, {state: e,size: n}), t != null && /* @__PURE__ */ (0, w.jsx)("span", {- className: W(a.label, "text-text-primary"),+ className: G(a.label, "text-text-primary"),children: t})] })});}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var SS = [+var bS = ["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",@@ -26503,24 +26503,63 @@ var SS = ["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(" "), CS = "w-[266px]", wS = "flex w-full flex-col gap-1 outline-none", TS = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), ES = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+].join(" "), xS = "w-[266px]", SS = "flex w-full flex-col gap-1 outline-none", CS = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), wS = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", TS = 2e3, ES = (e) => e, DS = (e, t) => t;+function OS(e) {+ let { queryKey: t, jobOf: n = ES, withJob: r = DS, idlePollMs: i } = e, [a, o] = (0, C.useState)(!1), [s, c] = (0, C.useState)(null), l = (0, C.useRef)(e);+ (0, C.useEffect)(() => {+ l.current = e;+ });+ let u = pt({+ queryKey: t,+ queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),+ refetchInterval: (e) => {+ let t = e.state.data;+ return t !== void 0 && n(t)?.status === "running" ? TS : i ?? !1;+ }+ }), d = mt({+ mutationFn: (e) => l.current.start(e),+ onSuccess: (e) => {+ o(!0), c(null), l.current.onStarted?.(e), fh.setQueryData(t, (t) => r(t, e)), fh.invalidateQueries({+ queryKey: t,+ exact: !0+ });+ },+ onError: (e) => l.current.onError?.(e)+ }), f = u.data === void 0 ? void 0 : n(u.data), p = f?.status === "running";+ return (0, C.useEffect)(() => {+ if (f) {+ if (f.status === "running") {+ a || o(!0);+ return;+ }+ a && (o(!1), c(f), l.current.onFinish?.(f));+ }+ }, [f, a]), {+ query: u,+ job: f,+ running: p,+ outcome: s,+ start: d,+ dismiss: () => c(null)+ };+}//#endregion//#region src/react/boardui/components/application/settings/settings-rows.tsx-function DS({ className: e, children: t }) {+function kS({ className: e, children: t }) {return /* @__PURE__ */ (0, w.jsx)("div", {- className: W("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: G("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function OS({ className: e, children: t }) {+function AS({ className: e, children: t }) {return /* @__PURE__ */ (0, w.jsx)("p", {- className: W("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: G("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function kS({ label: e, description: t, children: n }) {+function jS({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, w.jsxs)("div", {- className: W("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"),+ className: G("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, w.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, w.jsx)("p", {@@ -26535,7 +26574,7 @@ function kS({ label: e, description: t, children: n }) {}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var AS = Jm({+var MS = qm({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -26559,15 +26598,15 @@ var AS = Jm({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function jS({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = W(AS.base, AS.size[t], AS.variant[e], a), l = /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [+function NS({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = G(MS.base, MS.size[t], MS.variant[e], a), l = /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [n ? /* @__PURE__ */ (0, w.jsx)(n, {- className: AS.icon[t],+ className: MS.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, w.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, w.jsx)(r, {- className: AS.icon[t],+ className: MS.icon[t],"aria-hidden": !0}) : null] });@@ -26594,14 +26633,14 @@ function jS({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili}//#endregion//#region src/react/settings/section.tsx-function MS({ title: e, id: t, aside: n, onSubmit: r, children: i }) {+function PS({ title: e, id: t, aside: n, onSubmit: r, children: i }) {let a = /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [n ? /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, w.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, w.jsx)(OS, { children: e })+ children: /* @__PURE__ */ (0, w.jsx)(AS, { children: e })}), n]- }) : /* @__PURE__ */ (0, w.jsx)(OS, { children: e }), /* @__PURE__ */ (0, w.jsx)(DS, { children: i })] });+ }) : /* @__PURE__ */ (0, w.jsx)(AS, { children: e }), /* @__PURE__ */ (0, w.jsx)(kS, { children: i })] });return r ? /* @__PURE__ */ (0, w.jsx)("form", {id: t,"aria-label": e,@@ -26616,13 +26655,13 @@ function MS({ title: e, id: t, aside: n, onSubmit: r, children: i }) {children: a});}-function NS({ children: e }) {+function FS({ children: e }) {return /* @__PURE__ */ (0, w.jsx)("div", {className: "flex flex-col",children: e});}-function PS({ divided: e = !1, children: t }) {+function IS({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, w.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",children: t@@ -26631,7 +26670,7 @@ function PS({ divided: e = !1, children: t }) {children: t});}-function FS({ status: e, children: t }) {+function LS({ status: e, children: t }) {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",children: [e ? /* @__PURE__ */ (0, w.jsx)("div", {@@ -26640,28 +26679,28 @@ function FS({ status: e, children: t }) {}) : null, t]});}-function IS({ role: e, children: t }) {+function RS({ role: e, children: t }) {return /* @__PURE__ */ (0, w.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function LS({ children: e }) {+function zS({ children: e }) {return /* @__PURE__ */ (0, w.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function RS({ children: e }) {+function BS({ children: e }) {return /* @__PURE__ */ (0, w.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function zS({ href: e, children: t }) {- return /* @__PURE__ */ (0, w.jsx)(jS, {+function VS({ href: e, children: t }) {+ return /* @__PURE__ */ (0, w.jsx)(NS, {href: e,target: "_blank",rel: "noopener noreferrer",@@ -26670,13 +26709,13 @@ function zS({ href: e, children: t }) {children: t});}-function BS({ children: e }) {+function HS({ children: e }) {return /* @__PURE__ */ (0, w.jsx)("dl", {className: "flex flex-col",children: e});}-function VS({ term: e, children: t }) {+function US({ term: e, children: t }) {return /* @__PURE__ */ (0, w.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, w.jsx)("dt", {@@ -26688,7 +26727,7 @@ function VS({ term: e, children: t }) {})]});}-function HS({ summary: e, defaultOpen: t = !1, children: n }) {+function WS({ summary: e, defaultOpen: t = !1, children: n }) {let r = (0, C.useId)(), i = (0, C.useRef)(null), a = (0, C.useRef)(null), o = (0, C.useRef)(!1), [s, c] = (0, C.useState)(t);return /* @__PURE__ */ (0, w.jsxs)("details", {ref: (e) => {@@ -26716,7 +26755,7 @@ function HS({ summary: e, defaultOpen: t = !1, children: n }) {})]});}-function US({ name: e }) {+function GS({ name: e }) {return /* @__PURE__ */ (0, w.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -26725,19 +26764,19 @@ function US({ name: e }) {children: /* @__PURE__ */ (0, w.jsx)("use", { href: `#i-${e}` })});}-function WS({ mark: e }) {+function KS({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, w.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-4 shrink-0"- }) : /* @__PURE__ */ (0, w.jsx)(US, { name: e });+ }) : /* @__PURE__ */ (0, w.jsx)(GS, { name: e });}//#endregion//#region src/react/follow-manage/source-view.tsx-function GS({ provider: e, label: t }) {- let n = lS(e), [r, i] = (0, C.useState)(!1);+function qS({ provider: e, label: t }) {+ let n = sS(e), [r, i] = (0, C.useState)(!1);return !n || r ? t ? /* @__PURE__ */ (0, w.jsx)(w.Fragment, { children: t }) : null : /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)("img", {src: n,alt: "",@@ -26748,7 +26787,7 @@ function GS({ provider: e, label: t }) {className: "size-3.5 shrink-0 rounded-sm object-contain"}), t ? /* @__PURE__ */ (0, w.jsx)(Qo, { children: t }) : null] });}-function KS({ group: e, name: t }) {+function JS({ group: e, name: t }) {let { src: n, fallback: r } = kx(e), [i, a] = (0, C.useState)(0), o = [n, r].filter(Boolean)[i];return o ? /* @__PURE__ */ (0, w.jsx)("img", {src: o,@@ -26765,15 +26804,15 @@ function KS({ group: e, name: t }) {children: Ox(t)});}-function qS({ source: e }) {+function YS({ source: e }) {let t = Sx(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";- return /* @__PURE__ */ (0, w.jsx)(Xm, {+ return /* @__PURE__ */ (0, w.jsx)(Ym, {variant: "caption",color: t,children: xx(e)});}-function JS({ source: e }) {+function XS({ source: e }) {return /* @__PURE__ */ (0, w.jsx)("a", {href: e.url,target: "_blank",@@ -26785,18 +26824,18 @@ function JS({ source: e }) {}//#endregion//#region src/react/follow-manage/add-source.tsx-var YS = W(TS, ES, "text-body-2-medium"), XS = "粘贴来源链接,或输入创作者名、id…", ZS = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", QS = "识别中…", $S = "站内没有查到来源", eC = (e, t) => `${e}:${t.url}`;-function tC({ options: e, active: t, busy: n, onPick: r }) {+var ZS = G(CS, wS, "text-body-2-medium"), QS = "粘贴来源链接,或输入创作者名、id…", $S = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", eC = "识别中…", tC = "站内没有查到来源", nC = (e, t) => `${e}:${t.url}`;+function rC({ options: e, active: t, busy: n, onPick: r }) {return /* @__PURE__ */ (0, w.jsxs)("div", {"aria-label": "来源建议",- className: W(SS, "absolute top-full z-10 mt-1 flex w-full flex-col gap-1"),+ className: G(bS, "absolute top-full z-10 mt-1 flex w-full flex-col gap-1"),children: [n && !e.length ? /* @__PURE__ */ (0, w.jsx)("div", {className: "px-2 py-1.5",- children: /* @__PURE__ */ (0, w.jsx)(uh, { label: "正在查找建议" })+ children: /* @__PURE__ */ (0, w.jsx)(lh, { label: "正在查找建议" })}) : null, e.map((e, n) => /* @__PURE__ */ (0, w.jsxs)("button", {type: "button","aria-current": n === t ? "true" : void 0,- className: n === t ? W(YS, "bg-background-secondary-default") : YS,+ className: n === t ? G(ZS, "bg-background-secondary-default") : ZS,onMouseDown: (e) => e.preventDefault(),onClick: () => r(e.value),children: [/* @__PURE__ */ (0, w.jsx)("span", {@@ -26809,7 +26848,7 @@ function tC({ options: e, active: t, busy: n, onPick: r }) {}, `${e.group}-${e.value}`))]});}-function nC({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {+function iC({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {let i = (0, C.useRef)(null), [a, o] = (0, C.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {let i = new Set(t);r ? i.delete(e) : i.add(e), n(i);@@ -26829,7 +26868,7 @@ function nC({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {onOpenChange: o,placement: "bottom end",offset: 4,- className: SS,+ className: bS,children: /* @__PURE__ */ (0, w.jsxs)($_, {"aria-label": "来源筛选",className: "flex w-64 flex-col gap-1 outline-none",@@ -26846,16 +26885,16 @@ function nC({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {onClick: () => n(new Set(s.map((e) => e.provider_label))),children: "全不选"})]- }) : /* @__PURE__ */ (0, w.jsx)(IS, { children: "暂无可用来源" }), s.map((e) => {+ }) : /* @__PURE__ */ (0, w.jsx)(RS, { children: "暂无可用来源" }), s.map((e) => {let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, w.jsx)(xS, {+ children: [/* @__PURE__ */ (0, w.jsx)(yS, {isSelected: !t.has(e.provider_label),onChange: (t) => u(e.provider_label, t),children: /* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, w.jsx)(GS, { provider: e.provider }), e.provider_label]+ children: [/* @__PURE__ */ (0, w.jsx)(qS, { provider: e.provider }), e.provider_label]})}), n ? /* @__PURE__ */ (0, w.jsx)(X, {variant: "ghost",@@ -26871,15 +26910,15 @@ function nC({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {})})] });}-function rC({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {- if (e.kind === "error") return /* @__PURE__ */ (0, w.jsx)(q, {+function aC({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {+ if (e.kind === "error") return /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: e.line,children: e.error || "查找失败"});let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});return /* @__PURE__ */ (0, w.jsxs)("div", {- className: sh({+ className: oh({padding: "none",className: "flex flex-col gap-2 p-4"}),@@ -26889,15 +26928,15 @@ function rC({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {children: e.line}),a.length ? a.map((e) => {- let n = eC(t, e);- return /* @__PURE__ */ (0, w.jsx)(xS, {+ let n = nC(t, e);+ return /* @__PURE__ */ (0, w.jsx)(yS, {isSelected: !e.known && !r.has(n),isDisabled: e.known,onChange: (e) => i(n, e),children: /* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-1.5",children: [- /* @__PURE__ */ (0, w.jsx)(GS, { provider: e.provider }),+ /* @__PURE__ */ (0, w.jsx)(qS, { provider: e.provider }),/* @__PURE__ */ (0, w.jsx)("b", {className: "text-body-medium",children: e.provider_label@@ -26913,23 +26952,23 @@ function rC({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {]})}, n);- }) : /* @__PURE__ */ (0, w.jsx)(IS, { children: $S }),+ }) : /* @__PURE__ */ (0, w.jsx)(RS, { children: tC }),(e.external_searches || []).map((e) => /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, w.jsx)("small", {className: "text-caption-1-regular text-text-secondary",children: e.evidence- }), /* @__PURE__ */ (0, w.jsx)(zS, {+ }), /* @__PURE__ */ (0, w.jsx)(VS, {href: e.url,children: `${e.label}:${e.query}`})]}, e.url)),- o.length ? /* @__PURE__ */ (0, w.jsx)(IS, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null+ o.length ? /* @__PURE__ */ (0, w.jsx)(RS, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null]});}-function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {- let [a, o] = (0, C.useState)(""), [s, c] = (0, C.useState)(""), [l, u] = (0, C.useState)(""), [d, f] = (0, C.useState)(!1), [p, m] = (0, C.useState)(-1), [h, g] = (0, C.useState)(/* @__PURE__ */ new Set()), [_, v] = (0, C.useState)(/* @__PURE__ */ new Set()), [y, b] = (0, C.useState)(""), [x, S] = (0, C.useState)(!1), [T, E] = (0, C.useState)(null), [D, O] = (0, C.useState)(0);+function oC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {+ let [a, o] = (0, C.useState)(""), [s, c] = (0, C.useState)(""), [l, u] = (0, C.useState)(""), [d, f] = (0, C.useState)(!1), [p, m] = (0, C.useState)(-1), [h, g] = (0, C.useState)(/* @__PURE__ */ new Set()), [_, v] = (0, C.useState)(/* @__PURE__ */ new Set()), [y, b] = (0, C.useState)(""), [x, S] = (0, C.useState)(0);(0, C.useEffect)(() => {let e = a.trim();if (!e || e.includes("/")) {@@ -26939,79 +26978,64 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: ilet t = setTimeout(() => u(e), 250);return () => clearTimeout(t);}, [a]);- let k = dt({+ let T = pt({queryKey: sx(l),queryFn: ({ signal: e }) => Vx(l, e),enabled: l.length > 0 && d- }), A = (0, C.useMemo)(() => (k.data?.groups || []).flatMap((e) => e.items.map((t) => ({+ }), E = (0, C.useMemo)(() => (T.data?.groups || []).flatMap((e) => e.items.map((t) => ({value: t.value,label: t.matched || t.value,group: e.label- }))), [k.data]), j = dt({+ }))), [T.data]), { job: D, running: O, outcome: k, start: A, dismiss: j } = OS({queryKey: ox,queryFn: ({ signal: e }) => Bx(e),- refetchInterval: (e) => rS(e.state.data)- }), M = j.data?.status === "running", N = ft({- mutationFn: (e) => Ux([e]),- onSuccess: (e) => {- S(!0), E(null), v(/* @__PURE__ */ new Set()), J.setQueryData(ox, e), J.invalidateQueries({- queryKey: ox,- exact: !0- });- },- onError: (e) => b(G(e))- });- (0, C.useEffect)(() => {- let e = j.data;- if (e) {- if (e.status === "running") {- x || S(!0);- return;- }- x && (S(!1), E(e), e.status === "failed" && b(e.error || "查找失败"));+ start: (e) => Ux([e]),+ onStarted: () => v(/* @__PURE__ */ new Set()),+ onError: (e) => b(K(e)),+ onFinish: (e) => {+ e.status === "failed" && b(e.error || "查找失败");}- }, [j.data, x]);- let ee = (e) => {+ }), M = (e) => {let t = e.trim();- !t || M || N.isPending || (b(""), m(-1), c(t), o(""), u(""), N.mutate(t));- }, te = (e) => {+ !t || O || A.isPending || (b(""), m(-1), c(t), o(""), u(""), A.mutate(t));+ }, ee = (e) => {if (!e.nativeEvent.isComposing) {- if (e.key === "Escape" && A.length) {+ if (e.key === "Escape" && E.length) {m(-1), f(!1);return;}if (e.key === "ArrowDown" || e.key === "ArrowUp") {- if (!A.length) return;+ if (!E.length) return;e.preventDefault();let t = e.key === "ArrowDown" ? 1 : -1;m((e) => {let n = e + t;- return n < 0 ? A.length - 1 : n >= A.length ? 0 : n;+ return n < 0 ? E.length - 1 : n >= E.length ? 0 : n;});return;}- e.key === "Enter" && (e.preventDefault(), ee(A[p]?.value || a));+ e.key === "Enter" && (e.preventDefault(), M(E[p]?.value || a));}- }, P = T?.results || [], ne = P.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !h.has(e.provider_label || "")).map((e) => ({+ }, te = k?.results || [], ne = te.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !h.has(e.provider_label || "")).map((e) => ({candidate: e,- key: eC(t, e)- })).filter((e) => !_.has(e.key))), re = ft({+ key: nC(t, e)+ })).filter((e) => !_.has(e.key))), N = mt({mutationFn: async (e) => {let t = [], n = [];- O(0);+ S(0);for (let r of e) {try {let e = await Kx(r.candidate);n.push(e.source);} catch (e) {- t.push(`${r.candidate.label}:${G(e)}`);+ t.push(`${r.candidate.label}:${K(e)}`);}- O((e) => e + 1);+ S((e) => e + 1);}if (n.length) try {await Hx(n);} catch (e) {- t.push(G(e));+ t.push(K(e));}return {failures: t,@@ -27023,12 +27047,12 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: ib(e.failures.join(";"));return;}- b(""), E(null), r(`已添加 ${e.sources.length} 个关注来源`);+ b(""), j(), r(`已添加 ${e.sources.length} 个关注来源`);},- onError: (e) => b(G(e))- }), ie = e.suggestions || [], ae = !s.includes("/"), oe = k.isFetching, se = d && (A.length > 0 || oe);+ onError: (e) => b(K(e))+ }), re = e.suggestions || [], ie = !s.includes("/"), ae = T.isFetching, oe = d && (E.length > 0 || ae);return /* @__PURE__ */ (0, w.jsxs)("div", {- className: sh({+ className: oh({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -27048,20 +27072,20 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i},children: [/* @__PURE__ */ (0, w.jsx)($y, {"aria-label": "来源链接、名字或 id",- placeholder: XS,+ placeholder: QS,value: a,leadingIcon: op,isDisabled: n,onChange: o,- onKeyDown: te- }), se ? /* @__PURE__ */ (0, w.jsx)(tC, {- options: A,+ onKeyDown: ee+ }), oe ? /* @__PURE__ */ (0, w.jsx)(rC, {+ options: E,active: p,- busy: oe,- onPick: ee+ busy: ae,+ onPick: M}) : null]}),- /* @__PURE__ */ (0, w.jsx)(nC, {+ /* @__PURE__ */ (0, w.jsx)(iC, {credentials: t,hidden: h,onHidden: g,@@ -27070,8 +27094,8 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i/* @__PURE__ */ (0, w.jsx)(X, {variant: "primary",disabled: n || !a.trim(),- ...Z(M || N.isPending),- onClick: () => ee(a),+ ...Z(O || A.isPending),+ onClick: () => M(a),children: "查找"})]@@ -27079,21 +27103,21 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i/* @__PURE__ */ (0, w.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",- children: [M || N.isPending ? j.data?.total ? /* @__PURE__ */ (0, w.jsx)(fh, {- label: j.data.message || `查找中:${j.data.checked || 0}/${j.data.total}`,- value: j.data.checked || 0,- max: j.data.total- }) : /* @__PURE__ */ (0, w.jsx)(uh, { label: ae ? ZS : QS }) : null, y ? /* @__PURE__ */ (0, w.jsx)(q, {+ children: [O || A.isPending ? D?.total ? /* @__PURE__ */ (0, w.jsx)(dh, {+ label: D.message || `查找中:${D.checked || 0}/${D.total}`,+ value: D.checked || 0,+ max: D.total+ }) : /* @__PURE__ */ (0, w.jsx)(lh, { label: ie ? $S : eC }) : null, y ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: "这一次没有完成",children: y}) : null]}),- P.length ? /* @__PURE__ */ (0, w.jsxs)("div", {+ te.length ? /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, w.jsx)(RS, { children: "查找结果" }),- P.map((e, t) => /* @__PURE__ */ (0, w.jsx)(rC, {+ /* @__PURE__ */ (0, w.jsx)(BS, { children: "查找结果" }),+ te.map((e, t) => /* @__PURE__ */ (0, w.jsx)(aC, {row: e,at: t,hidden: h,@@ -27110,36 +27134,36 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: ivariant: "primary",size: "small",disabled: n || !ne.length,- ...Z(re.isPending),- onClick: () => re.mutate(ne),+ ...Z(N.isPending),+ onClick: () => N.mutate(ne),children: `添加选中(${ne.length})`}),/* @__PURE__ */ (0, w.jsx)(X, {variant: "secondary",size: "small",- onClick: () => E(null),+ onClick: () => j(),children: "关闭"}),- re.isPending ? /* @__PURE__ */ (0, w.jsx)("span", {+ N.isPending ? /* @__PURE__ */ (0, w.jsx)("span", {role: "status",className: "text-body-2-regular text-text-secondary",- children: `添加中… ${D}/${ne.length}`+ children: `添加中… ${x}/${ne.length}`}) : null]})]}) : null,- ie.length ? /* @__PURE__ */ (0, w.jsxs)("div", {+ re.length ? /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, w.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: "猜你喜欢"- }), ie.map((e) => /* @__PURE__ */ (0, w.jsx)(X, {+ }), re.map((e) => /* @__PURE__ */ (0, w.jsx)(X, {variant: "secondary",size: "small",disabled: n,title: `浏览历史里出现 ${e.visits} 次${e.origin ? ` · ${e.origin}` : ""}`,- onClick: () => ee(e.name),+ onClick: () => M(e.name),children: e.name}, e.name))]}) : null@@ -27148,19 +27172,19 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i}//#endregion//#region src/react/boardui/components/base/table/table.tsx-function aC({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function sC({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, w.jsx)("div", {- className: W("w-full overflow-x-auto", n),+ className: G("w-full overflow-x-auto", n),children: /* @__PURE__ */ (0, w.jsx)(Qv, {ref: r,...i,- className: W("bui-table", e === "sm" && "bui-table-sm", t)+ className: G("bui-table", e === "sm" && "bui-table-sm", t)})});}//#endregion//#region src/react/components/data-table-frame.tsx-function oC({ children: e, follow: t = !1 }) {+function cC({ children: e, follow: t = !1 }) {return /* @__PURE__ */ (0, w.jsx)("div", {"data-board-data-table": !0,"data-follow-table": t || void 0,@@ -27169,16 +27193,16 @@ function oC({ children: e, follow: t = !1 }) {}//#endregion//#region src/react/follow-manage/alias-manager.tsx-var sC = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, cC = (e) => e.alias;-function lC(e, t, n) {+var lC = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, uC = (e) => e.alias;+function dC(e, t, n) {let r = n ? `name:${n}` : "", i = r ? e.find((e) => e.author_key === r) : e.find((e) => e.author_name === t || e.entity_name === t);return i ? e.filter((e) => e.author_key === i.author_key) : [];}-function uC({ sources: e, name: t, canonicalKey: n }) {+function fC({ sources: e, name: t, canonicalKey: n }) {return /* @__PURE__ */ (0, w.jsxs)("span", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, w.jsx)(KS, {- group: lC(e, t, n),+ children: [/* @__PURE__ */ (0, w.jsx)(JS, {+ group: dC(e, t, n),name: t}), /* @__PURE__ */ (0, w.jsx)("b", {className: "text-body-medium",@@ -27186,15 +27210,15 @@ function uC({ sources: e, name: t, canonicalKey: n }) {})]});}-function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {- let [a, o] = (0, C.useState)(/* @__PURE__ */ new Set()), [s, l] = (0, C.useState)(""), [u, d] = (0, C.useState)(""), [f, p] = (0, C.useState)(""), m = ft({+function pC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {+ let [a, o] = (0, C.useState)(/* @__PURE__ */ new Set()), [s, l] = (0, C.useState)(""), [u, d] = (0, C.useState)(""), [f, p] = (0, C.useState)(""), m = mt({mutationFn: async (e) => {let t = 0;for (let n of e) {try {await qx(n.canonical, n.alias);} catch (n) {- throw t && tS(), Error(`${G(n)}(还有 ${e.length - t} 组没有合并)`);+ throw t && tS(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);}t += 1;}@@ -27206,19 +27230,19 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ionSuccess: (e) => {l(""), o(/* @__PURE__ */ new Set()), tS(), i(`已合并 ${e.done} 组创作者别名`);},- onError: (e) => l(G(e))- }), h = ft({+ onError: (e) => l(K(e))+ }), h = mt({mutationFn: (e) => qx(e.canonical, e.alias),onSuccess: () => {l(""), d(""), p(""), tS(), i("已保存创作者别名");},- onError: (e) => l(G(e))- }), g = ft({+ onError: (e) => l(K(e))+ }), g = mt({mutationFn: (e) => Jx(e),onSuccess: () => {l(""), tS(), i("已移除创作者别名");},- onError: (e) => l(G(e))+ onError: (e) => l(K(e))}), _ = (e, t) => {e.length && c({title: t ? "合并全部创作者别名" : "合并所选创作者别名",@@ -27226,9 +27250,9 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iconfirmLabel: t ? "合并全部别名" : "合并所选别名",onConfirm: () => m.mutateAsync(e)});- }, v = t.filter((e) => a.has(cC(e))), y = t.length > 0 && v.length === t.length, b = Z(m.isPending);+ }, v = t.filter((e) => a.has(uC(e))), y = t.length > 0 && v.length === t.length, b = Z(m.isPending);return /* @__PURE__ */ (0, w.jsxs)("div", {- className: sh({+ className: oh({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -27239,7 +27263,7 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}),/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, w.jsx)(RS, { children: "手动添加别名" }), /* @__PURE__ */ (0, w.jsxs)("div", {+ children: [/* @__PURE__ */ (0, w.jsx)(BS, { children: "手动添加别名" }), /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, w.jsx)($y, {@@ -27271,13 +27295,13 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i]})]}),- s ? /* @__PURE__ */ (0, w.jsx)(LS, { children: s }) : null,+ s ? /* @__PURE__ */ (0, w.jsx)(zS, { children: s }) : null,t.length ? /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, w.jsx)(RS, { children: "待合并" }),+ /* @__PURE__ */ (0, w.jsx)(BS, { children: "待合并" }),/* @__PURE__ */ (0, w.jsx)("span", {className: "mr-auto text-body-2-regular text-text-secondary",children: `${t.length} 组`@@ -27299,18 +27323,18 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: `全部合并(${t.length})`})]- }), /* @__PURE__ */ (0, w.jsx)(oC, { children: /* @__PURE__ */ (0, w.jsxs)(aC, {+ }), /* @__PURE__ */ (0, w.jsx)(cC, { children: /* @__PURE__ */ (0, w.jsxs)(sC, {"aria-label": "待合并创作者别名",size: "sm",children: [/* @__PURE__ */ (0, w.jsxs)(ay, { children: [/* @__PURE__ */ (0, w.jsx)(uy, {id: "select",- children: /* @__PURE__ */ (0, w.jsx)(xS, {+ children: /* @__PURE__ */ (0, w.jsx)(yS, {slot: null,isSelected: y,isIndeterminate: v.length > 0 && !y,"aria-label": "全选待合并别名",- onChange: (e) => o(e ? new Set(t.map(cC)) : /* @__PURE__ */ new Set())+ onChange: (e) => o(e ? new Set(t.map(uC)) : /* @__PURE__ */ new Set())})}),/* @__PURE__ */ (0, w.jsx)(uy, {@@ -27331,12 +27355,12 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: "操作"})] }), /* @__PURE__ */ (0, w.jsx)(my, { children: t.map((e) => {- let t = cC(e);+ let t = uC(e);return /* @__PURE__ */ (0, w.jsxs)(vy, {id: t,"data-board-selected": a.has(t) || void 0,children: [- /* @__PURE__ */ (0, w.jsx)(xy, { children: /* @__PURE__ */ (0, w.jsx)(xS, {+ /* @__PURE__ */ (0, w.jsx)(xy, { children: /* @__PURE__ */ (0, w.jsx)(yS, {slot: null,isSelected: a.has(t),"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,@@ -27345,7 +27369,7 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ie ? n.add(t) : n.delete(t), o(n);}}) }),- /* @__PURE__ */ (0, w.jsx)(xy, { children: /* @__PURE__ */ (0, w.jsx)(uC, {+ /* @__PURE__ */ (0, w.jsx)(xy, { children: /* @__PURE__ */ (0, w.jsx)(fC, {sources: n,name: e.canonical}) }),@@ -27371,11 +27395,11 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iclassName: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, w.jsx)(RS, { children: "已保存别名" }), /* @__PURE__ */ (0, w.jsx)("span", {+ children: [/* @__PURE__ */ (0, w.jsx)(BS, { children: "已保存别名" }), /* @__PURE__ */ (0, w.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: `${e.length} 组`})]- }), e.length ? /* @__PURE__ */ (0, w.jsx)(oC, { children: /* @__PURE__ */ (0, w.jsxs)(aC, {+ }), e.length ? /* @__PURE__ */ (0, w.jsx)(cC, { children: /* @__PURE__ */ (0, w.jsxs)(sC, {"aria-label": "已保存创作者别名",size: "sm",children: [/* @__PURE__ */ (0, w.jsxs)(ay, { children: [/* @__PURE__ */ (0, w.jsx)(uy, {@@ -27387,7 +27411,7 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: "平台别名"})] }), /* @__PURE__ */ (0, w.jsx)(my, { children: e.map((e) => /* @__PURE__ */ (0, w.jsxs)(vy, {id: e.canonical_key,- children: [/* @__PURE__ */ (0, w.jsx)(xy, { children: /* @__PURE__ */ (0, w.jsx)(uC, {+ children: [/* @__PURE__ */ (0, w.jsx)(xy, { children: /* @__PURE__ */ (0, w.jsx)(fC, {sources: n,name: e.canonical_name,canonicalKey: e.canonical_key@@ -27405,7 +27429,7 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i...Z(g.isPending),onClick: () => void c({title: "移除创作者别名",- body: sC(e.name),+ body: lC(e.name),confirmLabel: "移除创作者别名",onConfirm: () => g.mutateAsync(e.name)})@@ -27413,7 +27437,7 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}, e.key))}) })]}, e.canonical_key)) })]- }) }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: dp,title: "还没有保存创作者别名",@@ -27425,7 +27449,7 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}//#endregion//#region src/react/components/path-line.tsx-function fC({ className: e }) {+function mC({ className: e }) {return /* @__PURE__ */ (0, w.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -27438,8 +27462,8 @@ function fC({ className: e }) {children: /* @__PURE__ */ (0, w.jsx)("use", { href: "#i-folder-open" })});}-var pC = "打开文件管理器失败,请重试";-function mC({ path: e, prefix: t, className: n, onRevealed: r }) {+var hC = "打开文件管理器失败,请重试";+function gC({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, C.useState)(!1), [o, s] = (0, C.useState)(""), c = (0, C.useRef)(!0);(0, C.useEffect)(() => () => {c.current = !1;@@ -27448,9 +27472,9 @@ function mC({ path: e, prefix: t, className: n, onRevealed: r }) {if (!i) {a(!0), s("");try {- await K("/api/reveal", { path: e }), r?.("已在资源管理器中显示");+ await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof Zm ? e.message : pC);+ c.current && s(e instanceof Xm ? e.message : hC);} finally {c.current && a(!1);}@@ -27461,10 +27485,10 @@ function mC({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, w.jsxs)("p", {- className: W("min-w-0 break-all", n),+ className: G("min-w-0 break-all", n),children: [t, e]}), /* @__PURE__ */ (0, w.jsx)(Ky, {- icon: fC,+ icon: mC,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",@@ -27479,37 +27503,37 @@ function mC({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/follow-manage/credentials.tsx-var hC = "这些账号信息存在哪里", gC = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", _C = "将清除这个来源在本机和共享副本中的登录凭据。", vC = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";-function yC(e, t) {+var _C = "这些账号信息存在哪里", vC = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", yC = "将清除这个来源在本机和共享副本中的登录凭据。", bC = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";+function xC(e, t) {return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";}-function bC({ row: e }) {- if (dS(e)) return /* @__PURE__ */ (0, w.jsx)(Xm, {+function SC({ row: e }) {+ if (lS(e)) return /* @__PURE__ */ (0, w.jsx)(Ym, {variant: "caption",color: "lime",children: "已配置"});let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";- return /* @__PURE__ */ (0, w.jsx)(Xm, {+ return /* @__PURE__ */ (0, w.jsx)(Ym, {variant: "caption",color: t,- children: uS[e.requirement] || ""+ children: cS[e.requirement] || ""});}-function xC({ row: e, readOnly: t, toast: n }) {- let [r, i] = (0, C.useState)({}), [a, o] = (0, C.useState)(""), s = dS(e), l = ft({+function CC({ row: e, readOnly: t, toast: n }) {+ let [r, i] = (0, C.useState)({}), [a, o] = (0, C.useState)(""), s = lS(e), l = mt({mutationFn: (t) => Yx(e.provider, t),onSuccess: (e, t) => {if (e.note) {o(e.note);return;}- o(""), i({}), J.invalidateQueries({+ o(""), i({}), fh.invalidateQueries({queryKey: ix,exact: !0}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");},- onError: (e) => o(G(e))+ onError: (e) => o(K(e))}), u = () => {let e = Object.fromEntries(Object.entries(r).map(([e, t]) => [e, t.trim()]).filter(([, e]) => e));if (!Object.keys(e).length) {@@ -27521,17 +27545,17 @@ function xC({ row: e, readOnly: t, toast: n }) {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, w.jsxs)(IS, { children: [e.why, e.where ? /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [" ", /* @__PURE__ */ (0, w.jsx)(zS, {+ /* @__PURE__ */ (0, w.jsxs)(RS, { children: [e.why, e.where ? /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [" ", /* @__PURE__ */ (0, w.jsx)(VS, {href: e.where,children: "去取"})] }) : null] }),- e.howto ? /* @__PURE__ */ (0, w.jsx)(IS, { children: e.howto }) : null,+ e.howto ? /* @__PURE__ */ (0, w.jsx)(RS, { children: e.howto }) : null,/* @__PURE__ */ (0, w.jsx)("div", {className: "flex flex-wrap items-end gap-3",children: (e.needs || []).map((n) => /* @__PURE__ */ (0, w.jsx)($y, {type: "password",label: n,- placeholder: yC(e, n),+ placeholder: xC(e, n),autoComplete: "off",spellCheck: "false",isDisabled: t,@@ -27559,7 +27583,7 @@ function xC({ row: e, readOnly: t, toast: n }) {...Z(l.isPending),onClick: () => void c({title: "清除来源凭据",- body: _C,+ body: yC,confirmLabel: "清除来源凭据",danger: !0,onConfirm: () => l.mutateAsync({})@@ -27567,35 +27591,35 @@ function xC({ row: e, readOnly: t, toast: n }) {children: "清除"}) : null]}),- a ? /* @__PURE__ */ (0, w.jsx)(LS, { children: a }) : null,- (e.shared_fields || []).length ? /* @__PURE__ */ (0, w.jsx)(IS, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,- e.path ? /* @__PURE__ */ (0, w.jsx)(mC, {+ a ? /* @__PURE__ */ (0, w.jsx)(zS, { children: a }) : null,+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, w.jsx)(RS, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,+ e.path ? /* @__PURE__ */ (0, w.jsx)(gC, {path: e.path,className: "font-mono text-caption-1-regular text-text-tertiary",onRevealed: n}) : null,- e.world_readable ? /* @__PURE__ */ (0, w.jsx)(q, {+ e.world_readable ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: "凭据文件权限过宽",- children: vC+ children: bC}) : null]});}-function SC({ row: e, readOnly: t, toast: n }) {+function wC({ row: e, readOnly: t, toast: n }) {let r = /* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 items-center gap-2",children: [/* @__PURE__ */ (0, w.jsx)("span", {className: "inline-flex size-3.5 shrink-0 items-center justify-center",- children: /* @__PURE__ */ (0, w.jsx)(GS, { provider: e.provider })+ children: /* @__PURE__ */ (0, w.jsx)(qS, { provider: e.provider })}),/* @__PURE__ */ (0, w.jsx)("b", {className: "text-body-medium text-text-primary",children: e.provider_label}),- /* @__PURE__ */ (0, w.jsx)(bC, { row: e }),- e.missing.length ? /* @__PURE__ */ (0, w.jsx)(Xm, {+ /* @__PURE__ */ (0, w.jsx)(SC, { row: e }),+ e.missing.length ? /* @__PURE__ */ (0, w.jsx)(Ym, {variant: "caption",color: "rose",children: `缺 ${e.missing.join("、")}`@@ -27604,13 +27628,13 @@ function SC({ row: e, readOnly: t, toast: n }) {});return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, w.jsx)(IS, { children: e.why }) : null]+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, w.jsx)(RS, { children: e.why }) : null]}) : /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",- children: [r, /* @__PURE__ */ (0, w.jsx)(HS, {- summary: dS(e) ? "修改凭据" : "填写凭据",- defaultOpen: e.requirement === "required" && !dS(e),- children: /* @__PURE__ */ (0, w.jsx)(xC, {+ children: [r, /* @__PURE__ */ (0, w.jsx)(WS, {+ summary: lS(e) ? "修改凭据" : "填写凭据",+ defaultOpen: e.requirement === "required" && !lS(e),+ children: /* @__PURE__ */ (0, w.jsx)(CC, {row: e,readOnly: t,toast: n@@ -27618,10 +27642,10 @@ function SC({ row: e, readOnly: t, toast: n }) {})]});}-function CC({ data: e, readOnly: t, toast: n }) {- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !dS(e));+function TC({ data: e, readOnly: t, toast: n }) {+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !lS(e));return r.length ? /* @__PURE__ */ (0, w.jsxs)("div", {- className: sh({+ className: oh({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -27637,11 +27661,11 @@ function CC({ data: e, readOnly: t, toast: n }) {}) : null]}),/* @__PURE__ */ (0, w.jsx)("div", {- className: sh({+ className: oh({padding: "none",className: "flex flex-col overflow-hidden"}),- children: r.map((e) => /* @__PURE__ */ (0, w.jsx)(SC, {+ children: r.map((e) => /* @__PURE__ */ (0, w.jsx)(wC, {row: e,readOnly: t,toast: n@@ -27652,13 +27676,13 @@ function CC({ data: e, readOnly: t, toast: n }) {children: [/* @__PURE__ */ (0, w.jsx)("b", {className: "text-body-medium text-text-primary",- children: hC+ children: _C}),/* @__PURE__ */ (0, w.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: gC+ children: vC}),- /* @__PURE__ */ (0, w.jsx)(mC, {+ /* @__PURE__ */ (0, w.jsx)(gC, {path: e.root,prefix: "凭据文件在 ",className: "text-body-2-regular text-text-secondary",@@ -27667,7 +27691,7 @@ function CC({ data: e, readOnly: t, toast: n }) {]})]- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: ep,title: "没有可配置的来源",@@ -27676,7 +27700,7 @@ function CC({ data: e, readOnly: t, toast: n }) {}//#endregion//#region node_modules/@tanstack/table-core/build/lib/index.mjs-function wC() {+function EC() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -27689,24 +27713,24 @@ function wC() {group: (e) => e};}-function TC(e, t) {+function DC(e, t) {return typeof e == "function" ? e(t) : e;}-function EC(e, t) {+function OC(e, t) {return (n) => {t.setState((t) => ({...t,- [e]: TC(n, t[e])+ [e]: DC(n, t[e])}));};}-function DC(e) {+function kC(e) {return e instanceof Function;}-function OC(e) {+function AC(e) {return Array.isArray(e) && e.every((e) => typeof e == "number");}-function kC(e, t) {+function jC(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -27745,7 +27769,7 @@ function $(e, t, n, r) {onChange: r};}-function AC(e, t, n, r) {+function MC(e, t, n, r) {let i = {id: `${t.id}_${n.id}`,row: t,@@ -27770,7 +27794,7 @@ function AC(e, t, n, r) {r.createCell == null || r.createCell(i, n, t, e);}, {}), i;}-function jC(e, t, n, r) {+function NC(e, t, n, r) {let i = {...e._getDefaultColumnDef(),...t@@ -27796,8 +27820,8 @@ function jC(e, t, n, r) {for (let t of e._features) t.createColumn == null || t.createColumn(c, e);return c;}-var MC = "debugHeaders";-function NC(e, t, n) {+var PC = "debugHeaders";+function FC(e, t, n) {let r = {id: n.id ?? t.id,column: t,@@ -27825,7 +27849,7 @@ function NC(e, t, n) {t.createHeader == null || t.createHeader(r, e);}), r;}-var PC = { createTable: (e) => {+var IC = { createTable: (e) => {e.getHeaderGroups = Q(() => [e.getAllColumns(),e.getVisibleLeafColumns(),@@ -27833,34 +27857,34 @@ var PC = { createTable: (e) => {e.getState().columnPinning.right], (t, n, r, i) => {let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));- return FC(t, [+ return LC(t, [...a,...s,...o], e);- }, $(e.options, MC, "getHeaderGroups")), e.getCenterHeaderGroups = Q(() => [+ }, $(e.options, PC, "getHeaderGroups")), e.getCenterHeaderGroups = Q(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right- ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), FC(t, n, e, "center")), $(e.options, MC, "getCenterHeaderGroups")), e.getLeftHeaderGroups = Q(() => [+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), LC(t, n, e, "center")), $(e.options, PC, "getCenterHeaderGroups")), e.getLeftHeaderGroups = Q(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left- ], (t, n, r) => FC(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), $(e.options, MC, "getLeftHeaderGroups")), e.getRightHeaderGroups = Q(() => [+ ], (t, n, r) => LC(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), $(e.options, PC, "getLeftHeaderGroups")), e.getRightHeaderGroups = Q(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right- ], (t, n, r) => FC(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), $(e.options, MC, "getRightHeaderGroups")), e.getFooterGroups = Q(() => [e.getHeaderGroups()], (e) => [...e].reverse(), $(e.options, MC, "getFooterGroups")), e.getLeftFooterGroups = Q(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), $(e.options, MC, "getLeftFooterGroups")), e.getCenterFooterGroups = Q(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), $(e.options, MC, "getCenterFooterGroups")), e.getRightFooterGroups = Q(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), $(e.options, MC, "getRightFooterGroups")), e.getFlatHeaders = Q(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, MC, "getFlatHeaders")), e.getLeftFlatHeaders = Q(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, MC, "getLeftFlatHeaders")), e.getCenterFlatHeaders = Q(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, MC, "getCenterFlatHeaders")), e.getRightFlatHeaders = Q(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, MC, "getRightFlatHeaders")), e.getCenterLeafHeaders = Q(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {+ ], (t, n, r) => LC(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), $(e.options, PC, "getRightHeaderGroups")), e.getFooterGroups = Q(() => [e.getHeaderGroups()], (e) => [...e].reverse(), $(e.options, PC, "getFooterGroups")), e.getLeftFooterGroups = Q(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), $(e.options, PC, "getLeftFooterGroups")), e.getCenterFooterGroups = Q(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), $(e.options, PC, "getCenterFooterGroups")), e.getRightFooterGroups = Q(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), $(e.options, PC, "getRightFooterGroups")), e.getFlatHeaders = Q(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, PC, "getFlatHeaders")), e.getLeftFlatHeaders = Q(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, PC, "getLeftFlatHeaders")), e.getCenterFlatHeaders = Q(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, PC, "getCenterFlatHeaders")), e.getRightFlatHeaders = Q(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, PC, "getRightFlatHeaders")), e.getCenterLeafHeaders = Q(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), $(e.options, MC, "getCenterLeafHeaders")), e.getLeftLeafHeaders = Q(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {+ }), $(e.options, PC, "getCenterLeafHeaders")), e.getLeftLeafHeaders = Q(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), $(e.options, MC, "getLeftLeafHeaders")), e.getRightLeafHeaders = Q(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {+ }), $(e.options, PC, "getLeftLeafHeaders")), e.getRightLeafHeaders = Q(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), $(e.options, MC, "getRightLeafHeaders")), e.getLeafHeaders = Q(() => [+ }), $(e.options, PC, "getRightLeafHeaders")), e.getLeafHeaders = Q(() => [e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()@@ -27868,9 +27892,9 @@ var PC = { createTable: (e) => {...e[0]?.headers ?? [],...t[0]?.headers ?? [],...n[0]?.headers ?? []- ].map((e) => e.getLeafHeaders()).flat(), $(e.options, MC, "getLeafHeaders"));+ ].map((e) => e.getLeafHeaders()).flat(), $(e.options, PC, "getLeafHeaders"));} };-function FC(e, t, n, r) {+function LC(e, t, n, r) {let i = 0, a = function(e, t) {t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {var n;@@ -27888,7 +27912,7 @@ function FC(e, t, n, r) {let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);else {- let i = NC(n, c, {+ let i = FC(n, c, {id: [r,t,@@ -27905,7 +27929,7 @@ function FC(e, t, n, r) {i.headers.push(e), e.headerGroup = i;}), o.push(i), t > 0 && s(a, t - 1);};- s(t.map((e, t) => NC(n, e, {+ s(t.map((e, t) => FC(n, e, {depth: i,index: t})), i - 1), o.reverse();@@ -27923,7 +27947,7 @@ function FC(e, t, n, r) {});return c(o[0]?.headers ?? []), o;}-var IC = (e, t, n, r, i, a, o) => {+var RC = (e, t, n, r, i, a, o) => {let s = {id: t,index: r,@@ -27944,7 +27968,7 @@ var IC = (e, t, n, r, i, a, o) => {},renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,subRows: a ?? [],- getLeafRows: () => kC(s.subRows, (e) => e.subRows),+ getLeafRows: () => jC(s.subRows, (e) => e.subRows),getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,getParentRows: () => {let e = [], t = s;@@ -27955,7 +27979,7 @@ var IC = (e, t, n, r, i, a, o) => {}return e.reverse();},- getAllCells: Q(() => [e.getAllLeafColumns()], (t) => t.map((t) => AC(e, s, t, t.id)), $(e.options, "debugRows", "getAllCells")),+ getAllCells: Q(() => [e.getAllLeafColumns()], (t) => t.map((t) => MC(e, s, t, t.id)), $(e.options, "debugRows", "getAllCells")),_getAllCellsByColumnId: Q(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), $(e.options, "debugRows", "getAllCellsByColumnId"))};for (let t = 0; t < e._features.length; t++) {@@ -27963,87 +27987,87 @@ var IC = (e, t, n, r, i, a, o) => {n == null || n.createRow == null || n.createRow(s, e);}return s;-}, LC = { createColumn: (e, t) => {+}, zC = { createColumn: (e, t) => {e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();};-} }, RC = (e, t, n) => {+} }, BC = (e, t, n) => {var r, i;let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));};-RC.autoRemove = (e) => JC(e);-var zC = (e, t, n) => {+BC.autoRemove = (e) => XC(e);+var VC = (e, t, n) => {var r;return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));};-zC.autoRemove = (e) => JC(e);-var BC = (e, t, n) => {+VC.autoRemove = (e) => XC(e);+var HC = (e, t, n) => {var r;return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();};-BC.autoRemove = (e) => JC(e);-var VC = (e, t, n) => e.getValue(t)?.includes(n);-VC.autoRemove = (e) => JC(e);-var HC = (e, t, n) => !n.some((n) => {+HC.autoRemove = (e) => XC(e);+var UC = (e, t, n) => e.getValue(t)?.includes(n);+UC.autoRemove = (e) => XC(e);+var WC = (e, t, n) => !n.some((n) => {var r;return !((r = e.getValue(t)) != null && r.includes(n));});-HC.autoRemove = (e) => JC(e) || !(e != null && e.length);-var UC = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));-UC.autoRemove = (e) => JC(e) || !(e != null && e.length);-var WC = (e, t, n) => e.getValue(t) === n;-WC.autoRemove = (e) => JC(e);-var GC = (e, t, n) => e.getValue(t) == n;-GC.autoRemove = (e) => JC(e);-var KC = (e, t, n) => {+WC.autoRemove = (e) => XC(e) || !(e != null && e.length);+var GC = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));+GC.autoRemove = (e) => XC(e) || !(e != null && e.length);+var KC = (e, t, n) => e.getValue(t) === n;+KC.autoRemove = (e) => XC(e);+var qC = (e, t, n) => e.getValue(t) == n;+qC.autoRemove = (e) => XC(e);+var JC = (e, t, n) => {let [r, i] = n, a = e.getValue(t);return a >= r && a <= i;};-KC.resolveFilterValue = (e) => {+JC.resolveFilterValue = (e) => {let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;if (a > o) {let e = a;a = o, o = e;}return [a, o];-}, KC.autoRemove = (e) => JC(e) || JC(e[0]) && JC(e[1]);-var qC = {- includesString: RC,- includesStringSensitive: zC,- equalsString: BC,- arrIncludes: VC,- arrIncludesAll: HC,- arrIncludesSome: UC,- equals: WC,- weakEquals: GC,- inNumberRange: KC+}, JC.autoRemove = (e) => XC(e) || XC(e[0]) && XC(e[1]);+var YC = {+ includesString: BC,+ includesStringSensitive: VC,+ equalsString: HC,+ arrIncludes: UC,+ arrIncludesAll: WC,+ arrIncludesSome: GC,+ equals: KC,+ weakEquals: qC,+ inNumberRange: JC};-function JC(e) {+function XC(e) {return e == null || e === "";}-var YC = {+var ZC = {getDefaultColumnDef: () => ({ filterFn: "auto" }),getInitialState: (e) => ({columnFilters: [],...e}),getDefaultOptions: (e) => ({- onColumnFiltersChange: EC("columnFilters", e),+ onColumnFiltersChange: OC("columnFilters", e),filterFromLeafRows: !1,maxLeafRowFilterDepth: 100}),createColumn: (e, t) => {e.getAutoFilterFn = () => {let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);- return typeof n == "string" ? qC.includesString : typeof n == "number" ? qC.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? qC.equals : Array.isArray(n) ? qC.arrIncludes : qC.weakEquals;- }, e.getFilterFn = () => DC(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? qC[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {+ return typeof n == "string" ? YC.includesString : typeof n == "number" ? YC.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? YC.equals : Array.isArray(n) ? YC.arrIncludes : YC.weakEquals;+ }, e.getFilterFn = () => kC(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? YC[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {var n;return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;}, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {t.setColumnFilters((t) => {- let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = TC(n, i ? i.value : void 0);- if (XC(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = DC(n, i ? i.value : void 0);+ if (QC(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];let o = {id: e.id,value: a@@ -28058,19 +28082,19 @@ var YC = {createTable: (e) => {e.setColumnFilters = (t) => {let n = e.getAllLeafColumns();- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => TC(t, e)?.filter((e) => {+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => DC(t, e)?.filter((e) => {let t = n.find((t) => t.id === e.id);- return !(t && XC(t.getFilterFn(), e.value, t));+ return !(t && QC(t.getFilterFn(), e.value, t));}));}, e.resetColumnFilters = (t) => {e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());}};-function XC(e, t, n) {+function QC(e, t, n) {return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;}-var ZC = {+var $C = {sum: (e, t, n) => n.reduce((t, n) => {let r = n.getValue(e);return t + (typeof r == "number" ? r : 0);@@ -28106,7 +28130,7 @@ var ZC = {median: (e, t) => {if (!t.length) return;let n = t.map((t) => t.getValue(e));- if (!OC(n)) return;+ if (!AC(n)) return;if (n.length === 1) return n[0];let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];@@ -28114,7 +28138,7 @@ var ZC = {unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,count: (e, t) => t.length-}, QC = {+}, ew = {getDefaultColumnDef: () => ({aggregatedCell: (e) => {var t;@@ -28127,7 +28151,7 @@ var ZC = {...e}),getDefaultOptions: (e) => ({- onGroupingChange: EC("grouping", e),+ onGroupingChange: OC("grouping", e),groupedColumnMode: "reorder"}),createColumn: (e, t) => {@@ -28140,11 +28164,11 @@ var ZC = {};}, e.getAutoAggregationFn = () => {let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);- if (typeof n == "number") return ZC.sum;- if (Object.prototype.toString.call(n) === "[object Date]") return ZC.extent;+ if (typeof n == "number") return $C.sum;+ if (Object.prototype.toString.call(n) === "[object Date]") return $C.extent;}, e.getAggregationFn = () => {if (!e) throw Error();- return DC(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? ZC[e.columnDef.aggregationFn];+ return kC(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? $C[e.columnDef.aggregationFn];};},createTable: (e) => {@@ -28166,20 +28190,20 @@ var ZC = {};}};-function $C(e, t, n) {+function tw(e, t, n) {if (!(t != null && t.length) || !n) return e;let r = e.filter((e) => !t.includes(e.id));return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];}-var ew = {+var nw = {getInitialState: (e) => ({columnOrder: [],...e}),- getDefaultOptions: (e) => ({ onColumnOrderChange: EC("columnOrder", e) }),+ getDefaultOptions: (e) => ({ onColumnOrderChange: OC("columnOrder", e) }),createColumn: (e, t) => {- e.getIndex = Q((e) => [dw(t, e)], (t) => t.findIndex((t) => t.id === e.id), $(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => dw(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {- let r = dw(t, n);+ e.getIndex = Q((e) => [pw(t, e)], (t) => t.findIndex((t) => t.id === e.id), $(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => pw(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {+ let r = pw(t, n);return r[r.length - 1]?.id === e.id;};},@@ -28201,18 +28225,18 @@ var ew = {}i = [...i, ...n];}- return $C(i, t, n);+ return tw(i, t, n);}, $(e.options, "debugTable", "_getOrderColumnsFn"));}-}, tw = () => ({+}, rw = () => ({left: [],right: []-}), nw = {+}), iw = {getInitialState: (e) => ({- columnPinning: tw(),+ columnPinning: rw(),...e}),- getDefaultOptions: (e) => ({ onColumnPinningChange: EC("columnPinning", e) }),+ getDefaultOptions: (e) => ({ onColumnPinningChange: OC("columnPinning", e) }),createColumn: (e, t) => {e.pin = (n) => {let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);@@ -28252,7 +28276,7 @@ var ew = {})), $(t.options, "debugRows", "getRightVisibleCells"));},createTable: (e) => {- e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? tw() : e.initialState?.columnPinning ?? tw()), e.getIsSomeColumnsPinned = (t) => {+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? rw() : e.initialState?.columnPinning ?? rw()), e.getIsSomeColumnsPinned = (t) => {let n = e.getState().columnPinning;return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);}, e.getLeftLeafColumns = Q(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), $(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = Q(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), $(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = Q(() => [@@ -28265,44 +28289,44 @@ var ew = {}, $(e.options, "debugColumns", "getCenterLeafColumns"));}};-function rw(e) {+function aw(e) {return e || (typeof document < "u" ? document : null);}-var iw = {+var ow = {size: 150,minSize: 20,maxSize: 2 ** 53 - 1-}, aw = () => ({+}, sw = () => ({startOffset: null,startSize: null,deltaOffset: null,deltaPercentage: null,isResizingColumn: !1,columnSizingStart: []-}), ow = {- getDefaultColumnDef: () => iw,+}), cw = {+ getDefaultColumnDef: () => ow,getInitialState: (e) => ({columnSizing: {},- columnSizingInfo: aw(),+ columnSizingInfo: sw(),...e}),getDefaultOptions: (e) => ({columnResizeMode: "onEnd",columnResizeDirection: "ltr",- onColumnSizingChange: EC("columnSizing", e),- onColumnSizingInfoChange: EC("columnSizingInfo", e)+ onColumnSizingChange: OC("columnSizing", e),+ onColumnSizingInfoChange: OC("columnSizingInfo", e)}),createColumn: (e, t) => {e.getSize = () => {let n = t.getState().columnSizing[e.id];- return Math.min(Math.max(e.columnDef.minSize ?? iw.minSize, n ?? e.columnDef.size ?? iw.size), e.columnDef.maxSize ?? iw.maxSize);+ return Math.min(Math.max(e.columnDef.minSize ?? ow.minSize, n ?? e.columnDef.size ?? ow.size), e.columnDef.maxSize ?? ow.maxSize);}, e.getStart = Q((e) => [e,- dw(t, e),+ pw(t, e),t.getState().columnSizing], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), $(t.options, "debugColumns", "getStart")), e.getAfter = Q((e) => [e,- dw(t, e),+ pw(t, e),t.getState().columnSizing], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), $(t.options, "debugColumns", "getAfter")), e.resetSize = () => {t.setColumnSizing((t) => {@@ -28326,8 +28350,8 @@ var iw = {}, e.getResizeHandler = (n) => {let r = t.getColumn(e.column.id), i = r?.getCanResize();return (a) => {- if (!r || !i || (a.persist == null || a.persist(), lw(a) && a.touches && a.touches.length > 1)) return;- let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = lw(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {+ if (!r || !i || (a.persist == null || a.persist(), dw(a) && a.touches && a.touches.length > 1)) return;+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = dw(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {typeof n == "number" && (t.setColumnSizingInfo((e) => {let r = t.options.columnResizeDirection === "rtl" ? -1 : 1, i = (n - (e?.startOffset ?? 0)) * r, a = Math.max(i / (e?.startSize ?? 0), -.999999);return e.columnSizingStart.forEach((e) => {@@ -28352,7 +28376,7 @@ var iw = {deltaPercentage: null,columnSizingStart: []}));- }, p = rw(n), m = {+ }, p = aw(n), m = {moveHandler: (e) => d(e.clientX),upHandler: (e) => {p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);@@ -28362,8 +28386,8 @@ var iw = {upHandler: (e) => {p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);}- }, g = cw() ? { passive: !1 } : !1;- lw(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({+ }, g = uw() ? { passive: !1 } : !1;+ dw(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({...e,startOffset: c,startSize: o,@@ -28379,12 +28403,12 @@ var iw = {e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});}, e.resetHeaderSizeInfo = (t) => {- e.setColumnSizingInfo(t ? aw() : e.initialState.columnSizingInfo ?? aw());+ e.setColumnSizingInfo(t ? sw() : e.initialState.columnSizingInfo ?? sw());}, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;}-}, sw = null;-function cw() {- if (typeof sw == "boolean") return sw;+}, lw = null;+function uw() {+ if (typeof lw == "boolean") return lw;let e = !1;try {let t = { get passive() {@@ -28394,17 +28418,17 @@ function cw() {} catch {e = !1;}- return sw = e, sw;+ return lw = e, lw;}-function lw(e) {+function dw(e) {return e.type === "touchstart";}-var uw = {+var fw = {getInitialState: (e) => ({columnVisibility: {},...e}),- getDefaultOptions: (e) => ({ onColumnVisibilityChange: EC("columnVisibility", e) }),+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: OC("columnVisibility", e) }),createColumn: (e, t) => {e.toggleVisibility = (n) => {e.getCanHide() && t.setColumnVisibility((t) => ({@@ -28443,20 +28467,20 @@ var uw = {};}};-function dw(e, t) {+function pw(e, t) {return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();}-var fw = { createTable: (e) => {+var mw = { createTable: (e) => {e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();};-} }, pw = {+} }, hw = {getInitialState: (e) => ({globalFilter: void 0,...e}),getDefaultOptions: (e) => ({- onGlobalFilterChange: EC("globalFilter", e),+ onGlobalFilterChange: OC("globalFilter", e),globalFilterFn: "auto",getColumnCanGlobalFilter: (t) => {var n;@@ -28468,22 +28492,22 @@ var fw = { createTable: (e) => {e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;},createTable: (e) => {- e.getGlobalAutoFilterFn = () => qC.includesString, e.getGlobalFilterFn = () => {+ e.getGlobalAutoFilterFn = () => YC.includesString, e.getGlobalFilterFn = () => {let { globalFilterFn: t } = e.options;- return DC(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? qC[t];+ return kC(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? YC[t];}, e.setGlobalFilter = (t) => {e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);}, e.resetGlobalFilter = (t) => {e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);};}-}, mw = {+}, gw = {getInitialState: (e) => ({expanded: {},...e}),getDefaultOptions: (e) => ({- onExpandedChange: EC("expanded", e),+ onExpandedChange: OC("expanded", e),paginateExpandedRows: !0}),createTable: (e) => {@@ -28554,18 +28578,18 @@ var fw = { createTable: (e) => {};};}-}, hw = 0, gw = 10, _w = () => ({- pageIndex: hw,- pageSize: gw-}), vw = {+}, _w = 0, vw = 10, yw = () => ({+ pageIndex: _w,+ pageSize: vw+}), bw = {getInitialState: (e) => ({...e,pagination: {- ..._w(),+ ...yw(),...e?.pagination}}),- getDefaultOptions: (e) => ({ onPaginationChange: EC("pagination", e) }),+ getDefaultOptions: (e) => ({ onPaginationChange: OC("pagination", e) }),createTable: (e) => {let t = !1, n = !1;e._autoResetPageIndex = () => {@@ -28581,11 +28605,11 @@ var fw = { createTable: (e) => {e.resetPageIndex(), n = !1;});}- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => TC(t, e)), e.resetPagination = (t) => {- e.setPagination(t ? _w() : e.initialState.pagination ?? _w());+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => DC(t, e)), e.resetPagination = (t) => {+ e.setPagination(t ? yw() : e.initialState.pagination ?? yw());}, e.setPageIndex = (t) => {e.setPagination((n) => {- let r = TC(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+ let r = DC(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;return r = Math.max(0, Math.min(r, i)), {...n,pageIndex: r@@ -28593,13 +28617,13 @@ var fw = { createTable: (e) => {});}, e.resetPageIndex = (t) => {var n;- e.setPageIndex(t ? hw : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? hw);+ e.setPageIndex(t ? _w : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? _w);}, e.resetPageSize = (t) => {var n;- e.setPageSize(t ? gw : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? gw);+ e.setPageSize(t ? vw : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? vw);}, e.setPageSize = (t) => {e.setPagination((e) => {- let n = Math.max(1, TC(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);+ let n = Math.max(1, DC(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);return {...e,pageIndex: i,@@ -28607,7 +28631,7 @@ var fw = { createTable: (e) => {};});}, e.setPageCount = (t) => e.setPagination((n) => {- let r = TC(t, e.options.pageCount ?? -1);+ let r = DC(t, e.options.pageCount ?? -1);return typeof r == "number" && (r = Math.max(-1, r)), {...n,pageCount: r@@ -28620,15 +28644,15 @@ var fw = { createTable: (e) => {return n === -1 || n !== 0 && t < n - 1;}, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;}-}, yw = () => ({+}, xw = () => ({top: [],bottom: []-}), bw = {+}), Sw = {getInitialState: (e) => ({- rowPinning: yw(),+ rowPinning: xw(),...e}),- getDefaultOptions: (e) => ({ onRowPinningChange: EC("rowPinning", e) }),+ getDefaultOptions: (e) => ({ onRowPinningChange: OC("rowPinning", e) }),createRow: (e, t) => {e.pin = (n, r, i) => {let a = r ? e.getLeafRows().map((e) => {@@ -28667,7 +28691,7 @@ var fw = { createTable: (e) => {};},createTable: (e) => {- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? yw() : e.initialState?.rowPinning ?? yw()), e.getIsSomeRowsPinned = (t) => {+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? xw() : e.initialState?.rowPinning ?? xw()), e.getIsSomeRowsPinned = (t) => {let n = e.getState().rowPinning;return t ? !!n[t]?.length : !!(n.top?.length || n.bottom?.length);}, e._getPinnedRows = (t, n, r) => (e.options.keepPinnedRows ?? !0 ? (n ?? []).map((t) => {@@ -28685,13 +28709,13 @@ var fw = { createTable: (e) => {return e.filter((e) => !r.has(e.id));}, $(e.options, "debugRows", "getCenterRows"));}-}, xw = {+}, Cw = {getInitialState: (e) => ({rowSelection: {},...e}),getDefaultOptions: (e) => ({- onRowSelectionChange: EC("rowSelection", e),+ onRowSelectionChange: OC("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableSubRowSelection: !0@@ -28710,17 +28734,17 @@ var fw = { createTable: (e) => {}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };return e.getRowModel().rows.forEach((t) => {- Sw(i, t.id, r, !0, e);+ ww(i, t.id, r, !0, e);}), i;- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Q(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? Cw(e, n) : {+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Q(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? Tw(e, n) : {rows: [],flatRows: [],rowsById: {}- }, $(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = Q(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? Cw(e, n) : {+ }, $(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = Q(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? Tw(e, n) : {rows: [],flatRows: [],rowsById: {}- }, $(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = Q(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? Cw(e, n) : {+ }, $(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = Q(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? Tw(e, n) : {rows: [],flatRows: [],rowsById: {}@@ -28748,17 +28772,17 @@ var fw = { createTable: (e) => {t.setRowSelection((a) => {if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;let o = { ...a };- return Sw(o, e.id, n, r?.selectChildren ?? !0, t), o;+ return ww(o, e.id, n, r?.selectChildren ?? !0, t), o;});}, e.getIsSelected = () => {let { rowSelection: n } = t.getState();- return ww(e, n);+ return Ew(e, n);}, e.getIsSomeSelected = () => {let { rowSelection: n } = t.getState();- return Tw(e, n) === "some";+ return Dw(e, n) === "some";}, e.getIsAllSubRowsSelected = () => {let { rowSelection: n } = t.getState();- return Tw(e, n) === "all";+ return Dw(e, n) === "all";}, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {let t = e.getCanSelect();return (n) => {@@ -28766,16 +28790,16 @@ var fw = { createTable: (e) => {};};}-}, Sw = (e, t, n, r, i) => {+}, ww = (e, t, n, r, i) => {var a;let o = i.getRow(t, !0);- n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => Sw(e, t.id, n, r, i));+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => ww(e, t.id, n, r, i));};-function Cw(e, t) {+function Tw(e, t) {let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {return e.map((e) => {var t;- let o = ww(e, n);+ let o = Ew(e, n);if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {...e,subRows: a(e.subRows)@@ -28788,32 +28812,32 @@ function Cw(e, t) {rowsById: i};}-function ww(e, t) {+function Ew(e, t) {return t[e.id] ?? !1;}-function Tw(e, t, n) {+function Dw(e, t, n) {var r;if (!((r = e.subRows) != null && r.length)) return !1;let i = !0, a = !1;return e.subRows.forEach((e) => {- if (!(a && !i) && (e.getCanSelect() && (ww(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {- let n = Tw(e, t);+ if (!(a && !i) && (e.getCanSelect() && (Ew(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {+ let n = Dw(e, t);n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);}}), i ? "all" : a ? "some" : !1;}-var Ew = /([0-9]+)/gm, Dw = (e, t, n) => Fw(Pw(e.getValue(n)).toLowerCase(), Pw(t.getValue(n)).toLowerCase()), Ow = (e, t, n) => Fw(Pw(e.getValue(n)), Pw(t.getValue(n))), kw = (e, t, n) => Nw(Pw(e.getValue(n)).toLowerCase(), Pw(t.getValue(n)).toLowerCase()), Aw = (e, t, n) => Nw(Pw(e.getValue(n)), Pw(t.getValue(n))), jw = (e, t, n) => {+var Ow = /([0-9]+)/gm, kw = (e, t, n) => Lw(Iw(e.getValue(n)).toLowerCase(), Iw(t.getValue(n)).toLowerCase()), Aw = (e, t, n) => Lw(Iw(e.getValue(n)), Iw(t.getValue(n))), jw = (e, t, n) => Fw(Iw(e.getValue(n)).toLowerCase(), Iw(t.getValue(n)).toLowerCase()), Mw = (e, t, n) => Fw(Iw(e.getValue(n)), Iw(t.getValue(n))), Nw = (e, t, n) => {let r = e.getValue(n), i = t.getValue(n);return r > i ? 1 : r < i ? -1 : 0;-}, Mw = (e, t, n) => Nw(e.getValue(n), t.getValue(n));-function Nw(e, t) {+}, Pw = (e, t, n) => Fw(e.getValue(n), t.getValue(n));+function Fw(e, t) {return e === t ? 0 : e > t ? 1 : -1;}-function Pw(e) {+function Iw(e) {return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";}-function Fw(e, t) {- let n = e.split(Ew).filter(Boolean), r = t.split(Ew).filter(Boolean);+function Lw(e, t) {+ let n = e.split(Ow).filter(Boolean), r = t.split(Ow).filter(Boolean);for (; n.length && r.length;) {let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();if (isNaN(o[0])) {@@ -28827,22 +28851,22 @@ function Fw(e, t) {}return n.length - r.length;}-var Iw = {- alphanumeric: Dw,- alphanumericCaseSensitive: Ow,- text: kw,- textCaseSensitive: Aw,- datetime: jw,- basic: Mw-}, Lw = [- PC,- uw,- ew,- nw,- LC,- YC,+var Rw = {+ alphanumeric: kw,+ alphanumericCaseSensitive: Aw,+ text: jw,+ textCaseSensitive: Mw,+ datetime: Nw,+ basic: Pw+}, zw = [+ IC,fw,- pw,+ nw,+ iw,+ zC,+ ZC,+ mw,+ hw,{getInitialState: (e) => ({sorting: [],@@ -28853,7 +28877,7 @@ var Iw = {sortUndefined: 1}),getDefaultOptions: (e) => ({- onSortingChange: EC("sorting", e),+ onSortingChange: OC("sorting", e),isMultiSortEvent: (e) => e.shiftKey}),createColumn: (e, t) => {@@ -28861,13 +28885,13 @@ var Iw = {let n = t.getFilteredRowModel().flatRows.slice(10), r = !1;for (let t of n) {let n = t?.getValue(e.id);- if (Object.prototype.toString.call(n) === "[object Date]") return Iw.datetime;- if (typeof n == "string" && (r = !0, n.split(Ew).length > 1)) return Iw.alphanumeric;+ if (Object.prototype.toString.call(n) === "[object Date]") return Rw.datetime;+ if (typeof n == "string" && (r = !0, n.split(Ow).length > 1)) return Rw.alphanumeric;}- return r ? Iw.text : Iw.basic;+ return r ? Rw.text : Rw.basic;}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {if (!e) throw Error();- return DC(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? Iw[e.columnDef.sortingFn];+ return kC(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? Rw[e.columnDef.sortingFn];}, e.toggleSorting = (n, r) => {let i = e.getNextSortingOrder(), a = n != null;t.setSorting((o) => {@@ -28904,15 +28928,15 @@ var Iw = {}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());}},- QC,- mw,- vw,+ ew,+ gw,bw,- xw,- ow+ Sw,+ Cw,+ cw];-function Rw(e) {- let t = [...Lw, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {+function Bw(e) {+ let t = [...zw, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {...r,...e}, a = { ...e.initialState ?? {} };@@ -28938,7 +28962,7 @@ function Rw(e) {n.setState(n.initialState);},setOptions: (e) => {- let t = TC(e, n.options);+ let t = DC(e, n.options);n.options = i(t);},getState: () => n.options.state,@@ -28969,7 +28993,7 @@ function Rw(e) {getAllColumns: Q(() => [n._getColumnDefs()], (e) => {let t = function(e, r, i) {return i === void 0 && (i = 0), e.map((e) => {- let a = jC(n, e, i, r), o = e;+ let a = NC(n, e, i, r), o = e;return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;});};@@ -28987,7 +29011,7 @@ function Rw(e) {}return n;}-function zw() {+function Vw() {return (e) => Q(() => [e.options.data], (t) => {let n = {rows: [],@@ -28997,7 +29021,7 @@ function zw() {i === void 0 && (i = 0);let o = [];for (let c = 0; c < t.length; c++) {- let l = IC(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);+ let l = RC(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {var s;l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));@@ -29008,7 +29032,7 @@ function zw() {return n.rows = r(t), n;}, $(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));}-function Bw(e) {+function Hw(e) {let t = [], n = (e) => {var r;t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);@@ -29019,7 +29043,7 @@ function Bw(e) {rowsById: e.rowsById};}-function Vw(e) {+function Uw(e) {return (e) => Q(() => [e.getState().pagination,e.getPrePaginationRowModel(),@@ -29033,7 +29057,7 @@ function Vw(e) {rows: a,flatRows: o,rowsById: s- } : Bw({+ } : Hw({rows: a,flatRows: o,rowsById: s@@ -29046,28 +29070,28 @@ function Vw(e) {}//#endregion//#region node_modules/@tanstack/react-table/build/lib/index.mjs-function Hw(e, t) {- return e ? Uw(e) ? /*#__PURE__*/ C.createElement(e, t) : e : null;+function Ww(e, t) {+ return e ? Gw(e) ? /*#__PURE__*/ C.createElement(e, t) : e : null;}-function Uw(e) {- return Ww(e) || typeof e == "function" || Gw(e);+function Gw(e) {+ return Kw(e) || typeof e == "function" || qw(e);}-function Ww(e) {+function Kw(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function Gw(e) {+function qw(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function Kw(e) {+function Jw(e) {let t = {state: {},onStateChange: () => {},renderFallbackValue: null,...e- }, [n] = C.useState(() => ({ current: Rw(t) })), [r, i] = C.useState(() => n.current.initialState);+ }, [n] = C.useState(() => ({ current: Bw(t) })), [r, i] = C.useState(() => n.current.initialState);return n.current.setOptions((t) => ({...t,...e,@@ -29082,7 +29106,7 @@ function Kw(e) {}//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function qw(e) {+function Yw(e) {return /* @__PURE__ */ (0, w.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -29096,7 +29120,7 @@ function qw(e) {})});}-function Jw(e) {+function Xw(e) {return /* @__PURE__ */ (0, w.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -29110,7 +29134,7 @@ function Jw(e) {}//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function Yw(e, t, n) {+function Zw(e, t, n) {(0, C.useEffect)(() => {if (!e) return;let r = (e) => {@@ -29124,7 +29148,7 @@ function Yw(e, t, n) {n]);}-function Xw(e, t) {+function Qw(e, t) {let n = (0, C.useRef)(!1);return (0, C.useEffect)(() => {if (!e) return;@@ -29138,33 +29162,33 @@ function Xw(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var Zw = (0, C.createContext)("md");-function Qw({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var $w = (0, C.createContext)("md");+function eT({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, C.useRef)(null), u = (0, C.useRef)(null), [d, f] = (0, C.useState)(!1);- Yw(d, () => f(!1), [l, u]);- let p = Xw(d, l);+ Zw(d, () => f(!1), [l, u]);+ let p = Qw(d, l);return /* @__PURE__ */ (0, w.jsx)(Tv, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: W("group flex flex-col", e),+ className: G("group flex flex-col", e),children: ({ isOpen: e }) => /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsxs)(ig, {ref: l,- className: W("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),+ className: G("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, w.jsx)(kv, {- className: W("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: G("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, w.jsx)(qw, { className: W("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, w.jsx)(Yw, { className: G("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]}), /* @__PURE__ */ (0, w.jsx)(Y_, {ref: u,isNonModal: !0,offset: 4,- className: W(CS, SS, "p-2", n),+ className: G(xS, bS, "p-2", n),children: /* @__PURE__ */ (0, w.jsx)(P_, {items: a,- className: W(wS, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, w.jsx)(Zw.Provider, {+ className: G(SS, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, w.jsx)($w.Provider, {value: r,children: i})@@ -29172,17 +29196,17 @@ function Qw({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function $w({ className: e, children: t, ...n }) {- let r = (0, C.useContext)(Zw);+function tT({ className: e, children: t, ...n }) {+ let r = (0, C.useContext)($w);return /* @__PURE__ */ (0, w.jsx)(R_, {...n,- className: (t) => W(TS, 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) => G(CS, 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/components/selection-dock.tsx-function eT({ children: e, count: t, label: n }) {+function nT({ children: e, count: t, label: n }) {return /* @__PURE__ */ (0, w.jsxs)("div", {role: "group","aria-label": n,@@ -29197,19 +29221,19 @@ function eT({ children: e, count: t, label: n }) {}//#endregion//#region src/react/follow-manage/source-list.tsx-var tT = Object.fromEntries(Object.entries(mx).map(([e, t]) => [t, e])), nT = 740;-function rT() {+var rT = Object.fromEntries(Object.entries(mx).map(([e, t]) => [t, e])), iT = 740;+function aT() {let [e, t] = (0, C.useState)(!1), n = (0, C.useRef)(null), r = (0, C.useCallback)((e) => {if (n.current?.disconnect(), !e) {n.current = null;return;}- let r = new ResizeObserver(() => t(e.clientWidth < nT));- r.observe(e), n.current = r, t(e.clientWidth < nT);+ let r = new ResizeObserver(() => t(e.clientWidth < iT));+ r.observe(e), n.current = r, t(e.clientWidth < iT);}, []);return (0, C.useEffect)(() => () => n.current?.disconnect(), []), [r, e];}-var iT = {+var oT = {select: "选择",author: "创作者",source: "来源",@@ -29218,7 +29242,7 @@ var iT = {checked: "上次检查",actions: "操作"};-function aT({ page: e, pages: t, onPage: n }) {+function sT({ page: e, pages: t, onPage: n }) {return t <= 1 ? null : /* @__PURE__ */ (0, w.jsxs)("nav", {"aria-label": "关注列表分页",className: "flex flex-wrap items-center justify-center gap-2",@@ -29255,19 +29279,19 @@ function aT({ page: e, pages: t, onPage: n }) {]});}-function oT({ source: e, selected: t, onToggle: n, handlers: r }) {+function cT({ source: e, selected: t, onToggle: n, handlers: r }) {return /* @__PURE__ */ (0, w.jsxs)("div", {"data-selected": t || void 0,className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",children: [- /* @__PURE__ */ (0, w.jsx)(xS, {+ /* @__PURE__ */ (0, w.jsx)(yS, {isSelected: t,onChange: n,"aria-label": `选择 ${e.label}`}),/* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-0.5",- children: [/* @__PURE__ */ (0, w.jsx)(JS, { source: e }), e.last_error ? /* @__PURE__ */ (0, w.jsx)("small", {+ children: [/* @__PURE__ */ (0, w.jsx)(XS, { source: e }), e.last_error ? /* @__PURE__ */ (0, w.jsx)("small", {className: "text-caption-1-regular text-text-error-primary",children: e.last_error}) : null]@@ -29275,15 +29299,15 @@ function oT({ source: e, selected: t, onToggle: n, handlers: r }) {/* @__PURE__ */ (0, w.jsx)("span", {className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",title: e.provider_label,- children: /* @__PURE__ */ (0, w.jsx)(GS, {+ children: /* @__PURE__ */ (0, w.jsx)(qS, {provider: e.provider,label: e.provider_label})}),- /* @__PURE__ */ (0, w.jsx)(qS, { source: e }),+ /* @__PURE__ */ (0, w.jsx)(YS, { source: e }),/* @__PURE__ */ (0, w.jsx)("span", {className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",- children: sS(e)+ children: aS(e)}),/* @__PURE__ */ (0, w.jsxs)("span", {className: "flex shrink-0 items-center gap-1",@@ -29309,11 +29333,11 @@ function oT({ source: e, selected: t, onToggle: n, handlers: r }) {]});}-function sT({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {+function lT({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(Sx).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = Fx(r, c);return /* @__PURE__ */ (0, w.jsxs)("section", {"aria-label": `${t} 的关注来源`,- className: sh({+ className: oh({variant: "raised",padding: "none",className: "flex flex-col overflow-hidden p-2"@@ -29323,7 +29347,7 @@ function sT({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o"data-open": n || void 0,className: "flex flex-wrap items-center gap-3 px-2 py-2.5",children: [- /* @__PURE__ */ (0, w.jsx)(KS, {+ /* @__PURE__ */ (0, w.jsx)(JS, {group: e,name: t}),@@ -29344,7 +29368,7 @@ function sT({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o/* @__PURE__ */ (0, w.jsxs)("span", {className: "flex shrink-0 items-center gap-1",title: d,- children: [e.map((e) => /* @__PURE__ */ (0, w.jsx)(GS, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, w.jsx)(Qo, { children: `来源:${d}` })]+ children: [e.map((e) => /* @__PURE__ */ (0, w.jsx)(qS, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, w.jsx)(Qo, { children: `来源:${d}` })]}),u ? /* @__PURE__ */ (0, w.jsx)("span", {className: "shrink-0 text-body-2-regular text-text-error-primary",@@ -29374,7 +29398,7 @@ function sT({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, oid: f,hidden: !n,"data-source-divider": !0,- children: e.map((e) => /* @__PURE__ */ (0, w.jsx)(oT, {+ children: e.map((e) => /* @__PURE__ */ (0, w.jsx)(cT, {source: e,handlers: i,selected: r.has(e.id),@@ -29383,60 +29407,40 @@ function sT({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o})]});}-function cT(e) {- let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: l, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, C.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, C.useState)(/* @__PURE__ */ new Set()), [T, E] = rT(), [D, O] = (0, C.useState)(!1), [k, A] = (0, C.useState)(null), [j, M] = (0, C.useState)(""), N = (0, C.useMemo)(() => jx(v, n, i, y), [+function uT(e) {+ let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: l, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, C.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, C.useState)(/* @__PURE__ */ new Set()), [T, E] = aT(), [D, O] = (0, C.useState)(""), k = (0, C.useMemo)(() => jx(v, n, i, y), [v,n,i,y- ]), ee = (0, C.useMemo)(() => Mx(N, n, i, y), [- N,+ ]), A = (0, C.useMemo)(() => Mx(k, n, i, y), [+ k,n,i,y- ]), te = dt({+ ]), { job: j, running: M, outcome: ee, start: te } = OS({queryKey: ax,queryFn: ({ signal: e }) => zx(e),- refetchInterval: (e) => rS(e.state.data)- }), P = te.data?.status === "running", ne = ft({- mutationFn: (e) => Hx(e),- onSuccess: (e) => {- O(!0), A(null), J.setQueryData(ax, e), J.invalidateQueries({- queryKey: ax,- exact: !0- });- },- onError: (e) => M(G(e))- });- (0, C.useEffect)(() => {- let e = te.data;- if (e) {- if (e.status === "running") {- D || O(!0);- return;- }- D && (O(!1), A(e), tS(), g(e.status === "failed" ? e.error || "检查失败" : iS(e)));- }- }, [- te.data,- D,- g- ]);- let re = (e) => {- P || ne.isPending || (M(""), ne.mutate(e));- }, ie = (e, t) => h(Ix(l, [e], t)), ae = (e, t) => h(Ix(l, e, t)), oe = ft({+ start: (e) => Hx(e),+ onError: (e) => O(K(e)),+ onFinish: (e) => {+ tS(), g(e.status === "failed" ? e.error || "检查失败" : nS(e));+ }+ }), ne = (e) => {+ M || te.isPending || (O(""), te.mutate(e));+ }, N = (e, t) => h(Ix(l, [e], t)), re = (e, t) => h(Ix(l, e, t)), ie = mt({mutationFn: (e) => Gx(e),onSuccess: (e, t) => {eS([t]), h(Ix(l, [t], !1)), g("已取消关注来源");},- onError: (e) => M(G(e))- }), se = (e) => void c({+ onError: (e) => O(K(e))+ }), ae = (e) => void c({title: "取消关注来源",body: "将移除这个来源及已抓取的条目,媒体文件保留。",confirmLabel: "取消关注来源",danger: !0,- onConfirm: () => oe.mutateAsync(e.id)- }), ce = ft({+ onConfirm: () => ie.mutateAsync(e.id)+ }), oe = mt({mutationFn: async (e) => {let t = await r(e.ids, 4, async (t) => {e.action === "remove" ? await Gx(t) : await Wx(t, e.action === "enabled");@@ -29453,15 +29457,15 @@ function cT(e) {h(Ix(l, e.done, !1));let t = e.results.filter((e) => !e.ok);if (t.length) {- M(`${t.length}/${e.ids.length} 个来源未更新:${G(t[0]?.error)}`);+ O(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);return;}- M("");+ O("");let n = e.action === "remove" ? "删除" : e.action === "enabled" ? "启用" : "暂停";g(`已${n} ${e.done.length} 个关注来源`);},- onError: (e) => M(G(e))- }), le = ft({+ onError: (e) => O(K(e))+ }), se = mt({mutationFn: async (e) => {let t = ((await Zx()).groups || []).flatMap((e) => [e.primary,@@ -29475,31 +29479,31 @@ function cT(e) {},onSuccess: (e) => {if (tS(), e.failed.length) {- M(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);+ O(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);return;}- M(""), g(`已批量标记 ${e.ids.length} 项`);+ O(""), g(`已批量标记 ${e.ids.length} 项`);},- onError: (e) => M(G(e))- }), ue = (0, C.useRef)({- check: re,- remove: se,+ onError: (e) => O(K(e))+ }), ce = (0, C.useRef)({+ check: ne,+ remove: ae,busy: !1,readOnly: u});- ue.current = {- check: re,- remove: se,- busy: P || ne.isPending,+ ce.current = {+ check: ne,+ remove: ae,+ busy: M || te.isPending,readOnly: u};- let de = ue.current, fe = (0, C.useMemo)(() => {- let e = wC(), t = (e) => () => iT[e] || e;+ let le = ce.current, ue = (0, C.useMemo)(() => {+ let e = EC(), t = (e) => () => oT[e] || e;return [e.display({id: "select",header: t("select"),- cell: (e) => /* @__PURE__ */ (0, w.jsx)(xS, {+ cell: (e) => /* @__PURE__ */ (0, w.jsx)(yS, {slot: null,isSelected: e.row.getIsSelected(),onChange: (t) => e.row.toggleSelected(t),@@ -29511,7 +29515,7 @@ function cT(e) {header: t("author"),cell: (e) => /* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, w.jsx)(KS, {+ children: [/* @__PURE__ */ (0, w.jsx)(JS, {group: e.row.original.group,name: e.row.original.author}), /* @__PURE__ */ (0, w.jsx)("span", {@@ -29525,7 +29529,7 @@ function cT(e) {header: t("source"),cell: (e) => /* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 flex-col gap-0.5",- children: [/* @__PURE__ */ (0, w.jsx)(JS, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, w.jsx)("small", {+ children: [/* @__PURE__ */ (0, w.jsx)(XS, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, w.jsx)("small", {className: "text-caption-1-regular text-text-error-primary",children: e.row.original.source.last_error}) : null]@@ -29536,18 +29540,18 @@ function cT(e) {header: t("provider"),cell: (e) => /* @__PURE__ */ (0, w.jsxs)("span", {className: "flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, w.jsx)(GS, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]+ children: [/* @__PURE__ */ (0, w.jsx)(qS, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]})}),e.display({id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, w.jsx)(qS, { source: e.row.original.source })+ cell: (e) => /* @__PURE__ */ (0, w.jsx)(YS, { source: e.row.original.source })}),e.accessor((e) => e.source.last_checked_at || "", {id: "checked",header: t("checked"),- cell: (e) => sS(e.row.original.source)+ cell: (e) => aS(e.row.original.source)}),e.display({id: "actions",@@ -29560,34 +29564,34 @@ function cT(e) {iconOnly: !0,leadingIcon: ip,"aria-label": `检查 ${e.row.original.source.label} 的更新`,- disabled: !e.row.original.source.enabled || de.readOnly,- ...Z(de.busy),- onClick: () => ue.current.check([e.row.original.source.id])+ disabled: !e.row.original.source.enabled || le.readOnly,+ ...Z(le.busy),+ onClick: () => ce.current.check([e.row.original.source.id])}), /* @__PURE__ */ (0, w.jsx)(X, {variant: "secondary",size: "small",iconOnly: !0,leadingIcon: Uf,"aria-label": `移除 ${e.row.original.source.label}`,- disabled: de.readOnly,- onClick: () => ue.current.remove(e.row.original.source)+ disabled: le.readOnly,+ onClick: () => ce.current.remove(e.row.original.source)})]})})];- }, [de]), pe = (0, C.useMemo)(() => {- let e = tT[n];+ }, [le]), de = (0, C.useMemo)(() => {+ let e = rT[n];return e ? [{id: e,desc: i === "desc"}] : [];- }, [n, i]), F = (0, C.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), I = o === "table", me = Nx(I ? ee.length : N.length, s, a), he = Kw({- data: ee,- columns: fe,+ }, [n, i]), fe = (0, C.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), pe = o === "table", me = Nx(pe ? A.length : k.length, s, a), P = Jw({+ data: A,+ columns: ue,getRowId: (e) => String(e.source.id),state: {- sorting: pe,- rowSelection: F,+ sorting: de,+ rowSelection: fe,pagination: {pageIndex: me.page - 1,pageSize: s@@ -29596,13 +29600,13 @@ function cT(e) {manualSorting: !0,enableRowSelection: !0,onSortingChange: (e) => {- let t = (typeof e == "function" ? e(pe) : e)[0];+ let t = (typeof e == "function" ? e(de) : e)[0];if (!t) return;let n = mx[t.id];n && d(n, t.desc ? "desc" : "asc");},onRowSelectionChange: (e) => {- let t = typeof e == "function" ? e(F) : e;+ let t = typeof e == "function" ? e(fe) : e;h(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));},onPaginationChange: (e) => {@@ -29612,11 +29616,11 @@ function cT(e) {}, n = typeof e == "function" ? e(t) : e;n.pageSize === s ? n.pageIndex !== t.pageIndex && f(n.pageIndex + 1) : m(n.pageSize);},- getCoreRowModel: zw(),- getPaginationRowModel: Vw()- }), ge = he.getRowModel().rows, _e = I ? ge.map((e) => e.original.source.id) : N.slice(me.start, me.end).flatMap((e) => e.map((e) => e.id)), ve = Fx(l, _e), ye = [...l], be = aS(k), xe = oS(k), Se = N.length > 0 && x.size >= N.length;+ getCoreRowModel: Vw(),+ getPaginationRowModel: Uw()+ }), he = P.getRowModel().rows, ge = pe ? he.map((e) => e.original.source.id) : k.slice(me.start, me.end).flatMap((e) => e.map((e) => e.id)), _e = Fx(l, ge), ve = [...l], ye = rS(ee), be = iS(ee), xe = k.length > 0 && x.size >= k.length;return v.length ? /* @__PURE__ */ (0, w.jsxs)("div", {- className: sh({+ className: oh({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -29639,8 +29643,8 @@ function cT(e) {disabled: u,"aria-label": "检查全部",iconOnly: E,- ...Z(de.busy),- onClick: () => re([]),+ ...Z(le.busy),+ onClick: () => ne([]),children: "检查全部"}),/* @__PURE__ */ (0, w.jsxs)("span", {@@ -29652,18 +29656,18 @@ function cT(e) {iconOnly: !0,leadingIcon: tp,"aria-label": cx[0][1],- "aria-pressed": !I,+ "aria-pressed": !pe,onClick: () => p("default")}), /* @__PURE__ */ (0, w.jsx)(X, {variant: "ghost",iconOnly: !0,leadingIcon: sp,"aria-label": cx[1][1],- "aria-pressed": I,+ "aria-pressed": pe,onClick: () => p("table")})]}),- /* @__PURE__ */ (0, w.jsx)(Qw, {+ /* @__PURE__ */ (0, w.jsx)(eT, {"aria-label": "关注列表排序",selectedKey: n,onSelectionChange: (e) => {@@ -29671,7 +29675,7 @@ function cT(e) {let t = String(e);d(t, fx[t]);},- children: ux.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)($w, {+ children: ux.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(tT, {id: e,children: t}, e))@@ -29683,13 +29687,13 @@ function cT(e) {"aria-label": yx(n, i),onClick: () => d(n, i === "asc" ? "desc" : "asc")}),- I ? null : /* @__PURE__ */ (0, w.jsx)(X, {+ pe ? null : /* @__PURE__ */ (0, w.jsx)(X, {variant: "secondary",iconOnly: E,- leadingIcon: Se ? Nf : Lf,- "aria-label": Se ? "全部展开" : "全部收起",- onClick: () => S(Se ? /* @__PURE__ */ new Set() : new Set(N.map((e) => String(e[0].author_key || e[0].id)))),- children: Se ? "全部展开" : "全部收起"+ leadingIcon: xe ? Nf : Lf,+ "aria-label": xe ? "全部展开" : "全部收起",+ onClick: () => S(xe ? /* @__PURE__ */ new Set() : new Set(k.map((e) => String(e[0].author_key || e[0].id)))),+ children: xe ? "全部展开" : "全部收起"})]}),@@ -29697,50 +29701,50 @@ function cT(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- P ? te.data?.total ? /* @__PURE__ */ (0, w.jsx)(fh, {- label: te.data.message || `${te.data.older ? "抓取历史" : "检查更新"}:已完成 ${te.data.checked || 0}/${te.data.total} 个来源`,- value: te.data.checked || 0,- max: te.data.total- }) : /* @__PURE__ */ (0, w.jsx)(uh, { label: te.data?.message || "正在准备检查任务" }) : null,- j ? /* @__PURE__ */ (0, w.jsx)(q, {+ M ? j?.total ? /* @__PURE__ */ (0, w.jsx)(dh, {+ label: j.message || `${j.older ? "抓取历史" : "检查更新"}:已完成 ${j.checked || 0}/${j.total} 个来源`,+ value: j.checked || 0,+ max: j.total+ }) : /* @__PURE__ */ (0, w.jsx)(lh, { label: j?.message || "正在准备检查任务" }) : null,+ D ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: "操作未完成",- children: j+ children: D}) : null,- be.length ? /* @__PURE__ */ (0, w.jsx)(q, {+ ye.length ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",- title: `${be.length} 个来源检查失败`,+ title: `${ye.length} 个来源检查失败`,extra: /* @__PURE__ */ (0, w.jsx)("ul", {className: "flex flex-col gap-0.5 text-body-2-regular",- children: be.map((e, t) => /* @__PURE__ */ (0, w.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))+ children: ye.map((e, t) => /* @__PURE__ */ (0, w.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))}),children: "这些来源这一轮没有取到更新。"}) : null,- xe ? /* @__PURE__ */ (0, w.jsx)(q, {+ be ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "warning",- children: `候选已入库,但这一次的原始响应没有留档:${xe}`+ children: `候选已入库,但这一次的原始响应没有留档:${be}`}) : null]}),- ye.length ? /* @__PURE__ */ (0, w.jsxs)(eT, {+ ve.length ? /* @__PURE__ */ (0, w.jsxs)(nT, {label: "关注来源批量操作",- count: `已选 ${ye.length} 个来源`,+ count: `已选 ${ve.length} 个来源`,children: [/* @__PURE__ */ (0, w.jsx)(X, {variant: "secondary",size: "small",disabled: u,- ...Z(de.busy),- onClick: () => re(ye),+ ...Z(le.busy),+ onClick: () => ne(ve),children: "检查所选"}),/* @__PURE__ */ (0, w.jsx)(X, {variant: "secondary",size: "small",disabled: u,- ...Z(ce.isPending),- onClick: () => ce.mutate({- ids: ye,+ ...Z(oe.isPending),+ onClick: () => oe.mutate({+ ids: ve,action: "enabled"}),children: "启用"@@ -29749,9 +29753,9 @@ function cT(e) {variant: "secondary",size: "small",disabled: u,- ...Z(ce.isPending),- onClick: () => ce.mutate({- ids: ye,+ ...Z(oe.isPending),+ onClick: () => oe.mutate({+ ids: ve,action: "paused"}),children: "暂停"@@ -29760,14 +29764,14 @@ function cT(e) {variant: "danger",size: "small",disabled: u,- ...Z(ce.isPending),+ ...Z(oe.isPending),onClick: () => void c({- title: `删除 ${ye.length} 个关注来源`,+ title: `删除 ${ve.length} 个关注来源`,body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",confirmLabel: "删除所选来源",danger: !0,- onConfirm: () => ce.mutateAsync({- ids: ye,+ onConfirm: () => oe.mutateAsync({+ ids: ve,action: "remove"})}),@@ -29781,21 +29785,21 @@ function cT(e) {})]}) : null,- I ? /* @__PURE__ */ (0, w.jsx)(oC, {+ pe ? /* @__PURE__ */ (0, w.jsx)(cC, {follow: !0,- children: /* @__PURE__ */ (0, w.jsxs)(aC, {+ children: /* @__PURE__ */ (0, w.jsxs)(sC, {"aria-label": "关注来源",size: "sm",- sortDescriptor: pe[0] ? {- column: pe[0].id,- direction: pe[0].desc ? "descending" : "ascending"+ sortDescriptor: de[0] ? {+ column: de[0].id,+ direction: de[0].desc ? "descending" : "ascending"} : void 0,- onSortChange: (e) => he.setSorting([{+ onSortChange: (e) => P.setSorting([{id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, w.jsx)(ay, { children: he.getHeaderGroups()[0].headers.map((e) => {- let t = e.column.id in mx, n = Hw(e.column.columnDef.header, e.getContext());+ children: [/* @__PURE__ */ (0, w.jsx)(ay, { children: P.getHeaderGroups()[0].headers.map((e) => {+ let t = e.column.id in mx, n = Ww(e.column.columnDef.header, e.getContext());return /* @__PURE__ */ (0, w.jsx)(uy, {id: e.id,allowsSorting: t,@@ -29805,41 +29809,41 @@ function cT(e) {children: [n, /* @__PURE__ */ (0, w.jsx)("span", {"data-sort-indicator": !0,"data-direction": e || void 0,- children: /* @__PURE__ */ (0, w.jsx)(Jw, {})+ children: /* @__PURE__ */ (0, w.jsx)(Xw, {})})]}) : /* @__PURE__ */ (0, w.jsx)(Qo, { children: n })}, e.id);}) }), /* @__PURE__ */ (0, w.jsx)(my, {renderEmptyState: () => "这一页没有来源",- children: ge.map((e) => /* @__PURE__ */ (0, w.jsx)(vy, {+ children: he.map((e) => /* @__PURE__ */ (0, w.jsx)(vy, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, w.jsx)(xy, { children: Hw(e.column.columnDef.cell, e.getContext()) }, e.id))+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, w.jsx)(xy, { children: Ww(e.column.columnDef.cell, e.getContext()) }, e.id))}, e.id))})]})- }) : /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(xS, {- isSelected: ve.all,- isIndeterminate: ve.some,- onChange: (e) => ae(_e, e),+ }) : /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(yS, {+ isSelected: _e.all,+ isIndeterminate: _e.some,+ onChange: (e) => re(ge, e),"aria-label": "全选本页来源",children: "全选本页"}), /* @__PURE__ */ (0, w.jsx)("div", {className: "flex flex-col gap-3",- children: N.slice(me.start, me.end).map((e) => {+ children: k.slice(me.start, me.end).map((e) => {let t = String(e[0].author_key || e[0].id);- return /* @__PURE__ */ (0, w.jsx)(sT, {+ return /* @__PURE__ */ (0, w.jsx)(lT, {group: e,name: Dx(e, y),- handlers: de,+ handlers: le,selected: l,open: !x.has(t),onOpen: (e) => {let n = new Set(x);e ? n.delete(t) : n.add(t), S(n);},- onToggleGroup: (t) => ae(e.map((e) => e.id), t),- onToggle: ie+ onToggleGroup: (t) => re(e.map((e) => e.id), t),+ onToggle: N}, t);})})] }),@@ -29848,24 +29852,24 @@ function cT(e) {children: [/* @__PURE__ */ (0, w.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: `${me.start + 1}–${me.end} / ${me.total} ${I ? "个来源" : "位创作者"}`+ children: `${me.start + 1}–${me.end} / ${me.total} ${pe ? "个来源" : "位创作者"}`}),- /* @__PURE__ */ (0, w.jsx)(Qw, {+ /* @__PURE__ */ (0, w.jsx)(eT, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(s),onSelectionChange: (e) => {- e !== null && he.setPageSize(Number(e));+ e !== null && P.setPageSize(Number(e));},- children: lx.map((e) => /* @__PURE__ */ (0, w.jsx)($w, {+ children: lx.map((e) => /* @__PURE__ */ (0, w.jsx)(tT, {id: String(e),- children: `每页 ${e} ${I ? "条" : "位"}`+ children: `每页 ${e} ${pe ? "条" : "位"}`}, e))}),- /* @__PURE__ */ (0, w.jsx)(aT, {+ /* @__PURE__ */ (0, w.jsx)(sT, {page: me.page,pages: me.pages,- onPage: (e) => he.setPageIndex(e - 1)+ onPage: (e) => P.setPageIndex(e - 1)})]}),@@ -29886,12 +29890,12 @@ function cT(e) {variant: "secondary",size: "small",disabled: u,- ...Z(le.isPending),+ ...Z(se.isPending),onClick: () => void c({title: "标记已看",body: "将把当前未看作品标记为已看。",confirmLabel: "标记已看",- onConfirm: () => le.mutateAsync("seen")+ onConfirm: () => se.mutateAsync("seen")}),children: "全部标记已看"}),@@ -29899,19 +29903,19 @@ function cT(e) {variant: "secondary",size: "small",disabled: u,- ...Z(le.isPending),+ ...Z(se.isPending),onClick: () => void c({title: "标记已忽略",body: "将把当前未看作品标记为已忽略。",confirmLabel: "标记已忽略",- onConfirm: () => le.mutateAsync("ignored")+ onConfirm: () => se.mutateAsync("ignored")}),children: "全部忽略"})]}) : null]- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: ap,title: "还没有关注来源",@@ -29920,14 +29924,14 @@ function cT(e) {}//#endregion//#region src/react/follow-manage/follow-manage-page.tsx-var lT = [+var dT = [["list", "关注列表"],["add", "添加关注"],["source", "来源和凭证"]-], uT = (e) => lT.some(([t]) => t === e);-function dT({ term: e, figure: t, unit: n }) {+], fT = (e) => dT.some(([t]) => t === e);+function pT({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, w.jsxs)("div", {- className: sh({+ className: oh({padding: "none",className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"}),@@ -29943,11 +29947,11 @@ function dT({ term: e, figure: t, unit: n }) {})]});}-function fT(e) {- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, C.useState)(uT(e.tab) ? e.tab : "list"), [u, d] = (0, C.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, C.useState)(hx(e.sort) ? e.sort : dx), [m, h] = (0, C.useState)(e.dir === "asc" || e.dir === "desc" ? e.dir : fx[hx(e.sort) ? e.sort : dx]), [g, _] = (0, C.useState)(gx(e.layout) ? e.layout : "default"), [v, y] = (0, C.useState)(_x(e.pageSize)), [b, x] = (0, C.useState)(/* @__PURE__ */ new Set()), S = dt({+function mT(e) {+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, C.useState)(fT(e.tab) ? e.tab : "list"), [u, d] = (0, C.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, C.useState)(hx(e.sort) ? e.sort : dx), [m, h] = (0, C.useState)(e.dir === "asc" || e.dir === "desc" ? e.dir : fx[hx(e.sort) ? e.sort : dx]), [g, _] = (0, C.useState)(gx(e.layout) ? e.layout : "default"), [v, y] = (0, C.useState)(_x(e.pageSize)), [b, x] = (0, C.useState)(/* @__PURE__ */ new Set()), S = pt({queryKey: rx,queryFn: ({ signal: e }) => Lx(e)- }), T = dt({+ }), T = pt({queryKey: ix,queryFn: ({ signal: e }) => Rx(e)}), E = S.data || { sources: [] }, D = T.data || {@@ -29968,9 +29972,9 @@ function fT(e) {sort: n === "checked" ? "" : n,dir: r === fx[n] ? "" : r});- }, A = Ax(O), j = O.filter(Sx).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !dS(e)).length;- return /* @__PURE__ */ (0, w.jsxs)(dh, { children: [- a ? /* @__PURE__ */ (0, w.jsx)(q, {+ }, A = Ax(O), j = O.filter(Sx).length, M = O.filter((e) => e.enabled).length, ee = (D.providers || []).filter((e) => e.requirement === "required" && !lS(e)).length;+ return /* @__PURE__ */ (0, w.jsxs)(uh, { children: [+ a ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "warning",title: "本机只能浏览",extra: s ? /* @__PURE__ */ (0, w.jsx)("p", {@@ -29984,25 +29988,25 @@ function fT(e) {children: o}) : null,/* @__PURE__ */ (0, w.jsxs)("div", {- className: _S,+ className: hS,"aria-label": "关注概览",children: [- /* @__PURE__ */ (0, w.jsx)(dT, {+ /* @__PURE__ */ (0, w.jsx)(pT, {term: "关注创作者",figure: A.length,unit: "位"}),- /* @__PURE__ */ (0, w.jsx)(dT, {+ /* @__PURE__ */ (0, w.jsx)(pT, {term: "启用来源",figure: M,unit: `/ ${O.length}`}),- /* @__PURE__ */ (0, w.jsx)(dT, {+ /* @__PURE__ */ (0, w.jsx)(pT, {term: "检查失败",figure: j,unit: "个来源"}),- /* @__PURE__ */ (0, w.jsx)(dT, {+ /* @__PURE__ */ (0, w.jsx)(pT, {term: "未看更新",figure: E.counts?.new || 0,unit: "条"@@ -30013,23 +30017,23 @@ function fT(e) {selectedKey: c,onSelectionChange: (e) => {let t = String(e);- uT(t) && (l(t), k({ tab: t }));+ fT(t) && (l(t), k({ tab: t }));},className: "flex flex-col gap-6",children: [/* @__PURE__ */ (0, w.jsx)(Fy, {"aria-label": "关注管理区域",- className: fS,- children: lT.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(Ly, {+ className: uS,+ children: dT.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(Ly, {id: e,- className: pS,- children: e === "source" && N ? `${t}(${N})` : t+ className: dS,+ children: e === "source" && ee ? `${t}(${ee})` : t}, e))}),/* @__PURE__ */ (0, w.jsx)(Ry, {id: "list",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, w.jsx)(cT, {+ children: /* @__PURE__ */ (0, w.jsx)(uT, {data: E,sort: f,dir: m,@@ -30062,7 +30066,7 @@ function fT(e) {/* @__PURE__ */ (0, w.jsxs)(Ry, {id: "add",className: "flex flex-col gap-8",- children: [/* @__PURE__ */ (0, w.jsx)(iC, {+ children: [/* @__PURE__ */ (0, w.jsx)(oC, {data: E,credentials: D,readOnly: a,@@ -30070,7 +30074,7 @@ function fT(e) {openCredentials: () => {l("source"), k({ tab: "source" });}- }), /* @__PURE__ */ (0, w.jsx)(dC, {+ }), /* @__PURE__ */ (0, w.jsx)(pC, {groups: E.author_aliases || [],readOnly: a,toast: r,@@ -30081,7 +30085,7 @@ function fT(e) {/* @__PURE__ */ (0, w.jsx)(Ry, {id: "source",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, w.jsx)(CC, {+ children: /* @__PURE__ */ (0, w.jsx)(TC, {data: D,readOnly: a,toast: r@@ -30093,35 +30097,35 @@ function fT(e) {}//#endregion//#region src/react/library-processing/library-processing.ts-var pT = "/api/library-processing", mT = ["library-processing"], hT = (e) => $m(pT, e);-async function gT(e) {- await J.fetchQuery({- queryKey: mT,- queryFn: () => hT(e)+var hT = "/api/library-processing", gT = ["library-processing"], _T = (e) => Qm(hT, e);+async function vT(e) {+ await fh.fetchQuery({+ queryKey: gT,+ queryFn: () => _T(e)});}-var _T = 2e3, vT = 1e4, yT = "连接中断,正在重新读取处理进度";-function bT(e, t) {- return e?.status === "running" ? _T : t ? vT : !1;+var yT = 2e3, bT = 1e4, xT = "连接中断,正在重新读取处理进度";+function ST(e, t) {+ return e?.status === "running" ? yT : t ? bT : !1;}-var xT = {+var CT = {reading_local: "读取本地资料",querying_metadata: "查询外部资料",fetching_cover: "采集缺失封面",writing_candidates: "保存资料候选"-}, ST = {+}, wT = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function CT(e) {- let t = Object.entries(e).filter(([e, t]) => ST[e] && t > 0).map(([e, t]) => `${ST[e]} ${t} 部`);+function TT(e) {+ let t = Object.entries(e).filter(([e, t]) => wT[e] && t > 0).map(([e, t]) => `${wT[e]} ${t} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function wT(e) {- let t = xT[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";+function ET(e) {+ let t = CT[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 TT(e) {+function DT(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -30135,32 +30139,32 @@ function TT(e) {log: e.issues_log || ""} : null;}-var ET = "peach.library-processing.announced", DT = 120;-function OT(e, t, n) {+var OT = "peach.library-processing.announced", kT = 120;+function AT(e, t, n) {if (e.status !== "complete") return;- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < DT;+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < kT;if (!(!n && !r)) {try {- if (e.job_id && localStorage.getItem(ET) === e.job_id) return;- e.job_id && localStorage.setItem(ET, e.job_id);+ if (e.job_id && localStorage.getItem(OT) === e.job_id) return;+ e.job_id && localStorage.setItem(OT, e.job_id);} catch {}t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);}}//#endregion//#region src/react/library-processing/use-library-processing.ts-function kT({ toast: e, mode: t, monitor: n }) {- let r = t === "notice" || !!n, i = dt({- queryKey: mT,- queryFn: ({ signal: e }) => hT(e),- refetchInterval: (e) => bT(e.state.data, r)+function jT({ toast: e, mode: t, monitor: n }) {+ let r = t === "notice" || !!n, i = pt({+ queryKey: gT,+ queryFn: ({ signal: e }) => _T(e),+ refetchInterval: (e) => ST(e.state.data, r)}), [a, o] = (0, C.useState)(null), s = (0, C.useRef)(void 0), c = i.data;return (0, C.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") && OT(c, e, r);+ r && o(c), (r || t === "notice") && AT(c, e, r);}, [c,t,@@ -30173,7 +30177,7 @@ function kT({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var AT = [+var MT = [{label: "扫描并补全资料",icon: Hf,@@ -30189,13 +30193,13 @@ var AT = [icon: Jf,command: { stage: "collect" }}-], jT = W(TS, ES, "text-body-2-medium"), MT = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", NT = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", PT = (e) => {+], NT = G(CS, wS, "text-body-2-medium"), PT = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", FT = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", IT = (e) => {let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;if (!t && !n && !r && !i) return "";let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;-}, FT = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + PT(e);-function IT({ busy: e, onRun: t }) {+}, LT = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + IT(e);+function RT({ busy: e, onRun: t }) {let n = (0, C.useRef)(null), [r, i] = (0, C.useState)(!1), a = (n) => {e || (i(!1), t(n));};@@ -30226,13 +30230,13 @@ function IT({ busy: e, onRun: t }) {onOpenChange: i,placement: "bottom end",offset: 4,- className: SS,+ className: bS,children: /* @__PURE__ */ (0, w.jsx)($_, {"aria-label": "更多扫描与采集方式",className: "flex w-52 flex-col gap-1 outline-none",- children: AT.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, w.jsxs)("button", {+ children: MT.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, w.jsxs)("button", {type: "button",- className: jT,+ className: NT,onClick: () => a(n),children: [/* @__PURE__ */ (0, w.jsx)(t, {"aria-hidden": !0,@@ -30242,18 +30246,18 @@ function IT({ busy: e, onRun: t }) {})})] });}-function LT({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = TT(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = CT(e.notes || {}), c = fb();+function zT({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = DT(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = TT(e.notes || {}), c = fb();return /* @__PURE__ */ (0, w.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, w.jsx)(q, {+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "warning",title: "处理较慢",- children: NT+ children: FT}) : null,- t || e.status === "failed" ? /* @__PURE__ */ (0, w.jsx)(q, {+ t || e.status === "failed" ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",action: o ? /* @__PURE__ */ (0, w.jsx)(X, {variant: "primary",@@ -30263,7 +30267,7 @@ function LT({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,extra: a ? /* @__PURE__ */ (0, w.jsx)("div", {className: "mt-1.5 border-t border-current/20 pt-1.5",- children: /* @__PURE__ */ (0, w.jsxs)(HS, {+ children: /* @__PURE__ */ (0, w.jsxs)(WS, {summary: a.label,children: [/* @__PURE__ */ (0, w.jsx)("div", {className: "relative",@@ -30294,7 +30298,7 @@ function LT({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, w.jsx)("div", {className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",- children: /* @__PURE__ */ (0, w.jsx)(mC, {+ children: /* @__PURE__ */ (0, w.jsx)(gC, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -30305,16 +30309,16 @@ function LT({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,children: t || e.error || "处理未完成,请重试"}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, w.jsx)(q, {+ n?.status === "complete" ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "success",title: "处理完成",- children: FT(n)+ children: LT(n)}) : null,- e.status !== "running" && s ? /* @__PURE__ */ (0, w.jsx)(q, {+ e.status !== "running" && s ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "neutral",extra: e.issues_log ? /* @__PURE__ */ (0, w.jsx)("div", {className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",- children: /* @__PURE__ */ (0, w.jsx)(mC, {+ children: /* @__PURE__ */ (0, w.jsx)(gC, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -30326,17 +30330,17 @@ function LT({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function RT(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = kT(e), o = ft({- mutationFn: (e) => K(pT, e),+function BT(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = jT(e), o = mt({+ mutationFn: (e) => q(hT, e),onSuccess: (e) => {- a(), J.setQueryData(mT, e), J.invalidateQueries({ queryKey: mT });+ a(), fh.setQueryData(gT, e), fh.invalidateQueries({ queryKey: gT });}});(0, C.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? G(o.error) : r.isError ? r.data ? yT : G(r.error) : "", l = o.isPending || s.status === "running", u = wT(s), d = (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? xT : K(r.error) : "", l = o.isPending || s.status === "running", u = ET(s), d = (e) => {l || (o.reset(), o.mutate(e));};return /* @__PURE__ */ (0, w.jsxs)("div", {@@ -30355,11 +30359,11 @@ function RT(e) {}),/* @__PURE__ */ (0, w.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: MT+ children: PT}),s.status === "running" ? /* @__PURE__ */ (0, w.jsx)("div", {className: "flex flex-col gap-1.5",- children: s.total ? /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(fh, {+ children: s.total ? /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(dh, {label: u,value: s.checked || 0,max: s.total@@ -30373,31 +30377,31 @@ function RT(e) {s.total," 个视频"]- })] }) : /* @__PURE__ */ (0, w.jsx)(uh, { label: u })+ })] }) : /* @__PURE__ */ (0, w.jsx)(lh, { label: u })}) : null]}), /* @__PURE__ */ (0, w.jsxs)("footer", {"data-geist-fieldset-footer": !0,children: [- /* @__PURE__ */ (0, w.jsx)(jS, {+ /* @__PURE__ */ (0, w.jsx)(NS, {href: "/scraping",size: "small",trailingIcon: Pf,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, w.jsx)(jS, {+ s.candidates ? /* @__PURE__ */ (0, w.jsx)(NS, {href: "/review",size: "small",trailingIcon: Pf,children: "复核资料"}) : null,- /* @__PURE__ */ (0, w.jsx)(IT, {+ /* @__PURE__ */ (0, w.jsx)(RT, {busy: l,onRun: d})]})]- }), /* @__PURE__ */ (0, w.jsx)(LT, {+ }), /* @__PURE__ */ (0, w.jsx)(zT, {state: s,problem: c,settled: i,@@ -30413,12 +30417,12 @@ function RT(e) {}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var zT = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", BT = {- gray: `${zT} border-separator-border bg-background-secondary-default text-text-secondary`,- warning: `${zT} border-current/35 bg-status-yellow-background text-status-yellow-text`,- error: `${zT} border-current/35 bg-background-tertiary-error text-text-error-primary`+var VT = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", HT = {+ gray: `${VT} border-separator-border bg-background-secondary-default text-text-secondary`,+ warning: `${VT} border-current/35 bg-status-yellow-background text-status-yellow-text`,+ error: `${VT} border-current/35 bg-background-tertiary-error text-text-error-primary`};-function VT({ value: e, max: t }) {+function UT({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, w.jsxs)("svg", {role: "progressbar",@@ -30446,16 +30450,16 @@ function VT({ value: e, max: t }) {})]});}-function HT(e) {- let { job: t } = kT(e), n = t.data, r = t.isError ? n ? yT : G(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";+function WT(e) {+ let { job: t } = jT(e), n = t.data, r = t.isError ? n ? xT : K(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 ? "扫描与资料采集未完成" : wT(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? $f : Wf;+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : ET(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? $f : Wf;return /* @__PURE__ */ (0, w.jsxs)("aside", {role: a ? "alert" : "status",- className: BT[s],+ className: HT[s],children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex min-w-0 items-center gap-3",- children: [o && l ? /* @__PURE__ */ (0, w.jsx)(VT, {+ children: [o && l ? /* @__PURE__ */ (0, w.jsx)(UT, {value: c,max: l}) : /* @__PURE__ */ (0, w.jsx)(d, {@@ -30465,7 +30469,7 @@ function HT(e) {className: "min-w-0 text-body-2-regular",children: u})]- }), /* @__PURE__ */ (0, w.jsx)(jS, {+ }), /* @__PURE__ */ (0, w.jsx)(NS, {href: "/data-cleanup#libraryProcessing",size: "small",trailingIcon: Pf,@@ -30475,21 +30479,21 @@ function HT(e) {}//#endregion//#region src/react/quality-goals/quality-goals.ts-var UT = "/api/quality-goals?limit=200", WT = ["quality-goals"], GT = (e) => $m(UT, e);-async function KT(e) {- await J.fetchQuery({- queryKey: WT,- queryFn: () => GT(e)+var GT = "/api/quality-goals?limit=200", KT = ["quality-goals"], qT = (e) => Qm(GT, e);+async function JT(e) {+ await fh.fetchQuery({+ queryKey: KT,+ queryFn: () => qT(e)});}-var qT = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;+var YT = (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 JT({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {+function XT({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {let c = () => i(r.id);return /* @__PURE__ */ (0, w.jsxs)("li", {"data-goal-id": r.id,- className: sh({+ className: oh({padding: "none",bordered: "soft",className: "flex flex-col gap-3 p-3"@@ -30505,7 +30509,7 @@ function JT({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadgeclassName: "text-caption-1-regular text-text-secondary",children: "暂无预览"}), /* @__PURE__ */ (0, w.jsx)("img", {- src: qT(r),+ src: YT(r),alt: "",loading: "lazy",onError: (e) => e.currentTarget.remove(),@@ -30553,19 +30557,19 @@ function JT({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge})]});}-function YT(e) {- let t = dt({- queryKey: WT,- queryFn: ({ signal: e }) => GT(e)+function ZT(e) {+ let t = pt({+ queryKey: KT,+ queryFn: ({ signal: e }) => qT(e)}), n = t.data;- if (!n) return /* @__PURE__ */ (0, w.jsx)(dh, { children: /* @__PURE__ */ (0, w.jsx)(q, {+ if (!n) return /* @__PURE__ */ (0, w.jsx)(uh, { children: /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: "读取失败",- children: t.error ? G(t.error) : "读取高清版目标失败"+ children: t.error ? K(t.error) : "读取高清版目标失败"}) });let r = n.items || [];- return r.length ? /* @__PURE__ */ (0, w.jsxs)(dh, { children: [/* @__PURE__ */ (0, w.jsxs)("div", {- className: sh({+ return r.length ? /* @__PURE__ */ (0, w.jsxs)(uh, { children: [/* @__PURE__ */ (0, w.jsxs)("div", {+ className: oh({variant: "raised",className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"}),@@ -30578,11 +30582,11 @@ function YT(e) {})]}), /* @__PURE__ */ (0, w.jsx)("ul", {className: "card-grid-cover gap-5",- children: r.map((t) => /* @__PURE__ */ (0, w.jsx)(JT, {+ children: r.map((t) => /* @__PURE__ */ (0, w.jsx)(XT, {item: t,...e}, t.id))- })] }) : /* @__PURE__ */ (0, w.jsx)(dh, { children: /* @__PURE__ */ (0, w.jsx)(lh, {+ })] }) : /* @__PURE__ */ (0, w.jsx)(uh, { children: /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: pp,title: "没有标记中的高清版目标",@@ -30591,13 +30595,13 @@ function YT(e) {}//#endregion//#region src/selection.ts-function XT(e, t, n, r, i, a = i || !e.has(r)) {+function QT(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;}//#endregion//#region src/react/review/review.ts-var ZT = "/api/review", QT = "/api/review/decision", $T = "/api/review/genre", eE = ["review"], tE = {+var $T = "/api/review", eE = "/api/review/decision", tE = "/api/review/genre", nE = ["review"], rE = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -30608,15 +30612,15 @@ var ZT = "/api/review", QT = "/api/review/decision", $T = "/api/review/genre", efc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据",media_failure: "无法识别"-}, nE = Object.keys(tE), rE = "metadata_fields", iE = (e) => typeof e == "string" && Object.hasOwn(tE, e), aE = {+}, iE = Object.keys(rE), aE = "metadata_fields", oE = (e) => typeof e == "string" && Object.hasOwn(rE, e), sE = {creator_tags: "creator",western_identity: "creator"};-function oE(e, t) {+function cE(e, t) {let n = [["candidates", t ? "按候选数量" : "全部待复核"]];return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;}-function sE(e, t) {+function lE(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -30633,10 +30637,10 @@ function sE(e, t) {}return [...n.values()];}-function cE(e, t, n) {- return n && sE(e, t).find((e) => e.key === n)?.rows || e;+function uE(e, t, n) {+ return n && lE(e, t).find((e) => e.key === n)?.rows || e;}-function lE(e, t) {+function dE(e, t) {let n = Gb(e.length, 20), r = Kb(t, n);return {page: r,@@ -30644,32 +30648,32 @@ function lE(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function uE(e) {+function fE(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 dE(e, t, n, r, i, a) {- return XT(e, t, n, r, i, a);+function pE(e, t, n, r, i, a) {+ return QT(e, t, n, r, i, a);}-function fE(e, t) {+function mE(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function pE(e, t) {+function hE(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var mE = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function hE(e, t) {- let n = pE(e, t), r = mE(e, t);+var gE = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function _E(e, t) {+ let n = hE(e, t), r = gE(e, t);return r ? `${n} · ${r}` : n;}-var gE = (e) => e.reason || e.evidence || e.note || e.decision_note || "", _E = (e) => String(e.tags || "").split("|").filter(Boolean), vE = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function yE(e) {+var vE = (e) => e.reason || e.evidence || e.note || e.decision_note || "", yE = (e) => String(e.tags || "").split("|").filter(Boolean), bE = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function xE(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function bE(e, t, n, r) {+function SE(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -30685,19 +30689,19 @@ function bE(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var xE = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", SE = (e) => $m(ZT, e), CE = (e) => K(QT, e), wE = (e, t) => K($T, {+var CE = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", wE = (e) => Qm($T, e), TE = (e) => q(eE, e), EE = (e, t) => q(tE, {genre: e,tag: t});-async function TE(e) {- await J.fetchQuery({- queryKey: eE,- queryFn: () => SE(e)+async function DE(e) {+ await fh.fetchQuery({+ queryKey: nE,+ queryFn: () => wE(e)});}-function EE(e, t) {+function OE(e, t) {let n = new Set(t);- n.size && J.setQueryData(eE, (t) => {+ n.size && fh.setQueryData(nE, (t) => {if (!t) return t;let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));return i.length === r.length ? t : {@@ -30713,17 +30717,17 @@ function EE(e, t) {};});}-var DE = () => J.invalidateQueries({- queryKey: eE,+var kE = () => fh.invalidateQueries({+ queryKey: nE,exact: !0});-function OE(e, t) {+function AE(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${qb(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/review/bulk-toolbar.tsx-function kE(e) {- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = uE(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";+function jE(e) {+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = fE(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";return /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsxs)("div", {role: "group","aria-label": "复核筛选",@@ -30731,29 +30735,29 @@ function kE(e) {"data-glass-pane": "",className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",children: [- /* @__PURE__ */ (0, w.jsx)(Qw, {+ /* @__PURE__ */ (0, w.jsx)(eT, {"aria-label": "筛选分组方式",size: "sm",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: t.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)($w, {+ children: t.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(tT, {id: e,children: t}, e))}),- i.length > 1 ? /* @__PURE__ */ (0, w.jsxs)(Qw, {+ i.length > 1 ? /* @__PURE__ */ (0, w.jsxs)(eT, {"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",size: "sm",selectedKey: a || "*",onSelectionChange: (e) => {e !== null && o(String(e) === "*" ? "" : String(e));},- children: [/* @__PURE__ */ (0, w.jsx)($w, {+ children: [/* @__PURE__ */ (0, w.jsx)(tT, {id: "*",children: "全部分类"- }), i.map((e) => /* @__PURE__ */ (0, w.jsx)($w, {+ }), i.map((e) => /* @__PURE__ */ (0, w.jsx)(tT, {id: e.key,children: `${e.title} · ${e.rows.length}`}, e.key))]@@ -30772,11 +30776,11 @@ function kE(e) {children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"})]- }), c.size ? /* @__PURE__ */ (0, w.jsxs)(eT, {+ }), c.size ? /* @__PURE__ */ (0, w.jsxs)(nT, {label: "复核所选项目",count: `已选 ${c.size} 项`,children: [- b ? /* @__PURE__ */ (0, w.jsxs)(Qw, {+ b ? /* @__PURE__ */ (0, w.jsxs)(eT, {"aria-label": "统一选择来源",size: "sm",selectedKey: "",@@ -30784,10 +30788,10 @@ function kE(e) {onSelectionChange: (e) => {e !== null && e !== "" && h(String(e));},- children: [/* @__PURE__ */ (0, w.jsx)($w, {+ children: [/* @__PURE__ */ (0, w.jsx)(tT, {id: "",children: x- }), y.map((e) => /* @__PURE__ */ (0, w.jsx)($w, {+ }), y.map((e) => /* @__PURE__ */ (0, w.jsx)(tT, {id: e,children: e}, e))]@@ -30823,7 +30827,7 @@ function kE(e) {}//#endregion//#region src/react/review/candidate-form.tsx-var AE = {+var ME = {title: "标题",original_title: "原标题",runtime: "来源时长",@@ -30833,14 +30837,14 @@ var AE = {cover_url: "封面",screenshot_urls: "截图",trailer_url: "预告片"-}, jE = "reviewgenretags";-function ME({ tags: e }) {+}, NE = "reviewgenretags";+function PE({ tags: e }) {return e.length ? /* @__PURE__ */ (0, w.jsx)("datalist", {- id: jE,+ id: NE,children: e.map((e) => /* @__PURE__ */ (0, w.jsx)("option", { value: e }, e))}) : null;}-function NE({ candidate: e, selectable: t = !1 }) {+function FE({ candidate: e, selectable: t = !1 }) {let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;return /* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col",@@ -30877,7 +30881,7 @@ function NE({ candidate: e, selectable: t = !1 }) {children: [/* @__PURE__ */ (0, w.jsx)("dt", {className: "text-body-2-regular text-text-secondary",- children: AE[e] || e+ children: ME[e] || e}),/* @__PURE__ */ (0, w.jsx)("dd", {className: "min-w-0 text-body-2-regular break-words text-text-primary",@@ -30892,11 +30896,11 @@ function NE({ candidate: e, selectable: t = !1 }) {}) : null]});}-function PE({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {+function IE({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {let a = e.candidates || [];return a.length ? a.length === 1 ? /* @__PURE__ */ (0, w.jsx)("div", {className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",- children: /* @__PURE__ */ (0, w.jsx)(NE, { candidate: a[0] })+ children: /* @__PURE__ */ (0, w.jsx)(FE, { candidate: a[0] })}) : /* @__PURE__ */ (0, w.jsx)(gv, {"aria-label": `${t || "候选"}的来源`,value: n,@@ -30906,24 +30910,24 @@ function PE({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {children: a.map((e) => /* @__PURE__ */ (0, w.jsx)(_v, {value: e.candidate_key,className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",- children: /* @__PURE__ */ (0, w.jsx)(NE, {+ children: /* @__PURE__ */ (0, w.jsx)(FE, {candidate: e,selectable: !0})}, e.candidate_key))}) : null;}-function FE({ genre: e, tags: t, locked: n, toast: r }) {- let [i, a] = (0, C.useState)(""), [o, s] = (0, C.useState)(""), c = ft({- mutationFn: (t) => wE(e, t),+function LE({ genre: e, tags: t, locked: n, toast: r }) {+ let [i, a] = (0, C.useState)(""), [o, s] = (0, C.useState)(""), c = mt({+ mutationFn: (t) => EE(e, t),onSuccess: async (t, n) => {if (!t.ok) {s(t.error || "服务端拒绝了这次收录");return;}- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await DE();+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await kE();},- onError: (e) => s(G(e))+ onError: (e) => s(K(e))}), l = () => {let e = i.trim();if (!e) {@@ -30949,7 +30953,7 @@ function FE({ genre: e, tags: t, locked: n, toast: r }) {className: "min-w-40 flex-1",children: /* @__PURE__ */ (0, w.jsx)(Qy, {size: "small",- list: t.length ? jE : void 0,+ list: t.length ? NE : void 0,autoComplete: "off",placeholder: "中文标签",onKeyDown: (e) => {@@ -30981,8 +30985,8 @@ function FE({ genre: e, tags: t, locked: n, toast: r }) {]});}-function IE({ row: e, tags: t, locked: n, toast: r }) {- let i = vE(e);+function RE({ row: e, tags: t, locked: n, toast: r }) {+ let i = bE(e);return i.length ? /* @__PURE__ */ (0, w.jsxs)("div", {role: "group","aria-label": "未收录 genre",@@ -30990,7 +30994,7 @@ function IE({ row: e, tags: t, locked: n, toast: r }) {children: [/* @__PURE__ */ (0, w.jsx)("h5", {className: "text-body-2-medium text-text-secondary",children: `未收录 genre · ${i.length}`- }), i.map((e) => /* @__PURE__ */ (0, w.jsx)(FE, {+ }), i.map((e) => /* @__PURE__ */ (0, w.jsx)(LE, {genre: e,tags: t,locked: n,@@ -31000,9 +31004,9 @@ function IE({ row: e, tags: t, locked: n, toast: r }) {}//#endregion//#region src/react/review/review-evidence.tsx-var LE = (e = "") => /^https?:\/\//i.test(e) ? e : "", RE = (e = "") => LE(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");-function zE({ url: e }) {- let t = RE(e || ""), [n, r] = (0, C.useState)(!1);+var zE = (e = "") => /^https?:\/\//i.test(e) ? e : "", BE = (e = "") => zE(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+function VE({ url: e }) {+ let t = BE(e || ""), [n, r] = (0, C.useState)(!1);return /* @__PURE__ */ (0, w.jsx)("div", {className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",children: t && !n ? /* @__PURE__ */ (0, w.jsx)("img", {@@ -31017,7 +31021,7 @@ function zE({ url: e }) {})});}-function BE({ asset: e, openItem: t }) {+function HE({ asset: e, openItem: t }) {let n = e.name || "";return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",@@ -31050,7 +31054,7 @@ function BE({ asset: e, openItem: t }) {})]});}-function VE({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {+function UE({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, w.jsx)("button", {@@ -31073,8 +31077,8 @@ function VE({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {})]});}-function HE({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {- let o = LE(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));+function WE({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {+ let o = zE(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));return /* @__PURE__ */ (0, w.jsxs)("section", {className: "flex flex-col gap-3",children: [@@ -31099,7 +31103,7 @@ function HE({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, notchildren: `查看全部 ${c.toLocaleString()} 部作品`})]}),- /* @__PURE__ */ (0, w.jsx)(zE, { url: e.preview_url }),+ /* @__PURE__ */ (0, w.jsx)(VE, { url: e.preview_url }),/* @__PURE__ */ (0, w.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "通过后记录身份判断。"@@ -31142,7 +31146,7 @@ function HE({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, not]});}-function UE({ assets: e, picked: t, onPicked: n, locked: r }) {+function GE({ assets: e, picked: t, onPicked: n, locked: r }) {let [i, a] = (0, C.useState)(null), o = new Set(t), s = (t, s) => {if (r) return;let c = new Set(o);@@ -31198,7 +31202,7 @@ function UE({ assets: e, picked: t, onPicked: n, locked: r }) {}),/* @__PURE__ */ (0, w.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, w.jsx)(bS, {+ children: /* @__PURE__ */ (0, w.jsx)(vS, {size: "sm",state: {isSelected: n,@@ -31218,19 +31222,19 @@ function UE({ assets: e, picked: t, onPicked: n, locked: r }) {}//#endregion//#region src/react/review/review-card.tsx-var WE = sh({+var KE = oh({variant: "outlined",padding: "none",className: "flex flex-col gap-4 px-5 pt-4"-}), GE = "flex min-h-6 min-w-0 items-center", KE = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";-function qE(e) {- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, C.useRef)(!1), m = fb(), h = fb(), g = t === "metadata_fields", _ = aE[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = hE(t, n), x = mE(t, n), S = pE(t, n), T = gE(n), E = _E(n), D = fE(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, w.jsx)("div", {+}), qE = "flex min-h-6 min-w-0 items-center", JE = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";+function YE(e) {+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, C.useRef)(!1), m = fb(), h = fb(), g = t === "metadata_fields", _ = sE[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = _E(t, n), x = gE(t, n), S = hE(t, n), T = vE(n), E = yE(n), D = mE(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, w.jsx)("div", {className: "flex flex-col gap-3",- children: O.map((e) => /* @__PURE__ */ (0, w.jsx)(BE, {+ children: O.map((e) => /* @__PURE__ */ (0, w.jsx)(HE, {asset: e,openItem: f.openItem}, e.id))- }) : y ? /* @__PURE__ */ (0, w.jsx)(VE, {+ }) : y ? /* @__PURE__ */ (0, w.jsx)(UE, {kind: _,name: v,works: Number(n.video_count || n.videos || 0),@@ -31240,14 +31244,14 @@ function qE(e) {has_image: !!n.has_image,avatar_focus: n.avatar_focus} : null, null, _)- }) : n.asset_id ? /* @__PURE__ */ (0, w.jsx)(BE, {+ }) : n.asset_id ? /* @__PURE__ */ (0, w.jsx)(HE, {openItem: f.openItem,asset: {id: n.asset_id,name: n.asset_name,preview_url: n.asset_preview_url}- }) : null, M = g ? /* @__PURE__ */ (0, w.jsx)(PE, {+ }) : null, M = g ? /* @__PURE__ */ (0, w.jsx)(IE, {row: n,fieldName: x,value: r.candidateKey,@@ -31256,7 +31260,7 @@ function qE(e) {candidateKey: e}),locked: s- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, w.jsx)(UE, {+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, w.jsx)(GE, {assets: k,picked: r.assets,locked: s,@@ -31264,21 +31268,21 @@ function qE(e) {...r,assets: e})- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "inset",icon: Zf,title: "这批作品尚未抽帧",children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, w.jsx)(HE, {+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, w.jsx)(WE, {row: n,openItem: f.openItem,openEntity: f.openEntity,onReveal: f.onReveal,revealing: f.revealing,note: f.revealNote- }) : /* @__PURE__ */ (0, w.jsx)(zE, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, w.jsxs)("h4", {- className: `${GE} flex-wrap gap-2`,- children: [/* @__PURE__ */ (0, w.jsx)(Xm, {+ }) : /* @__PURE__ */ (0, w.jsx)(VE, { url: n.preview_url }), ee = y ? j : x ? /* @__PURE__ */ (0, w.jsxs)("h4", {+ className: `${qE} flex-wrap gap-2`,+ children: [/* @__PURE__ */ (0, w.jsx)(Ym, {variant: "caption",color: "blue",children: x@@ -31288,7 +31292,7 @@ function qE(e) {children: S})]}) : /* @__PURE__ */ (0, w.jsx)("h4", {- className: GE,+ className: qE,children: /* @__PURE__ */ (0, w.jsx)("span", {title: b,className: "min-w-0 truncate text-body-medium text-text-primary",@@ -31298,20 +31302,20 @@ function qE(e) {return /* @__PURE__ */ (0, w.jsxs)("section", {"aria-label": b,"data-review-key": n.item_key,- className: `${WE} ${KE(t)} overflow-hidden`,+ className: `${KE} ${JE(t)} overflow-hidden`,children: [/* @__PURE__ */ (0, w.jsxs)("header", {className: "flex min-w-0 shrink-0 items-start gap-2",children: [s ? null : /* @__PURE__ */ (0, w.jsx)("span", {- className: `${GE} shrink-0`,+ className: `${qE} shrink-0`,onPointerDownCapture: (e) => {p.current = e.shiftKey;},onKeyDownCapture: (e) => {p.current = e.shiftKey;},- children: /* @__PURE__ */ (0, w.jsx)(xS, {+ children: /* @__PURE__ */ (0, w.jsx)(yS, {isSelected: a,"aria-label": `选择 ${b}`,onChange: (e) => o(p.current, e)@@ -31319,9 +31323,9 @@ function qE(e) {}),/* @__PURE__ */ (0, w.jsx)("div", {className: "min-w-0 flex-1",- children: N+ children: ee}),- A ? /* @__PURE__ */ (0, w.jsx)(Xm, {+ A ? /* @__PURE__ */ (0, w.jsx)(Ym, {variant: "caption",color: "neutral",children: n.decision@@ -31345,7 +31349,7 @@ function qE(e) {!y && j ? j : null,E.length || t === "creator_tags" ? /* @__PURE__ */ (0, w.jsx)("div", {className: "flex flex-wrap gap-1",- children: E.length ? E.map((e) => /* @__PURE__ */ (0, w.jsx)(Xm, {+ children: E.length ? E.map((e) => /* @__PURE__ */ (0, w.jsx)(Ym, {variant: "caption",color: "soft",children: e@@ -31355,7 +31359,7 @@ function qE(e) {})}) : null,M,- /* @__PURE__ */ (0, w.jsx)(IE, {+ /* @__PURE__ */ (0, w.jsx)(RE, {row: n,tags: u,locked: s,@@ -31417,8 +31421,8 @@ function qE(e) {}//#endregion//#region src/react/review/review-page.tsx-var JE = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular 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 review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";-function YE({ page: e, pages: t, onPage: n }) {+var XE = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular 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 review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";+function ZE({ page: e, pages: t, onPage: n }) {return t <= 1 ? null : /* @__PURE__ */ (0, w.jsxs)("nav", {"aria-label": "复核分页",className: "flex w-full flex-wrap items-center justify-between gap-2",@@ -31455,47 +31459,47 @@ function YE({ page: e, pages: t, onPage: n }) {]});}-function XE(e) {- let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, C.useState)(iE(e.category) ? e.category : rE), [f, p] = (0, C.useState)("candidates"), [m, h] = (0, C.useState)(""), [g, _] = (0, C.useState)(1), [v, y] = (0, C.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, C.useState)(/* @__PURE__ */ new Map()), [S, T] = (0, C.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, C.useState)(""), O = (0, C.useRef)(null), [k, A] = (0, C.useState)(0), [j, M] = (0, C.useState)(""), N = (0, C.useRef)(!0);+function QE(e) {+ let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, C.useState)(oE(e.category) ? e.category : aE), [f, p] = (0, C.useState)("candidates"), [m, h] = (0, C.useState)(""), [g, _] = (0, C.useState)(1), [v, y] = (0, C.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, C.useState)(/* @__PURE__ */ new Map()), [S, T] = (0, C.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, C.useState)(""), O = (0, C.useRef)(null), [k, A] = (0, C.useState)(0), [j, M] = (0, C.useState)(""), ee = (0, C.useRef)(!0);(0, C.useEffect)(() => () => {- N.current = !1;+ ee.current = !1;}, []);- let ee = dt({- queryKey: eE,- queryFn: ({ signal: e }) => SE(e)+ let te = pt({+ queryKey: nE,+ queryFn: ({ signal: e }) => wE(e)}).data || {sections: {},counts: {}- }, te = ee.sections[u] || [], P = u === "metadata_fields", ne = s, re = oE(te, P), ie = re.some(([e]) => e === f) ? f : "candidates", ae = sE(te, ie), oe = ae.some((e) => e.key === m) ? m : "", se = lE(cE(te, ie, oe), g), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({+ }, ne = te.sections[u] || [], N = u === "metadata_fields", re = s, ie = cE(ne, N), ae = ie.some(([e]) => e === f) ? f : "candidates", oe = lE(ne, ae), se = oe.some((e) => e.key === m) ? m : "", ce = dE(uE(ne, ae, se), g), le = ce.rows.map((e) => e.item_key), ue = new Set(le), de = oe.map((e) => ({...e,- rows: e.rows.filter((e) => le.has(e.item_key))- })).filter((e) => e.rows.length), de = (e) => b.get(e.item_key) || yE(e), fe = te.filter((e) => v.has(e.item_key)), pe = (e) => {+ rows: e.rows.filter((e) => ue.has(e.item_key))+ })).filter((e) => e.rows.length), fe = (e) => b.get(e.item_key) || xE(e), pe = ne.filter((e) => v.has(e.item_key)), me = (e) => {let t = new Set(e);y((e) => new Set([...e].filter((e) => !t.has(e)))), x((e) => new Map([...e].filter(([e]) => !t.has(e)))), T((e) => new Map([...e].filter(([e]) => !t.has(e))));- }, F = (e, t) => T((n) => new Map(n).set(e, t)), I = (e) => {+ }, P = (e, t) => T((n) => new Map(n).set(e, t)), he = (e) => {d(e), p("candidates"), h(""), _(1), y(/* @__PURE__ */ new Set()), x(/* @__PURE__ */ new Map()), T(/* @__PURE__ */ new Map()), D(""), O.current = null, t({ category: e === "metadata_fields" ? "" : e });- }, me = ft({- mutationFn: ({ row: e, status: t }) => CE(bE(u, e, t, de(e))),+ }, ge = mt({+ mutationFn: ({ row: e, status: t }) => TE(SE(u, e, t, fe(e))),onSuccess: (e, { row: t, status: n }) => {if (!e.ok) {- F(t.item_key, e.error || "服务端拒绝了这次判定");+ P(t.item_key, e.error || "服务端拒绝了这次判定");return;}- EE(u, [t.item_key]), pe([t.item_key]), o(xE(n));+ OE(u, [t.item_key]), me([t.item_key]), o(CE(n));},- onError: (e, { row: t }) => F(t.item_key, G(e))- }), he = ft({+ onError: (e, { row: t }) => P(t.item_key, K(e))+ }), _e = mt({mutationFn: async (e) => {- let t = fe, n = [], r = [];+ let t = pe, n = [], r = [];for (let [i, a] of t.entries()) {- if (!N.current) break;+ if (!ee.current) break;D(`正在处理 ${i} / ${t.length}`);try {- let t = await CE(bE(u, a, e, de(a)));+ let t = await TE(SE(u, a, e, fe(a)));if (!t.ok) throw Error(t.error || "服务端未采用该项");n.push(a.item_key);} catch (e) {- r.push([a.item_key, G(e)]);+ r.push([a.item_key, K(e)]);}}return {@@ -31505,49 +31509,49 @@ function XE(e) {};},onSuccess: ({ status: e, done: t, failures: n }) => {- EE(u, t), pe(t), n.forEach(([e, t]) => F(e, t)), D(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));+ OE(u, t), me(t), n.forEach(([e, t]) => P(e, t)), D(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));},onError: (e) => {- D(G(e));+ D(K(e));}- }), ge = (e) => {- if (!(he.isPending || !fe.length)) {- if (e === "approved" && P && fe.some((e) => !de(e).candidateKey)) {+ }), ve = (e) => {+ if (!(_e.isPending || !pe.length)) {+ if (e === "approved" && N && pe.some((e) => !fe(e).candidateKey)) {D("先为所选的多来源候选选择来源。");return;}- D(""), he.mutate(e);+ D(""), _e.mutate(e);}- }, _e = (e) => {+ }, ye = (e) => {x((t) => {let n = new Map(t);- for (let t of fe) {+ for (let t of pe) {let r = t.candidates?.find((t) => t.source === e);r && n.set(t.item_key, {- ...de(t),+ ...fe(t),candidateKey: r.candidate_key});}return n;}), D(`已选择 ${e},点击通过所选采用。`);- }, ve = async (e) => {+ }, be = async (e) => {if (k) return;A(e), M("");let t = await i(e);- N.current && (A(0), M(t));- }, ye = OE(ee.mirror, c), be = ee.genre_tags || [], xe = {+ ee.current && (A(0), M(t));+ }, xe = AE(te.mirror, c), Se = te.genre_tags || [], Ce = {openItem: n,openEntity: r,- onReveal: ve,+ onReveal: be,revealing: k,revealNote: j,avatarInner: a,toast: o};- return /* @__PURE__ */ (0, w.jsx)(dh, { children: /* @__PURE__ */ (0, w.jsxs)("div", {+ return /* @__PURE__ */ (0, w.jsx)(uh, { children: /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-5 pb-10",children: [- ne ? /* @__PURE__ */ (0, w.jsx)(q, {+ re ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "warning",title: "本机只能浏览",extra: l ? /* @__PURE__ */ (0, w.jsx)("p", {@@ -31558,14 +31562,14 @@ function XE(e) {children: "前往写入端复核"})}) : void 0,- children: ye+ children: xe}) : null,- /* @__PURE__ */ (0, w.jsx)(ME, { tags: be }),+ /* @__PURE__ */ (0, w.jsx)(PE, { tags: Se }),/* @__PURE__ */ (0, w.jsxs)(Ny, {selectedKey: u,onSelectionChange: (e) => {let t = String(e);- iE(t) && I(t);+ oE(t) && he(t);},className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",children: [/* @__PURE__ */ (0, w.jsxs)("div", {@@ -31577,12 +31581,12 @@ function XE(e) {}), /* @__PURE__ */ (0, w.jsx)(Fy, {"aria-labelledby": "reviewcategories",className: "flex flex-wrap gap-1 review-split:flex-col review-split:flex-nowrap review-split:items-stretch",- children: nE.map((e) => {- let t = Number(ee.counts[e] || 0);+ children: iE.map((e) => {+ let t = Number(te.counts[e] || 0);return /* @__PURE__ */ (0, w.jsxs)(Ly, {id: e,- className: JE,- children: [tE[e], t ? /* @__PURE__ */ (0, w.jsx)("span", {+ className: XE,+ children: [rE[e], t ? /* @__PURE__ */ (0, w.jsx)("span", {className: "tabular-nums text-caption-1-medium text-text-secondary",children: t.toLocaleString()}) : null]@@ -31593,36 +31597,36 @@ function XE(e) {id: u,className: "flex min-w-0 flex-1 flex-col gap-5",children: [- te.length && !ne ? /* @__PURE__ */ (0, w.jsx)(kE, {- groupOptions: re,- groupBy: ie,+ ne.length && !re ? /* @__PURE__ */ (0, w.jsx)(jE, {+ groupOptions: ie,+ groupBy: ae,onGroupBy: (e) => {p(e), h(""), _(1);},- groups: ae,- filter: oe,+ groups: oe,+ filter: se,onFilter: (e) => {h(e), _(1);},- pageKeys: ce,+ pageKeys: le,selected: v,onSelected: y,- selectedRows: fe,- metadata: P,- approvable: fe.every((e) => fE(u, e)),- busy: he.isPending,+ selectedRows: pe,+ metadata: N,+ approvable: pe.every((e) => mE(u, e)),+ busy: _e.isPending,feedback: E,- onUnifySource: _e,- onRun: ge+ onUnifySource: ye,+ onRun: ve}) : null,- se.rows.length ? ue.map((e) => /* @__PURE__ */ (0, w.jsxs)("section", {+ ce.rows.length ? de.map((e) => /* @__PURE__ */ (0, w.jsxs)("section", {className: "flex flex-col gap-3",- children: [ue.length > 1 || ie !== "candidates" ? /* @__PURE__ */ (0, w.jsxs)("div", {+ children: [de.length > 1 || ae !== "candidates" ? /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, w.jsx)("h3", {className: "text-body-medium text-text-primary",children: `${e.title} · ${e.rows.length}`- }), ne ? null : /* @__PURE__ */ (0, w.jsx)(X, {+ }), re ? null : /* @__PURE__ */ (0, w.jsx)(X, {variant: "ghost",size: "small",onClick: () => {@@ -31634,37 +31638,37 @@ function XE(e) {})]}) : null, /* @__PURE__ */ (0, w.jsx)("div", {className: "review-grid gap-5",- children: e.rows.map((e) => /* @__PURE__ */ (0, w.jsx)(qE, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, w.jsx)(YE, {category: u,row: e,- choice: de(e),+ choice: fe(e),onChoice: (t) => x((n) => new Map(n).set(e.item_key, t)),selected: v.has(e.item_key),onSelect: (t, n) => y((r) => {let i = new Set(r);- return O.current = dE(i, ce, O.current, e.item_key, t, n), i;+ return O.current = pE(i, le, O.current, e.item_key, t, n), i;}),- locked: ne,- busy: me.isPending && me.variables?.row.item_key === e.item_key,+ locked: re,+ busy: ge.isPending && ge.variables?.row.item_key === e.item_key,problem: S.get(e.item_key) || "",- genreTags: be,+ genreTags: Se,onDecide: (t) => {- me.isPending || he.isPending || (T((t) => new Map([...t].filter(([t]) => t !== e.item_key))), me.mutate({+ ge.isPending || _e.isPending || (T((t) => new Map([...t].filter(([t]) => t !== e.item_key))), ge.mutate({row: e,status: t}));},- handlers: xe+ handlers: Ce}, e.item_key))})]- }, e.key)) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }, e.key)) : /* @__PURE__ */ (0, w.jsx)(ch, {icon: zf,title: "暂无候选",children: "该分类当前没有待人工复核的项目。"}),- /* @__PURE__ */ (0, w.jsx)(YE, {- page: se.page,- pages: se.pages,+ /* @__PURE__ */ (0, w.jsx)(ZE, {+ page: ce.page,+ pages: ce.pages,onPage: _})]@@ -31675,30 +31679,30 @@ function XE(e) {}//#endregion//#region src/react/scraping/scraping.ts-var ZE = "/api/scraping", QE = "/api/scraping/settings", $E = "/api/scraping/check", eD = "/api/scraping/cover", tD = "/api/scraping/amane-bridge", nD = "/api/scraping/amane-bridge/check", rD = "/api/scraping/amane-bridge/rebuild", iD = ["scraping"], aD = ["scraping", "cover"], oD = ["scraping", "amane-bridge"], sD = 2e3, cD = (e) => $m(ZE, e), lD = (e) => $m(eD, e), uD = (e) => $m(tD, e);-async function dD(e) {+var $E = "/api/scraping", eD = "/api/scraping/settings", tD = "/api/scraping/check", nD = "/api/scraping/cover", rD = "/api/scraping/amane-bridge", iD = "/api/scraping/amane-bridge/check", aD = "/api/scraping/amane-bridge/rebuild", oD = ["scraping"], sD = ["scraping", "cover"], cD = ["scraping", "amane-bridge"], lD = (e) => Qm($E, e), uD = (e) => Qm(nD, e), dD = (e) => Qm(rD, e);+async function fD(e) {await Promise.all([- J.fetchQuery({- queryKey: iD,- queryFn: () => cD(e)- }),- J.fetchQuery({- queryKey: aD,+ fh.fetchQuery({+ queryKey: oD,queryFn: () => lD(e)}),- J.fetchQuery({- queryKey: oD,+ fh.fetchQuery({+ queryKey: sD,queryFn: () => uD(e)+ }),+ fh.fetchQuery({+ queryKey: cD,+ queryFn: () => dD(e)})]);}-function fD(e, t) {+function pD(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 pD = [["peach", "Peach 代理"], ["direct", "直接连接"]], mD = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];-function hD({ source: e }) {+var mD = [["peach", "Peach 代理"], ["direct", "直接连接"]], hD = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];+function gD({ source: e }) {return /* @__PURE__ */ (0, w.jsx)("img", {src: a({ source: e }),alt: "",@@ -31709,13 +31713,13 @@ function hD({ source: e }) {className: "size-4 shrink-0 rounded-sm object-contain"});}-function gD({ source: e, toast: t }) {- let [n, r] = (0, C.useState)(e.network), [i, a] = (0, C.useState)(""), [o, s] = (0, C.useState)(""), [c, l] = (0, C.useState)(mD[0][0]), [u, d] = (0, C.useState)(""), [f, p] = (0, C.useState)(""), m = (0, C.useRef)(null);+function _D({ source: e, toast: t }) {+ let [n, r] = (0, C.useState)(e.network), [i, a] = (0, C.useState)(""), [o, s] = (0, C.useState)(""), [c, l] = (0, C.useState)(hD[0][0]), [u, d] = (0, C.useState)(""), [f, p] = (0, C.useState)(""), m = (0, C.useRef)(null);function h() {a(""), s(""), d(""), p(""), m.current && (m.current.value = "");}- let g = ft({- mutationFn: (t) => K(QE, {+ let g = mt({+ mutationFn: (t) => q(eD, {source: e.source,network: n,cookie: i,@@ -31723,12 +31727,12 @@ function gD({ source: e, toast: t }) {revoke: t}),onSuccess: (e, n) => {- J.setQueryData(iD, (t) => t && {+ fh.setQueryData(oD, (t) => t && {...t,sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");}- }), _ = ft({ mutationFn: () => K($E, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {+ }), _ = mt({ mutationFn: () => q(tD, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {e.preventDefault(), !v && (_.reset(), g.mutate(!1));}, b = () => {v || (_.reset(), g.mutate(!0));@@ -31752,38 +31756,38 @@ function gD({ source: e, toast: t }) {p("Cookie 文件未读取,请重新选择");}}- let T = f || (g.error ? G(g.error) : "") || (_.error ? G(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || !!T || E.length > 0;- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ let T = f || (g.error ? K(g.error) : "") || (_.error ? K(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || !!T || E.length > 0;+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: e.label,onSubmit: y,aside: /* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 items-center gap-1",- children: [/* @__PURE__ */ (0, w.jsx)(hD, { source: e.source }), /* @__PURE__ */ (0, w.jsx)(zS, {+ children: [/* @__PURE__ */ (0, w.jsx)(gD, { source: e.source }), /* @__PURE__ */ (0, w.jsx)(VS, {href: e.login,children: e.login})]}),children: [- /* @__PURE__ */ (0, w.jsx)(NS, { children: /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsx)(FS, { children: /* @__PURE__ */ (0, w.jsx)(jS, {label: "连接方式",- children: /* @__PURE__ */ (0, w.jsx)(Qw, {+ children: /* @__PURE__ */ (0, w.jsx)(eT, {"aria-label": "连接方式",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: pD.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)($w, {+ children: mD.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(tT, {id: e,children: t}, e))})}) }),- D ? /* @__PURE__ */ (0, w.jsxs)(PS, {+ D ? /* @__PURE__ */ (0, w.jsxs)(IS, {divided: !0,children: [n === "peach" ? /* @__PURE__ */ (0, w.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, w.jsx)(jS, {+ children: /* @__PURE__ */ (0, w.jsx)(NS, {href: "/configuration#peachProxy",size: "small",trailingIcon: Pf,@@ -31801,10 +31805,10 @@ function gD({ source: e, toast: t }) {onChange: (e) => {l(e), h();},- className: fS,- children: mD.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(_v, {+ className: uS,+ children: hD.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(_v, {value: e,- className: pS,+ className: dS,children: t}, e))}),@@ -31817,7 +31821,7 @@ function gD({ source: e, toast: t }) {}) : /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, w.jsx)(RS, { children: "Netscape Cookie 文件(.txt)" }),+ /* @__PURE__ */ (0, w.jsx)(BS, { children: "Netscape Cookie 文件(.txt)" }),/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [/* @__PURE__ */ (0, w.jsx)(X, {@@ -31843,14 +31847,14 @@ function gD({ source: e, toast: t }) {]})] }) : null,- T ? /* @__PURE__ */ (0, w.jsx)(LS, { children: T }) : null,- E.map((t) => /* @__PURE__ */ (0, w.jsx)(q, {+ T ? /* @__PURE__ */ (0, w.jsx)(zS, { children: T }) : null,+ E.map((t) => /* @__PURE__ */ (0, w.jsx)(J, {tone: t.ok ? "success" : "error",- children: fD(t, e.label)+ children: pD(t, e.label)}, t.label))]}) : null,- /* @__PURE__ */ (0, w.jsxs)(FS, { children: [+ /* @__PURE__ */ (0, w.jsxs)(LS, { children: [e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, w.jsx)(X, {variant: "secondary",onClick: b,@@ -31872,38 +31876,21 @@ function gD({ source: e, toast: t }) {]});}-function _D({ toast: e }) {- let [t, n] = (0, C.useState)(""), [r, i] = (0, C.useState)(!1), [a, o] = (0, C.useState)(null), s = dt({- queryKey: aD,- queryFn: ({ signal: e }) => lD(e),- refetchInterval: (e) => e.state.data?.status === "running" && sD- }), c = ft({- mutationFn: () => K(eD, { code: t }),- onSuccess: (e) => {- i(!0), o(null), J.setQueryData(aD, e), J.invalidateQueries({ queryKey: aD });- }- }), l = (s.data?.status ?? "idle") === "running";- (0, C.useEffect)(() => {- let t = s.data;- if (t) {- if (t.status === "running") {- r || i(!0);- return;- }- r && (i(!1), o(t), t.status === "complete" && e(t.result || "封面采集完成"));- }- }, [- s.data,- r,- e- ]);- let u = (e) => {- e.preventDefault(), !(l || c.isPending || !t.trim()) && c.mutate();- }, d = c.error ? G(c.error) : a?.status === "failed" ? a.error || "采集未取得" : "";- return /* @__PURE__ */ (0, w.jsx)(MS, {+function vD({ toast: e }) {+ let [t, n] = (0, C.useState)(""), { running: r, outcome: i, start: a } = OS({+ queryKey: sD,+ queryFn: ({ signal: e }) => uD(e),+ start: () => q(nD, { code: t }),+ onFinish: (t) => {+ t.status === "complete" && e(t.result || "封面采集完成");+ }+ }), o = (e) => {+ e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();+ }, s = a.error ? K(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";+ return /* @__PURE__ */ (0, w.jsx)(PS, {title: "高清封面",- onSubmit: u,- children: /* @__PURE__ */ (0, w.jsxs)(PS, { children: [+ onSubmit: o,+ children: /* @__PURE__ */ (0, w.jsxs)(IS, { children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, w.jsx)("div", {@@ -31911,7 +31898,7 @@ function _D({ toast: e }) {children: /* @__PURE__ */ (0, w.jsx)($y, {"aria-label": "馆藏番号",isRequired: !0,- isDisabled: l,+ isDisabled: r,value: t,onChange: n,placeholder: "输入馆藏番号,如 ABW-232"@@ -31919,161 +31906,149 @@ function _D({ toast: e }) {}), /* @__PURE__ */ (0, w.jsx)(X, {type: "submit",disabled: !t.trim(),- ...Z(l || c.isPending),+ ...Z(r || a.isPending),children: "抓取封面"})]}),- l ? /* @__PURE__ */ (0, w.jsx)(uh, { label: "正在抓取封面" }) : null,- d ? /* @__PURE__ */ (0, w.jsx)(q, {+ r ? /* @__PURE__ */ (0, w.jsx)(lh, { label: "正在抓取封面" }) : null,+ s ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",- children: d+ children: s}) : null,- a?.status === "complete" ? /* @__PURE__ */ (0, w.jsx)(q, {+ i?.status === "complete" ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "success",- children: a.result || "封面采集完成"+ children: i.result || "封面采集完成"}) : null] })});}-function vD({ toast: e }) {- let [t, n] = (0, C.useState)(!1), [r, i] = (0, C.useState)(null), a = dt({- queryKey: oD,- queryFn: ({ signal: e }) => uD(e),- refetchInterval: (e) => e.state.data?.job.status === "running" && sD- }), o = ft({ mutationFn: () => K(nD, {}) }), s = ft({- mutationFn: () => K(rD, {}),- onSuccess: (e) => {- n(!0), i(null), J.setQueryData(oD, (t) => t && {- ...t,- job: e- }), J.invalidateQueries({ queryKey: oD });- }- }), c = a.data, l = c?.job, u = l?.status === "running";- if ((0, C.useEffect)(() => {- if (l) {- if (l.status === "running") {- t || n(!0);- return;- }- t && (n(!1), i(l), l.status === "complete" && e(l.result || "amane 桥已重建"));+function yD({ toast: e }) {+ let { query: t, running: n, outcome: r, start: i } = OS({+ queryKey: cD,+ queryFn: ({ signal: e }) => dD(e),+ start: () => q(aD, {}),+ jobOf: (e) => e.job,+ withJob: (e, t) => e && {+ ...e,+ job: t+ },+ onFinish: (t) => {+ t.status === "complete" && e(t.result || "amane 桥已重建");}- }, [- l,- t,- e- ]), !c) return a.error ? /* @__PURE__ */ (0, w.jsx)(MS, {+ }), a = mt({ mutationFn: () => q(iD, {}) }), o = t.data;+ if (!o) return t.error ? /* @__PURE__ */ (0, w.jsx)(PS, {title: "amane 桥",- children: /* @__PURE__ */ (0, w.jsx)(PS, { children: /* @__PURE__ */ (0, w.jsx)(q, {+ children: /* @__PURE__ */ (0, w.jsx)(IS, { children: /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",- children: G(a.error)+ children: K(t.error)}) })}) : null;- let d = u || s.isPending || o.isPending, f = s.error ? G(s.error) : o.error ? G(o.error) : r?.status === "failed" ? r.error || "重建未完成" : "";- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ let s = n || i.isPending || a.isPending, c = i.error ? K(i.error) : a.error ? K(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "amane 桥",- aside: /* @__PURE__ */ (0, w.jsx)(zS, {- href: c.repository,- children: c.repository+ aside: /* @__PURE__ */ (0, w.jsx)(VS, {+ href: o.repository,+ children: o.repository}),children: [- /* @__PURE__ */ (0, w.jsxs)(BS, { children: [- /* @__PURE__ */ (0, w.jsxs)(VS, {+ /* @__PURE__ */ (0, w.jsxs)(HS, { children: [+ /* @__PURE__ */ (0, w.jsxs)(US, {term: "钉住的版本",- children: [c.version ? `${c.version} · ` : "", c.revision.slice(0, 12)]+ children: [o.version ? `${o.version} · ` : "", o.revision.slice(0, 12)]}),- /* @__PURE__ */ (0, w.jsx)(VS, {+ /* @__PURE__ */ (0, w.jsx)(US, {term: "上游最新版本",- children: o.data?.latest ?? "尚未检查"+ children: a.data?.latest ?? "尚未检查"}),- /* @__PURE__ */ (0, w.jsx)(VS, {+ /* @__PURE__ */ (0, w.jsx)(US, {term: "运行环境",- children: c.installed ? "已安装" : "未安装"+ children: o.installed ? "已安装" : "未安装"}),- /* @__PURE__ */ (0, w.jsx)(VS, {+ /* @__PURE__ */ (0, w.jsx)(US, {term: "开放的站",- children: c.sites.map((e) => e.label).join("、")+ children: o.sites.map((e) => e.label).join("、")})] }),- /* @__PURE__ */ (0, w.jsxs)(PS, {+ /* @__PURE__ */ (0, w.jsxs)(IS, {divided: !0,children: [- /* @__PURE__ */ (0, w.jsxs)(IS, { children: [+ /* @__PURE__ */ (0, w.jsxs)(RS, { children: ["这几站由 amane(",- c.license,+ o.license,")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"] }),- u ? /* @__PURE__ */ (0, w.jsx)(uh, { label: "正在重建运行环境" }) : null,- f ? /* @__PURE__ */ (0, w.jsx)(q, {+ n ? /* @__PURE__ */ (0, w.jsx)(lh, { label: "正在重建运行环境" }) : null,+ c ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",- children: f+ children: c}) : null,- r?.status === "complete" ? /* @__PURE__ */ (0, w.jsx)(q, {+ r?.status === "complete" ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "success",children: r.result || "amane 桥已重建"}) : null]}),- /* @__PURE__ */ (0, w.jsxs)(FS, { children: [/* @__PURE__ */ (0, w.jsx)(X, {+ /* @__PURE__ */ (0, w.jsxs)(LS, { children: [/* @__PURE__ */ (0, w.jsx)(X, {variant: "secondary",onClick: () => {- d || o.mutate();+ s || a.mutate();},- ...Z(o.isPending),+ ...Z(a.isPending),children: "检查上游版本"}), /* @__PURE__ */ (0, w.jsx)(X, {onClick: () => {- d || s.mutate();+ s || i.mutate();},- ...Z(u || s.isPending),- children: c.installed ? "重新安装" : "安装"+ ...Z(n || i.isPending),+ children: o.installed ? "重新安装" : "安装"})] })]});}-function yD({ toast: e }) {- let t = dt({- queryKey: iD,- queryFn: ({ signal: e }) => cD(e)+function bD({ toast: e }) {+ let t = pt({+ queryKey: oD,+ queryFn: ({ signal: e }) => lD(e)}), n = t.data;- return n ? /* @__PURE__ */ (0, w.jsxs)(dh, { children: [+ return n ? /* @__PURE__ */ (0, w.jsxs)(uh, { children: [/* @__PURE__ */ (0, w.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "高清图片可能要经代理才能下载,先检查连接。"}),- /* @__PURE__ */ (0, w.jsx)(_D, { toast: e }),- (n.sources || []).map((t) => /* @__PURE__ */ (0, w.jsx)(gD, {+ /* @__PURE__ */ (0, w.jsx)(vD, { toast: e }),+ (n.sources || []).map((t) => /* @__PURE__ */ (0, w.jsx)(_D, {source: t,toast: e}, t.source)),- /* @__PURE__ */ (0, w.jsx)(vD, { toast: e })- ] }) : /* @__PURE__ */ (0, w.jsx)(dh, { children: /* @__PURE__ */ (0, w.jsx)(q, {+ /* @__PURE__ */ (0, w.jsx)(yD, { toast: e })+ ] }) : /* @__PURE__ */ (0, w.jsx)(uh, { children: /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: "读取失败",- children: t.error ? G(t.error) : "读取采集来源失败"+ children: t.error ? K(t.error) : "读取采集来源失败"}) });}//#endregion//#region src/configuration-endpoints.ts-var bD = "/api/configuration", xD = "/api/pick-folder", SD = ["configuration"], CD = (e) => $m(bD, e);-async function wD(e) {- await J.fetchQuery({- queryKey: SD,- queryFn: () => CD(e)+var xD = "/api/configuration", SD = "/api/pick-folder", CD = ["configuration"], wD = (e) => Qm(xD, e);+async function TD(e) {+ await fh.fetchQuery({+ queryKey: CD,+ queryFn: () => wD(e)});}//#endregion//#region src/react/settings/feed-settings.tsx-function TD(e) {+function ED(e) {let t = e.last_fetched_at ? `上次拉取 ${new Date(e.last_fetched_at).toLocaleString()}` : "还没拉过", n = e.interval_minutes >= 60 ? `每 ${Math.round(e.interval_minutes / 60)} 小时一次` : `每 ${e.interval_minutes} 分钟一次`;return `${e.kind_label} · ${n} · ${t} · 上次新增 ${e.last_new_count} 条`;}-function ED() {+function DD() {let [e, t] = (0, C.useState)(null), [n, r] = (0, C.useState)(""), i = (0, C.useCallback)(async (e) => {try {- let n = await $m("/api/feeds", e);+ let n = await Qm("/api/feeds", e);Array.isArray(n?.sources) && t(n);} catch (t) {- e?.aborted || r(G(t));+ e?.aborted || r(K(t));}}, []);(0, C.useEffect)(() => {@@ -32083,7 +32058,7 @@ function ED() {let a = e?.kinds ?? [], [o, s] = (0, C.useState)(""), [c, l] = (0, C.useState)(""), [u, d] = (0, C.useState)(""), [f, p] = (0, C.useState)("6"), m = gb(), h = (e) => {e.preventDefault();let t = Math.round(Number(f) * 60);- m.run("add", (e) => K("/api/feeds/source", {+ m.run("add", (e) => q("/api/feeds/source", {action: "add",kind: o || a[0]?.value,url: c.trim(),@@ -32093,24 +32068,24 @@ function ED() {l(""), d(""), i();});}, g = (e, t) => {- m.run(`enabled-${e.id}`, (n) => K("/api/feeds/source", {+ m.run(`enabled-${e.id}`, (n) => q("/api/feeds/source", {action: "enabled",id: e.id,enabled: t}, "POST", n), () => void i());}, _ = (e) => {- m.run(`remove-${e.id}`, (t) => K("/api/feeds/source", {+ m.run(`remove-${e.id}`, (t) => q("/api/feeds/source", {action: "remove",id: e.id}, "POST", t), () => void i());};- return e ? /* @__PURE__ */ (0, w.jsxs)(MS, {+ return e ? /* @__PURE__ */ (0, w.jsxs)(PS, {title: "订阅源",onSubmit: h,children: [- e.sources.length ? /* @__PURE__ */ (0, w.jsx)(NS, { children: e.sources.map((e) => /* @__PURE__ */ (0, w.jsx)(kS, {+ e.sources.length ? /* @__PURE__ */ (0, w.jsx)(FS, { children: e.sources.map((e) => /* @__PURE__ */ (0, w.jsx)(jS, {label: e.name || e.url,- description: TD(e),+ description: ED(e),children: /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex items-center gap-1",children: [/* @__PURE__ */ (0, w.jsx)(Fb, {@@ -32125,10 +32100,10 @@ function ED() {})]})}, e.id)) }) : null,- /* @__PURE__ */ (0, w.jsxs)(PS, {+ /* @__PURE__ */ (0, w.jsxs)(IS, {divided: e.sources.length > 0,children: [- e.sources.filter((e) => e.last_error).map((e) => /* @__PURE__ */ (0, w.jsx)(q, {+ e.sources.filter((e) => e.last_error).map((e) => /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: `${e.name || e.url} 拉取失败`,children: e.last_error@@ -32137,13 +32112,13 @@ function ED() {className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, w.jsx)(RS, { children: "来源类型" }), /* @__PURE__ */ (0, w.jsx)(Qw, {+ children: [/* @__PURE__ */ (0, w.jsx)(BS, { children: "来源类型" }), /* @__PURE__ */ (0, w.jsx)(eT, {"aria-label": "来源类型",selectedKey: o || a[0]?.value,onSelectionChange: (e) => {e !== null && s(String(e));},- children: a.map((e) => /* @__PURE__ */ (0, w.jsx)($w, {+ children: a.map((e) => /* @__PURE__ */ (0, w.jsx)(tT, {id: e.value,textValue: e.label,children: e.label@@ -32171,15 +32146,15 @@ function ED() {value: u,onChange: d}),- m.error ? /* @__PURE__ */ (0, w.jsx)(LS, { children: m.error }) : null,- /* @__PURE__ */ (0, w.jsx)(IS, { children: "订阅只发现番号、建一条「未入库」的新作,不下载任何文件。新作在首页和人物页里看。" })+ m.error ? /* @__PURE__ */ (0, w.jsx)(zS, { children: m.error }) : null,+ /* @__PURE__ */ (0, w.jsx)(RS, { children: "订阅只发现番号、建一条「未入库」的新作,不下载任何文件。新作在首页和人物页里看。" })]}),- /* @__PURE__ */ (0, w.jsxs)(FS, {+ /* @__PURE__ */ (0, w.jsxs)(LS, {status: e.unread ? `有 ${e.unread} 条新作还没看` : "新作都看过了",children: [/* @__PURE__ */ (0, w.jsx)(X, {onClick: () => {- m.run("check", (e) => K("/api/feeds/check", { all: !0 }, "POST", e), () => void i());+ m.run("check", (e) => q("/api/feeds/check", { all: !0 }, "POST", e), () => void i());},...Z(m.busy === "check"),children: "立即拉取"@@ -32190,33 +32165,33 @@ function ED() {})]})]- }) : /* @__PURE__ */ (0, w.jsx)(MS, {+ }) : /* @__PURE__ */ (0, w.jsx)(PS, {title: "订阅源",- children: /* @__PURE__ */ (0, w.jsx)(PS, { children: n ? /* @__PURE__ */ (0, w.jsx)(q, {+ children: /* @__PURE__ */ (0, w.jsx)(IS, { children: n ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: "打不开订阅源",children: n- }) : /* @__PURE__ */ (0, w.jsx)(IS, { children: "正在读订阅源。" }) })+ }) : /* @__PURE__ */ (0, w.jsx)(RS, { children: "正在读订阅源。" }) })});}//#endregion//#region src/react/settings/entry-links-settings.tsx-function DD({ initial: e, receipt: t }) {+function OD({ initial: e, receipt: t }) {let [n, r] = (0, C.useState)(e.sites), i = gb(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,host: t} : n));- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "外部入口",onSubmit: (e) => {e.preventDefault();let a = { sites: Object.fromEntries(n.map((e) => [e.key, { host: e.host }])) };- i.run("save", (e) => K("/api/configuration/entry-links", a, "POST", e), (e) => {+ i.run("save", (e) => q("/api/configuration/entry-links", a, "POST", e), (e) => {r(e.sites), t("已保存配置");});},- children: [/* @__PURE__ */ (0, w.jsxs)(PS, { children: [- /* @__PURE__ */ (0, w.jsx)(IS, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),+ children: [/* @__PURE__ */ (0, w.jsxs)(IS, { children: [+ /* @__PURE__ */ (0, w.jsx)(RS, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),n.map((e) => /* @__PURE__ */ (0, w.jsx)($y, {id: `entry-link-${e.key}`,label: `${e.label} 地址`,@@ -32228,8 +32203,8 @@ function DD({ initial: e, receipt: t }) {validationBehavior: "aria",hint: "只写域名本身,留空就是默认"}, e.key)),- i.error ? /* @__PURE__ */ (0, w.jsx)(LS, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, w.jsx)(FS, { children: /* @__PURE__ */ (0, w.jsx)(X, {+ i.error ? /* @__PURE__ */ (0, w.jsx)(zS, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, w.jsx)(LS, { children: /* @__PURE__ */ (0, w.jsx)(X, {type: "submit",...Z(i.busy === "save"),children: "保存配置"@@ -32238,32 +32213,32 @@ function DD({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/general-settings.tsx-function OD({ data: e, receipt: t }) {+function kD({ data: e, receipt: t }) {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-6",- children: [e.startup ? /* @__PURE__ */ (0, w.jsx)(kD, {+ children: [e.startup ? /* @__PURE__ */ (0, w.jsx)(AD, {startup: e.startup,receipt: t- }) : null, e.entry_links ? /* @__PURE__ */ (0, w.jsx)(DD, {+ }) : null, e.entry_links ? /* @__PURE__ */ (0, w.jsx)(OD, {initial: e.entry_links,receipt: t}) : null]});}-function kD({ startup: e, receipt: t }) {+function AD({ startup: e, receipt: t }) {let [n, r] = (0, C.useState)(e.enabled), [i, a] = (0, C.useState)(e.silent), [o, s] = (0, C.useState)(e.desktop), c = gb(), l = e.available && !e.desktop_message;- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "开机自启",onSubmit: (r) => {- r.preventDefault(), e.available && c.run("save", (e) => K("/api/configuration/startup", {+ r.preventDefault(), e.available && c.run("save", (e) => q("/api/configuration/startup", {enabled: n,silent: i,desktop: o}, "POST", e), () => t("已保存配置"));},children: [- /* @__PURE__ */ (0, w.jsxs)(NS, { children: [- /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsxs)(FS, { children: [+ /* @__PURE__ */ (0, w.jsx)(jS, {label: "开机后启动 Peach",children: /* @__PURE__ */ (0, w.jsx)(Fb, {"aria-label": "开机后启动 Peach",@@ -32272,7 +32247,7 @@ function kD({ startup: e, receipt: t }) {onChange: r})}),- /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsx)(jS, {label: "静默启动",description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",children: /* @__PURE__ */ (0, w.jsx)(Fb, {@@ -32282,7 +32257,7 @@ function kD({ startup: e, receipt: t }) {onChange: a})}),- /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsx)(jS, {label: "在桌面创建快捷方式",description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",children: /* @__PURE__ */ (0, w.jsx)(Fb, {@@ -32293,11 +32268,11 @@ function kD({ startup: e, receipt: t }) {})})] }),- e.message || c.error ? /* @__PURE__ */ (0, w.jsxs)(PS, {+ e.message || c.error ? /* @__PURE__ */ (0, w.jsxs)(IS, {divided: !0,- children: [e.message ? /* @__PURE__ */ (0, w.jsx)(IS, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, w.jsx)(LS, { children: c.error }) : null]+ children: [e.message ? /* @__PURE__ */ (0, w.jsx)(RS, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, w.jsx)(zS, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, w.jsx)(FS, { children: /* @__PURE__ */ (0, w.jsx)(X, {+ /* @__PURE__ */ (0, w.jsx)(LS, { children: /* @__PURE__ */ (0, w.jsx)(X, {type: "submit",disabled: !e.available,...Z(c.busy === "save"),@@ -32308,7 +32283,7 @@ function kD({ startup: e, receipt: t }) {}//#endregion//#region src/react/settings/media-repair.tsx-var AD = {+var jD = {status: "idle",stage: "",checked: 0,@@ -32318,20 +32293,20 @@ var AD = {failed: 0,skipped: 0,message: ""-}, jD = (e) => Number(e).toLocaleString();-function MD(e) {+}, MD = (e) => Number(e).toLocaleString();+function ND(e) {if (e.status === "running") {- let t = e.total ? `${jD(e.checked)} / ${jD(e.total)}` : "准备中";+ let t = e.total ? `${MD(e.checked)} / ${MD(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${jD(e.repaired)} 部,${jD(e.failed)} 部修不了` : `修好 ${jD(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${MD(e.repaired)} 部,${MD(e.failed)} 部修不了` : `修好 ${MD(e.repaired)} 部` : "";}-function ND({ initial: e }) {- let [t, n] = (0, C.useState)(e || AD), [r, i] = (0, C.useState)(!1), a = gb(), o = t.status === "running";+function PD({ initial: e }) {+ let [t, n] = (0, C.useState)(e || jD), [r, i] = (0, C.useState)(!1), a = gb(), o = t.status === "running";(0, C.useEffect)(() => {let e = new AbortController(), t, r = async () => {try {- let i = await $m("/api/media-repair", e.signal);+ let i = await Qm("/api/media-repair", e.signal);if (e.signal.aborted) return;n(i), i.status === "running" && (t = setTimeout(r, 2e3));} catch {}@@ -32340,34 +32315,34 @@ function ND({ initial: e }) {e.abort(), clearTimeout(t);};}, [o]);- let s = () => void a.run("start", (e) => K("/api/media-repair", {+ let s = () => void a.run("start", (e) => q("/api/media-repair", {allow_metered: r,restart: !0- }, "POST", e), n), c = () => void a.run("stop", (e) => K("/api/media-repair", { stop: !0 }, "POST", e), n), l = t.total ? Math.round(t.checked / t.total * 100) : 0;- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ }, "POST", e), n), c = () => void a.run("stop", (e) => q("/api/media-repair", { stop: !0 }, "POST", e), n), l = t.total ? Math.round(t.checked / t.total * 100) : 0;+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "播放兼容修复",- children: [/* @__PURE__ */ (0, w.jsxs)(PS, { children: [- /* @__PURE__ */ (0, w.jsx)(IS, { children: "有些 MP4 少了一张时间戳表,浏览器按容器给的时刻排帧,会把其中一部分丢掉,看着就是卡顿。 修好之后这类片子起播直接用原片,不再实时转码。原始文件不改动,修好的头另存在缓存里。" }),- /* @__PURE__ */ (0, w.jsx)(xS, {+ children: [/* @__PURE__ */ (0, w.jsxs)(IS, { children: [+ /* @__PURE__ */ (0, w.jsx)(RS, { children: "有些 MP4 少了一张时间戳表,浏览器按容器给的时刻排帧,会把其中一部分丢掉,看着就是卡顿。 修好之后这类片子起播直接用原片,不再实时转码。原始文件不改动,修好的头另存在缓存里。" }),+ /* @__PURE__ */ (0, w.jsx)(yS, {isSelected: r,isDisabled: o,onChange: i,children: "连 PikPak 上的一起修(要把片子完整拉一遍,走流量)"}),- o ? /* @__PURE__ */ (0, w.jsx)(fh, {+ o ? /* @__PURE__ */ (0, w.jsx)(dh, {label: "修复进度",value: l}) : null,- t.status === "complete" && !t.repaired && !t.failed ? /* @__PURE__ */ (0, w.jsx)(q, {+ t.status === "complete" && !t.repaired && !t.failed ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "info",title: "没有要修的",children: "库里的片子都能直接播,没找到缺时间戳表的。"}) : null,- a.error || t.error ? /* @__PURE__ */ (0, w.jsx)(LS, { children: a.error || t.error }) : null- ] }), /* @__PURE__ */ (0, w.jsx)(FS, {- status: MD(t) ? /* @__PURE__ */ (0, w.jsx)("p", {+ a.error || t.error ? /* @__PURE__ */ (0, w.jsx)(zS, { children: a.error || t.error }) : null+ ] }), /* @__PURE__ */ (0, w.jsx)(LS, {+ status: ND(t) ? /* @__PURE__ */ (0, w.jsx)("p", {role: "status",- children: MD(t)+ children: ND(t)}) : null,children: o ? /* @__PURE__ */ (0, w.jsx)(X, {onClick: c,@@ -32383,28 +32358,28 @@ function ND({ initial: e }) {}//#endregion//#region src/react/settings/release-updates.tsx-var PD = /* @__PURE__ */ new Set([+var FD = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), FD = [+]), ID = [65,67,90-], ID = 120;-function LD({ initial: e, initialJob: t }) {+], LD = 120;+function RD({ initial: e, initialJob: t }) {let [n, r] = (0, C.useState)(e), [i, a] = (0, C.useState)(t || {state: "idle",progress: 0- }), [o, s] = (0, C.useState)(""), l = gb(), u = (0, C.useRef)(!1), d = (0, C.useRef)(!0), f = PD.has(i.state);+ }), [o, s] = (0, C.useState)(""), l = gb(), u = (0, C.useRef)(!1), d = (0, C.useRef)(!0), f = FD.has(i.state);(0, C.useEffect)(() => (d.current = !0, () => {d.current = !1;}), []);let p = async () => {- let e = await K("/api/configuration/update-restart", {});+ let e = await q("/api/configuration/update-restart", {});d.current && a(e);}, m = () => void c({title: "更新已准备好",@@ -32416,9 +32391,9 @@ function LD({ initial: e, initialJob: t }) {(0, C.useEffect)(() => {i.state !== "ready" || u.current || (u.current = !0, m());}, [i.state]), (0, C.useEffect)(() => {- let e = new AbortController(), t = PD.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {+ let e = new AbortController(), t = FD.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {try {- let t = await $m("/api/configuration/update-status", e.signal);+ let t = await Qm("/api/configuration/update-status", e.signal);if (e.signal.aborted) return;a(t), o = 0, t.state === "complete" && r((e) => ({...e,@@ -32426,76 +32401,76 @@ function LD({ initial: e, initialJob: t }) {state: "current",message: "已是最新测试版。"}));- let n = await $m("/api/configuration/automatic-updates", e.signal);+ let n = await Qm("/api/configuration/automatic-updates", e.signal);!e.signal.aborted && n.result && r(n.result);} catch {- o += 1, o >= ID && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");+ o += 1, o >= LD && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");}- !e.signal.aborted && o < ID && (n = setTimeout(c, t));+ !e.signal.aborted && o < LD && (n = setTimeout(c, t));};return n = setTimeout(c, t), () => {e.abort(), clearTimeout(n);};}, [i.state]);let h = () => {- f || (u.current = !1, s(""), l.run("download", (e) => K("/api/configuration/update", {}, "POST", e), a));- }, g = () => void l.run("check", (e) => $m("/api/configuration/updates", e), r, (t) => {+ f || (u.current = !1, s(""), l.run("download", (e) => q("/api/configuration/update", {}, "POST", e), a));+ }, g = () => void l.run("check", (e) => Qm("/api/configuration/updates", e), r, (t) => {r({...e,state: "error"- }), l.setError(G(t));+ }), l.setError(K(t));}), _ = l.error || o, v = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "检查更新",children: [- /* @__PURE__ */ (0, w.jsxs)(BS, { children: [- /* @__PURE__ */ (0, w.jsx)(VS, {+ /* @__PURE__ */ (0, w.jsxs)(HS, { children: [+ /* @__PURE__ */ (0, w.jsx)(US, {term: "当前版本",children: n.current_version}),- /* @__PURE__ */ (0, w.jsx)(VS, {+ /* @__PURE__ */ (0, w.jsx)(US, {term: "安装方式",children: n.installation}),- /* @__PURE__ */ (0, w.jsx)(VS, {+ /* @__PURE__ */ (0, w.jsx)(US, {term: "更新通道",children: n.channel}),- /* @__PURE__ */ (0, w.jsx)(VS, {+ /* @__PURE__ */ (0, w.jsx)(US, {term: "最新版本",children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")})] }),- /* @__PURE__ */ (0, w.jsxs)(PS, {+ /* @__PURE__ */ (0, w.jsxs)(IS, {divided: !0,children: [- n.checked_at ? /* @__PURE__ */ (0, w.jsxs)(IS, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,- n.state === "available" && !_ ? /* @__PURE__ */ (0, w.jsx)(q, {+ n.checked_at ? /* @__PURE__ */ (0, w.jsxs)(RS, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,+ n.state === "available" && !_ ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "info",title: "有可用更新",children: n.message- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, w.jsx)(LS, { children: _ || n.message }) : /* @__PURE__ */ (0, w.jsx)(IS, {+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, w.jsx)(zS, { children: _ || n.message }) : /* @__PURE__ */ (0, w.jsx)(RS, {role: "status",children: n.message}),- i.state === "error" ? /* @__PURE__ */ (0, w.jsx)(LS, { children: i.message }) : null,+ i.state === "error" ? /* @__PURE__ */ (0, w.jsx)(zS, { children: i.message }) : null,i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, w.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, w.jsx)(fh, {+ /* @__PURE__ */ (0, w.jsx)(dh, {label: "更新准备进度",value: i.progress,- stops: FD+ stops: ID}),- /* @__PURE__ */ (0, w.jsxs)(IS, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),- /* @__PURE__ */ (0, w.jsx)(IS, { children: v })+ /* @__PURE__ */ (0, w.jsxs)(RS, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),+ /* @__PURE__ */ (0, w.jsx)(RS, { children: v })]}) : null]}),- /* @__PURE__ */ (0, w.jsxs)(FS, {- status: /* @__PURE__ */ (0, w.jsx)(zS, {+ /* @__PURE__ */ (0, w.jsxs)(LS, {+ status: /* @__PURE__ */ (0, w.jsx)(VS, {href: n.release_url,children: "查看发布页"}),@@ -32522,60 +32497,60 @@ function LD({ initial: e, initialJob: t }) {}//#endregion//#region src/react/settings/maintenance-settings.tsx-var RD = [+var zD = [["6", "每 6 小时"],["24", "每天"],["168", "每周"]];-function zD({ data: e, receipt: t, reopenTutorial: n }) {+function BD({ data: e, receipt: t, reopenTutorial: n }) {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-6",children: [- e.automatic_updates ? /* @__PURE__ */ (0, w.jsx)(VD, {+ e.automatic_updates ? /* @__PURE__ */ (0, w.jsx)(HD, {initial: e.automatic_updates,receipt: t}) : null,- e.updates ? /* @__PURE__ */ (0, w.jsx)(LD, {+ e.updates ? /* @__PURE__ */ (0, w.jsx)(RD, {initial: e.updates,initialJob: e.update_job}) : null,- /* @__PURE__ */ (0, w.jsx)(ND, {}),- /* @__PURE__ */ (0, w.jsx)(HD, { facts: e.facts }),- /* @__PURE__ */ (0, w.jsx)(BD, {+ /* @__PURE__ */ (0, w.jsx)(PD, {}),+ /* @__PURE__ */ (0, w.jsx)(UD, { facts: e.facts }),+ /* @__PURE__ */ (0, w.jsx)(VD, {receipt: t,reopenTutorial: n}),- e.uninstall ? /* @__PURE__ */ (0, w.jsx)(UD, {+ e.uninstall ? /* @__PURE__ */ (0, w.jsx)(WD, {uninstall: e.uninstall,receipt: t}) : null]});}-function BD({ receipt: e, reopenTutorial: t }) {+function VD({ receipt: e, reopenTutorial: t }) {let n = gb();- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "安装教程",- children: [/* @__PURE__ */ (0, w.jsxs)(PS, { children: [/* @__PURE__ */ (0, w.jsx)(IS, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, w.jsx)(LS, { children: n.error }) : null] }), /* @__PURE__ */ (0, w.jsx)(FS, { children: /* @__PURE__ */ (0, w.jsx)(X, {+ children: [/* @__PURE__ */ (0, w.jsxs)(IS, { children: [/* @__PURE__ */ (0, w.jsx)(RS, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, w.jsx)(zS, { children: n.error }) : null] }), /* @__PURE__ */ (0, w.jsx)(LS, { children: /* @__PURE__ */ (0, w.jsx)(X, {onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),...Z(n.busy === "reopen"),children: "重新打开教程"}) })]});}-function VD({ initial: e, receipt: t }) {+function HD({ initial: e, receipt: t }) {let [n, r] = (0, C.useState)(e.mode), [i, a] = (0, C.useState)(e.interval_hours), o = gb(e.error), s = (r) => {- r.preventDefault(), e.available && o.run("save", (e) => K("/api/configuration/automatic-updates", {+ r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {mode: n,interval_hours: i}, "POST", e), () => t("已保存配置"));}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "自动更新",onSubmit: s,children: [- /* @__PURE__ */ (0, w.jsxs)(NS, { children: [- /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsxs)(FS, { children: [+ /* @__PURE__ */ (0, w.jsx)(jS, {label: "自动检查新版本",children: /* @__PURE__ */ (0, w.jsx)(Fb, {"aria-label": "自动检查新版本",@@ -32584,7 +32559,7 @@ function VD({ initial: e, receipt: t }) {onChange: (e) => r(e ? "check" : "off")})}),- /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsx)(jS, {label: "自动下载更新",children: /* @__PURE__ */ (0, w.jsx)(Fb, {"aria-label": "自动下载更新",@@ -32593,28 +32568,28 @@ function VD({ initial: e, receipt: t }) {onChange: (e) => r(e ? "download" : "check")})}),- /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsx)(jS, {label: "检查频率",description: c,- children: /* @__PURE__ */ (0, w.jsx)(Qw, {+ children: /* @__PURE__ */ (0, w.jsx)(eT, {"aria-label": "检查频率",selectedKey: String(i),isDisabled: !e.available,onSelectionChange: (e) => {e !== null && a(Number(e));},- children: RD.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)($w, {+ children: zD.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(tT, {id: e,children: t}, e))})})] }),- o.error ? /* @__PURE__ */ (0, w.jsx)(PS, {+ o.error ? /* @__PURE__ */ (0, w.jsx)(IS, {divided: !0,- children: /* @__PURE__ */ (0, w.jsx)(LS, { children: o.error })+ children: /* @__PURE__ */ (0, w.jsx)(zS, { children: o.error })}) : null,- /* @__PURE__ */ (0, w.jsx)(FS, { children: /* @__PURE__ */ (0, w.jsx)(X, {+ /* @__PURE__ */ (0, w.jsx)(LS, { children: /* @__PURE__ */ (0, w.jsx)(X, {type: "submit",disabled: !e.available,...Z(o.busy === "save"),@@ -32623,52 +32598,52 @@ function VD({ initial: e, receipt: t }) {]});}-function HD({ facts: e }) {- return /* @__PURE__ */ (0, w.jsx)(MS, {+function UD({ facts: e }) {+ return /* @__PURE__ */ (0, w.jsx)(PS, {title: "运行信息",- children: /* @__PURE__ */ (0, w.jsx)(BS, { children: e.map((e) => /* @__PURE__ */ (0, w.jsxs)(VS, {+ children: /* @__PURE__ */ (0, w.jsx)(HS, { children: e.map((e) => /* @__PURE__ */ (0, w.jsxs)(US, {term: e.term,- children: [e.value, e.download_url ? /* @__PURE__ */ (0, w.jsx)(zS, {+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, w.jsx)(VS, {href: e.download_url,children: e.download_label}) : null]}, e.term)) })});}-function UD({ uninstall: e, receipt: t }) {+function WD({ uninstall: e, receipt: t }) {let [n, r] = (0, C.useState)(!1), [i, a] = (0, C.useState)(""), o = () => void c({title: "卸载 Peach",danger: !0,body: n ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",confirmLabel: "卸载 Peach",onConfirm: async () => {- let e = await K("/api/configuration/uninstall", {+ let e = await q("/api/configuration/uninstall", {delete_data: n,confirmation: "卸载 Peach"});a(e.message);}}), s = i || e.message, l = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ return /* @__PURE__ */ (0, w.jsxs)(PS, {id: "uninstallPeach",title: "卸载 Peach",- children: [/* @__PURE__ */ (0, w.jsxs)(PS, { children: [- e.available ? /* @__PURE__ */ (0, w.jsx)(IS, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,- /* @__PURE__ */ (0, w.jsx)(xS, {+ children: [/* @__PURE__ */ (0, w.jsxs)(IS, { children: [+ e.available ? /* @__PURE__ */ (0, w.jsx)(RS, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,+ /* @__PURE__ */ (0, w.jsx)(yS, {isSelected: n,isDisabled: !e.full_available || !!i,onChange: r,children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"}),- /* @__PURE__ */ (0, w.jsx)(HS, {+ /* @__PURE__ */ (0, w.jsx)(WS, {summary: "数据目录",- children: l.map((e) => /* @__PURE__ */ (0, w.jsx)(mC, {+ children: l.map((e) => /* @__PURE__ */ (0, w.jsx)(gC, {path: e,className: "text-body-2-regular text-text-secondary",onRevealed: t}, e))})- ] }), /* @__PURE__ */ (0, w.jsx)(FS, {+ ] }), /* @__PURE__ */ (0, w.jsx)(LS, {status: s ? /* @__PURE__ */ (0, w.jsx)("p", {role: i ? "status" : void 0,children: s@@ -32684,7 +32659,7 @@ function UD({ uninstall: e, receipt: t }) {}//#endregion//#region src/react/settings/clouddrive-guide.tsx-var WD = [+var GD = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -32703,32 +32678,32 @@ var WD = [read: "256 / 128 KB",task: "2 个起步"}-], GD = [+], KD = [["cache", "缓存上限"],["read", "读取长度(默认 / 最小)"],["task", "同时处理视频"]];-function KD() {+function qD() {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "@container flex flex-col gap-3",- children: [/* @__PURE__ */ (0, w.jsxs)(IS, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, w.jsx)(zS, {+ children: [/* @__PURE__ */ (0, w.jsxs)(RS, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, w.jsx)(VS, {href: "https://www.clouddrive2.com/help.html",children: "挂载帮助"- })] }), /* @__PURE__ */ (0, w.jsxs)(HS, {+ })] }), /* @__PURE__ */ (0, w.jsxs)(WS, {summary: "CloudDrive 缓存建议",children: [- /* @__PURE__ */ (0, w.jsx)(IS, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),+ /* @__PURE__ */ (0, w.jsx)(RS, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),/* @__PURE__ */ (0, w.jsx)("ul", {"aria-label": "按缓存所在硬盘分档",className: "flex flex-col gap-2",- children: WD.map((e) => /* @__PURE__ */ (0, w.jsxs)("li", {+ children: GD.map((e) => /* @__PURE__ */ (0, w.jsxs)("li", {className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, w.jsx)("p", {className: "text-body-medium text-text-primary",children: e.name}), /* @__PURE__ */ (0, w.jsx)("dl", {className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",- children: GD.map(([t, n]) => /* @__PURE__ */ (0, w.jsxs)("div", {+ children: KD.map(([t, n]) => /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col",children: [/* @__PURE__ */ (0, w.jsx)("dt", {className: "text-caption-1-regular text-text-secondary",@@ -32749,9 +32724,9 @@ function KD() {/* @__PURE__ */ (0, w.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })]}),- /* @__PURE__ */ (0, w.jsxs)(IS, { children: [+ /* @__PURE__ */ (0, w.jsxs)(RS, { children: ["三处缓存的分工、往上调的方法和这些起步值的来源在",- /* @__PURE__ */ (0, w.jsx)(zS, {+ /* @__PURE__ */ (0, w.jsx)(VS, {href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",children: "CloudDrive 配置与调优"}),@@ -32763,7 +32738,7 @@ function KD() {}//#endregion//#region src/react/settings/library-icon-picker.tsx-var qD = [+var JD = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -32807,13 +32782,13 @@ var qD = [["star", "收藏"],["tags", "主题"]];-function JD(e) {+function YD(e) {let t = e === "local" ? "" : o[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-var YD = "auto";-function XD({ value: e, label: t, kind: n = "local", onChange: r }) {- let i = (0, C.useRef)(null), [a, o] = (0, C.useState)(!1), [s, c] = (0, C.useState)(e), [l, u] = JD(n);+var XD = "auto";+function ZD({ value: e, label: t, kind: n = "local", onChange: r }) {+ let i = (0, C.useRef)(null), [a, o] = (0, C.useState)(!1), [s, c] = (0, C.useState)(e), [l, u] = YD(n);return /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(X, {ref: i,variant: "secondary",@@ -32827,7 +32802,7 @@ function XD({ value: e, label: t, kind: n = "local", onChange: r }) {children: /* @__PURE__ */ (0, w.jsxs)("span", {"data-icon-choice": !0,className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, w.jsx)(WS, { mark: e || l }), ((e) => e && qD.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, w.jsx)(KS, { mark: e || l }), ((e) => e && JD.find(([t]) => t === e)?.[1] || u)(e)]})}), /* @__PURE__ */ (0, w.jsx)(Y_, {triggerRef: i,@@ -32835,7 +32810,7 @@ function XD({ value: e, label: t, kind: n = "local", onChange: r }) {onOpenChange: o,placement: "bottom start",offset: 4,- className: SS,+ className: bS,children: /* @__PURE__ */ (0, w.jsxs)($_, {"aria-label": `${t}候选`,className: "flex w-72 flex-col gap-3 outline-none",@@ -32847,15 +32822,15 @@ function XD({ value: e, label: t, kind: n = "local", onChange: r }) {}),/* @__PURE__ */ (0, w.jsx)(gv, {"aria-label": "候选图标",- value: s || YD,- onChange: (e) => c(e === YD ? "" : e),+ value: s || XD,+ onChange: (e) => c(e === XD ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: qD.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(_v, {- value: e || YD,+ children: JD.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(_v, {+ value: e || XD,"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, w.jsx)(WS, { mark: e || l })- }, e || YD))+ children: /* @__PURE__ */ (0, w.jsx)(KS, { mark: e || l })+ }, e || XD))}),/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",@@ -32877,15 +32852,15 @@ function XD({ value: e, label: t, kind: n = "local", onChange: r }) {}//#endregion//#region src/react/settings/push-discovery-settings.tsx-var ZD = "/api/configuration/push-discovery", QD = "/api/configuration/push-discovery/secret";-function $D({ initial: e, receipt: t }) {+var QD = "/api/configuration/push-discovery", $D = "/api/configuration/push-discovery/secret";+function eO({ initial: e, receipt: t }) {let [n, r] = (0, C.useState)(e), [i, a] = (0, C.useState)(e.prefixes), [o, s] = (0, C.useState)(""), c = gb(), l = fb(), u = n.media_roots, [d, f] = (0, C.useState)(e), p = (e, n) => {r(e), f(e), a(e.prefixes), s(""), t(n);}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {...n,...t} : n));- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "推送发现",onSubmit: (e) => {e.preventDefault();@@ -32895,11 +32870,11 @@ function $D({ initial: e, receipt: t }) {cloud: n.cloud,prefixes: i};- c.run("save", (e) => K(ZD, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(G(e)));+ c.run("save", (e) => q(QD, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));},children: [- /* @__PURE__ */ (0, w.jsxs)(NS, { children: [- /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsxs)(FS, { children: [+ /* @__PURE__ */ (0, w.jsx)(jS, {label: "新文件落地就入库",description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",children: /* @__PURE__ */ (0, w.jsx)(Fb, {@@ -32912,7 +32887,7 @@ function $D({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsx)(jS, {label: "监视本机文件夹",description: "订阅本地来源的文件系统事件。网盘挂载不监视——遍历它就是走网络。",children: /* @__PURE__ */ (0, w.jsx)(Fb, {@@ -32925,7 +32900,7 @@ function $D({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsx)(jS, {label: "接收 CloudDrive2 通知",description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",children: /* @__PURE__ */ (0, w.jsx)(Fb, {@@ -32939,30 +32914,30 @@ function $D({ initial: e, receipt: t }) {})})] }),- d.enabled ? /* @__PURE__ */ (0, w.jsx)(PS, {+ d.enabled ? /* @__PURE__ */ (0, w.jsx)(IS, {divided: !0,- children: /* @__PURE__ */ (0, w.jsxs)(BS, { children: [d.watch_local ? /* @__PURE__ */ (0, w.jsx)(VS, {+ children: /* @__PURE__ */ (0, w.jsxs)(HS, { children: [d.watch_local ? /* @__PURE__ */ (0, w.jsx)(US, {term: "本机文件夹监视",children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"- }) : null, /* @__PURE__ */ (0, w.jsx)(VS, {+ }) : null, /* @__PURE__ */ (0, w.jsx)(US, {term: "已入库",children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`})] })}) : null,- d.enabled && d.cloud ? /* @__PURE__ */ (0, w.jsx)(PS, {+ d.enabled && d.cloud ? /* @__PURE__ */ (0, w.jsx)(IS, {divided: !0,children: /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, w.jsx)(RS, { children: "CloudDrive2 配置内容" }),- /* @__PURE__ */ (0, w.jsx)(IS, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),+ /* @__PURE__ */ (0, w.jsx)(BS, { children: "CloudDrive2 配置内容" }),+ /* @__PURE__ */ (0, w.jsx)(RS, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),d.config_toml ? /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)("div", { children: /* @__PURE__ */ (0, w.jsx)(X, {size: "small",onClick: () => {navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));},children: "复制配置"- }) }), /* @__PURE__ */ (0, w.jsx)(HS, {+ }) }), /* @__PURE__ */ (0, w.jsx)(WS, {summary: "查看这段配置",children: /* @__PURE__ */ (0, w.jsx)("div", {className: "relative",@@ -32973,17 +32948,17 @@ function $D({ initial: e, receipt: t }) {children: d.config_toml})})- })] }) : /* @__PURE__ */ (0, w.jsx)(IS, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })+ })] }) : /* @__PURE__ */ (0, w.jsx)(RS, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })]})}) : null,- n.enabled && n.cloud ? /* @__PURE__ */ (0, w.jsx)(PS, {+ n.enabled && n.cloud ? /* @__PURE__ */ (0, w.jsx)(IS, {divided: !0,children: /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, w.jsx)(RS, { children: "云端路径前缀" }),- /* @__PURE__ */ (0, w.jsx)(IS, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),+ /* @__PURE__ */ (0, w.jsx)(BS, { children: "云端路径前缀" }),+ /* @__PURE__ */ (0, w.jsx)(RS, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),/* @__PURE__ */ (0, w.jsx)("div", {role: "group","aria-label": "云端路径前缀",@@ -33000,13 +32975,13 @@ function $D({ initial: e, receipt: t }) {value: e.prefix,onChange: (e) => m(t, { prefix: e })}),- /* @__PURE__ */ (0, w.jsx)(Qw, {+ /* @__PURE__ */ (0, w.jsx)(eT, {"aria-label": `前缀 ${t + 1} 对应的媒体根`,selectedKey: e.root,onSelectionChange: (e) => {e !== null && m(t, { root: String(e) });},- children: u.map((e) => /* @__PURE__ */ (0, w.jsx)($w, {+ children: u.map((e) => /* @__PURE__ */ (0, w.jsx)(tT, {id: e,children: e}, e))@@ -33030,15 +33005,15 @@ function $D({ initial: e, receipt: t }) {]})}) : null,- o || c.error ? /* @__PURE__ */ (0, w.jsx)(PS, {+ o || c.error ? /* @__PURE__ */ (0, w.jsx)(IS, {divided: !0,- children: /* @__PURE__ */ (0, w.jsx)(LS, { children: o || c.error })+ children: /* @__PURE__ */ (0, w.jsx)(zS, { children: o || c.error })}) : null,- /* @__PURE__ */ (0, w.jsxs)(FS, {+ /* @__PURE__ */ (0, w.jsxs)(LS, {status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, w.jsx)(X, {onClick: () => {- c.run("secret", (e) => K(QD, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(G(e)));+ c.run("secret", (e) => q($D, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));},disabled: !n.available,...Z(c.busy === "secret"),@@ -33055,8 +33030,8 @@ function $D({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/media-settings.tsx-var eO = 8e3;-function tO({ className: e }) {+var tO = 8e3;+function nO({ className: e }) {return /* @__PURE__ */ (0, w.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -33069,55 +33044,55 @@ function tO({ className: e }) {children: /* @__PURE__ */ (0, w.jsx)("use", { href: "#i-folder-search" })});}-var nO = [+var rO = [["local", "本地磁盘"],["115", "CloudDrive · 115"],["pikpak", "CloudDrive · PikPak"]-], rO = (e) => nO.find(([t]) => t === e)?.[1] ?? e, iO = (e) => o[e] || "database", aO = (e = "") => ({+], iO = (e) => rO.find(([t]) => t === e)?.[1] ?? e, aO = (e) => o[e] || "database", oO = (e = "") => ({path: e,location: "local",root: "",library: "",library_icon: ""});-function oO(e) {- let t = e.media_sources?.filter((e) => nO.some(([t]) => t === e.location));+function sO(e) {+ let t = e.media_sources?.filter((e) => rO.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) => aO(e));+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => oO(e));}-var sO = (e) => !(e instanceof Zm) || e.status !== 400 ? null : e.body?.errors ?? null;-function cO({ data: e, receipt: t }) {+var cO = (e) => !(e instanceof Xm) || e.status !== 400 ? null : e.body?.errors ?? null;+function lO({ data: e, receipt: t }) {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-6",children: [- e.editable ? /* @__PURE__ */ (0, w.jsx)(lO, {+ e.editable ? /* @__PURE__ */ (0, w.jsx)(uO, {data: e,receipt: t- }) : /* @__PURE__ */ (0, w.jsx)(q, {+ }) : /* @__PURE__ */ (0, w.jsx)(J, {tone: "neutral",title: "只读",children: e.notice}),- /* @__PURE__ */ (0, w.jsx)(dO, { data: e }),- e.push_discovery ? /* @__PURE__ */ (0, w.jsx)($D, {+ /* @__PURE__ */ (0, w.jsx)(fO, { data: e }),+ e.push_discovery ? /* @__PURE__ */ (0, w.jsx)(eO, {initial: e.push_discovery,receipt: t}) : null]});}-function lO({ data: e, receipt: t }) {- let [n, r] = (0, C.useState)(() => oO(e)), [i, a] = (0, C.useState)(String(e.port)), [o, s] = (0, C.useState)(!1), [c, l] = (0, C.useState)([]), [u, d] = (0, C.useState)(""), [f, p] = (0, C.useState)(""), [m, h] = (0, C.useState)(null), [g, _] = (0, C.useState)(null), [v, y] = (0, C.useState)(null), b = (0, C.useRef)(!1), x = (0, C.useRef)(e.revision), S = (0, C.useRef)([]), T = gb();+function uO({ data: e, receipt: t }) {+ let [n, r] = (0, C.useState)(() => sO(e)), [i, a] = (0, C.useState)(String(e.port)), [o, s] = (0, C.useState)(!1), [c, l] = (0, C.useState)([]), [u, d] = (0, C.useState)(""), [f, p] = (0, C.useState)(""), [m, h] = (0, C.useState)(null), [g, _] = (0, C.useState)(null), [v, y] = (0, C.useState)(null), b = (0, C.useRef)(!1), x = (0, C.useRef)(e.revision), S = (0, C.useRef)([]), T = gb();(0, C.useLayoutEffect)(() => {g !== null && (S.current[g]?.focus(), _(null));}, [g]), (0, C.useEffect)(() => {if (!m) return;- let e = setTimeout(() => location.assign(m.url), eO);+ let e = setTimeout(() => location.assign(m.url), tO);return () => clearTimeout(e);}, [m]);let E = (e, t) => r((n) => n.map((n, r) => r === e ? {@@ -33128,23 +33103,23 @@ function lO({ data: e, receipt: t }) {for (; r.length <= e;) r.push("");return r[e] = t, r;}), O = () => {- _(n.length), r((e) => [...e, aO()]);+ _(n.length), r((e) => [...e, oO()]);}, 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 K(xD, { initial: n[e]?.path ?? "" });+ let { path: t } = await q(SD, { initial: n[e]?.path ?? "" });t && (E(e, { path: t }), D(e, ""));} catch (t) {- D(e, G(t));+ D(e, K(t));} finally {b.current = !1, y(null);}}}, j = (r) => {- r.preventDefault(), p(""), T.run("save", (t) => K(bD, {+ r.preventDefault(), p(""), T.run("save", (t) => q(xD, {revision: x.current,media_dirs: n.map((e) => e.path),...e.media_sources ? { media_sources: n } : {},@@ -33153,18 +33128,18 @@ function lO({ data: e, receipt: t }) {}, "POST", t), (e) => {x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);}, (e) => {- let t = sO(e);- l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(G(e));+ let t = cO(e);+ l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));});};- if (m) return /* @__PURE__ */ (0, w.jsx)(MS, {+ if (m) return /* @__PURE__ */ (0, w.jsx)(PS, {title: "这台电脑",- children: /* @__PURE__ */ (0, w.jsx)(PS, { children: /* @__PURE__ */ (0, w.jsxs)(q, {+ children: /* @__PURE__ */ (0, w.jsx)(IS, { children: /* @__PURE__ */ (0, w.jsxs)(J, {tone: "success",title: "配置已保存",children: ["Peach 正在重新启动。稍后自动跳转,或点击",- /* @__PURE__ */ (0, w.jsx)(jS, {+ /* @__PURE__ */ (0, w.jsx)(NS, {href: m.url,size: "small",children: "进入馆藏"@@ -33173,15 +33148,15 @@ function lO({ data: e, receipt: t }) {]}) })});- let M = n.some((e) => e.location === "115" || e.location === "pikpak"), N = M ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ let M = n.some((e) => e.location === "115" || e.location === "pikpak"), ee = M ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "这台电脑",onSubmit: j,- children: [/* @__PURE__ */ (0, w.jsxs)(PS, { children: [+ children: [/* @__PURE__ */ (0, w.jsxs)(IS, { children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, w.jsx)(RS, { children: "媒体文件夹" }),+ /* @__PURE__ */ (0, w.jsx)(BS, { children: "媒体文件夹" }),/* @__PURE__ */ (0, w.jsx)("div", {role: "group","aria-label": "媒体文件夹",@@ -33206,7 +33181,7 @@ function lO({ data: e, receipt: t }) {hint: c[r] || void 0}),/* @__PURE__ */ (0, w.jsx)(Ky, {- icon: tO,+ icon: nO,"aria-label": "选择文件夹",onClick: () => void A(r),...Z(v === r)@@ -33229,7 +33204,7 @@ function lO({ data: e, receipt: t }) {}),/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, w.jsx)(RS, { children: "媒体库图标" }), /* @__PURE__ */ (0, w.jsx)(XD, {+ children: [/* @__PURE__ */ (0, w.jsx)(BS, { children: "媒体库图标" }), /* @__PURE__ */ (0, w.jsx)(ZD, {label: `媒体库图标 ${r + 1}`,value: t.library_icon,kind: t.location,@@ -33238,16 +33213,16 @@ function lO({ data: e, receipt: t }) {}),/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, w.jsx)(RS, { children: "媒体来源" }), /* @__PURE__ */ (0, w.jsx)(Qw, {+ children: [/* @__PURE__ */ (0, w.jsx)(BS, { children: "媒体来源" }), /* @__PURE__ */ (0, w.jsx)(eT, {"aria-label": `媒体来源 ${r + 1}`,selectedKey: t.location,onSelectionChange: (e) => {e !== null && E(r, { location: String(e) });},- children: nO.map(([e, t]) => /* @__PURE__ */ (0, w.jsxs)($w, {+ children: rO.map(([e, t]) => /* @__PURE__ */ (0, w.jsxs)(tT, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, w.jsx)(WS, { mark: iO(e) }), t]+ children: [/* @__PURE__ */ (0, w.jsx)(KS, { mark: aO(e) }), t]}, e))})]}),@@ -33268,17 +33243,17 @@ function lO({ data: e, receipt: t }) {})]}),- M ? /* @__PURE__ */ (0, w.jsx)(KD, {}) : null,- N.map((e) => /* @__PURE__ */ (0, w.jsxs)(IS, { children: [+ M ? /* @__PURE__ */ (0, w.jsx)(qD, {}) : null,+ ee.map((e) => /* @__PURE__ */ (0, w.jsxs)(RS, { children: ["未检测到 ",e.name,"。",- /* @__PURE__ */ (0, w.jsxs)(zS, {+ /* @__PURE__ */ (0, w.jsxs)(VS, {href: e.download_url,children: ["下载 ", e.name]})] }, e.name)),- e.windows === !1 ? /* @__PURE__ */ (0, w.jsx)(IS, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,+ e.windows === !1 ? /* @__PURE__ */ (0, w.jsx)(RS, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,e.port_editable === !1 ? null : /* @__PURE__ */ (0, w.jsx)($y, {id: "configPort",label: "本机访问端口",@@ -33289,17 +33264,17 @@ function lO({ data: e, receipt: t }) {isInvalid: !!u,hint: u || "浏览器地址里冒号后面的数字,一般不用改。"}),- /* @__PURE__ */ (0, w.jsx)(xS, {+ /* @__PURE__ */ (0, w.jsx)(yS, {isSelected: o,onChange: s,children: "保存后扫描并补全资料"}),- f ? /* @__PURE__ */ (0, w.jsx)(q, {+ f ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: "没有保存",children: f}) : null- ] }), /* @__PURE__ */ (0, w.jsx)(FS, {+ ] }), /* @__PURE__ */ (0, w.jsx)(LS, {status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",children: /* @__PURE__ */ (0, w.jsx)(X, {type: "submit",@@ -33309,7 +33284,7 @@ function lO({ data: e, receipt: t }) {})]});}-function uO({ online: e }) {+function dO({ online: e }) {return e === !0 ? /* @__PURE__ */ (0, w.jsxs)("span", {"data-mount": "online",className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",@@ -33333,21 +33308,21 @@ function uO({ online: e }) {}), "未检测"]});}-function dO({ data: e }) {+function fO({ data: e }) {let t = e.media_sources, n = gb();- return t ? /* @__PURE__ */ (0, w.jsxs)(MS, {+ return t ? /* @__PURE__ */ (0, w.jsxs)(PS, {title: "挂载状态",children: [- /* @__PURE__ */ (0, w.jsx)(BS, { children: t.map((e, t) => /* @__PURE__ */ (0, w.jsxs)(VS, {- term: /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(WS, { mark: iO(e.location) }), rO(e.location)] }),- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, w.jsx)(uO, { online: e.online })]+ /* @__PURE__ */ (0, w.jsx)(HS, { children: t.map((e, t) => /* @__PURE__ */ (0, w.jsxs)(US, {+ term: /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(KS, { mark: aO(e.location) }), iO(e.location)] }),+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, w.jsx)(dO, { online: e.online })]}, t)) }),- n.error ? /* @__PURE__ */ (0, w.jsx)(PS, {+ n.error ? /* @__PURE__ */ (0, w.jsx)(IS, {divided: !0,- children: /* @__PURE__ */ (0, w.jsx)(LS, { children: n.error })+ children: /* @__PURE__ */ (0, w.jsx)(zS, { children: n.error })}) : null,- /* @__PURE__ */ (0, w.jsx)(FS, { children: /* @__PURE__ */ (0, w.jsx)(X, {- onClick: () => void n.run("refresh", (e) => CD(e), (e) => J.setQueryData(SD, e)),+ /* @__PURE__ */ (0, w.jsx)(LS, { children: /* @__PURE__ */ (0, w.jsx)(X, {+ onClick: () => void n.run("refresh", (e) => wD(e), (e) => fh.setQueryData(CD, e)),...Z(n.busy === "refresh"),children: "刷新挂载状态"}) })@@ -33356,12 +33331,12 @@ function dO({ data: e }) {}//#endregion//#region src/react/settings/access-settings.tsx-var fO = {+var pO = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,保持登录时间在登录页选择。"};-function pO({ initial: e, receipt: t }) {+function mO({ initial: e, receipt: t }) {let [n, r] = (0, C.useState)(e), [i, a] = (0, C.useState)(""), [o, s] = (0, C.useState)(""), [c, l] = (0, C.useState)(""), [u, d] = (0, C.useState)(!1), [f, p] = (0, C.useState)({}), m = (0, C.useRef)(null), h = gb(), g = (e) => {e.preventDefault();let f = {};@@ -33369,7 +33344,7 @@ function pO({ initial: e, receipt: t }) {requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus());return;}- h.run("save", (e) => K("/api/configuration/access", {+ h.run("save", (e) => q("/api/configuration/access", {revision: n.revision,action: u ? "disable" : "set",confirm_disable: u,@@ -33379,23 +33354,23 @@ function pO({ initial: e, receipt: t }) {}, "POST", e), (e) => {r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");}, (e) => {- let t = e instanceof Zm ? e.body : null, n = t?.errors || t?.detail?.errors;- n ? p(n) : h.setError(G(e));+ let t = e instanceof Xm ? e.body : null, n = t?.errors || t?.detail?.errors;+ n ? p(n) : h.setError(K(e));});- }, _ = fO[n.mode], v = n.mode !== "locked";- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ }, _ = pO[n.mode], v = n.mode !== "locked";+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "访问密码",onSubmit: g,children: [/* @__PURE__ */ (0, w.jsx)("div", {ref: m,- children: /* @__PURE__ */ (0, w.jsxs)(PS, { children: [- _ ? /* @__PURE__ */ (0, w.jsx)(IS, { children: _ }) : null,- n.mode === "open" ? /* @__PURE__ */ (0, w.jsx)(q, {+ children: /* @__PURE__ */ (0, w.jsxs)(IS, { children: [+ _ ? /* @__PURE__ */ (0, w.jsx)(RS, { children: _ }) : null,+ n.mode === "open" ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "warning",title: "未设置访问密码",children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"}) : null,- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, w.jsx)(xS, {+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, w.jsx)(yS, {isSelected: u,onChange: d,children: "关闭访问密码"@@ -33440,14 +33415,14 @@ function pO({ initial: e, receipt: t }) {isInvalid: !u && !!f.confirmation,hint: u ? void 0 : f.confirmation})] }) : null,- u ? /* @__PURE__ */ (0, w.jsx)(q, {+ u ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "warning",title: "访问范围",children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"}) : null,- h.error ? /* @__PURE__ */ (0, w.jsx)(LS, { children: h.error }) : null+ h.error ? /* @__PURE__ */ (0, w.jsx)(zS, { children: h.error }) : null] })- }), v ? /* @__PURE__ */ (0, w.jsx)(FS, {+ }), v ? /* @__PURE__ */ (0, w.jsx)(LS, {status: "保存后立即生效。",children: /* @__PURE__ */ (0, w.jsx)(X, {type: "submit",@@ -33459,25 +33434,25 @@ function pO({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/tunnel-settings.tsx-var mO = 2e3, hO = [["quick", "临时链接"], ["named", "命名隧道"]], gO = {+var hO = 2e3, gO = [["quick", "临时链接"], ["named", "命名隧道"]], _O = {quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"};-function _O({ revision: e, initial: t, receipt: n }) {+function vO({ revision: e, initial: t, receipt: n }) {let [r, i] = (0, C.useState)(t), [a, o] = (0, C.useState)(e), [s, c] = (0, C.useState)(t.mode), [l, u] = (0, C.useState)(t.hostname), [d, f] = (0, C.useState)(""), [p, m] = (0, C.useState)({}), h = gb(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";(0, C.useEffect)(() => {if (r.state !== "starting") return;let e = new AbortController(), t = window.setInterval(() => {- CD(e.signal).then((t) => {- e.signal.aborted || !t.tunnel || (J.setQueryData(SD, t), i(t.tunnel), o(t.revision));+ wD(e.signal).then((t) => {+ e.signal.aborted || !t.tunnel || (fh.setQueryData(CD, t), i(t.tunnel), o(t.revision));}).catch(() => void 0);- }, mO);+ }, hO);return () => {e.abort(), window.clearInterval(t);};}, [r.state]);let v = (e, t, n) => {- m({}), h.run(e, (e) => K("/api/configuration/tunnel", {+ m({}), h.run(e, (e) => q("/api/configuration/tunnel", {revision: a,enabled: t,mode: s,@@ -33486,29 +33461,29 @@ function _O({ revision: e, initial: t, receipt: n }) {}, "POST", e), (e) => {i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);}, (e) => {- let t = e instanceof Zm ? e.body : null, n = t?.errors || t?.detail?.errors;- n ? m(n) : h.setError(G(e));+ let t = e instanceof Xm ? e.body : null, n = t?.errors || t?.detail?.errors;+ n ? m(n) : h.setError(K(e));});};- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ return /* @__PURE__ */ (0, w.jsxs)(PS, {title: "Cloudflare 公网入口",onSubmit: (e) => {e.preventDefault(), v("save", g, () => n("已保存配置"));},- children: [/* @__PURE__ */ (0, w.jsxs)(PS, { children: [+ children: [/* @__PURE__ */ (0, w.jsxs)(IS, { children: [r.named_available ? /* @__PURE__ */ (0, w.jsx)(gv, {"aria-label": "公网入口的形态(二选一)",value: s,isDisabled: g,onChange: (e) => c(e),- className: fS,- children: hO.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(_v, {+ className: uS,+ children: gO.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(_v, {value: e,- className: pS,+ className: dS,children: t}, e))}) : null,- /* @__PURE__ */ (0, w.jsx)(IS, { children: gO[_ ? "named" : "quick"] }),+ /* @__PURE__ */ (0, w.jsx)(RS, { children: _O[_ ? "named" : "quick"] }),_ ? /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)($y, {id: "tunnel-hostname",label: "公开主机名",@@ -33532,27 +33507,27 @@ function _O({ revision: e, initial: t, receipt: n }) {validationBehavior: "aria",hint: r.token_set ? "已保存。留空表示沿用已保存的令牌。" : "在 Cloudflare Zero Trust 的隧道详情页复制。"})] }) : null,- r.available ? null : /* @__PURE__ */ (0, w.jsx)(q, {+ r.available ? null : /* @__PURE__ */ (0, w.jsx)(J, {tone: "warning",title: "找不到 cloudflared",children: "安装官方 cloudflared,或用设置文件的 tunnel.binary 与 PEACH_CLOUDFLARED 指定路径。"}),- r.state === "running" && r.url ? /* @__PURE__ */ (0, w.jsx)(q, {+ r.state === "running" && r.url ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "info",title: "公网地址",- children: /* @__PURE__ */ (0, w.jsx)(zS, {+ children: /* @__PURE__ */ (0, w.jsx)(VS, {href: r.url,children: r.url})}) : null,- r.state === "starting" ? /* @__PURE__ */ (0, w.jsx)(q, {+ r.state === "starting" ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "info",title: "正在连接",children: "正在等待 cloudflared 连上 Cloudflare 边缘。"}) : null,- r.error ? /* @__PURE__ */ (0, w.jsx)(LS, { children: r.error }) : null,- h.error ? /* @__PURE__ */ (0, w.jsx)(LS, { children: h.error }) : null- ] }), /* @__PURE__ */ (0, w.jsxs)(FS, {+ r.error ? /* @__PURE__ */ (0, w.jsx)(zS, { children: r.error }) : null,+ h.error ? /* @__PURE__ */ (0, w.jsx)(zS, { children: h.error }) : null+ ] }), /* @__PURE__ */ (0, w.jsxs)(LS, {status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",children: [/* @__PURE__ */ (0, w.jsx)(X, {onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),@@ -33568,24 +33543,24 @@ function _O({ revision: e, initial: t, receipt: n }) {}//#endregion//#region src/react/settings/network-settings.tsx-var vO = [+var yO = [["environment", "系统代理"],["direct", "直连"],["proxy", "自定义"]];-function yO({ data: e, receipt: t }) {+function bO({ data: e, receipt: t }) {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-6",children: [- e.peach_proxy ? /* @__PURE__ */ (0, w.jsx)(bO, {+ e.peach_proxy ? /* @__PURE__ */ (0, w.jsx)(xO, {initial: e.peach_proxy,receipt: t}) : null,- e.access ? /* @__PURE__ */ (0, w.jsx)(pO, {+ e.access ? /* @__PURE__ */ (0, w.jsx)(mO, {initial: e.access,receipt: t}) : null,- e.tunnel ? /* @__PURE__ */ (0, w.jsx)(_O, {+ e.tunnel ? /* @__PURE__ */ (0, w.jsx)(vO, {revision: e.revision,initial: e.tunnel,receipt: t@@ -33593,13 +33568,13 @@ function yO({ data: e, receipt: t }) {]});}-function bO({ initial: e, receipt: t }) {+function xO({ initial: e, receipt: t }) {let [n, r] = (0, C.useState)(e), [i, a] = (0, C.useState)(e.mode), [o, s] = (0, C.useState)(""), c = gb();- return /* @__PURE__ */ (0, w.jsxs)(MS, {+ return /* @__PURE__ */ (0, w.jsxs)(PS, {id: "peachProxy",title: "Peach 代理",onSubmit: (e) => {- e.preventDefault(), c.run("save", (e) => K("/api/configuration/peach-proxy", {+ e.preventDefault(), c.run("save", (e) => q("/api/configuration/peach-proxy", {mode: i,proxy: o}, "POST", e), (e) => {@@ -33607,22 +33582,22 @@ function bO({ initial: e, receipt: t }) {});},children: [- /* @__PURE__ */ (0, w.jsx)(NS, { children: /* @__PURE__ */ (0, w.jsx)(kS, {+ /* @__PURE__ */ (0, w.jsx)(FS, { children: /* @__PURE__ */ (0, w.jsx)(jS, {label: "连接方式",description: "采集来源选「Peach 代理」时共用这里的连接方式。",- children: /* @__PURE__ */ (0, w.jsx)(Qw, {+ children: /* @__PURE__ */ (0, w.jsx)(eT, {"aria-label": "连接方式",selectedKey: i,onSelectionChange: (e) => {e !== null && a(String(e));},- children: vO.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)($w, {+ children: yO.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(tT, {id: e,children: t}, e))})}) }),- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, w.jsxs)(PS, {+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, w.jsxs)(IS, {divided: !0,children: [i === "proxy" ? /* @__PURE__ */ (0, w.jsx)($y, {@@ -33634,15 +33609,15 @@ function bO({ initial: e, receipt: t }) {onChange: s,placeholder: n.proxy_saved ? "已保存,留空保留" : "http://127.0.0.1:7890"}) : null,- n.needs_selection ? /* @__PURE__ */ (0, w.jsx)(q, {+ n.needs_selection ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "warning",title: "需要选择连接方式",children: "已有来源的代理地址不同,请选择公共连接方式。"}) : null,- c.error ? /* @__PURE__ */ (0, w.jsx)(LS, { children: c.error }) : null+ c.error ? /* @__PURE__ */ (0, w.jsx)(zS, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, w.jsx)(FS, { children: /* @__PURE__ */ (0, w.jsx)(X, {+ /* @__PURE__ */ (0, w.jsx)(LS, { children: /* @__PURE__ */ (0, w.jsx)(X, {type: "submit",...Z(c.busy === "save"),children: "保存配置"@@ -33652,17 +33627,17 @@ function bO({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/configuration-page.tsx-function xO({ receipt: e, reopenTutorial: t }) {- let n = dt({- queryKey: SD,- queryFn: ({ signal: e }) => CD(e)+function SO({ receipt: e, reopenTutorial: t }) {+ let n = pt({+ queryKey: CD,+ queryFn: ({ signal: e }) => wD(e)}), r = n.data;if (!r) return /* @__PURE__ */ (0, w.jsx)("div", {className: "configpage",- children: /* @__PURE__ */ (0, w.jsx)(q, {+ children: /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: "打不开配置",- children: n.error ? G(n.error) : "没有读到配置"+ children: n.error ? K(n.error) : "没有读到配置"})});let i = {@@ -33678,23 +33653,23 @@ function xO({ receipt: e, reopenTutorial: t }) {}),/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-6",- children: [/* @__PURE__ */ (0, w.jsx)(OD, { ...i }), /* @__PURE__ */ (0, w.jsx)(ED, {})]+ children: [/* @__PURE__ */ (0, w.jsx)(kD, { ...i }), /* @__PURE__ */ (0, w.jsx)(DD, {})]}),/* @__PURE__ */ (0, w.jsx)("h2", {className: "configgroup",children: "媒体"}),- /* @__PURE__ */ (0, w.jsx)(cO, { ...i }),+ /* @__PURE__ */ (0, w.jsx)(lO, { ...i }),a ? /* @__PURE__ */ (0, w.jsx)("h2", {className: "configgroup",children: "网络与访问"}) : null,- a ? /* @__PURE__ */ (0, w.jsx)(yO, { ...i }) : null,+ a ? /* @__PURE__ */ (0, w.jsx)(bO, { ...i }) : null,/* @__PURE__ */ (0, w.jsx)("h2", {className: "configgroup",children: "更新与维护"}),- /* @__PURE__ */ (0, w.jsx)(zD, {+ /* @__PURE__ */ (0, w.jsx)(BD, {...i,reopenTutorial: t})@@ -33703,15 +33678,15 @@ function xO({ receipt: e, reopenTutorial: t }) {}//#endregion//#region src/react/stats/stats.ts-var SO = "/api/stats", CO = ["stats"], wO = (e) => $m(SO, e);-async function TO(e) {- await J.fetchQuery({- queryKey: CO,- queryFn: () => wO(e)+var CO = "/api/stats", wO = ["stats"], TO = (e) => Qm(CO, e);+async function EO(e) {+ await fh.fetchQuery({+ queryKey: wO,+ queryFn: () => TO(e)});}-var EO = (e, t) => t ? Math.round(e / t * 100) : 0, DO = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, OO = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, kO = (e) => (e.max_reached || 0) * 100, AO = (e) => e.kind === "online" ? "在线直接观看" : OO(e) < kO(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", jO = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;-function MO(e) {+var DO = (e, t) => t ? Math.round(e / t * 100) : 0, OO = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, kO = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, AO = (e) => (e.max_reached || 0) * 100, jO = (e) => e.kind === "online" ? "在线直接观看" : kO(e) < AO(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", MO = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;+function NO(e) {let t = Math.max(1, ...e) * 1.1, n = Math.min(22, 110 / Math.max(1, e.length)), r = Math.min(15, n * .68);return e.map((e, i) => ({radius: 32 + i * n,@@ -33721,7 +33696,7 @@ function MO(e) {}//#endregion//#region src/react/components/expandable-ranking.tsx-function NO({ children: e, className: t = "", previewCount: n = 10 }) {+function PO({ children: e, className: t = "", previewCount: n = 10 }) {let r = (0, C.useId)(), i = (0, C.useRef)(null), [a, o] = (0, C.useState)(!1), [s, c] = (0, C.useState)(!1), l = C.Children.toArray(e), u = l.length > n;(0, C.useLayoutEffect)(() => {let e = i.current;@@ -33768,21 +33743,21 @@ function NO({ children: e, className: t = "", previewCount: n = 10 }) {}//#endregion//#region src/react/stats/radial-card.tsx-var PO = [+var FO = ["stroke-chart-1","stroke-chart-2","stroke-chart-3","stroke-chart-4","stroke-chart-5","stroke-chart-6"-], FO = [+], IO = ["bg-chart-1","bg-chart-2","bg-chart-3","bg-chart-4","bg-chart-5","bg-chart-6"-], IO = [+], LO = ["aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1","aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2","aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",@@ -33790,12 +33765,12 @@ var PO = ["aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5","aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"];-function LO({ title: e, rows: t, unit: n = "个视频" }) {+function RO({ title: e, rows: t, unit: n = "个视频" }) {let [r, i] = (0, C.useState)(-1), [a, o] = (0, C.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (!s.length) return null;- let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = MO(s.map((e) => e.value)), d = s[c], f = (e) => i((t) => t === e ? -1 : e);+ let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = NO(s.map((e) => e.value)), d = s[c], f = (e) => i((t) => t === e ? -1 : e);return /* @__PURE__ */ (0, w.jsxs)("section", {- className: `${sh({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`,+ className: `${oh({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`,children: [/* @__PURE__ */ (0, w.jsxs)("header", {className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",@@ -33842,7 +33817,7 @@ function LO({ title: e, rows: t, unit: n = "个视频" }) {pathLength: 100,transform: "rotate(-90 160 160)",strokeDasharray: `${u[t].length} ${100 - u[t].length}`,- className: c >= 0 && c !== t ? `cursor-pointer opacity-30 transition-opacity ${PO[t % 6]}` : `cursor-pointer transition-opacity ${PO[t % 6]}`+ className: c >= 0 && c !== t ? `cursor-pointer opacity-30 transition-opacity ${FO[t % 6]}` : `cursor-pointer transition-opacity ${FO[t % 6]}`})]}, e.name))@@ -33857,13 +33832,13 @@ function LO({ title: e, rows: t, unit: n = "个视频" }) {onPointerLeave: () => o(-1),onFocus: () => o(t),onBlur: () => o(-1),- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${IO[t % 6]}`,+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${LO[t % 6]}`,children: [/* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, w.jsx)("i", {"aria-hidden": !0,- className: `size-3 shrink-0 rounded-sm ${FO[t % 6]}`+ className: `size-3 shrink-0 rounded-sm ${IO[t % 6]}`}), e.name]}),/* @__PURE__ */ (0, w.jsx)("b", {@@ -33882,8 +33857,8 @@ function LO({ title: e, rows: t, unit: n = "个视频" }) {}//#endregion//#region src/react/stats/stats-page.tsx-var RO = 10, zO = `${sh()} flex flex-col gap-4`, BO = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", VO = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", HO = "开始播放后,这里会显示最近的真实观看证据。", UO = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", WO = "添加媒体文件夹后,这里会显示存储空间。";-function GO({ term: e, value: t }) {+var zO = 10, BO = `${oh()} flex flex-col gap-4`, VO = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", HO = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", UO = "开始播放后,这里会显示最近的真实观看证据。", WO = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", GO = "添加媒体文件夹后,这里会显示存储空间。";+function KO({ term: e, value: t }) {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, w.jsx)("span", {@@ -33895,7 +33870,7 @@ function GO({ term: e, value: t }) {})]});}-function KO({ term: e, value: t, total: n }) {+function qO({ term: e, value: t, total: n }) {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",children: [/* @__PURE__ */ (0, w.jsxs)("p", {@@ -33904,17 +33879,17 @@ function KO({ term: e, value: t, total: n }) {className: "tabular-nums",children: [t.toLocaleString(), /* @__PURE__ */ (0, w.jsxs)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: [EO(t, n), "%"]+ children: [DO(t, n), "%"]})]})]- }), /* @__PURE__ */ (0, w.jsx)(fh, {+ }), /* @__PURE__ */ (0, w.jsx)(dh, {label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,value: t,max: Math.max(n, 1)})]});}-function qO({ term: e, figure: t, unit: n }) {+function JO({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",children: [@@ -33933,26 +33908,26 @@ function qO({ term: e, figure: t, unit: n }) {]});}-function JO({ headline: e, children: t }) {+function YO({ headline: e, children: t }) {return /* @__PURE__ */ (0, w.jsxs)("div", {- className: `${zO} md:flex-row md:gap-6`,+ className: `${BO} md:flex-row md:gap-6`,children: [e, /* @__PURE__ */ (0, w.jsx)("div", {className: "min-w-0 grow",children: t})]});}-function YO({ data: t, configurable: r, openMediaSettings: i }) {+function XO({ data: t, configurable: r, openMediaSettings: i }) {return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, w.jsxs)("div", {className: "inline-grid w-full gap-5 md:grid-cols-2",- children: [/* @__PURE__ */ (0, w.jsx)(LO, {+ children: [/* @__PURE__ */ (0, w.jsx)(RO, {title: "网盘与本地",rows: t.by_loc.map((t) => ({name: e[t.k] ?? t.k,value: t.videos,detail: n(t.bytes)}))- }), /* @__PURE__ */ (0, w.jsx)(LO, {+ }), /* @__PURE__ */ (0, w.jsx)(RO, {title: "媒体库",rows: t.by_library.map((e) => ({name: e.name,@@ -33960,7 +33935,7 @@ function YO({ data: t, configurable: r, openMediaSettings: i }) {detail: n(e.bytes)}))})]- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: fp,title: "还没有视频",@@ -33968,40 +33943,40 @@ function YO({ data: t, configurable: r, openMediaSettings: i }) {size: "small",onClick: i,children: "添加媒体文件夹"- }) : null, /* @__PURE__ */ (0, w.jsx)(jS, {+ }) : null, /* @__PURE__ */ (0, w.jsx)(NS, {href: "/follow-manage?tab=add",size: "small",children: "添加关注"})] }),- children: BO+ children: VO});}-function XO({ attribution: e }) {+function ZO({ attribution: e }) {let t = e.videos;return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col",children: [- /* @__PURE__ */ (0, w.jsx)(KO, {+ /* @__PURE__ */ (0, w.jsx)(qO, {term: "有创作者",value: e.creator,total: t}),- /* @__PURE__ */ (0, w.jsx)(KO, {+ /* @__PURE__ */ (0, w.jsx)(qO, {term: "有番号",value: e.code,total: t}),- /* @__PURE__ */ (0, w.jsx)(KO, {+ /* @__PURE__ */ (0, w.jsx)(qO, {term: "有厂牌",value: e.studio,total: t}),- /* @__PURE__ */ (0, w.jsx)(KO, {+ /* @__PURE__ */ (0, w.jsx)(qO, {term: "已抽帧",value: e.thumb,total: t}),- /* @__PURE__ */ (0, w.jsx)(KO, {+ /* @__PURE__ */ (0, w.jsx)(qO, {term: "已探测时长",value: e.duration,total: t@@ -34009,7 +33984,7 @@ function XO({ attribution: e }) {]});}-function ZO({ volume: e }) {+function QO({ volume: e }) {let t = e.total, r = e.used ?? 0;return /* @__PURE__ */ (0, w.jsxs)("article", {className: "flex min-w-0 flex-col gap-1.5",@@ -34021,14 +33996,14 @@ function ZO({ volume: e }) {children: e.label}), /* @__PURE__ */ (0, w.jsx)("b", {className: "text-body-2-medium whitespace-nowrap text-text-primary",- children: t == null ? e.online ? "容量未取得" : "离线" : `${EO(r, t)}%`+ children: t == null ? e.online ? "容量未取得" : "离线" : `${DO(r, t)}%`})]}),/* @__PURE__ */ (0, w.jsx)("small", {className: "text-caption-1-regular break-words text-text-secondary",children: e.root ?? "未映射"}),- t == null ? null : /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(fh, {+ t == null ? null : /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(dh, {label: `${e.label}空间使用率`,value: r,max: Math.max(t, 1)@@ -34045,11 +34020,11 @@ function ZO({ volume: e }) {]});}-function QO({ volumes: e, configurable: t, openMediaSettings: n }) {+function $O({ volumes: e, configurable: t, openMediaSettings: n }) {return e.length ? /* @__PURE__ */ (0, w.jsx)("div", {className: "flex flex-col gap-5",- children: e.map((e) => /* @__PURE__ */ (0, w.jsx)(ZO, { volume: e }, `${e.kind}:${e.label}`))- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ children: e.map((e) => /* @__PURE__ */ (0, w.jsx)(QO, { volume: e }, `${e.kind}:${e.label}`))+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: Yf,title: "还没有存储来源",@@ -34058,12 +34033,12 @@ function QO({ volumes: e, configurable: t, openMediaSettings: n }) {onClick: n,children: "添加媒体文件夹"}) : void 0,- children: WO+ children: GO});}-function $O({ tags: e, tagLabel: t, onTag: n }) {- return e.length ? /* @__PURE__ */ (0, w.jsx)(NO, {- previewCount: RO,+function ek({ tags: e, tagLabel: t, onTag: n }) {+ return e.length ? /* @__PURE__ */ (0, w.jsx)(PO, {+ previewCount: zO,className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",children: e.map((e, r) => /* @__PURE__ */ (0, w.jsx)("li", {className: "min-w-0",@@ -34087,23 +34062,23 @@ function $O({ tags: e, tagLabel: t, onTag: n }) {]})}, e.k))- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: rp,title: "还没有内容标签",- actions: /* @__PURE__ */ (0, w.jsx)(jS, {+ actions: /* @__PURE__ */ (0, w.jsx)(NS, {href: "/data-cleanup",size: "small",children: "补全资料"}),- children: VO+ children: HO});}-function ek({ rows: e }) {+function tk({ rows: e }) {return e.length ? /* @__PURE__ */ (0, w.jsx)("div", {className: "flex flex-col gap-5",children: e.map((e) => {- let t = OO(e);+ let t = kO(e);return /* @__PURE__ */ (0, w.jsxs)("article", {className: "flex flex-wrap items-center gap-x-6 gap-y-2",children: [/* @__PURE__ */ (0, w.jsxs)("div", {@@ -34111,40 +34086,40 @@ function ek({ rows: e }) {children: [/* @__PURE__ */ (0, w.jsx)("h3", {className: "min-w-0 text-body-2-medium text-text-primary",children: /* @__PURE__ */ (0, w.jsx)("a", {- href: jO(e),+ href: MO(e),"data-middle-truncate": !0,className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",children: e.name})}), /* @__PURE__ */ (0, w.jsxs)("p", {className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, w.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, w.jsx)("span", { children: AO(e) })]+ children: [/* @__PURE__ */ (0, w.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, w.jsx)("span", { children: jO(e) })]})]}), /* @__PURE__ */ (0, w.jsxs)("div", {className: "min-w-0 basis-40",- children: [/* @__PURE__ */ (0, w.jsx)(fh, {+ children: [/* @__PURE__ */ (0, w.jsx)(dh, {label: `真实观看 ${t.toFixed(0)}%`,value: t}), /* @__PURE__ */ (0, w.jsx)("small", {className: "mt-1.5 block text-caption-1-regular text-text-secondary",- children: `真实 ${t.toFixed(0)}% · 到达 ${kO(e).toFixed(0)}%`+ children: `真实 ${t.toFixed(0)}% · 到达 ${AO(e).toFixed(0)}%`})]})]}, `${e.kind}:${e.id}`);})- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: Xf,title: "还没有观看记录",- actions: /* @__PURE__ */ (0, w.jsx)(jS, {+ actions: /* @__PURE__ */ (0, w.jsx)(NS, {href: "/",size: "small",children: "浏览馆藏"}),- children: HO+ children: UO});}-function tk({ sources: e, videos: t }) {+function nk({ sources: e, videos: t }) {return e.length ? /* @__PURE__ */ (0, w.jsx)("div", {className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",children: e.map((e) => /* @__PURE__ */ (0, w.jsxs)("article", {@@ -34163,7 +34138,7 @@ function tk({ sources: e, videos: t }) {})]})]}),- /* @__PURE__ */ (0, w.jsx)(fh, {+ /* @__PURE__ */ (0, w.jsx)(dh, {label: `${e.k} 覆盖视频`,value: e.assets,max: Math.max(t, 1)@@ -34174,26 +34149,26 @@ function tk({ sources: e, videos: t }) {})]}, e.k))- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: rp,title: "还没有标签来源",- actions: /* @__PURE__ */ (0, w.jsx)(jS, {+ actions: /* @__PURE__ */ (0, w.jsx)(NS, {href: "/data-cleanup",size: "small",children: "补全资料"}),- children: UO+ children: WO});}-function nk({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {+function rk({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {return /* @__PURE__ */ (0, w.jsx)(Ly, {id: e,- className: gS({+ className: mS({interactive: !0,selectable: !0}),- children: /* @__PURE__ */ (0, w.jsx)(vS, {+ children: /* @__PURE__ */ (0, w.jsx)(gS, {label: t,icon: i,accent: a,@@ -34202,18 +34177,18 @@ function nk({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {})});}-function rk(e) {- let t = dt({- queryKey: CO,- queryFn: ({ signal: e }) => wO(e)+function ik(e) {+ let t = pt({+ queryKey: wO,+ queryFn: ({ signal: e }) => TO(e)}), r = t.data;- if (!r) return /* @__PURE__ */ (0, w.jsx)(dh, { children: /* @__PURE__ */ (0, w.jsx)(q, {+ if (!r) return /* @__PURE__ */ (0, w.jsx)(uh, { children: /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: "读取失败",- children: t.error ? G(t.error) : "读取统计失败"+ children: t.error ? K(t.error) : "读取统计失败"}) });- let i = r.consumption, a = r.storage_summary, o = r.by_loc.reduce((e, t) => e + t.videos, 0), s = r.by_loc.reduce((e, t) => e + t.bytes, 0), c = EO(r.tag_cov, r.attribution.videos);- return /* @__PURE__ */ (0, w.jsxs)(dh, { children: [+ let i = r.consumption, a = r.storage_summary, o = r.by_loc.reduce((e, t) => e + t.videos, 0), s = r.by_loc.reduce((e, t) => e + t.bytes, 0), c = DO(r.tag_cov, r.attribution.videos);+ return /* @__PURE__ */ (0, w.jsxs)(uh, { children: [/* @__PURE__ */ (0, w.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${n(s)}`@@ -34223,9 +34198,9 @@ function rk(e) {children: [/* @__PURE__ */ (0, w.jsxs)(Fy, {"aria-label": "统计视图",- className: _S,+ className: hS,children: [- /* @__PURE__ */ (0, w.jsx)(nk, {+ /* @__PURE__ */ (0, w.jsx)(rk, {id: "inventory",label: "馆藏视频",icon: Hf,@@ -34233,15 +34208,15 @@ function rk(e) {figure: o.toLocaleString(),detail: n(s)}),- /* @__PURE__ */ (0, w.jsx)(nk, {+ /* @__PURE__ */ (0, w.jsx)(rk, {id: "viewing",label: "看过",icon: Kf,accent: 1,figure: i.played.toLocaleString(),- detail: DO(i.play_seconds)+ detail: OO(i.play_seconds)}),- /* @__PURE__ */ (0, w.jsx)(nk, {+ /* @__PURE__ */ (0, w.jsx)(rk, {id: "coverage",label: "内容标签",icon: rp,@@ -34249,7 +34224,7 @@ function rk(e) {figure: `${c}%`,detail: `${r.tag_cov.toLocaleString()} / ${r.attribution.videos.toLocaleString()}`}),- /* @__PURE__ */ (0, w.jsx)(nk, {+ /* @__PURE__ */ (0, w.jsx)(rk, {id: "storage",label: "使用空间",icon: Yf,@@ -34261,15 +34236,15 @@ function rk(e) {}),/* @__PURE__ */ (0, w.jsx)(Ry, {id: "inventory",- children: /* @__PURE__ */ (0, w.jsx)(YO, {+ children: /* @__PURE__ */ (0, w.jsx)(XO, {data: r,...e})}),/* @__PURE__ */ (0, w.jsx)(Ry, {id: "viewing",- children: /* @__PURE__ */ (0, w.jsx)(JO, {- headline: /* @__PURE__ */ (0, w.jsx)(qO, {+ children: /* @__PURE__ */ (0, w.jsx)(YO, {+ headline: /* @__PURE__ */ (0, w.jsx)(JO, {term: "观看",figure: i.played.toLocaleString(),unit: "个作品有播放记录"@@ -34277,31 +34252,31 @@ function rk(e) {children: /* @__PURE__ */ (0, w.jsxs)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: [- /* @__PURE__ */ (0, w.jsx)(GO, {+ /* @__PURE__ */ (0, w.jsx)(KO, {term: "馆藏观看",value: i.library_played}),- /* @__PURE__ */ (0, w.jsx)(GO, {+ /* @__PURE__ */ (0, w.jsx)(KO, {term: "在线直接观看",value: i.online_played}),- /* @__PURE__ */ (0, w.jsx)(GO, {+ /* @__PURE__ */ (0, w.jsx)(KO, {term: "高潮计数",value: i.o_total}),- /* @__PURE__ */ (0, w.jsx)(GO, {+ /* @__PURE__ */ (0, w.jsx)(KO, {term: "快进扫过",value: i.skimmed}),- /* @__PURE__ */ (0, w.jsx)(GO, {+ /* @__PURE__ */ (0, w.jsx)(KO, {term: "明确不喜欢",value: i.dislike}),- /* @__PURE__ */ (0, w.jsx)(GO, {+ /* @__PURE__ */ (0, w.jsx)(KO, {term: "看过了",value: i.seen}),- /* @__PURE__ */ (0, w.jsx)(GO, {+ /* @__PURE__ */ (0, w.jsx)(KO, {term: "回收站",value: i.trash})@@ -34311,24 +34286,24 @@ function rk(e) {}),/* @__PURE__ */ (0, w.jsx)(Ry, {id: "coverage",- children: /* @__PURE__ */ (0, w.jsx)(JO, {- headline: /* @__PURE__ */ (0, w.jsx)(qO, {+ children: /* @__PURE__ */ (0, w.jsx)(YO, {+ headline: /* @__PURE__ */ (0, w.jsx)(JO, {term: "内容标签覆盖",figure: `${c}%`,unit: `${r.tag_cov.toLocaleString()} / ${r.attribution.videos.toLocaleString()}`}),- children: /* @__PURE__ */ (0, w.jsx)(XO, { attribution: r.attribution })+ children: /* @__PURE__ */ (0, w.jsx)(ZO, { attribution: r.attribution })})}),/* @__PURE__ */ (0, w.jsx)(Ry, {id: "storage",- children: /* @__PURE__ */ (0, w.jsx)(JO, {- headline: /* @__PURE__ */ (0, w.jsx)(qO, {+ children: /* @__PURE__ */ (0, w.jsx)(YO, {+ headline: /* @__PURE__ */ (0, w.jsx)(JO, {term: "使用空间",figure: String(a.measured),unit: "个卷已取得容量"}),- children: /* @__PURE__ */ (0, w.jsx)(QO, {+ children: /* @__PURE__ */ (0, w.jsx)($O, {volumes: r.storage_volumes,...e})@@ -34337,27 +34312,27 @@ function rk(e) {]}),/* @__PURE__ */ (0, w.jsxs)(Ny, {- className: `${sh({ padding: "none" })} flex flex-col`,+ className: `${oh({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, w.jsx)("div", {className: "px-4 pt-3",children: /* @__PURE__ */ (0, w.jsxs)(Fy, {"aria-label": "统计维度",- className: fS,+ className: uS,children: [/* @__PURE__ */ (0, w.jsx)(Ly, {id: "tags",- className: pS,+ className: dS,children: "内容标签"}),/* @__PURE__ */ (0, w.jsx)(Ly, {id: "recent",- className: pS,+ className: dS,children: "最近看过"}),/* @__PURE__ */ (0, w.jsx)(Ly, {id: "sources",- className: pS,+ className: dS,children: "标签来源"})]@@ -34366,7 +34341,7 @@ function rk(e) {/* @__PURE__ */ (0, w.jsx)(Ry, {id: "tags",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, w.jsx)($O, {+ children: /* @__PURE__ */ (0, w.jsx)(ek, {tags: r.top_tags,...e})@@ -34374,12 +34349,12 @@ function rk(e) {/* @__PURE__ */ (0, w.jsx)(Ry, {id: "recent",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, w.jsx)(ek, { rows: r.recent })+ children: /* @__PURE__ */ (0, w.jsx)(tk, { rows: r.recent })}),/* @__PURE__ */ (0, w.jsx)(Ry, {id: "sources",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, w.jsx)(tk, {+ children: /* @__PURE__ */ (0, w.jsx)(nk, {sources: r.tag_source,videos: r.attribution.videos})@@ -34390,7 +34365,7 @@ function rk(e) {}//#endregion//#region node_modules/d3-array/src/max.js-function ik(e, t) {+function ak(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 {@@ -34401,7 +34376,7 @@ function ik(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function ak(e, t) {+function ok(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 {@@ -34412,7 +34387,7 @@ function ak(e, t) {}//#endregion//#region node_modules/d3-array/src/sum.js-function ok(e, t) {+function sk(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -34423,66 +34398,66 @@ function ok(e, t) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function sk(e, t) {+function ck(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion//#region node_modules/d3-sankey/src/constant.js-function ck(e) {+function lk(e) {return function() {return e;};}//#endregion//#region node_modules/d3-sankey/src/sankey.js-function lk(e, t) {- return dk(e.source, t.source) || e.index - t.index;-}function uk(e, t) {- return dk(e.target, t.target) || e.index - t.index;+ return fk(e.source, t.source) || e.index - t.index;}function dk(e, t) {+ return fk(e.target, t.target) || e.index - t.index;+}+function fk(e, t) {return e.y0 - t.y0;}-function fk(e) {+function pk(e) {return e.value;}-function pk(e) {+function mk(e) {return e.index;}-function mk(e) {+function hk(e) {return e.nodes;}-function hk(e) {+function gk(e) {return e.links;}-function gk(e, t) {+function _k(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function _k({ nodes: e }) {+function vk({ 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 vk() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = pk, c = sk, l, u, d = mk, f = hk, p = 6;+function yk() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = mk, c = ck, l, u, d = hk, f = gk, 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), _k(e), e;+ return h(e), g(e), _(e), v(e), x(e), vk(e), e;}m.update = function(e) {- return _k(e), e;+ return vk(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : ck(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : lk(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : ck(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : lk(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -34490,9 +34465,9 @@ function vk() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : ck(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : lk(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : ck(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : lk(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -34508,12 +34483,12 @@ function vk() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = gk(n, t)), typeof i != "object" && (i = r.target = gk(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = _k(n, t)), typeof i != "object" && (i = r.target = _k(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(ok(t.sourceLinks, fk), ok(t.targetLinks, fk)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(sk(t.sourceLinks, pk), sk(t.targetLinks, pk)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -34538,7 +34513,7 @@ function vk() {}}function y({ nodes: t }) {- let r = ik(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = ak(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];@@ -34547,7 +34522,7 @@ function vk() {return o;}function b(e) {- let n = ak(e, (e) => (r - t - (e.length - 1) * o) / ok(e, fk));+ let n = ok(e, (e) => (r - t - (e.length - 1) * o) / sk(e, pk));for (let i of e) {let e = t;for (let t of i) {@@ -34564,7 +34539,7 @@ function vk() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (ik(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (ak(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);@@ -34583,7 +34558,7 @@ function vk() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(dk), w(i, n);+ l === void 0 && i.sort(fk), w(i, n);}}function C(e, t, n) {@@ -34599,7 +34574,7 @@ function vk() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(dk), w(i, n);+ l === void 0 && i.sort(fk), w(i, n);}}function w(e, n) {@@ -34620,12 +34595,12 @@ function vk() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(uk);- for (let { target: { targetLinks: t } } of e) t.sort(lk);+ for (let { source: { sourceLinks: e } } of t) e.sort(dk);+ for (let { target: { targetLinks: t } } of e) t.sort(uk);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(uk), n.sort(lk);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(dk), n.sort(uk);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -34655,15 +34630,15 @@ function vk() {}//#endregion//#region node_modules/d3-path/src/path.js-var yk = Math.PI, bk = 2 * yk, xk = 1e-6, Sk = bk - xk;-function Ck() {+var bk = Math.PI, xk = 2 * bk, Sk = 1e-6, Ck = xk - Sk;+function wk() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function wk() {- return new Ck();+function Tk() {+ return new wk();}-Ck.prototype = wk.prototype = {- constructor: Ck,+wk.prototype = Tk.prototype = {+ constructor: wk,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -34684,11 +34659,11 @@ Ck.prototype = wk.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > xk) {- if (!(Math.abs(u * s - c * l) > xk) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > Sk) {+ if (!(Math.abs(u * s - c * l) > Sk) || !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((yk - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > xk && (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);+ 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((bk - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > Sk && (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);}}},@@ -34696,7 +34671,7 @@ Ck.prototype = wk.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) > xk || Math.abs(this._y1 - l) > xk) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % bk + bk), d > Sk ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > xk && (this._ += "A" + n + "," + n + ",0," + +(d >= yk) + "," + 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) > Sk || Math.abs(this._y1 - l) > Sk) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % xk + xk), d > Ck ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > Sk && (this._ += "A" + n + "," + n + ",0," + +(d >= bk) + "," + 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";@@ -34707,90 +34682,90 @@ Ck.prototype = wk.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function Tk(e) {+function Ek(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function Ek(e) {+function Dk(e) {return e[0];}-function Dk(e) {+function Ok(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var Ok = Array.prototype.slice;+var kk = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function kk(e) {+function Ak(e) {return e.source;}-function Ak(e) {+function jk(e) {return e.target;}-function jk(e) {- var t = kk, n = Ak, r = Ek, i = Dk, a = null;+function Mk(e) {+ var t = Ak, n = jk, r = Dk, i = Ok, a = null;function o() {- var o, s = Ok.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = wk(), 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 = kk.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = Tk(), 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 : Tk(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : Ek(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : Tk(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : Ek(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function Mk(e, t, n, r, i) {+function Nk(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function Nk() {- return jk(Mk);+function Pk() {+ return Mk(Nk);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function Pk(e) {+function Fk(e) {return [e.source.x1, e.y0];}-function Fk(e) {+function Ik(e) {return [e.target.x0, e.y1];}-function Ik() {- return Nk().source(Pk).target(Fk);+function Lk() {+ return Pk().source(Fk).target(Ik);}//#endregion//#region src/react/taste/taste.ts-var Lk = "/api/taste", Rk = "/api/taste/refresh", zk = "/api/taste/import", Bk = "/api/taste/source", Vk = (e) => ["taste", e], Hk = ["taste", "refresh"], Uk = [+var Rk = "/api/taste", zk = "/api/taste/refresh", Bk = "/api/taste/import", Vk = "/api/taste/source", Hk = (e) => ["taste", e], Uk = ["taste", "refresh"], Wk = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], Wk = (e, t) => $m(`${Lk}?window=${e}`, t), Gk = (e) => $m(Rk, e);-async function Kk(e, t) {- await J.fetchQuery({- queryKey: Vk(e),- queryFn: () => Wk(e, t)+], Gk = (e, t) => Qm(`${Rk}?window=${e}`, t), Kk = (e) => Qm(zk, e);+async function qk(e, t) {+ await fh.fetchQuery({+ queryKey: Hk(e),+ queryFn: () => Gk(e, t)});}-var qk = (e) => K(Rk, {+var Jk = (e) => q(zk, {window: e,background: !0-}), Jk = (e, t) => K(Bk, {+}), Yk = (e, t) => q(Vk, {operation: "remove",source_key: e,window: t});-async function Yk(e) {- let t = await fetch(zk, {+async function Xk(e) {+ let t = await fetch(Bk, {method: "POST",credentials: "same-origin",headers: {@@ -34804,38 +34779,38 @@ async function Yk(e) {} catch {}if (!t.ok) {let e = n?.error;- throw new Zm(e || `导入失败(${t.status})`, t.status, n);+ throw new Xm(e || `导入失败(${t.status})`, t.status, n);}return n;}-var Xk = 2e3, Zk = 1e4, Qk = (e) => e?.status === "running" ? Xk : Zk, $k = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", eA = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, tA = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function nA(e) {+var Zk = 1e4, Qk = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", $k = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, eA = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function tA(e) {if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();let t = [];return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");}-function rA(e) {- let t = e.map(tA), n = Math.max(1, ...t);+function nA(e) {+ let t = e.map(eA), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var iA = {+var rA = {x: 160,y: 140-}, aA = [+}, iA = [25,50,75,100-], oA = (e, t, n) => {+], aA = (e, t, n) => {let r = e / t * Math.PI * 2 - Math.PI / 2;- return [iA.x + Math.cos(r) * n, iA.y + Math.sin(r) * n];+ return [rA.x + Math.cos(r) * n, rA.y + Math.sin(r) * n];};-function sA(e) {+function oA(e) {let t = e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).slice().sort((e, t) => Number(t.score) - Number(e.score)).slice(0, 6);if (t.length < 3) return [];let n = Math.max(...t.map((e) => Number(e.score)));return t.map((e, r) => {- let [i, a] = oA(r, t.length, Number(e.score) / n * 100), [o, s] = oA(r, t.length, 116);+ let [i, a] = aA(r, t.length, Number(e.score) / n * 100), [o, s] = aA(r, t.length, 116);return {name: e.name,x: i,@@ -34845,7 +34820,7 @@ function sA(e) {};});}-var cA = (e, t) => Array.from({ length: t }, (n, r) => oA(r, t, e).map((e) => e.toFixed(2)).join(",")).join(" "), lA = (e) => e.map((e) => `${e.x.toFixed(2)},${e.y.toFixed(2)}`).join(" "), uA = [+var sA = (e, t) => Array.from({ length: t }, (n, r) => aA(r, t, e).map((e) => e.toFixed(2)).join(",")).join(" "), cA = (e) => e.map((e) => `${e.x.toFixed(2)},${e.y.toFixed(2)}`).join(" "), lA = ["周一","周二","周三",@@ -34853,8 +34828,8 @@ var cA = (e, t) => Array.from({ length: t }, (n, r) => oA(r, t, e).map((e) => e."周五","周六","周日"-], dA = (e, t) => e ? Math.max(.12, e / t) : 0;-function fA(e) {+], uA = (e, t) => e ? Math.max(.12, e / t) : 0;+function dA(e) {let t = Array.from({ length: 7 }, () => Array(24).fill(0));for (let n of e?.hours || []) {let { weekday: e, hour: r, count: i } = n;@@ -34864,14 +34839,14 @@ function fA(e) {return {cells: t.flatMap((e, t) => e.map((e, n) => ({key: `${t}-${n}`,- label: `${uA[t]} ${n}:00`,+ label: `${lA[t]} ${n}:00`,count: e,- share: dA(e, r)+ share: uA(e, r)}))),total: n.reduce((e, t) => e + t, 0)};}-function pA(e) {+function fA(e) {let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {cells: [],total: 0,@@ -34889,7 +34864,7 @@ function pA(e) {key: r,label: r,count: s,- share: dA(s, o)+ share: uA(s, o)};});return {@@ -34899,17 +34874,17 @@ function pA(e) {end: t.at(-1).date};}-var mA = {+var pA = {width: 720,height: 435-}, hA = {+}, mA = {source: 145,target: 545};-function gA(e = []) {+function hA(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = vk().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 = yk().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({nodes: [...n.map((e) => ({id: `source:${e}`,name: e,@@ -34924,7 +34899,7 @@ function gA(e = []) {target: `target:${e.target}`,value: e.value}))- }), a = t.reduce((e, t) => e + t.value, 0), o = Ik();+ }), a = t.reduce((e, t) => e + t.value, 0), o = Lk();return {nodes: i.nodes.map((e) => ({id: e.id,@@ -34954,22 +34929,22 @@ function gA(e = []) {total: a};}-var _A = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, vA = [+var gA = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, _A = ["stroke-chart-1","stroke-chart-2","stroke-chart-3","stroke-chart-4","stroke-chart-5","stroke-chart-6"-], yA = [+], vA = ["fill-chart-1","fill-chart-2","fill-chart-3","fill-chart-4","fill-chart-5","fill-chart-6"-], bA = `${sh({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;-function xA({ title: e, figure: t, note: n }) {+], yA = `${oh({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;+function bA({ title: e, figure: t, note: n }) {return /* @__PURE__ */ (0, w.jsxs)("header", {className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",children: [/* @__PURE__ */ (0, w.jsxs)("span", {@@ -34987,8 +34962,8 @@ function xA({ title: e, figure: t, note: n }) {})]});}-function SA({ rows: e, label: t }) {- let n = sA(e);+function xA({ rows: e, label: t }) {+ let n = oA(e);if (!n.length) return null;let r = n.length;return /* @__PURE__ */ (0, w.jsxs)("svg", {@@ -34998,14 +34973,14 @@ function SA({ rows: e, label: t }) {className: "block w-full overflow-visible",children: [/* @__PURE__ */ (0, w.jsx)("title", { children: n.map((e) => e.name).join(",") }),- aA.map((e) => /* @__PURE__ */ (0, w.jsx)("polygon", {- points: cA(e, r),+ iA.map((e) => /* @__PURE__ */ (0, w.jsx)("polygon", {+ points: sA(e, r),fill: "none",className: "stroke-separator-border",strokeWidth: 1}, e)),/* @__PURE__ */ (0, w.jsx)("polygon", {- points: lA(n),+ points: cA(n),strokeWidth: 2,strokeLinejoin: "round",fillOpacity: .18,@@ -35022,10 +34997,10 @@ function SA({ rows: e, label: t }) {]});}-function CA({ rows: e, label: t }) {+function SA({ rows: e, label: t }) {let n = e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).slice().sort((e, t) => Number(t.score) - Number(e.score)).slice(0, 8);if (!n.length) return null;- let r = rA(n);+ let r = nA(n);return /* @__PURE__ */ (0, w.jsx)("ol", {"aria-label": t,className: "flex flex-col gap-2",@@ -35058,12 +35033,12 @@ function CA({ rows: e, label: t }) {}, e.name))});}-function wA({ title: e, unit: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s }) {+function CA({ title: e, unit: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s }) {let [c, l] = (0, C.useState)(null), u = o ? 30 : 0, d = o ? 18 : 0;return /* @__PURE__ */ (0, w.jsxs)("section", {- className: bA,+ className: yA,children: [- /* @__PURE__ */ (0, w.jsx)(xA, {+ /* @__PURE__ */ (0, w.jsx)(bA, {title: e,figure: (c ? c.count : r).toLocaleString(),note: c ? c.label : t@@ -35103,11 +35078,11 @@ function wA({ title: e, unit: t, cells: n, total: r, columns: i, rows: a, axis:]});}-var TA = "口味网站访问";-function EA({ activity: e }) {- let t = fA(e), n = pA(e);+var wA = "口味网站访问";+function TA({ activity: e }) {+ let t = dA(e), n = fA(e);if (!n.cells.length) return /* @__PURE__ */ (0, w.jsxs)("section", {- className: bA,+ className: yA,children: [/* @__PURE__ */ (0, w.jsx)("h3", {className: "text-title-2-medium text-text-primary",children: "浏览活跃时间"@@ -35116,7 +35091,7 @@ function EA({ activity: e }) {children: "还没有可用于分析的口味网站访问记录。"})]});- let r = /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [uA.map((e, t) => /* @__PURE__ */ (0, w.jsx)("text", {+ let r = /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [lA.map((e, t) => /* @__PURE__ */ (0, w.jsx)("text", {x: 0,y: 18 + t * 17 + 7,dominantBaseline: "middle",@@ -35131,18 +35106,18 @@ function EA({ activity: e }) {}, t))] });return /* @__PURE__ */ (0, w.jsxs)("div", {className: "inline-grid w-full gap-5 lg:grid-cols-2",- children: [/* @__PURE__ */ (0, w.jsx)(wA, {+ children: [/* @__PURE__ */ (0, w.jsx)(CA, {title: "浏览活跃时间",- unit: TA,+ unit: wA,cells: t.cells,total: t.total,columns: 24,rows: 7,axis: r,footer: /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, w.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })- }), /* @__PURE__ */ (0, w.jsx)(wA, {+ }), /* @__PURE__ */ (0, w.jsx)(CA, {title: "每日活跃",- unit: TA,+ unit: wA,cells: n.cells,total: n.total,columns: 13,@@ -35151,14 +35126,14 @@ function EA({ activity: e }) {})]});}-function DA({ flows: e }) {- let [t, n] = (0, C.useState)(null), r = gA(e);+function EA({ flows: e }) {+ let [t, n] = (0, C.useState)(null), r = hA(e);if (!r) return null;let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;return /* @__PURE__ */ (0, w.jsxs)("section", {- className: bA,+ className: yA,children: [- /* @__PURE__ */ (0, w.jsx)(xA, {+ /* @__PURE__ */ (0, w.jsx)(bA, {title: "创作者线索来源",figure: (t ? t.value : r.total).toLocaleString(),note: t ? t.label : "条线索"@@ -35166,7 +35141,7 @@ function DA({ flows: e }) {/* @__PURE__ */ (0, w.jsx)("div", {className: "min-w-0 overflow-x-auto",children: /* @__PURE__ */ (0, w.jsxs)("svg", {- viewBox: `0 0 ${mA.width} ${mA.height}`,+ viewBox: `0 0 ${pA.width} ${pA.height}`,fill: "none",role: "img","aria-label": "来源网站与创作者线索",@@ -35180,7 +35155,7 @@ function DA({ flows: e }) {"aria-label": `${e.label}:${e.value} 条线索`,fillOpacity: 0,strokeOpacity: a(e, e.label) ? .55 : .08,- className: `outline-none transition-opacity ${vA[e.color]}`,+ className: `outline-none transition-opacity ${_A[e.color]}`,onPointerEnter: () => n({value: e.value,label: e.label,@@ -35214,15 +35189,15 @@ function DA({ flows: e }) {width: 10,height: e.height,rx: 5,- className: e.side === "source" ? yA[e.color] : "fill-text-secondary"+ className: e.side === "source" ? vA[e.color] : "fill-text-secondary"}), /* @__PURE__ */ (0, w.jsxs)("text", {- x: hA[e.side],+ x: mA[e.side],y: e.y + e.height / 2,textAnchor: e.side === "source" ? "end" : "start",dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",- children: [_A(e.name), /* @__PURE__ */ (0, w.jsx)("tspan", {- x: hA[e.side],+ children: [gA(e.name), /* @__PURE__ */ (0, w.jsx)("tspan", {+ x: mA[e.side],dy: 15,children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`})]@@ -35239,11 +35214,11 @@ function DA({ flows: e }) {}//#endregion//#region src/react/taste/taste-page.tsx-var OA = 10, kA = W(TS, ES, "text-body-2-medium"), AA = `${sh()} flex flex-col gap-4`, jA = "rounded-xl bg-background-primary-default p-3", MA = "读取运行 Peach 的这台电脑上的浏览记录", NA = "导入或读取浏览记录后,这里会列出已采集设备。", PA = "馆藏里暂时没有对得上浏览信号的标签。", FA = "采集浏览记录后,这里会显示聚合后的口味证据。", IA = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", LA = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", RA = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", zA = "需要刷新时再次读取或导入;数据源可在页面底部移除。", BA = "这个数据源将不再用于口味分析。原始导出文件保留。", VA = "peach-taste-guide-dismissed";-function HA({ icon: e, term: t, figure: n, detail: r, accent: i }) {+var DA = 10, OA = G(CS, wS, "text-body-2-medium"), kA = `${oh()} flex flex-col gap-4`, AA = "rounded-xl bg-background-primary-default p-3", jA = "读取运行 Peach 的这台电脑上的浏览记录", MA = "导入或读取浏览记录后,这里会列出已采集设备。", NA = "馆藏里暂时没有对得上浏览信号的标签。", PA = "采集浏览记录后,这里会显示聚合后的口味证据。", FA = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", IA = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", LA = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", RA = "需要刷新时再次读取或导入;数据源可在页面底部移除。", zA = "这个数据源将不再用于口味分析。原始导出文件保留。", BA = "peach-taste-guide-dismissed";+function VA({ icon: e, term: t, figure: n, detail: r, accent: i }) {return /* @__PURE__ */ (0, w.jsx)("div", {- className: gS(),- children: /* @__PURE__ */ (0, w.jsx)(vS, {+ className: mS(),+ children: /* @__PURE__ */ (0, w.jsx)(gS, {label: t,icon: e,accent: i,@@ -35252,7 +35227,7 @@ function HA({ icon: e, term: t, figure: n, detail: r, accent: i }) {})});}-function UA({ name: e, domain: t }) {+function HA({ name: e, domain: t }) {return /* @__PURE__ */ (0, w.jsxs)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",children: [e.slice(0, 1).toUpperCase(), /* @__PURE__ */ (0, w.jsx)("img", {@@ -35266,22 +35241,22 @@ function UA({ name: e, domain: t }) {})]});}-function WA({ html: e }) {+function UA({ html: e }) {return /* @__PURE__ */ (0, w.jsx)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover",dangerouslySetInnerHTML: { __html: e }});}-function GA({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {- if (!e.length) return /* @__PURE__ */ (0, w.jsx)(lh, {+function WA({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {+ if (!e.length) return /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: op,title: "暂无足够证据",children: r});- let o = rA(e);- return /* @__PURE__ */ (0, w.jsx)(NO, {- previewCount: OA,+ let o = nA(e);+ return /* @__PURE__ */ (0, w.jsx)(PO, {+ previewCount: DA,className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",children: e.map((e, r) => {let s = !!t && !!e.peach_items, c = String(e.source_domain || ""), l = /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [@@ -35300,15 +35275,15 @@ function GA({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: aclassName: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: r + 1}),- n === "domain" ? /* @__PURE__ */ (0, w.jsx)(UA, {+ n === "domain" ? /* @__PURE__ */ (0, w.jsx)(HA, {name: e.name,domain: e.name}) : null,- n === "creator" && !e.entity_id && !e.has_avatar && c ? /* @__PURE__ */ (0, w.jsx)(UA, {+ n === "creator" && !e.entity_id && !e.has_avatar && c ? /* @__PURE__ */ (0, w.jsx)(HA, {name: e.name,domain: c}) : null,- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, w.jsx)(WA, { html: a(e.name, e.entity_id ? {+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, w.jsx)(UA, { html: a(e.name, e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,avatar_focus: e.avatar_focus@@ -35320,7 +35295,7 @@ function GA({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: achildren: e.name}), /* @__PURE__ */ (0, w.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: nA(e)+ children: tA(e)})]}),s ? /* @__PURE__ */ (0, w.jsx)(Ff, {@@ -35343,24 +35318,24 @@ function GA({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a})});}-function KA({ label: e, panels: t, onSignal: n, avatarInner: r }) {+function GA({ label: e, panels: t, onSignal: n, avatarInner: r }) {return /* @__PURE__ */ (0, w.jsxs)(Ny, {- className: `${sh({ padding: "none" })} flex flex-col`,+ className: `${oh({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, w.jsx)("div", {className: "px-4 pt-3",children: /* @__PURE__ */ (0, w.jsx)(Fy, {"aria-label": e,- className: fS,+ className: uS,children: t.map((e) => /* @__PURE__ */ (0, w.jsx)(Ly, {id: e.id,- className: pS,+ className: dS,children: e.name}, e.id))})}), t.map((e) => /* @__PURE__ */ (0, w.jsx)(Ry, {id: e.id,className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, w.jsx)(GA, {+ children: /* @__PURE__ */ (0, w.jsx)(WA, {...e.props,onSignal: n,avatarInner: r@@ -35368,7 +35343,7 @@ function KA({ label: e, panels: t, onSignal: n, avatarInner: r }) {}, e.id))]});}-function qA({ data: e, onSignal: t, navigate: n }) {+function KA({ data: e, onSignal: t, navigate: n }) {let r = e.analysis;if (!r?.headline) return null;let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({@@ -35383,7 +35358,7 @@ function qA({ data: e, onSignal: t, navigate: n }) {act: () => n(e.route)}))];return /* @__PURE__ */ (0, w.jsxs)("section", {- className: AA,+ className: kA,"aria-label": "口味总结",children: [/* @__PURE__ */ (0, w.jsxs)("header", {@@ -35409,7 +35384,7 @@ function qA({ data: e, onSignal: t, navigate: n }) {r.points?.length ? /* @__PURE__ */ (0, w.jsx)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: r.points.map((e) => /* @__PURE__ */ (0, w.jsxs)("div", {- className: `flex min-w-0 flex-col gap-1 ${jA}`,+ className: `flex min-w-0 flex-col gap-1 ${AA}`,children: [/* @__PURE__ */ (0, w.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: e.label@@ -35424,7 +35399,7 @@ function qA({ data: e, onSignal: t, navigate: n }) {children: a.map((e) => /* @__PURE__ */ (0, w.jsxs)("button", {type: "button",onClick: e.act,- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${jA} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${AA} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [/* @__PURE__ */ (0, w.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-1",children: [/* @__PURE__ */ (0, w.jsx)("b", {@@ -35439,39 +35414,39 @@ function qA({ data: e, onSignal: t, navigate: n }) {className: "size-4 shrink-0 text-text-tertiary"})]}, e.key))- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: op,title: "还没有可探索的入口",- children: PA+ children: NA})]});}-function JA({ onboarding: e, done: t }) {+function qA({ onboarding: e, done: t }) {let [n, r] = (0, C.useState)(() => {try {- return localStorage.getItem(VA) === "1";+ return localStorage.getItem(BA) === "1";} catch {return !1;}});return t || n ? null : /* @__PURE__ */ (0, w.jsx)("div", {- className: sh({+ className: oh({padding: "none",className: "p-4"}),- children: /* @__PURE__ */ (0, w.jsxs)(HS, {+ children: /* @__PURE__ */ (0, w.jsxs)(WS, {summary: "浏览器历史记录导入指南",defaultOpen: e,children: [/* @__PURE__ */ (0, w.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: LA+ children: IA}),/* @__PURE__ */ (0, w.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: RA+ children: LA}),/* @__PURE__ */ (0, w.jsxs)("ul", {className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",@@ -35501,7 +35476,7 @@ function JA({ onboarding: e, done: t }) {}),/* @__PURE__ */ (0, w.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: zA+ children: RA}),/* @__PURE__ */ (0, w.jsx)("span", {className: "self-start",@@ -35510,7 +35485,7 @@ function JA({ onboarding: e, done: t }) {size: "small",onClick: () => {try {- localStorage.setItem(VA, "1");+ localStorage.setItem(BA, "1");} catch {}r(!0);},@@ -35521,7 +35496,7 @@ function JA({ onboarding: e, done: t }) {})});}-function YA({ busy: e, onRefresh: t, onImport: n }) {+function JA({ busy: e, onRefresh: t, onImport: n }) {let r = (0, C.useRef)(null), [i, a] = (0, C.useState)(!1), o = (e) => {a(!1), e();};@@ -35531,7 +35506,7 @@ function YA({ busy: e, onRefresh: t, onImport: n }) {"data-variant": "primary",children: [/* @__PURE__ */ (0, w.jsx)(X, {leadingIcon: Vf,- title: MA,+ title: jA,onClick: t,...Z(e),children: "读取浏览器历史"@@ -35550,13 +35525,13 @@ function YA({ busy: e, onRefresh: t, onImport: n }) {onOpenChange: a,placement: "bottom end",offset: 4,- className: SS,+ className: bS,children: /* @__PURE__ */ (0, w.jsxs)($_, {"aria-label": "更多取得浏览记录的方式",className: "flex w-52 flex-col gap-1 outline-none",children: [/* @__PURE__ */ (0, w.jsxs)("button", {type: "button",- className: kA,+ className: OA,onClick: () => o(t),children: [/* @__PURE__ */ (0, w.jsx)(Vf, {"aria-hidden": !0,@@ -35564,7 +35539,7 @@ function YA({ busy: e, onRefresh: t, onImport: n }) {}), "读取浏览器历史"]}), /* @__PURE__ */ (0, w.jsxs)("button", {type: "button",- className: kA,+ className: OA,onClick: () => o(n),children: [/* @__PURE__ */ (0, w.jsx)(up, {"aria-hidden": !0,@@ -35574,29 +35549,29 @@ function YA({ busy: e, onRefresh: t, onImport: n }) {})})] });}-function XA({ sources: e, window: t, toast: n }) {- let r = ft({- mutationFn: (e) => Jk(e, t),+function YA({ sources: e, window: t, toast: n }) {+ let r = mt({+ mutationFn: (e) => Yk(e, t),onSuccess: (e) => {- J.setQueryData(Vk(t), e.dashboard), n("已移除口味数据源");+ fh.setQueryData(Hk(t), e.dashboard), n("已移除口味数据源");}});return /* @__PURE__ */ (0, w.jsxs)("section", {- className: AA,+ className: kA,"aria-label": "数据源",children: [/* @__PURE__ */ (0, w.jsx)("h3", {className: "text-title-2-medium text-text-primary",children: "数据源"}),- r.error ? /* @__PURE__ */ (0, w.jsx)(q, {+ r.error ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",- children: G(r.error)+ children: K(r.error)}) : null,e.length ? /* @__PURE__ */ (0, w.jsx)("div", {className: "inline-grid w-full gap-2 sm:grid-cols-2",children: e.map((e) => /* @__PURE__ */ (0, w.jsxs)("div", {- className: `flex min-w-0 items-center gap-3 ${jA}`,+ className: `flex min-w-0 items-center gap-3 ${AA}`,children: [/* @__PURE__ */ (0, w.jsx)("span", {className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",@@ -35628,7 +35603,7 @@ function XA({ sources: e, window: t, toast: n }) {onClick: () => {r.isPending || c({title: "移除口味数据源",- body: BA,+ body: zA,confirmLabel: "移除口味数据源",onConfirm: () => r.mutateAsync(e.source_key)});@@ -35636,62 +35611,46 @@ function XA({ sources: e, window: t, toast: n }) {})]}, e.source_key))- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: Hf,title: "还没有数据源",- children: NA+ children: MA})]});}-function ZA(e) {- let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, C.useState)("all"), [l, u] = (0, C.useState)("browser"), [d, f] = (0, C.useState)(!1), [p, m] = (0, C.useState)(null), h = (0, C.useRef)(null), g = dt({- queryKey: Vk(s),- queryFn: ({ signal: e }) => Wk(s, e),- placeholderData: I- }), _ = dt({- queryKey: Hk,- queryFn: ({ signal: e }) => Gk(e),- refetchInterval: (e) => Qk(e.state.data)- }), v = ft({- mutationFn: () => qk(s),+function XA(e) {+ let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, C.useState)("all"), [l, u] = (0, C.useState)("browser"), d = (0, C.useRef)(null), f = pt({+ queryKey: Hk(s),+ queryFn: ({ signal: e }) => Gk(s, e),+ placeholderData: he+ }), { job: p, running: m, outcome: h, start: g } = OS({+ queryKey: Uk,+ queryFn: ({ signal: e }) => Kk(e),+ start: () => Jk(s),+ idlePollMs: Zk,+ onFinish: (e) => {+ e.status !== "failed" && (fh.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析"));+ }+ }), _ = mt({+ mutationFn: (e) => Xk(e),onSuccess: (e) => {- f(!0), m(null), J.setQueryData(Hk, e), J.invalidateQueries({ queryKey: Hk });+ fh.setQueryData(Hk("all"), e.dashboard), c("all"), i("已导入口味数据");}- }), y = ft({- mutationFn: (e) => Yk(e),- onSuccess: (e) => {- J.setQueryData(Vk("all"), e.dashboard), c("all"), i("已导入口味数据");- }- }), b = _.data?.status === "running";- (0, C.useEffect)(() => {- let e = _.data;- if (e) {- if (e.status === "running") {- d || f(!0);- return;- }- d && (f(!1), m(e), e.status !== "failed" && (J.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析")));- }- }, [- _.data,- d,- i- ]);- let x = (e) => {+ }), v = (e) => {let t = e.currentTarget.files?.[0];- e.currentTarget.value = "", !(!t || y.isPending) && (y.reset(), y.mutate(t));- }, S = () => {- b || v.isPending || (v.reset(), v.mutate());- }, T = g.data;- if (!T) return /* @__PURE__ */ (0, w.jsx)(dh, { children: /* @__PURE__ */ (0, w.jsx)(q, {+ e.currentTarget.value = "", !(!t || _.isPending) && (_.reset(), _.mutate(t));+ }, y = () => {+ m || g.isPending || (g.reset(), g.mutate());+ }, b = f.data;+ if (!b) return /* @__PURE__ */ (0, w.jsx)(uh, { children: /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",title: "读取失败",- children: g.error ? G(g.error) : "读取口味分析失败"+ children: f.error ? K(f.error) : "读取口味分析失败"}) });- let E = T.summary || {}, D = T.coverage || {}, O = T.rankings || {}, k = T.storage || {}, A = O.browser_categories || [], j = T.gaps || [], M = D.tagged || 0, N = D.identified || 0, ee = v.error ? G(v.error) : y.error ? G(y.error) : p?.status === "failed" ? p.error || "读取未取得" : "";- return /* @__PURE__ */ (0, w.jsxs)(dh, { children: [+ let x = b.summary || {}, S = b.coverage || {}, T = b.rankings || {}, E = b.storage || {}, D = T.browser_categories || [], O = b.gaps || [], k = S.tagged || 0, A = S.identified || 0, j = g.error ? K(g.error) : _.error ? K(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";+ return /* @__PURE__ */ (0, w.jsxs)(uh, { children: [/* @__PURE__ */ (0, w.jsxs)(Ny, {selectedKey: l,onSelectionChange: (e) => u(String(e)),@@ -35701,69 +35660,69 @@ function ZA(e) {className: "flex flex-wrap items-center justify-between gap-3",children: [/* @__PURE__ */ (0, w.jsxs)(Fy, {"aria-label": "口味证据来源",- className: fS,+ className: uS,children: [/* @__PURE__ */ (0, w.jsx)(Ly, {id: "browser",- className: pS,+ className: dS,children: "浏览器记录"}), /* @__PURE__ */ (0, w.jsx)(Ly, {id: "peach",- className: pS,+ className: dS,children: "Peach 内部"})]}), /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, w.jsx)(Qw, {+ /* @__PURE__ */ (0, w.jsx)(eT, {"aria-label": "分析范围",selectedKey: s,onSelectionChange: (e) => {e !== null && c(String(e));},- children: Uk.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)($w, {+ children: Wk.map(([e, t]) => /* @__PURE__ */ (0, w.jsx)(tT, {id: e,children: t}, e))}),- /* @__PURE__ */ (0, w.jsx)(YA, {- busy: b || v.isPending || y.isPending,- onRefresh: S,- onImport: () => h.current?.click()+ /* @__PURE__ */ (0, w.jsx)(JA, {+ busy: m || g.isPending || _.isPending,+ onRefresh: y,+ onImport: () => d.current?.click()}),/* @__PURE__ */ (0, w.jsx)("input", {- ref: h,+ ref: d,type: "file",tabIndex: -1,"aria-hidden": !0,className: "hidden",- onChange: x+ onChange: v})]})]}),- /* @__PURE__ */ (0, w.jsx)(JA, {+ /* @__PURE__ */ (0, w.jsx)(qA, {onboarding: o,- done: !!(E.history_sources || T.updated_at)+ done: !!(x.history_sources || b.updated_at)}),/* @__PURE__ */ (0, w.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- b ? _.data?.total ? /* @__PURE__ */ (0, w.jsxs)("div", {+ m ? p?.total ? /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, w.jsx)(fh, {- label: _.data.message || "正在读取浏览记录",- value: _.data.checked || 0,- max: _.data.total+ children: [/* @__PURE__ */ (0, w.jsx)(dh, {+ label: p.message || "正在读取浏览记录",+ value: p.checked || 0,+ max: p.total}), /* @__PURE__ */ (0, w.jsx)("p", {className: "text-caption-1-regular text-text-secondary",- children: `${_.data.message || "正在读取浏览记录"} · ${_.data.checked || 0} / ${_.data.total}`+ children: `${p.message || "正在读取浏览记录"} · ${p.checked || 0} / ${p.total}`})]- }) : /* @__PURE__ */ (0, w.jsx)(uh, { label: _.data?.message || "正在读取浏览记录并更新口味分析" }) : null,- y.isPending ? /* @__PURE__ */ (0, w.jsx)(uh, { label: "正在导入历史文件" }) : null,- ee ? /* @__PURE__ */ (0, w.jsx)(q, {+ }) : /* @__PURE__ */ (0, w.jsx)(lh, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,+ _.isPending ? /* @__PURE__ */ (0, w.jsx)(lh, { label: "正在导入历史文件" }) : null,+ j ? /* @__PURE__ */ (0, w.jsx)(J, {tone: "error",- children: ee+ children: j}) : null]}),@@ -35772,39 +35731,39 @@ function ZA(e) {className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, w.jsxs)("div", {- className: _S,+ className: hS,children: [- /* @__PURE__ */ (0, w.jsx)(HA, {+ /* @__PURE__ */ (0, w.jsx)(VA, {accent: 0,icon: Xf,term: "浏览记录",- figure: Number(E.history_visits || 0).toLocaleString(),- detail: `${E.history_sources || 0} 个数据源 · ${$k(E.range_start)}—${$k(E.range_end)}`+ figure: Number(x.history_visits || 0).toLocaleString(),+ detail: `${x.history_sources || 0} 个数据源 · ${Qk(x.range_start)}—${Qk(x.range_end)}`}),- /* @__PURE__ */ (0, w.jsx)(HA, {+ /* @__PURE__ */ (0, w.jsx)(VA, {accent: 1,icon: rp,term: "口味维度",- figure: A.length.toLocaleString(),- detail: A[0]?.name || "尚无主维度"+ figure: D.length.toLocaleString(),+ detail: D[0]?.name || "尚无主维度"}),- /* @__PURE__ */ (0, w.jsx)(HA, {+ /* @__PURE__ */ (0, w.jsx)(VA, {accent: 2,icon: op,term: "浏览候选",- figure: j.length.toLocaleString()+ figure: O.length.toLocaleString()}),- /* @__PURE__ */ (0, w.jsx)(HA, {+ /* @__PURE__ */ (0, w.jsx)(VA, {accent: 3,icon: Hf,term: "私有导出",- figure: Number(k.exports || 0).toLocaleString(),- detail: n(k.bytes || 0)+ figure: Number(E.exports || 0).toLocaleString(),+ detail: n(E.bytes || 0)})]}),/* @__PURE__ */ (0, w.jsxs)("section", {- className: `${AA} md:flex-row md:gap-6`,+ className: `${kA} md:flex-row md:gap-6`,"aria-label": "浏览器画像",children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex shrink-0 flex-col gap-2 pb-5 md:w-72 md:pr-6 md:pb-0",@@ -35813,31 +35772,31 @@ function ZA(e) {className: "text-caption-1-regular text-text-secondary",children: "浏览器画像"}),- /* @__PURE__ */ (0, w.jsx)(SA, {- rows: A,+ /* @__PURE__ */ (0, w.jsx)(xA, {+ rows: D,label: "主要口味维度"}),/* @__PURE__ */ (0, w.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: T.updated_at ? `更新于 ${$k(T.updated_at)}` : "尚未采集浏览记录"+ children: b.updated_at ? `更新于 ${Qk(b.updated_at)}` : "尚未采集浏览记录"})]}), /* @__PURE__ */ (0, w.jsx)("div", {className: "min-w-0 grow",- children: A.length ? /* @__PURE__ */ (0, w.jsx)(CA, {- rows: A,+ children: D.length ? /* @__PURE__ */ (0, w.jsx)(SA, {+ rows: D,label: "口味维度排名"- }) : /* @__PURE__ */ (0, w.jsx)(lh, {+ }) : /* @__PURE__ */ (0, w.jsx)(ch, {shell: "plain",icon: op,title: "暂无口味维度",- children: FA+ children: PA})})]}),- /* @__PURE__ */ (0, w.jsx)(EA, { activity: T.activity }),- /* @__PURE__ */ (0, w.jsx)(DA, { flows: T.creator_flows }),- /* @__PURE__ */ (0, w.jsx)(KA, {+ /* @__PURE__ */ (0, w.jsx)(TA, { activity: b.activity }),+ /* @__PURE__ */ (0, w.jsx)(EA, { flows: b.creator_flows }),+ /* @__PURE__ */ (0, w.jsx)(GA, {label: "浏览器口味维度",onSignal: t,avatarInner: a,@@ -35846,7 +35805,7 @@ function ZA(e) {id: "tags",name: "标签",props: {- rows: O.browser_tags || [],+ rows: T.browser_tags || [],kind: "tag",visual: "none",empty: "暂无足够证据"@@ -35856,7 +35815,7 @@ function ZA(e) {id: "creators",name: "创作者",props: {- rows: O.browser_creators || [],+ rows: T.browser_creators || [],kind: "creator",visual: "creator",empty: "暂无创作者证据"@@ -35866,7 +35825,7 @@ function ZA(e) {id: "domains",name: "常访问网站",props: {- rows: O.domains || [],+ rows: T.domains || [],kind: "",visual: "domain",empty: "暂无网站证据"@@ -35876,10 +35835,10 @@ function ZA(e) {id: "gaps",name: "浏览候选",props: {- rows: j,+ rows: O,kind: "",visual: "none",- empty: IA+ empty: FA}}]@@ -35891,37 +35850,37 @@ function ZA(e) {className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, w.jsxs)("div", {- className: _S,+ className: hS,children: [- /* @__PURE__ */ (0, w.jsx)(HA, {+ /* @__PURE__ */ (0, w.jsx)(VA, {accent: 0,icon: Kf,term: "Peach 看过",- figure: Number(E.peach_items || 0).toLocaleString(),- detail: eA(E.peach_seconds || 0)+ figure: Number(x.peach_items || 0).toLocaleString(),+ detail: $k(x.peach_seconds || 0)}),- /* @__PURE__ */ (0, w.jsx)(HA, {+ /* @__PURE__ */ (0, w.jsx)(VA, {accent: 1,icon: lp,term: "喜欢",- figure: Number(E.liked || 0).toLocaleString()+ figure: Number(x.liked || 0).toLocaleString()}),- /* @__PURE__ */ (0, w.jsx)(HA, {+ /* @__PURE__ */ (0, w.jsx)(VA, {accent: 2,icon: cp,term: "不合口味",- figure: Number(E.disliked || 0).toLocaleString()+ figure: Number(x.disliked || 0).toLocaleString()}),- /* @__PURE__ */ (0, w.jsx)(HA, {+ /* @__PURE__ */ (0, w.jsx)(VA, {accent: 3,icon: rp,term: "有标签",- figure: M.toLocaleString()+ figure: k.toLocaleString()})]}),/* @__PURE__ */ (0, w.jsxs)("section", {- className: `${AA} md:flex-row md:gap-6`,+ className: `${kA} md:flex-row md:gap-6`,"aria-label": "Peach 观看",children: [/* @__PURE__ */ (0, w.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",@@ -35932,7 +35891,7 @@ function ZA(e) {}),/* @__PURE__ */ (0, w.jsx)("b", {className: "text-display-4-medium tabular-nums text-text-primary",- children: Number(E.peach_items || 0).toLocaleString()+ children: Number(x.peach_items || 0).toLocaleString()}),/* @__PURE__ */ (0, w.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -35941,18 +35900,18 @@ function ZA(e) {]}), /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex min-w-0 grow flex-col",- children: [/* @__PURE__ */ (0, w.jsx)(QA, {+ children: [/* @__PURE__ */ (0, w.jsx)(ZA, {term: "有标签",- value: M,- rest: D.untagged || 0- }), /* @__PURE__ */ (0, w.jsx)(QA, {+ value: k,+ rest: S.untagged || 0+ }), /* @__PURE__ */ (0, w.jsx)(ZA, {term: "有身份",- value: N,- rest: D.unidentified || 0+ value: A,+ rest: S.unidentified || 0})]})]}),- /* @__PURE__ */ (0, w.jsx)(KA, {+ /* @__PURE__ */ (0, w.jsx)(GA, {label: "Peach 口味维度",onSignal: t,avatarInner: a,@@ -35961,7 +35920,7 @@ function ZA(e) {id: "tags",name: "标签",props: {- rows: O.peach_tags || [],+ rows: T.peach_tags || [],kind: "tag",visual: "none",empty: "暂无足够证据"@@ -35971,7 +35930,7 @@ function ZA(e) {id: "creators",name: "创作者",props: {- rows: O.peach_creators || [],+ rows: T.peach_creators || [],kind: "creator",visual: "creator",empty: "暂无创作者证据"@@ -35981,7 +35940,7 @@ function ZA(e) {id: "performers",name: "女优",props: {- rows: O.peach_performers || [],+ rows: T.peach_performers || [],kind: "performer",visual: "entity",empty: "暂无女优证据"@@ -35993,19 +35952,19 @@ function ZA(e) {})]}),- /* @__PURE__ */ (0, w.jsx)(qA, {- data: T,+ /* @__PURE__ */ (0, w.jsx)(KA, {+ data: b,onSignal: t,navigate: r}),- /* @__PURE__ */ (0, w.jsx)(XA, {- sources: T.sources || [],+ /* @__PURE__ */ (0, w.jsx)(YA, {+ sources: b.sources || [],window: s,toast: i})] });}-function QA({ term: e, value: t, rest: n }) {+function ZA({ term: e, value: t, rest: n }) {let r = Math.max(t + n, 1);return /* @__PURE__ */ (0, w.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -36018,7 +35977,7 @@ function QA({ term: e, value: t, rest: n }) {children: `${n} 项待补`})]})]- }), /* @__PURE__ */ (0, w.jsx)(fh, {+ }), /* @__PURE__ */ (0, w.jsx)(dh, {label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,value: t,max: r@@ -36027,70 +35986,70 @@ function QA({ term: e, value: t, rest: n }) {}//#endregion//#region src/react/entry.tsx-var $A = null;-function ej() {- return $A?.isConnected || ($A = document.createElement("div"), $A.className = "peach-react", $A.dataset.reactOverlays = "", document.body.append($A)), $A;+var QA = null;+function $A() {+ return QA?.isConnected || (QA = document.createElement("div"), QA.className = "peach-react", QA.dataset.reactOverlays = "", document.body.append(QA)), QA;}-function tj(e) {+function ej(e) {return (t, n) => {let r = (0, Af.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, w.jsx)(D, {- client: J,+ client: fh,children: /* @__PURE__ */ (0, w.jsx)(Sc, {- getContainer: ej,+ getContainer: $A,children: /* @__PURE__ */ (0, w.jsx)(e, { ...t })})}));- return (0, $r.flushSync)(() => i(n)), {+ return (0, ti.flushSync)(() => i(n)), {update: i,unmount: () => r.unmount()};};}-var nj = {+var tj = {activity: {prefetch: (e, t) => yh(t),- mount: tj(Ih)+ mount: ej(Ih)},"avatar-picker": {prefetch: async () => {},- mount: tj(Ab)+ mount: ej(Ab)},"cover-crop": {prefetch: async () => {},- mount: tj(Hb)+ mount: ej(Hb)},configuration: {- prefetch: (e, t) => wD(t),- mount: tj(xO)+ prefetch: (e, t) => TD(t),+ mount: ej(SO)},"follow-manage": {prefetch: (e, t) => Qx(t),- mount: tj(fT)+ mount: ej(mT)},"library-processing": {- prefetch: (e, t) => gT(t),- mount: tj((e) => e.mode === "notice" ? /* @__PURE__ */ (0, w.jsx)(HT, { ...e }) : /* @__PURE__ */ (0, w.jsx)(RT, { ...e }))+ prefetch: (e, t) => vT(t),+ mount: ej((e) => e.mode === "notice" ? /* @__PURE__ */ (0, w.jsx)(WT, { ...e }) : /* @__PURE__ */ (0, w.jsx)(BT, { ...e }))},"quality-goals": {- prefetch: (e, t) => KT(t),- mount: tj(YT)+ prefetch: (e, t) => JT(t),+ mount: ej(ZT)},review: {- prefetch: (e, t) => TE(t),- mount: tj(XE)+ prefetch: (e, t) => DE(t),+ mount: ej(QE)},scraping: {- prefetch: (e, t) => dD(t),- mount: tj(yD)+ prefetch: (e, t) => fD(t),+ mount: ej(bD)},stats: {- prefetch: (e, t) => TO(t),- mount: tj(rk)+ prefetch: (e, t) => EO(t),+ mount: ej(ik)},taste: {- prefetch: (e, t) => Kk("all", t),- mount: tj(ZA)+ prefetch: (e, t) => qk("all", t),+ mount: ej(XA)}};//#endregion-export { nj as pages };+export { tj as pages };